From f393030e84320eb41112b7d19a5bcb7e8cd05a24 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Tue, 26 Apr 2022 11:12:08 +0800 Subject: [PATCH] regen all APIs and CLIs --- gen/abusiveexperiencereport1-cli/Cargo.toml | 8 +- gen/abusiveexperiencereport1-cli/README.md | 2 +- gen/abusiveexperiencereport1-cli/mkdocs.yml | 2 +- gen/abusiveexperiencereport1-cli/src/main.rs | 10 +- gen/abusiveexperiencereport1/Cargo.toml | 8 +- gen/abusiveexperiencereport1/README.md | 46 +- gen/abusiveexperiencereport1/src/api.rs | 14 +- gen/abusiveexperiencereport1/src/lib.rs | 4 +- gen/acceleratedmobilepageurl1-cli/Cargo.toml | 8 +- gen/acceleratedmobilepageurl1-cli/README.md | 2 +- gen/acceleratedmobilepageurl1-cli/mkdocs.yml | 2 +- gen/acceleratedmobilepageurl1-cli/src/main.rs | 10 +- gen/acceleratedmobilepageurl1/Cargo.toml | 8 +- gen/acceleratedmobilepageurl1/README.md | 46 +- gen/acceleratedmobilepageurl1/src/api.rs | 10 +- gen/acceleratedmobilepageurl1/src/lib.rs | 4 +- gen/accessapproval1-cli/Cargo.toml | 8 +- gen/accessapproval1-cli/README.md | 2 +- gen/accessapproval1-cli/mkdocs.yml | 2 +- gen/accessapproval1-cli/src/main.rs | 10 +- gen/accessapproval1/Cargo.toml | 8 +- gen/accessapproval1/README.md | 48 +- gen/accessapproval1/src/api.rs | 54 +- gen/accessapproval1/src/lib.rs | 4 +- gen/accessapproval1_beta1-cli/Cargo.toml | 8 +- gen/accessapproval1_beta1-cli/README.md | 2 +- gen/accessapproval1_beta1-cli/mkdocs.yml | 2 +- gen/accessapproval1_beta1-cli/src/main.rs | 10 +- gen/accessapproval1_beta1/Cargo.toml | 8 +- gen/accessapproval1_beta1/README.md | 48 +- gen/accessapproval1_beta1/src/api.rs | 54 +- gen/accessapproval1_beta1/src/lib.rs | 4 +- gen/accesscontextmanager1-cli/Cargo.toml | 8 +- gen/accesscontextmanager1-cli/README.md | 2 +- gen/accesscontextmanager1-cli/mkdocs.yml | 2 +- gen/accesscontextmanager1-cli/src/main.rs | 10 +- gen/accesscontextmanager1/Cargo.toml | 8 +- gen/accesscontextmanager1/README.md | 52 +- gen/accesscontextmanager1/src/api.rs | 76 +- gen/accesscontextmanager1/src/lib.rs | 4 +- gen/accesscontextmanager1_beta-cli/Cargo.toml | 8 +- gen/accesscontextmanager1_beta-cli/README.md | 2 +- gen/accesscontextmanager1_beta-cli/mkdocs.yml | 2 +- .../src/main.rs | 10 +- gen/accesscontextmanager1_beta/Cargo.toml | 8 +- gen/accesscontextmanager1_beta/README.md | 50 +- gen/accesscontextmanager1_beta/src/api.rs | 42 +- gen/accesscontextmanager1_beta/src/lib.rs | 4 +- gen/adexchangebuyer1d3-cli/Cargo.toml | 8 +- gen/adexchangebuyer1d3-cli/README.md | 2 +- gen/adexchangebuyer1d3-cli/mkdocs.yml | 2 +- gen/adexchangebuyer1d3-cli/src/main.rs | 10 +- gen/adexchangebuyer1d3/Cargo.toml | 8 +- gen/adexchangebuyer1d3/README.md | 70 +- gen/adexchangebuyer1d3/src/api.rs | 62 +- gen/adexchangebuyer1d3/src/lib.rs | 4 +- gen/adexchangebuyer1d4-cli/Cargo.toml | 8 +- gen/adexchangebuyer1d4-cli/README.md | 2 +- gen/adexchangebuyer1d4-cli/mkdocs.yml | 2 +- gen/adexchangebuyer1d4-cli/src/main.rs | 10 +- gen/adexchangebuyer1d4/Cargo.toml | 8 +- gen/adexchangebuyer1d4/README.md | 82 +- gen/adexchangebuyer1d4/src/api.rs | 106 +- gen/adexchangebuyer1d4/src/lib.rs | 4 +- gen/adexchangebuyer2_v2_beta1-cli/Cargo.toml | 8 +- gen/adexchangebuyer2_v2_beta1-cli/README.md | 2 +- gen/adexchangebuyer2_v2_beta1-cli/mkdocs.yml | 2 +- gen/adexchangebuyer2_v2_beta1-cli/src/main.rs | 10 +- gen/adexchangebuyer2_v2_beta1/Cargo.toml | 8 +- gen/adexchangebuyer2_v2_beta1/README.md | 46 +- gen/adexchangebuyer2_v2_beta1/src/api.rs | 138 +- gen/adexchangebuyer2_v2_beta1/src/lib.rs | 4 +- gen/adexchangeseller2-cli/Cargo.toml | 8 +- gen/adexchangeseller2-cli/README.md | 2 +- gen/adexchangeseller2-cli/mkdocs.yml | 2 +- gen/adexchangeseller2-cli/src/main.rs | 10 +- gen/adexchangeseller2/Cargo.toml | 8 +- gen/adexchangeseller2/README.md | 48 +- gen/adexchangeseller2/src/api.rs | 36 +- gen/adexchangeseller2/src/lib.rs | 4 +- gen/adexperiencereport1-cli/Cargo.toml | 8 +- gen/adexperiencereport1-cli/README.md | 2 +- gen/adexperiencereport1-cli/mkdocs.yml | 2 +- gen/adexperiencereport1-cli/src/main.rs | 10 +- gen/adexperiencereport1/Cargo.toml | 8 +- gen/adexperiencereport1/README.md | 46 +- gen/adexperiencereport1/src/api.rs | 14 +- gen/adexperiencereport1/src/lib.rs | 4 +- gen/admob1-cli/Cargo.toml | 8 +- gen/admob1-cli/README.md | 2 +- gen/admob1-cli/mkdocs.yml | 2 +- gen/admob1-cli/src/main.rs | 10 +- gen/admob1/Cargo.toml | 8 +- gen/admob1/README.md | 44 +- gen/admob1/src/api.rs | 20 +- gen/admob1/src/lib.rs | 4 +- gen/adsense1d4-cli/Cargo.toml | 8 +- gen/adsense1d4-cli/README.md | 2 +- gen/adsense1d4-cli/mkdocs.yml | 2 +- gen/adsense1d4-cli/src/main.rs | 10 +- gen/adsense1d4/Cargo.toml | 8 +- gen/adsense1d4/README.md | 74 +- gen/adsense1d4/src/api.rs | 104 +- gen/adsense1d4/src/lib.rs | 4 +- gen/adsense2-cli/Cargo.toml | 8 +- gen/adsense2-cli/README.md | 2 +- gen/adsense2-cli/mkdocs.yml | 2 +- gen/adsense2-cli/src/main.rs | 10 +- gen/adsense2/Cargo.toml | 8 +- gen/adsense2/README.md | 46 +- gen/adsense2/src/api.rs | 52 +- gen/adsense2/src/lib.rs | 4 +- gen/adsensehost4d1-cli/Cargo.toml | 8 +- gen/adsensehost4d1-cli/README.md | 2 +- gen/adsensehost4d1-cli/mkdocs.yml | 2 +- gen/adsensehost4d1-cli/src/main.rs | 10 +- gen/adsensehost4d1/Cargo.toml | 8 +- gen/adsensehost4d1/README.md | 58 +- gen/adsensehost4d1/src/api.rs | 70 +- gen/adsensehost4d1/src/lib.rs | 4 +- gen/alertcenter1_beta1-cli/Cargo.toml | 8 +- gen/alertcenter1_beta1-cli/README.md | 2 +- gen/alertcenter1_beta1-cli/mkdocs.yml | 2 +- gen/alertcenter1_beta1-cli/src/main.rs | 10 +- gen/alertcenter1_beta1/Cargo.toml | 8 +- gen/alertcenter1_beta1/README.md | 50 +- gen/alertcenter1_beta1/src/api.rs | 32 +- gen/alertcenter1_beta1/src/lib.rs | 4 +- gen/analytics3-cli/Cargo.toml | 8 +- gen/analytics3-cli/README.md | 2 +- gen/analytics3-cli/mkdocs.yml | 2 +- gen/analytics3-cli/src/main.rs | 10 +- gen/analytics3/Cargo.toml | 8 +- gen/analytics3/README.md | 54 +- gen/analytics3/src/api.rs | 192 +-- gen/analytics3/src/lib.rs | 4 +- gen/analyticsadmin1_alpha-cli/Cargo.toml | 8 +- gen/analyticsadmin1_alpha-cli/README.md | 2 +- gen/analyticsadmin1_alpha-cli/mkdocs.yml | 2 +- gen/analyticsadmin1_alpha-cli/src/main.rs | 10 +- gen/analyticsadmin1_alpha/Cargo.toml | 8 +- gen/analyticsadmin1_alpha/README.md | 48 +- gen/analyticsadmin1_alpha/src/api.rs | 174 +- gen/analyticsadmin1_alpha/src/lib.rs | 4 +- gen/analyticsdata1_beta-cli/Cargo.toml | 8 +- gen/analyticsdata1_beta-cli/README.md | 2 +- gen/analyticsdata1_beta-cli/mkdocs.yml | 2 +- gen/analyticsdata1_beta-cli/src/main.rs | 10 +- gen/analyticsdata1_beta/Cargo.toml | 8 +- gen/analyticsdata1_beta/README.md | 44 +- gen/analyticsdata1_beta/src/api.rs | 22 +- gen/analyticsdata1_beta/src/lib.rs | 4 +- gen/analyticsreporting4-cli/Cargo.toml | 8 +- gen/analyticsreporting4-cli/README.md | 2 +- gen/analyticsreporting4-cli/mkdocs.yml | 2 +- gen/analyticsreporting4-cli/src/main.rs | 10 +- gen/analyticsreporting4/Cargo.toml | 8 +- gen/analyticsreporting4/README.md | 48 +- gen/analyticsreporting4/src/api.rs | 14 +- gen/analyticsreporting4/src/lib.rs | 4 +- gen/androiddeviceprovisioning1-cli/Cargo.toml | 8 +- gen/androiddeviceprovisioning1-cli/README.md | 2 +- gen/androiddeviceprovisioning1-cli/mkdocs.yml | 2 +- .../src/main.rs | 10 +- gen/androiddeviceprovisioning1/Cargo.toml | 8 +- gen/androiddeviceprovisioning1/README.md | 50 +- gen/androiddeviceprovisioning1/src/api.rs | 64 +- gen/androiddeviceprovisioning1/src/lib.rs | 4 +- gen/androidenterprise1-cli/Cargo.toml | 8 +- gen/androidenterprise1-cli/README.md | 2 +- gen/androidenterprise1-cli/mkdocs.yml | 2 +- gen/androidenterprise1-cli/src/main.rs | 10 +- gen/androidenterprise1/Cargo.toml | 8 +- gen/androidenterprise1/README.md | 88 +- gen/androidenterprise1/src/api.rs | 188 +-- gen/androidenterprise1/src/lib.rs | 4 +- gen/androidmanagement1-cli/Cargo.toml | 8 +- gen/androidmanagement1-cli/README.md | 2 +- gen/androidmanagement1-cli/mkdocs.yml | 2 +- gen/androidmanagement1-cli/src/main.rs | 10 +- gen/androidmanagement1/Cargo.toml | 8 +- gen/androidmanagement1/README.md | 50 +- gen/androidmanagement1/src/api.rs | 66 +- gen/androidmanagement1/src/lib.rs | 4 +- gen/androidpublisher2-cli/Cargo.toml | 8 +- gen/androidpublisher2-cli/README.md | 2 +- gen/androidpublisher2-cli/mkdocs.yml | 2 +- gen/androidpublisher2-cli/src/main.rs | 10 +- gen/androidpublisher2/Cargo.toml | 8 +- gen/androidpublisher2/README.md | 64 +- gen/androidpublisher2/src/api.rs | 132 +- gen/androidpublisher2/src/lib.rs | 4 +- gen/androidpublisher3-cli/Cargo.toml | 8 +- gen/androidpublisher3-cli/README.md | 2 +- gen/androidpublisher3-cli/mkdocs.yml | 2 +- gen/androidpublisher3-cli/src/main.rs | 10 +- gen/androidpublisher3/Cargo.toml | 8 +- gen/androidpublisher3/README.md | 88 +- gen/androidpublisher3/src/api.rs | 170 +- gen/androidpublisher3/src/lib.rs | 4 +- gen/apigateway1-cli/Cargo.toml | 8 +- gen/apigateway1-cli/README.md | 2 +- gen/apigateway1-cli/mkdocs.yml | 2 +- gen/apigateway1-cli/src/main.rs | 10 +- gen/apigateway1/Cargo.toml | 8 +- gen/apigateway1/README.md | 44 +- gen/apigateway1/src/api.rs | 68 +- gen/apigateway1/src/lib.rs | 4 +- gen/apigee1-cli/Cargo.toml | 8 +- gen/apigee1-cli/README.md | 2 +- gen/apigee1-cli/mkdocs.yml | 2 +- gen/apigee1-cli/src/main.rs | 10 +- gen/apigee1/Cargo.toml | 8 +- gen/apigee1/README.md | 48 +- gen/apigee1/src/api.rs | 480 +++--- gen/apigee1/src/lib.rs | 4 +- gen/apikeys2-cli/Cargo.toml | 8 +- gen/apikeys2-cli/README.md | 2 +- gen/apikeys2-cli/mkdocs.yml | 2 +- gen/apikeys2-cli/src/main.rs | 10 +- gen/apikeys2/Cargo.toml | 8 +- gen/apikeys2/README.md | 50 +- gen/apikeys2/src/api.rs | 32 +- gen/apikeys2/src/lib.rs | 4 +- gen/appengine1-cli/Cargo.toml | 8 +- gen/appengine1-cli/README.md | 2 +- gen/appengine1-cli/mkdocs.yml | 2 +- gen/appengine1-cli/src/main.rs | 10 +- gen/appengine1/Cargo.toml | 8 +- gen/appengine1/README.md | 44 +- gen/appengine1/src/api.rs | 84 +- gen/appengine1/src/lib.rs | 4 +- gen/appengine1_beta4-cli/Cargo.toml | 8 +- gen/appengine1_beta4-cli/README.md | 2 +- gen/appengine1_beta4-cli/mkdocs.yml | 2 +- gen/appengine1_beta4-cli/src/main.rs | 10 +- gen/appengine1_beta4/Cargo.toml | 8 +- gen/appengine1_beta4/README.md | 44 +- gen/appengine1_beta4/src/api.rs | 48 +- gen/appengine1_beta4/src/lib.rs | 4 +- gen/appengine1_beta5-cli/Cargo.toml | 8 +- gen/appengine1_beta5-cli/README.md | 2 +- gen/appengine1_beta5-cli/mkdocs.yml | 2 +- gen/appengine1_beta5-cli/src/main.rs | 10 +- gen/appengine1_beta5/Cargo.toml | 8 +- gen/appengine1_beta5/README.md | 44 +- gen/appengine1_beta5/src/api.rs | 48 +- gen/appengine1_beta5/src/lib.rs | 4 +- gen/appsactivity1-cli/Cargo.toml | 8 +- gen/appsactivity1-cli/README.md | 2 +- gen/appsactivity1-cli/mkdocs.yml | 2 +- gen/appsactivity1-cli/src/main.rs | 10 +- gen/appsactivity1/Cargo.toml | 8 +- gen/appsactivity1/README.md | 46 +- gen/appsactivity1/src/api.rs | 10 +- gen/appsactivity1/src/lib.rs | 4 +- gen/appstate1-cli/Cargo.toml | 8 +- gen/appstate1-cli/README.md | 2 +- gen/appstate1-cli/mkdocs.yml | 2 +- gen/appstate1-cli/src/main.rs | 10 +- gen/appstate1/Cargo.toml | 8 +- gen/appstate1/README.md | 44 +- gen/appstate1/src/api.rs | 18 +- gen/appstate1/src/lib.rs | 4 +- gen/area120tables1_alpha1-cli/Cargo.toml | 8 +- gen/area120tables1_alpha1-cli/README.md | 2 +- gen/area120tables1_alpha1-cli/mkdocs.yml | 2 +- gen/area120tables1_alpha1-cli/src/main.rs | 10 +- gen/area120tables1_alpha1/Cargo.toml | 8 +- gen/area120tables1_alpha1/README.md | 50 +- gen/area120tables1_alpha1/src/api.rs | 34 +- gen/area120tables1_alpha1/src/lib.rs | 4 +- gen/artifactregistry1-cli/Cargo.toml | 8 +- gen/artifactregistry1-cli/README.md | 2 +- gen/artifactregistry1-cli/mkdocs.yml | 2 +- gen/artifactregistry1-cli/src/main.rs | 10 +- gen/artifactregistry1/Cargo.toml | 8 +- gen/artifactregistry1/README.md | 50 +- gen/artifactregistry1/src/api.rs | 72 +- gen/artifactregistry1/src/lib.rs | 4 +- gen/artifactregistry1_beta1-cli/Cargo.toml | 8 +- gen/artifactregistry1_beta1-cli/README.md | 2 +- gen/artifactregistry1_beta1-cli/mkdocs.yml | 2 +- gen/artifactregistry1_beta1-cli/src/main.rs | 10 +- gen/artifactregistry1_beta1/Cargo.toml | 8 +- gen/artifactregistry1_beta1/README.md | 44 +- gen/artifactregistry1_beta1/src/api.rs | 56 +- gen/artifactregistry1_beta1/src/lib.rs | 4 +- gen/assuredworkloads1-cli/Cargo.toml | 8 +- gen/assuredworkloads1-cli/README.md | 2 +- gen/assuredworkloads1-cli/mkdocs.yml | 2 +- gen/assuredworkloads1-cli/src/main.rs | 10 +- gen/assuredworkloads1/Cargo.toml | 8 +- gen/assuredworkloads1/README.md | 44 +- gen/assuredworkloads1/src/api.rs | 22 +- gen/assuredworkloads1/src/lib.rs | 4 +- .../Cargo.toml | 8 +- .../README.md | 2 +- .../mkdocs.yml | 2 +- .../src/main.rs | 10 +- gen/authorizedbuyersmarketplace1/Cargo.toml | 8 +- gen/authorizedbuyersmarketplace1/README.md | 46 +- gen/authorizedbuyersmarketplace1/src/api.rs | 86 +- gen/authorizedbuyersmarketplace1/src/lib.rs | 4 +- gen/autoscaler1_beta2-cli/Cargo.toml | 8 +- gen/autoscaler1_beta2-cli/README.md | 2 +- gen/autoscaler1_beta2-cli/mkdocs.yml | 2 +- gen/autoscaler1_beta2-cli/src/main.rs | 10 +- gen/autoscaler1_beta2/Cargo.toml | 8 +- gen/autoscaler1_beta2/README.md | 52 +- gen/autoscaler1_beta2/src/api.rs | 32 +- gen/autoscaler1_beta2/src/lib.rs | 4 +- gen/baremetalsolution2-cli/Cargo.toml | 8 +- gen/baremetalsolution2-cli/README.md | 2 +- gen/baremetalsolution2-cli/mkdocs.yml | 2 +- gen/baremetalsolution2-cli/src/main.rs | 10 +- gen/baremetalsolution2/Cargo.toml | 8 +- gen/baremetalsolution2/README.md | 44 +- gen/baremetalsolution2/src/api.rs | 70 +- gen/baremetalsolution2/src/lib.rs | 4 +- gen/bigquery2-cli/Cargo.toml | 8 +- gen/bigquery2-cli/README.md | 2 +- gen/bigquery2-cli/mkdocs.yml | 2 +- gen/bigquery2-cli/src/main.rs | 10 +- gen/bigquery2/Cargo.toml | 8 +- gen/bigquery2/README.md | 72 +- gen/bigquery2/src/api.rs | 100 +- gen/bigquery2/src/lib.rs | 4 +- gen/bigqueryconnection1_beta1-cli/Cargo.toml | 8 +- gen/bigqueryconnection1_beta1-cli/README.md | 2 +- gen/bigqueryconnection1_beta1-cli/mkdocs.yml | 2 +- gen/bigqueryconnection1_beta1-cli/src/main.rs | 10 +- gen/bigqueryconnection1_beta1/Cargo.toml | 8 +- gen/bigqueryconnection1_beta1/README.md | 44 +- gen/bigqueryconnection1_beta1/src/api.rs | 26 +- gen/bigqueryconnection1_beta1/src/lib.rs | 4 +- gen/bigquerydatatransfer1-cli/Cargo.toml | 8 +- gen/bigquerydatatransfer1-cli/README.md | 2 +- gen/bigquerydatatransfer1-cli/mkdocs.yml | 2 +- gen/bigquerydatatransfer1-cli/src/main.rs | 10 +- gen/bigquerydatatransfer1/Cargo.toml | 8 +- gen/bigquerydatatransfer1/README.md | 44 +- gen/bigquerydatatransfer1/src/api.rs | 72 +- gen/bigquerydatatransfer1/src/lib.rs | 4 +- gen/bigqueryreservation1-cli/Cargo.toml | 8 +- gen/bigqueryreservation1-cli/README.md | 2 +- gen/bigqueryreservation1-cli/mkdocs.yml | 2 +- gen/bigqueryreservation1-cli/src/main.rs | 10 +- gen/bigqueryreservation1/Cargo.toml | 8 +- gen/bigqueryreservation1/README.md | 44 +- gen/bigqueryreservation1/src/api.rs | 48 +- gen/bigqueryreservation1/src/lib.rs | 4 +- gen/bigtableadmin2-cli/Cargo.toml | 8 +- gen/bigtableadmin2-cli/README.md | 2 +- gen/bigtableadmin2-cli/mkdocs.yml | 2 +- gen/bigtableadmin2-cli/src/main.rs | 10 +- gen/bigtableadmin2/Cargo.toml | 8 +- gen/bigtableadmin2/README.md | 48 +- gen/bigtableadmin2/src/api.rs | 102 +- gen/bigtableadmin2/src/lib.rs | 4 +- gen/billingbudgets1-cli/Cargo.toml | 8 +- gen/billingbudgets1-cli/README.md | 2 +- gen/billingbudgets1-cli/mkdocs.yml | 2 +- gen/billingbudgets1-cli/src/main.rs | 10 +- gen/billingbudgets1/Cargo.toml | 8 +- gen/billingbudgets1/README.md | 44 +- gen/billingbudgets1/src/api.rs | 18 +- gen/billingbudgets1/src/lib.rs | 4 +- gen/billingbudgets1_beta1-cli/Cargo.toml | 8 +- gen/billingbudgets1_beta1-cli/README.md | 2 +- gen/billingbudgets1_beta1-cli/mkdocs.yml | 2 +- gen/billingbudgets1_beta1-cli/src/main.rs | 10 +- gen/billingbudgets1_beta1/Cargo.toml | 8 +- gen/billingbudgets1_beta1/README.md | 44 +- gen/billingbudgets1_beta1/src/api.rs | 18 +- gen/billingbudgets1_beta1/src/lib.rs | 4 +- gen/binaryauthorization1-cli/Cargo.toml | 8 +- gen/binaryauthorization1-cli/README.md | 2 +- gen/binaryauthorization1-cli/mkdocs.yml | 2 +- gen/binaryauthorization1-cli/src/main.rs | 10 +- gen/binaryauthorization1/Cargo.toml | 8 +- gen/binaryauthorization1/README.md | 46 +- gen/binaryauthorization1/src/api.rs | 40 +- gen/binaryauthorization1/src/lib.rs | 4 +- gen/binaryauthorization1_beta1-cli/Cargo.toml | 8 +- gen/binaryauthorization1_beta1-cli/README.md | 2 +- gen/binaryauthorization1_beta1-cli/mkdocs.yml | 2 +- .../src/main.rs | 10 +- gen/binaryauthorization1_beta1/Cargo.toml | 8 +- gen/binaryauthorization1_beta1/README.md | 46 +- gen/binaryauthorization1_beta1/src/api.rs | 40 +- gen/binaryauthorization1_beta1/src/lib.rs | 4 +- gen/blogger3-cli/Cargo.toml | 8 +- gen/blogger3-cli/README.md | 2 +- gen/blogger3-cli/mkdocs.yml | 2 +- gen/blogger3-cli/src/main.rs | 10 +- gen/blogger3/Cargo.toml | 8 +- gen/blogger3/README.md | 72 +- gen/blogger3/src/api.rs | 88 +- gen/blogger3/src/lib.rs | 4 +- gen/books1-cli/Cargo.toml | 8 +- gen/books1-cli/README.md | 2 +- gen/books1-cli/mkdocs.yml | 2 +- gen/books1-cli/src/main.rs | 10 +- gen/books1/Cargo.toml | 8 +- gen/books1/README.md | 72 +- gen/books1/src/api.rs | 134 +- gen/books1/src/lib.rs | 4 +- gen/calendar3-cli/Cargo.toml | 8 +- gen/calendar3-cli/README.md | 2 +- gen/calendar3-cli/mkdocs.yml | 2 +- gen/calendar3-cli/src/main.rs | 10 +- gen/calendar3/Cargo.toml | 8 +- gen/calendar3/README.md | 88 +- gen/calendar3/src/api.rs | 96 +- gen/calendar3/src/lib.rs | 4 +- gen/certificatemanager1-cli/Cargo.toml | 8 +- gen/certificatemanager1-cli/README.md | 2 +- gen/certificatemanager1-cli/mkdocs.yml | 2 +- gen/certificatemanager1-cli/src/main.rs | 10 +- gen/certificatemanager1/Cargo.toml | 8 +- gen/certificatemanager1/README.md | 44 +- gen/certificatemanager1/src/api.rs | 60 +- gen/certificatemanager1/src/lib.rs | 4 +- gen/chromemanagement1-cli/Cargo.toml | 8 +- gen/chromemanagement1-cli/README.md | 2 +- gen/chromemanagement1-cli/mkdocs.yml | 2 +- gen/chromemanagement1-cli/src/main.rs | 10 +- gen/chromemanagement1/Cargo.toml | 8 +- gen/chromemanagement1/README.md | 44 +- gen/chromemanagement1/src/api.rs | 24 +- gen/chromemanagement1/src/lib.rs | 4 +- gen/chromepolicy1-cli/Cargo.toml | 8 +- gen/chromepolicy1-cli/README.md | 2 +- gen/chromepolicy1-cli/mkdocs.yml | 2 +- gen/chromepolicy1-cli/src/main.rs | 10 +- gen/chromepolicy1/Cargo.toml | 8 +- gen/chromepolicy1/README.md | 48 +- gen/chromepolicy1/src/api.rs | 22 +- gen/chromepolicy1/src/lib.rs | 4 +- gen/chromeuxreport1-cli/Cargo.toml | 8 +- gen/chromeuxreport1-cli/README.md | 2 +- gen/chromeuxreport1-cli/mkdocs.yml | 2 +- gen/chromeuxreport1-cli/src/main.rs | 10 +- gen/chromeuxreport1/Cargo.toml | 8 +- gen/chromeuxreport1/README.md | 46 +- gen/chromeuxreport1/src/api.rs | 10 +- gen/chromeuxreport1/src/lib.rs | 4 +- gen/classroom1-cli/Cargo.toml | 8 +- gen/classroom1-cli/README.md | 2 +- gen/classroom1-cli/mkdocs.yml | 2 +- gen/classroom1-cli/src/main.rs | 10 +- gen/classroom1/Cargo.toml | 8 +- gen/classroom1/README.md | 58 +- gen/classroom1/src/api.rs | 136 +- gen/classroom1/src/lib.rs | 4 +- gen/cloudasset1-cli/Cargo.toml | 8 +- gen/cloudasset1-cli/README.md | 2 +- gen/cloudasset1-cli/mkdocs.yml | 2 +- gen/cloudasset1-cli/src/main.rs | 10 +- gen/cloudasset1/Cargo.toml | 8 +- gen/cloudasset1/README.md | 76 +- gen/cloudasset1/src/api.rs | 58 +- gen/cloudasset1/src/lib.rs | 4 +- gen/cloudasset1_beta1-cli/Cargo.toml | 8 +- gen/cloudasset1_beta1-cli/README.md | 2 +- gen/cloudasset1_beta1-cli/mkdocs.yml | 2 +- gen/cloudasset1_beta1-cli/src/main.rs | 10 +- gen/cloudasset1_beta1/Cargo.toml | 8 +- gen/cloudasset1_beta1/README.md | 48 +- gen/cloudasset1_beta1/src/api.rs | 28 +- gen/cloudasset1_beta1/src/lib.rs | 4 +- gen/cloudbilling1-cli/Cargo.toml | 8 +- gen/cloudbilling1-cli/README.md | 2 +- gen/cloudbilling1-cli/mkdocs.yml | 2 +- gen/cloudbilling1-cli/src/main.rs | 10 +- gen/cloudbilling1/Cargo.toml | 8 +- gen/cloudbilling1/README.md | 52 +- gen/cloudbilling1/src/api.rs | 36 +- gen/cloudbilling1/src/lib.rs | 4 +- gen/cloudbuild1-cli/Cargo.toml | 8 +- gen/cloudbuild1-cli/README.md | 2 +- gen/cloudbuild1-cli/mkdocs.yml | 2 +- gen/cloudbuild1-cli/src/main.rs | 10 +- gen/cloudbuild1/Cargo.toml | 8 +- gen/cloudbuild1/README.md | 52 +- gen/cloudbuild1/src/api.rs | 126 +- gen/cloudbuild1/src/lib.rs | 4 +- gen/cloudchannel1-cli/Cargo.toml | 8 +- gen/cloudchannel1-cli/README.md | 2 +- gen/cloudchannel1-cli/mkdocs.yml | 2 +- gen/cloudchannel1-cli/src/main.rs | 10 +- gen/cloudchannel1/Cargo.toml | 8 +- gen/cloudchannel1/README.md | 48 +- gen/cloudchannel1/src/api.rs | 102 +- gen/cloudchannel1/src/lib.rs | 4 +- gen/clouddebugger2-cli/Cargo.toml | 8 +- gen/clouddebugger2-cli/README.md | 2 +- gen/clouddebugger2-cli/mkdocs.yml | 2 +- gen/clouddebugger2-cli/src/main.rs | 10 +- gen/clouddebugger2/Cargo.toml | 8 +- gen/clouddebugger2/README.md | 46 +- gen/clouddebugger2/src/api.rs | 26 +- gen/clouddebugger2/src/lib.rs | 4 +- gen/clouddeploy1-cli/Cargo.toml | 8 +- gen/clouddeploy1-cli/README.md | 2 +- gen/clouddeploy1-cli/mkdocs.yml | 2 +- gen/clouddeploy1-cli/src/main.rs | 10 +- gen/clouddeploy1/Cargo.toml | 8 +- gen/clouddeploy1/README.md | 44 +- gen/clouddeploy1/src/api.rs | 68 +- gen/clouddeploy1/src/lib.rs | 4 +- gen/clouderrorreporting1_beta1-cli/Cargo.toml | 8 +- gen/clouderrorreporting1_beta1-cli/README.md | 2 +- gen/clouderrorreporting1_beta1-cli/mkdocs.yml | 2 +- .../src/main.rs | 10 +- gen/clouderrorreporting1_beta1/Cargo.toml | 8 +- gen/clouderrorreporting1_beta1/README.md | 44 +- gen/clouderrorreporting1_beta1/src/api.rs | 20 +- gen/clouderrorreporting1_beta1/src/lib.rs | 4 +- gen/cloudfunctions1-cli/Cargo.toml | 8 +- gen/cloudfunctions1-cli/README.md | 2 +- gen/cloudfunctions1-cli/mkdocs.yml | 2 +- gen/cloudfunctions1-cli/src/main.rs | 10 +- gen/cloudfunctions1/Cargo.toml | 8 +- gen/cloudfunctions1/README.md | 48 +- gen/cloudfunctions1/src/api.rs | 38 +- gen/cloudfunctions1/src/lib.rs | 4 +- gen/cloudidentity1-cli/Cargo.toml | 8 +- gen/cloudidentity1-cli/README.md | 2 +- gen/cloudidentity1-cli/mkdocs.yml | 2 +- gen/cloudidentity1-cli/src/main.rs | 10 +- gen/cloudidentity1/Cargo.toml | 8 +- gen/cloudidentity1/README.md | 48 +- gen/cloudidentity1/src/api.rs | 82 +- gen/cloudidentity1/src/lib.rs | 4 +- gen/cloudiot1-cli/Cargo.toml | 8 +- gen/cloudiot1-cli/README.md | 2 +- gen/cloudiot1-cli/mkdocs.yml | 2 +- gen/cloudiot1-cli/src/main.rs | 10 +- gen/cloudiot1/Cargo.toml | 8 +- gen/cloudiot1/README.md | 44 +- gen/cloudiot1/src/api.rs | 54 +- gen/cloudiot1/src/lib.rs | 4 +- gen/cloudkms1-cli/Cargo.toml | 8 +- gen/cloudkms1-cli/README.md | 2 +- gen/cloudkms1-cli/mkdocs.yml | 2 +- gen/cloudkms1-cli/src/main.rs | 10 +- gen/cloudkms1/Cargo.toml | 8 +- gen/cloudkms1/README.md | 44 +- gen/cloudkms1/src/api.rs | 96 +- gen/cloudkms1/src/lib.rs | 4 +- gen/cloudkms1_beta1-cli/Cargo.toml | 8 +- gen/cloudkms1_beta1-cli/README.md | 2 +- gen/cloudkms1_beta1-cli/mkdocs.yml | 2 +- gen/cloudkms1_beta1-cli/src/main.rs | 10 +- gen/cloudkms1_beta1/Cargo.toml | 8 +- gen/cloudkms1_beta1/README.md | 44 +- gen/cloudkms1_beta1/src/api.rs | 56 +- gen/cloudkms1_beta1/src/lib.rs | 4 +- gen/cloudlatencytest2-cli/Cargo.toml | 8 +- gen/cloudlatencytest2-cli/README.md | 2 +- gen/cloudlatencytest2-cli/mkdocs.yml | 2 +- gen/cloudlatencytest2-cli/src/main.rs | 10 +- gen/cloudlatencytest2/Cargo.toml | 8 +- gen/cloudlatencytest2/README.md | 44 +- gen/cloudlatencytest2/src/api.rs | 12 +- gen/cloudlatencytest2/src/lib.rs | 4 +- gen/cloudmonitoring2_beta2-cli/Cargo.toml | 8 +- gen/cloudmonitoring2_beta2-cli/README.md | 2 +- gen/cloudmonitoring2_beta2-cli/mkdocs.yml | 2 +- gen/cloudmonitoring2_beta2-cli/src/main.rs | 10 +- gen/cloudmonitoring2_beta2/Cargo.toml | 8 +- gen/cloudmonitoring2_beta2/README.md | 52 +- gen/cloudmonitoring2_beta2/src/api.rs | 24 +- gen/cloudmonitoring2_beta2/src/lib.rs | 4 +- gen/cloudprivatecatalog1_beta1-cli/Cargo.toml | 8 +- gen/cloudprivatecatalog1_beta1-cli/README.md | 2 +- gen/cloudprivatecatalog1_beta1-cli/mkdocs.yml | 2 +- .../src/main.rs | 10 +- gen/cloudprivatecatalog1_beta1/Cargo.toml | 8 +- gen/cloudprivatecatalog1_beta1/README.md | 48 +- gen/cloudprivatecatalog1_beta1/src/api.rs | 30 +- gen/cloudprivatecatalog1_beta1/src/lib.rs | 4 +- .../Cargo.toml | 8 +- .../README.md | 2 +- .../mkdocs.yml | 2 +- .../src/main.rs | 10 +- .../Cargo.toml | 8 +- .../README.md | 46 +- .../src/api.rs | 68 +- .../src/lib.rs | 4 +- gen/cloudprofiler2-cli/Cargo.toml | 8 +- gen/cloudprofiler2-cli/README.md | 2 +- gen/cloudprofiler2-cli/mkdocs.yml | 2 +- gen/cloudprofiler2-cli/src/main.rs | 10 +- gen/cloudprofiler2/Cargo.toml | 8 +- gen/cloudprofiler2/README.md | 44 +- gen/cloudprofiler2/src/api.rs | 14 +- gen/cloudprofiler2/src/lib.rs | 4 +- gen/cloudresourcemanager1-cli/Cargo.toml | 8 +- gen/cloudresourcemanager1-cli/README.md | 2 +- gen/cloudresourcemanager1-cli/mkdocs.yml | 2 +- gen/cloudresourcemanager1-cli/src/main.rs | 10 +- gen/cloudresourcemanager1/Cargo.toml | 8 +- gen/cloudresourcemanager1/README.md | 60 +- gen/cloudresourcemanager1/src/api.rs | 92 +- gen/cloudresourcemanager1/src/lib.rs | 4 +- .../Cargo.toml | 8 +- gen/cloudresourcemanager1_beta1-cli/README.md | 2 +- .../mkdocs.yml | 2 +- .../src/main.rs | 10 +- gen/cloudresourcemanager1_beta1/Cargo.toml | 8 +- gen/cloudresourcemanager1_beta1/README.md | 50 +- gen/cloudresourcemanager1_beta1/src/api.rs | 42 +- gen/cloudresourcemanager1_beta1/src/lib.rs | 4 +- gen/cloudresourcemanager2-cli/Cargo.toml | 8 +- gen/cloudresourcemanager2-cli/README.md | 2 +- gen/cloudresourcemanager2-cli/mkdocs.yml | 2 +- gen/cloudresourcemanager2-cli/src/main.rs | 10 +- gen/cloudresourcemanager2/Cargo.toml | 8 +- gen/cloudresourcemanager2/README.md | 50 +- gen/cloudresourcemanager2/src/api.rs | 34 +- gen/cloudresourcemanager2/src/lib.rs | 4 +- gen/cloudresourcemanager3-cli/Cargo.toml | 8 +- gen/cloudresourcemanager3-cli/README.md | 2 +- gen/cloudresourcemanager3-cli/mkdocs.yml | 2 +- gen/cloudresourcemanager3-cli/src/main.rs | 10 +- gen/cloudresourcemanager3/Cargo.toml | 8 +- gen/cloudresourcemanager3/README.md | 74 +- gen/cloudresourcemanager3/src/api.rs | 124 +- gen/cloudresourcemanager3/src/lib.rs | 4 +- gen/cloudscheduler1-cli/Cargo.toml | 8 +- gen/cloudscheduler1-cli/README.md | 2 +- gen/cloudscheduler1-cli/mkdocs.yml | 2 +- gen/cloudscheduler1-cli/src/main.rs | 10 +- gen/cloudscheduler1/Cargo.toml | 8 +- gen/cloudscheduler1/README.md | 44 +- gen/cloudscheduler1/src/api.rs | 28 +- gen/cloudscheduler1/src/lib.rs | 4 +- gen/cloudscheduler1_beta1-cli/Cargo.toml | 8 +- gen/cloudscheduler1_beta1-cli/README.md | 2 +- gen/cloudscheduler1_beta1-cli/mkdocs.yml | 2 +- gen/cloudscheduler1_beta1-cli/src/main.rs | 10 +- gen/cloudscheduler1_beta1/Cargo.toml | 8 +- gen/cloudscheduler1_beta1/README.md | 44 +- gen/cloudscheduler1_beta1/src/api.rs | 28 +- gen/cloudscheduler1_beta1/src/lib.rs | 4 +- gen/cloudshell1-cli/Cargo.toml | 8 +- gen/cloudshell1-cli/README.md | 2 +- gen/cloudshell1-cli/mkdocs.yml | 2 +- gen/cloudshell1-cli/src/main.rs | 10 +- gen/cloudshell1/Cargo.toml | 8 +- gen/cloudshell1/README.md | 48 +- gen/cloudshell1/src/api.rs | 28 +- gen/cloudshell1/src/lib.rs | 4 +- gen/cloudsupport2_beta-cli/Cargo.toml | 8 +- gen/cloudsupport2_beta-cli/README.md | 2 +- gen/cloudsupport2_beta-cli/mkdocs.yml | 2 +- gen/cloudsupport2_beta-cli/src/main.rs | 10 +- gen/cloudsupport2_beta/Cargo.toml | 8 +- gen/cloudsupport2_beta/README.md | 62 +- gen/cloudsupport2_beta/src/api.rs | 42 +- gen/cloudsupport2_beta/src/lib.rs | 4 +- gen/cloudtasks2-cli/Cargo.toml | 8 +- gen/cloudtasks2-cli/README.md | 2 +- gen/cloudtasks2-cli/mkdocs.yml | 2 +- gen/cloudtasks2-cli/src/main.rs | 10 +- gen/cloudtasks2/Cargo.toml | 8 +- gen/cloudtasks2/README.md | 44 +- gen/cloudtasks2/src/api.rs | 44 +- gen/cloudtasks2/src/lib.rs | 4 +- gen/cloudtasks2_beta2-cli/Cargo.toml | 8 +- gen/cloudtasks2_beta2-cli/README.md | 2 +- gen/cloudtasks2_beta2-cli/mkdocs.yml | 2 +- gen/cloudtasks2_beta2-cli/src/main.rs | 10 +- gen/cloudtasks2_beta2/Cargo.toml | 8 +- gen/cloudtasks2_beta2/README.md | 44 +- gen/cloudtasks2_beta2/src/api.rs | 52 +- gen/cloudtasks2_beta2/src/lib.rs | 4 +- gen/cloudtasks2_beta3-cli/Cargo.toml | 8 +- gen/cloudtasks2_beta3-cli/README.md | 2 +- gen/cloudtasks2_beta3-cli/mkdocs.yml | 2 +- gen/cloudtasks2_beta3-cli/src/main.rs | 10 +- gen/cloudtasks2_beta3/Cargo.toml | 8 +- gen/cloudtasks2_beta3/README.md | 44 +- gen/cloudtasks2_beta3/src/api.rs | 44 +- gen/cloudtasks2_beta3/src/lib.rs | 4 +- gen/cloudtrace1-cli/Cargo.toml | 8 +- gen/cloudtrace1-cli/README.md | 2 +- gen/cloudtrace1-cli/mkdocs.yml | 2 +- gen/cloudtrace1-cli/src/main.rs | 10 +- gen/cloudtrace1/Cargo.toml | 8 +- gen/cloudtrace1/README.md | 44 +- gen/cloudtrace1/src/api.rs | 14 +- gen/cloudtrace1/src/lib.rs | 4 +- gen/cloudtrace2-cli/Cargo.toml | 8 +- gen/cloudtrace2-cli/README.md | 2 +- gen/cloudtrace2-cli/mkdocs.yml | 2 +- gen/cloudtrace2-cli/src/main.rs | 10 +- gen/cloudtrace2/Cargo.toml | 8 +- gen/cloudtrace2/README.md | 44 +- gen/cloudtrace2/src/api.rs | 12 +- gen/cloudtrace2/src/lib.rs | 4 +- gen/clouduseraccountsvm_beta-cli/Cargo.toml | 8 +- gen/clouduseraccountsvm_beta-cli/README.md | 2 +- gen/clouduseraccountsvm_beta-cli/mkdocs.yml | 2 +- gen/clouduseraccountsvm_beta-cli/src/main.rs | 10 +- gen/clouduseraccountsvm_beta/Cargo.toml | 8 +- gen/clouduseraccountsvm_beta/README.md | 54 +- gen/clouduseraccountsvm_beta/src/api.rs | 48 +- gen/clouduseraccountsvm_beta/src/lib.rs | 4 +- gen/commentanalyzer1_alpha1-cli/Cargo.toml | 8 +- gen/commentanalyzer1_alpha1-cli/README.md | 2 +- gen/commentanalyzer1_alpha1-cli/mkdocs.yml | 2 +- gen/commentanalyzer1_alpha1-cli/src/main.rs | 10 +- gen/commentanalyzer1_alpha1/Cargo.toml | 8 +- gen/commentanalyzer1_alpha1/README.md | 44 +- gen/commentanalyzer1_alpha1/src/api.rs | 12 +- gen/commentanalyzer1_alpha1/src/lib.rs | 4 +- gen/composer1-cli/Cargo.toml | 8 +- gen/composer1-cli/README.md | 2 +- gen/composer1-cli/mkdocs.yml | 2 +- gen/composer1-cli/src/main.rs | 10 +- gen/composer1/Cargo.toml | 8 +- gen/composer1/README.md | 44 +- gen/composer1/src/api.rs | 26 +- gen/composer1/src/lib.rs | 4 +- gen/compute1-cli/Cargo.toml | 8 +- gen/compute1-cli/README.md | 2 +- gen/compute1-cli/mkdocs.yml | 2 +- gen/compute1-cli/src/main.rs | 10 +- gen/compute1/Cargo.toml | 8 +- gen/compute1/README.md | 324 ++-- gen/compute1/src/api.rs | 1464 ++++++++--------- gen/compute1/src/lib.rs | 4 +- gen/connectors1-cli/Cargo.toml | 8 +- gen/connectors1-cli/README.md | 2 +- gen/connectors1-cli/mkdocs.yml | 2 +- gen/connectors1-cli/src/main.rs | 10 +- gen/connectors1/Cargo.toml | 8 +- gen/connectors1/README.md | 44 +- gen/connectors1/src/api.rs | 62 +- gen/connectors1/src/lib.rs | 4 +- gen/consumersurveys2-cli/Cargo.toml | 8 +- gen/consumersurveys2-cli/README.md | 2 +- gen/consumersurveys2-cli/mkdocs.yml | 2 +- gen/consumersurveys2-cli/src/main.rs | 10 +- gen/consumersurveys2/Cargo.toml | 8 +- gen/consumersurveys2/README.md | 52 +- gen/consumersurveys2/src/api.rs | 34 +- gen/consumersurveys2/src/lib.rs | 4 +- gen/contactcenterinsights1-cli/Cargo.toml | 8 +- gen/contactcenterinsights1-cli/README.md | 2 +- gen/contactcenterinsights1-cli/mkdocs.yml | 2 +- gen/contactcenterinsights1-cli/src/main.rs | 10 +- gen/contactcenterinsights1/Cargo.toml | 8 +- gen/contactcenterinsights1/README.md | 44 +- gen/contactcenterinsights1/src/api.rs | 82 +- gen/contactcenterinsights1/src/lib.rs | 4 +- gen/container1-cli/Cargo.toml | 8 +- gen/container1-cli/README.md | 2 +- gen/container1-cli/mkdocs.yml | 2 +- gen/container1-cli/src/main.rs | 10 +- gen/container1/Cargo.toml | 8 +- gen/container1/README.md | 44 +- gen/container1/src/api.rs | 134 +- gen/container1/src/lib.rs | 4 +- gen/containeranalysis1-cli/Cargo.toml | 8 +- gen/containeranalysis1-cli/README.md | 2 +- gen/containeranalysis1-cli/mkdocs.yml | 2 +- gen/containeranalysis1-cli/src/main.rs | 10 +- gen/containeranalysis1/Cargo.toml | 8 +- gen/containeranalysis1/README.md | 44 +- gen/containeranalysis1/src/api.rs | 50 +- gen/containeranalysis1/src/lib.rs | 4 +- gen/containeranalysis1_beta1-cli/Cargo.toml | 8 +- gen/containeranalysis1_beta1-cli/README.md | 2 +- gen/containeranalysis1_beta1-cli/mkdocs.yml | 2 +- gen/containeranalysis1_beta1-cli/src/main.rs | 10 +- gen/containeranalysis1_beta1/Cargo.toml | 8 +- gen/containeranalysis1_beta1/README.md | 44 +- gen/containeranalysis1_beta1/src/api.rs | 56 +- gen/containeranalysis1_beta1/src/lib.rs | 4 +- gen/content2-cli/Cargo.toml | 8 +- gen/content2-cli/README.md | 2 +- gen/content2-cli/mkdocs.yml | 2 +- gen/content2-cli/src/main.rs | 10 +- gen/content2/Cargo.toml | 8 +- gen/content2/README.md | 82 +- gen/content2/src/api.rs | 212 +-- gen/content2/src/lib.rs | 4 +- gen/content2_sandbox-cli/Cargo.toml | 8 +- gen/content2_sandbox-cli/README.md | 2 +- gen/content2_sandbox-cli/mkdocs.yml | 2 +- gen/content2_sandbox-cli/src/main.rs | 10 +- gen/content2_sandbox/Cargo.toml | 8 +- gen/content2_sandbox/README.md | 52 +- gen/content2_sandbox/src/api.rs | 74 +- gen/content2_sandbox/src/lib.rs | 4 +- gen/coordinate1-cli/Cargo.toml | 8 +- gen/coordinate1-cli/README.md | 2 +- gen/coordinate1-cli/mkdocs.yml | 2 +- gen/coordinate1-cli/src/main.rs | 10 +- gen/coordinate1/Cargo.toml | 8 +- gen/coordinate1/README.md | 66 +- gen/coordinate1/src/api.rs | 42 +- gen/coordinate1/src/lib.rs | 4 +- gen/customsearch1-cli/Cargo.toml | 8 +- gen/customsearch1-cli/README.md | 2 +- gen/customsearch1-cli/mkdocs.yml | 2 +- gen/customsearch1-cli/src/main.rs | 10 +- gen/customsearch1/Cargo.toml | 8 +- gen/customsearch1/README.md | 44 +- gen/customsearch1/src/api.rs | 12 +- gen/customsearch1/src/lib.rs | 4 +- gen/datacatalog1-cli/Cargo.toml | 8 +- gen/datacatalog1-cli/README.md | 2 +- gen/datacatalog1-cli/mkdocs.yml | 2 +- gen/datacatalog1-cli/src/main.rs | 10 +- gen/datacatalog1/Cargo.toml | 8 +- gen/datacatalog1/README.md | 48 +- gen/datacatalog1/src/api.rs | 132 +- gen/datacatalog1/src/lib.rs | 4 +- gen/datacatalog1_beta1-cli/Cargo.toml | 8 +- gen/datacatalog1_beta1-cli/README.md | 2 +- gen/datacatalog1_beta1-cli/mkdocs.yml | 2 +- gen/datacatalog1_beta1-cli/src/main.rs | 10 +- gen/datacatalog1_beta1/Cargo.toml | 8 +- gen/datacatalog1_beta1/README.md | 48 +- gen/datacatalog1_beta1/src/api.rs | 122 +- gen/datacatalog1_beta1/src/lib.rs | 4 +- gen/datafusion1-cli/Cargo.toml | 8 +- gen/datafusion1-cli/README.md | 2 +- gen/datafusion1-cli/mkdocs.yml | 2 +- gen/datafusion1-cli/src/main.rs | 10 +- gen/datafusion1/Cargo.toml | 8 +- gen/datafusion1/README.md | 44 +- gen/datafusion1/src/api.rs | 40 +- gen/datafusion1/src/lib.rs | 4 +- gen/datafusion1_beta1-cli/Cargo.toml | 8 +- gen/datafusion1_beta1-cli/README.md | 2 +- gen/datafusion1_beta1-cli/mkdocs.yml | 2 +- gen/datafusion1_beta1-cli/src/main.rs | 10 +- gen/datafusion1_beta1/Cargo.toml | 8 +- gen/datafusion1_beta1/README.md | 44 +- gen/datafusion1_beta1/src/api.rs | 58 +- gen/datafusion1_beta1/src/lib.rs | 4 +- gen/datalabeling1_beta1-cli/Cargo.toml | 8 +- gen/datalabeling1_beta1-cli/README.md | 2 +- gen/datalabeling1_beta1-cli/mkdocs.yml | 2 +- gen/datalabeling1_beta1-cli/src/main.rs | 10 +- gen/datalabeling1_beta1/Cargo.toml | 8 +- gen/datalabeling1_beta1/README.md | 44 +- gen/datalabeling1_beta1/src/api.rs | 102 +- gen/datalabeling1_beta1/src/lib.rs | 4 +- gen/datamigration1-cli/Cargo.toml | 8 +- gen/datamigration1-cli/README.md | 2 +- gen/datamigration1-cli/mkdocs.yml | 2 +- gen/datamigration1-cli/src/main.rs | 10 +- gen/datamigration1/Cargo.toml | 8 +- gen/datamigration1/README.md | 44 +- gen/datamigration1/src/api.rs | 66 +- gen/datamigration1/src/lib.rs | 4 +- gen/datapipelines1-cli/Cargo.toml | 8 +- gen/datapipelines1-cli/README.md | 2 +- gen/datapipelines1-cli/mkdocs.yml | 2 +- gen/datapipelines1-cli/src/main.rs | 10 +- gen/datapipelines1/Cargo.toml | 8 +- gen/datapipelines1/README.md | 44 +- gen/datapipelines1/src/api.rs | 24 +- gen/datapipelines1/src/lib.rs | 4 +- gen/dataplex1-cli/Cargo.toml | 8 +- gen/dataplex1-cli/README.md | 2 +- gen/dataplex1-cli/mkdocs.yml | 2 +- gen/dataplex1-cli/src/main.rs | 10 +- gen/dataplex1/Cargo.toml | 8 +- gen/dataplex1/README.md | 44 +- gen/dataplex1/src/api.rs | 148 +- gen/dataplex1/src/lib.rs | 4 +- gen/dataproc1-cli/Cargo.toml | 8 +- gen/dataproc1-cli/README.md | 2 +- gen/dataproc1-cli/mkdocs.yml | 2 +- gen/dataproc1-cli/src/main.rs | 10 +- gen/dataproc1/Cargo.toml | 8 +- gen/dataproc1/README.md | 44 +- gen/dataproc1/src/api.rs | 148 +- gen/dataproc1/src/lib.rs | 4 +- gen/datastore1-cli/Cargo.toml | 8 +- gen/datastore1-cli/README.md | 2 +- gen/datastore1-cli/mkdocs.yml | 2 +- gen/datastore1-cli/src/main.rs | 10 +- gen/datastore1/Cargo.toml | 8 +- gen/datastore1/README.md | 44 +- gen/datastore1/src/api.rs | 42 +- gen/datastore1/src/lib.rs | 4 +- gen/datastore1_beta3-cli/Cargo.toml | 8 +- gen/datastore1_beta3-cli/README.md | 2 +- gen/datastore1_beta3-cli/mkdocs.yml | 2 +- gen/datastore1_beta3-cli/src/main.rs | 10 +- gen/datastore1_beta3/Cargo.toml | 8 +- gen/datastore1_beta3/README.md | 44 +- gen/datastore1_beta3/src/api.rs | 22 +- gen/datastore1_beta3/src/lib.rs | 4 +- gen/datastream1-cli/Cargo.toml | 8 +- gen/datastream1-cli/README.md | 2 +- gen/datastream1-cli/mkdocs.yml | 2 +- gen/datastream1-cli/src/main.rs | 10 +- gen/datastream1/Cargo.toml | 8 +- gen/datastream1/README.md | 44 +- gen/datastream1/src/api.rs | 70 +- gen/datastream1/src/lib.rs | 4 +- gen/deploymentmanager2-cli/Cargo.toml | 8 +- gen/deploymentmanager2-cli/README.md | 2 +- gen/deploymentmanager2-cli/mkdocs.yml | 2 +- gen/deploymentmanager2-cli/src/main.rs | 10 +- gen/deploymentmanager2/Cargo.toml | 8 +- gen/deploymentmanager2/README.md | 62 +- gen/deploymentmanager2/src/api.rs | 52 +- gen/deploymentmanager2/src/lib.rs | 4 +- gen/deploymentmanager2_beta2-cli/Cargo.toml | 8 +- gen/deploymentmanager2_beta2-cli/README.md | 2 +- gen/deploymentmanager2_beta2-cli/mkdocs.yml | 2 +- gen/deploymentmanager2_beta2-cli/src/main.rs | 10 +- gen/deploymentmanager2_beta2/Cargo.toml | 8 +- gen/deploymentmanager2_beta2/README.md | 62 +- gen/deploymentmanager2_beta2/src/api.rs | 42 +- gen/deploymentmanager2_beta2/src/lib.rs | 4 +- gen/dfareporting2d8-cli/Cargo.toml | 8 +- gen/dfareporting2d8-cli/README.md | 2 +- gen/dfareporting2d8-cli/mkdocs.yml | 2 +- gen/dfareporting2d8-cli/src/main.rs | 10 +- gen/dfareporting2d8/Cargo.toml | 8 +- gen/dfareporting2d8/README.md | 288 ++-- gen/dfareporting2d8/src/api.rs | 536 +++--- gen/dfareporting2d8/src/lib.rs | 4 +- gen/dfareporting3-cli/Cargo.toml | 8 +- gen/dfareporting3-cli/README.md | 2 +- gen/dfareporting3-cli/mkdocs.yml | 2 +- gen/dfareporting3-cli/src/main.rs | 10 +- gen/dfareporting3/Cargo.toml | 8 +- gen/dfareporting3/README.md | 286 ++-- gen/dfareporting3/src/api.rs | 534 +++--- gen/dfareporting3/src/lib.rs | 4 +- gen/dfareporting3d2-cli/Cargo.toml | 8 +- gen/dfareporting3d2-cli/README.md | 2 +- gen/dfareporting3d2-cli/mkdocs.yml | 2 +- gen/dfareporting3d2-cli/src/main.rs | 10 +- gen/dfareporting3d2/Cargo.toml | 8 +- gen/dfareporting3d2/README.md | 290 ++-- gen/dfareporting3d2/src/api.rs | 540 +++--- gen/dfareporting3d2/src/lib.rs | 4 +- gen/dfareporting3d3-cli/Cargo.toml | 8 +- gen/dfareporting3d3-cli/README.md | 2 +- gen/dfareporting3d3-cli/mkdocs.yml | 2 +- gen/dfareporting3d3-cli/src/main.rs | 10 +- gen/dfareporting3d3/Cargo.toml | 8 +- gen/dfareporting3d3/README.md | 286 ++-- gen/dfareporting3d3/src/api.rs | 534 +++--- gen/dfareporting3d3/src/lib.rs | 4 +- gen/dfareporting3d4-cli/Cargo.toml | 8 +- gen/dfareporting3d4-cli/README.md | 2 +- gen/dfareporting3d4-cli/mkdocs.yml | 2 +- gen/dfareporting3d4-cli/src/main.rs | 10 +- gen/dfareporting3d4/Cargo.toml | 8 +- gen/dfareporting3d4/README.md | 290 ++-- gen/dfareporting3d4/src/api.rs | 538 +++--- gen/dfareporting3d4/src/lib.rs | 4 +- gen/dfareporting3d5-cli/Cargo.toml | 8 +- gen/dfareporting3d5-cli/README.md | 2 +- gen/dfareporting3d5-cli/mkdocs.yml | 2 +- gen/dfareporting3d5-cli/src/main.rs | 10 +- gen/dfareporting3d5/Cargo.toml | 8 +- gen/dfareporting3d5/README.md | 286 ++-- gen/dfareporting3d5/src/api.rs | 534 +++--- gen/dfareporting3d5/src/lib.rs | 4 +- gen/dialogflow2-cli/Cargo.toml | 8 +- gen/dialogflow2-cli/README.md | 2 +- gen/dialogflow2-cli/mkdocs.yml | 2 +- gen/dialogflow2-cli/src/main.rs | 10 +- gen/dialogflow2/Cargo.toml | 8 +- gen/dialogflow2/README.md | 44 +- gen/dialogflow2/src/api.rs | 492 +++--- gen/dialogflow2/src/lib.rs | 4 +- gen/dialogflow2_beta1-cli/Cargo.toml | 8 +- gen/dialogflow2_beta1-cli/README.md | 2 +- gen/dialogflow2_beta1-cli/mkdocs.yml | 2 +- gen/dialogflow2_beta1-cli/src/main.rs | 10 +- gen/dialogflow2_beta1/Cargo.toml | 8 +- gen/dialogflow2_beta1/README.md | 44 +- gen/dialogflow2_beta1/src/api.rs | 450 ++--- gen/dialogflow2_beta1/src/lib.rs | 4 +- gen/dialogflow3-cli/Cargo.toml | 8 +- gen/dialogflow3-cli/README.md | 2 +- gen/dialogflow3-cli/mkdocs.yml | 2 +- gen/dialogflow3-cli/src/main.rs | 10 +- gen/dialogflow3/Cargo.toml | 8 +- gen/dialogflow3/README.md | 44 +- gen/dialogflow3/src/api.rs | 232 +-- gen/dialogflow3/src/lib.rs | 4 +- gen/digitalassetlinks1-cli/Cargo.toml | 8 +- gen/digitalassetlinks1-cli/README.md | 2 +- gen/digitalassetlinks1-cli/mkdocs.yml | 2 +- gen/digitalassetlinks1-cli/src/main.rs | 10 +- gen/digitalassetlinks1/Cargo.toml | 8 +- gen/digitalassetlinks1/README.md | 48 +- gen/digitalassetlinks1/src/api.rs | 16 +- gen/digitalassetlinks1/src/lib.rs | 4 +- gen/discovery1-cli/Cargo.toml | 8 +- gen/discovery1-cli/README.md | 2 +- gen/discovery1-cli/mkdocs.yml | 2 +- gen/discovery1-cli/src/main.rs | 10 +- gen/discovery1/Cargo.toml | 8 +- gen/discovery1/README.md | 44 +- gen/discovery1/src/api.rs | 12 +- gen/discovery1/src/lib.rs | 4 +- gen/displayvideo1-cli/Cargo.toml | 8 +- gen/displayvideo1-cli/README.md | 2 +- gen/displayvideo1-cli/mkdocs.yml | 2 +- gen/displayvideo1-cli/src/main.rs | 10 +- gen/displayvideo1/Cargo.toml | 8 +- gen/displayvideo1/README.md | 98 +- gen/displayvideo1/src/api.rs | 318 ++-- gen/displayvideo1/src/lib.rs | 4 +- gen/dlp2-cli/Cargo.toml | 8 +- gen/dlp2-cli/README.md | 2 +- gen/dlp2-cli/mkdocs.yml | 2 +- gen/dlp2-cli/src/main.rs | 10 +- gen/dlp2/Cargo.toml | 8 +- gen/dlp2/README.md | 50 +- gen/dlp2/src/api.rs | 216 +-- gen/dlp2/src/lib.rs | 4 +- gen/dlp2_beta1-cli/Cargo.toml | 8 +- gen/dlp2_beta1-cli/README.md | 2 +- gen/dlp2_beta1-cli/mkdocs.yml | 2 +- gen/dlp2_beta1-cli/src/main.rs | 10 +- gen/dlp2_beta1/Cargo.toml | 8 +- gen/dlp2_beta1/README.md | 52 +- gen/dlp2_beta1/src/api.rs | 48 +- gen/dlp2_beta1/src/lib.rs | 4 +- gen/dns1-cli/Cargo.toml | 8 +- gen/dns1-cli/README.md | 2 +- gen/dns1-cli/mkdocs.yml | 2 +- gen/dns1-cli/src/main.rs | 10 +- gen/dns1/Cargo.toml | 8 +- gen/dns1/README.md | 76 +- gen/dns1/src/api.rs | 98 +- gen/dns1/src/lib.rs | 4 +- gen/dns2-cli/Cargo.toml | 8 +- gen/dns2-cli/README.md | 2 +- gen/dns2-cli/mkdocs.yml | 2 +- gen/dns2-cli/src/main.rs | 10 +- gen/dns2/Cargo.toml | 8 +- gen/dns2/README.md | 76 +- gen/dns2/src/api.rs | 98 +- gen/dns2/src/lib.rs | 4 +- gen/docs1-cli/Cargo.toml | 8 +- gen/docs1-cli/README.md | 2 +- gen/docs1-cli/mkdocs.yml | 2 +- gen/docs1-cli/src/main.rs | 10 +- gen/docs1/Cargo.toml | 8 +- gen/docs1/README.md | 46 +- gen/docs1/src/api.rs | 14 +- gen/docs1/src/lib.rs | 4 +- gen/documentai1-cli/Cargo.toml | 8 +- gen/documentai1-cli/README.md | 2 +- gen/documentai1-cli/mkdocs.yml | 2 +- gen/documentai1-cli/src/main.rs | 10 +- gen/documentai1/Cargo.toml | 8 +- gen/documentai1/README.md | 48 +- gen/documentai1/src/api.rs | 72 +- gen/documentai1/src/lib.rs | 4 +- gen/documentai1_beta2-cli/Cargo.toml | 8 +- gen/documentai1_beta2-cli/README.md | 2 +- gen/documentai1_beta2-cli/mkdocs.yml | 2 +- gen/documentai1_beta2-cli/src/main.rs | 10 +- gen/documentai1_beta2/Cargo.toml | 8 +- gen/documentai1_beta2/README.md | 44 +- gen/documentai1_beta2/src/api.rs | 20 +- gen/documentai1_beta2/src/lib.rs | 4 +- gen/domains1-cli/Cargo.toml | 8 +- gen/domains1-cli/README.md | 2 +- gen/domains1-cli/mkdocs.yml | 2 +- gen/domains1-cli/src/main.rs | 10 +- gen/domains1/Cargo.toml | 8 +- gen/domains1/README.md | 44 +- gen/domains1/src/api.rs | 52 +- gen/domains1/src/lib.rs | 4 +- gen/domains1_beta1-cli/Cargo.toml | 8 +- gen/domains1_beta1-cli/README.md | 2 +- gen/domains1_beta1-cli/mkdocs.yml | 2 +- gen/domains1_beta1-cli/src/main.rs | 10 +- gen/domains1_beta1/Cargo.toml | 8 +- gen/domains1_beta1/README.md | 44 +- gen/domains1_beta1/src/api.rs | 52 +- gen/domains1_beta1/src/lib.rs | 4 +- gen/domainsrdap1-cli/Cargo.toml | 8 +- gen/domainsrdap1-cli/README.md | 2 +- gen/domainsrdap1-cli/mkdocs.yml | 2 +- gen/domainsrdap1-cli/src/main.rs | 10 +- gen/domainsrdap1/Cargo.toml | 8 +- gen/domainsrdap1/README.md | 62 +- gen/domainsrdap1/src/api.rs | 38 +- gen/domainsrdap1/src/lib.rs | 4 +- gen/doubleclickbidmanager1-cli/Cargo.toml | 8 +- gen/doubleclickbidmanager1-cli/README.md | 2 +- gen/doubleclickbidmanager1-cli/mkdocs.yml | 2 +- gen/doubleclickbidmanager1-cli/src/main.rs | 10 +- gen/doubleclickbidmanager1/Cargo.toml | 8 +- gen/doubleclickbidmanager1/README.md | 54 +- gen/doubleclickbidmanager1/src/api.rs | 32 +- gen/doubleclickbidmanager1/src/lib.rs | 4 +- gen/doubleclickbidmanager1d1-cli/Cargo.toml | 8 +- gen/doubleclickbidmanager1d1-cli/README.md | 2 +- gen/doubleclickbidmanager1d1-cli/mkdocs.yml | 2 +- gen/doubleclickbidmanager1d1-cli/src/main.rs | 10 +- gen/doubleclickbidmanager1d1/Cargo.toml | 8 +- gen/doubleclickbidmanager1d1/README.md | 50 +- gen/doubleclickbidmanager1d1/src/api.rs | 22 +- gen/doubleclickbidmanager1d1/src/lib.rs | 4 +- gen/doubleclicksearch2-cli/Cargo.toml | 8 +- gen/doubleclicksearch2-cli/README.md | 2 +- gen/doubleclicksearch2-cli/mkdocs.yml | 2 +- gen/doubleclicksearch2-cli/src/main.rs | 10 +- gen/doubleclicksearch2/Cargo.toml | 8 +- gen/doubleclicksearch2/README.md | 56 +- gen/doubleclicksearch2/src/api.rs | 32 +- gen/doubleclicksearch2/src/lib.rs | 4 +- gen/drive2-cli/Cargo.toml | 8 +- gen/drive2-cli/README.md | 2 +- gen/drive2-cli/mkdocs.yml | 2 +- gen/drive2-cli/src/main.rs | 10 +- gen/drive2/Cargo.toml | 8 +- gen/drive2/README.md | 110 +- gen/drive2/src/api.rs | 178 +- gen/drive2/src/lib.rs | 4 +- gen/drive3-cli/Cargo.toml | 8 +- gen/drive3-cli/README.md | 2 +- gen/drive3-cli/mkdocs.yml | 2 +- gen/drive3-cli/src/main.rs | 10 +- gen/driveactivity2-cli/Cargo.toml | 8 +- gen/driveactivity2-cli/README.md | 2 +- gen/driveactivity2-cli/mkdocs.yml | 2 +- gen/driveactivity2-cli/src/main.rs | 10 +- gen/driveactivity2/Cargo.toml | 8 +- gen/driveactivity2/README.md | 44 +- gen/driveactivity2/src/api.rs | 10 +- gen/driveactivity2/src/lib.rs | 4 +- gen/essentialcontacts1-cli/Cargo.toml | 8 +- gen/essentialcontacts1-cli/README.md | 2 +- gen/essentialcontacts1-cli/mkdocs.yml | 2 +- gen/essentialcontacts1-cli/src/main.rs | 10 +- gen/essentialcontacts1/Cargo.toml | 8 +- gen/essentialcontacts1/README.md | 48 +- gen/essentialcontacts1/src/api.rs | 54 +- gen/essentialcontacts1/src/lib.rs | 4 +- gen/eventarc1-cli/Cargo.toml | 8 +- gen/eventarc1-cli/README.md | 2 +- gen/eventarc1-cli/mkdocs.yml | 2 +- gen/eventarc1-cli/src/main.rs | 10 +- gen/eventarc1/Cargo.toml | 8 +- gen/eventarc1/README.md | 44 +- gen/eventarc1/src/api.rs | 52 +- gen/eventarc1/src/lib.rs | 4 +- gen/factchecktools1_alpha1-cli/Cargo.toml | 8 +- gen/factchecktools1_alpha1-cli/README.md | 2 +- gen/factchecktools1_alpha1-cli/mkdocs.yml | 2 +- gen/factchecktools1_alpha1-cli/src/main.rs | 10 +- gen/factchecktools1_alpha1/Cargo.toml | 8 +- gen/factchecktools1_alpha1/README.md | 46 +- gen/factchecktools1_alpha1/src/api.rs | 22 +- gen/factchecktools1_alpha1/src/lib.rs | 4 +- gen/fcm1-cli/Cargo.toml | 8 +- gen/fcm1-cli/README.md | 2 +- gen/fcm1-cli/mkdocs.yml | 2 +- gen/fcm1-cli/src/main.rs | 10 +- gen/fcm1/Cargo.toml | 8 +- gen/fcm1/README.md | 44 +- gen/fcm1/src/api.rs | 10 +- gen/fcm1/src/lib.rs | 4 +- gen/fcmdata1_beta1-cli/Cargo.toml | 8 +- gen/fcmdata1_beta1-cli/README.md | 2 +- gen/fcmdata1_beta1-cli/mkdocs.yml | 2 +- gen/fcmdata1_beta1-cli/src/main.rs | 10 +- gen/fcmdata1_beta1/Cargo.toml | 8 +- gen/fcmdata1_beta1/README.md | 44 +- gen/fcmdata1_beta1/src/api.rs | 10 +- gen/fcmdata1_beta1/src/lib.rs | 4 +- gen/file1-cli/Cargo.toml | 8 +- gen/file1-cli/README.md | 2 +- gen/file1-cli/mkdocs.yml | 2 +- gen/file1-cli/src/main.rs | 10 +- gen/file1/Cargo.toml | 8 +- gen/file1/README.md | 44 +- gen/file1/src/api.rs | 52 +- gen/file1/src/lib.rs | 4 +- gen/file1_beta1-cli/Cargo.toml | 8 +- gen/file1_beta1-cli/README.md | 2 +- gen/file1_beta1-cli/mkdocs.yml | 2 +- gen/file1_beta1-cli/src/main.rs | 10 +- gen/file1_beta1/Cargo.toml | 8 +- gen/file1_beta1/README.md | 44 +- gen/file1_beta1/src/api.rs | 54 +- gen/file1_beta1/src/lib.rs | 4 +- gen/firebase1_beta1-cli/Cargo.toml | 8 +- gen/firebase1_beta1-cli/README.md | 2 +- gen/firebase1_beta1-cli/mkdocs.yml | 2 +- gen/firebase1_beta1-cli/src/main.rs | 10 +- gen/firebase1_beta1/Cargo.toml | 8 +- gen/firebase1_beta1/README.md | 50 +- gen/firebase1_beta1/src/api.rs | 74 +- gen/firebase1_beta1/src/lib.rs | 4 +- gen/firebaseappcheck1_beta-cli/Cargo.toml | 8 +- gen/firebaseappcheck1_beta-cli/README.md | 2 +- gen/firebaseappcheck1_beta-cli/mkdocs.yml | 2 +- gen/firebaseappcheck1_beta-cli/src/main.rs | 10 +- gen/firebaseappcheck1_beta/Cargo.toml | 8 +- gen/firebaseappcheck1_beta/README.md | 46 +- gen/firebaseappcheck1_beta/src/api.rs | 78 +- gen/firebaseappcheck1_beta/src/lib.rs | 4 +- gen/firebasedatabase1_beta-cli/Cargo.toml | 8 +- gen/firebasedatabase1_beta-cli/README.md | 2 +- gen/firebasedatabase1_beta-cli/mkdocs.yml | 2 +- gen/firebasedatabase1_beta-cli/src/main.rs | 10 +- gen/firebasedatabase1_beta/Cargo.toml | 8 +- gen/firebasedatabase1_beta/README.md | 44 +- gen/firebasedatabase1_beta/src/api.rs | 20 +- gen/firebasedatabase1_beta/src/lib.rs | 4 +- gen/firebasedynamiclinks1-cli/Cargo.toml | 8 +- gen/firebasedynamiclinks1-cli/README.md | 2 +- gen/firebasedynamiclinks1-cli/mkdocs.yml | 2 +- gen/firebasedynamiclinks1-cli/src/main.rs | 10 +- gen/firebasedynamiclinks1/Cargo.toml | 8 +- gen/firebasedynamiclinks1/README.md | 54 +- gen/firebasedynamiclinks1/src/api.rs | 22 +- gen/firebasedynamiclinks1/src/lib.rs | 4 +- gen/firebasehosting1-cli/Cargo.toml | 8 +- gen/firebasehosting1-cli/README.md | 2 +- gen/firebasehosting1-cli/mkdocs.yml | 2 +- gen/firebasehosting1-cli/src/main.rs | 10 +- gen/firebasehosting1/Cargo.toml | 8 +- gen/firebasehosting1/README.md | 46 +- gen/firebasehosting1/src/api.rs | 14 +- gen/firebasehosting1/src/lib.rs | 4 +- gen/firebasehosting1_beta1-cli/Cargo.toml | 8 +- gen/firebasehosting1_beta1-cli/README.md | 2 +- gen/firebasehosting1_beta1-cli/mkdocs.yml | 2 +- gen/firebasehosting1_beta1-cli/src/main.rs | 10 +- gen/firebasehosting1_beta1/Cargo.toml | 8 +- gen/firebasehosting1_beta1/README.md | 48 +- gen/firebasehosting1_beta1/src/api.rs | 114 +- gen/firebasehosting1_beta1/src/lib.rs | 4 +- gen/firebaseml1-cli/Cargo.toml | 8 +- gen/firebaseml1-cli/README.md | 2 +- gen/firebaseml1-cli/mkdocs.yml | 2 +- gen/firebaseml1-cli/src/main.rs | 10 +- gen/firebaseml1/Cargo.toml | 8 +- gen/firebaseml1/README.md | 46 +- gen/firebaseml1/src/api.rs | 14 +- gen/firebaseml1/src/lib.rs | 4 +- gen/firebaseremoteconfig1-cli/Cargo.toml | 8 +- gen/firebaseremoteconfig1-cli/README.md | 2 +- gen/firebaseremoteconfig1-cli/mkdocs.yml | 2 +- gen/firebaseremoteconfig1-cli/src/main.rs | 10 +- gen/firebaseremoteconfig1/Cargo.toml | 8 +- gen/firebaseremoteconfig1/README.md | 44 +- gen/firebaseremoteconfig1/src/api.rs | 12 +- gen/firebaseremoteconfig1/src/lib.rs | 4 +- gen/firebasestorage1_beta-cli/Cargo.toml | 8 +- gen/firebasestorage1_beta-cli/README.md | 2 +- gen/firebasestorage1_beta-cli/mkdocs.yml | 2 +- gen/firebasestorage1_beta-cli/src/main.rs | 10 +- gen/firebasestorage1_beta/Cargo.toml | 8 +- gen/firebasestorage1_beta/README.md | 44 +- gen/firebasestorage1_beta/src/api.rs | 16 +- gen/firebasestorage1_beta/src/lib.rs | 4 +- gen/firestore1-cli/Cargo.toml | 8 +- gen/firestore1-cli/README.md | 2 +- gen/firestore1-cli/mkdocs.yml | 2 +- gen/firestore1-cli/src/main.rs | 10 +- gen/firestore1/Cargo.toml | 8 +- gen/firestore1/README.md | 44 +- gen/firestore1/src/api.rs | 74 +- gen/firestore1/src/lib.rs | 4 +- gen/firestore1_beta1-cli/Cargo.toml | 8 +- gen/firestore1_beta1-cli/README.md | 2 +- gen/firestore1_beta1-cli/mkdocs.yml | 2 +- gen/firestore1_beta1-cli/src/main.rs | 10 +- gen/firestore1_beta1/Cargo.toml | 8 +- gen/firestore1_beta1/README.md | 44 +- gen/firestore1_beta1/src/api.rs | 50 +- gen/firestore1_beta1/src/lib.rs | 4 +- gen/fitness1-cli/Cargo.toml | 8 +- gen/fitness1-cli/README.md | 2 +- gen/fitness1-cli/mkdocs.yml | 2 +- gen/fitness1-cli/src/main.rs | 10 +- gen/fitness1/Cargo.toml | 8 +- gen/fitness1/README.md | 44 +- gen/fitness1/src/api.rs | 34 +- gen/fitness1/src/lib.rs | 4 +- gen/fusiontables2-cli/Cargo.toml | 8 +- gen/fusiontables2-cli/README.md | 2 +- gen/fusiontables2-cli/mkdocs.yml | 2 +- gen/fusiontables2-cli/src/main.rs | 10 +- gen/fusiontables2/Cargo.toml | 8 +- gen/fusiontables2/README.md | 72 +- gen/fusiontables2/src/api.rs | 86 +- gen/fusiontables2/src/lib.rs | 4 +- gen/games1-cli/Cargo.toml | 8 +- gen/games1-cli/README.md | 2 +- gen/games1-cli/mkdocs.yml | 2 +- gen/games1-cli/src/main.rs | 10 +- gen/games1/Cargo.toml | 8 +- gen/games1/README.md | 74 +- gen/games1/src/api.rs | 86 +- gen/games1/src/lib.rs | 4 +- .../Cargo.toml | 8 +- .../README.md | 2 +- .../mkdocs.yml | 2 +- .../src/main.rs | 10 +- .../Cargo.toml | 8 +- .../README.md | 56 +- .../src/api.rs | 34 +- .../src/lib.rs | 4 +- gen/gameservices1-cli/Cargo.toml | 8 +- gen/gameservices1-cli/README.md | 2 +- gen/gameservices1-cli/mkdocs.yml | 2 +- gen/gameservices1-cli/src/main.rs | 10 +- gen/gameservices1/Cargo.toml | 8 +- gen/gameservices1/README.md | 44 +- gen/gameservices1/src/api.rs | 80 +- gen/gameservices1/src/lib.rs | 4 +- .../Cargo.toml | 8 +- gen/gamesmanagement1_management-cli/README.md | 2 +- .../mkdocs.yml | 2 +- .../src/main.rs | 10 +- gen/gamesmanagement1_management/Cargo.toml | 8 +- gen/gamesmanagement1_management/README.md | 54 +- gen/gamesmanagement1_management/src/api.rs | 52 +- gen/gamesmanagement1_management/src/lib.rs | 4 +- gen/gan1_beta1-cli/Cargo.toml | 8 +- gen/gan1_beta1-cli/README.md | 2 +- gen/gan1_beta1-cli/mkdocs.yml | 2 +- gen/gan1_beta1-cli/src/main.rs | 10 +- gen/gan1_beta1/Cargo.toml | 8 +- gen/gan1_beta1/README.md | 66 +- gen/gan1_beta1/src/api.rs | 38 +- gen/gan1_beta1/src/lib.rs | 4 +- gen/genomics1-cli/Cargo.toml | 8 +- gen/genomics1-cli/README.md | 2 +- gen/genomics1-cli/mkdocs.yml | 2 +- gen/genomics1-cli/src/main.rs | 10 +- gen/genomics1/Cargo.toml | 8 +- gen/genomics1/README.md | 46 +- gen/genomics1/src/api.rs | 14 +- gen/genomics1/src/lib.rs | 4 +- gen/gkehub1-cli/Cargo.toml | 8 +- gen/gkehub1-cli/README.md | 2 +- gen/gkehub1-cli/mkdocs.yml | 2 +- gen/gkehub1-cli/src/main.rs | 10 +- gen/gkehub1/Cargo.toml | 8 +- gen/gkehub1/README.md | 44 +- gen/gkehub1/src/api.rs | 54 +- gen/gkehub1/src/lib.rs | 4 +- gen/gmail1-cli/Cargo.toml | 8 +- gen/gmail1-cli/README.md | 2 +- gen/gmail1-cli/mkdocs.yml | 2 +- gen/gmail1-cli/src/main.rs | 10 +- gen/gmail1/Cargo.toml | 8 +- gen/gmail1/README.md | 56 +- gen/gmail1/src/api.rs | 144 +- gen/gmail1/src/lib.rs | 4 +- gen/gmailpostmastertools1-cli/Cargo.toml | 8 +- gen/gmailpostmastertools1-cli/README.md | 2 +- gen/gmailpostmastertools1-cli/mkdocs.yml | 2 +- gen/gmailpostmastertools1-cli/src/main.rs | 10 +- gen/gmailpostmastertools1/Cargo.toml | 8 +- gen/gmailpostmastertools1/README.md | 46 +- gen/gmailpostmastertools1/src/api.rs | 16 +- gen/gmailpostmastertools1/src/lib.rs | 4 +- .../Cargo.toml | 8 +- gen/gmailpostmastertools1_beta1-cli/README.md | 2 +- .../mkdocs.yml | 2 +- .../src/main.rs | 10 +- gen/gmailpostmastertools1_beta1/Cargo.toml | 8 +- gen/gmailpostmastertools1_beta1/README.md | 46 +- gen/gmailpostmastertools1_beta1/src/api.rs | 16 +- gen/gmailpostmastertools1_beta1/src/lib.rs | 4 +- gen/groupsmigration1-cli/Cargo.toml | 8 +- gen/groupsmigration1-cli/README.md | 2 +- gen/groupsmigration1-cli/mkdocs.yml | 2 +- gen/groupsmigration1-cli/src/main.rs | 10 +- gen/groupsmigration1/Cargo.toml | 8 +- gen/groupsmigration1/README.md | 46 +- gen/groupsmigration1/src/api.rs | 10 +- gen/groupsmigration1/src/lib.rs | 4 +- gen/groupssettings1-cli/Cargo.toml | 8 +- gen/groupssettings1-cli/README.md | 2 +- gen/groupssettings1-cli/mkdocs.yml | 2 +- gen/groupssettings1-cli/src/main.rs | 10 +- gen/groupssettings1/Cargo.toml | 8 +- gen/groupssettings1/README.md | 44 +- gen/groupssettings1/src/api.rs | 14 +- gen/groupssettings1/src/lib.rs | 4 +- gen/healthcare1-cli/Cargo.toml | 8 +- gen/healthcare1-cli/README.md | 2 +- gen/healthcare1-cli/mkdocs.yml | 2 +- gen/healthcare1-cli/src/main.rs | 10 +- gen/healthcare1/Cargo.toml | 8 +- gen/healthcare1/README.md | 44 +- gen/healthcare1/src/api.rs | 254 +-- gen/healthcare1/src/lib.rs | 4 +- gen/healthcare1_beta1-cli/Cargo.toml | 8 +- gen/healthcare1_beta1-cli/README.md | 2 +- gen/healthcare1_beta1-cli/mkdocs.yml | 2 +- gen/healthcare1_beta1-cli/src/main.rs | 10 +- gen/healthcare1_beta1/Cargo.toml | 8 +- gen/healthcare1_beta1/README.md | 44 +- gen/healthcare1_beta1/src/api.rs | 302 ++-- gen/healthcare1_beta1/src/lib.rs | 4 +- gen/iam1-cli/Cargo.toml | 8 +- gen/iam1-cli/README.md | 2 +- gen/iam1-cli/mkdocs.yml | 2 +- gen/iam1-cli/src/main.rs | 10 +- gen/iam1/Cargo.toml | 8 +- gen/iam1/README.md | 58 +- gen/iam1/src/api.rs | 132 +- gen/iam1/src/lib.rs | 4 +- gen/iamcredentials1-cli/Cargo.toml | 8 +- gen/iamcredentials1-cli/README.md | 2 +- gen/iamcredentials1-cli/mkdocs.yml | 2 +- gen/iamcredentials1-cli/src/main.rs | 10 +- gen/iamcredentials1/Cargo.toml | 8 +- gen/iamcredentials1/README.md | 44 +- gen/iamcredentials1/src/api.rs | 16 +- gen/iamcredentials1/src/lib.rs | 4 +- gen/iap1-cli/Cargo.toml | 8 +- gen/iap1-cli/README.md | 2 +- gen/iap1-cli/mkdocs.yml | 2 +- gen/iap1-cli/src/main.rs | 10 +- gen/iap1/Cargo.toml | 8 +- gen/iap1/README.md | 54 +- gen/iap1/src/api.rs | 36 +- gen/iap1/src/lib.rs | 4 +- gen/iap1_beta1-cli/Cargo.toml | 8 +- gen/iap1_beta1-cli/README.md | 2 +- gen/iap1_beta1-cli/mkdocs.yml | 2 +- gen/iap1_beta1-cli/src/main.rs | 10 +- gen/iap1_beta1/Cargo.toml | 8 +- gen/iap1_beta1/README.md | 48 +- gen/iap1_beta1/src/api.rs | 14 +- gen/iap1_beta1/src/lib.rs | 4 +- gen/ideahub1_beta-cli/Cargo.toml | 8 +- gen/ideahub1_beta-cli/README.md | 2 +- gen/ideahub1_beta-cli/mkdocs.yml | 2 +- gen/ideahub1_beta-cli/src/main.rs | 10 +- gen/ideahub1_beta/Cargo.toml | 8 +- gen/ideahub1_beta/README.md | 44 +- gen/ideahub1_beta/src/api.rs | 18 +- gen/ideahub1_beta/src/lib.rs | 4 +- gen/identitytoolkit3-cli/Cargo.toml | 8 +- gen/identitytoolkit3-cli/README.md | 2 +- gen/identitytoolkit3-cli/mkdocs.yml | 2 +- gen/identitytoolkit3-cli/src/main.rs | 10 +- gen/identitytoolkit3/Cargo.toml | 8 +- gen/identitytoolkit3/README.md | 46 +- gen/identitytoolkit3/src/api.rs | 50 +- gen/identitytoolkit3/src/lib.rs | 4 +- gen/ids1-cli/Cargo.toml | 8 +- gen/ids1-cli/README.md | 2 +- gen/ids1-cli/mkdocs.yml | 2 +- gen/ids1-cli/src/main.rs | 10 +- gen/ids1/Cargo.toml | 8 +- gen/ids1/README.md | 44 +- gen/ids1/src/api.rs | 34 +- gen/ids1/src/lib.rs | 4 +- gen/indexing3-cli/Cargo.toml | 8 +- gen/indexing3-cli/README.md | 2 +- gen/indexing3-cli/mkdocs.yml | 2 +- gen/indexing3-cli/src/main.rs | 10 +- gen/indexing3/Cargo.toml | 8 +- gen/indexing3/README.md | 46 +- gen/indexing3/src/api.rs | 12 +- gen/indexing3/src/lib.rs | 4 +- gen/jobs3-cli/Cargo.toml | 8 +- gen/jobs3-cli/README.md | 2 +- gen/jobs3-cli/mkdocs.yml | 2 +- gen/jobs3-cli/src/main.rs | 10 +- gen/jobs3/Cargo.toml | 8 +- gen/jobs3/README.md | 44 +- gen/jobs3/src/api.rs | 38 +- gen/jobs3/src/lib.rs | 4 +- gen/jobs4-cli/Cargo.toml | 8 +- gen/jobs4-cli/README.md | 2 +- gen/jobs4-cli/mkdocs.yml | 2 +- gen/jobs4-cli/src/main.rs | 10 +- gen/jobs4/Cargo.toml | 8 +- gen/jobs4/README.md | 44 +- gen/jobs4/src/api.rs | 54 +- gen/jobs4/src/lib.rs | 4 +- gen/keep1-cli/Cargo.toml | 8 +- gen/keep1-cli/README.md | 2 +- gen/keep1-cli/mkdocs.yml | 2 +- gen/keep1-cli/src/main.rs | 10 +- gen/keep1/Cargo.toml | 8 +- gen/keep1/README.md | 50 +- gen/keep1/src/api.rs | 24 +- gen/keep1/src/lib.rs | 4 +- gen/language1-cli/Cargo.toml | 8 +- gen/language1-cli/README.md | 2 +- gen/language1-cli/mkdocs.yml | 2 +- gen/language1-cli/src/main.rs | 10 +- gen/language1/Cargo.toml | 8 +- gen/language1/README.md | 46 +- gen/language1/src/api.rs | 20 +- gen/language1/src/lib.rs | 4 +- gen/language1_beta1-cli/Cargo.toml | 8 +- gen/language1_beta1-cli/README.md | 2 +- gen/language1_beta1-cli/mkdocs.yml | 2 +- gen/language1_beta1-cli/src/main.rs | 10 +- gen/language1_beta1/Cargo.toml | 8 +- gen/language1_beta1/README.md | 46 +- gen/language1_beta1/src/api.rs | 16 +- gen/language1_beta1/src/lib.rs | 4 +- gen/libraryagent1-cli/Cargo.toml | 8 +- gen/libraryagent1-cli/README.md | 2 +- gen/libraryagent1-cli/mkdocs.yml | 2 +- gen/libraryagent1-cli/src/main.rs | 10 +- gen/libraryagent1/Cargo.toml | 8 +- gen/libraryagent1/README.md | 44 +- gen/libraryagent1/src/api.rs | 20 +- gen/libraryagent1/src/lib.rs | 4 +- gen/licensing1-cli/Cargo.toml | 8 +- gen/licensing1-cli/README.md | 2 +- gen/licensing1-cli/mkdocs.yml | 2 +- gen/licensing1-cli/src/main.rs | 10 +- gen/licensing1/Cargo.toml | 8 +- gen/licensing1/README.md | 46 +- gen/licensing1/src/api.rs | 22 +- gen/licensing1/src/lib.rs | 4 +- gen/lifesciences2_beta-cli/Cargo.toml | 8 +- gen/lifesciences2_beta-cli/README.md | 2 +- gen/lifesciences2_beta-cli/mkdocs.yml | 2 +- gen/lifesciences2_beta-cli/src/main.rs | 10 +- gen/lifesciences2_beta/Cargo.toml | 8 +- gen/lifesciences2_beta/README.md | 44 +- gen/lifesciences2_beta/src/api.rs | 20 +- gen/lifesciences2_beta/src/lib.rs | 4 +- gen/localservices1-cli/Cargo.toml | 8 +- gen/localservices1-cli/README.md | 2 +- gen/localservices1-cli/mkdocs.yml | 2 +- gen/localservices1-cli/src/main.rs | 10 +- gen/localservices1/Cargo.toml | 8 +- gen/localservices1/README.md | 46 +- gen/localservices1/src/api.rs | 14 +- gen/localservices1/src/lib.rs | 4 +- gen/logging2-cli/Cargo.toml | 8 +- gen/logging2-cli/README.md | 2 +- gen/logging2-cli/mkdocs.yml | 2 +- gen/logging2-cli/src/main.rs | 10 +- gen/logging2/Cargo.toml | 8 +- gen/logging2/README.md | 74 +- gen/logging2/src/api.rs | 366 ++--- gen/logging2/src/lib.rs | 4 +- gen/logging2_beta1-cli/Cargo.toml | 8 +- gen/logging2_beta1-cli/README.md | 2 +- gen/logging2_beta1-cli/mkdocs.yml | 2 +- gen/logging2_beta1-cli/src/main.rs | 10 +- gen/logging2_beta1/Cargo.toml | 8 +- gen/logging2_beta1/README.md | 50 +- gen/logging2_beta1/src/api.rs | 38 +- gen/logging2_beta1/src/lib.rs | 4 +- gen/managedidentities1-cli/Cargo.toml | 8 +- gen/managedidentities1-cli/README.md | 2 +- gen/managedidentities1-cli/mkdocs.yml | 2 +- gen/managedidentities1-cli/src/main.rs | 10 +- gen/managedidentities1/Cargo.toml | 8 +- gen/managedidentities1/README.md | 44 +- gen/managedidentities1/src/api.rs | 88 +- gen/managedidentities1/src/lib.rs | 4 +- gen/manager1_beta2-cli/Cargo.toml | 8 +- gen/manager1_beta2-cli/README.md | 2 +- gen/manager1_beta2-cli/mkdocs.yml | 2 +- gen/manager1_beta2-cli/src/main.rs | 10 +- gen/manager1_beta2/Cargo.toml | 8 +- gen/manager1_beta2/README.md | 50 +- gen/manager1_beta2/src/api.rs | 26 +- gen/manager1_beta2/src/lib.rs | 4 +- gen/manufacturers1-cli/Cargo.toml | 8 +- gen/manufacturers1-cli/README.md | 2 +- gen/manufacturers1-cli/mkdocs.yml | 2 +- gen/manufacturers1-cli/src/main.rs | 10 +- gen/manufacturers1/Cargo.toml | 8 +- gen/manufacturers1/README.md | 44 +- gen/manufacturers1/src/api.rs | 16 +- gen/manufacturers1/src/lib.rs | 4 +- gen/memcache1-cli/Cargo.toml | 8 +- gen/memcache1-cli/README.md | 2 +- gen/memcache1-cli/mkdocs.yml | 2 +- gen/memcache1-cli/src/main.rs | 10 +- gen/memcache1/Cargo.toml | 8 +- gen/memcache1/README.md | 44 +- gen/memcache1/src/api.rs | 34 +- gen/memcache1/src/lib.rs | 4 +- gen/memcache1_beta2-cli/Cargo.toml | 8 +- gen/memcache1_beta2-cli/README.md | 2 +- gen/memcache1_beta2-cli/mkdocs.yml | 2 +- gen/memcache1_beta2-cli/src/main.rs | 10 +- gen/memcache1_beta2/Cargo.toml | 8 +- gen/memcache1_beta2/README.md | 44 +- gen/memcache1_beta2/src/api.rs | 36 +- gen/memcache1_beta2/src/lib.rs | 4 +- gen/metastore1_beta-cli/Cargo.toml | 8 +- gen/metastore1_beta-cli/README.md | 2 +- gen/metastore1_beta-cli/mkdocs.yml | 2 +- gen/metastore1_beta-cli/src/main.rs | 10 +- gen/metastore1_beta/Cargo.toml | 8 +- gen/metastore1_beta/README.md | 44 +- gen/metastore1_beta/src/api.rs | 74 +- gen/metastore1_beta/src/lib.rs | 4 +- gen/mirror1-cli/Cargo.toml | 8 +- gen/mirror1-cli/README.md | 2 +- gen/mirror1-cli/mkdocs.yml | 2 +- gen/mirror1-cli/src/main.rs | 10 +- gen/mirror1/Cargo.toml | 8 +- gen/mirror1/README.md | 72 +- gen/mirror1/src/api.rs | 66 +- gen/mirror1/src/lib.rs | 4 +- gen/ml1-cli/Cargo.toml | 8 +- gen/ml1-cli/README.md | 2 +- gen/ml1-cli/mkdocs.yml | 2 +- gen/ml1-cli/src/main.rs | 10 +- gen/ml1/Cargo.toml | 8 +- gen/ml1/README.md | 44 +- gen/ml1/src/api.rs | 100 +- gen/ml1/src/lib.rs | 4 +- gen/monitoring3-cli/Cargo.toml | 8 +- gen/monitoring3-cli/README.md | 2 +- gen/monitoring3-cli/mkdocs.yml | 2 +- gen/monitoring3-cli/src/main.rs | 10 +- gen/monitoring3/Cargo.toml | 8 +- gen/monitoring3/README.md | 56 +- gen/monitoring3/src/api.rs | 116 +- gen/monitoring3/src/lib.rs | 4 +- gen/mybusiness4-cli/Cargo.toml | 8 +- gen/mybusiness4-cli/README.md | 2 +- gen/mybusiness4-cli/mkdocs.yml | 2 +- gen/mybusiness4-cli/src/main.rs | 10 +- gen/mybusiness4/Cargo.toml | 8 +- gen/mybusiness4/README.md | 66 +- gen/mybusiness4/src/api.rs | 158 +- gen/mybusiness4/src/lib.rs | 4 +- .../Cargo.toml | 8 +- .../README.md | 2 +- .../mkdocs.yml | 2 +- .../src/main.rs | 10 +- gen/mybusinessaccountmanagement1/Cargo.toml | 8 +- gen/mybusinessaccountmanagement1/README.md | 48 +- gen/mybusinessaccountmanagement1/src/api.rs | 42 +- gen/mybusinessaccountmanagement1/src/lib.rs | 4 +- gen/mybusinessbusinesscalls1-cli/Cargo.toml | 8 +- gen/mybusinessbusinesscalls1-cli/README.md | 2 +- gen/mybusinessbusinesscalls1-cli/mkdocs.yml | 2 +- gen/mybusinessbusinesscalls1-cli/src/main.rs | 10 +- gen/mybusinessbusinesscalls1/Cargo.toml | 8 +- gen/mybusinessbusinesscalls1/README.md | 44 +- gen/mybusinessbusinesscalls1/src/api.rs | 14 +- gen/mybusinessbusinesscalls1/src/lib.rs | 4 +- .../Cargo.toml | 8 +- .../README.md | 2 +- .../mkdocs.yml | 2 +- .../src/main.rs | 10 +- gen/mybusinessbusinessinformation1/Cargo.toml | 8 +- gen/mybusinessbusinessinformation1/README.md | 64 +- gen/mybusinessbusinessinformation1/src/api.rs | 52 +- gen/mybusinessbusinessinformation1/src/lib.rs | 4 +- gen/mybusinesslodging1-cli/Cargo.toml | 8 +- gen/mybusinesslodging1-cli/README.md | 2 +- gen/mybusinesslodging1-cli/mkdocs.yml | 2 +- gen/mybusinesslodging1-cli/src/main.rs | 10 +- gen/mybusinesslodging1/Cargo.toml | 8 +- gen/mybusinesslodging1/README.md | 44 +- gen/mybusinesslodging1/src/api.rs | 14 +- gen/mybusinesslodging1/src/lib.rs | 4 +- gen/mybusinessnotifications1-cli/Cargo.toml | 8 +- gen/mybusinessnotifications1-cli/README.md | 2 +- gen/mybusinessnotifications1-cli/mkdocs.yml | 2 +- gen/mybusinessnotifications1-cli/src/main.rs | 10 +- gen/mybusinessnotifications1/Cargo.toml | 8 +- gen/mybusinessnotifications1/README.md | 44 +- gen/mybusinessnotifications1/src/api.rs | 12 +- gen/mybusinessnotifications1/src/lib.rs | 4 +- gen/mybusinessplaceactions1-cli/Cargo.toml | 8 +- gen/mybusinessplaceactions1-cli/README.md | 2 +- gen/mybusinessplaceactions1-cli/mkdocs.yml | 2 +- gen/mybusinessplaceactions1-cli/src/main.rs | 10 +- gen/mybusinessplaceactions1/Cargo.toml | 8 +- gen/mybusinessplaceactions1/README.md | 48 +- gen/mybusinessplaceactions1/src/api.rs | 22 +- gen/mybusinessplaceactions1/src/lib.rs | 4 +- gen/mybusinessverifications1-cli/Cargo.toml | 8 +- gen/mybusinessverifications1-cli/README.md | 2 +- gen/mybusinessverifications1-cli/mkdocs.yml | 2 +- gen/mybusinessverifications1-cli/src/main.rs | 10 +- gen/mybusinessverifications1/Cargo.toml | 8 +- gen/mybusinessverifications1/README.md | 50 +- gen/mybusinessverifications1/src/api.rs | 22 +- gen/mybusinessverifications1/src/lib.rs | 4 +- gen/networkconnectivity1-cli/Cargo.toml | 8 +- gen/networkconnectivity1-cli/README.md | 2 +- gen/networkconnectivity1-cli/mkdocs.yml | 2 +- gen/networkconnectivity1-cli/src/main.rs | 10 +- gen/networkconnectivity1/Cargo.toml | 8 +- gen/networkconnectivity1/README.md | 44 +- gen/networkconnectivity1/src/api.rs | 58 +- gen/networkconnectivity1/src/lib.rs | 4 +- .../Cargo.toml | 8 +- gen/networkconnectivity1_alpha1-cli/README.md | 2 +- .../mkdocs.yml | 2 +- .../src/main.rs | 10 +- gen/networkconnectivity1_alpha1/Cargo.toml | 8 +- gen/networkconnectivity1_alpha1/README.md | 44 +- gen/networkconnectivity1_alpha1/src/api.rs | 58 +- gen/networkconnectivity1_alpha1/src/lib.rs | 4 +- gen/networkmanagement1-cli/Cargo.toml | 8 +- gen/networkmanagement1-cli/README.md | 2 +- gen/networkmanagement1-cli/mkdocs.yml | 2 +- gen/networkmanagement1-cli/src/main.rs | 10 +- gen/networkmanagement1/Cargo.toml | 8 +- gen/networkmanagement1/README.md | 44 +- gen/networkmanagement1/src/api.rs | 38 +- gen/networkmanagement1/src/lib.rs | 4 +- gen/networksecurity1-cli/Cargo.toml | 8 +- gen/networksecurity1-cli/README.md | 2 +- gen/networksecurity1-cli/mkdocs.yml | 2 +- gen/networksecurity1-cli/src/main.rs | 10 +- gen/networksecurity1/Cargo.toml | 8 +- gen/networksecurity1/README.md | 44 +- gen/networksecurity1/src/api.rs | 68 +- gen/networksecurity1/src/lib.rs | 4 +- gen/networkservices1-cli/Cargo.toml | 8 +- gen/networkservices1-cli/README.md | 2 +- gen/networkservices1-cli/mkdocs.yml | 2 +- gen/networkservices1-cli/src/main.rs | 10 +- gen/networkservices1/Cargo.toml | 8 +- gen/networkservices1/README.md | 44 +- gen/networkservices1/src/api.rs | 54 +- gen/networkservices1/src/lib.rs | 4 +- gen/notebooks1-cli/Cargo.toml | 8 +- gen/notebooks1-cli/README.md | 2 +- gen/notebooks1-cli/mkdocs.yml | 2 +- gen/notebooks1-cli/src/main.rs | 10 +- gen/notebooks1/Cargo.toml | 8 +- gen/notebooks1/README.md | 44 +- gen/notebooks1/src/api.rs | 116 +- gen/notebooks1/src/lib.rs | 4 +- gen/ondemandscanning1-cli/Cargo.toml | 8 +- gen/ondemandscanning1-cli/README.md | 2 +- gen/ondemandscanning1-cli/mkdocs.yml | 2 +- gen/ondemandscanning1-cli/src/main.rs | 10 +- gen/ondemandscanning1/Cargo.toml | 8 +- gen/ondemandscanning1/README.md | 44 +- gen/ondemandscanning1/src/api.rs | 22 +- gen/ondemandscanning1/src/lib.rs | 4 +- gen/orgpolicy2-cli/Cargo.toml | 8 +- gen/orgpolicy2-cli/README.md | 2 +- gen/orgpolicy2-cli/mkdocs.yml | 2 +- gen/orgpolicy2-cli/src/main.rs | 10 +- gen/orgpolicy2/Cargo.toml | 8 +- gen/orgpolicy2/README.md | 48 +- gen/orgpolicy2/src/api.rs | 54 +- gen/orgpolicy2/src/lib.rs | 4 +- gen/oslogin1-cli/Cargo.toml | 8 +- gen/oslogin1-cli/README.md | 2 +- gen/oslogin1-cli/mkdocs.yml | 2 +- gen/oslogin1-cli/src/main.rs | 10 +- gen/oslogin1/Cargo.toml | 8 +- gen/oslogin1/README.md | 44 +- gen/oslogin1/src/api.rs | 22 +- gen/oslogin1/src/lib.rs | 4 +- gen/oslogin1_beta-cli/Cargo.toml | 8 +- gen/oslogin1_beta-cli/README.md | 2 +- gen/oslogin1_beta-cli/mkdocs.yml | 2 +- gen/oslogin1_beta-cli/src/main.rs | 10 +- gen/oslogin1_beta/Cargo.toml | 8 +- gen/oslogin1_beta/README.md | 44 +- gen/oslogin1_beta/src/api.rs | 22 +- gen/oslogin1_beta/src/lib.rs | 4 +- gen/pagespeedonline2-cli/Cargo.toml | 8 +- gen/pagespeedonline2-cli/README.md | 2 +- gen/pagespeedonline2-cli/mkdocs.yml | 2 +- gen/pagespeedonline2-cli/src/main.rs | 10 +- gen/pagespeedonline2/Cargo.toml | 8 +- gen/pagespeedonline2/README.md | 44 +- gen/pagespeedonline2/src/api.rs | 10 +- gen/pagespeedonline2/src/lib.rs | 4 +- gen/pagespeedonline4-cli/Cargo.toml | 8 +- gen/pagespeedonline4-cli/README.md | 2 +- gen/pagespeedonline4-cli/mkdocs.yml | 2 +- gen/pagespeedonline4-cli/src/main.rs | 10 +- gen/pagespeedonline4/Cargo.toml | 8 +- gen/pagespeedonline4/README.md | 44 +- gen/pagespeedonline4/src/api.rs | 10 +- gen/pagespeedonline4/src/lib.rs | 4 +- gen/pagespeedonline5-cli/Cargo.toml | 8 +- gen/pagespeedonline5-cli/README.md | 2 +- gen/pagespeedonline5-cli/mkdocs.yml | 2 +- gen/pagespeedonline5-cli/src/main.rs | 10 +- gen/pagespeedonline5/Cargo.toml | 8 +- gen/pagespeedonline5/README.md | 44 +- gen/pagespeedonline5/src/api.rs | 10 +- gen/pagespeedonline5/src/lib.rs | 4 +- gen/partners2-cli/Cargo.toml | 8 +- gen/partners2-cli/README.md | 2 +- gen/partners2-cli/mkdocs.yml | 2 +- gen/partners2-cli/src/main.rs | 10 +- gen/partners2/Cargo.toml | 8 +- gen/partners2/README.md | 70 +- gen/partners2/src/api.rs | 58 +- gen/partners2/src/lib.rs | 4 +- .../Cargo.toml | 8 +- .../README.md | 2 +- .../mkdocs.yml | 2 +- .../src/main.rs | 10 +- gen/paymentsresellersubscription1/Cargo.toml | 8 +- gen/paymentsresellersubscription1/README.md | 44 +- gen/paymentsresellersubscription1/src/api.rs | 26 +- gen/paymentsresellersubscription1/src/lib.rs | 4 +- gen/people1-cli/Cargo.toml | 8 +- gen/people1-cli/README.md | 2 +- gen/people1-cli/mkdocs.yml | 2 +- gen/people1-cli/src/main.rs | 10 +- gen/people1/Cargo.toml | 8 +- gen/people1/README.md | 50 +- gen/people1/src/api.rs | 60 +- gen/people1/src/lib.rs | 4 +- gen/photoslibrary1-cli/Cargo.toml | 8 +- gen/photoslibrary1-cli/README.md | 2 +- gen/photoslibrary1-cli/mkdocs.yml | 2 +- gen/photoslibrary1-cli/src/main.rs | 10 +- gen/photoslibrary1/Cargo.toml | 8 +- gen/photoslibrary1/README.md | 52 +- gen/photoslibrary1/src/api.rs | 50 +- gen/photoslibrary1/src/lib.rs | 4 +- gen/playablelocations3-cli/Cargo.toml | 8 +- gen/playablelocations3-cli/README.md | 2 +- gen/playablelocations3-cli/mkdocs.yml | 2 +- gen/playablelocations3-cli/src/main.rs | 10 +- gen/playablelocations3/Cargo.toml | 8 +- gen/playablelocations3/README.md | 48 +- gen/playablelocations3/src/api.rs | 14 +- gen/playablelocations3/src/lib.rs | 4 +- gen/playcustomapp1-cli/Cargo.toml | 8 +- gen/playcustomapp1-cli/README.md | 2 +- gen/playcustomapp1-cli/mkdocs.yml | 2 +- gen/playcustomapp1-cli/src/main.rs | 10 +- gen/playcustomapp1/Cargo.toml | 8 +- gen/playcustomapp1/README.md | 46 +- gen/playcustomapp1/src/api.rs | 10 +- gen/playcustomapp1/src/lib.rs | 4 +- gen/playintegrity1-cli/Cargo.toml | 8 +- gen/playintegrity1-cli/README.md | 2 +- gen/playintegrity1-cli/mkdocs.yml | 2 +- gen/playintegrity1-cli/src/main.rs | 10 +- gen/playintegrity1/Cargo.toml | 8 +- gen/playintegrity1/README.md | 44 +- gen/playintegrity1/src/api.rs | 10 +- gen/playintegrity1/src/lib.rs | 4 +- gen/playmoviespartner1-cli/Cargo.toml | 8 +- gen/playmoviespartner1-cli/README.md | 2 +- gen/playmoviespartner1-cli/mkdocs.yml | 2 +- gen/playmoviespartner1-cli/src/main.rs | 10 +- gen/playmoviespartner1/Cargo.toml | 8 +- gen/playmoviespartner1/README.md | 44 +- gen/playmoviespartner1/src/api.rs | 20 +- gen/playmoviespartner1/src/lib.rs | 4 +- gen/plus1-cli/Cargo.toml | 8 +- gen/plus1-cli/README.md | 2 +- gen/plus1-cli/mkdocs.yml | 2 +- gen/plus1-cli/src/main.rs | 10 +- gen/plus1/Cargo.toml | 8 +- gen/plus1/README.md | 52 +- gen/plus1/src/api.rs | 30 +- gen/plus1/src/lib.rs | 4 +- gen/plusdomains1-cli/Cargo.toml | 8 +- gen/plusdomains1-cli/README.md | 2 +- gen/plusdomains1-cli/mkdocs.yml | 2 +- gen/plusdomains1-cli/src/main.rs | 10 +- gen/plusdomains1/Cargo.toml | 8 +- gen/plusdomains1/README.md | 66 +- gen/plusdomains1/src/api.rs | 38 +- gen/plusdomains1/src/lib.rs | 4 +- gen/policyanalyzer1-cli/Cargo.toml | 8 +- gen/policyanalyzer1-cli/README.md | 2 +- gen/policyanalyzer1-cli/mkdocs.yml | 2 +- gen/policyanalyzer1-cli/src/main.rs | 10 +- gen/policyanalyzer1/Cargo.toml | 8 +- gen/policyanalyzer1/README.md | 44 +- gen/policyanalyzer1/src/api.rs | 10 +- gen/policyanalyzer1/src/lib.rs | 4 +- gen/policysimulator1-cli/Cargo.toml | 8 +- gen/policysimulator1-cli/README.md | 2 +- gen/policysimulator1-cli/mkdocs.yml | 2 +- gen/policysimulator1-cli/src/main.rs | 10 +- gen/policysimulator1/Cargo.toml | 8 +- gen/policysimulator1/README.md | 50 +- gen/policysimulator1/src/api.rs | 36 +- gen/policysimulator1/src/lib.rs | 4 +- gen/policytroubleshooter1-cli/Cargo.toml | 8 +- gen/policytroubleshooter1-cli/README.md | 2 +- gen/policytroubleshooter1-cli/mkdocs.yml | 2 +- gen/policytroubleshooter1-cli/src/main.rs | 10 +- gen/policytroubleshooter1/Cargo.toml | 8 +- gen/policytroubleshooter1/README.md | 44 +- gen/policytroubleshooter1/src/api.rs | 10 +- gen/policytroubleshooter1/src/lib.rs | 4 +- gen/prediction1d6-cli/Cargo.toml | 8 +- gen/prediction1d6-cli/README.md | 2 +- gen/prediction1d6-cli/mkdocs.yml | 2 +- gen/prediction1d6-cli/src/main.rs | 10 +- gen/prediction1d6/Cargo.toml | 8 +- gen/prediction1d6/README.md | 46 +- gen/prediction1d6/src/api.rs | 26 +- gen/prediction1d6/src/lib.rs | 4 +- gen/privateca1-cli/Cargo.toml | 8 +- gen/privateca1-cli/README.md | 2 +- gen/privateca1-cli/mkdocs.yml | 2 +- gen/privateca1-cli/src/main.rs | 10 +- gen/privateca1/Cargo.toml | 8 +- gen/privateca1/README.md | 44 +- gen/privateca1/src/api.rs | 96 +- gen/privateca1/src/lib.rs | 4 +- gen/privateca1_beta1-cli/Cargo.toml | 8 +- gen/privateca1_beta1-cli/README.md | 2 +- gen/privateca1_beta1-cli/mkdocs.yml | 2 +- gen/privateca1_beta1-cli/src/main.rs | 10 +- gen/privateca1_beta1/Cargo.toml | 8 +- gen/privateca1_beta1/README.md | 44 +- gen/privateca1_beta1/src/api.rs | 78 +- gen/privateca1_beta1/src/lib.rs | 4 +- gen/prod_tt_sasportal1_alpha1-cli/Cargo.toml | 8 +- gen/prod_tt_sasportal1_alpha1-cli/README.md | 2 +- gen/prod_tt_sasportal1_alpha1-cli/mkdocs.yml | 2 +- gen/prod_tt_sasportal1_alpha1-cli/src/main.rs | 10 +- gen/prod_tt_sasportal1_alpha1/Cargo.toml | 8 +- gen/prod_tt_sasportal1_alpha1/README.md | 52 +- gen/prod_tt_sasportal1_alpha1/src/api.rs | 170 +- gen/prod_tt_sasportal1_alpha1/src/lib.rs | 4 +- gen/proximitybeacon1_beta1-cli/Cargo.toml | 8 +- gen/proximitybeacon1_beta1-cli/README.md | 2 +- gen/proximitybeacon1_beta1-cli/mkdocs.yml | 2 +- gen/proximitybeacon1_beta1-cli/src/main.rs | 10 +- gen/proximitybeacon1_beta1/Cargo.toml | 8 +- gen/proximitybeacon1_beta1/README.md | 54 +- gen/proximitybeacon1_beta1/src/api.rs | 48 +- gen/proximitybeacon1_beta1/src/lib.rs | 4 +- gen/pubsub1-cli/Cargo.toml | 8 +- gen/pubsub1-cli/README.md | 2 +- gen/pubsub1-cli/mkdocs.yml | 2 +- gen/pubsub1-cli/src/main.rs | 10 +- gen/pubsub1/Cargo.toml | 8 +- gen/pubsub1/README.md | 44 +- gen/pubsub1/src/api.rs | 92 +- gen/pubsub1/src/lib.rs | 4 +- gen/pubsub1_beta2-cli/Cargo.toml | 8 +- gen/pubsub1_beta2-cli/README.md | 2 +- gen/pubsub1_beta2-cli/mkdocs.yml | 2 +- gen/pubsub1_beta2-cli/src/main.rs | 10 +- gen/pubsub1_beta2/Cargo.toml | 8 +- gen/pubsub1_beta2/README.md | 44 +- gen/pubsub1_beta2/src/api.rs | 48 +- gen/pubsub1_beta2/src/lib.rs | 4 +- gen/pubsublite1-cli/Cargo.toml | 8 +- gen/pubsublite1-cli/README.md | 2 +- gen/pubsublite1-cli/mkdocs.yml | 2 +- gen/pubsublite1-cli/src/main.rs | 10 +- gen/pubsublite1/Cargo.toml | 8 +- gen/pubsublite1/README.md | 50 +- gen/pubsublite1/src/api.rs | 68 +- gen/pubsublite1/src/lib.rs | 4 +- gen/qpxexpress1-cli/Cargo.toml | 8 +- gen/qpxexpress1-cli/README.md | 2 +- gen/qpxexpress1-cli/mkdocs.yml | 2 +- gen/qpxexpress1-cli/src/main.rs | 10 +- gen/qpxexpress1/Cargo.toml | 8 +- gen/qpxexpress1/README.md | 44 +- gen/qpxexpress1/src/api.rs | 10 +- gen/qpxexpress1/src/lib.rs | 4 +- gen/realtimebidding1-cli/Cargo.toml | 8 +- gen/realtimebidding1-cli/README.md | 2 +- gen/realtimebidding1-cli/mkdocs.yml | 2 +- gen/realtimebidding1-cli/src/main.rs | 10 +- gen/realtimebidding1/Cargo.toml | 8 +- gen/realtimebidding1/README.md | 50 +- gen/realtimebidding1/src/api.rs | 78 +- gen/realtimebidding1/src/lib.rs | 4 +- gen/recaptchaenterprise1-cli/Cargo.toml | 8 +- gen/recaptchaenterprise1-cli/README.md | 2 +- gen/recaptchaenterprise1-cli/mkdocs.yml | 2 +- gen/recaptchaenterprise1-cli/src/main.rs | 10 +- gen/recaptchaenterprise1/Cargo.toml | 8 +- gen/recaptchaenterprise1/README.md | 44 +- gen/recaptchaenterprise1/src/api.rs | 32 +- gen/recaptchaenterprise1/src/lib.rs | 4 +- .../Cargo.toml | 8 +- gen/recommendationengine1_beta1-cli/README.md | 2 +- .../mkdocs.yml | 2 +- .../src/main.rs | 10 +- gen/recommendationengine1_beta1/Cargo.toml | 8 +- gen/recommendationengine1_beta1/README.md | 44 +- gen/recommendationengine1_beta1/src/api.rs | 52 +- gen/recommendationengine1_beta1/src/lib.rs | 4 +- gen/recommender1-cli/Cargo.toml | 8 +- gen/recommender1-cli/README.md | 2 +- gen/recommender1-cli/mkdocs.yml | 2 +- gen/recommender1-cli/src/main.rs | 10 +- gen/recommender1/Cargo.toml | 8 +- gen/recommender1/README.md | 50 +- gen/recommender1/src/api.rs | 78 +- gen/recommender1/src/lib.rs | 4 +- gen/recommender1_beta1-cli/Cargo.toml | 8 +- gen/recommender1_beta1-cli/README.md | 2 +- gen/recommender1_beta1-cli/mkdocs.yml | 2 +- gen/recommender1_beta1-cli/src/main.rs | 10 +- gen/recommender1_beta1/Cargo.toml | 8 +- gen/recommender1_beta1/README.md | 50 +- gen/recommender1_beta1/src/api.rs | 94 +- gen/recommender1_beta1/src/lib.rs | 4 +- gen/redis1-cli/Cargo.toml | 8 +- gen/redis1-cli/README.md | 2 +- gen/redis1-cli/mkdocs.yml | 2 +- gen/redis1-cli/src/main.rs | 10 +- gen/redis1/Cargo.toml | 8 +- gen/redis1/README.md | 44 +- gen/redis1/src/api.rs | 42 +- gen/redis1/src/lib.rs | 4 +- gen/remotebuildexecution2-cli/Cargo.toml | 8 +- gen/remotebuildexecution2-cli/README.md | 2 +- gen/remotebuildexecution2-cli/mkdocs.yml | 2 +- gen/remotebuildexecution2-cli/src/main.rs | 10 +- gen/remotebuildexecution2/Cargo.toml | 8 +- gen/remotebuildexecution2/README.md | 52 +- gen/remotebuildexecution2/src/api.rs | 34 +- gen/remotebuildexecution2/src/lib.rs | 4 +- gen/replicapool1_beta2-cli/Cargo.toml | 8 +- gen/replicapool1_beta2-cli/README.md | 2 +- gen/replicapool1_beta2-cli/mkdocs.yml | 2 +- gen/replicapool1_beta2-cli/src/main.rs | 10 +- gen/replicapool1_beta2/Cargo.toml | 8 +- gen/replicapool1_beta2/README.md | 48 +- gen/replicapool1_beta2/src/api.rs | 34 +- gen/replicapool1_beta2/src/lib.rs | 4 +- gen/replicapoolupdater1_beta1-cli/Cargo.toml | 8 +- gen/replicapoolupdater1_beta1-cli/README.md | 2 +- gen/replicapoolupdater1_beta1-cli/mkdocs.yml | 2 +- gen/replicapoolupdater1_beta1-cli/src/main.rs | 10 +- gen/replicapoolupdater1_beta1/Cargo.toml | 8 +- gen/replicapoolupdater1_beta1/README.md | 48 +- gen/replicapoolupdater1_beta1/src/api.rs | 30 +- gen/replicapoolupdater1_beta1/src/lib.rs | 4 +- gen/reseller1_sandbox-cli/Cargo.toml | 8 +- gen/reseller1_sandbox-cli/README.md | 2 +- gen/reseller1_sandbox-cli/mkdocs.yml | 2 +- gen/reseller1_sandbox-cli/src/main.rs | 10 +- gen/reseller1_sandbox/Cargo.toml | 8 +- gen/reseller1_sandbox/README.md | 50 +- gen/reseller1_sandbox/src/api.rs | 38 +- gen/reseller1_sandbox/src/lib.rs | 4 +- gen/resourcesettings1-cli/Cargo.toml | 8 +- gen/resourcesettings1-cli/README.md | 2 +- gen/resourcesettings1-cli/mkdocs.yml | 2 +- gen/resourcesettings1-cli/src/main.rs | 10 +- gen/resourcesettings1/Cargo.toml | 8 +- gen/resourcesettings1/README.md | 48 +- gen/resourcesettings1/src/api.rs | 30 +- gen/resourcesettings1/src/lib.rs | 4 +- gen/resourceviews1_beta2-cli/Cargo.toml | 8 +- gen/resourceviews1_beta2-cli/README.md | 2 +- gen/resourceviews1_beta2-cli/mkdocs.yml | 2 +- gen/resourceviews1_beta2-cli/src/main.rs | 10 +- gen/resourceviews1_beta2/Cargo.toml | 8 +- gen/resourceviews1_beta2/README.md | 46 +- gen/resourceviews1_beta2/src/api.rs | 32 +- gen/resourceviews1_beta2/src/lib.rs | 4 +- gen/retail2-cli/Cargo.toml | 8 +- gen/retail2-cli/README.md | 2 +- gen/retail2-cli/mkdocs.yml | 2 +- gen/retail2-cli/src/main.rs | 10 +- gen/retail2/Cargo.toml | 8 +- gen/retail2/README.md | 44 +- gen/retail2/src/api.rs | 66 +- gen/retail2/src/lib.rs | 4 +- gen/run1-cli/Cargo.toml | 8 +- gen/run1-cli/README.md | 2 +- gen/run1-cli/mkdocs.yml | 2 +- gen/run1-cli/src/main.rs | 10 +- gen/run1/Cargo.toml | 8 +- gen/run1/README.md | 46 +- gen/run1/src/api.rs | 116 +- gen/run1/src/lib.rs | 4 +- gen/run2-cli/Cargo.toml | 8 +- gen/run2-cli/README.md | 2 +- gen/run2-cli/mkdocs.yml | 2 +- gen/run2-cli/src/main.rs | 10 +- gen/run2/Cargo.toml | 8 +- gen/run2/README.md | 44 +- gen/run2/src/api.rs | 36 +- gen/run2/src/lib.rs | 4 +- gen/runtimeconfig1-cli/Cargo.toml | 8 +- gen/runtimeconfig1-cli/README.md | 2 +- gen/runtimeconfig1-cli/mkdocs.yml | 2 +- gen/runtimeconfig1-cli/src/main.rs | 10 +- gen/runtimeconfig1/Cargo.toml | 8 +- gen/runtimeconfig1/README.md | 46 +- gen/runtimeconfig1/src/api.rs | 14 +- gen/runtimeconfig1/src/lib.rs | 4 +- gen/runtimeconfig1_beta1-cli/Cargo.toml | 8 +- gen/runtimeconfig1_beta1-cli/README.md | 2 +- gen/runtimeconfig1_beta1-cli/mkdocs.yml | 2 +- gen/runtimeconfig1_beta1-cli/src/main.rs | 10 +- gen/runtimeconfig1_beta1/Cargo.toml | 8 +- gen/runtimeconfig1_beta1/README.md | 44 +- gen/runtimeconfig1_beta1/src/api.rs | 52 +- gen/runtimeconfig1_beta1/src/lib.rs | 4 +- gen/safebrowsing4-cli/Cargo.toml | 8 +- gen/safebrowsing4-cli/README.md | 2 +- gen/safebrowsing4-cli/mkdocs.yml | 2 +- gen/safebrowsing4-cli/src/main.rs | 10 +- gen/safebrowsing4/Cargo.toml | 8 +- gen/safebrowsing4/README.md | 56 +- gen/safebrowsing4/src/api.rs | 34 +- gen/safebrowsing4/src/lib.rs | 4 +- gen/sasportal1_alpha1-cli/Cargo.toml | 8 +- gen/sasportal1_alpha1-cli/README.md | 2 +- gen/sasportal1_alpha1-cli/mkdocs.yml | 2 +- gen/sasportal1_alpha1-cli/src/main.rs | 10 +- gen/sasportal1_alpha1/Cargo.toml | 8 +- gen/sasportal1_alpha1/README.md | 52 +- gen/sasportal1_alpha1/src/api.rs | 170 +- gen/sasportal1_alpha1/src/lib.rs | 4 +- gen/searchconsole1-cli/Cargo.toml | 8 +- gen/searchconsole1-cli/README.md | 2 +- gen/searchconsole1-cli/mkdocs.yml | 2 +- gen/searchconsole1-cli/src/main.rs | 10 +- gen/searchconsole1/Cargo.toml | 8 +- gen/searchconsole1/README.md | 52 +- gen/searchconsole1/src/api.rs | 38 +- gen/searchconsole1/src/lib.rs | 4 +- gen/secretmanager1-cli/Cargo.toml | 8 +- gen/secretmanager1-cli/README.md | 2 +- gen/secretmanager1-cli/mkdocs.yml | 2 +- gen/secretmanager1-cli/src/main.rs | 10 +- gen/secretmanager1/Cargo.toml | 8 +- gen/secretmanager1/README.md | 44 +- gen/secretmanager1/src/api.rs | 42 +- gen/secretmanager1/src/lib.rs | 4 +- gen/secretmanager1_beta1-cli/Cargo.toml | 8 +- gen/secretmanager1_beta1-cli/README.md | 2 +- gen/secretmanager1_beta1-cli/mkdocs.yml | 2 +- gen/secretmanager1_beta1-cli/src/main.rs | 10 +- gen/secretmanager1_beta1/Cargo.toml | 8 +- gen/secretmanager1_beta1/README.md | 44 +- gen/secretmanager1_beta1/src/api.rs | 42 +- gen/secretmanager1_beta1/src/lib.rs | 4 +- gen/securitycenter1-cli/Cargo.toml | 8 +- gen/securitycenter1-cli/README.md | 2 +- gen/securitycenter1-cli/mkdocs.yml | 2 +- gen/securitycenter1-cli/src/main.rs | 10 +- gen/securitycenter1/Cargo.toml | 8 +- gen/securitycenter1/README.md | 50 +- gen/securitycenter1/src/api.rs | 182 +- gen/securitycenter1/src/lib.rs | 4 +- gen/servicebroker1-cli/Cargo.toml | 8 +- gen/servicebroker1-cli/README.md | 2 +- gen/servicebroker1-cli/mkdocs.yml | 2 +- gen/servicebroker1-cli/src/main.rs | 10 +- gen/servicebroker1/Cargo.toml | 8 +- gen/servicebroker1/README.md | 48 +- gen/servicebroker1/src/api.rs | 14 +- gen/servicebroker1/src/lib.rs | 4 +- gen/servicecontrol1-cli/Cargo.toml | 8 +- gen/servicecontrol1-cli/README.md | 2 +- gen/servicecontrol1-cli/mkdocs.yml | 2 +- gen/servicecontrol1-cli/src/main.rs | 10 +- gen/servicecontrol1/Cargo.toml | 8 +- gen/servicecontrol1/README.md | 44 +- gen/servicecontrol1/src/api.rs | 14 +- gen/servicecontrol1/src/lib.rs | 4 +- gen/servicecontrol2-cli/Cargo.toml | 8 +- gen/servicecontrol2-cli/README.md | 2 +- gen/servicecontrol2-cli/mkdocs.yml | 2 +- gen/servicecontrol2-cli/src/main.rs | 10 +- gen/servicecontrol2/Cargo.toml | 8 +- gen/servicecontrol2/README.md | 44 +- gen/servicecontrol2/src/api.rs | 12 +- gen/servicecontrol2/src/lib.rs | 4 +- gen/servicedirectory1-cli/Cargo.toml | 8 +- gen/servicedirectory1-cli/README.md | 2 +- gen/servicedirectory1-cli/mkdocs.yml | 2 +- gen/servicedirectory1-cli/src/main.rs | 10 +- gen/servicedirectory1/Cargo.toml | 8 +- gen/servicedirectory1/README.md | 44 +- gen/servicedirectory1/src/api.rs | 56 +- gen/servicedirectory1/src/lib.rs | 4 +- gen/servicedirectory1_beta1-cli/Cargo.toml | 8 +- gen/servicedirectory1_beta1-cli/README.md | 2 +- gen/servicedirectory1_beta1-cli/mkdocs.yml | 2 +- gen/servicedirectory1_beta1-cli/src/main.rs | 10 +- gen/servicedirectory1_beta1/Cargo.toml | 8 +- gen/servicedirectory1_beta1/README.md | 44 +- gen/servicedirectory1_beta1/src/api.rs | 56 +- gen/servicedirectory1_beta1/src/lib.rs | 4 +- gen/serviceregistryalpha-cli/Cargo.toml | 8 +- gen/serviceregistryalpha-cli/README.md | 2 +- gen/serviceregistryalpha-cli/mkdocs.yml | 2 +- gen/serviceregistryalpha-cli/src/main.rs | 10 +- gen/serviceregistryalpha/Cargo.toml | 8 +- gen/serviceregistryalpha/README.md | 50 +- gen/serviceregistryalpha/src/api.rs | 26 +- gen/serviceregistryalpha/src/lib.rs | 4 +- gen/siteverification1-cli/Cargo.toml | 8 +- gen/siteverification1-cli/README.md | 2 +- gen/siteverification1-cli/mkdocs.yml | 2 +- gen/siteverification1-cli/src/main.rs | 10 +- gen/siteverification1/Cargo.toml | 8 +- gen/siteverification1/README.md | 44 +- gen/siteverification1/src/api.rs | 22 +- gen/siteverification1/src/lib.rs | 4 +- gen/smartdevicemanagement1-cli/Cargo.toml | 8 +- gen/smartdevicemanagement1-cli/README.md | 2 +- gen/smartdevicemanagement1-cli/mkdocs.yml | 2 +- gen/smartdevicemanagement1-cli/src/main.rs | 10 +- gen/smartdevicemanagement1/Cargo.toml | 8 +- gen/smartdevicemanagement1/README.md | 44 +- gen/smartdevicemanagement1/src/api.rs | 22 +- gen/smartdevicemanagement1/src/lib.rs | 4 +- gen/sourcerepo1-cli/Cargo.toml | 8 +- gen/sourcerepo1-cli/README.md | 2 +- gen/sourcerepo1-cli/mkdocs.yml | 2 +- gen/sourcerepo1-cli/src/main.rs | 10 +- gen/sourcerepo1/Cargo.toml | 8 +- gen/sourcerepo1/README.md | 44 +- gen/sourcerepo1/src/api.rs | 30 +- gen/sourcerepo1/src/lib.rs | 4 +- gen/spectrum1_explorer-cli/Cargo.toml | 8 +- gen/spectrum1_explorer-cli/README.md | 2 +- gen/spectrum1_explorer-cli/mkdocs.yml | 2 +- gen/spectrum1_explorer-cli/src/main.rs | 10 +- gen/spectrum1_explorer/Cargo.toml | 8 +- gen/spectrum1_explorer/README.md | 44 +- gen/spectrum1_explorer/src/api.rs | 20 +- gen/spectrum1_explorer/src/lib.rs | 4 +- gen/speech1-cli/Cargo.toml | 8 +- gen/speech1-cli/README.md | 2 +- gen/speech1-cli/mkdocs.yml | 2 +- gen/speech1-cli/src/main.rs | 10 +- gen/speech1/Cargo.toml | 8 +- gen/speech1/README.md | 50 +- gen/speech1/src/api.rs | 40 +- gen/speech1/src/lib.rs | 4 +- gen/speech1_beta1-cli/Cargo.toml | 8 +- gen/speech1_beta1-cli/README.md | 2 +- gen/speech1_beta1-cli/mkdocs.yml | 2 +- gen/speech1_beta1-cli/src/main.rs | 10 +- gen/speech1_beta1/Cargo.toml | 8 +- gen/speech1_beta1/README.md | 48 +- gen/speech1_beta1/src/api.rs | 18 +- gen/speech1_beta1/src/lib.rs | 4 +- gen/sql1_beta4-cli/Cargo.toml | 8 +- gen/sql1_beta4-cli/README.md | 2 +- gen/sql1_beta4-cli/mkdocs.yml | 2 +- gen/sql1_beta4-cli/src/main.rs | 10 +- gen/sql1_beta4/Cargo.toml | 8 +- gen/sql1_beta4/README.md | 74 +- gen/sql1_beta4/src/api.rs | 118 +- gen/sql1_beta4/src/lib.rs | 4 +- gen/sqladmin1-cli/Cargo.toml | 8 +- gen/sqladmin1-cli/README.md | 2 +- gen/sqladmin1-cli/mkdocs.yml | 2 +- gen/sqladmin1-cli/src/main.rs | 10 +- gen/sqladmin1/Cargo.toml | 8 +- gen/sqladmin1/README.md | 76 +- gen/sqladmin1/src/api.rs | 124 +- gen/sqladmin1/src/lib.rs | 4 +- gen/sqladmin1_beta4-cli/Cargo.toml | 8 +- gen/sqladmin1_beta4-cli/README.md | 2 +- gen/sqladmin1_beta4-cli/mkdocs.yml | 2 +- gen/sqladmin1_beta4-cli/src/main.rs | 10 +- gen/sqladmin1_beta4/Cargo.toml | 8 +- gen/sqladmin1_beta4/README.md | 76 +- gen/sqladmin1_beta4/src/api.rs | 124 +- gen/sqladmin1_beta4/src/lib.rs | 4 +- gen/storage1-cli/Cargo.toml | 8 +- gen/storage1-cli/README.md | 2 +- gen/storage1-cli/mkdocs.yml | 2 +- gen/storage1-cli/src/main.rs | 10 +- gen/storage1/Cargo.toml | 8 +- gen/storage1/README.md | 78 +- gen/storage1/src/api.rs | 126 +- gen/storage1/src/lib.rs | 4 +- gen/storagetransfer1-cli/Cargo.toml | 8 +- gen/storagetransfer1-cli/README.md | 2 +- gen/storagetransfer1-cli/mkdocs.yml | 2 +- gen/storagetransfer1-cli/src/main.rs | 10 +- gen/storagetransfer1/Cargo.toml | 8 +- gen/storagetransfer1/README.md | 56 +- gen/storagetransfer1/src/api.rs | 46 +- gen/storagetransfer1/src/lib.rs | 4 +- gen/sts1-cli/Cargo.toml | 8 +- gen/sts1-cli/README.md | 2 +- gen/sts1-cli/mkdocs.yml | 2 +- gen/sts1-cli/src/main.rs | 10 +- gen/sts1/Cargo.toml | 8 +- gen/sts1/README.md | 46 +- gen/sts1/src/api.rs | 12 +- gen/sts1/src/lib.rs | 4 +- gen/surveys2-cli/Cargo.toml | 8 +- gen/surveys2-cli/README.md | 2 +- gen/surveys2-cli/mkdocs.yml | 2 +- gen/surveys2-cli/src/main.rs | 10 +- gen/surveys2/Cargo.toml | 8 +- gen/surveys2/README.md | 50 +- gen/surveys2/src/api.rs | 26 +- gen/surveys2/src/lib.rs | 4 +- gen/tagmanager1-cli/Cargo.toml | 8 +- gen/tagmanager1-cli/README.md | 2 +- gen/tagmanager1-cli/mkdocs.yml | 2 +- gen/tagmanager1-cli/src/main.rs | 10 +- gen/tagmanager1/Cargo.toml | 8 +- gen/tagmanager1/README.md | 46 +- gen/tagmanager1/src/api.rs | 106 +- gen/tagmanager1/src/lib.rs | 4 +- gen/tagmanager2-cli/Cargo.toml | 8 +- gen/tagmanager2-cli/README.md | 2 +- gen/tagmanager2-cli/mkdocs.yml | 2 +- gen/tagmanager2-cli/src/main.rs | 10 +- gen/tagmanager2/Cargo.toml | 8 +- gen/tagmanager2/README.md | 46 +- gen/tagmanager2/src/api.rs | 180 +- gen/tagmanager2/src/lib.rs | 4 +- gen/taskqueue1_beta2-cli/Cargo.toml | 8 +- gen/taskqueue1_beta2-cli/README.md | 2 +- gen/taskqueue1_beta2-cli/mkdocs.yml | 2 +- gen/taskqueue1_beta2-cli/src/main.rs | 10 +- gen/taskqueue1_beta2/Cargo.toml | 8 +- gen/taskqueue1_beta2/README.md | 48 +- gen/taskqueue1_beta2/src/api.rs | 26 +- gen/taskqueue1_beta2/src/lib.rs | 4 +- gen/tasks1-cli/Cargo.toml | 8 +- gen/tasks1-cli/README.md | 2 +- gen/tasks1-cli/mkdocs.yml | 2 +- gen/tasks1-cli/src/main.rs | 10 +- gen/tasks1/Cargo.toml | 8 +- gen/tasks1/README.md | 48 +- gen/tasks1/src/api.rs | 38 +- gen/tasks1/src/lib.rs | 4 +- gen/testing1-cli/Cargo.toml | 8 +- gen/testing1-cli/README.md | 2 +- gen/testing1-cli/mkdocs.yml | 2 +- gen/testing1-cli/src/main.rs | 10 +- gen/testing1/Cargo.toml | 8 +- gen/testing1/README.md | 50 +- gen/testing1/src/api.rs | 22 +- gen/testing1/src/lib.rs | 4 +- gen/texttospeech1-cli/Cargo.toml | 8 +- gen/texttospeech1-cli/README.md | 2 +- gen/texttospeech1-cli/mkdocs.yml | 2 +- gen/texttospeech1-cli/src/main.rs | 10 +- gen/texttospeech1/Cargo.toml | 8 +- gen/texttospeech1/README.md | 48 +- gen/texttospeech1/src/api.rs | 14 +- gen/texttospeech1/src/lib.rs | 4 +- gen/tpu1-cli/Cargo.toml | 8 +- gen/tpu1-cli/README.md | 2 +- gen/tpu1-cli/mkdocs.yml | 2 +- gen/tpu1-cli/src/main.rs | 10 +- gen/tpu1/Cargo.toml | 8 +- gen/tpu1/README.md | 44 +- gen/tpu1/src/api.rs | 42 +- gen/tpu1/src/lib.rs | 4 +- gen/tpu1_alpha1-cli/Cargo.toml | 8 +- gen/tpu1_alpha1-cli/README.md | 2 +- gen/tpu1_alpha1-cli/mkdocs.yml | 2 +- gen/tpu1_alpha1-cli/src/main.rs | 10 +- gen/tpu1_alpha1/Cargo.toml | 8 +- gen/tpu1_alpha1/README.md | 44 +- gen/tpu1_alpha1/src/api.rs | 42 +- gen/tpu1_alpha1/src/lib.rs | 4 +- gen/transcoder1-cli/Cargo.toml | 8 +- gen/transcoder1-cli/README.md | 2 +- gen/transcoder1-cli/mkdocs.yml | 2 +- gen/transcoder1-cli/src/main.rs | 10 +- gen/transcoder1/Cargo.toml | 8 +- gen/transcoder1/README.md | 44 +- gen/transcoder1/src/api.rs | 24 +- gen/transcoder1/src/lib.rs | 4 +- gen/transcoder1_beta1-cli/Cargo.toml | 8 +- gen/transcoder1_beta1-cli/README.md | 2 +- gen/transcoder1_beta1-cli/mkdocs.yml | 2 +- gen/transcoder1_beta1-cli/src/main.rs | 10 +- gen/transcoder1_beta1/Cargo.toml | 8 +- gen/transcoder1_beta1/README.md | 44 +- gen/transcoder1_beta1/src/api.rs | 24 +- gen/transcoder1_beta1/src/lib.rs | 4 +- gen/translate2-cli/Cargo.toml | 8 +- gen/translate2-cli/README.md | 2 +- gen/translate2-cli/mkdocs.yml | 2 +- gen/translate2-cli/src/main.rs | 10 +- gen/translate2/Cargo.toml | 8 +- gen/translate2/README.md | 48 +- gen/translate2/src/api.rs | 22 +- gen/translate2/src/lib.rs | 4 +- gen/translate3-cli/Cargo.toml | 8 +- gen/translate3-cli/README.md | 2 +- gen/translate3-cli/mkdocs.yml | 2 +- gen/translate3-cli/src/main.rs | 10 +- gen/translate3/Cargo.toml | 8 +- gen/translate3/README.md | 44 +- gen/translate3/src/api.rs | 48 +- gen/translate3/src/lib.rs | 4 +- gen/urlshortener1-cli/Cargo.toml | 8 +- gen/urlshortener1-cli/README.md | 2 +- gen/urlshortener1-cli/mkdocs.yml | 2 +- gen/urlshortener1-cli/src/main.rs | 10 +- gen/urlshortener1/Cargo.toml | 8 +- gen/urlshortener1/README.md | 46 +- gen/urlshortener1/src/api.rs | 14 +- gen/urlshortener1/src/lib.rs | 4 +- gen/vault1-cli/Cargo.toml | 8 +- gen/vault1-cli/README.md | 2 +- gen/vault1-cli/mkdocs.yml | 2 +- gen/vault1-cli/src/main.rs | 10 +- gen/vault1/Cargo.toml | 8 +- gen/vault1/README.md | 50 +- gen/vault1/src/api.rs | 76 +- gen/vault1/src/lib.rs | 4 +- gen/vectortile1-cli/Cargo.toml | 8 +- gen/vectortile1-cli/README.md | 2 +- gen/vectortile1-cli/mkdocs.yml | 2 +- gen/vectortile1-cli/src/main.rs | 10 +- gen/vectortile1/Cargo.toml | 8 +- gen/vectortile1/README.md | 46 +- gen/vectortile1/src/api.rs | 14 +- gen/vectortile1/src/lib.rs | 4 +- gen/verifiedaccess1-cli/Cargo.toml | 8 +- gen/verifiedaccess1-cli/README.md | 2 +- gen/verifiedaccess1-cli/mkdocs.yml | 2 +- gen/verifiedaccess1-cli/src/main.rs | 10 +- gen/verifiedaccess1/Cargo.toml | 8 +- gen/verifiedaccess1/README.md | 46 +- gen/verifiedaccess1/src/api.rs | 12 +- gen/verifiedaccess1/src/lib.rs | 4 +- gen/versionhistory1-cli/Cargo.toml | 8 +- gen/versionhistory1-cli/README.md | 2 +- gen/versionhistory1-cli/mkdocs.yml | 2 +- gen/versionhistory1-cli/src/main.rs | 10 +- gen/versionhistory1/Cargo.toml | 8 +- gen/versionhistory1/README.md | 46 +- gen/versionhistory1/src/api.rs | 16 +- gen/versionhistory1/src/lib.rs | 4 +- gen/videointelligence1-cli/Cargo.toml | 8 +- gen/videointelligence1-cli/README.md | 2 +- gen/videointelligence1-cli/mkdocs.yml | 2 +- gen/videointelligence1-cli/src/main.rs | 10 +- gen/videointelligence1/Cargo.toml | 8 +- gen/videointelligence1/README.md | 48 +- gen/videointelligence1/src/api.rs | 28 +- gen/videointelligence1/src/lib.rs | 4 +- gen/videointelligence1_beta1-cli/Cargo.toml | 8 +- gen/videointelligence1_beta1-cli/README.md | 2 +- gen/videointelligence1_beta1-cli/mkdocs.yml | 2 +- gen/videointelligence1_beta1-cli/src/main.rs | 10 +- gen/videointelligence1_beta1/Cargo.toml | 8 +- gen/videointelligence1_beta1/README.md | 44 +- gen/videointelligence1_beta1/src/api.rs | 10 +- gen/videointelligence1_beta1/src/lib.rs | 4 +- gen/vision1-cli/Cargo.toml | 8 +- gen/vision1-cli/README.md | 2 +- gen/vision1-cli/mkdocs.yml | 2 +- gen/vision1-cli/src/main.rs | 10 +- gen/vision1/Cargo.toml | 8 +- gen/vision1/README.md | 56 +- gen/vision1/src/api.rs | 92 +- gen/vision1/src/lib.rs | 4 +- gen/vmmigration1-cli/Cargo.toml | 8 +- gen/vmmigration1-cli/README.md | 2 +- gen/vmmigration1-cli/mkdocs.yml | 2 +- gen/vmmigration1-cli/src/main.rs | 10 +- gen/vmmigration1/Cargo.toml | 8 +- gen/vmmigration1/README.md | 44 +- gen/vmmigration1/src/api.rs | 108 +- gen/vmmigration1/src/lib.rs | 4 +- gen/webfonts1-cli/Cargo.toml | 8 +- gen/webfonts1-cli/README.md | 2 +- gen/webfonts1-cli/mkdocs.yml | 2 +- gen/webfonts1-cli/src/main.rs | 10 +- gen/webfonts1/Cargo.toml | 8 +- gen/webfonts1/README.md | 46 +- gen/webfonts1/src/api.rs | 10 +- gen/webfonts1/src/lib.rs | 4 +- gen/webmasters3-cli/Cargo.toml | 8 +- gen/webmasters3-cli/README.md | 2 +- gen/webmasters3-cli/mkdocs.yml | 2 +- gen/webmasters3-cli/src/main.rs | 10 +- gen/webmasters3/Cargo.toml | 8 +- gen/webmasters3/README.md | 48 +- gen/webmasters3/src/api.rs | 30 +- gen/webmasters3/src/lib.rs | 4 +- gen/webrisk1-cli/Cargo.toml | 8 +- gen/webrisk1-cli/README.md | 2 +- gen/webrisk1-cli/mkdocs.yml | 2 +- gen/webrisk1-cli/src/main.rs | 10 +- gen/webrisk1/Cargo.toml | 8 +- gen/webrisk1/README.md | 50 +- gen/webrisk1/src/api.rs | 32 +- gen/webrisk1/src/lib.rs | 4 +- gen/workflowexecutions1-cli/Cargo.toml | 8 +- gen/workflowexecutions1-cli/README.md | 2 +- gen/workflowexecutions1-cli/mkdocs.yml | 2 +- gen/workflowexecutions1-cli/src/main.rs | 10 +- gen/workflowexecutions1/Cargo.toml | 8 +- gen/workflowexecutions1/README.md | 44 +- gen/workflowexecutions1/src/api.rs | 16 +- gen/workflowexecutions1/src/lib.rs | 4 +- gen/workflows1-cli/Cargo.toml | 8 +- gen/workflows1-cli/README.md | 2 +- gen/workflows1-cli/mkdocs.yml | 2 +- gen/workflows1-cli/src/main.rs | 10 +- gen/workflows1/Cargo.toml | 8 +- gen/workflows1/README.md | 44 +- gen/workflows1/src/api.rs | 28 +- gen/workflows1/src/lib.rs | 4 +- gen/youtube3-cli/Cargo.toml | 8 +- gen/youtube3-cli/README.md | 2 +- gen/youtube3-cli/mkdocs.yml | 2 +- gen/youtube3-cli/src/main.rs | 10 +- gen/youtubereporting1-cli/Cargo.toml | 8 +- gen/youtubereporting1-cli/README.md | 2 +- gen/youtubereporting1-cli/mkdocs.yml | 2 +- gen/youtubereporting1-cli/src/main.rs | 10 +- gen/youtubereporting1/Cargo.toml | 8 +- gen/youtubereporting1/README.md | 54 +- gen/youtubereporting1/src/api.rs | 28 +- gen/youtubereporting1/src/lib.rs | 4 +- 2544 files changed, 26840 insertions(+), 24926 deletions(-) diff --git a/gen/abusiveexperiencereport1-cli/Cargo.toml b/gen/abusiveexperiencereport1-cli/Cargo.toml index 5afb56e845..2197f6c586 100644 --- a/gen/abusiveexperiencereport1-cli/Cargo.toml +++ b/gen/abusiveexperiencereport1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-abusiveexperiencereport1-cli" -version = "3.0.0+20220303" +version = "3.1.0+20220303" authors = ["Sebastian Thiel "] description = "A complete library to interact with Abusive Experience Report (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/abusiveexperiencereport1-cli" @@ -20,12 +20,12 @@ name = "abusiveexperiencereport1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-abusiveexperiencereport1] path = "../abusiveexperiencereport1" -version = "3.0.0+20220303" +version = "3.1.0+20220303" diff --git a/gen/abusiveexperiencereport1-cli/README.md b/gen/abusiveexperiencereport1-cli/README.md index cb303bc474..9594014add 100644 --- a/gen/abusiveexperiencereport1-cli/README.md +++ b/gen/abusiveexperiencereport1-cli/README.md @@ -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 *Abusive Experience Report* API at revision *20220303*. The CLI is at version *3.0.0*. +This documentation was generated from the *Abusive Experience Report* API at revision *20220303*. The CLI is at version *3.1.0*. ```bash abusiveexperiencereport1 [options] diff --git a/gen/abusiveexperiencereport1-cli/mkdocs.yml b/gen/abusiveexperiencereport1-cli/mkdocs.yml index 218f91c407..791b73ce07 100644 --- a/gen/abusiveexperiencereport1-cli/mkdocs.yml +++ b/gen/abusiveexperiencereport1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Abusive Experience Report v3.0.0+20220303 +site_name: Abusive Experience Report v3.1.0+20220303 site_url: http://byron.github.io/google-apis-rs/google-abusiveexperiencereport1-cli site_description: A complete library to interact with Abusive Experience Report (protocol v1) diff --git a/gen/abusiveexperiencereport1-cli/src/main.rs b/gen/abusiveexperiencereport1-cli/src/main.rs index cc90295cb5..0d35c86e00 100644 --- a/gen/abusiveexperiencereport1-cli/src/main.rs +++ b/gen/abusiveexperiencereport1-cli/src/main.rs @@ -201,7 +201,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/abusiveexperiencereport1", 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::AbusiveExperienceReport::new(client, auth), @@ -284,7 +290,7 @@ async fn main() { let mut app = App::new("abusiveexperiencereport1") .author("Sebastian Thiel ") - .version("3.0.0+20220303") + .version("3.1.0+20220303") .about("Views Abusive Experience Report data, and gets a list of sites that have a significant number of abusive experiences.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_abusiveexperiencereport1_cli") .arg(Arg::with_name("folder") diff --git a/gen/abusiveexperiencereport1/Cargo.toml b/gen/abusiveexperiencereport1/Cargo.toml index 126d2fd652..6926b17d45 100644 --- a/gen/abusiveexperiencereport1/Cargo.toml +++ b/gen/abusiveexperiencereport1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-abusiveexperiencereport1" -version = "3.0.0+20220303" +version = "3.1.0+20220303" authors = ["Sebastian Thiel "] description = "A complete library to interact with Abusive Experience Report (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/abusiveexperiencereport1" homepage = "https://developers.google.com/abusive-experience-report/" -documentation = "https://docs.rs/google-abusiveexperiencereport1/3.0.0+20220303" +documentation = "https://docs.rs/google-abusiveexperiencereport1/3.1.0+20220303" license = "MIT" keywords = ["abusiveexperiencerep", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/abusiveexperiencereport1/README.md b/gen/abusiveexperiencereport1/README.md index 18a3c0020c..bd5844a85f 100644 --- a/gen/abusiveexperiencereport1/README.md +++ b/gen/abusiveexperiencereport1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-abusiveexperiencereport1` library allows access to all features of the *Google Abusive Experience Report* service. -This documentation was generated from *Abusive Experience Report* crate version *3.0.0+20220303*, where *20220303* is the exact revision of the *abusiveexperiencereport:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Abusive Experience Report* crate version *3.1.0+20220303*, where *20220303* is the exact revision of the *abusiveexperiencereport:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Abusive Experience Report* *v1* API can be found at the [official documentation site](https://developers.google.com/abusive-experience-report/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-abusiveexperiencereport1/3.0.0+20220303/google_abusiveexperiencereport1/AbusiveExperienceReport) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-abusiveexperiencereport1/3.1.0+20220303/google_abusiveexperiencereport1/AbusiveExperienceReport) ... * sites - * [*get*](https://docs.rs/google-abusiveexperiencereport1/3.0.0+20220303/google_abusiveexperiencereport1/api::SiteGetCall) + * [*get*](https://docs.rs/google-abusiveexperiencereport1/3.1.0+20220303/google_abusiveexperiencereport1/api::SiteGetCall) * violating sites - * [*list*](https://docs.rs/google-abusiveexperiencereport1/3.0.0+20220303/google_abusiveexperiencereport1/api::ViolatingSiteListCall) + * [*list*](https://docs.rs/google-abusiveexperiencereport1/3.1.0+20220303/google_abusiveexperiencereport1/api::ViolatingSiteListCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-abusiveexperiencereport1/3.0.0+20220303/google_abusiveexperiencereport1/AbusiveExperienceReport)** +* **[Hub](https://docs.rs/google-abusiveexperiencereport1/3.1.0+20220303/google_abusiveexperiencereport1/AbusiveExperienceReport)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-abusiveexperiencereport1/3.0.0+20220303/google_abusiveexperiencereport1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-abusiveexperiencereport1/3.0.0+20220303/google_abusiveexperiencereport1/client::CallBuilder) -* **[Resources](https://docs.rs/google-abusiveexperiencereport1/3.0.0+20220303/google_abusiveexperiencereport1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-abusiveexperiencereport1/3.1.0+20220303/google_abusiveexperiencereport1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-abusiveexperiencereport1/3.1.0+20220303/google_abusiveexperiencereport1/client::CallBuilder) +* **[Resources](https://docs.rs/google-abusiveexperiencereport1/3.1.0+20220303/google_abusiveexperiencereport1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-abusiveexperiencereport1/3.0.0+20220303/google_abusiveexperiencereport1/client::Part)** + * **[Parts](https://docs.rs/google-abusiveexperiencereport1/3.1.0+20220303/google_abusiveexperiencereport1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-abusiveexperiencereport1/3.0.0+20220303/google_abusiveexperiencereport1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-abusiveexperiencereport1/3.1.0+20220303/google_abusiveexperiencereport1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -92,7 +92,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = AbusiveExperienceReport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = AbusiveExperienceReport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -120,17 +120,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-abusiveexperiencereport1/3.0.0+20220303/google_abusiveexperiencereport1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-abusiveexperiencereport1/3.1.0+20220303/google_abusiveexperiencereport1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-abusiveexperiencereport1/3.0.0+20220303/google_abusiveexperiencereport1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-abusiveexperiencereport1/3.1.0+20220303/google_abusiveexperiencereport1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-abusiveexperiencereport1/3.0.0+20220303/google_abusiveexperiencereport1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-abusiveexperiencereport1/3.1.0+20220303/google_abusiveexperiencereport1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-abusiveexperiencereport1/3.0.0+20220303/google_abusiveexperiencereport1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-abusiveexperiencereport1/3.1.0+20220303/google_abusiveexperiencereport1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -140,29 +140,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-abusiveexperiencereport1/3.0.0+20220303/google_abusiveexperiencereport1/client::Delegate) to the -[Method Builder](https://docs.rs/google-abusiveexperiencereport1/3.0.0+20220303/google_abusiveexperiencereport1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-abusiveexperiencereport1/3.1.0+20220303/google_abusiveexperiencereport1/client::Delegate) to the +[Method Builder](https://docs.rs/google-abusiveexperiencereport1/3.1.0+20220303/google_abusiveexperiencereport1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-abusiveexperiencereport1/3.0.0+20220303/google_abusiveexperiencereport1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-abusiveexperiencereport1/3.1.0+20220303/google_abusiveexperiencereport1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-abusiveexperiencereport1/3.0.0+20220303/google_abusiveexperiencereport1/client::RequestValue) and -[decodable](https://docs.rs/google-abusiveexperiencereport1/3.0.0+20220303/google_abusiveexperiencereport1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-abusiveexperiencereport1/3.1.0+20220303/google_abusiveexperiencereport1/client::RequestValue) and +[decodable](https://docs.rs/google-abusiveexperiencereport1/3.1.0+20220303/google_abusiveexperiencereport1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-abusiveexperiencereport1/3.0.0+20220303/google_abusiveexperiencereport1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-abusiveexperiencereport1/3.1.0+20220303/google_abusiveexperiencereport1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-abusiveexperiencereport1/3.0.0+20220303/google_abusiveexperiencereport1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-abusiveexperiencereport1/3.1.0+20220303/google_abusiveexperiencereport1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-abusiveexperiencereport1/3.0.0+20220303/google_abusiveexperiencereport1/client::RequestValue) are moved +* [request values](https://docs.rs/google-abusiveexperiencereport1/3.1.0+20220303/google_abusiveexperiencereport1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/abusiveexperiencereport1/src/api.rs b/gen/abusiveexperiencereport1/src/api.rs index 26d7b986e4..9f0b27a2dd 100644 --- a/gen/abusiveexperiencereport1/src/api.rs +++ b/gen/abusiveexperiencereport1/src/api.rs @@ -48,7 +48,7 @@ use crate::client; /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AbusiveExperienceReport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AbusiveExperienceReport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -91,7 +91,7 @@ impl<'a, > AbusiveExperienceReport<> { AbusiveExperienceReport { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://abusiveexperiencereport.googleapis.com/".to_string(), _root_url: "https://abusiveexperiencereport.googleapis.com/".to_string(), } @@ -105,7 +105,7 @@ impl<'a, > AbusiveExperienceReport<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -215,7 +215,7 @@ impl client::ResponseResult for ViolatingSitesResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AbusiveExperienceReport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AbusiveExperienceReport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -272,7 +272,7 @@ impl<'a> SiteMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AbusiveExperienceReport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AbusiveExperienceReport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -331,7 +331,7 @@ impl<'a> ViolatingSiteMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AbusiveExperienceReport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AbusiveExperienceReport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -557,7 +557,7 @@ impl<'a> SiteGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AbusiveExperienceReport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AbusiveExperienceReport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/abusiveexperiencereport1/src/lib.rs b/gen/abusiveexperiencereport1/src/lib.rs index f3d3e5979e..ce1d3cb8a8 100644 --- a/gen/abusiveexperiencereport1/src/lib.rs +++ b/gen/abusiveexperiencereport1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Abusive Experience Report* crate version *3.0.0+20220303*, where *20220303* is the exact revision of the *abusiveexperiencereport:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Abusive Experience Report* crate version *3.1.0+20220303*, where *20220303* is the exact revision of the *abusiveexperiencereport:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Abusive Experience Report* *v1* API can be found at the //! [official documentation site](https://developers.google.com/abusive-experience-report/). @@ -93,7 +93,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = AbusiveExperienceReport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = AbusiveExperienceReport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/acceleratedmobilepageurl1-cli/Cargo.toml b/gen/acceleratedmobilepageurl1-cli/Cargo.toml index 6196c0df71..1ebfcc70ae 100644 --- a/gen/acceleratedmobilepageurl1-cli/Cargo.toml +++ b/gen/acceleratedmobilepageurl1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-acceleratedmobilepageurl1-cli" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with Acceleratedmobilepageurl (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/acceleratedmobilepageurl1-cli" @@ -20,12 +20,12 @@ name = "acceleratedmobilepageurl1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-acceleratedmobilepageurl1] path = "../acceleratedmobilepageurl1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" diff --git a/gen/acceleratedmobilepageurl1-cli/README.md b/gen/acceleratedmobilepageurl1-cli/README.md index 59c43875ed..c05f04c38d 100644 --- a/gen/acceleratedmobilepageurl1-cli/README.md +++ b/gen/acceleratedmobilepageurl1-cli/README.md @@ -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 *Acceleratedmobilepageurl* API at revision *20220305*. The CLI is at version *3.0.0*. +This documentation was generated from the *Acceleratedmobilepageurl* API at revision *20220305*. The CLI is at version *3.1.0*. ```bash acceleratedmobilepageurl1 [options] diff --git a/gen/acceleratedmobilepageurl1-cli/mkdocs.yml b/gen/acceleratedmobilepageurl1-cli/mkdocs.yml index cf58981a84..33a2e0dce3 100644 --- a/gen/acceleratedmobilepageurl1-cli/mkdocs.yml +++ b/gen/acceleratedmobilepageurl1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Acceleratedmobilepageurl v3.0.0+20220305 +site_name: Acceleratedmobilepageurl v3.1.0+20220305 site_url: http://byron.github.io/google-apis-rs/google-acceleratedmobilepageurl1-cli site_description: A complete library to interact with Acceleratedmobilepageurl (protocol v1) diff --git a/gen/acceleratedmobilepageurl1-cli/src/main.rs b/gen/acceleratedmobilepageurl1-cli/src/main.rs index 114bd479d6..913982cd15 100644 --- a/gen/acceleratedmobilepageurl1-cli/src/main.rs +++ b/gen/acceleratedmobilepageurl1-cli/src/main.rs @@ -175,7 +175,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/acceleratedmobilepageurl1", 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::Acceleratedmobilepageurl::new(client, auth), @@ -239,7 +245,7 @@ async fn main() { let mut app = App::new("acceleratedmobilepageurl1") .author("Sebastian Thiel ") - .version("3.0.0+20220305") + .version("3.1.0+20220305") .about("Retrieves the list of AMP URLs (and equivalent AMP Cache URLs) for a given list of public URL(s). ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_acceleratedmobilepageurl1_cli") .arg(Arg::with_name("folder") diff --git a/gen/acceleratedmobilepageurl1/Cargo.toml b/gen/acceleratedmobilepageurl1/Cargo.toml index 3324c1a124..1ee8517cbe 100644 --- a/gen/acceleratedmobilepageurl1/Cargo.toml +++ b/gen/acceleratedmobilepageurl1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-acceleratedmobilepageurl1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with Acceleratedmobilepageurl (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/acceleratedmobilepageurl1" homepage = "https://developers.google.com/amp/cache/" -documentation = "https://docs.rs/google-acceleratedmobilepageurl1/3.0.0+20220305" +documentation = "https://docs.rs/google-acceleratedmobilepageurl1/3.1.0+20220305" license = "MIT" keywords = ["acceleratedmobilepag", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/acceleratedmobilepageurl1/README.md b/gen/acceleratedmobilepageurl1/README.md index 5c74d0b03b..ebaa1ce61b 100644 --- a/gen/acceleratedmobilepageurl1/README.md +++ b/gen/acceleratedmobilepageurl1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-acceleratedmobilepageurl1` library allows access to all features of the *Google Acceleratedmobilepageurl* service. -This documentation was generated from *Acceleratedmobilepageurl* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *acceleratedmobilepageurl:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Acceleratedmobilepageurl* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *acceleratedmobilepageurl:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Acceleratedmobilepageurl* *v1* API can be found at the [official documentation site](https://developers.google.com/amp/cache/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-acceleratedmobilepageurl1/3.0.0+20220305/google_acceleratedmobilepageurl1/Acceleratedmobilepageurl) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-acceleratedmobilepageurl1/3.1.0+20220305/google_acceleratedmobilepageurl1/Acceleratedmobilepageurl) ... -* [amp urls](https://docs.rs/google-acceleratedmobilepageurl1/3.0.0+20220305/google_acceleratedmobilepageurl1/api::AmpUrl) - * [*batch get*](https://docs.rs/google-acceleratedmobilepageurl1/3.0.0+20220305/google_acceleratedmobilepageurl1/api::AmpUrlBatchGetCall) +* [amp urls](https://docs.rs/google-acceleratedmobilepageurl1/3.1.0+20220305/google_acceleratedmobilepageurl1/api::AmpUrl) + * [*batch get*](https://docs.rs/google-acceleratedmobilepageurl1/3.1.0+20220305/google_acceleratedmobilepageurl1/api::AmpUrlBatchGetCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-acceleratedmobilepageurl1/3.0.0+20220305/google_acceleratedmobilepageurl1/Acceleratedmobilepageurl)** +* **[Hub](https://docs.rs/google-acceleratedmobilepageurl1/3.1.0+20220305/google_acceleratedmobilepageurl1/Acceleratedmobilepageurl)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-acceleratedmobilepageurl1/3.0.0+20220305/google_acceleratedmobilepageurl1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-acceleratedmobilepageurl1/3.0.0+20220305/google_acceleratedmobilepageurl1/client::CallBuilder) -* **[Resources](https://docs.rs/google-acceleratedmobilepageurl1/3.0.0+20220305/google_acceleratedmobilepageurl1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-acceleratedmobilepageurl1/3.1.0+20220305/google_acceleratedmobilepageurl1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-acceleratedmobilepageurl1/3.1.0+20220305/google_acceleratedmobilepageurl1/client::CallBuilder) +* **[Resources](https://docs.rs/google-acceleratedmobilepageurl1/3.1.0+20220305/google_acceleratedmobilepageurl1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-acceleratedmobilepageurl1/3.0.0+20220305/google_acceleratedmobilepageurl1/client::Part)** + * **[Parts](https://docs.rs/google-acceleratedmobilepageurl1/3.1.0+20220305/google_acceleratedmobilepageurl1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-acceleratedmobilepageurl1/3.0.0+20220305/google_acceleratedmobilepageurl1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-acceleratedmobilepageurl1/3.1.0+20220305/google_acceleratedmobilepageurl1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -91,7 +91,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Acceleratedmobilepageurl::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Acceleratedmobilepageurl::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -124,17 +124,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-acceleratedmobilepageurl1/3.0.0+20220305/google_acceleratedmobilepageurl1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-acceleratedmobilepageurl1/3.1.0+20220305/google_acceleratedmobilepageurl1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-acceleratedmobilepageurl1/3.0.0+20220305/google_acceleratedmobilepageurl1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-acceleratedmobilepageurl1/3.1.0+20220305/google_acceleratedmobilepageurl1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-acceleratedmobilepageurl1/3.0.0+20220305/google_acceleratedmobilepageurl1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-acceleratedmobilepageurl1/3.1.0+20220305/google_acceleratedmobilepageurl1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-acceleratedmobilepageurl1/3.0.0+20220305/google_acceleratedmobilepageurl1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-acceleratedmobilepageurl1/3.1.0+20220305/google_acceleratedmobilepageurl1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -144,29 +144,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-acceleratedmobilepageurl1/3.0.0+20220305/google_acceleratedmobilepageurl1/client::Delegate) to the -[Method Builder](https://docs.rs/google-acceleratedmobilepageurl1/3.0.0+20220305/google_acceleratedmobilepageurl1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-acceleratedmobilepageurl1/3.1.0+20220305/google_acceleratedmobilepageurl1/client::Delegate) to the +[Method Builder](https://docs.rs/google-acceleratedmobilepageurl1/3.1.0+20220305/google_acceleratedmobilepageurl1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-acceleratedmobilepageurl1/3.0.0+20220305/google_acceleratedmobilepageurl1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-acceleratedmobilepageurl1/3.1.0+20220305/google_acceleratedmobilepageurl1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-acceleratedmobilepageurl1/3.0.0+20220305/google_acceleratedmobilepageurl1/client::RequestValue) and -[decodable](https://docs.rs/google-acceleratedmobilepageurl1/3.0.0+20220305/google_acceleratedmobilepageurl1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-acceleratedmobilepageurl1/3.1.0+20220305/google_acceleratedmobilepageurl1/client::RequestValue) and +[decodable](https://docs.rs/google-acceleratedmobilepageurl1/3.1.0+20220305/google_acceleratedmobilepageurl1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-acceleratedmobilepageurl1/3.0.0+20220305/google_acceleratedmobilepageurl1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-acceleratedmobilepageurl1/3.1.0+20220305/google_acceleratedmobilepageurl1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-acceleratedmobilepageurl1/3.0.0+20220305/google_acceleratedmobilepageurl1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-acceleratedmobilepageurl1/3.1.0+20220305/google_acceleratedmobilepageurl1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-acceleratedmobilepageurl1/3.0.0+20220305/google_acceleratedmobilepageurl1/client::RequestValue) are moved +* [request values](https://docs.rs/google-acceleratedmobilepageurl1/3.1.0+20220305/google_acceleratedmobilepageurl1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/acceleratedmobilepageurl1/src/api.rs b/gen/acceleratedmobilepageurl1/src/api.rs index 7e5cf3975f..90b33b5172 100644 --- a/gen/acceleratedmobilepageurl1/src/api.rs +++ b/gen/acceleratedmobilepageurl1/src/api.rs @@ -49,7 +49,7 @@ use crate::client; /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Acceleratedmobilepageurl::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Acceleratedmobilepageurl::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -97,7 +97,7 @@ impl<'a, > Acceleratedmobilepageurl<> { Acceleratedmobilepageurl { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://acceleratedmobilepageurl.googleapis.com/".to_string(), _root_url: "https://acceleratedmobilepageurl.googleapis.com/".to_string(), } @@ -108,7 +108,7 @@ impl<'a, > Acceleratedmobilepageurl<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -250,7 +250,7 @@ impl client::ResponseResult for BatchGetAmpUrlsResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Acceleratedmobilepageurl::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Acceleratedmobilepageurl::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `batch_get(...)` /// // to build up your call. @@ -315,7 +315,7 @@ impl<'a> AmpUrlMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Acceleratedmobilepageurl::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Acceleratedmobilepageurl::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/acceleratedmobilepageurl1/src/lib.rs b/gen/acceleratedmobilepageurl1/src/lib.rs index 3ebf4e29a5..ace39ce162 100644 --- a/gen/acceleratedmobilepageurl1/src/lib.rs +++ b/gen/acceleratedmobilepageurl1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Acceleratedmobilepageurl* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *acceleratedmobilepageurl:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Acceleratedmobilepageurl* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *acceleratedmobilepageurl:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Acceleratedmobilepageurl* *v1* API can be found at the //! [official documentation site](https://developers.google.com/amp/cache/). @@ -92,7 +92,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Acceleratedmobilepageurl::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Acceleratedmobilepageurl::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/accessapproval1-cli/Cargo.toml b/gen/accessapproval1-cli/Cargo.toml index 9c47b5d2e1..9c8cc7c32b 100644 --- a/gen/accessapproval1-cli/Cargo.toml +++ b/gen/accessapproval1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-accessapproval1-cli" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with Access Approval (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/accessapproval1-cli" @@ -20,12 +20,12 @@ name = "accessapproval1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-accessapproval1] path = "../accessapproval1" -version = "3.0.0+20220225" +version = "3.1.0+20220225" diff --git a/gen/accessapproval1-cli/README.md b/gen/accessapproval1-cli/README.md index bc1d5e9b69..c820324612 100644 --- a/gen/accessapproval1-cli/README.md +++ b/gen/accessapproval1-cli/README.md @@ -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 *Access Approval* API at revision *20220225*. The CLI is at version *3.0.0*. +This documentation was generated from the *Access Approval* API at revision *20220225*. The CLI is at version *3.1.0*. ```bash accessapproval1 [options] diff --git a/gen/accessapproval1-cli/mkdocs.yml b/gen/accessapproval1-cli/mkdocs.yml index e8f178438c..a75ee2fb14 100644 --- a/gen/accessapproval1-cli/mkdocs.yml +++ b/gen/accessapproval1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Access Approval v3.0.0+20220225 +site_name: Access Approval v3.1.0+20220225 site_url: http://byron.github.io/google-apis-rs/google-accessapproval1-cli site_description: A complete library to interact with Access Approval (protocol v1) diff --git a/gen/accessapproval1-cli/src/main.rs b/gen/accessapproval1-cli/src/main.rs index cc0d028db4..a1364ff76c 100644 --- a/gen/accessapproval1-cli/src/main.rs +++ b/gen/accessapproval1-cli/src/main.rs @@ -1602,7 +1602,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/accessapproval1", 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::AccessApproval::new(client, auth), @@ -2166,7 +2172,7 @@ async fn main() { let mut app = App::new("accessapproval1") .author("Sebastian Thiel ") - .version("3.0.0+20220225") + .version("3.1.0+20220225") .about("An API for controlling access to data by Google personnel.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_accessapproval1_cli") .arg(Arg::with_name("url") diff --git a/gen/accessapproval1/Cargo.toml b/gen/accessapproval1/Cargo.toml index 6b6c234044..5ae29af1c2 100644 --- a/gen/accessapproval1/Cargo.toml +++ b/gen/accessapproval1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-accessapproval1" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with Access Approval (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/accessapproval1" homepage = "https://cloud.google.com/cloud-provider-access-management/access-approval/docs" -documentation = "https://docs.rs/google-accessapproval1/3.0.0+20220225" +documentation = "https://docs.rs/google-accessapproval1/3.1.0+20220225" license = "MIT" keywords = ["accessapproval", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/accessapproval1/README.md b/gen/accessapproval1/README.md index f18e60f3e9..3cdf19e698 100644 --- a/gen/accessapproval1/README.md +++ b/gen/accessapproval1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-accessapproval1` library allows access to all features of the *Google Access Approval* service. -This documentation was generated from *Access Approval* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *accessapproval:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Access Approval* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *accessapproval:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Access Approval* *v1* API can be found at the [official documentation site](https://cloud.google.com/cloud-provider-access-management/access-approval/docs). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-accessapproval1/3.0.0+20220225/google_accessapproval1/AccessApproval) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-accessapproval1/3.1.0+20220225/google_accessapproval1/AccessApproval) ... * folders - * [*approval requests approve*](https://docs.rs/google-accessapproval1/3.0.0+20220225/google_accessapproval1/api::FolderApprovalRequestApproveCall), [*approval requests dismiss*](https://docs.rs/google-accessapproval1/3.0.0+20220225/google_accessapproval1/api::FolderApprovalRequestDismisCall), [*approval requests get*](https://docs.rs/google-accessapproval1/3.0.0+20220225/google_accessapproval1/api::FolderApprovalRequestGetCall), [*approval requests list*](https://docs.rs/google-accessapproval1/3.0.0+20220225/google_accessapproval1/api::FolderApprovalRequestListCall), [*delete access approval settings*](https://docs.rs/google-accessapproval1/3.0.0+20220225/google_accessapproval1/api::FolderDeleteAccessApprovalSettingCall), [*get access approval settings*](https://docs.rs/google-accessapproval1/3.0.0+20220225/google_accessapproval1/api::FolderGetAccessApprovalSettingCall) and [*update access approval settings*](https://docs.rs/google-accessapproval1/3.0.0+20220225/google_accessapproval1/api::FolderUpdateAccessApprovalSettingCall) + * [*approval requests approve*](https://docs.rs/google-accessapproval1/3.1.0+20220225/google_accessapproval1/api::FolderApprovalRequestApproveCall), [*approval requests dismiss*](https://docs.rs/google-accessapproval1/3.1.0+20220225/google_accessapproval1/api::FolderApprovalRequestDismisCall), [*approval requests get*](https://docs.rs/google-accessapproval1/3.1.0+20220225/google_accessapproval1/api::FolderApprovalRequestGetCall), [*approval requests list*](https://docs.rs/google-accessapproval1/3.1.0+20220225/google_accessapproval1/api::FolderApprovalRequestListCall), [*delete access approval settings*](https://docs.rs/google-accessapproval1/3.1.0+20220225/google_accessapproval1/api::FolderDeleteAccessApprovalSettingCall), [*get access approval settings*](https://docs.rs/google-accessapproval1/3.1.0+20220225/google_accessapproval1/api::FolderGetAccessApprovalSettingCall) and [*update access approval settings*](https://docs.rs/google-accessapproval1/3.1.0+20220225/google_accessapproval1/api::FolderUpdateAccessApprovalSettingCall) * organizations - * [*approval requests approve*](https://docs.rs/google-accessapproval1/3.0.0+20220225/google_accessapproval1/api::OrganizationApprovalRequestApproveCall), [*approval requests dismiss*](https://docs.rs/google-accessapproval1/3.0.0+20220225/google_accessapproval1/api::OrganizationApprovalRequestDismisCall), [*approval requests get*](https://docs.rs/google-accessapproval1/3.0.0+20220225/google_accessapproval1/api::OrganizationApprovalRequestGetCall), [*approval requests list*](https://docs.rs/google-accessapproval1/3.0.0+20220225/google_accessapproval1/api::OrganizationApprovalRequestListCall), [*delete access approval settings*](https://docs.rs/google-accessapproval1/3.0.0+20220225/google_accessapproval1/api::OrganizationDeleteAccessApprovalSettingCall), [*get access approval settings*](https://docs.rs/google-accessapproval1/3.0.0+20220225/google_accessapproval1/api::OrganizationGetAccessApprovalSettingCall) and [*update access approval settings*](https://docs.rs/google-accessapproval1/3.0.0+20220225/google_accessapproval1/api::OrganizationUpdateAccessApprovalSettingCall) + * [*approval requests approve*](https://docs.rs/google-accessapproval1/3.1.0+20220225/google_accessapproval1/api::OrganizationApprovalRequestApproveCall), [*approval requests dismiss*](https://docs.rs/google-accessapproval1/3.1.0+20220225/google_accessapproval1/api::OrganizationApprovalRequestDismisCall), [*approval requests get*](https://docs.rs/google-accessapproval1/3.1.0+20220225/google_accessapproval1/api::OrganizationApprovalRequestGetCall), [*approval requests list*](https://docs.rs/google-accessapproval1/3.1.0+20220225/google_accessapproval1/api::OrganizationApprovalRequestListCall), [*delete access approval settings*](https://docs.rs/google-accessapproval1/3.1.0+20220225/google_accessapproval1/api::OrganizationDeleteAccessApprovalSettingCall), [*get access approval settings*](https://docs.rs/google-accessapproval1/3.1.0+20220225/google_accessapproval1/api::OrganizationGetAccessApprovalSettingCall) and [*update access approval settings*](https://docs.rs/google-accessapproval1/3.1.0+20220225/google_accessapproval1/api::OrganizationUpdateAccessApprovalSettingCall) * projects - * [*approval requests approve*](https://docs.rs/google-accessapproval1/3.0.0+20220225/google_accessapproval1/api::ProjectApprovalRequestApproveCall), [*approval requests dismiss*](https://docs.rs/google-accessapproval1/3.0.0+20220225/google_accessapproval1/api::ProjectApprovalRequestDismisCall), [*approval requests get*](https://docs.rs/google-accessapproval1/3.0.0+20220225/google_accessapproval1/api::ProjectApprovalRequestGetCall), [*approval requests list*](https://docs.rs/google-accessapproval1/3.0.0+20220225/google_accessapproval1/api::ProjectApprovalRequestListCall), [*delete access approval settings*](https://docs.rs/google-accessapproval1/3.0.0+20220225/google_accessapproval1/api::ProjectDeleteAccessApprovalSettingCall), [*get access approval settings*](https://docs.rs/google-accessapproval1/3.0.0+20220225/google_accessapproval1/api::ProjectGetAccessApprovalSettingCall) and [*update access approval settings*](https://docs.rs/google-accessapproval1/3.0.0+20220225/google_accessapproval1/api::ProjectUpdateAccessApprovalSettingCall) + * [*approval requests approve*](https://docs.rs/google-accessapproval1/3.1.0+20220225/google_accessapproval1/api::ProjectApprovalRequestApproveCall), [*approval requests dismiss*](https://docs.rs/google-accessapproval1/3.1.0+20220225/google_accessapproval1/api::ProjectApprovalRequestDismisCall), [*approval requests get*](https://docs.rs/google-accessapproval1/3.1.0+20220225/google_accessapproval1/api::ProjectApprovalRequestGetCall), [*approval requests list*](https://docs.rs/google-accessapproval1/3.1.0+20220225/google_accessapproval1/api::ProjectApprovalRequestListCall), [*delete access approval settings*](https://docs.rs/google-accessapproval1/3.1.0+20220225/google_accessapproval1/api::ProjectDeleteAccessApprovalSettingCall), [*get access approval settings*](https://docs.rs/google-accessapproval1/3.1.0+20220225/google_accessapproval1/api::ProjectGetAccessApprovalSettingCall) and [*update access approval settings*](https://docs.rs/google-accessapproval1/3.1.0+20220225/google_accessapproval1/api::ProjectUpdateAccessApprovalSettingCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-accessapproval1/3.0.0+20220225/google_accessapproval1/AccessApproval)** +* **[Hub](https://docs.rs/google-accessapproval1/3.1.0+20220225/google_accessapproval1/AccessApproval)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-accessapproval1/3.0.0+20220225/google_accessapproval1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-accessapproval1/3.0.0+20220225/google_accessapproval1/client::CallBuilder) -* **[Resources](https://docs.rs/google-accessapproval1/3.0.0+20220225/google_accessapproval1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-accessapproval1/3.1.0+20220225/google_accessapproval1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-accessapproval1/3.1.0+20220225/google_accessapproval1/client::CallBuilder) +* **[Resources](https://docs.rs/google-accessapproval1/3.1.0+20220225/google_accessapproval1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-accessapproval1/3.0.0+20220225/google_accessapproval1/client::Part)** + * **[Parts](https://docs.rs/google-accessapproval1/3.1.0+20220225/google_accessapproval1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-accessapproval1/3.0.0+20220225/google_accessapproval1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-accessapproval1/3.1.0+20220225/google_accessapproval1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -103,7 +103,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-accessapproval1/3.0.0+20220225/google_accessapproval1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-accessapproval1/3.1.0+20220225/google_accessapproval1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-accessapproval1/3.0.0+20220225/google_accessapproval1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-accessapproval1/3.1.0+20220225/google_accessapproval1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-accessapproval1/3.0.0+20220225/google_accessapproval1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-accessapproval1/3.1.0+20220225/google_accessapproval1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-accessapproval1/3.0.0+20220225/google_accessapproval1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-accessapproval1/3.1.0+20220225/google_accessapproval1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -156,29 +156,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-accessapproval1/3.0.0+20220225/google_accessapproval1/client::Delegate) to the -[Method Builder](https://docs.rs/google-accessapproval1/3.0.0+20220225/google_accessapproval1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-accessapproval1/3.1.0+20220225/google_accessapproval1/client::Delegate) to the +[Method Builder](https://docs.rs/google-accessapproval1/3.1.0+20220225/google_accessapproval1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-accessapproval1/3.0.0+20220225/google_accessapproval1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-accessapproval1/3.1.0+20220225/google_accessapproval1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-accessapproval1/3.0.0+20220225/google_accessapproval1/client::RequestValue) and -[decodable](https://docs.rs/google-accessapproval1/3.0.0+20220225/google_accessapproval1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-accessapproval1/3.1.0+20220225/google_accessapproval1/client::RequestValue) and +[decodable](https://docs.rs/google-accessapproval1/3.1.0+20220225/google_accessapproval1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-accessapproval1/3.0.0+20220225/google_accessapproval1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-accessapproval1/3.1.0+20220225/google_accessapproval1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-accessapproval1/3.0.0+20220225/google_accessapproval1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-accessapproval1/3.1.0+20220225/google_accessapproval1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-accessapproval1/3.0.0+20220225/google_accessapproval1/client::RequestValue) are moved +* [request values](https://docs.rs/google-accessapproval1/3.1.0+20220225/google_accessapproval1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/accessapproval1/src/api.rs b/gen/accessapproval1/src/api.rs index fd1d8bb2ab..945c6ef534 100644 --- a/gen/accessapproval1/src/api.rs +++ b/gen/accessapproval1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > AccessApproval<> { AccessApproval { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://accessapproval.googleapis.com/".to_string(), _root_url: "https://accessapproval.googleapis.com/".to_string(), } @@ -136,7 +136,7 @@ impl<'a, > AccessApproval<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -447,7 +447,7 @@ impl client::Part for ResourceProperties {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `approval_requests_approve(...)`, `approval_requests_dismiss(...)`, `approval_requests_get(...)`, `approval_requests_list(...)`, `delete_access_approval_settings(...)`, `get_access_approval_settings(...)` and `update_access_approval_settings(...)` /// // to build up your call. @@ -617,7 +617,7 @@ impl<'a> FolderMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `approval_requests_approve(...)`, `approval_requests_dismiss(...)`, `approval_requests_get(...)`, `approval_requests_list(...)`, `delete_access_approval_settings(...)`, `get_access_approval_settings(...)` and `update_access_approval_settings(...)` /// // to build up your call. @@ -787,7 +787,7 @@ impl<'a> OrganizationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `approval_requests_approve(...)`, `approval_requests_dismiss(...)`, `approval_requests_get(...)`, `approval_requests_list(...)`, `delete_access_approval_settings(...)`, `get_access_approval_settings(...)` and `update_access_approval_settings(...)` /// // to build up your call. @@ -965,7 +965,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1251,7 +1251,7 @@ impl<'a> FolderApprovalRequestApproveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1536,7 +1536,7 @@ impl<'a> FolderApprovalRequestDismisCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1792,7 +1792,7 @@ impl<'a> FolderApprovalRequestGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2084,7 +2084,7 @@ impl<'a> FolderApprovalRequestListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2340,7 +2340,7 @@ impl<'a> FolderDeleteAccessApprovalSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2597,7 +2597,7 @@ impl<'a> FolderGetAccessApprovalSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2895,7 +2895,7 @@ impl<'a> FolderUpdateAccessApprovalSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3181,7 +3181,7 @@ impl<'a> OrganizationApprovalRequestApproveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3466,7 +3466,7 @@ impl<'a> OrganizationApprovalRequestDismisCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3722,7 +3722,7 @@ impl<'a> OrganizationApprovalRequestGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4014,7 +4014,7 @@ impl<'a> OrganizationApprovalRequestListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4270,7 +4270,7 @@ impl<'a> OrganizationDeleteAccessApprovalSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4527,7 +4527,7 @@ impl<'a> OrganizationGetAccessApprovalSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4825,7 +4825,7 @@ impl<'a> OrganizationUpdateAccessApprovalSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5111,7 +5111,7 @@ impl<'a> ProjectApprovalRequestApproveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5396,7 +5396,7 @@ impl<'a> ProjectApprovalRequestDismisCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5652,7 +5652,7 @@ impl<'a> ProjectApprovalRequestGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5944,7 +5944,7 @@ impl<'a> ProjectApprovalRequestListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6200,7 +6200,7 @@ impl<'a> ProjectDeleteAccessApprovalSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6457,7 +6457,7 @@ impl<'a> ProjectGetAccessApprovalSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/accessapproval1/src/lib.rs b/gen/accessapproval1/src/lib.rs index 9b88177718..5011921bca 100644 --- a/gen/accessapproval1/src/lib.rs +++ b/gen/accessapproval1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Access Approval* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *accessapproval:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Access Approval* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *accessapproval:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Access Approval* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/cloud-provider-access-management/access-approval/docs). @@ -104,7 +104,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/accessapproval1_beta1-cli/Cargo.toml b/gen/accessapproval1_beta1-cli/Cargo.toml index a04abc674d..22af9a20d9 100644 --- a/gen/accessapproval1_beta1-cli/Cargo.toml +++ b/gen/accessapproval1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-accessapproval1_beta1-cli" -version = "3.0.0+20200708" +version = "3.1.0+20200708" authors = ["Sebastian Thiel "] description = "A complete library to interact with Access Approval (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/accessapproval1_beta1-cli" @@ -20,12 +20,12 @@ name = "accessapproval1-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-accessapproval1_beta1] path = "../accessapproval1_beta1" -version = "3.0.0+20200708" +version = "3.1.0+20200708" diff --git a/gen/accessapproval1_beta1-cli/README.md b/gen/accessapproval1_beta1-cli/README.md index 7c2a21eedd..4508a91976 100644 --- a/gen/accessapproval1_beta1-cli/README.md +++ b/gen/accessapproval1_beta1-cli/README.md @@ -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 *Access Approval* API at revision *20200708*. The CLI is at version *3.0.0*. +This documentation was generated from the *Access Approval* API at revision *20200708*. The CLI is at version *3.1.0*. ```bash accessapproval1-beta1 [options] diff --git a/gen/accessapproval1_beta1-cli/mkdocs.yml b/gen/accessapproval1_beta1-cli/mkdocs.yml index 59f371f5e3..6f835d05ce 100644 --- a/gen/accessapproval1_beta1-cli/mkdocs.yml +++ b/gen/accessapproval1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Access Approval v3.0.0+20200708 +site_name: Access Approval v3.1.0+20200708 site_url: http://byron.github.io/google-apis-rs/google-accessapproval1_beta1-cli site_description: A complete library to interact with Access Approval (protocol v1beta1) diff --git a/gen/accessapproval1_beta1-cli/src/main.rs b/gen/accessapproval1_beta1-cli/src/main.rs index 642705a0f3..a1ef17875d 100644 --- a/gen/accessapproval1_beta1-cli/src/main.rs +++ b/gen/accessapproval1_beta1-cli/src/main.rs @@ -1602,7 +1602,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/accessapproval1-beta1", 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::AccessApproval::new(client, auth), @@ -2244,7 +2250,7 @@ async fn main() { let mut app = App::new("accessapproval1-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20200708") + .version("3.1.0+20200708") .about("An API for controlling access to data by Google personnel.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_accessapproval1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/accessapproval1_beta1/Cargo.toml b/gen/accessapproval1_beta1/Cargo.toml index c93451b860..e61cd04785 100644 --- a/gen/accessapproval1_beta1/Cargo.toml +++ b/gen/accessapproval1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-accessapproval1_beta1" -version = "3.0.0+20200708" +version = "3.1.0+20200708" authors = ["Sebastian Thiel "] description = "A complete library to interact with Access Approval (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/accessapproval1_beta1" homepage = "https://cloud.google.com/access-approval/docs" -documentation = "https://docs.rs/google-accessapproval1_beta1/3.0.0+20200708" +documentation = "https://docs.rs/google-accessapproval1_beta1/3.1.0+20200708" license = "MIT" keywords = ["accessapproval", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/accessapproval1_beta1/README.md b/gen/accessapproval1_beta1/README.md index e3e000bc02..8fcb1e05d5 100644 --- a/gen/accessapproval1_beta1/README.md +++ b/gen/accessapproval1_beta1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-accessapproval1_beta1` library allows access to all features of the *Google Access Approval* service. -This documentation was generated from *Access Approval* crate version *3.0.0+20200708*, where *20200708* is the exact revision of the *accessapproval:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Access Approval* crate version *3.1.0+20200708*, where *20200708* is the exact revision of the *accessapproval:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Access Approval* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/access-approval/docs). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-accessapproval1_beta1/3.0.0+20200708/google_accessapproval1_beta1/AccessApproval) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-accessapproval1_beta1/3.1.0+20200708/google_accessapproval1_beta1/AccessApproval) ... * folders - * [*approval requests approve*](https://docs.rs/google-accessapproval1_beta1/3.0.0+20200708/google_accessapproval1_beta1/api::FolderApprovalRequestApproveCall), [*approval requests dismiss*](https://docs.rs/google-accessapproval1_beta1/3.0.0+20200708/google_accessapproval1_beta1/api::FolderApprovalRequestDismisCall), [*approval requests get*](https://docs.rs/google-accessapproval1_beta1/3.0.0+20200708/google_accessapproval1_beta1/api::FolderApprovalRequestGetCall), [*approval requests list*](https://docs.rs/google-accessapproval1_beta1/3.0.0+20200708/google_accessapproval1_beta1/api::FolderApprovalRequestListCall), [*delete access approval settings*](https://docs.rs/google-accessapproval1_beta1/3.0.0+20200708/google_accessapproval1_beta1/api::FolderDeleteAccessApprovalSettingCall), [*get access approval settings*](https://docs.rs/google-accessapproval1_beta1/3.0.0+20200708/google_accessapproval1_beta1/api::FolderGetAccessApprovalSettingCall) and [*update access approval settings*](https://docs.rs/google-accessapproval1_beta1/3.0.0+20200708/google_accessapproval1_beta1/api::FolderUpdateAccessApprovalSettingCall) + * [*approval requests approve*](https://docs.rs/google-accessapproval1_beta1/3.1.0+20200708/google_accessapproval1_beta1/api::FolderApprovalRequestApproveCall), [*approval requests dismiss*](https://docs.rs/google-accessapproval1_beta1/3.1.0+20200708/google_accessapproval1_beta1/api::FolderApprovalRequestDismisCall), [*approval requests get*](https://docs.rs/google-accessapproval1_beta1/3.1.0+20200708/google_accessapproval1_beta1/api::FolderApprovalRequestGetCall), [*approval requests list*](https://docs.rs/google-accessapproval1_beta1/3.1.0+20200708/google_accessapproval1_beta1/api::FolderApprovalRequestListCall), [*delete access approval settings*](https://docs.rs/google-accessapproval1_beta1/3.1.0+20200708/google_accessapproval1_beta1/api::FolderDeleteAccessApprovalSettingCall), [*get access approval settings*](https://docs.rs/google-accessapproval1_beta1/3.1.0+20200708/google_accessapproval1_beta1/api::FolderGetAccessApprovalSettingCall) and [*update access approval settings*](https://docs.rs/google-accessapproval1_beta1/3.1.0+20200708/google_accessapproval1_beta1/api::FolderUpdateAccessApprovalSettingCall) * organizations - * [*approval requests approve*](https://docs.rs/google-accessapproval1_beta1/3.0.0+20200708/google_accessapproval1_beta1/api::OrganizationApprovalRequestApproveCall), [*approval requests dismiss*](https://docs.rs/google-accessapproval1_beta1/3.0.0+20200708/google_accessapproval1_beta1/api::OrganizationApprovalRequestDismisCall), [*approval requests get*](https://docs.rs/google-accessapproval1_beta1/3.0.0+20200708/google_accessapproval1_beta1/api::OrganizationApprovalRequestGetCall), [*approval requests list*](https://docs.rs/google-accessapproval1_beta1/3.0.0+20200708/google_accessapproval1_beta1/api::OrganizationApprovalRequestListCall), [*delete access approval settings*](https://docs.rs/google-accessapproval1_beta1/3.0.0+20200708/google_accessapproval1_beta1/api::OrganizationDeleteAccessApprovalSettingCall), [*get access approval settings*](https://docs.rs/google-accessapproval1_beta1/3.0.0+20200708/google_accessapproval1_beta1/api::OrganizationGetAccessApprovalSettingCall) and [*update access approval settings*](https://docs.rs/google-accessapproval1_beta1/3.0.0+20200708/google_accessapproval1_beta1/api::OrganizationUpdateAccessApprovalSettingCall) + * [*approval requests approve*](https://docs.rs/google-accessapproval1_beta1/3.1.0+20200708/google_accessapproval1_beta1/api::OrganizationApprovalRequestApproveCall), [*approval requests dismiss*](https://docs.rs/google-accessapproval1_beta1/3.1.0+20200708/google_accessapproval1_beta1/api::OrganizationApprovalRequestDismisCall), [*approval requests get*](https://docs.rs/google-accessapproval1_beta1/3.1.0+20200708/google_accessapproval1_beta1/api::OrganizationApprovalRequestGetCall), [*approval requests list*](https://docs.rs/google-accessapproval1_beta1/3.1.0+20200708/google_accessapproval1_beta1/api::OrganizationApprovalRequestListCall), [*delete access approval settings*](https://docs.rs/google-accessapproval1_beta1/3.1.0+20200708/google_accessapproval1_beta1/api::OrganizationDeleteAccessApprovalSettingCall), [*get access approval settings*](https://docs.rs/google-accessapproval1_beta1/3.1.0+20200708/google_accessapproval1_beta1/api::OrganizationGetAccessApprovalSettingCall) and [*update access approval settings*](https://docs.rs/google-accessapproval1_beta1/3.1.0+20200708/google_accessapproval1_beta1/api::OrganizationUpdateAccessApprovalSettingCall) * projects - * [*approval requests approve*](https://docs.rs/google-accessapproval1_beta1/3.0.0+20200708/google_accessapproval1_beta1/api::ProjectApprovalRequestApproveCall), [*approval requests dismiss*](https://docs.rs/google-accessapproval1_beta1/3.0.0+20200708/google_accessapproval1_beta1/api::ProjectApprovalRequestDismisCall), [*approval requests get*](https://docs.rs/google-accessapproval1_beta1/3.0.0+20200708/google_accessapproval1_beta1/api::ProjectApprovalRequestGetCall), [*approval requests list*](https://docs.rs/google-accessapproval1_beta1/3.0.0+20200708/google_accessapproval1_beta1/api::ProjectApprovalRequestListCall), [*delete access approval settings*](https://docs.rs/google-accessapproval1_beta1/3.0.0+20200708/google_accessapproval1_beta1/api::ProjectDeleteAccessApprovalSettingCall), [*get access approval settings*](https://docs.rs/google-accessapproval1_beta1/3.0.0+20200708/google_accessapproval1_beta1/api::ProjectGetAccessApprovalSettingCall) and [*update access approval settings*](https://docs.rs/google-accessapproval1_beta1/3.0.0+20200708/google_accessapproval1_beta1/api::ProjectUpdateAccessApprovalSettingCall) + * [*approval requests approve*](https://docs.rs/google-accessapproval1_beta1/3.1.0+20200708/google_accessapproval1_beta1/api::ProjectApprovalRequestApproveCall), [*approval requests dismiss*](https://docs.rs/google-accessapproval1_beta1/3.1.0+20200708/google_accessapproval1_beta1/api::ProjectApprovalRequestDismisCall), [*approval requests get*](https://docs.rs/google-accessapproval1_beta1/3.1.0+20200708/google_accessapproval1_beta1/api::ProjectApprovalRequestGetCall), [*approval requests list*](https://docs.rs/google-accessapproval1_beta1/3.1.0+20200708/google_accessapproval1_beta1/api::ProjectApprovalRequestListCall), [*delete access approval settings*](https://docs.rs/google-accessapproval1_beta1/3.1.0+20200708/google_accessapproval1_beta1/api::ProjectDeleteAccessApprovalSettingCall), [*get access approval settings*](https://docs.rs/google-accessapproval1_beta1/3.1.0+20200708/google_accessapproval1_beta1/api::ProjectGetAccessApprovalSettingCall) and [*update access approval settings*](https://docs.rs/google-accessapproval1_beta1/3.1.0+20200708/google_accessapproval1_beta1/api::ProjectUpdateAccessApprovalSettingCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-accessapproval1_beta1/3.0.0+20200708/google_accessapproval1_beta1/AccessApproval)** +* **[Hub](https://docs.rs/google-accessapproval1_beta1/3.1.0+20200708/google_accessapproval1_beta1/AccessApproval)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-accessapproval1_beta1/3.0.0+20200708/google_accessapproval1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-accessapproval1_beta1/3.0.0+20200708/google_accessapproval1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-accessapproval1_beta1/3.0.0+20200708/google_accessapproval1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-accessapproval1_beta1/3.1.0+20200708/google_accessapproval1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-accessapproval1_beta1/3.1.0+20200708/google_accessapproval1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-accessapproval1_beta1/3.1.0+20200708/google_accessapproval1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-accessapproval1_beta1/3.0.0+20200708/google_accessapproval1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-accessapproval1_beta1/3.1.0+20200708/google_accessapproval1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-accessapproval1_beta1/3.0.0+20200708/google_accessapproval1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-accessapproval1_beta1/3.1.0+20200708/google_accessapproval1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -103,7 +103,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-accessapproval1_beta1/3.0.0+20200708/google_accessapproval1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-accessapproval1_beta1/3.1.0+20200708/google_accessapproval1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-accessapproval1_beta1/3.0.0+20200708/google_accessapproval1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-accessapproval1_beta1/3.1.0+20200708/google_accessapproval1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-accessapproval1_beta1/3.0.0+20200708/google_accessapproval1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-accessapproval1_beta1/3.1.0+20200708/google_accessapproval1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-accessapproval1_beta1/3.0.0+20200708/google_accessapproval1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-accessapproval1_beta1/3.1.0+20200708/google_accessapproval1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -156,29 +156,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-accessapproval1_beta1/3.0.0+20200708/google_accessapproval1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-accessapproval1_beta1/3.0.0+20200708/google_accessapproval1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-accessapproval1_beta1/3.1.0+20200708/google_accessapproval1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-accessapproval1_beta1/3.1.0+20200708/google_accessapproval1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-accessapproval1_beta1/3.0.0+20200708/google_accessapproval1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-accessapproval1_beta1/3.1.0+20200708/google_accessapproval1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-accessapproval1_beta1/3.0.0+20200708/google_accessapproval1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-accessapproval1_beta1/3.0.0+20200708/google_accessapproval1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-accessapproval1_beta1/3.1.0+20200708/google_accessapproval1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-accessapproval1_beta1/3.1.0+20200708/google_accessapproval1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-accessapproval1_beta1/3.0.0+20200708/google_accessapproval1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-accessapproval1_beta1/3.1.0+20200708/google_accessapproval1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-accessapproval1_beta1/3.0.0+20200708/google_accessapproval1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-accessapproval1_beta1/3.1.0+20200708/google_accessapproval1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-accessapproval1_beta1/3.0.0+20200708/google_accessapproval1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-accessapproval1_beta1/3.1.0+20200708/google_accessapproval1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/accessapproval1_beta1/src/api.rs b/gen/accessapproval1_beta1/src/api.rs index 730fed2985..0f5cbb0e88 100644 --- a/gen/accessapproval1_beta1/src/api.rs +++ b/gen/accessapproval1_beta1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > AccessApproval<> { AccessApproval { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://accessapproval.googleapis.com/".to_string(), _root_url: "https://accessapproval.googleapis.com/".to_string(), } @@ -136,7 +136,7 @@ impl<'a, > AccessApproval<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -526,7 +526,7 @@ impl client::Part for ResourceProperties {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `approval_requests_approve(...)`, `approval_requests_dismiss(...)`, `approval_requests_get(...)`, `approval_requests_list(...)`, `delete_access_approval_settings(...)`, `get_access_approval_settings(...)` and `update_access_approval_settings(...)` /// // to build up your call. @@ -722,7 +722,7 @@ impl<'a> FolderMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `approval_requests_approve(...)`, `approval_requests_dismiss(...)`, `approval_requests_get(...)`, `approval_requests_list(...)`, `delete_access_approval_settings(...)`, `get_access_approval_settings(...)` and `update_access_approval_settings(...)` /// // to build up your call. @@ -918,7 +918,7 @@ impl<'a> OrganizationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `approval_requests_approve(...)`, `approval_requests_dismiss(...)`, `approval_requests_get(...)`, `approval_requests_list(...)`, `delete_access_approval_settings(...)`, `get_access_approval_settings(...)` and `update_access_approval_settings(...)` /// // to build up your call. @@ -1125,7 +1125,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1420,7 +1420,7 @@ impl<'a> FolderApprovalRequestApproveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1705,7 +1705,7 @@ impl<'a> FolderApprovalRequestDismisCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1963,7 +1963,7 @@ impl<'a> FolderApprovalRequestGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2270,7 +2270,7 @@ impl<'a> FolderApprovalRequestListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2526,7 +2526,7 @@ impl<'a> FolderDeleteAccessApprovalSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2784,7 +2784,7 @@ impl<'a> FolderGetAccessApprovalSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3093,7 +3093,7 @@ impl<'a> FolderUpdateAccessApprovalSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3388,7 +3388,7 @@ impl<'a> OrganizationApprovalRequestApproveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3673,7 +3673,7 @@ impl<'a> OrganizationApprovalRequestDismisCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3931,7 +3931,7 @@ impl<'a> OrganizationApprovalRequestGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4238,7 +4238,7 @@ impl<'a> OrganizationApprovalRequestListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4494,7 +4494,7 @@ impl<'a> OrganizationDeleteAccessApprovalSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4752,7 +4752,7 @@ impl<'a> OrganizationGetAccessApprovalSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5061,7 +5061,7 @@ impl<'a> OrganizationUpdateAccessApprovalSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5356,7 +5356,7 @@ impl<'a> ProjectApprovalRequestApproveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5641,7 +5641,7 @@ impl<'a> ProjectApprovalRequestDismisCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5899,7 +5899,7 @@ impl<'a> ProjectApprovalRequestGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6206,7 +6206,7 @@ impl<'a> ProjectApprovalRequestListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6462,7 +6462,7 @@ impl<'a> ProjectDeleteAccessApprovalSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6720,7 +6720,7 @@ impl<'a> ProjectGetAccessApprovalSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/accessapproval1_beta1/src/lib.rs b/gen/accessapproval1_beta1/src/lib.rs index 359a2e9dc3..dfb1f47373 100644 --- a/gen/accessapproval1_beta1/src/lib.rs +++ b/gen/accessapproval1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Access Approval* crate version *3.0.0+20200708*, where *20200708* is the exact revision of the *accessapproval:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Access Approval* crate version *3.1.0+20200708*, where *20200708* is the exact revision of the *accessapproval:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Access Approval* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/access-approval/docs). @@ -104,7 +104,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = AccessApproval::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/accesscontextmanager1-cli/Cargo.toml b/gen/accesscontextmanager1-cli/Cargo.toml index 2362ae6dce..32a839c721 100644 --- a/gen/accesscontextmanager1-cli/Cargo.toml +++ b/gen/accesscontextmanager1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-accesscontextmanager1-cli" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with Access Context Manager (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/accesscontextmanager1-cli" @@ -20,12 +20,12 @@ name = "accesscontextmanager1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-accesscontextmanager1] path = "../accesscontextmanager1" -version = "3.0.0+20220301" +version = "3.1.0+20220301" diff --git a/gen/accesscontextmanager1-cli/README.md b/gen/accesscontextmanager1-cli/README.md index 890e04d587..1786a3ef26 100644 --- a/gen/accesscontextmanager1-cli/README.md +++ b/gen/accesscontextmanager1-cli/README.md @@ -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 *Access Context Manager* API at revision *20220301*. The CLI is at version *3.0.0*. +This documentation was generated from the *Access Context Manager* API at revision *20220301*. The CLI is at version *3.1.0*. ```bash accesscontextmanager1 [options] diff --git a/gen/accesscontextmanager1-cli/mkdocs.yml b/gen/accesscontextmanager1-cli/mkdocs.yml index 9588a23dab..8f0f5e0497 100644 --- a/gen/accesscontextmanager1-cli/mkdocs.yml +++ b/gen/accesscontextmanager1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Access Context Manager v3.0.0+20220301 +site_name: Access Context Manager v3.1.0+20220301 site_url: http://byron.github.io/google-apis-rs/google-accesscontextmanager1-cli site_description: A complete library to interact with Access Context Manager (protocol v1) diff --git a/gen/accesscontextmanager1-cli/src/main.rs b/gen/accesscontextmanager1-cli/src/main.rs index 66be64fb03..182cbd8a5b 100644 --- a/gen/accesscontextmanager1-cli/src/main.rs +++ b/gen/accesscontextmanager1-cli/src/main.rs @@ -2545,7 +2545,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/accesscontextmanager1", 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::AccessContextManager::new(client, auth), @@ -3387,7 +3393,7 @@ async fn main() { let mut app = App::new("accesscontextmanager1") .author("Sebastian Thiel ") - .version("3.0.0+20220301") + .version("3.1.0+20220301") .about("An API for setting attribute based access control to requests to GCP services.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_accesscontextmanager1_cli") .arg(Arg::with_name("url") diff --git a/gen/accesscontextmanager1/Cargo.toml b/gen/accesscontextmanager1/Cargo.toml index 38484e569b..fa1580e87d 100644 --- a/gen/accesscontextmanager1/Cargo.toml +++ b/gen/accesscontextmanager1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-accesscontextmanager1" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with Access Context Manager (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/accesscontextmanager1" homepage = "https://cloud.google.com/access-context-manager/docs/reference/rest/" -documentation = "https://docs.rs/google-accesscontextmanager1/3.0.0+20220301" +documentation = "https://docs.rs/google-accesscontextmanager1/3.1.0+20220301" license = "MIT" keywords = ["accesscontextmanager", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/accesscontextmanager1/README.md b/gen/accesscontextmanager1/README.md index a26d3b6e50..e649528d26 100644 --- a/gen/accesscontextmanager1/README.md +++ b/gen/accesscontextmanager1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-accesscontextmanager1` library allows access to all features of the *Google Access Context Manager* service. -This documentation was generated from *Access Context Manager* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *accesscontextmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Access Context Manager* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *accesscontextmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Access Context Manager* *v1* API can be found at the [official documentation site](https://cloud.google.com/access-context-manager/docs/reference/rest/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/AccessContextManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/AccessContextManager) ... -* [access policies](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/api::AccessPolicy) - * [*access levels create*](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/api::AccessPolicyAccessLevelCreateCall), [*access levels delete*](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/api::AccessPolicyAccessLevelDeleteCall), [*access levels get*](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/api::AccessPolicyAccessLevelGetCall), [*access levels list*](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/api::AccessPolicyAccessLevelListCall), [*access levels patch*](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/api::AccessPolicyAccessLevelPatchCall), [*access levels replace all*](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/api::AccessPolicyAccessLevelReplaceAllCall), [*access levels test iam permissions*](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/api::AccessPolicyAccessLevelTestIamPermissionCall), [*create*](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/api::AccessPolicyCreateCall), [*delete*](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/api::AccessPolicyDeleteCall), [*get*](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/api::AccessPolicyGetCall), [*get iam policy*](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/api::AccessPolicyGetIamPolicyCall), [*list*](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/api::AccessPolicyListCall), [*patch*](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/api::AccessPolicyPatchCall), [*service perimeters commit*](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/api::AccessPolicyServicePerimeterCommitCall), [*service perimeters create*](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/api::AccessPolicyServicePerimeterCreateCall), [*service perimeters delete*](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/api::AccessPolicyServicePerimeterDeleteCall), [*service perimeters get*](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/api::AccessPolicyServicePerimeterGetCall), [*service perimeters list*](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/api::AccessPolicyServicePerimeterListCall), [*service perimeters patch*](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/api::AccessPolicyServicePerimeterPatchCall), [*service perimeters replace all*](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/api::AccessPolicyServicePerimeterReplaceAllCall), [*service perimeters test iam permissions*](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/api::AccessPolicyServicePerimeterTestIamPermissionCall), [*set iam policy*](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/api::AccessPolicySetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/api::AccessPolicyTestIamPermissionCall) -* [operations](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/api::Operation) - * [*cancel*](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/api::OperationCancelCall), [*delete*](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/api::OperationDeleteCall), [*get*](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/api::OperationGetCall) and [*list*](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/api::OperationListCall) +* [access policies](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/api::AccessPolicy) + * [*access levels create*](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/api::AccessPolicyAccessLevelCreateCall), [*access levels delete*](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/api::AccessPolicyAccessLevelDeleteCall), [*access levels get*](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/api::AccessPolicyAccessLevelGetCall), [*access levels list*](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/api::AccessPolicyAccessLevelListCall), [*access levels patch*](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/api::AccessPolicyAccessLevelPatchCall), [*access levels replace all*](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/api::AccessPolicyAccessLevelReplaceAllCall), [*access levels test iam permissions*](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/api::AccessPolicyAccessLevelTestIamPermissionCall), [*create*](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/api::AccessPolicyCreateCall), [*delete*](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/api::AccessPolicyDeleteCall), [*get*](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/api::AccessPolicyGetCall), [*get iam policy*](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/api::AccessPolicyGetIamPolicyCall), [*list*](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/api::AccessPolicyListCall), [*patch*](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/api::AccessPolicyPatchCall), [*service perimeters commit*](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/api::AccessPolicyServicePerimeterCommitCall), [*service perimeters create*](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/api::AccessPolicyServicePerimeterCreateCall), [*service perimeters delete*](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/api::AccessPolicyServicePerimeterDeleteCall), [*service perimeters get*](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/api::AccessPolicyServicePerimeterGetCall), [*service perimeters list*](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/api::AccessPolicyServicePerimeterListCall), [*service perimeters patch*](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/api::AccessPolicyServicePerimeterPatchCall), [*service perimeters replace all*](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/api::AccessPolicyServicePerimeterReplaceAllCall), [*service perimeters test iam permissions*](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/api::AccessPolicyServicePerimeterTestIamPermissionCall), [*set iam policy*](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/api::AccessPolicySetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/api::AccessPolicyTestIamPermissionCall) +* [operations](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/api::Operation) + * [*cancel*](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/api::OperationCancelCall), [*delete*](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/api::OperationDeleteCall), [*get*](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/api::OperationGetCall) and [*list*](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/api::OperationListCall) * organizations - * [*gcp user access bindings create*](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/api::OrganizationGcpUserAccessBindingCreateCall), [*gcp user access bindings delete*](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/api::OrganizationGcpUserAccessBindingDeleteCall), [*gcp user access bindings get*](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/api::OrganizationGcpUserAccessBindingGetCall), [*gcp user access bindings list*](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/api::OrganizationGcpUserAccessBindingListCall) and [*gcp user access bindings patch*](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/api::OrganizationGcpUserAccessBindingPatchCall) + * [*gcp user access bindings create*](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/api::OrganizationGcpUserAccessBindingCreateCall), [*gcp user access bindings delete*](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/api::OrganizationGcpUserAccessBindingDeleteCall), [*gcp user access bindings get*](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/api::OrganizationGcpUserAccessBindingGetCall), [*gcp user access bindings list*](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/api::OrganizationGcpUserAccessBindingListCall) and [*gcp user access bindings patch*](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/api::OrganizationGcpUserAccessBindingPatchCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/AccessContextManager)** +* **[Hub](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/AccessContextManager)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/client::CallBuilder) -* **[Resources](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/client::CallBuilder) +* **[Resources](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/client::Part)** + * **[Parts](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -112,7 +112,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -143,17 +143,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -163,29 +163,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/client::Delegate) to the -[Method Builder](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/client::Delegate) to the +[Method Builder](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/client::RequestValue) and -[decodable](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/client::RequestValue) and +[decodable](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-accesscontextmanager1/3.0.0+20220301/google_accesscontextmanager1/client::RequestValue) are moved +* [request values](https://docs.rs/google-accesscontextmanager1/3.1.0+20220301/google_accesscontextmanager1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/accesscontextmanager1/src/api.rs b/gen/accesscontextmanager1/src/api.rs index e2f2986a64..ed844e45a9 100644 --- a/gen/accesscontextmanager1/src/api.rs +++ b/gen/accesscontextmanager1/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -116,7 +116,7 @@ impl<'a, > AccessContextManager<> { AccessContextManager { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://accesscontextmanager.googleapis.com/".to_string(), _root_url: "https://accesscontextmanager.googleapis.com/".to_string(), } @@ -133,7 +133,7 @@ impl<'a, > AccessContextManager<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1052,7 +1052,7 @@ impl client::Part for VpcAccessibleServices {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `access_levels_create(...)`, `access_levels_delete(...)`, `access_levels_get(...)`, `access_levels_list(...)`, `access_levels_patch(...)`, `access_levels_replace_all(...)`, `access_levels_test_iam_permissions(...)`, `create(...)`, `delete(...)`, `get(...)`, `get_iam_policy(...)`, `list(...)`, `patch(...)`, `service_perimeters_commit(...)`, `service_perimeters_create(...)`, `service_perimeters_delete(...)`, `service_perimeters_get(...)`, `service_perimeters_list(...)`, `service_perimeters_patch(...)`, `service_perimeters_replace_all(...)`, `service_perimeters_test_iam_permissions(...)`, `set_iam_policy(...)` and `test_iam_permissions(...)` /// // to build up your call. @@ -1517,7 +1517,7 @@ impl<'a> AccessPolicyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `cancel(...)`, `delete(...)`, `get(...)` and `list(...)` /// // to build up your call. @@ -1631,7 +1631,7 @@ impl<'a> OperationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `gcp_user_access_bindings_create(...)`, `gcp_user_access_bindings_delete(...)`, `gcp_user_access_bindings_get(...)`, `gcp_user_access_bindings_list(...)` and `gcp_user_access_bindings_patch(...)` /// // to build up your call. @@ -1772,7 +1772,7 @@ impl<'a> OrganizationMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2057,7 +2057,7 @@ impl<'a> AccessPolicyAccessLevelCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2313,7 +2313,7 @@ impl<'a> AccessPolicyAccessLevelDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2581,7 +2581,7 @@ impl<'a> AccessPolicyAccessLevelGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2874,7 +2874,7 @@ impl<'a> AccessPolicyAccessLevelListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3172,7 +3172,7 @@ impl<'a> AccessPolicyAccessLevelPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3458,7 +3458,7 @@ impl<'a> AccessPolicyAccessLevelReplaceAllCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3744,7 +3744,7 @@ impl<'a> AccessPolicyAccessLevelTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4030,7 +4030,7 @@ impl<'a> AccessPolicyServicePerimeterCommitCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4315,7 +4315,7 @@ impl<'a> AccessPolicyServicePerimeterCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4571,7 +4571,7 @@ impl<'a> AccessPolicyServicePerimeterDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4827,7 +4827,7 @@ impl<'a> AccessPolicyServicePerimeterGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5108,7 +5108,7 @@ impl<'a> AccessPolicyServicePerimeterListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5406,7 +5406,7 @@ impl<'a> AccessPolicyServicePerimeterPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5692,7 +5692,7 @@ impl<'a> AccessPolicyServicePerimeterReplaceAllCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5978,7 +5978,7 @@ impl<'a> AccessPolicyServicePerimeterTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6226,7 +6226,7 @@ impl<'a> AccessPolicyCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6482,7 +6482,7 @@ impl<'a> AccessPolicyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6739,7 +6739,7 @@ impl<'a> AccessPolicyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7024,7 +7024,7 @@ impl<'a> AccessPolicyGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7280,7 +7280,7 @@ impl<'a> AccessPolicyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7578,7 +7578,7 @@ impl<'a> AccessPolicyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7864,7 +7864,7 @@ impl<'a> AccessPolicySetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8150,7 +8150,7 @@ impl<'a> AccessPolicyTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8435,7 +8435,7 @@ impl<'a> OperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8691,7 +8691,7 @@ impl<'a> OperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8947,7 +8947,7 @@ impl<'a> OperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9240,7 +9240,7 @@ impl<'a> OperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9525,7 +9525,7 @@ impl<'a> OrganizationGcpUserAccessBindingCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9781,7 +9781,7 @@ impl<'a> OrganizationGcpUserAccessBindingDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10037,7 +10037,7 @@ impl<'a> OrganizationGcpUserAccessBindingGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10318,7 +10318,7 @@ impl<'a> OrganizationGcpUserAccessBindingListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/accesscontextmanager1/src/lib.rs b/gen/accesscontextmanager1/src/lib.rs index cb5e47dc67..150f693b64 100644 --- a/gen/accesscontextmanager1/src/lib.rs +++ b/gen/accesscontextmanager1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Access Context Manager* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *accesscontextmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Access Context Manager* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *accesscontextmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Access Context Manager* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/access-context-manager/docs/reference/rest/). @@ -113,7 +113,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/accesscontextmanager1_beta-cli/Cargo.toml b/gen/accesscontextmanager1_beta-cli/Cargo.toml index 35916a7996..d4217c2c37 100644 --- a/gen/accesscontextmanager1_beta-cli/Cargo.toml +++ b/gen/accesscontextmanager1_beta-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-accesscontextmanager1_beta-cli" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with Access Context Manager (protocol v1beta)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/accesscontextmanager1_beta-cli" @@ -20,12 +20,12 @@ name = "accesscontextmanager1-beta" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-accesscontextmanager1_beta] path = "../accesscontextmanager1_beta" -version = "3.0.0+20220301" +version = "3.1.0+20220301" diff --git a/gen/accesscontextmanager1_beta-cli/README.md b/gen/accesscontextmanager1_beta-cli/README.md index 21620f84ca..f90d1f73e2 100644 --- a/gen/accesscontextmanager1_beta-cli/README.md +++ b/gen/accesscontextmanager1_beta-cli/README.md @@ -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 *Access Context Manager* API at revision *20220301*. The CLI is at version *3.0.0*. +This documentation was generated from the *Access Context Manager* API at revision *20220301*. The CLI is at version *3.1.0*. ```bash accesscontextmanager1-beta [options] diff --git a/gen/accesscontextmanager1_beta-cli/mkdocs.yml b/gen/accesscontextmanager1_beta-cli/mkdocs.yml index 1cb5c5f098..c424512cba 100644 --- a/gen/accesscontextmanager1_beta-cli/mkdocs.yml +++ b/gen/accesscontextmanager1_beta-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Access Context Manager v3.0.0+20220301 +site_name: Access Context Manager v3.1.0+20220301 site_url: http://byron.github.io/google-apis-rs/google-accesscontextmanager1_beta-cli site_description: A complete library to interact with Access Context Manager (protocol v1beta) diff --git a/gen/accesscontextmanager1_beta-cli/src/main.rs b/gen/accesscontextmanager1_beta-cli/src/main.rs index 1ee4e904c1..f09ee50f34 100644 --- a/gen/accesscontextmanager1_beta-cli/src/main.rs +++ b/gen/accesscontextmanager1_beta-cli/src/main.rs @@ -1254,7 +1254,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/accesscontextmanager1-beta", 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::AccessContextManager::new(client, auth), @@ -1675,7 +1681,7 @@ async fn main() { let mut app = App::new("accesscontextmanager1-beta") .author("Sebastian Thiel ") - .version("3.0.0+20220301") + .version("3.1.0+20220301") .about("An API for setting attribute based access control to requests to GCP services.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_accesscontextmanager1_beta_cli") .arg(Arg::with_name("url") diff --git a/gen/accesscontextmanager1_beta/Cargo.toml b/gen/accesscontextmanager1_beta/Cargo.toml index 8edda5fe62..77fa451e19 100644 --- a/gen/accesscontextmanager1_beta/Cargo.toml +++ b/gen/accesscontextmanager1_beta/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-accesscontextmanager1_beta" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with Access Context Manager (protocol v1beta)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/accesscontextmanager1_beta" homepage = "https://cloud.google.com/access-context-manager/docs/reference/rest/" -documentation = "https://docs.rs/google-accesscontextmanager1_beta/3.0.0+20220301" +documentation = "https://docs.rs/google-accesscontextmanager1_beta/3.1.0+20220301" license = "MIT" keywords = ["accesscontextmanager", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/accesscontextmanager1_beta/README.md b/gen/accesscontextmanager1_beta/README.md index ea6f2381e7..49cf4a4851 100644 --- a/gen/accesscontextmanager1_beta/README.md +++ b/gen/accesscontextmanager1_beta/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-accesscontextmanager1_beta` library allows access to all features of the *Google Access Context Manager* service. -This documentation was generated from *Access Context Manager* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *accesscontextmanager:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Access Context Manager* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *accesscontextmanager:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Access Context Manager* *v1_beta* API can be found at the [official documentation site](https://cloud.google.com/access-context-manager/docs/reference/rest/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-accesscontextmanager1_beta/3.0.0+20220301/google_accesscontextmanager1_beta/AccessContextManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-accesscontextmanager1_beta/3.1.0+20220301/google_accesscontextmanager1_beta/AccessContextManager) ... -* [access policies](https://docs.rs/google-accesscontextmanager1_beta/3.0.0+20220301/google_accesscontextmanager1_beta/api::AccessPolicy) - * [*access levels create*](https://docs.rs/google-accesscontextmanager1_beta/3.0.0+20220301/google_accesscontextmanager1_beta/api::AccessPolicyAccessLevelCreateCall), [*access levels delete*](https://docs.rs/google-accesscontextmanager1_beta/3.0.0+20220301/google_accesscontextmanager1_beta/api::AccessPolicyAccessLevelDeleteCall), [*access levels get*](https://docs.rs/google-accesscontextmanager1_beta/3.0.0+20220301/google_accesscontextmanager1_beta/api::AccessPolicyAccessLevelGetCall), [*access levels list*](https://docs.rs/google-accesscontextmanager1_beta/3.0.0+20220301/google_accesscontextmanager1_beta/api::AccessPolicyAccessLevelListCall), [*access levels patch*](https://docs.rs/google-accesscontextmanager1_beta/3.0.0+20220301/google_accesscontextmanager1_beta/api::AccessPolicyAccessLevelPatchCall), [*create*](https://docs.rs/google-accesscontextmanager1_beta/3.0.0+20220301/google_accesscontextmanager1_beta/api::AccessPolicyCreateCall), [*delete*](https://docs.rs/google-accesscontextmanager1_beta/3.0.0+20220301/google_accesscontextmanager1_beta/api::AccessPolicyDeleteCall), [*get*](https://docs.rs/google-accesscontextmanager1_beta/3.0.0+20220301/google_accesscontextmanager1_beta/api::AccessPolicyGetCall), [*list*](https://docs.rs/google-accesscontextmanager1_beta/3.0.0+20220301/google_accesscontextmanager1_beta/api::AccessPolicyListCall), [*patch*](https://docs.rs/google-accesscontextmanager1_beta/3.0.0+20220301/google_accesscontextmanager1_beta/api::AccessPolicyPatchCall), [*service perimeters create*](https://docs.rs/google-accesscontextmanager1_beta/3.0.0+20220301/google_accesscontextmanager1_beta/api::AccessPolicyServicePerimeterCreateCall), [*service perimeters delete*](https://docs.rs/google-accesscontextmanager1_beta/3.0.0+20220301/google_accesscontextmanager1_beta/api::AccessPolicyServicePerimeterDeleteCall), [*service perimeters get*](https://docs.rs/google-accesscontextmanager1_beta/3.0.0+20220301/google_accesscontextmanager1_beta/api::AccessPolicyServicePerimeterGetCall), [*service perimeters list*](https://docs.rs/google-accesscontextmanager1_beta/3.0.0+20220301/google_accesscontextmanager1_beta/api::AccessPolicyServicePerimeterListCall) and [*service perimeters patch*](https://docs.rs/google-accesscontextmanager1_beta/3.0.0+20220301/google_accesscontextmanager1_beta/api::AccessPolicyServicePerimeterPatchCall) -* [operations](https://docs.rs/google-accesscontextmanager1_beta/3.0.0+20220301/google_accesscontextmanager1_beta/api::Operation) - * [*get*](https://docs.rs/google-accesscontextmanager1_beta/3.0.0+20220301/google_accesscontextmanager1_beta/api::OperationGetCall) +* [access policies](https://docs.rs/google-accesscontextmanager1_beta/3.1.0+20220301/google_accesscontextmanager1_beta/api::AccessPolicy) + * [*access levels create*](https://docs.rs/google-accesscontextmanager1_beta/3.1.0+20220301/google_accesscontextmanager1_beta/api::AccessPolicyAccessLevelCreateCall), [*access levels delete*](https://docs.rs/google-accesscontextmanager1_beta/3.1.0+20220301/google_accesscontextmanager1_beta/api::AccessPolicyAccessLevelDeleteCall), [*access levels get*](https://docs.rs/google-accesscontextmanager1_beta/3.1.0+20220301/google_accesscontextmanager1_beta/api::AccessPolicyAccessLevelGetCall), [*access levels list*](https://docs.rs/google-accesscontextmanager1_beta/3.1.0+20220301/google_accesscontextmanager1_beta/api::AccessPolicyAccessLevelListCall), [*access levels patch*](https://docs.rs/google-accesscontextmanager1_beta/3.1.0+20220301/google_accesscontextmanager1_beta/api::AccessPolicyAccessLevelPatchCall), [*create*](https://docs.rs/google-accesscontextmanager1_beta/3.1.0+20220301/google_accesscontextmanager1_beta/api::AccessPolicyCreateCall), [*delete*](https://docs.rs/google-accesscontextmanager1_beta/3.1.0+20220301/google_accesscontextmanager1_beta/api::AccessPolicyDeleteCall), [*get*](https://docs.rs/google-accesscontextmanager1_beta/3.1.0+20220301/google_accesscontextmanager1_beta/api::AccessPolicyGetCall), [*list*](https://docs.rs/google-accesscontextmanager1_beta/3.1.0+20220301/google_accesscontextmanager1_beta/api::AccessPolicyListCall), [*patch*](https://docs.rs/google-accesscontextmanager1_beta/3.1.0+20220301/google_accesscontextmanager1_beta/api::AccessPolicyPatchCall), [*service perimeters create*](https://docs.rs/google-accesscontextmanager1_beta/3.1.0+20220301/google_accesscontextmanager1_beta/api::AccessPolicyServicePerimeterCreateCall), [*service perimeters delete*](https://docs.rs/google-accesscontextmanager1_beta/3.1.0+20220301/google_accesscontextmanager1_beta/api::AccessPolicyServicePerimeterDeleteCall), [*service perimeters get*](https://docs.rs/google-accesscontextmanager1_beta/3.1.0+20220301/google_accesscontextmanager1_beta/api::AccessPolicyServicePerimeterGetCall), [*service perimeters list*](https://docs.rs/google-accesscontextmanager1_beta/3.1.0+20220301/google_accesscontextmanager1_beta/api::AccessPolicyServicePerimeterListCall) and [*service perimeters patch*](https://docs.rs/google-accesscontextmanager1_beta/3.1.0+20220301/google_accesscontextmanager1_beta/api::AccessPolicyServicePerimeterPatchCall) +* [operations](https://docs.rs/google-accesscontextmanager1_beta/3.1.0+20220301/google_accesscontextmanager1_beta/api::Operation) + * [*get*](https://docs.rs/google-accesscontextmanager1_beta/3.1.0+20220301/google_accesscontextmanager1_beta/api::OperationGetCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-accesscontextmanager1_beta/3.0.0+20220301/google_accesscontextmanager1_beta/AccessContextManager)** +* **[Hub](https://docs.rs/google-accesscontextmanager1_beta/3.1.0+20220301/google_accesscontextmanager1_beta/AccessContextManager)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-accesscontextmanager1_beta/3.0.0+20220301/google_accesscontextmanager1_beta/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-accesscontextmanager1_beta/3.0.0+20220301/google_accesscontextmanager1_beta/client::CallBuilder) -* **[Resources](https://docs.rs/google-accesscontextmanager1_beta/3.0.0+20220301/google_accesscontextmanager1_beta/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-accesscontextmanager1_beta/3.1.0+20220301/google_accesscontextmanager1_beta/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-accesscontextmanager1_beta/3.1.0+20220301/google_accesscontextmanager1_beta/client::CallBuilder) +* **[Resources](https://docs.rs/google-accesscontextmanager1_beta/3.1.0+20220301/google_accesscontextmanager1_beta/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-accesscontextmanager1_beta/3.0.0+20220301/google_accesscontextmanager1_beta/client::Part)** + * **[Parts](https://docs.rs/google-accesscontextmanager1_beta/3.1.0+20220301/google_accesscontextmanager1_beta/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-accesscontextmanager1_beta/3.0.0+20220301/google_accesscontextmanager1_beta/client::CallBuilder)** +* **[Activities](https://docs.rs/google-accesscontextmanager1_beta/3.1.0+20220301/google_accesscontextmanager1_beta/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -102,7 +102,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-accesscontextmanager1_beta/3.0.0+20220301/google_accesscontextmanager1_beta/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-accesscontextmanager1_beta/3.1.0+20220301/google_accesscontextmanager1_beta/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-accesscontextmanager1_beta/3.0.0+20220301/google_accesscontextmanager1_beta/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-accesscontextmanager1_beta/3.1.0+20220301/google_accesscontextmanager1_beta/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-accesscontextmanager1_beta/3.0.0+20220301/google_accesscontextmanager1_beta/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-accesscontextmanager1_beta/3.1.0+20220301/google_accesscontextmanager1_beta/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-accesscontextmanager1_beta/3.0.0+20220301/google_accesscontextmanager1_beta/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-accesscontextmanager1_beta/3.1.0+20220301/google_accesscontextmanager1_beta/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -156,29 +156,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-accesscontextmanager1_beta/3.0.0+20220301/google_accesscontextmanager1_beta/client::Delegate) to the -[Method Builder](https://docs.rs/google-accesscontextmanager1_beta/3.0.0+20220301/google_accesscontextmanager1_beta/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-accesscontextmanager1_beta/3.1.0+20220301/google_accesscontextmanager1_beta/client::Delegate) to the +[Method Builder](https://docs.rs/google-accesscontextmanager1_beta/3.1.0+20220301/google_accesscontextmanager1_beta/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-accesscontextmanager1_beta/3.0.0+20220301/google_accesscontextmanager1_beta/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-accesscontextmanager1_beta/3.1.0+20220301/google_accesscontextmanager1_beta/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-accesscontextmanager1_beta/3.0.0+20220301/google_accesscontextmanager1_beta/client::RequestValue) and -[decodable](https://docs.rs/google-accesscontextmanager1_beta/3.0.0+20220301/google_accesscontextmanager1_beta/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-accesscontextmanager1_beta/3.1.0+20220301/google_accesscontextmanager1_beta/client::RequestValue) and +[decodable](https://docs.rs/google-accesscontextmanager1_beta/3.1.0+20220301/google_accesscontextmanager1_beta/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-accesscontextmanager1_beta/3.0.0+20220301/google_accesscontextmanager1_beta/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-accesscontextmanager1_beta/3.1.0+20220301/google_accesscontextmanager1_beta/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-accesscontextmanager1_beta/3.0.0+20220301/google_accesscontextmanager1_beta/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-accesscontextmanager1_beta/3.1.0+20220301/google_accesscontextmanager1_beta/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-accesscontextmanager1_beta/3.0.0+20220301/google_accesscontextmanager1_beta/client::RequestValue) are moved +* [request values](https://docs.rs/google-accesscontextmanager1_beta/3.1.0+20220301/google_accesscontextmanager1_beta/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/accesscontextmanager1_beta/src/api.rs b/gen/accesscontextmanager1_beta/src/api.rs index 62b98f6ca3..b096da025a 100644 --- a/gen/accesscontextmanager1_beta/src/api.rs +++ b/gen/accesscontextmanager1_beta/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > AccessContextManager<> { AccessContextManager { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://accesscontextmanager.googleapis.com/".to_string(), _root_url: "https://accesscontextmanager.googleapis.com/".to_string(), } @@ -134,7 +134,7 @@ impl<'a, > AccessContextManager<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -556,7 +556,7 @@ impl client::Part for VpcAccessibleServices {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `access_levels_create(...)`, `access_levels_delete(...)`, `access_levels_get(...)`, `access_levels_list(...)`, `access_levels_patch(...)`, `create(...)`, `delete(...)`, `get(...)`, `list(...)`, `patch(...)`, `service_perimeters_create(...)`, `service_perimeters_delete(...)`, `service_perimeters_get(...)`, `service_perimeters_list(...)` and `service_perimeters_patch(...)` /// // to build up your call. @@ -869,7 +869,7 @@ impl<'a> AccessPolicyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -935,7 +935,7 @@ impl<'a> OperationMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1220,7 +1220,7 @@ impl<'a> AccessPolicyAccessLevelCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1476,7 +1476,7 @@ impl<'a> AccessPolicyAccessLevelDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1744,7 +1744,7 @@ impl<'a> AccessPolicyAccessLevelGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2037,7 +2037,7 @@ impl<'a> AccessPolicyAccessLevelListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2335,7 +2335,7 @@ impl<'a> AccessPolicyAccessLevelPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2620,7 +2620,7 @@ impl<'a> AccessPolicyServicePerimeterCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2876,7 +2876,7 @@ impl<'a> AccessPolicyServicePerimeterDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3132,7 +3132,7 @@ impl<'a> AccessPolicyServicePerimeterGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3413,7 +3413,7 @@ impl<'a> AccessPolicyServicePerimeterListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3711,7 +3711,7 @@ impl<'a> AccessPolicyServicePerimeterPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3959,7 +3959,7 @@ impl<'a> AccessPolicyCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4215,7 +4215,7 @@ impl<'a> AccessPolicyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4471,7 +4471,7 @@ impl<'a> AccessPolicyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4727,7 +4727,7 @@ impl<'a> AccessPolicyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5024,7 +5024,7 @@ impl<'a> AccessPolicyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/accesscontextmanager1_beta/src/lib.rs b/gen/accesscontextmanager1_beta/src/lib.rs index fa585c9254..f6c0122176 100644 --- a/gen/accesscontextmanager1_beta/src/lib.rs +++ b/gen/accesscontextmanager1_beta/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Access Context Manager* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *accesscontextmanager:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Access Context Manager* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *accesscontextmanager:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Access Context Manager* *v1_beta* API can be found at the //! [official documentation site](https://cloud.google.com/access-context-manager/docs/reference/rest/). @@ -103,7 +103,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = AccessContextManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/adexchangebuyer1d3-cli/Cargo.toml b/gen/adexchangebuyer1d3-cli/Cargo.toml index 60de732840..cc1f8e1b4b 100644 --- a/gen/adexchangebuyer1d3-cli/Cargo.toml +++ b/gen/adexchangebuyer1d3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-adexchangebuyer1d3-cli" -version = "3.0.0+20210330" +version = "3.1.0+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with Ad Exchange Buyer (protocol v1.3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/adexchangebuyer1d3-cli" @@ -20,12 +20,12 @@ name = "adexchangebuyer1d3" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-adexchangebuyer1d3] path = "../adexchangebuyer1d3" -version = "3.0.0+20210330" +version = "3.1.0+20210330" diff --git a/gen/adexchangebuyer1d3-cli/README.md b/gen/adexchangebuyer1d3-cli/README.md index 9cd7c846c2..1e85c0b968 100644 --- a/gen/adexchangebuyer1d3-cli/README.md +++ b/gen/adexchangebuyer1d3-cli/README.md @@ -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 *Ad Exchange Buyer* API at revision *20210330*. The CLI is at version *3.0.0*. +This documentation was generated from the *Ad Exchange Buyer* API at revision *20210330*. The CLI is at version *3.1.0*. ```bash adexchangebuyer1d3 [options] diff --git a/gen/adexchangebuyer1d3-cli/mkdocs.yml b/gen/adexchangebuyer1d3-cli/mkdocs.yml index 393e43b82a..7b5d7f0e1f 100644 --- a/gen/adexchangebuyer1d3-cli/mkdocs.yml +++ b/gen/adexchangebuyer1d3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Ad Exchange Buyer v3.0.0+20210330 +site_name: Ad Exchange Buyer v3.1.0+20210330 site_url: http://byron.github.io/google-apis-rs/google-adexchangebuyer1d3-cli site_description: A complete library to interact with Ad Exchange Buyer (protocol v1.3) diff --git a/gen/adexchangebuyer1d3-cli/src/main.rs b/gen/adexchangebuyer1d3-cli/src/main.rs index edcec55ef6..09ef789652 100644 --- a/gen/adexchangebuyer1d3-cli/src/main.rs +++ b/gen/adexchangebuyer1d3-cli/src/main.rs @@ -1697,7 +1697,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/adexchangebuyer1d3", 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::AdExchangeBuyer::new(client, auth), @@ -2288,7 +2294,7 @@ async fn main() { let mut app = App::new("adexchangebuyer1d3") .author("Sebastian Thiel ") - .version("3.0.0+20210330") + .version("3.1.0+20210330") .about("Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_adexchangebuyer1d3_cli") .arg(Arg::with_name("url") diff --git a/gen/adexchangebuyer1d3/Cargo.toml b/gen/adexchangebuyer1d3/Cargo.toml index c08992dbbf..dca25b070d 100644 --- a/gen/adexchangebuyer1d3/Cargo.toml +++ b/gen/adexchangebuyer1d3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-adexchangebuyer1d3" -version = "3.0.0+20210330" +version = "3.1.0+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with Ad Exchange Buyer (protocol v1.3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/adexchangebuyer1d3" homepage = "https://developers.google.com/ad-exchange/buyer-rest" -documentation = "https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330" +documentation = "https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330" license = "MIT" keywords = ["adexchangebuyer", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/adexchangebuyer1d3/README.md b/gen/adexchangebuyer1d3/README.md index f91cdd0354..c6f12d7e7d 100644 --- a/gen/adexchangebuyer1d3/README.md +++ b/gen/adexchangebuyer1d3/README.md @@ -5,28 +5,28 @@ DO NOT EDIT ! --> The `google-adexchangebuyer1d3` library allows access to all features of the *Google Ad Exchange Buyer* service. -This documentation was generated from *Ad Exchange Buyer* crate version *3.0.0+20210330*, where *20210330* is the exact revision of the *adexchangebuyer:v1.3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Ad Exchange Buyer* crate version *3.1.0+20210330*, where *20210330* is the exact revision of the *adexchangebuyer:v1.3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Ad Exchange Buyer* *v1d3* API can be found at the [official documentation site](https://developers.google.com/ad-exchange/buyer-rest). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/AdExchangeBuyer) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/AdExchangeBuyer) ... -* [accounts](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/api::Account) - * [*get*](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/api::AccountGetCall), [*list*](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/api::AccountListCall), [*patch*](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/api::AccountPatchCall) and [*update*](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/api::AccountUpdateCall) -* [billing info](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/api::BillingInfo) - * [*get*](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/api::BillingInfoGetCall) and [*list*](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/api::BillingInfoListCall) -* [budget](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/api::Budget) - * [*get*](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/api::BudgetGetCall), [*patch*](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/api::BudgetPatchCall) and [*update*](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/api::BudgetUpdateCall) -* [creatives](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/api::Creative) - * [*get*](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/api::CreativeGetCall), [*insert*](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/api::CreativeInsertCall) and [*list*](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/api::CreativeListCall) -* [direct deals](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/api::DirectDeal) - * [*get*](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/api::DirectDealGetCall) and [*list*](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/api::DirectDealListCall) -* [performance report](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/api::PerformanceReport) - * [*list*](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/api::PerformanceReportListCall) -* [pretargeting config](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/api::PretargetingConfig) - * [*delete*](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/api::PretargetingConfigDeleteCall), [*get*](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/api::PretargetingConfigGetCall), [*insert*](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/api::PretargetingConfigInsertCall), [*list*](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/api::PretargetingConfigListCall), [*patch*](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/api::PretargetingConfigPatchCall) and [*update*](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/api::PretargetingConfigUpdateCall) +* [accounts](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/api::Account) + * [*get*](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/api::AccountGetCall), [*list*](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/api::AccountListCall), [*patch*](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/api::AccountPatchCall) and [*update*](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/api::AccountUpdateCall) +* [billing info](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/api::BillingInfo) + * [*get*](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/api::BillingInfoGetCall) and [*list*](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/api::BillingInfoListCall) +* [budget](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/api::Budget) + * [*get*](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/api::BudgetGetCall), [*patch*](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/api::BudgetPatchCall) and [*update*](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/api::BudgetUpdateCall) +* [creatives](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/api::Creative) + * [*get*](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/api::CreativeGetCall), [*insert*](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/api::CreativeInsertCall) and [*list*](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/api::CreativeListCall) +* [direct deals](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/api::DirectDeal) + * [*get*](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/api::DirectDealGetCall) and [*list*](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/api::DirectDealListCall) +* [performance report](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/api::PerformanceReport) + * [*list*](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/api::PerformanceReportListCall) +* [pretargeting config](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/api::PretargetingConfig) + * [*delete*](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/api::PretargetingConfigDeleteCall), [*get*](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/api::PretargetingConfigGetCall), [*insert*](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/api::PretargetingConfigInsertCall), [*list*](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/api::PretargetingConfigListCall), [*patch*](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/api::PretargetingConfigPatchCall) and [*update*](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/api::PretargetingConfigUpdateCall) @@ -35,17 +35,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/AdExchangeBuyer)** +* **[Hub](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/AdExchangeBuyer)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/client::CallBuilder) -* **[Resources](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/client::CallBuilder) +* **[Resources](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/client::Part)** + * **[Parts](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -106,7 +106,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -139,17 +139,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -159,29 +159,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/client::Delegate) to the -[Method Builder](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/client::Delegate) to the +[Method Builder](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/client::RequestValue) and -[decodable](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/client::RequestValue) and +[decodable](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-adexchangebuyer1d3/3.0.0+20210330/google_adexchangebuyer1d3/client::RequestValue) are moved +* [request values](https://docs.rs/google-adexchangebuyer1d3/3.1.0+20210330/google_adexchangebuyer1d3/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/adexchangebuyer1d3/src/api.rs b/gen/adexchangebuyer1d3/src/api.rs index 8a4c97a3a2..925163defa 100644 --- a/gen/adexchangebuyer1d3/src/api.rs +++ b/gen/adexchangebuyer1d3/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > AdExchangeBuyer<> { AdExchangeBuyer { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/adexchangebuyer/v1.3/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -148,7 +148,7 @@ impl<'a, > AdExchangeBuyer<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -989,7 +989,7 @@ impl client::Part for PretargetingConfigPlacements {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -1097,7 +1097,7 @@ impl<'a> AccountMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -1167,7 +1167,7 @@ impl<'a> BillingInfoMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -1269,7 +1269,7 @@ impl<'a> BudgetMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -1363,7 +1363,7 @@ impl<'a> CreativeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -1433,7 +1433,7 @@ impl<'a> DirectDealMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -1497,7 +1497,7 @@ impl<'a> PerformanceReportMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -1661,7 +1661,7 @@ impl<'a> PretargetingConfigMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1909,7 +1909,7 @@ impl<'a> AccountGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2125,7 +2125,7 @@ impl<'a> AccountListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2403,7 +2403,7 @@ impl<'a> AccountPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2680,7 +2680,7 @@ impl<'a> AccountUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2928,7 +2928,7 @@ impl<'a> BillingInfoGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3143,7 +3143,7 @@ impl<'a> BillingInfoListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3404,7 +3404,7 @@ impl<'a> BudgetGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3694,7 +3694,7 @@ impl<'a> BudgetPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3983,7 +3983,7 @@ impl<'a> BudgetUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4244,7 +4244,7 @@ impl<'a> CreativeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4488,7 +4488,7 @@ impl<'a> CreativeInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4769,7 +4769,7 @@ impl<'a> CreativeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5017,7 +5017,7 @@ impl<'a> DirectDealGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5232,7 +5232,7 @@ impl<'a> DirectDealListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5507,7 +5507,7 @@ impl<'a> PerformanceReportListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5756,7 +5756,7 @@ impl<'a> PretargetingConfigDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6017,7 +6017,7 @@ impl<'a> PretargetingConfigGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6294,7 +6294,7 @@ impl<'a> PretargetingConfigInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6543,7 +6543,7 @@ impl<'a> PretargetingConfigListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6833,7 +6833,7 @@ impl<'a> PretargetingConfigPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/adexchangebuyer1d3/src/lib.rs b/gen/adexchangebuyer1d3/src/lib.rs index 5d2d80e7c8..fef3ca8b6d 100644 --- a/gen/adexchangebuyer1d3/src/lib.rs +++ b/gen/adexchangebuyer1d3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Ad Exchange Buyer* crate version *3.0.0+20210330*, where *20210330* is the exact revision of the *adexchangebuyer:v1.3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Ad Exchange Buyer* crate version *3.1.0+20210330*, where *20210330* is the exact revision of the *adexchangebuyer:v1.3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Ad Exchange Buyer* *v1d3* API can be found at the //! [official documentation site](https://developers.google.com/ad-exchange/buyer-rest). @@ -107,7 +107,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/adexchangebuyer1d4-cli/Cargo.toml b/gen/adexchangebuyer1d4-cli/Cargo.toml index 6597824553..497554d98b 100644 --- a/gen/adexchangebuyer1d4-cli/Cargo.toml +++ b/gen/adexchangebuyer1d4-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-adexchangebuyer1d4-cli" -version = "3.0.0+20210330" +version = "3.1.0+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with Ad Exchange Buyer (protocol v1.4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/adexchangebuyer1d4-cli" @@ -20,12 +20,12 @@ name = "adexchangebuyer1d4" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-adexchangebuyer1d4] path = "../adexchangebuyer1d4" -version = "3.0.0+20210330" +version = "3.1.0+20210330" diff --git a/gen/adexchangebuyer1d4-cli/README.md b/gen/adexchangebuyer1d4-cli/README.md index 5fe368b762..c31eb3f36b 100644 --- a/gen/adexchangebuyer1d4-cli/README.md +++ b/gen/adexchangebuyer1d4-cli/README.md @@ -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 *Ad Exchange Buyer* API at revision *20210330*. The CLI is at version *3.0.0*. +This documentation was generated from the *Ad Exchange Buyer* API at revision *20210330*. The CLI is at version *3.1.0*. ```bash adexchangebuyer1d4 [options] diff --git a/gen/adexchangebuyer1d4-cli/mkdocs.yml b/gen/adexchangebuyer1d4-cli/mkdocs.yml index 810cbf72c4..a2c6a122e2 100644 --- a/gen/adexchangebuyer1d4-cli/mkdocs.yml +++ b/gen/adexchangebuyer1d4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Ad Exchange Buyer v3.0.0+20210330 +site_name: Ad Exchange Buyer v3.1.0+20210330 site_url: http://byron.github.io/google-apis-rs/google-adexchangebuyer1d4-cli site_description: A complete library to interact with Ad Exchange Buyer (protocol v1.4) diff --git a/gen/adexchangebuyer1d4-cli/src/main.rs b/gen/adexchangebuyer1d4-cli/src/main.rs index 8833dd4360..cbe589ff35 100644 --- a/gen/adexchangebuyer1d4-cli/src/main.rs +++ b/gen/adexchangebuyer1d4-cli/src/main.rs @@ -3028,7 +3028,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/adexchangebuyer1d4", 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::AdExchangeBuyer::new(client, auth), @@ -4074,7 +4080,7 @@ async fn main() { let mut app = App::new("adexchangebuyer1d4") .author("Sebastian Thiel ") - .version("3.0.0+20210330") + .version("3.1.0+20210330") .about("Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_adexchangebuyer1d4_cli") .arg(Arg::with_name("url") diff --git a/gen/adexchangebuyer1d4/Cargo.toml b/gen/adexchangebuyer1d4/Cargo.toml index 235a14a5a9..abb3bb7557 100644 --- a/gen/adexchangebuyer1d4/Cargo.toml +++ b/gen/adexchangebuyer1d4/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-adexchangebuyer1d4" -version = "3.0.0+20210330" +version = "3.1.0+20210330" authors = ["Sebastian Thiel "] description = "A complete library to interact with Ad Exchange Buyer (protocol v1.4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/adexchangebuyer1d4" homepage = "https://developers.google.com/ad-exchange/buyer-rest" -documentation = "https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330" +documentation = "https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330" license = "MIT" keywords = ["adexchangebuyer", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/adexchangebuyer1d4/README.md b/gen/adexchangebuyer1d4/README.md index 47fc1c0094..9c5897f9a1 100644 --- a/gen/adexchangebuyer1d4/README.md +++ b/gen/adexchangebuyer1d4/README.md @@ -5,38 +5,38 @@ DO NOT EDIT ! --> The `google-adexchangebuyer1d4` library allows access to all features of the *Google Ad Exchange Buyer* service. -This documentation was generated from *Ad Exchange Buyer* crate version *3.0.0+20210330*, where *20210330* is the exact revision of the *adexchangebuyer:v1.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Ad Exchange Buyer* crate version *3.1.0+20210330*, where *20210330* is the exact revision of the *adexchangebuyer:v1.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Ad Exchange Buyer* *v1d4* API can be found at the [official documentation site](https://developers.google.com/ad-exchange/buyer-rest). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/AdExchangeBuyer) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/AdExchangeBuyer) ... -* [accounts](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::Account) - * [*get*](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::AccountGetCall), [*list*](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::AccountListCall), [*patch*](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::AccountPatchCall) and [*update*](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::AccountUpdateCall) -* [billing info](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::BillingInfo) - * [*get*](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::BillingInfoGetCall) and [*list*](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::BillingInfoListCall) -* [budget](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::Budget) - * [*get*](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::BudgetGetCall), [*patch*](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::BudgetPatchCall) and [*update*](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::BudgetUpdateCall) -* [creatives](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::Creative) - * [*add deal*](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::CreativeAddDealCall), [*get*](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::CreativeGetCall), [*insert*](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::CreativeInsertCall), [*list*](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::CreativeListCall), [*list deals*](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::CreativeListDealCall) and [*remove deal*](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::CreativeRemoveDealCall) +* [accounts](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::Account) + * [*get*](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::AccountGetCall), [*list*](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::AccountListCall), [*patch*](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::AccountPatchCall) and [*update*](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::AccountUpdateCall) +* [billing info](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::BillingInfo) + * [*get*](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::BillingInfoGetCall) and [*list*](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::BillingInfoListCall) +* [budget](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::Budget) + * [*get*](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::BudgetGetCall), [*patch*](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::BudgetPatchCall) and [*update*](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::BudgetUpdateCall) +* [creatives](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::Creative) + * [*add deal*](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::CreativeAddDealCall), [*get*](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::CreativeGetCall), [*insert*](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::CreativeInsertCall), [*list*](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::CreativeListCall), [*list deals*](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::CreativeListDealCall) and [*remove deal*](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::CreativeRemoveDealCall) * marketplacedeals - * [*delete*](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::MarketplacedealDeleteCall), [*insert*](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::MarketplacedealInsertCall), [*list*](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::MarketplacedealListCall) and [*update*](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::MarketplacedealUpdateCall) + * [*delete*](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::MarketplacedealDeleteCall), [*insert*](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::MarketplacedealInsertCall), [*list*](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::MarketplacedealListCall) and [*update*](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::MarketplacedealUpdateCall) * marketplacenotes - * [*insert*](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::MarketplacenoteInsertCall) and [*list*](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::MarketplacenoteListCall) + * [*insert*](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::MarketplacenoteInsertCall) and [*list*](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::MarketplacenoteListCall) * marketplaceprivateauction - * [*updateproposal*](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::MarketplaceprivateauctionUpdateproposalCall) -* [performance report](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::PerformanceReport) - * [*list*](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::PerformanceReportListCall) -* [pretargeting config](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::PretargetingConfig) - * [*delete*](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::PretargetingConfigDeleteCall), [*get*](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::PretargetingConfigGetCall), [*insert*](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::PretargetingConfigInsertCall), [*list*](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::PretargetingConfigListCall), [*patch*](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::PretargetingConfigPatchCall) and [*update*](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::PretargetingConfigUpdateCall) -* [products](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::Product) - * [*get*](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::ProductGetCall) and [*search*](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::ProductSearchCall) -* [proposals](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::Proposal) - * [*get*](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::ProposalGetCall), [*insert*](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::ProposalInsertCall), [*patch*](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::ProposalPatchCall), [*search*](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::ProposalSearchCall), [*setupcomplete*](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::ProposalSetupcompleteCall) and [*update*](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::ProposalUpdateCall) + * [*updateproposal*](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::MarketplaceprivateauctionUpdateproposalCall) +* [performance report](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::PerformanceReport) + * [*list*](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::PerformanceReportListCall) +* [pretargeting config](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::PretargetingConfig) + * [*delete*](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::PretargetingConfigDeleteCall), [*get*](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::PretargetingConfigGetCall), [*insert*](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::PretargetingConfigInsertCall), [*list*](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::PretargetingConfigListCall), [*patch*](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::PretargetingConfigPatchCall) and [*update*](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::PretargetingConfigUpdateCall) +* [products](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::Product) + * [*get*](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::ProductGetCall) and [*search*](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::ProductSearchCall) +* [proposals](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::Proposal) + * [*get*](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::ProposalGetCall), [*insert*](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::ProposalInsertCall), [*patch*](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::ProposalPatchCall), [*search*](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::ProposalSearchCall), [*setupcomplete*](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::ProposalSetupcompleteCall) and [*update*](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::ProposalUpdateCall) * pubprofiles - * [*list*](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/api::PubprofileListCall) + * [*list*](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/api::PubprofileListCall) @@ -45,17 +45,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/AdExchangeBuyer)** +* **[Hub](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/AdExchangeBuyer)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/client::CallBuilder) -* **[Resources](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/client::CallBuilder) +* **[Resources](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/client::Part)** + * **[Parts](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/client::CallBuilder)** +* **[Activities](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -117,7 +117,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -151,17 +151,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -171,29 +171,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/client::Delegate) to the -[Method Builder](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/client::Delegate) to the +[Method Builder](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/client::RequestValue) and -[decodable](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/client::RequestValue) and +[decodable](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-adexchangebuyer1d4/3.0.0+20210330/google_adexchangebuyer1d4/client::RequestValue) are moved +* [request values](https://docs.rs/google-adexchangebuyer1d4/3.1.0+20210330/google_adexchangebuyer1d4/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/adexchangebuyer1d4/src/api.rs b/gen/adexchangebuyer1d4/src/api.rs index 6894ba946c..279008248b 100644 --- a/gen/adexchangebuyer1d4/src/api.rs +++ b/gen/adexchangebuyer1d4/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > AdExchangeBuyer<> { AdExchangeBuyer { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/adexchangebuyer/v1.4/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -163,7 +163,7 @@ impl<'a, > AdExchangeBuyer<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -2422,7 +2422,7 @@ impl client::Part for PretargetingConfigVideoPlayerSizes {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -2532,7 +2532,7 @@ impl<'a> AccountMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -2602,7 +2602,7 @@ impl<'a> BillingInfoMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -2704,7 +2704,7 @@ impl<'a> BudgetMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `add_deal(...)`, `get(...)`, `insert(...)`, `list(...)`, `list_deals(...)` and `remove_deal(...)` /// // to build up your call. @@ -2860,7 +2860,7 @@ impl<'a> CreativeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `insert(...)`, `list(...)` and `update(...)` /// // to build up your call. @@ -2976,7 +2976,7 @@ impl<'a> MarketplacedealMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `insert(...)` and `list(...)` /// // to build up your call. @@ -3054,7 +3054,7 @@ impl<'a> MarketplacenoteMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `updateproposal(...)` /// // to build up your call. @@ -3114,7 +3114,7 @@ impl<'a> MarketplaceprivateauctionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -3178,7 +3178,7 @@ impl<'a> PerformanceReportMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -3335,7 +3335,7 @@ impl<'a> PretargetingConfigMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `search(...)` /// // to build up your call. @@ -3406,7 +3406,7 @@ impl<'a> ProductMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `patch(...)`, `search(...)`, `setupcomplete(...)` and `update(...)` /// // to build up your call. @@ -3557,7 +3557,7 @@ impl<'a> ProposalMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -3622,7 +3622,7 @@ impl<'a> PubprofileMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3870,7 +3870,7 @@ impl<'a> AccountGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4086,7 +4086,7 @@ impl<'a> AccountListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4376,7 +4376,7 @@ impl<'a> AccountPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4665,7 +4665,7 @@ impl<'a> AccountUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4913,7 +4913,7 @@ impl<'a> BillingInfoGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5128,7 +5128,7 @@ impl<'a> BillingInfoListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5389,7 +5389,7 @@ impl<'a> BudgetGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5679,7 +5679,7 @@ impl<'a> BudgetPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5968,7 +5968,7 @@ impl<'a> BudgetUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6229,7 +6229,7 @@ impl<'a> CreativeAddDealCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6490,7 +6490,7 @@ impl<'a> CreativeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6734,7 +6734,7 @@ impl<'a> CreativeInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7027,7 +7027,7 @@ impl<'a> CreativeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7287,7 +7287,7 @@ impl<'a> CreativeListDealCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7549,7 +7549,7 @@ impl<'a> CreativeRemoveDealCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7827,7 +7827,7 @@ impl<'a> MarketplacedealDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8104,7 +8104,7 @@ impl<'a> MarketplacedealInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8365,7 +8365,7 @@ impl<'a> MarketplacedealListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8643,7 +8643,7 @@ impl<'a> MarketplacedealUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8920,7 +8920,7 @@ impl<'a> MarketplacenoteInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9181,7 +9181,7 @@ impl<'a> MarketplacenoteListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9447,7 +9447,7 @@ impl<'a> MarketplaceprivateauctionUpdateproposalCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9722,7 +9722,7 @@ impl<'a> PerformanceReportListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9971,7 +9971,7 @@ impl<'a> PretargetingConfigDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10232,7 +10232,7 @@ impl<'a> PretargetingConfigGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10509,7 +10509,7 @@ impl<'a> PretargetingConfigInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10758,7 +10758,7 @@ impl<'a> PretargetingConfigListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11048,7 +11048,7 @@ impl<'a> PretargetingConfigPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11337,7 +11337,7 @@ impl<'a> PretargetingConfigUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11585,7 +11585,7 @@ impl<'a> ProductGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11812,7 +11812,7 @@ impl<'a> ProductSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12061,7 +12061,7 @@ impl<'a> ProposalGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12306,7 +12306,7 @@ impl<'a> ProposalInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12607,7 +12607,7 @@ impl<'a> ProposalPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12834,7 +12834,7 @@ impl<'a> ProposalSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13072,7 +13072,7 @@ impl<'a> ProposalSetupcompleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13373,7 +13373,7 @@ impl<'a> ProposalUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/adexchangebuyer1d4/src/lib.rs b/gen/adexchangebuyer1d4/src/lib.rs index 4be2bb7509..5ef073d405 100644 --- a/gen/adexchangebuyer1d4/src/lib.rs +++ b/gen/adexchangebuyer1d4/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Ad Exchange Buyer* crate version *3.0.0+20210330*, where *20210330* is the exact revision of the *adexchangebuyer:v1.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Ad Exchange Buyer* crate version *3.1.0+20210330*, where *20210330* is the exact revision of the *adexchangebuyer:v1.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Ad Exchange Buyer* *v1d4* API can be found at the //! [official documentation site](https://developers.google.com/ad-exchange/buyer-rest). @@ -118,7 +118,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = AdExchangeBuyer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/adexchangebuyer2_v2_beta1-cli/Cargo.toml b/gen/adexchangebuyer2_v2_beta1-cli/Cargo.toml index 6093d7f2dd..633efde999 100644 --- a/gen/adexchangebuyer2_v2_beta1-cli/Cargo.toml +++ b/gen/adexchangebuyer2_v2_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-adexchangebuyer2_v2_beta1-cli" -version = "3.0.0+20220307" +version = "3.1.0+20220307" authors = ["Sebastian Thiel "] description = "A complete library to interact with AdExchangeBuyerII (protocol v2beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/adexchangebuyer2_v2_beta1-cli" @@ -20,12 +20,12 @@ name = "adexchangebuyer2-v2-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-adexchangebuyer2_v2_beta1] path = "../adexchangebuyer2_v2_beta1" -version = "3.0.0+20220307" +version = "3.1.0+20220307" diff --git a/gen/adexchangebuyer2_v2_beta1-cli/README.md b/gen/adexchangebuyer2_v2_beta1-cli/README.md index e66bef4b87..36f92ada4a 100644 --- a/gen/adexchangebuyer2_v2_beta1-cli/README.md +++ b/gen/adexchangebuyer2_v2_beta1-cli/README.md @@ -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 *AdExchangeBuyerII* API at revision *20220307*. The CLI is at version *3.0.0*. +This documentation was generated from the *AdExchangeBuyerII* API at revision *20220307*. The CLI is at version *3.1.0*. ```bash adexchangebuyer2-v2-beta1 [options] diff --git a/gen/adexchangebuyer2_v2_beta1-cli/mkdocs.yml b/gen/adexchangebuyer2_v2_beta1-cli/mkdocs.yml index f39ce8a13a..d197f6ab1d 100644 --- a/gen/adexchangebuyer2_v2_beta1-cli/mkdocs.yml +++ b/gen/adexchangebuyer2_v2_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: AdExchangeBuyerII v3.0.0+20220307 +site_name: AdExchangeBuyerII v3.1.0+20220307 site_url: http://byron.github.io/google-apis-rs/google-adexchangebuyer2_v2_beta1-cli site_description: A complete library to interact with AdExchangeBuyerII (protocol v2beta1) diff --git a/gen/adexchangebuyer2_v2_beta1-cli/src/main.rs b/gen/adexchangebuyer2_v2_beta1-cli/src/main.rs index 325a737752..6cdcfb7407 100644 --- a/gen/adexchangebuyer2_v2_beta1-cli/src/main.rs +++ b/gen/adexchangebuyer2_v2_beta1-cli/src/main.rs @@ -4784,7 +4784,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/adexchangebuyer2-v2-beta1", 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::AdExchangeBuyerII::new(client, auth), @@ -6573,7 +6579,7 @@ async fn main() { let mut app = App::new("adexchangebuyer2-v2-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20220307") + .version("3.1.0+20220307") .about("Accesses the latest features for managing Authorized Buyers accounts, Real-Time Bidding configurations and auction metrics, and Marketplace programmatic deals.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_adexchangebuyer2_v2_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/adexchangebuyer2_v2_beta1/Cargo.toml b/gen/adexchangebuyer2_v2_beta1/Cargo.toml index 45780c2282..021993f100 100644 --- a/gen/adexchangebuyer2_v2_beta1/Cargo.toml +++ b/gen/adexchangebuyer2_v2_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-adexchangebuyer2_v2_beta1" -version = "3.0.0+20220307" +version = "3.1.0+20220307" authors = ["Sebastian Thiel "] description = "A complete library to interact with AdExchangeBuyerII (protocol v2beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/adexchangebuyer2_v2_beta1" homepage = "https://developers.google.com/authorized-buyers/apis/reference/rest/" -documentation = "https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307" +documentation = "https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307" license = "MIT" keywords = ["adexchangebuyer2", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/adexchangebuyer2_v2_beta1/README.md b/gen/adexchangebuyer2_v2_beta1/README.md index ef4355f76f..0a2fee79a3 100644 --- a/gen/adexchangebuyer2_v2_beta1/README.md +++ b/gen/adexchangebuyer2_v2_beta1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-adexchangebuyer2_v2_beta1` library allows access to all features of the *Google AdExchangeBuyerII* service. -This documentation was generated from *AdExchangeBuyerII* crate version *3.0.0+20220307*, where *20220307* is the exact revision of the *adexchangebuyer2:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *AdExchangeBuyerII* crate version *3.1.0+20220307*, where *20220307* is the exact revision of the *adexchangebuyer2:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *AdExchangeBuyerII* *v2_beta1* API can be found at the [official documentation site](https://developers.google.com/authorized-buyers/apis/reference/rest/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/AdExchangeBuyerII) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/AdExchangeBuyerII) ... * accounts - * [*clients create*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountClientCreateCall), [*clients get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountClientGetCall), [*clients invitations create*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountClientInvitationCreateCall), [*clients invitations get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountClientInvitationGetCall), [*clients invitations list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountClientInvitationListCall), [*clients list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountClientListCall), [*clients update*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountClientUpdateCall), [*clients users get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountClientUserGetCall), [*clients users list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountClientUserListCall), [*clients users update*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountClientUserUpdateCall), [*creatives create*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountCreativeCreateCall), [*creatives deal associations add*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountCreativeDealAssociationAddCall), [*creatives deal associations list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountCreativeDealAssociationListCall), [*creatives deal associations remove*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountCreativeDealAssociationRemoveCall), [*creatives get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountCreativeGetCall), [*creatives list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountCreativeListCall), [*creatives stop watching*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountCreativeStopWatchingCall), [*creatives update*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountCreativeUpdateCall), [*creatives watch*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountCreativeWatchCall), [*finalized proposals list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountFinalizedProposalListCall), [*finalized proposals pause*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountFinalizedProposalPauseCall), [*finalized proposals resume*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountFinalizedProposalResumeCall), [*products get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountProductGetCall), [*products list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountProductListCall), [*proposals accept*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountProposalAcceptCall), [*proposals add note*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountProposalAddNoteCall), [*proposals cancel negotiation*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountProposalCancelNegotiationCall), [*proposals complete setup*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountProposalCompleteSetupCall), [*proposals create*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountProposalCreateCall), [*proposals get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountProposalGetCall), [*proposals list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountProposalListCall), [*proposals pause*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountProposalPauseCall), [*proposals resume*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountProposalResumeCall), [*proposals update*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountProposalUpdateCall), [*publisher profiles get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountPublisherProfileGetCall) and [*publisher profiles list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountPublisherProfileListCall) + * [*clients create*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountClientCreateCall), [*clients get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountClientGetCall), [*clients invitations create*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountClientInvitationCreateCall), [*clients invitations get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountClientInvitationGetCall), [*clients invitations list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountClientInvitationListCall), [*clients list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountClientListCall), [*clients update*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountClientUpdateCall), [*clients users get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountClientUserGetCall), [*clients users list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountClientUserListCall), [*clients users update*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountClientUserUpdateCall), [*creatives create*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountCreativeCreateCall), [*creatives deal associations add*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountCreativeDealAssociationAddCall), [*creatives deal associations list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountCreativeDealAssociationListCall), [*creatives deal associations remove*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountCreativeDealAssociationRemoveCall), [*creatives get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountCreativeGetCall), [*creatives list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountCreativeListCall), [*creatives stop watching*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountCreativeStopWatchingCall), [*creatives update*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountCreativeUpdateCall), [*creatives watch*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountCreativeWatchCall), [*finalized proposals list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountFinalizedProposalListCall), [*finalized proposals pause*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountFinalizedProposalPauseCall), [*finalized proposals resume*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountFinalizedProposalResumeCall), [*products get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountProductGetCall), [*products list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountProductListCall), [*proposals accept*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountProposalAcceptCall), [*proposals add note*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountProposalAddNoteCall), [*proposals cancel negotiation*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountProposalCancelNegotiationCall), [*proposals complete setup*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountProposalCompleteSetupCall), [*proposals create*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountProposalCreateCall), [*proposals get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountProposalGetCall), [*proposals list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountProposalListCall), [*proposals pause*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountProposalPauseCall), [*proposals resume*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountProposalResumeCall), [*proposals update*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountProposalUpdateCall), [*publisher profiles get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountPublisherProfileGetCall) and [*publisher profiles list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::AccountPublisherProfileListCall) * bidders - * [*accounts filter sets bid metrics list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetBidMetricListCall), [*accounts filter sets bid response errors list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetBidResponseErrorListCall), [*accounts filter sets bid responses without bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetBidResponsesWithoutBidListCall), [*accounts filter sets create*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetCreateCall), [*accounts filter sets delete*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetDeleteCall), [*accounts filter sets filtered bid requests list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetFilteredBidRequestListCall), [*accounts filter sets filtered bids creatives list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetFilteredBidCreativeListCall), [*accounts filter sets filtered bids details list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetFilteredBidDetailListCall), [*accounts filter sets filtered bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetFilteredBidListCall), [*accounts filter sets get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetGetCall), [*accounts filter sets impression metrics list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetImpressionMetricListCall), [*accounts filter sets list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetListCall), [*accounts filter sets losing bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetLosingBidListCall), [*accounts filter sets non billable winning bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetNonBillableWinningBidListCall), [*filter sets bid metrics list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetBidMetricListCall), [*filter sets bid response errors list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetBidResponseErrorListCall), [*filter sets bid responses without bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetBidResponsesWithoutBidListCall), [*filter sets create*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetCreateCall), [*filter sets delete*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetDeleteCall), [*filter sets filtered bid requests list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetFilteredBidRequestListCall), [*filter sets filtered bids creatives list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetFilteredBidCreativeListCall), [*filter sets filtered bids details list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetFilteredBidDetailListCall), [*filter sets filtered bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetFilteredBidListCall), [*filter sets get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetGetCall), [*filter sets impression metrics list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetImpressionMetricListCall), [*filter sets list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetListCall), [*filter sets losing bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetLosingBidListCall) and [*filter sets non billable winning bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetNonBillableWinningBidListCall) + * [*accounts filter sets bid metrics list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetBidMetricListCall), [*accounts filter sets bid response errors list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetBidResponseErrorListCall), [*accounts filter sets bid responses without bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetBidResponsesWithoutBidListCall), [*accounts filter sets create*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetCreateCall), [*accounts filter sets delete*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetDeleteCall), [*accounts filter sets filtered bid requests list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetFilteredBidRequestListCall), [*accounts filter sets filtered bids creatives list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetFilteredBidCreativeListCall), [*accounts filter sets filtered bids details list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetFilteredBidDetailListCall), [*accounts filter sets filtered bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetFilteredBidListCall), [*accounts filter sets get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetGetCall), [*accounts filter sets impression metrics list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetImpressionMetricListCall), [*accounts filter sets list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetListCall), [*accounts filter sets losing bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetLosingBidListCall), [*accounts filter sets non billable winning bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderAccountFilterSetNonBillableWinningBidListCall), [*filter sets bid metrics list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetBidMetricListCall), [*filter sets bid response errors list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetBidResponseErrorListCall), [*filter sets bid responses without bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetBidResponsesWithoutBidListCall), [*filter sets create*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetCreateCall), [*filter sets delete*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetDeleteCall), [*filter sets filtered bid requests list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetFilteredBidRequestListCall), [*filter sets filtered bids creatives list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetFilteredBidCreativeListCall), [*filter sets filtered bids details list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetFilteredBidDetailListCall), [*filter sets filtered bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetFilteredBidListCall), [*filter sets get*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetGetCall), [*filter sets impression metrics list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetImpressionMetricListCall), [*filter sets list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetListCall), [*filter sets losing bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetLosingBidListCall) and [*filter sets non billable winning bids list*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/api::BidderFilterSetNonBillableWinningBidListCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/AdExchangeBuyerII)** +* **[Hub](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/AdExchangeBuyerII)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/client::Part)** + * **[Parts](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -102,7 +102,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -135,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -155,29 +155,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.0.0+20220307/google_adexchangebuyer2_v2_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-adexchangebuyer2_v2_beta1/3.1.0+20220307/google_adexchangebuyer2_v2_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/adexchangebuyer2_v2_beta1/src/api.rs b/gen/adexchangebuyer2_v2_beta1/src/api.rs index 374be79d35..a223e7a688 100644 --- a/gen/adexchangebuyer2_v2_beta1/src/api.rs +++ b/gen/adexchangebuyer2_v2_beta1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > AdExchangeBuyerII<> { AdExchangeBuyerII { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://adexchangebuyer.googleapis.com/".to_string(), _root_url: "https://adexchangebuyer.googleapis.com/".to_string(), } @@ -133,7 +133,7 @@ impl<'a, > AdExchangeBuyerII<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -2663,7 +2663,7 @@ impl client::RequestValue for WatchCreativeRequest {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `clients_create(...)`, `clients_get(...)`, `clients_invitations_create(...)`, `clients_invitations_get(...)`, `clients_invitations_list(...)`, `clients_list(...)`, `clients_update(...)`, `clients_users_get(...)`, `clients_users_list(...)`, `clients_users_update(...)`, `creatives_create(...)`, `creatives_deal_associations_add(...)`, `creatives_deal_associations_list(...)`, `creatives_deal_associations_remove(...)`, `creatives_get(...)`, `creatives_list(...)`, `creatives_stop_watching(...)`, `creatives_update(...)`, `creatives_watch(...)`, `finalized_proposals_list(...)`, `finalized_proposals_pause(...)`, `finalized_proposals_resume(...)`, `products_get(...)`, `products_list(...)`, `proposals_accept(...)`, `proposals_add_note(...)`, `proposals_cancel_negotiation(...)`, `proposals_complete_setup(...)`, `proposals_create(...)`, `proposals_get(...)`, `proposals_list(...)`, `proposals_pause(...)`, `proposals_resume(...)`, `proposals_update(...)`, `publisher_profiles_get(...)` and `publisher_profiles_list(...)` /// // to build up your call. @@ -3443,7 +3443,7 @@ impl<'a> AccountMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `accounts_filter_sets_bid_metrics_list(...)`, `accounts_filter_sets_bid_response_errors_list(...)`, `accounts_filter_sets_bid_responses_without_bids_list(...)`, `accounts_filter_sets_create(...)`, `accounts_filter_sets_delete(...)`, `accounts_filter_sets_filtered_bid_requests_list(...)`, `accounts_filter_sets_filtered_bids_creatives_list(...)`, `accounts_filter_sets_filtered_bids_details_list(...)`, `accounts_filter_sets_filtered_bids_list(...)`, `accounts_filter_sets_get(...)`, `accounts_filter_sets_impression_metrics_list(...)`, `accounts_filter_sets_list(...)`, `accounts_filter_sets_losing_bids_list(...)`, `accounts_filter_sets_non_billable_winning_bids_list(...)`, `filter_sets_bid_metrics_list(...)`, `filter_sets_bid_response_errors_list(...)`, `filter_sets_bid_responses_without_bids_list(...)`, `filter_sets_create(...)`, `filter_sets_delete(...)`, `filter_sets_filtered_bid_requests_list(...)`, `filter_sets_filtered_bids_creatives_list(...)`, `filter_sets_filtered_bids_details_list(...)`, `filter_sets_filtered_bids_list(...)`, `filter_sets_get(...)`, `filter_sets_impression_metrics_list(...)`, `filter_sets_list(...)`, `filter_sets_losing_bids_list(...)` and `filter_sets_non_billable_winning_bids_list(...)` /// // to build up your call. @@ -4026,7 +4026,7 @@ impl<'a> BidderMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4319,7 +4319,7 @@ impl<'a> AccountClientInvitationCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4595,7 +4595,7 @@ impl<'a> AccountClientInvitationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4883,7 +4883,7 @@ impl<'a> AccountClientInvitationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5159,7 +5159,7 @@ impl<'a> AccountClientUserGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5448,7 +5448,7 @@ impl<'a> AccountClientUserListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5754,7 +5754,7 @@ impl<'a> AccountClientUserUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6035,7 +6035,7 @@ impl<'a> AccountClientCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6299,7 +6299,7 @@ impl<'a> AccountClientGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6588,7 +6588,7 @@ impl<'a> AccountClientListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6882,7 +6882,7 @@ impl<'a> AccountClientUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7175,7 +7175,7 @@ impl<'a> AccountCreativeDealAssociationAddCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7476,7 +7476,7 @@ impl<'a> AccountCreativeDealAssociationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7770,7 +7770,7 @@ impl<'a> AccountCreativeDealAssociationRemoveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8063,7 +8063,7 @@ impl<'a> AccountCreativeCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8327,7 +8327,7 @@ impl<'a> AccountCreativeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8616,7 +8616,7 @@ impl<'a> AccountCreativeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8910,7 +8910,7 @@ impl<'a> AccountCreativeStopWatchingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9204,7 +9204,7 @@ impl<'a> AccountCreativeUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9497,7 +9497,7 @@ impl<'a> AccountCreativeWatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9798,7 +9798,7 @@ impl<'a> AccountFinalizedProposalListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10092,7 +10092,7 @@ impl<'a> AccountFinalizedProposalPauseCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10385,7 +10385,7 @@ impl<'a> AccountFinalizedProposalResumeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10649,7 +10649,7 @@ impl<'a> AccountProductGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10938,7 +10938,7 @@ impl<'a> AccountProductListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11232,7 +11232,7 @@ impl<'a> AccountProposalAcceptCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11526,7 +11526,7 @@ impl<'a> AccountProposalAddNoteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11820,7 +11820,7 @@ impl<'a> AccountProposalCancelNegotiationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12114,7 +12114,7 @@ impl<'a> AccountProposalCompleteSetupCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12395,7 +12395,7 @@ impl<'a> AccountProposalCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12659,7 +12659,7 @@ impl<'a> AccountProposalGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12960,7 +12960,7 @@ impl<'a> AccountProposalListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13254,7 +13254,7 @@ impl<'a> AccountProposalPauseCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13548,7 +13548,7 @@ impl<'a> AccountProposalResumeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13841,7 +13841,7 @@ impl<'a> AccountProposalUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14105,7 +14105,7 @@ impl<'a> AccountPublisherProfileGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14381,7 +14381,7 @@ impl<'a> AccountPublisherProfileListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14661,7 +14661,7 @@ impl<'a> BidderAccountFilterSetBidMetricListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14941,7 +14941,7 @@ impl<'a> BidderAccountFilterSetBidResponseErrorListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15221,7 +15221,7 @@ impl<'a> BidderAccountFilterSetBidResponsesWithoutBidListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15501,7 +15501,7 @@ impl<'a> BidderAccountFilterSetFilteredBidRequestListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15793,7 +15793,7 @@ impl<'a> BidderAccountFilterSetFilteredBidCreativeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16085,7 +16085,7 @@ impl<'a> BidderAccountFilterSetFilteredBidDetailListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16365,7 +16365,7 @@ impl<'a> BidderAccountFilterSetFilteredBidListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16645,7 +16645,7 @@ impl<'a> BidderAccountFilterSetImpressionMetricListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16925,7 +16925,7 @@ impl<'a> BidderAccountFilterSetLosingBidListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17206,7 +17206,7 @@ impl<'a> BidderAccountFilterSetNonBillableWinningBidListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17503,7 +17503,7 @@ impl<'a> BidderAccountFilterSetCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17759,7 +17759,7 @@ impl<'a> BidderAccountFilterSetDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18015,7 +18015,7 @@ impl<'a> BidderAccountFilterSetGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18295,7 +18295,7 @@ impl<'a> BidderAccountFilterSetListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18575,7 +18575,7 @@ impl<'a> BidderFilterSetBidMetricListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18855,7 +18855,7 @@ impl<'a> BidderFilterSetBidResponseErrorListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19135,7 +19135,7 @@ impl<'a> BidderFilterSetBidResponsesWithoutBidListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19415,7 +19415,7 @@ impl<'a> BidderFilterSetFilteredBidRequestListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19707,7 +19707,7 @@ impl<'a> BidderFilterSetFilteredBidCreativeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19999,7 +19999,7 @@ impl<'a> BidderFilterSetFilteredBidDetailListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20279,7 +20279,7 @@ impl<'a> BidderFilterSetFilteredBidListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20559,7 +20559,7 @@ impl<'a> BidderFilterSetImpressionMetricListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20839,7 +20839,7 @@ impl<'a> BidderFilterSetLosingBidListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21120,7 +21120,7 @@ impl<'a> BidderFilterSetNonBillableWinningBidListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21417,7 +21417,7 @@ impl<'a> BidderFilterSetCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21673,7 +21673,7 @@ impl<'a> BidderFilterSetDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21929,7 +21929,7 @@ impl<'a> BidderFilterSetGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/adexchangebuyer2_v2_beta1/src/lib.rs b/gen/adexchangebuyer2_v2_beta1/src/lib.rs index 3bee13fb5f..8f017fc483 100644 --- a/gen/adexchangebuyer2_v2_beta1/src/lib.rs +++ b/gen/adexchangebuyer2_v2_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *AdExchangeBuyerII* crate version *3.0.0+20220307*, where *20220307* is the exact revision of the *adexchangebuyer2:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *AdExchangeBuyerII* crate version *3.1.0+20220307*, where *20220307* is the exact revision of the *adexchangebuyer2:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *AdExchangeBuyerII* *v2_beta1* API can be found at the //! [official documentation site](https://developers.google.com/authorized-buyers/apis/reference/rest/). @@ -103,7 +103,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = AdExchangeBuyerII::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/adexchangeseller2-cli/Cargo.toml b/gen/adexchangeseller2-cli/Cargo.toml index b847a28d3e..b47ba79e33 100644 --- a/gen/adexchangeseller2-cli/Cargo.toml +++ b/gen/adexchangeseller2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-adexchangeseller2-cli" -version = "3.0.0+20171101" +version = "3.1.0+20171101" authors = ["Sebastian Thiel "] description = "A complete library to interact with Ad Exchange Seller (protocol v2.0)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/adexchangeseller2-cli" @@ -20,12 +20,12 @@ name = "adexchangeseller2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-adexchangeseller2] path = "../adexchangeseller2" -version = "3.0.0+20171101" +version = "3.1.0+20171101" diff --git a/gen/adexchangeseller2-cli/README.md b/gen/adexchangeseller2-cli/README.md index 303d6231e1..568dd77fde 100644 --- a/gen/adexchangeseller2-cli/README.md +++ b/gen/adexchangeseller2-cli/README.md @@ -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 *Ad Exchange Seller* API at revision *20171101*. The CLI is at version *3.0.0*. +This documentation was generated from the *Ad Exchange Seller* API at revision *20171101*. The CLI is at version *3.1.0*. ```bash adexchangeseller2 [options] diff --git a/gen/adexchangeseller2-cli/mkdocs.yml b/gen/adexchangeseller2-cli/mkdocs.yml index 67c0992bc3..65e93cbb8b 100644 --- a/gen/adexchangeseller2-cli/mkdocs.yml +++ b/gen/adexchangeseller2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Ad Exchange Seller v3.0.0+20171101 +site_name: Ad Exchange Seller v3.1.0+20171101 site_url: http://byron.github.io/google-apis-rs/google-adexchangeseller2-cli site_description: A complete library to interact with Ad Exchange Seller (protocol v2.0) diff --git a/gen/adexchangeseller2-cli/src/main.rs b/gen/adexchangeseller2-cli/src/main.rs index 72fa81c762..ac419f9680 100644 --- a/gen/adexchangeseller2-cli/src/main.rs +++ b/gen/adexchangeseller2-cli/src/main.rs @@ -940,7 +940,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/adexchangeseller2", 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::AdExchangeSeller::new(client, auth), @@ -1329,7 +1335,7 @@ async fn main() { let mut app = App::new("adexchangeseller2") .author("Sebastian Thiel ") - .version("3.0.0+20171101") + .version("3.1.0+20171101") .about("Accesses the inventory of Ad Exchange seller users and generates reports.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_adexchangeseller2_cli") .arg(Arg::with_name("url") diff --git a/gen/adexchangeseller2/Cargo.toml b/gen/adexchangeseller2/Cargo.toml index 50ce2d65cc..0e1aefc86a 100644 --- a/gen/adexchangeseller2/Cargo.toml +++ b/gen/adexchangeseller2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-adexchangeseller2" -version = "3.0.0+20171101" +version = "3.1.0+20171101" authors = ["Sebastian Thiel "] description = "A complete library to interact with Ad Exchange Seller (protocol v2.0)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/adexchangeseller2" homepage = "https://developers.google.com/ad-exchange/seller-rest/" -documentation = "https://docs.rs/google-adexchangeseller2/3.0.0+20171101" +documentation = "https://docs.rs/google-adexchangeseller2/3.1.0+20171101" license = "MIT" keywords = ["adexchangeseller", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/adexchangeseller2/README.md b/gen/adexchangeseller2/README.md index ebcf281bc7..dceae34ec6 100644 --- a/gen/adexchangeseller2/README.md +++ b/gen/adexchangeseller2/README.md @@ -5,21 +5,21 @@ DO NOT EDIT ! --> The `google-adexchangeseller2` library allows access to all features of the *Google Ad Exchange Seller* service. -This documentation was generated from *Ad Exchange Seller* crate version *3.0.0+20171101*, where *20171101* is the exact revision of the *adexchangeseller:v2.0* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Ad Exchange Seller* crate version *3.1.0+20171101*, where *20171101* is the exact revision of the *adexchangeseller:v2.0* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Ad Exchange Seller* *v2* API can be found at the [official documentation site](https://developers.google.com/ad-exchange/seller-rest/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adexchangeseller2/3.0.0+20171101/google_adexchangeseller2/AdExchangeSeller) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adexchangeseller2/3.1.0+20171101/google_adexchangeseller2/AdExchangeSeller) ... -* [accounts](https://docs.rs/google-adexchangeseller2/3.0.0+20171101/google_adexchangeseller2/api::Account) - * [*adclients list*](https://docs.rs/google-adexchangeseller2/3.0.0+20171101/google_adexchangeseller2/api::AccountAdclientListCall), [*alerts list*](https://docs.rs/google-adexchangeseller2/3.0.0+20171101/google_adexchangeseller2/api::AccountAlertListCall), [*customchannels get*](https://docs.rs/google-adexchangeseller2/3.0.0+20171101/google_adexchangeseller2/api::AccountCustomchannelGetCall), [*customchannels list*](https://docs.rs/google-adexchangeseller2/3.0.0+20171101/google_adexchangeseller2/api::AccountCustomchannelListCall), [*get*](https://docs.rs/google-adexchangeseller2/3.0.0+20171101/google_adexchangeseller2/api::AccountGetCall), [*list*](https://docs.rs/google-adexchangeseller2/3.0.0+20171101/google_adexchangeseller2/api::AccountListCall), [*metadata dimensions list*](https://docs.rs/google-adexchangeseller2/3.0.0+20171101/google_adexchangeseller2/api::AccountMetadataDimensionListCall), [*metadata metrics list*](https://docs.rs/google-adexchangeseller2/3.0.0+20171101/google_adexchangeseller2/api::AccountMetadataMetricListCall), [*preferreddeals get*](https://docs.rs/google-adexchangeseller2/3.0.0+20171101/google_adexchangeseller2/api::AccountPreferreddealGetCall), [*preferreddeals list*](https://docs.rs/google-adexchangeseller2/3.0.0+20171101/google_adexchangeseller2/api::AccountPreferreddealListCall), [*reports generate*](https://docs.rs/google-adexchangeseller2/3.0.0+20171101/google_adexchangeseller2/api::AccountReportGenerateCall), [*reports saved generate*](https://docs.rs/google-adexchangeseller2/3.0.0+20171101/google_adexchangeseller2/api::AccountReportSavedGenerateCall), [*reports saved list*](https://docs.rs/google-adexchangeseller2/3.0.0+20171101/google_adexchangeseller2/api::AccountReportSavedListCall) and [*urlchannels list*](https://docs.rs/google-adexchangeseller2/3.0.0+20171101/google_adexchangeseller2/api::AccountUrlchannelListCall) +* [accounts](https://docs.rs/google-adexchangeseller2/3.1.0+20171101/google_adexchangeseller2/api::Account) + * [*adclients list*](https://docs.rs/google-adexchangeseller2/3.1.0+20171101/google_adexchangeseller2/api::AccountAdclientListCall), [*alerts list*](https://docs.rs/google-adexchangeseller2/3.1.0+20171101/google_adexchangeseller2/api::AccountAlertListCall), [*customchannels get*](https://docs.rs/google-adexchangeseller2/3.1.0+20171101/google_adexchangeseller2/api::AccountCustomchannelGetCall), [*customchannels list*](https://docs.rs/google-adexchangeseller2/3.1.0+20171101/google_adexchangeseller2/api::AccountCustomchannelListCall), [*get*](https://docs.rs/google-adexchangeseller2/3.1.0+20171101/google_adexchangeseller2/api::AccountGetCall), [*list*](https://docs.rs/google-adexchangeseller2/3.1.0+20171101/google_adexchangeseller2/api::AccountListCall), [*metadata dimensions list*](https://docs.rs/google-adexchangeseller2/3.1.0+20171101/google_adexchangeseller2/api::AccountMetadataDimensionListCall), [*metadata metrics list*](https://docs.rs/google-adexchangeseller2/3.1.0+20171101/google_adexchangeseller2/api::AccountMetadataMetricListCall), [*preferreddeals get*](https://docs.rs/google-adexchangeseller2/3.1.0+20171101/google_adexchangeseller2/api::AccountPreferreddealGetCall), [*preferreddeals list*](https://docs.rs/google-adexchangeseller2/3.1.0+20171101/google_adexchangeseller2/api::AccountPreferreddealListCall), [*reports generate*](https://docs.rs/google-adexchangeseller2/3.1.0+20171101/google_adexchangeseller2/api::AccountReportGenerateCall), [*reports saved generate*](https://docs.rs/google-adexchangeseller2/3.1.0+20171101/google_adexchangeseller2/api::AccountReportSavedGenerateCall), [*reports saved list*](https://docs.rs/google-adexchangeseller2/3.1.0+20171101/google_adexchangeseller2/api::AccountReportSavedListCall) and [*urlchannels list*](https://docs.rs/google-adexchangeseller2/3.1.0+20171101/google_adexchangeseller2/api::AccountUrlchannelListCall) Download supported by ... -* [*reports generate accounts*](https://docs.rs/google-adexchangeseller2/3.0.0+20171101/google_adexchangeseller2/api::AccountReportGenerateCall) +* [*reports generate accounts*](https://docs.rs/google-adexchangeseller2/3.1.0+20171101/google_adexchangeseller2/api::AccountReportGenerateCall) @@ -27,17 +27,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-adexchangeseller2/3.0.0+20171101/google_adexchangeseller2/AdExchangeSeller)** +* **[Hub](https://docs.rs/google-adexchangeseller2/3.1.0+20171101/google_adexchangeseller2/AdExchangeSeller)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-adexchangeseller2/3.0.0+20171101/google_adexchangeseller2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-adexchangeseller2/3.0.0+20171101/google_adexchangeseller2/client::CallBuilder) -* **[Resources](https://docs.rs/google-adexchangeseller2/3.0.0+20171101/google_adexchangeseller2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-adexchangeseller2/3.1.0+20171101/google_adexchangeseller2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-adexchangeseller2/3.1.0+20171101/google_adexchangeseller2/client::CallBuilder) +* **[Resources](https://docs.rs/google-adexchangeseller2/3.1.0+20171101/google_adexchangeseller2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-adexchangeseller2/3.0.0+20171101/google_adexchangeseller2/client::Part)** + * **[Parts](https://docs.rs/google-adexchangeseller2/3.1.0+20171101/google_adexchangeseller2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-adexchangeseller2/3.0.0+20171101/google_adexchangeseller2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-adexchangeseller2/3.1.0+20171101/google_adexchangeseller2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -107,7 +107,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = AdExchangeSeller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = AdExchangeSeller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -142,17 +142,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-adexchangeseller2/3.0.0+20171101/google_adexchangeseller2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-adexchangeseller2/3.1.0+20171101/google_adexchangeseller2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-adexchangeseller2/3.0.0+20171101/google_adexchangeseller2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-adexchangeseller2/3.1.0+20171101/google_adexchangeseller2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-adexchangeseller2/3.0.0+20171101/google_adexchangeseller2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-adexchangeseller2/3.1.0+20171101/google_adexchangeseller2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-adexchangeseller2/3.0.0+20171101/google_adexchangeseller2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-adexchangeseller2/3.1.0+20171101/google_adexchangeseller2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -162,29 +162,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-adexchangeseller2/3.0.0+20171101/google_adexchangeseller2/client::Delegate) to the -[Method Builder](https://docs.rs/google-adexchangeseller2/3.0.0+20171101/google_adexchangeseller2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-adexchangeseller2/3.1.0+20171101/google_adexchangeseller2/client::Delegate) to the +[Method Builder](https://docs.rs/google-adexchangeseller2/3.1.0+20171101/google_adexchangeseller2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-adexchangeseller2/3.0.0+20171101/google_adexchangeseller2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-adexchangeseller2/3.1.0+20171101/google_adexchangeseller2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-adexchangeseller2/3.0.0+20171101/google_adexchangeseller2/client::RequestValue) and -[decodable](https://docs.rs/google-adexchangeseller2/3.0.0+20171101/google_adexchangeseller2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-adexchangeseller2/3.1.0+20171101/google_adexchangeseller2/client::RequestValue) and +[decodable](https://docs.rs/google-adexchangeseller2/3.1.0+20171101/google_adexchangeseller2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-adexchangeseller2/3.0.0+20171101/google_adexchangeseller2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-adexchangeseller2/3.1.0+20171101/google_adexchangeseller2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-adexchangeseller2/3.0.0+20171101/google_adexchangeseller2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-adexchangeseller2/3.1.0+20171101/google_adexchangeseller2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-adexchangeseller2/3.0.0+20171101/google_adexchangeseller2/client::RequestValue) are moved +* [request values](https://docs.rs/google-adexchangeseller2/3.1.0+20171101/google_adexchangeseller2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/adexchangeseller2/src/api.rs b/gen/adexchangeseller2/src/api.rs index abd34da407..b7f3dba61e 100644 --- a/gen/adexchangeseller2/src/api.rs +++ b/gen/adexchangeseller2/src/api.rs @@ -74,7 +74,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdExchangeSeller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdExchangeSeller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -124,7 +124,7 @@ impl<'a, > AdExchangeSeller<> { AdExchangeSeller { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/adexchangeseller/v2.0/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -135,7 +135,7 @@ impl<'a, > AdExchangeSeller<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -660,7 +660,7 @@ impl client::Part for ReportHeaders {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdExchangeSeller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdExchangeSeller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `adclients_list(...)`, `alerts_list(...)`, `customchannels_get(...)`, `customchannels_list(...)`, `get(...)`, `list(...)`, `metadata_dimensions_list(...)`, `metadata_metrics_list(...)`, `preferreddeals_get(...)`, `preferreddeals_list(...)`, `reports_generate(...)`, `reports_saved_generate(...)`, `reports_saved_list(...)` and `urlchannels_list(...)` /// // to build up your call. @@ -978,7 +978,7 @@ impl<'a> AccountMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeSeller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeSeller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1250,7 +1250,7 @@ impl<'a> AccountAdclientListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeSeller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeSeller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1510,7 +1510,7 @@ impl<'a> AccountAlertListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeSeller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeSeller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1782,7 +1782,7 @@ impl<'a> AccountCustomchannelGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeSeller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeSeller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2066,7 +2066,7 @@ impl<'a> AccountCustomchannelListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeSeller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeSeller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2314,7 +2314,7 @@ impl<'a> AccountMetadataDimensionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeSeller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeSeller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2562,7 +2562,7 @@ impl<'a> AccountMetadataMetricListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeSeller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeSeller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2822,7 +2822,7 @@ impl<'a> AccountPreferreddealGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeSeller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeSeller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3070,7 +3070,7 @@ impl<'a> AccountPreferreddealListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeSeller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeSeller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3366,7 +3366,7 @@ impl<'a> AccountReportSavedGenerateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeSeller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeSeller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3643,7 +3643,7 @@ impl<'a> AccountReportSavedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeSeller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeSeller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4027,7 +4027,7 @@ impl<'a> AccountReportGenerateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeSeller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeSeller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4311,7 +4311,7 @@ impl<'a> AccountUrlchannelListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeSeller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeSeller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4559,7 +4559,7 @@ impl<'a> AccountGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExchangeSeller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExchangeSeller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/adexchangeseller2/src/lib.rs b/gen/adexchangeseller2/src/lib.rs index d60b4940f7..e172d5e748 100644 --- a/gen/adexchangeseller2/src/lib.rs +++ b/gen/adexchangeseller2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Ad Exchange Seller* crate version *3.0.0+20171101*, where *20171101* is the exact revision of the *adexchangeseller:v2.0* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Ad Exchange Seller* crate version *3.1.0+20171101*, where *20171101* is the exact revision of the *adexchangeseller:v2.0* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Ad Exchange Seller* *v2* API can be found at the //! [official documentation site](https://developers.google.com/ad-exchange/seller-rest/). @@ -108,7 +108,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = AdExchangeSeller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = AdExchangeSeller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/adexperiencereport1-cli/Cargo.toml b/gen/adexperiencereport1-cli/Cargo.toml index 85fc39e8a9..38db593b4b 100644 --- a/gen/adexperiencereport1-cli/Cargo.toml +++ b/gen/adexperiencereport1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-adexperiencereport1-cli" -version = "3.0.0+20220303" +version = "3.1.0+20220303" authors = ["Sebastian Thiel "] description = "A complete library to interact with Ad Experience Report (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/adexperiencereport1-cli" @@ -20,12 +20,12 @@ name = "adexperiencereport1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-adexperiencereport1] path = "../adexperiencereport1" -version = "3.0.0+20220303" +version = "3.1.0+20220303" diff --git a/gen/adexperiencereport1-cli/README.md b/gen/adexperiencereport1-cli/README.md index c12b806bf1..a17e61e46e 100644 --- a/gen/adexperiencereport1-cli/README.md +++ b/gen/adexperiencereport1-cli/README.md @@ -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 *Ad Experience Report* API at revision *20220303*. The CLI is at version *3.0.0*. +This documentation was generated from the *Ad Experience Report* API at revision *20220303*. The CLI is at version *3.1.0*. ```bash adexperiencereport1 [options] diff --git a/gen/adexperiencereport1-cli/mkdocs.yml b/gen/adexperiencereport1-cli/mkdocs.yml index 8818cb74bc..0add7a0a78 100644 --- a/gen/adexperiencereport1-cli/mkdocs.yml +++ b/gen/adexperiencereport1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Ad Experience Report v3.0.0+20220303 +site_name: Ad Experience Report v3.1.0+20220303 site_url: http://byron.github.io/google-apis-rs/google-adexperiencereport1-cli site_description: A complete library to interact with Ad Experience Report (protocol v1) diff --git a/gen/adexperiencereport1-cli/src/main.rs b/gen/adexperiencereport1-cli/src/main.rs index 9c32f3f979..11899dbcfd 100644 --- a/gen/adexperiencereport1-cli/src/main.rs +++ b/gen/adexperiencereport1-cli/src/main.rs @@ -201,7 +201,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/adexperiencereport1", 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::AdExperienceReport::new(client, auth), @@ -284,7 +290,7 @@ async fn main() { let mut app = App::new("adexperiencereport1") .author("Sebastian Thiel ") - .version("3.0.0+20220303") + .version("3.1.0+20220303") .about("Views Ad Experience Report data, and gets a list of sites that have a significant number of annoying ads.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_adexperiencereport1_cli") .arg(Arg::with_name("folder") diff --git a/gen/adexperiencereport1/Cargo.toml b/gen/adexperiencereport1/Cargo.toml index 6bca0fac5a..20ae213a0e 100644 --- a/gen/adexperiencereport1/Cargo.toml +++ b/gen/adexperiencereport1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-adexperiencereport1" -version = "3.0.0+20220303" +version = "3.1.0+20220303" authors = ["Sebastian Thiel "] description = "A complete library to interact with Ad Experience Report (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/adexperiencereport1" homepage = "https://developers.google.com/ad-experience-report/" -documentation = "https://docs.rs/google-adexperiencereport1/3.0.0+20220303" +documentation = "https://docs.rs/google-adexperiencereport1/3.1.0+20220303" license = "MIT" keywords = ["adexperiencereport", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/adexperiencereport1/README.md b/gen/adexperiencereport1/README.md index d0ab6d0c87..3fd1cdf6e9 100644 --- a/gen/adexperiencereport1/README.md +++ b/gen/adexperiencereport1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-adexperiencereport1` library allows access to all features of the *Google Ad Experience Report* service. -This documentation was generated from *Ad Experience Report* crate version *3.0.0+20220303*, where *20220303* is the exact revision of the *adexperiencereport:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Ad Experience Report* crate version *3.1.0+20220303*, where *20220303* is the exact revision of the *adexperiencereport:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Ad Experience Report* *v1* API can be found at the [official documentation site](https://developers.google.com/ad-experience-report/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adexperiencereport1/3.0.0+20220303/google_adexperiencereport1/AdExperienceReport) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adexperiencereport1/3.1.0+20220303/google_adexperiencereport1/AdExperienceReport) ... * sites - * [*get*](https://docs.rs/google-adexperiencereport1/3.0.0+20220303/google_adexperiencereport1/api::SiteGetCall) + * [*get*](https://docs.rs/google-adexperiencereport1/3.1.0+20220303/google_adexperiencereport1/api::SiteGetCall) * violating sites - * [*list*](https://docs.rs/google-adexperiencereport1/3.0.0+20220303/google_adexperiencereport1/api::ViolatingSiteListCall) + * [*list*](https://docs.rs/google-adexperiencereport1/3.1.0+20220303/google_adexperiencereport1/api::ViolatingSiteListCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-adexperiencereport1/3.0.0+20220303/google_adexperiencereport1/AdExperienceReport)** +* **[Hub](https://docs.rs/google-adexperiencereport1/3.1.0+20220303/google_adexperiencereport1/AdExperienceReport)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-adexperiencereport1/3.0.0+20220303/google_adexperiencereport1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-adexperiencereport1/3.0.0+20220303/google_adexperiencereport1/client::CallBuilder) -* **[Resources](https://docs.rs/google-adexperiencereport1/3.0.0+20220303/google_adexperiencereport1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-adexperiencereport1/3.1.0+20220303/google_adexperiencereport1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-adexperiencereport1/3.1.0+20220303/google_adexperiencereport1/client::CallBuilder) +* **[Resources](https://docs.rs/google-adexperiencereport1/3.1.0+20220303/google_adexperiencereport1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-adexperiencereport1/3.0.0+20220303/google_adexperiencereport1/client::Part)** + * **[Parts](https://docs.rs/google-adexperiencereport1/3.1.0+20220303/google_adexperiencereport1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-adexperiencereport1/3.0.0+20220303/google_adexperiencereport1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-adexperiencereport1/3.1.0+20220303/google_adexperiencereport1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -92,7 +92,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = AdExperienceReport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = AdExperienceReport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -120,17 +120,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-adexperiencereport1/3.0.0+20220303/google_adexperiencereport1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-adexperiencereport1/3.1.0+20220303/google_adexperiencereport1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-adexperiencereport1/3.0.0+20220303/google_adexperiencereport1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-adexperiencereport1/3.1.0+20220303/google_adexperiencereport1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-adexperiencereport1/3.0.0+20220303/google_adexperiencereport1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-adexperiencereport1/3.1.0+20220303/google_adexperiencereport1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-adexperiencereport1/3.0.0+20220303/google_adexperiencereport1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-adexperiencereport1/3.1.0+20220303/google_adexperiencereport1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -140,29 +140,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-adexperiencereport1/3.0.0+20220303/google_adexperiencereport1/client::Delegate) to the -[Method Builder](https://docs.rs/google-adexperiencereport1/3.0.0+20220303/google_adexperiencereport1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-adexperiencereport1/3.1.0+20220303/google_adexperiencereport1/client::Delegate) to the +[Method Builder](https://docs.rs/google-adexperiencereport1/3.1.0+20220303/google_adexperiencereport1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-adexperiencereport1/3.0.0+20220303/google_adexperiencereport1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-adexperiencereport1/3.1.0+20220303/google_adexperiencereport1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-adexperiencereport1/3.0.0+20220303/google_adexperiencereport1/client::RequestValue) and -[decodable](https://docs.rs/google-adexperiencereport1/3.0.0+20220303/google_adexperiencereport1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-adexperiencereport1/3.1.0+20220303/google_adexperiencereport1/client::RequestValue) and +[decodable](https://docs.rs/google-adexperiencereport1/3.1.0+20220303/google_adexperiencereport1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-adexperiencereport1/3.0.0+20220303/google_adexperiencereport1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-adexperiencereport1/3.1.0+20220303/google_adexperiencereport1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-adexperiencereport1/3.0.0+20220303/google_adexperiencereport1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-adexperiencereport1/3.1.0+20220303/google_adexperiencereport1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-adexperiencereport1/3.0.0+20220303/google_adexperiencereport1/client::RequestValue) are moved +* [request values](https://docs.rs/google-adexperiencereport1/3.1.0+20220303/google_adexperiencereport1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/adexperiencereport1/src/api.rs b/gen/adexperiencereport1/src/api.rs index d9dde5bdec..542553339d 100644 --- a/gen/adexperiencereport1/src/api.rs +++ b/gen/adexperiencereport1/src/api.rs @@ -48,7 +48,7 @@ use crate::client; /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdExperienceReport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdExperienceReport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -91,7 +91,7 @@ impl<'a, > AdExperienceReport<> { AdExperienceReport { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://adexperiencereport.googleapis.com/".to_string(), _root_url: "https://adexperiencereport.googleapis.com/".to_string(), } @@ -105,7 +105,7 @@ impl<'a, > AdExperienceReport<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -234,7 +234,7 @@ impl client::ResponseResult for ViolatingSitesResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdExperienceReport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdExperienceReport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -291,7 +291,7 @@ impl<'a> SiteMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdExperienceReport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdExperienceReport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -350,7 +350,7 @@ impl<'a> ViolatingSiteMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExperienceReport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExperienceReport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -576,7 +576,7 @@ impl<'a> SiteGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdExperienceReport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdExperienceReport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/adexperiencereport1/src/lib.rs b/gen/adexperiencereport1/src/lib.rs index ea18b2d9e2..c4ca8d4b1a 100644 --- a/gen/adexperiencereport1/src/lib.rs +++ b/gen/adexperiencereport1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Ad Experience Report* crate version *3.0.0+20220303*, where *20220303* is the exact revision of the *adexperiencereport:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Ad Experience Report* crate version *3.1.0+20220303*, where *20220303* is the exact revision of the *adexperiencereport:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Ad Experience Report* *v1* API can be found at the //! [official documentation site](https://developers.google.com/ad-experience-report/). @@ -93,7 +93,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = AdExperienceReport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = AdExperienceReport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/admob1-cli/Cargo.toml b/gen/admob1-cli/Cargo.toml index 7ff792a0d8..87f2ce1644 100644 --- a/gen/admob1-cli/Cargo.toml +++ b/gen/admob1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-admob1-cli" -version = "3.0.0+20220303" +version = "3.1.0+20220303" authors = ["Sebastian Thiel "] description = "A complete library to interact with AdMob (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/admob1-cli" @@ -20,12 +20,12 @@ name = "admob1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-admob1] path = "../admob1" -version = "3.0.0+20220303" +version = "3.1.0+20220303" diff --git a/gen/admob1-cli/README.md b/gen/admob1-cli/README.md index f08f8cbc64..6b11d213df 100644 --- a/gen/admob1-cli/README.md +++ b/gen/admob1-cli/README.md @@ -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 *AdMob* API at revision *20220303*. The CLI is at version *3.0.0*. +This documentation was generated from the *AdMob* API at revision *20220303*. The CLI is at version *3.1.0*. ```bash admob1 [options] diff --git a/gen/admob1-cli/mkdocs.yml b/gen/admob1-cli/mkdocs.yml index ef2c2120e1..f5a4bedf69 100644 --- a/gen/admob1-cli/mkdocs.yml +++ b/gen/admob1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: AdMob v3.0.0+20220303 +site_name: AdMob v3.1.0+20220303 site_url: http://byron.github.io/google-apis-rs/google-admob1-cli site_description: A complete library to interact with AdMob (protocol v1) diff --git a/gen/admob1-cli/src/main.rs b/gen/admob1-cli/src/main.rs index 48191db61d..4e3ca325b6 100644 --- a/gen/admob1-cli/src/main.rs +++ b/gen/admob1-cli/src/main.rs @@ -528,7 +528,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/admob1", 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::AdMob::new(client, auth), @@ -708,7 +714,7 @@ async fn main() { let mut app = App::new("admob1") .author("Sebastian Thiel ") - .version("3.0.0+20220303") + .version("3.1.0+20220303") .about("The AdMob API allows publishers to programmatically get information about their AdMob account. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_admob1_cli") .arg(Arg::with_name("url") diff --git a/gen/admob1/Cargo.toml b/gen/admob1/Cargo.toml index 88847be842..5d9f2f1bfa 100644 --- a/gen/admob1/Cargo.toml +++ b/gen/admob1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-admob1" -version = "3.0.0+20220303" +version = "3.1.0+20220303" authors = ["Sebastian Thiel "] description = "A complete library to interact with AdMob (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/admob1" homepage = "https://developers.google.com/admob/api/" -documentation = "https://docs.rs/google-admob1/3.0.0+20220303" +documentation = "https://docs.rs/google-admob1/3.1.0+20220303" license = "MIT" keywords = ["admob", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/admob1/README.md b/gen/admob1/README.md index 5892034537..226b5d3511 100644 --- a/gen/admob1/README.md +++ b/gen/admob1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-admob1` library allows access to all features of the *Google AdMob* service. -This documentation was generated from *AdMob* crate version *3.0.0+20220303*, where *20220303* is the exact revision of the *admob:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *AdMob* crate version *3.1.0+20220303*, where *20220303* is the exact revision of the *admob:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *AdMob* *v1* API can be found at the [official documentation site](https://developers.google.com/admob/api/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-admob1/3.0.0+20220303/google_admob1/AdMob) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-admob1/3.1.0+20220303/google_admob1/AdMob) ... * accounts - * [*ad units list*](https://docs.rs/google-admob1/3.0.0+20220303/google_admob1/api::AccountAdUnitListCall), [*apps list*](https://docs.rs/google-admob1/3.0.0+20220303/google_admob1/api::AccountAppListCall), [*get*](https://docs.rs/google-admob1/3.0.0+20220303/google_admob1/api::AccountGetCall), [*list*](https://docs.rs/google-admob1/3.0.0+20220303/google_admob1/api::AccountListCall), [*mediation report generate*](https://docs.rs/google-admob1/3.0.0+20220303/google_admob1/api::AccountMediationReportGenerateCall) and [*network report generate*](https://docs.rs/google-admob1/3.0.0+20220303/google_admob1/api::AccountNetworkReportGenerateCall) + * [*ad units list*](https://docs.rs/google-admob1/3.1.0+20220303/google_admob1/api::AccountAdUnitListCall), [*apps list*](https://docs.rs/google-admob1/3.1.0+20220303/google_admob1/api::AccountAppListCall), [*get*](https://docs.rs/google-admob1/3.1.0+20220303/google_admob1/api::AccountGetCall), [*list*](https://docs.rs/google-admob1/3.1.0+20220303/google_admob1/api::AccountListCall), [*mediation report generate*](https://docs.rs/google-admob1/3.1.0+20220303/google_admob1/api::AccountMediationReportGenerateCall) and [*network report generate*](https://docs.rs/google-admob1/3.1.0+20220303/google_admob1/api::AccountNetworkReportGenerateCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-admob1/3.0.0+20220303/google_admob1/AdMob)** +* **[Hub](https://docs.rs/google-admob1/3.1.0+20220303/google_admob1/AdMob)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-admob1/3.0.0+20220303/google_admob1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-admob1/3.0.0+20220303/google_admob1/client::CallBuilder) -* **[Resources](https://docs.rs/google-admob1/3.0.0+20220303/google_admob1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-admob1/3.1.0+20220303/google_admob1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-admob1/3.1.0+20220303/google_admob1/client::CallBuilder) +* **[Resources](https://docs.rs/google-admob1/3.1.0+20220303/google_admob1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-admob1/3.0.0+20220303/google_admob1/client::Part)** + * **[Parts](https://docs.rs/google-admob1/3.1.0+20220303/google_admob1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-admob1/3.0.0+20220303/google_admob1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-admob1/3.1.0+20220303/google_admob1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -90,7 +90,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = AdMob::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = AdMob::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -118,17 +118,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-admob1/3.0.0+20220303/google_admob1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-admob1/3.1.0+20220303/google_admob1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-admob1/3.0.0+20220303/google_admob1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-admob1/3.1.0+20220303/google_admob1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-admob1/3.0.0+20220303/google_admob1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-admob1/3.1.0+20220303/google_admob1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-admob1/3.0.0+20220303/google_admob1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-admob1/3.1.0+20220303/google_admob1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -138,29 +138,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-admob1/3.0.0+20220303/google_admob1/client::Delegate) to the -[Method Builder](https://docs.rs/google-admob1/3.0.0+20220303/google_admob1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-admob1/3.1.0+20220303/google_admob1/client::Delegate) to the +[Method Builder](https://docs.rs/google-admob1/3.1.0+20220303/google_admob1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-admob1/3.0.0+20220303/google_admob1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-admob1/3.1.0+20220303/google_admob1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-admob1/3.0.0+20220303/google_admob1/client::RequestValue) and -[decodable](https://docs.rs/google-admob1/3.0.0+20220303/google_admob1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-admob1/3.1.0+20220303/google_admob1/client::RequestValue) and +[decodable](https://docs.rs/google-admob1/3.1.0+20220303/google_admob1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-admob1/3.0.0+20220303/google_admob1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-admob1/3.1.0+20220303/google_admob1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-admob1/3.0.0+20220303/google_admob1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-admob1/3.1.0+20220303/google_admob1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-admob1/3.0.0+20220303/google_admob1/client::RequestValue) are moved +* [request values](https://docs.rs/google-admob1/3.1.0+20220303/google_admob1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/admob1/src/api.rs b/gen/admob1/src/api.rs index 9e4176816e..cd12b9a0ca 100644 --- a/gen/admob1/src/api.rs +++ b/gen/admob1/src/api.rs @@ -74,7 +74,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdMob::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdMob::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -117,7 +117,7 @@ impl<'a, > AdMob<> { AdMob { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://admob.googleapis.com/".to_string(), _root_url: "https://admob.googleapis.com/".to_string(), } @@ -128,7 +128,7 @@ impl<'a, > AdMob<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -739,7 +739,7 @@ impl client::Part for StringList {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdMob::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdMob::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `ad_units_list(...)`, `apps_list(...)`, `get(...)`, `list(...)`, `mediation_report_generate(...)` and `network_report_generate(...)` /// // to build up your call. @@ -894,7 +894,7 @@ impl<'a> AccountMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdMob::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdMob::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1174,7 +1174,7 @@ impl<'a> AccountAdUnitListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdMob::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdMob::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1455,7 +1455,7 @@ impl<'a> AccountAppListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdMob::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdMob::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1741,7 +1741,7 @@ impl<'a> AccountMediationReportGenerateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdMob::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdMob::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2026,7 +2026,7 @@ impl<'a> AccountNetworkReportGenerateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdMob::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdMob::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2282,7 +2282,7 @@ impl<'a> AccountGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdMob::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdMob::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/admob1/src/lib.rs b/gen/admob1/src/lib.rs index 2945362a37..4b1cf2b891 100644 --- a/gen/admob1/src/lib.rs +++ b/gen/admob1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *AdMob* crate version *3.0.0+20220303*, where *20220303* is the exact revision of the *admob:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *AdMob* crate version *3.1.0+20220303*, where *20220303* is the exact revision of the *admob:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *AdMob* *v1* API can be found at the //! [official documentation site](https://developers.google.com/admob/api/). @@ -91,7 +91,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = AdMob::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = AdMob::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/adsense1d4-cli/Cargo.toml b/gen/adsense1d4-cli/Cargo.toml index 22975cd2b8..ce9da005fa 100644 --- a/gen/adsense1d4-cli/Cargo.toml +++ b/gen/adsense1d4-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-adsense1d4-cli" -version = "3.0.0+20201002" +version = "3.1.0+20201002" authors = ["Sebastian Thiel "] description = "A complete library to interact with AdSense (protocol v1.4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/adsense1d4-cli" @@ -20,12 +20,12 @@ name = "adsense1d4" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-adsense1d4] path = "../adsense1d4" -version = "3.0.0+20201002" +version = "3.1.0+20201002" diff --git a/gen/adsense1d4-cli/README.md b/gen/adsense1d4-cli/README.md index 796e01ac15..42ff34dc56 100644 --- a/gen/adsense1d4-cli/README.md +++ b/gen/adsense1d4-cli/README.md @@ -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 *AdSense* API at revision *20201002*. The CLI is at version *3.0.0*. +This documentation was generated from the *AdSense* API at revision *20201002*. The CLI is at version *3.1.0*. ```bash adsense1d4 [options] diff --git a/gen/adsense1d4-cli/mkdocs.yml b/gen/adsense1d4-cli/mkdocs.yml index 2f5a333231..4bd15e2ace 100644 --- a/gen/adsense1d4-cli/mkdocs.yml +++ b/gen/adsense1d4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: AdSense v3.0.0+20201002 +site_name: AdSense v3.1.0+20201002 site_url: http://byron.github.io/google-apis-rs/google-adsense1d4-cli site_description: A complete library to interact with AdSense (protocol v1.4) diff --git a/gen/adsense1d4-cli/src/main.rs b/gen/adsense1d4-cli/src/main.rs index 83e76ff507..6a1b92d335 100644 --- a/gen/adsense1d4-cli/src/main.rs +++ b/gen/adsense1d4-cli/src/main.rs @@ -2536,7 +2536,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/adsense1d4", 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::AdSense::new(client, auth), @@ -3550,7 +3556,7 @@ async fn main() { let mut app = App::new("adsense1d4") .author("Sebastian Thiel ") - .version("3.0.0+20201002") + .version("3.1.0+20201002") .about("Accesses AdSense publishers' inventory and generates performance reports.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_adsense1d4_cli") .arg(Arg::with_name("url") diff --git a/gen/adsense1d4/Cargo.toml b/gen/adsense1d4/Cargo.toml index c68c1b65fc..99c2a32787 100644 --- a/gen/adsense1d4/Cargo.toml +++ b/gen/adsense1d4/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-adsense1d4" -version = "3.0.0+20201002" +version = "3.1.0+20201002" authors = ["Sebastian Thiel "] description = "A complete library to interact with AdSense (protocol v1.4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/adsense1d4" homepage = "https://developers.google.com/adsense/management/" -documentation = "https://docs.rs/google-adsense1d4/3.0.0+20201002" +documentation = "https://docs.rs/google-adsense1d4/3.1.0+20201002" license = "MIT" keywords = ["adsense", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/adsense1d4/README.md b/gen/adsense1d4/README.md index fbe0e08ee5..d95fd7722a 100644 --- a/gen/adsense1d4/README.md +++ b/gen/adsense1d4/README.md @@ -5,40 +5,40 @@ DO NOT EDIT ! --> The `google-adsense1d4` library allows access to all features of the *Google AdSense* service. -This documentation was generated from *AdSense* crate version *3.0.0+20201002*, where *20201002* is the exact revision of the *adsense:v1.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *AdSense* crate version *3.1.0+20201002*, where *20201002* is the exact revision of the *adsense:v1.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *AdSense* *v1d4* API can be found at the [official documentation site](https://developers.google.com/adsense/management/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/AdSense) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/AdSense) ... -* [accounts](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::Account) - * [*adclients get ad code*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::AccountAdclientGetAdCodeCall), [*adclients list*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::AccountAdclientListCall), [*adunits customchannels list*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::AccountAdunitCustomchannelListCall), [*adunits get*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::AccountAdunitGetCall), [*adunits get ad code*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::AccountAdunitGetAdCodeCall), [*adunits list*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::AccountAdunitListCall), [*alerts delete*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::AccountAlertDeleteCall), [*alerts list*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::AccountAlertListCall), [*customchannels adunits list*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::AccountCustomchannelAdunitListCall), [*customchannels get*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::AccountCustomchannelGetCall), [*customchannels list*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::AccountCustomchannelListCall), [*get*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::AccountGetCall), [*list*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::AccountListCall), [*payments list*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::AccountPaymentListCall), [*reports generate*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::AccountReportGenerateCall), [*reports saved generate*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::AccountReportSavedGenerateCall), [*reports saved list*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::AccountReportSavedListCall), [*savedadstyles get*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::AccountSavedadstyleGetCall), [*savedadstyles list*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::AccountSavedadstyleListCall) and [*urlchannels list*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::AccountUrlchannelListCall) +* [accounts](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::Account) + * [*adclients get ad code*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::AccountAdclientGetAdCodeCall), [*adclients list*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::AccountAdclientListCall), [*adunits customchannels list*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::AccountAdunitCustomchannelListCall), [*adunits get*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::AccountAdunitGetCall), [*adunits get ad code*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::AccountAdunitGetAdCodeCall), [*adunits list*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::AccountAdunitListCall), [*alerts delete*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::AccountAlertDeleteCall), [*alerts list*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::AccountAlertListCall), [*customchannels adunits list*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::AccountCustomchannelAdunitListCall), [*customchannels get*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::AccountCustomchannelGetCall), [*customchannels list*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::AccountCustomchannelListCall), [*get*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::AccountGetCall), [*list*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::AccountListCall), [*payments list*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::AccountPaymentListCall), [*reports generate*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::AccountReportGenerateCall), [*reports saved generate*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::AccountReportSavedGenerateCall), [*reports saved list*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::AccountReportSavedListCall), [*savedadstyles get*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::AccountSavedadstyleGetCall), [*savedadstyles list*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::AccountSavedadstyleListCall) and [*urlchannels list*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::AccountUrlchannelListCall) * adclients - * [*list*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::AdclientListCall) + * [*list*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::AdclientListCall) * adunits - * [*customchannels list*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::AdunitCustomchannelListCall), [*get*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::AdunitGetCall), [*get ad code*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::AdunitGetAdCodeCall) and [*list*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::AdunitListCall) -* [alerts](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::Alert) - * [*delete*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::AlertDeleteCall) and [*list*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::AlertListCall) + * [*customchannels list*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::AdunitCustomchannelListCall), [*get*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::AdunitGetCall), [*get ad code*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::AdunitGetAdCodeCall) and [*list*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::AdunitListCall) +* [alerts](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::Alert) + * [*delete*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::AlertDeleteCall) and [*list*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::AlertListCall) * customchannels - * [*adunits list*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::CustomchannelAdunitListCall), [*get*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::CustomchannelGetCall) and [*list*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::CustomchannelListCall) -* [metadata](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::Metadata) - * [*dimensions list*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::MetadataDimensionListCall) and [*metrics list*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::MetadataMetricListCall) -* [payments](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::Payment) - * [*list*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::PaymentListCall) + * [*adunits list*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::CustomchannelAdunitListCall), [*get*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::CustomchannelGetCall) and [*list*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::CustomchannelListCall) +* [metadata](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::Metadata) + * [*dimensions list*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::MetadataDimensionListCall) and [*metrics list*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::MetadataMetricListCall) +* [payments](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::Payment) + * [*list*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::PaymentListCall) * reports - * [*generate*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::ReportGenerateCall), [*saved generate*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::ReportSavedGenerateCall) and [*saved list*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::ReportSavedListCall) + * [*generate*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::ReportGenerateCall), [*saved generate*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::ReportSavedGenerateCall) and [*saved list*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::ReportSavedListCall) * savedadstyles - * [*get*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::SavedadstyleGetCall) and [*list*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::SavedadstyleListCall) + * [*get*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::SavedadstyleGetCall) and [*list*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::SavedadstyleListCall) * urlchannels - * [*list*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::UrlchannelListCall) + * [*list*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::UrlchannelListCall) Download supported by ... -* [*reports generate accounts*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::AccountReportGenerateCall) -* [*generate reports*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/api::ReportGenerateCall) +* [*reports generate accounts*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::AccountReportGenerateCall) +* [*generate reports*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/api::ReportGenerateCall) @@ -46,17 +46,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/AdSense)** +* **[Hub](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/AdSense)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/client::CallBuilder) -* **[Resources](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/client::CallBuilder) +* **[Resources](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/client::Part)** + * **[Parts](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/client::CallBuilder)** +* **[Activities](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -132,7 +132,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -169,17 +169,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -189,29 +189,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/client::Delegate) to the -[Method Builder](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/client::Delegate) to the +[Method Builder](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/client::RequestValue) and -[decodable](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/client::RequestValue) and +[decodable](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-adsense1d4/3.0.0+20201002/google_adsense1d4/client::RequestValue) are moved +* [request values](https://docs.rs/google-adsense1d4/3.1.0+20201002/google_adsense1d4/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/adsense1d4/src/api.rs b/gen/adsense1d4/src/api.rs index 4e25e5bfe7..78fb3e7de9 100644 --- a/gen/adsense1d4/src/api.rs +++ b/gen/adsense1d4/src/api.rs @@ -74,7 +74,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -126,7 +126,7 @@ impl<'a, > AdSense<> { AdSense { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/adsense/v1.4/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -164,7 +164,7 @@ impl<'a, > AdSense<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1022,7 +1022,7 @@ impl client::Part for CustomChannelTargetingInfo {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `adclients_get_ad_code(...)`, `adclients_list(...)`, `adunits_customchannels_list(...)`, `adunits_get(...)`, `adunits_get_ad_code(...)`, `adunits_list(...)`, `alerts_delete(...)`, `alerts_list(...)`, `customchannels_adunits_list(...)`, `customchannels_get(...)`, `customchannels_list(...)`, `get(...)`, `list(...)`, `payments_list(...)`, `reports_generate(...)`, `reports_saved_generate(...)`, `reports_saved_list(...)`, `savedadstyles_get(...)`, `savedadstyles_list(...)` and `urlchannels_list(...)` /// // to build up your call. @@ -1471,7 +1471,7 @@ impl<'a> AccountMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -1526,7 +1526,7 @@ impl<'a> AdclientMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `customchannels_list(...)`, `get(...)`, `get_ad_code(...)` and `list(...)` /// // to build up your call. @@ -1646,7 +1646,7 @@ impl<'a> AdunitMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)` and `list(...)` /// // to build up your call. @@ -1717,7 +1717,7 @@ impl<'a> AlertMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `adunits_list(...)`, `get(...)` and `list(...)` /// // to build up your call. @@ -1818,7 +1818,7 @@ impl<'a> CustomchannelMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `dimensions_list(...)` and `metrics_list(...)` /// // to build up your call. @@ -1883,7 +1883,7 @@ impl<'a> MetadataMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -1936,7 +1936,7 @@ impl<'a> PaymentMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `generate(...)`, `saved_generate(...)` and `saved_list(...)` /// // to build up your call. @@ -2040,7 +2040,7 @@ impl<'a> ReportMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -2112,7 +2112,7 @@ impl<'a> SavedadstyleMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -2179,7 +2179,7 @@ impl<'a> UrlchannelMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2451,7 +2451,7 @@ impl<'a> AccountAdclientGetAdCodeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2723,7 +2723,7 @@ impl<'a> AccountAdclientListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3019,7 +3019,7 @@ impl<'a> AccountAdunitCustomchannelListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3291,7 +3291,7 @@ impl<'a> AccountAdunitGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3563,7 +3563,7 @@ impl<'a> AccountAdunitGetAdCodeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3859,7 +3859,7 @@ impl<'a> AccountAdunitListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4108,7 +4108,7 @@ impl<'a> AccountAlertDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4368,7 +4368,7 @@ impl<'a> AccountAlertListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4676,7 +4676,7 @@ impl<'a> AccountCustomchannelAdunitListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4948,7 +4948,7 @@ impl<'a> AccountCustomchannelGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5232,7 +5232,7 @@ impl<'a> AccountCustomchannelListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5480,7 +5480,7 @@ impl<'a> AccountPaymentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5776,7 +5776,7 @@ impl<'a> AccountReportSavedGenerateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6053,7 +6053,7 @@ impl<'a> AccountReportSavedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6461,7 +6461,7 @@ impl<'a> AccountReportGenerateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6721,7 +6721,7 @@ impl<'a> AccountSavedadstyleGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6993,7 +6993,7 @@ impl<'a> AccountSavedadstyleListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7277,7 +7277,7 @@ impl<'a> AccountUrlchannelListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7537,7 +7537,7 @@ impl<'a> AccountGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7776,7 +7776,7 @@ impl<'a> AccountListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8015,7 +8015,7 @@ impl<'a> AdclientListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8299,7 +8299,7 @@ impl<'a> AdunitCustomchannelListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8559,7 +8559,7 @@ impl<'a> AdunitGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8819,7 +8819,7 @@ impl<'a> AdunitGetAdCodeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9103,7 +9103,7 @@ impl<'a> AdunitListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9340,7 +9340,7 @@ impl<'a> AlertDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9567,7 +9567,7 @@ impl<'a> AlertListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9863,7 +9863,7 @@ impl<'a> CustomchannelAdunitListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10123,7 +10123,7 @@ impl<'a> CustomchannelGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10395,7 +10395,7 @@ impl<'a> CustomchannelListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10610,7 +10610,7 @@ impl<'a> MetadataDimensionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10825,7 +10825,7 @@ impl<'a> MetadataMetricListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11040,7 +11040,7 @@ impl<'a> PaymentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11324,7 +11324,7 @@ impl<'a> ReportSavedGenerateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11568,7 +11568,7 @@ impl<'a> ReportSavedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11958,7 +11958,7 @@ impl<'a> ReportGenerateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12206,7 +12206,7 @@ impl<'a> SavedadstyleGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12445,7 +12445,7 @@ impl<'a> SavedadstyleListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/adsense1d4/src/lib.rs b/gen/adsense1d4/src/lib.rs index 5c36e23cda..58deed8506 100644 --- a/gen/adsense1d4/src/lib.rs +++ b/gen/adsense1d4/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *AdSense* crate version *3.0.0+20201002*, where *20201002* is the exact revision of the *adsense:v1.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *AdSense* crate version *3.1.0+20201002*, where *20201002* is the exact revision of the *adsense:v1.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *AdSense* *v1d4* API can be found at the //! [official documentation site](https://developers.google.com/adsense/management/). @@ -133,7 +133,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = AdSense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/adsense2-cli/Cargo.toml b/gen/adsense2-cli/Cargo.toml index 78e44a2728..bc258e7cea 100644 --- a/gen/adsense2-cli/Cargo.toml +++ b/gen/adsense2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-adsense2-cli" -version = "3.0.0+20220304" +version = "3.1.0+20220304" authors = ["Sebastian Thiel "] description = "A complete library to interact with adsense (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/adsense2-cli" @@ -20,12 +20,12 @@ name = "adsense2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-adsense2] path = "../adsense2" -version = "3.0.0+20220304" +version = "3.1.0+20220304" diff --git a/gen/adsense2-cli/README.md b/gen/adsense2-cli/README.md index d267597dc5..e095f4df9b 100644 --- a/gen/adsense2-cli/README.md +++ b/gen/adsense2-cli/README.md @@ -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 *adsense* API at revision *20220304*. The CLI is at version *3.0.0*. +This documentation was generated from the *adsense* API at revision *20220304*. The CLI is at version *3.1.0*. ```bash adsense2 [options] diff --git a/gen/adsense2-cli/mkdocs.yml b/gen/adsense2-cli/mkdocs.yml index 1323c947f1..0503b9390d 100644 --- a/gen/adsense2-cli/mkdocs.yml +++ b/gen/adsense2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: adsense v3.0.0+20220304 +site_name: adsense v3.1.0+20220304 site_url: http://byron.github.io/google-apis-rs/google-adsense2-cli site_description: A complete library to interact with adsense (protocol v2) diff --git a/gen/adsense2-cli/src/main.rs b/gen/adsense2-cli/src/main.rs index a9b9dd5f6d..e4d7a094d1 100644 --- a/gen/adsense2-cli/src/main.rs +++ b/gen/adsense2-cli/src/main.rs @@ -1527,7 +1527,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/adsense2", 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::Adsense::new(client, auth), @@ -2047,7 +2053,7 @@ async fn main() { let mut app = App::new("adsense2") .author("Sebastian Thiel ") - .version("3.0.0+20220304") + .version("3.1.0+20220304") .about("The AdSense Management API allows publishers to access their inventory and run earnings and performance reports.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_adsense2_cli") .arg(Arg::with_name("url") diff --git a/gen/adsense2/Cargo.toml b/gen/adsense2/Cargo.toml index 08d9e5b0bd..277b73435e 100644 --- a/gen/adsense2/Cargo.toml +++ b/gen/adsense2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-adsense2" -version = "3.0.0+20220304" +version = "3.1.0+20220304" authors = ["Sebastian Thiel "] description = "A complete library to interact with adsense (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/adsense2" homepage = "https://developers.google.com/adsense/management/" -documentation = "https://docs.rs/google-adsense2/3.0.0+20220304" +documentation = "https://docs.rs/google-adsense2/3.1.0+20220304" license = "MIT" keywords = ["adsense", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/adsense2/README.md b/gen/adsense2/README.md index fb1042bf96..02a9afe2e9 100644 --- a/gen/adsense2/README.md +++ b/gen/adsense2/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-adsense2` library allows access to all features of the *Google adsense* service. -This documentation was generated from *adsense* crate version *3.0.0+20220304*, where *20220304* is the exact revision of the *adsense:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *adsense* crate version *3.1.0+20220304*, where *20220304* is the exact revision of the *adsense:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *adsense* *v2* API can be found at the [official documentation site](https://developers.google.com/adsense/management/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adsense2/3.0.0+20220304/google_adsense2/Adsense) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adsense2/3.1.0+20220304/google_adsense2/Adsense) ... -* [accounts](https://docs.rs/google-adsense2/3.0.0+20220304/google_adsense2/api::Account) - * [*adclients adunits get*](https://docs.rs/google-adsense2/3.0.0+20220304/google_adsense2/api::AccountAdclientAdunitGetCall), [*adclients adunits get adcode*](https://docs.rs/google-adsense2/3.0.0+20220304/google_adsense2/api::AccountAdclientAdunitGetAdcodeCall), [*adclients adunits list*](https://docs.rs/google-adsense2/3.0.0+20220304/google_adsense2/api::AccountAdclientAdunitListCall), [*adclients adunits list linked custom channels*](https://docs.rs/google-adsense2/3.0.0+20220304/google_adsense2/api::AccountAdclientAdunitListLinkedCustomChannelCall), [*adclients customchannels get*](https://docs.rs/google-adsense2/3.0.0+20220304/google_adsense2/api::AccountAdclientCustomchannelGetCall), [*adclients customchannels list*](https://docs.rs/google-adsense2/3.0.0+20220304/google_adsense2/api::AccountAdclientCustomchannelListCall), [*adclients customchannels list linked ad units*](https://docs.rs/google-adsense2/3.0.0+20220304/google_adsense2/api::AccountAdclientCustomchannelListLinkedAdUnitCall), [*adclients get adcode*](https://docs.rs/google-adsense2/3.0.0+20220304/google_adsense2/api::AccountAdclientGetAdcodeCall), [*adclients list*](https://docs.rs/google-adsense2/3.0.0+20220304/google_adsense2/api::AccountAdclientListCall), [*adclients urlchannels list*](https://docs.rs/google-adsense2/3.0.0+20220304/google_adsense2/api::AccountAdclientUrlchannelListCall), [*alerts list*](https://docs.rs/google-adsense2/3.0.0+20220304/google_adsense2/api::AccountAlertListCall), [*get*](https://docs.rs/google-adsense2/3.0.0+20220304/google_adsense2/api::AccountGetCall), [*list*](https://docs.rs/google-adsense2/3.0.0+20220304/google_adsense2/api::AccountListCall), [*list child accounts*](https://docs.rs/google-adsense2/3.0.0+20220304/google_adsense2/api::AccountListChildAccountCall), [*payments list*](https://docs.rs/google-adsense2/3.0.0+20220304/google_adsense2/api::AccountPaymentListCall), [*reports generate*](https://docs.rs/google-adsense2/3.0.0+20220304/google_adsense2/api::AccountReportGenerateCall), [*reports generate csv*](https://docs.rs/google-adsense2/3.0.0+20220304/google_adsense2/api::AccountReportGenerateCsvCall), [*reports saved generate*](https://docs.rs/google-adsense2/3.0.0+20220304/google_adsense2/api::AccountReportSavedGenerateCall), [*reports saved generate csv*](https://docs.rs/google-adsense2/3.0.0+20220304/google_adsense2/api::AccountReportSavedGenerateCsvCall), [*reports saved list*](https://docs.rs/google-adsense2/3.0.0+20220304/google_adsense2/api::AccountReportSavedListCall), [*sites get*](https://docs.rs/google-adsense2/3.0.0+20220304/google_adsense2/api::AccountSiteGetCall) and [*sites list*](https://docs.rs/google-adsense2/3.0.0+20220304/google_adsense2/api::AccountSiteListCall) +* [accounts](https://docs.rs/google-adsense2/3.1.0+20220304/google_adsense2/api::Account) + * [*adclients adunits get*](https://docs.rs/google-adsense2/3.1.0+20220304/google_adsense2/api::AccountAdclientAdunitGetCall), [*adclients adunits get adcode*](https://docs.rs/google-adsense2/3.1.0+20220304/google_adsense2/api::AccountAdclientAdunitGetAdcodeCall), [*adclients adunits list*](https://docs.rs/google-adsense2/3.1.0+20220304/google_adsense2/api::AccountAdclientAdunitListCall), [*adclients adunits list linked custom channels*](https://docs.rs/google-adsense2/3.1.0+20220304/google_adsense2/api::AccountAdclientAdunitListLinkedCustomChannelCall), [*adclients customchannels get*](https://docs.rs/google-adsense2/3.1.0+20220304/google_adsense2/api::AccountAdclientCustomchannelGetCall), [*adclients customchannels list*](https://docs.rs/google-adsense2/3.1.0+20220304/google_adsense2/api::AccountAdclientCustomchannelListCall), [*adclients customchannels list linked ad units*](https://docs.rs/google-adsense2/3.1.0+20220304/google_adsense2/api::AccountAdclientCustomchannelListLinkedAdUnitCall), [*adclients get adcode*](https://docs.rs/google-adsense2/3.1.0+20220304/google_adsense2/api::AccountAdclientGetAdcodeCall), [*adclients list*](https://docs.rs/google-adsense2/3.1.0+20220304/google_adsense2/api::AccountAdclientListCall), [*adclients urlchannels list*](https://docs.rs/google-adsense2/3.1.0+20220304/google_adsense2/api::AccountAdclientUrlchannelListCall), [*alerts list*](https://docs.rs/google-adsense2/3.1.0+20220304/google_adsense2/api::AccountAlertListCall), [*get*](https://docs.rs/google-adsense2/3.1.0+20220304/google_adsense2/api::AccountGetCall), [*list*](https://docs.rs/google-adsense2/3.1.0+20220304/google_adsense2/api::AccountListCall), [*list child accounts*](https://docs.rs/google-adsense2/3.1.0+20220304/google_adsense2/api::AccountListChildAccountCall), [*payments list*](https://docs.rs/google-adsense2/3.1.0+20220304/google_adsense2/api::AccountPaymentListCall), [*reports generate*](https://docs.rs/google-adsense2/3.1.0+20220304/google_adsense2/api::AccountReportGenerateCall), [*reports generate csv*](https://docs.rs/google-adsense2/3.1.0+20220304/google_adsense2/api::AccountReportGenerateCsvCall), [*reports saved generate*](https://docs.rs/google-adsense2/3.1.0+20220304/google_adsense2/api::AccountReportSavedGenerateCall), [*reports saved generate csv*](https://docs.rs/google-adsense2/3.1.0+20220304/google_adsense2/api::AccountReportSavedGenerateCsvCall), [*reports saved list*](https://docs.rs/google-adsense2/3.1.0+20220304/google_adsense2/api::AccountReportSavedListCall), [*sites get*](https://docs.rs/google-adsense2/3.1.0+20220304/google_adsense2/api::AccountSiteGetCall) and [*sites list*](https://docs.rs/google-adsense2/3.1.0+20220304/google_adsense2/api::AccountSiteListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-adsense2/3.0.0+20220304/google_adsense2/Adsense)** +* **[Hub](https://docs.rs/google-adsense2/3.1.0+20220304/google_adsense2/Adsense)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-adsense2/3.0.0+20220304/google_adsense2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-adsense2/3.0.0+20220304/google_adsense2/client::CallBuilder) -* **[Resources](https://docs.rs/google-adsense2/3.0.0+20220304/google_adsense2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-adsense2/3.1.0+20220304/google_adsense2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-adsense2/3.1.0+20220304/google_adsense2/client::CallBuilder) +* **[Resources](https://docs.rs/google-adsense2/3.1.0+20220304/google_adsense2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-adsense2/3.0.0+20220304/google_adsense2/client::Part)** + * **[Parts](https://docs.rs/google-adsense2/3.1.0+20220304/google_adsense2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-adsense2/3.0.0+20220304/google_adsense2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-adsense2/3.1.0+20220304/google_adsense2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -111,7 +111,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -154,17 +154,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-adsense2/3.0.0+20220304/google_adsense2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-adsense2/3.1.0+20220304/google_adsense2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-adsense2/3.0.0+20220304/google_adsense2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-adsense2/3.1.0+20220304/google_adsense2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-adsense2/3.0.0+20220304/google_adsense2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-adsense2/3.1.0+20220304/google_adsense2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-adsense2/3.0.0+20220304/google_adsense2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-adsense2/3.1.0+20220304/google_adsense2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -174,29 +174,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-adsense2/3.0.0+20220304/google_adsense2/client::Delegate) to the -[Method Builder](https://docs.rs/google-adsense2/3.0.0+20220304/google_adsense2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-adsense2/3.1.0+20220304/google_adsense2/client::Delegate) to the +[Method Builder](https://docs.rs/google-adsense2/3.1.0+20220304/google_adsense2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-adsense2/3.0.0+20220304/google_adsense2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-adsense2/3.1.0+20220304/google_adsense2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-adsense2/3.0.0+20220304/google_adsense2/client::RequestValue) and -[decodable](https://docs.rs/google-adsense2/3.0.0+20220304/google_adsense2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-adsense2/3.1.0+20220304/google_adsense2/client::RequestValue) and +[decodable](https://docs.rs/google-adsense2/3.1.0+20220304/google_adsense2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-adsense2/3.0.0+20220304/google_adsense2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-adsense2/3.1.0+20220304/google_adsense2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-adsense2/3.0.0+20220304/google_adsense2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-adsense2/3.1.0+20220304/google_adsense2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-adsense2/3.0.0+20220304/google_adsense2/client::RequestValue) are moved +* [request values](https://docs.rs/google-adsense2/3.1.0+20220304/google_adsense2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/adsense2/src/api.rs b/gen/adsense2/src/api.rs index 76757252ea..4d9b280219 100644 --- a/gen/adsense2/src/api.rs +++ b/gen/adsense2/src/api.rs @@ -74,7 +74,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -132,7 +132,7 @@ impl<'a, > Adsense<> { Adsense { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://adsense.googleapis.com/".to_string(), _root_url: "https://adsense.googleapis.com/".to_string(), } @@ -143,7 +143,7 @@ impl<'a, > Adsense<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -872,7 +872,7 @@ impl client::Part for UrlChannel {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `adclients_adunits_get(...)`, `adclients_adunits_get_adcode(...)`, `adclients_adunits_list(...)`, `adclients_adunits_list_linked_custom_channels(...)`, `adclients_customchannels_get(...)`, `adclients_customchannels_list(...)`, `adclients_customchannels_list_linked_ad_units(...)`, `adclients_get_adcode(...)`, `adclients_list(...)`, `adclients_urlchannels_list(...)`, `alerts_list(...)`, `get(...)`, `list(...)`, `list_child_accounts(...)`, `payments_list(...)`, `reports_generate(...)`, `reports_generate_csv(...)`, `reports_saved_generate(...)`, `reports_saved_generate_csv(...)`, `reports_saved_list(...)`, `sites_get(...)` and `sites_list(...)` /// // to build up your call. @@ -1360,7 +1360,7 @@ impl<'a> AccountMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1616,7 +1616,7 @@ impl<'a> AccountAdclientAdunitGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1872,7 +1872,7 @@ impl<'a> AccountAdclientAdunitGetAdcodeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2152,7 +2152,7 @@ impl<'a> AccountAdclientAdunitListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2432,7 +2432,7 @@ impl<'a> AccountAdclientAdunitListLinkedCustomChannelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2688,7 +2688,7 @@ impl<'a> AccountAdclientCustomchannelGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2968,7 +2968,7 @@ impl<'a> AccountAdclientCustomchannelListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3248,7 +3248,7 @@ impl<'a> AccountAdclientCustomchannelListLinkedAdUnitCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3528,7 +3528,7 @@ impl<'a> AccountAdclientUrlchannelListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3784,7 +3784,7 @@ impl<'a> AccountAdclientGetAdcodeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4064,7 +4064,7 @@ impl<'a> AccountAdclientListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4332,7 +4332,7 @@ impl<'a> AccountAlertListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4588,7 +4588,7 @@ impl<'a> AccountPaymentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4964,7 +4964,7 @@ impl<'a> AccountReportSavedGenerateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5340,7 +5340,7 @@ impl<'a> AccountReportSavedGenerateCsvCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5620,7 +5620,7 @@ impl<'a> AccountReportSavedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6068,7 +6068,7 @@ impl<'a> AccountReportGenerateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6516,7 +6516,7 @@ impl<'a> AccountReportGenerateCsvCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6772,7 +6772,7 @@ impl<'a> AccountSiteGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7052,7 +7052,7 @@ impl<'a> AccountSiteListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7308,7 +7308,7 @@ impl<'a> AccountGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7551,7 +7551,7 @@ impl<'a> AccountListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/adsense2/src/lib.rs b/gen/adsense2/src/lib.rs index f6ab7aad2c..73ff86c5d5 100644 --- a/gen/adsense2/src/lib.rs +++ b/gen/adsense2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *adsense* crate version *3.0.0+20220304*, where *20220304* is the exact revision of the *adsense:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *adsense* crate version *3.1.0+20220304*, where *20220304* is the exact revision of the *adsense:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *adsense* *v2* API can be found at the //! [official documentation site](https://developers.google.com/adsense/management/). @@ -112,7 +112,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Adsense::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/adsensehost4d1-cli/Cargo.toml b/gen/adsensehost4d1-cli/Cargo.toml index 45d3d56e47..53c439272b 100644 --- a/gen/adsensehost4d1-cli/Cargo.toml +++ b/gen/adsensehost4d1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-adsensehost4d1-cli" -version = "3.0.0+20200930" +version = "3.1.0+20200930" authors = ["Sebastian Thiel "] description = "A complete library to interact with AdSense Host (protocol v4.1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/adsensehost4d1-cli" @@ -20,12 +20,12 @@ name = "adsensehost4d1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-adsensehost4d1] path = "../adsensehost4d1" -version = "3.0.0+20200930" +version = "3.1.0+20200930" diff --git a/gen/adsensehost4d1-cli/README.md b/gen/adsensehost4d1-cli/README.md index e7eee8625d..e1d13d3044 100644 --- a/gen/adsensehost4d1-cli/README.md +++ b/gen/adsensehost4d1-cli/README.md @@ -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 *AdSense Host* API at revision *20200930*. The CLI is at version *3.0.0*. +This documentation was generated from the *AdSense Host* API at revision *20200930*. The CLI is at version *3.1.0*. ```bash adsensehost4d1 [options] diff --git a/gen/adsensehost4d1-cli/mkdocs.yml b/gen/adsensehost4d1-cli/mkdocs.yml index 7655c84b16..2a54922b34 100644 --- a/gen/adsensehost4d1-cli/mkdocs.yml +++ b/gen/adsensehost4d1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: AdSense Host v3.0.0+20200930 +site_name: AdSense Host v3.1.0+20200930 site_url: http://byron.github.io/google-apis-rs/google-adsensehost4d1-cli site_description: A complete library to interact with AdSense Host (protocol v4.1) diff --git a/gen/adsensehost4d1-cli/src/main.rs b/gen/adsensehost4d1-cli/src/main.rs index 4663999425..42ef19057d 100644 --- a/gen/adsensehost4d1-cli/src/main.rs +++ b/gen/adsensehost4d1-cli/src/main.rs @@ -1963,7 +1963,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/adsensehost4d1", 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::AdSenseHost::new(client, auth), @@ -2745,7 +2751,7 @@ async fn main() { let mut app = App::new("adsensehost4d1") .author("Sebastian Thiel ") - .version("3.0.0+20200930") + .version("3.1.0+20200930") .about("Generates performance reports, generates ad codes, and provides publisher management capabilities for AdSense Hosts.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_adsensehost4d1_cli") .arg(Arg::with_name("url") diff --git a/gen/adsensehost4d1/Cargo.toml b/gen/adsensehost4d1/Cargo.toml index fadd7163a2..df3f4ef242 100644 --- a/gen/adsensehost4d1/Cargo.toml +++ b/gen/adsensehost4d1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-adsensehost4d1" -version = "3.0.0+20200930" +version = "3.1.0+20200930" authors = ["Sebastian Thiel "] description = "A complete library to interact with AdSense Host (protocol v4.1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/adsensehost4d1" homepage = "https://developers.google.com/adsense/host/" -documentation = "https://docs.rs/google-adsensehost4d1/3.0.0+20200930" +documentation = "https://docs.rs/google-adsensehost4d1/3.1.0+20200930" license = "MIT" keywords = ["adsensehost", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/adsensehost4d1/README.md b/gen/adsensehost4d1/README.md index d676968883..3b781f7503 100644 --- a/gen/adsensehost4d1/README.md +++ b/gen/adsensehost4d1/README.md @@ -5,26 +5,26 @@ DO NOT EDIT ! --> The `google-adsensehost4d1` library allows access to all features of the *Google AdSense Host* service. -This documentation was generated from *AdSense Host* crate version *3.0.0+20200930*, where *20200930* is the exact revision of the *adsensehost:v4.1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *AdSense Host* crate version *3.1.0+20200930*, where *20200930* is the exact revision of the *adsensehost:v4.1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *AdSense Host* *v4d1* API can be found at the [official documentation site](https://developers.google.com/adsense/host/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/AdSenseHost) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/AdSenseHost) ... -* [accounts](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/api::Account) - * [*adclients get*](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/api::AccountAdclientGetCall), [*adclients list*](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/api::AccountAdclientListCall), [*adunits delete*](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/api::AccountAdunitDeleteCall), [*adunits get*](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/api::AccountAdunitGetCall), [*adunits get ad code*](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/api::AccountAdunitGetAdCodeCall), [*adunits insert*](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/api::AccountAdunitInsertCall), [*adunits list*](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/api::AccountAdunitListCall), [*adunits patch*](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/api::AccountAdunitPatchCall), [*adunits update*](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/api::AccountAdunitUpdateCall), [*get*](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/api::AccountGetCall), [*list*](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/api::AccountListCall) and [*reports generate*](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/api::AccountReportGenerateCall) +* [accounts](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/api::Account) + * [*adclients get*](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/api::AccountAdclientGetCall), [*adclients list*](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/api::AccountAdclientListCall), [*adunits delete*](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/api::AccountAdunitDeleteCall), [*adunits get*](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/api::AccountAdunitGetCall), [*adunits get ad code*](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/api::AccountAdunitGetAdCodeCall), [*adunits insert*](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/api::AccountAdunitInsertCall), [*adunits list*](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/api::AccountAdunitListCall), [*adunits patch*](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/api::AccountAdunitPatchCall), [*adunits update*](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/api::AccountAdunitUpdateCall), [*get*](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/api::AccountGetCall), [*list*](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/api::AccountListCall) and [*reports generate*](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/api::AccountReportGenerateCall) * adclients - * [*get*](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/api::AdclientGetCall) and [*list*](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/api::AdclientListCall) + * [*get*](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/api::AdclientGetCall) and [*list*](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/api::AdclientListCall) * associationsessions - * [*start*](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/api::AssociationsessionStartCall) and [*verify*](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/api::AssociationsessionVerifyCall) + * [*start*](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/api::AssociationsessionStartCall) and [*verify*](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/api::AssociationsessionVerifyCall) * customchannels - * [*delete*](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/api::CustomchannelDeleteCall), [*get*](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/api::CustomchannelGetCall), [*insert*](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/api::CustomchannelInsertCall), [*list*](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/api::CustomchannelListCall), [*patch*](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/api::CustomchannelPatchCall) and [*update*](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/api::CustomchannelUpdateCall) -* [reports](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/api::Report) - * [*generate*](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/api::ReportGenerateCall) + * [*delete*](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/api::CustomchannelDeleteCall), [*get*](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/api::CustomchannelGetCall), [*insert*](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/api::CustomchannelInsertCall), [*list*](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/api::CustomchannelListCall), [*patch*](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/api::CustomchannelPatchCall) and [*update*](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/api::CustomchannelUpdateCall) +* [reports](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/api::Report) + * [*generate*](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/api::ReportGenerateCall) * urlchannels - * [*delete*](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/api::UrlchannelDeleteCall), [*insert*](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/api::UrlchannelInsertCall) and [*list*](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/api::UrlchannelListCall) + * [*delete*](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/api::UrlchannelDeleteCall), [*insert*](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/api::UrlchannelInsertCall) and [*list*](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/api::UrlchannelListCall) @@ -33,17 +33,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/AdSenseHost)** +* **[Hub](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/AdSenseHost)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/client::CallBuilder) -* **[Resources](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/client::CallBuilder) +* **[Resources](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/client::Part)** + * **[Parts](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -111,7 +111,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -146,17 +146,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -166,29 +166,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/client::Delegate) to the -[Method Builder](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/client::Delegate) to the +[Method Builder](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/client::RequestValue) and -[decodable](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/client::RequestValue) and +[decodable](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-adsensehost4d1/3.0.0+20200930/google_adsensehost4d1/client::RequestValue) are moved +* [request values](https://docs.rs/google-adsensehost4d1/3.1.0+20200930/google_adsensehost4d1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/adsensehost4d1/src/api.rs b/gen/adsensehost4d1/src/api.rs index 03ec7efcc1..b486c863d0 100644 --- a/gen/adsensehost4d1/src/api.rs +++ b/gen/adsensehost4d1/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > AdSenseHost<> { AdSenseHost { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/adsensehost/v4.1/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -146,7 +146,7 @@ impl<'a, > AdSenseHost<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -725,7 +725,7 @@ impl client::Part for ReportHeaders {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `adclients_get(...)`, `adclients_list(...)`, `adunits_delete(...)`, `adunits_get(...)`, `adunits_get_ad_code(...)`, `adunits_insert(...)`, `adunits_list(...)`, `adunits_patch(...)`, `adunits_update(...)`, `get(...)`, `list(...)` and `reports_generate(...)` /// // to build up your call. @@ -1017,7 +1017,7 @@ impl<'a> AccountMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -1089,7 +1089,7 @@ impl<'a> AdclientMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `start(...)` and `verify(...)` /// // to build up your call. @@ -1169,7 +1169,7 @@ impl<'a> AssociationsessionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -1326,7 +1326,7 @@ impl<'a> CustomchannelMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `generate(...)` /// // to build up your call. @@ -1393,7 +1393,7 @@ impl<'a> ReportMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -1498,7 +1498,7 @@ impl<'a> UrlchannelMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1758,7 +1758,7 @@ impl<'a> AccountAdclientGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2030,7 +2030,7 @@ impl<'a> AccountAdclientListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2302,7 +2302,7 @@ impl<'a> AccountAdunitDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2574,7 +2574,7 @@ impl<'a> AccountAdunitGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2862,7 +2862,7 @@ impl<'a> AccountAdunitGetAdCodeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3151,7 +3151,7 @@ impl<'a> AccountAdunitInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3448,7 +3448,7 @@ impl<'a> AccountAdunitListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3750,7 +3750,7 @@ impl<'a> AccountAdunitPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4039,7 +4039,7 @@ impl<'a> AccountAdunitUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4407,7 +4407,7 @@ impl<'a> AccountReportGenerateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4655,7 +4655,7 @@ impl<'a> AccountGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4887,7 +4887,7 @@ impl<'a> AccountListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5135,7 +5135,7 @@ impl<'a> AdclientGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5374,7 +5374,7 @@ impl<'a> AdclientListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5654,7 +5654,7 @@ impl<'a> AssociationsessionStartCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5881,7 +5881,7 @@ impl<'a> AssociationsessionVerifyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6141,7 +6141,7 @@ impl<'a> CustomchannelDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6402,7 +6402,7 @@ impl<'a> CustomchannelGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6679,7 +6679,7 @@ impl<'a> CustomchannelInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6952,7 +6952,7 @@ impl<'a> CustomchannelListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7242,7 +7242,7 @@ impl<'a> CustomchannelPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7519,7 +7519,7 @@ impl<'a> CustomchannelUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7854,7 +7854,7 @@ impl<'a> ReportGenerateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8115,7 +8115,7 @@ impl<'a> UrlchannelDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8392,7 +8392,7 @@ impl<'a> UrlchannelInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/adsensehost4d1/src/lib.rs b/gen/adsensehost4d1/src/lib.rs index 9c6fdeaaf0..5de076c303 100644 --- a/gen/adsensehost4d1/src/lib.rs +++ b/gen/adsensehost4d1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *AdSense Host* crate version *3.0.0+20200930*, where *20200930* is the exact revision of the *adsensehost:v4.1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *AdSense Host* crate version *3.1.0+20200930*, where *20200930* is the exact revision of the *adsensehost:v4.1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *AdSense Host* *v4d1* API can be found at the //! [official documentation site](https://developers.google.com/adsense/host/). @@ -112,7 +112,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = AdSenseHost::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/alertcenter1_beta1-cli/Cargo.toml b/gen/alertcenter1_beta1-cli/Cargo.toml index e6256d10bd..7f4db1a33f 100644 --- a/gen/alertcenter1_beta1-cli/Cargo.toml +++ b/gen/alertcenter1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-alertcenter1_beta1-cli" -version = "3.0.0+20220221" +version = "3.1.0+20220221" authors = ["Sebastian Thiel "] description = "A complete library to interact with AlertCenter (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/alertcenter1_beta1-cli" @@ -20,12 +20,12 @@ name = "alertcenter1-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-alertcenter1_beta1] path = "../alertcenter1_beta1" -version = "3.0.0+20220221" +version = "3.1.0+20220221" diff --git a/gen/alertcenter1_beta1-cli/README.md b/gen/alertcenter1_beta1-cli/README.md index 96b76e5d81..63230ce341 100644 --- a/gen/alertcenter1_beta1-cli/README.md +++ b/gen/alertcenter1_beta1-cli/README.md @@ -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 *AlertCenter* API at revision *20220221*. The CLI is at version *3.0.0*. +This documentation was generated from the *AlertCenter* API at revision *20220221*. The CLI is at version *3.1.0*. ```bash alertcenter1-beta1 [options] diff --git a/gen/alertcenter1_beta1-cli/mkdocs.yml b/gen/alertcenter1_beta1-cli/mkdocs.yml index a75e126f87..d90b2f55fa 100644 --- a/gen/alertcenter1_beta1-cli/mkdocs.yml +++ b/gen/alertcenter1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: AlertCenter v3.0.0+20220221 +site_name: AlertCenter v3.1.0+20220221 site_url: http://byron.github.io/google-apis-rs/google-alertcenter1_beta1-cli site_description: A complete library to interact with AlertCenter (protocol v1beta1) diff --git a/gen/alertcenter1_beta1-cli/src/main.rs b/gen/alertcenter1_beta1-cli/src/main.rs index 42cf04ff09..a5eaad2325 100644 --- a/gen/alertcenter1_beta1-cli/src/main.rs +++ b/gen/alertcenter1_beta1-cli/src/main.rs @@ -920,7 +920,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/alertcenter1-beta1", 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::AlertCenter::new(client, auth), @@ -1207,7 +1213,7 @@ async fn main() { let mut app = App::new("alertcenter1-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20220221") + .version("3.1.0+20220221") .about("Manages alerts on issues affecting your domain.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_alertcenter1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/alertcenter1_beta1/Cargo.toml b/gen/alertcenter1_beta1/Cargo.toml index f11b594a54..32ff3ccf17 100644 --- a/gen/alertcenter1_beta1/Cargo.toml +++ b/gen/alertcenter1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-alertcenter1_beta1" -version = "3.0.0+20220221" +version = "3.1.0+20220221" authors = ["Sebastian Thiel "] description = "A complete library to interact with AlertCenter (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/alertcenter1_beta1" homepage = "https://developers.google.com/admin-sdk/alertcenter/" -documentation = "https://docs.rs/google-alertcenter1_beta1/3.0.0+20220221" +documentation = "https://docs.rs/google-alertcenter1_beta1/3.1.0+20220221" license = "MIT" keywords = ["alertcenter", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/alertcenter1_beta1/README.md b/gen/alertcenter1_beta1/README.md index 61eab75f65..ef4af5ad3b 100644 --- a/gen/alertcenter1_beta1/README.md +++ b/gen/alertcenter1_beta1/README.md @@ -5,21 +5,21 @@ DO NOT EDIT ! --> The `google-alertcenter1_beta1` library allows access to all features of the *Google AlertCenter* service. -This documentation was generated from *AlertCenter* crate version *3.0.0+20220221*, where *20220221* is the exact revision of the *alertcenter:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *AlertCenter* crate version *3.1.0+20220221*, where *20220221* is the exact revision of the *alertcenter:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *AlertCenter* *v1_beta1* API can be found at the [official documentation site](https://developers.google.com/admin-sdk/alertcenter/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-alertcenter1_beta1/3.0.0+20220221/google_alertcenter1_beta1/AlertCenter) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-alertcenter1_beta1/3.1.0+20220221/google_alertcenter1_beta1/AlertCenter) ... -* [alerts](https://docs.rs/google-alertcenter1_beta1/3.0.0+20220221/google_alertcenter1_beta1/api::Alert) - * [*batch delete*](https://docs.rs/google-alertcenter1_beta1/3.0.0+20220221/google_alertcenter1_beta1/api::AlertBatchDeleteCall), [*batch undelete*](https://docs.rs/google-alertcenter1_beta1/3.0.0+20220221/google_alertcenter1_beta1/api::AlertBatchUndeleteCall), [*delete*](https://docs.rs/google-alertcenter1_beta1/3.0.0+20220221/google_alertcenter1_beta1/api::AlertDeleteCall), [*feedback create*](https://docs.rs/google-alertcenter1_beta1/3.0.0+20220221/google_alertcenter1_beta1/api::AlertFeedbackCreateCall), [*feedback list*](https://docs.rs/google-alertcenter1_beta1/3.0.0+20220221/google_alertcenter1_beta1/api::AlertFeedbackListCall), [*get*](https://docs.rs/google-alertcenter1_beta1/3.0.0+20220221/google_alertcenter1_beta1/api::AlertGetCall), [*get metadata*](https://docs.rs/google-alertcenter1_beta1/3.0.0+20220221/google_alertcenter1_beta1/api::AlertGetMetadataCall), [*list*](https://docs.rs/google-alertcenter1_beta1/3.0.0+20220221/google_alertcenter1_beta1/api::AlertListCall) and [*undelete*](https://docs.rs/google-alertcenter1_beta1/3.0.0+20220221/google_alertcenter1_beta1/api::AlertUndeleteCall) +* [alerts](https://docs.rs/google-alertcenter1_beta1/3.1.0+20220221/google_alertcenter1_beta1/api::Alert) + * [*batch delete*](https://docs.rs/google-alertcenter1_beta1/3.1.0+20220221/google_alertcenter1_beta1/api::AlertBatchDeleteCall), [*batch undelete*](https://docs.rs/google-alertcenter1_beta1/3.1.0+20220221/google_alertcenter1_beta1/api::AlertBatchUndeleteCall), [*delete*](https://docs.rs/google-alertcenter1_beta1/3.1.0+20220221/google_alertcenter1_beta1/api::AlertDeleteCall), [*feedback create*](https://docs.rs/google-alertcenter1_beta1/3.1.0+20220221/google_alertcenter1_beta1/api::AlertFeedbackCreateCall), [*feedback list*](https://docs.rs/google-alertcenter1_beta1/3.1.0+20220221/google_alertcenter1_beta1/api::AlertFeedbackListCall), [*get*](https://docs.rs/google-alertcenter1_beta1/3.1.0+20220221/google_alertcenter1_beta1/api::AlertGetCall), [*get metadata*](https://docs.rs/google-alertcenter1_beta1/3.1.0+20220221/google_alertcenter1_beta1/api::AlertGetMetadataCall), [*list*](https://docs.rs/google-alertcenter1_beta1/3.1.0+20220221/google_alertcenter1_beta1/api::AlertListCall) and [*undelete*](https://docs.rs/google-alertcenter1_beta1/3.1.0+20220221/google_alertcenter1_beta1/api::AlertUndeleteCall) Other activities are ... -* [get settings](https://docs.rs/google-alertcenter1_beta1/3.0.0+20220221/google_alertcenter1_beta1/api::MethodGetSettingCall) -* [update settings](https://docs.rs/google-alertcenter1_beta1/3.0.0+20220221/google_alertcenter1_beta1/api::MethodUpdateSettingCall) +* [get settings](https://docs.rs/google-alertcenter1_beta1/3.1.0+20220221/google_alertcenter1_beta1/api::MethodGetSettingCall) +* [update settings](https://docs.rs/google-alertcenter1_beta1/3.1.0+20220221/google_alertcenter1_beta1/api::MethodUpdateSettingCall) @@ -27,17 +27,17 @@ Other activities are ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-alertcenter1_beta1/3.0.0+20220221/google_alertcenter1_beta1/AlertCenter)** +* **[Hub](https://docs.rs/google-alertcenter1_beta1/3.1.0+20220221/google_alertcenter1_beta1/AlertCenter)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-alertcenter1_beta1/3.0.0+20220221/google_alertcenter1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-alertcenter1_beta1/3.0.0+20220221/google_alertcenter1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-alertcenter1_beta1/3.0.0+20220221/google_alertcenter1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-alertcenter1_beta1/3.1.0+20220221/google_alertcenter1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-alertcenter1_beta1/3.1.0+20220221/google_alertcenter1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-alertcenter1_beta1/3.1.0+20220221/google_alertcenter1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-alertcenter1_beta1/3.0.0+20220221/google_alertcenter1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-alertcenter1_beta1/3.1.0+20220221/google_alertcenter1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-alertcenter1_beta1/3.0.0+20220221/google_alertcenter1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-alertcenter1_beta1/3.1.0+20220221/google_alertcenter1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -102,7 +102,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = AlertCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = AlertCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -135,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-alertcenter1_beta1/3.0.0+20220221/google_alertcenter1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-alertcenter1_beta1/3.1.0+20220221/google_alertcenter1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-alertcenter1_beta1/3.0.0+20220221/google_alertcenter1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-alertcenter1_beta1/3.1.0+20220221/google_alertcenter1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-alertcenter1_beta1/3.0.0+20220221/google_alertcenter1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-alertcenter1_beta1/3.1.0+20220221/google_alertcenter1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-alertcenter1_beta1/3.0.0+20220221/google_alertcenter1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-alertcenter1_beta1/3.1.0+20220221/google_alertcenter1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -155,29 +155,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-alertcenter1_beta1/3.0.0+20220221/google_alertcenter1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-alertcenter1_beta1/3.0.0+20220221/google_alertcenter1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-alertcenter1_beta1/3.1.0+20220221/google_alertcenter1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-alertcenter1_beta1/3.1.0+20220221/google_alertcenter1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-alertcenter1_beta1/3.0.0+20220221/google_alertcenter1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-alertcenter1_beta1/3.1.0+20220221/google_alertcenter1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-alertcenter1_beta1/3.0.0+20220221/google_alertcenter1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-alertcenter1_beta1/3.0.0+20220221/google_alertcenter1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-alertcenter1_beta1/3.1.0+20220221/google_alertcenter1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-alertcenter1_beta1/3.1.0+20220221/google_alertcenter1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-alertcenter1_beta1/3.0.0+20220221/google_alertcenter1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-alertcenter1_beta1/3.1.0+20220221/google_alertcenter1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-alertcenter1_beta1/3.0.0+20220221/google_alertcenter1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-alertcenter1_beta1/3.1.0+20220221/google_alertcenter1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-alertcenter1_beta1/3.0.0+20220221/google_alertcenter1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-alertcenter1_beta1/3.1.0+20220221/google_alertcenter1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/alertcenter1_beta1/src/api.rs b/gen/alertcenter1_beta1/src/api.rs index 5e2e3bc72d..18c00839a7 100644 --- a/gen/alertcenter1_beta1/src/api.rs +++ b/gen/alertcenter1_beta1/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AlertCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AlertCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -118,7 +118,7 @@ impl<'a, > AlertCenter<> { AlertCenter { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://alertcenter.googleapis.com/".to_string(), _root_url: "https://alertcenter.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > AlertCenter<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -541,7 +541,7 @@ impl client::RequestValue for UndeleteAlertRequest {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AlertCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AlertCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `batch_delete(...)`, `batch_undelete(...)`, `delete(...)`, `feedback_create(...)`, `feedback_list(...)`, `get(...)`, `get_metadata(...)`, `list(...)` and `undelete(...)` /// // to build up your call. @@ -745,7 +745,7 @@ impl<'a> AlertMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AlertCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AlertCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get_settings(...)` and `update_settings(...)` /// // to build up your call. @@ -825,7 +825,7 @@ impl<'a> MethodMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AlertCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AlertCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1118,7 +1118,7 @@ impl<'a> AlertFeedbackCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AlertCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AlertCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1395,7 +1395,7 @@ impl<'a> AlertFeedbackListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AlertCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AlertCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1644,7 +1644,7 @@ impl<'a> AlertBatchDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AlertCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AlertCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1892,7 +1892,7 @@ impl<'a> AlertBatchUndeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AlertCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AlertCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2156,7 +2156,7 @@ impl<'a> AlertDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AlertCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AlertCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2420,7 +2420,7 @@ impl<'a> AlertGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AlertCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AlertCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2684,7 +2684,7 @@ impl<'a> AlertGetMetadataCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AlertCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AlertCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2964,7 +2964,7 @@ impl<'a> AlertListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AlertCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AlertCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3245,7 +3245,7 @@ impl<'a> AlertUndeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AlertCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AlertCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3477,7 +3477,7 @@ impl<'a> MethodGetSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AlertCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AlertCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/alertcenter1_beta1/src/lib.rs b/gen/alertcenter1_beta1/src/lib.rs index 7f904baabb..cdd36b12ec 100644 --- a/gen/alertcenter1_beta1/src/lib.rs +++ b/gen/alertcenter1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *AlertCenter* crate version *3.0.0+20220221*, where *20220221* is the exact revision of the *alertcenter:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *AlertCenter* crate version *3.1.0+20220221*, where *20220221* is the exact revision of the *alertcenter:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *AlertCenter* *v1_beta1* API can be found at the //! [official documentation site](https://developers.google.com/admin-sdk/alertcenter/). @@ -103,7 +103,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = AlertCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = AlertCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/analytics3-cli/Cargo.toml b/gen/analytics3-cli/Cargo.toml index 6175a0a235..2b314ec47c 100644 --- a/gen/analytics3-cli/Cargo.toml +++ b/gen/analytics3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-analytics3-cli" -version = "3.0.0+20190807" +version = "3.1.0+20190807" authors = ["Sebastian Thiel "] description = "A complete library to interact with analytics (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/analytics3-cli" @@ -20,12 +20,12 @@ name = "analytics3" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-analytics3] path = "../analytics3" -version = "3.0.0+20190807" +version = "3.1.0+20190807" diff --git a/gen/analytics3-cli/README.md b/gen/analytics3-cli/README.md index dc219b6875..e6b84c18db 100644 --- a/gen/analytics3-cli/README.md +++ b/gen/analytics3-cli/README.md @@ -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 *analytics* API at revision *20190807*. The CLI is at version *3.0.0*. +This documentation was generated from the *analytics* API at revision *20190807*. The CLI is at version *3.1.0*. ```bash analytics3 [options] diff --git a/gen/analytics3-cli/mkdocs.yml b/gen/analytics3-cli/mkdocs.yml index 55b9b371a7..6566a60c73 100644 --- a/gen/analytics3-cli/mkdocs.yml +++ b/gen/analytics3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: analytics v3.0.0+20190807 +site_name: analytics v3.1.0+20190807 site_url: http://byron.github.io/google-apis-rs/google-analytics3-cli site_description: A complete library to interact with analytics (protocol v3) diff --git a/gen/analytics3-cli/src/main.rs b/gen/analytics3-cli/src/main.rs index 11dd13eb30..cc19556e22 100644 --- a/gen/analytics3-cli/src/main.rs +++ b/gen/analytics3-cli/src/main.rs @@ -7361,7 +7361,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/analytics3", 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::Analytics::new(client, auth), @@ -10363,7 +10369,7 @@ async fn main() { let mut app = App::new("analytics3") .author("Sebastian Thiel ") - .version("3.0.0+20190807") + .version("3.1.0+20190807") .about("Views and manages your Google Analytics data.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_analytics3_cli") .arg(Arg::with_name("url") diff --git a/gen/analytics3/Cargo.toml b/gen/analytics3/Cargo.toml index 3cbf575031..6d4d68aab0 100644 --- a/gen/analytics3/Cargo.toml +++ b/gen/analytics3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-analytics3" -version = "3.0.0+20190807" +version = "3.1.0+20190807" authors = ["Sebastian Thiel "] description = "A complete library to interact with analytics (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/analytics3" homepage = "https://developers.google.com/analytics/" -documentation = "https://docs.rs/google-analytics3/3.0.0+20190807" +documentation = "https://docs.rs/google-analytics3/3.1.0+20190807" license = "MIT" keywords = ["analytics", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/analytics3/README.md b/gen/analytics3/README.md index 179daec308..a37c139f4f 100644 --- a/gen/analytics3/README.md +++ b/gen/analytics3/README.md @@ -5,29 +5,29 @@ DO NOT EDIT ! --> The `google-analytics3` library allows access to all features of the *Google analytics* service. -This documentation was generated from *analytics* crate version *3.0.0+20190807*, where *20190807* is the exact revision of the *analytics:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *analytics* crate version *3.1.0+20190807*, where *20190807* is the exact revision of the *analytics:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *analytics* *v3* API can be found at the [official documentation site](https://developers.google.com/analytics/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/Analytics) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/Analytics) ... * data - * [*ga get*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::DataGaGetCall), [*mcf get*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::DataMcfGetCall) and [*realtime get*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::DataRealtimeGetCall) + * [*ga get*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::DataGaGetCall), [*mcf get*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::DataMcfGetCall) and [*realtime get*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::DataRealtimeGetCall) * management - * [*account summaries list*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementAccountSummaryListCall), [*account user links delete*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementAccountUserLinkDeleteCall), [*account user links insert*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementAccountUserLinkInsertCall), [*account user links list*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementAccountUserLinkListCall), [*account user links update*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementAccountUserLinkUpdateCall), [*accounts list*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementAccountListCall), [*client id hash client id*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementClientIdHashClientIdCall), [*custom data sources list*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementCustomDataSourceListCall), [*custom dimensions get*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementCustomDimensionGetCall), [*custom dimensions insert*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementCustomDimensionInsertCall), [*custom dimensions list*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementCustomDimensionListCall), [*custom dimensions patch*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementCustomDimensionPatchCall), [*custom dimensions update*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementCustomDimensionUpdateCall), [*custom metrics get*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementCustomMetricGetCall), [*custom metrics insert*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementCustomMetricInsertCall), [*custom metrics list*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementCustomMetricListCall), [*custom metrics patch*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementCustomMetricPatchCall), [*custom metrics update*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementCustomMetricUpdateCall), [*experiments delete*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementExperimentDeleteCall), [*experiments get*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementExperimentGetCall), [*experiments insert*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementExperimentInsertCall), [*experiments list*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementExperimentListCall), [*experiments patch*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementExperimentPatchCall), [*experiments update*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementExperimentUpdateCall), [*filters delete*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementFilterDeleteCall), [*filters get*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementFilterGetCall), [*filters insert*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementFilterInsertCall), [*filters list*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementFilterListCall), [*filters patch*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementFilterPatchCall), [*filters update*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementFilterUpdateCall), [*goals get*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementGoalGetCall), [*goals insert*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementGoalInsertCall), [*goals list*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementGoalListCall), [*goals patch*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementGoalPatchCall), [*goals update*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementGoalUpdateCall), [*profile filter links delete*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementProfileFilterLinkDeleteCall), [*profile filter links get*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementProfileFilterLinkGetCall), [*profile filter links insert*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementProfileFilterLinkInsertCall), [*profile filter links list*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementProfileFilterLinkListCall), [*profile filter links patch*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementProfileFilterLinkPatchCall), [*profile filter links update*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementProfileFilterLinkUpdateCall), [*profile user links delete*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementProfileUserLinkDeleteCall), [*profile user links insert*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementProfileUserLinkInsertCall), [*profile user links list*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementProfileUserLinkListCall), [*profile user links update*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementProfileUserLinkUpdateCall), [*profiles delete*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementProfileDeleteCall), [*profiles get*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementProfileGetCall), [*profiles insert*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementProfileInsertCall), [*profiles list*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementProfileListCall), [*profiles patch*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementProfilePatchCall), [*profiles update*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementProfileUpdateCall), [*remarketing audience delete*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementRemarketingAudienceDeleteCall), [*remarketing audience get*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementRemarketingAudienceGetCall), [*remarketing audience insert*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementRemarketingAudienceInsertCall), [*remarketing audience list*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementRemarketingAudienceListCall), [*remarketing audience patch*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementRemarketingAudiencePatchCall), [*remarketing audience update*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementRemarketingAudienceUpdateCall), [*segments list*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementSegmentListCall), [*unsampled reports delete*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementUnsampledReportDeleteCall), [*unsampled reports get*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementUnsampledReportGetCall), [*unsampled reports insert*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementUnsampledReportInsertCall), [*unsampled reports list*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementUnsampledReportListCall), [*uploads delete upload data*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementUploadDeleteUploadDataCall), [*uploads get*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementUploadGetCall), [*uploads list*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementUploadListCall), [*uploads upload data*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementUploadUploadDataCall), [*web property ad words links delete*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementWebPropertyAdWordsLinkDeleteCall), [*web property ad words links get*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementWebPropertyAdWordsLinkGetCall), [*web property ad words links insert*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementWebPropertyAdWordsLinkInsertCall), [*web property ad words links list*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementWebPropertyAdWordsLinkListCall), [*web property ad words links patch*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementWebPropertyAdWordsLinkPatchCall), [*web property ad words links update*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementWebPropertyAdWordsLinkUpdateCall), [*webproperties get*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementWebpropertyGetCall), [*webproperties insert*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementWebpropertyInsertCall), [*webproperties list*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementWebpropertyListCall), [*webproperties patch*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementWebpropertyPatchCall), [*webproperties update*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementWebpropertyUpdateCall), [*webproperty user links delete*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementWebpropertyUserLinkDeleteCall), [*webproperty user links insert*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementWebpropertyUserLinkInsertCall), [*webproperty user links list*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementWebpropertyUserLinkListCall) and [*webproperty user links update*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementWebpropertyUserLinkUpdateCall) + * [*account summaries list*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementAccountSummaryListCall), [*account user links delete*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementAccountUserLinkDeleteCall), [*account user links insert*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementAccountUserLinkInsertCall), [*account user links list*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementAccountUserLinkListCall), [*account user links update*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementAccountUserLinkUpdateCall), [*accounts list*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementAccountListCall), [*client id hash client id*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementClientIdHashClientIdCall), [*custom data sources list*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementCustomDataSourceListCall), [*custom dimensions get*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementCustomDimensionGetCall), [*custom dimensions insert*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementCustomDimensionInsertCall), [*custom dimensions list*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementCustomDimensionListCall), [*custom dimensions patch*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementCustomDimensionPatchCall), [*custom dimensions update*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementCustomDimensionUpdateCall), [*custom metrics get*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementCustomMetricGetCall), [*custom metrics insert*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementCustomMetricInsertCall), [*custom metrics list*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementCustomMetricListCall), [*custom metrics patch*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementCustomMetricPatchCall), [*custom metrics update*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementCustomMetricUpdateCall), [*experiments delete*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementExperimentDeleteCall), [*experiments get*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementExperimentGetCall), [*experiments insert*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementExperimentInsertCall), [*experiments list*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementExperimentListCall), [*experiments patch*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementExperimentPatchCall), [*experiments update*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementExperimentUpdateCall), [*filters delete*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementFilterDeleteCall), [*filters get*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementFilterGetCall), [*filters insert*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementFilterInsertCall), [*filters list*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementFilterListCall), [*filters patch*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementFilterPatchCall), [*filters update*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementFilterUpdateCall), [*goals get*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementGoalGetCall), [*goals insert*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementGoalInsertCall), [*goals list*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementGoalListCall), [*goals patch*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementGoalPatchCall), [*goals update*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementGoalUpdateCall), [*profile filter links delete*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementProfileFilterLinkDeleteCall), [*profile filter links get*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementProfileFilterLinkGetCall), [*profile filter links insert*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementProfileFilterLinkInsertCall), [*profile filter links list*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementProfileFilterLinkListCall), [*profile filter links patch*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementProfileFilterLinkPatchCall), [*profile filter links update*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementProfileFilterLinkUpdateCall), [*profile user links delete*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementProfileUserLinkDeleteCall), [*profile user links insert*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementProfileUserLinkInsertCall), [*profile user links list*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementProfileUserLinkListCall), [*profile user links update*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementProfileUserLinkUpdateCall), [*profiles delete*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementProfileDeleteCall), [*profiles get*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementProfileGetCall), [*profiles insert*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementProfileInsertCall), [*profiles list*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementProfileListCall), [*profiles patch*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementProfilePatchCall), [*profiles update*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementProfileUpdateCall), [*remarketing audience delete*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementRemarketingAudienceDeleteCall), [*remarketing audience get*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementRemarketingAudienceGetCall), [*remarketing audience insert*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementRemarketingAudienceInsertCall), [*remarketing audience list*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementRemarketingAudienceListCall), [*remarketing audience patch*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementRemarketingAudiencePatchCall), [*remarketing audience update*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementRemarketingAudienceUpdateCall), [*segments list*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementSegmentListCall), [*unsampled reports delete*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementUnsampledReportDeleteCall), [*unsampled reports get*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementUnsampledReportGetCall), [*unsampled reports insert*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementUnsampledReportInsertCall), [*unsampled reports list*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementUnsampledReportListCall), [*uploads delete upload data*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementUploadDeleteUploadDataCall), [*uploads get*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementUploadGetCall), [*uploads list*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementUploadListCall), [*uploads upload data*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementUploadUploadDataCall), [*web property ad words links delete*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementWebPropertyAdWordsLinkDeleteCall), [*web property ad words links get*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementWebPropertyAdWordsLinkGetCall), [*web property ad words links insert*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementWebPropertyAdWordsLinkInsertCall), [*web property ad words links list*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementWebPropertyAdWordsLinkListCall), [*web property ad words links patch*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementWebPropertyAdWordsLinkPatchCall), [*web property ad words links update*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementWebPropertyAdWordsLinkUpdateCall), [*webproperties get*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementWebpropertyGetCall), [*webproperties insert*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementWebpropertyInsertCall), [*webproperties list*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementWebpropertyListCall), [*webproperties patch*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementWebpropertyPatchCall), [*webproperties update*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementWebpropertyUpdateCall), [*webproperty user links delete*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementWebpropertyUserLinkDeleteCall), [*webproperty user links insert*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementWebpropertyUserLinkInsertCall), [*webproperty user links list*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementWebpropertyUserLinkListCall) and [*webproperty user links update*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementWebpropertyUserLinkUpdateCall) * metadata - * [*columns list*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::MetadataColumnListCall) + * [*columns list*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::MetadataColumnListCall) * provisioning - * [*create account ticket*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ProvisioningCreateAccountTicketCall) and [*create account tree*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ProvisioningCreateAccountTreeCall) + * [*create account ticket*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ProvisioningCreateAccountTicketCall) and [*create account tree*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ProvisioningCreateAccountTreeCall) * user deletion - * [*user deletion request upsert*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::UserDeletionUserDeletionRequestUpsertCall) + * [*user deletion request upsert*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::UserDeletionUserDeletionRequestUpsertCall) Upload supported by ... -* [*uploads upload data management*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/api::ManagementUploadUploadDataCall) +* [*uploads upload data management*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/api::ManagementUploadUploadDataCall) @@ -35,17 +35,17 @@ Upload supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/Analytics)** +* **[Hub](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/Analytics)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/client::CallBuilder) -* **[Resources](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/client::CallBuilder) +* **[Resources](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/client::Part)** + * **[Parts](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -108,7 +108,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -141,17 +141,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -161,29 +161,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/client::Delegate) to the -[Method Builder](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/client::Delegate) to the +[Method Builder](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/client::RequestValue) and -[decodable](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/client::RequestValue) and +[decodable](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-analytics3/3.0.0+20190807/google_analytics3/client::RequestValue) are moved +* [request values](https://docs.rs/google-analytics3/3.1.0+20190807/google_analytics3/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/analytics3/src/api.rs b/gen/analytics3/src/api.rs index 830fde811d..a95d7c0f1b 100644 --- a/gen/analytics3/src/api.rs +++ b/gen/analytics3/src/api.rs @@ -95,7 +95,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -143,7 +143,7 @@ impl<'a, > Analytics<> { Analytics { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/analytics/v3/".to_string(), _root_url: "https://analytics.googleapis.com/".to_string(), } @@ -166,7 +166,7 @@ impl<'a, > Analytics<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -3494,7 +3494,7 @@ impl client::Part for WebpropertyPermissions {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `ga_get(...)`, `mcf_get(...)` and `realtime_get(...)` /// // to build up your call. @@ -3619,7 +3619,7 @@ impl<'a> DataMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `account_summaries_list(...)`, `account_user_links_delete(...)`, `account_user_links_insert(...)`, `account_user_links_list(...)`, `account_user_links_update(...)`, `accounts_list(...)`, `client_id_hash_client_id(...)`, `custom_data_sources_list(...)`, `custom_dimensions_get(...)`, `custom_dimensions_insert(...)`, `custom_dimensions_list(...)`, `custom_dimensions_patch(...)`, `custom_dimensions_update(...)`, `custom_metrics_get(...)`, `custom_metrics_insert(...)`, `custom_metrics_list(...)`, `custom_metrics_patch(...)`, `custom_metrics_update(...)`, `experiments_delete(...)`, `experiments_get(...)`, `experiments_insert(...)`, `experiments_list(...)`, `experiments_patch(...)`, `experiments_update(...)`, `filters_delete(...)`, `filters_get(...)`, `filters_insert(...)`, `filters_list(...)`, `filters_patch(...)`, `filters_update(...)`, `goals_get(...)`, `goals_insert(...)`, `goals_list(...)`, `goals_patch(...)`, `goals_update(...)`, `profile_filter_links_delete(...)`, `profile_filter_links_get(...)`, `profile_filter_links_insert(...)`, `profile_filter_links_list(...)`, `profile_filter_links_patch(...)`, `profile_filter_links_update(...)`, `profile_user_links_delete(...)`, `profile_user_links_insert(...)`, `profile_user_links_list(...)`, `profile_user_links_update(...)`, `profiles_delete(...)`, `profiles_get(...)`, `profiles_insert(...)`, `profiles_list(...)`, `profiles_patch(...)`, `profiles_update(...)`, `remarketing_audience_delete(...)`, `remarketing_audience_get(...)`, `remarketing_audience_insert(...)`, `remarketing_audience_list(...)`, `remarketing_audience_patch(...)`, `remarketing_audience_update(...)`, `segments_list(...)`, `unsampled_reports_delete(...)`, `unsampled_reports_get(...)`, `unsampled_reports_insert(...)`, `unsampled_reports_list(...)`, `uploads_delete_upload_data(...)`, `uploads_get(...)`, `uploads_list(...)`, `uploads_upload_data(...)`, `web_property_ad_words_links_delete(...)`, `web_property_ad_words_links_get(...)`, `web_property_ad_words_links_insert(...)`, `web_property_ad_words_links_list(...)`, `web_property_ad_words_links_patch(...)`, `web_property_ad_words_links_update(...)`, `webproperties_get(...)`, `webproperties_insert(...)`, `webproperties_list(...)`, `webproperties_patch(...)`, `webproperties_update(...)`, `webproperty_user_links_delete(...)`, `webproperty_user_links_insert(...)`, `webproperty_user_links_list(...)` and `webproperty_user_links_update(...)` /// // to build up your call. @@ -5413,7 +5413,7 @@ impl<'a> ManagementMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `columns_list(...)` /// // to build up your call. @@ -5471,7 +5471,7 @@ impl<'a> MetadataMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create_account_ticket(...)` and `create_account_tree(...)` /// // to build up your call. @@ -5546,7 +5546,7 @@ impl<'a> ProvisioningMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `user_deletion_request_upsert(...)` /// // to build up your call. @@ -5611,7 +5611,7 @@ impl<'a> UserDeletionMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5982,7 +5982,7 @@ impl<'a> DataGaGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6317,7 +6317,7 @@ impl<'a> DataMcfGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6604,7 +6604,7 @@ impl<'a> DataRealtimeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6843,7 +6843,7 @@ impl<'a> ManagementAccountSummaryListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7093,7 +7093,7 @@ impl<'a> ManagementAccountUserLinkDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7370,7 +7370,7 @@ impl<'a> ManagementAccountUserLinkInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7643,7 +7643,7 @@ impl<'a> ManagementAccountUserLinkListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7932,7 +7932,7 @@ impl<'a> ManagementAccountUserLinkUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8172,7 +8172,7 @@ impl<'a> ManagementAccountListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8416,7 +8416,7 @@ impl<'a> ManagementClientIdHashClientIdCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8700,7 +8700,7 @@ impl<'a> ManagementCustomDataSourceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8973,7 +8973,7 @@ impl<'a> ManagementCustomDimensionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9262,7 +9262,7 @@ impl<'a> ManagementCustomDimensionInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9547,7 +9547,7 @@ impl<'a> ManagementCustomDimensionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9861,7 +9861,7 @@ impl<'a> ManagementCustomDimensionPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10174,7 +10174,7 @@ impl<'a> ManagementCustomDimensionUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10447,7 +10447,7 @@ impl<'a> ManagementCustomMetricGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10736,7 +10736,7 @@ impl<'a> ManagementCustomMetricInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11021,7 +11021,7 @@ impl<'a> ManagementCustomMetricListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11335,7 +11335,7 @@ impl<'a> ManagementCustomMetricPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11648,7 +11648,7 @@ impl<'a> ManagementCustomMetricUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11921,7 +11921,7 @@ impl<'a> ManagementExperimentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12206,7 +12206,7 @@ impl<'a> ManagementExperimentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12507,7 +12507,7 @@ impl<'a> ManagementExperimentInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12804,7 +12804,7 @@ impl<'a> ManagementExperimentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13118,7 +13118,7 @@ impl<'a> ManagementExperimentPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13431,7 +13431,7 @@ impl<'a> ManagementExperimentUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13691,7 +13691,7 @@ impl<'a> ManagementFilterDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13952,7 +13952,7 @@ impl<'a> ManagementFilterGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14229,7 +14229,7 @@ impl<'a> ManagementFilterInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14502,7 +14502,7 @@ impl<'a> ManagementFilterListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14792,7 +14792,7 @@ impl<'a> ManagementFilterPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15081,7 +15081,7 @@ impl<'a> ManagementFilterUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15366,7 +15366,7 @@ impl<'a> ManagementGoalGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15667,7 +15667,7 @@ impl<'a> ManagementGoalInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15964,7 +15964,7 @@ impl<'a> ManagementGoalListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16278,7 +16278,7 @@ impl<'a> ManagementGoalPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16591,7 +16591,7 @@ impl<'a> ManagementGoalUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16864,7 +16864,7 @@ impl<'a> ManagementProfileFilterLinkDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17149,7 +17149,7 @@ impl<'a> ManagementProfileFilterLinkGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17450,7 +17450,7 @@ impl<'a> ManagementProfileFilterLinkInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17747,7 +17747,7 @@ impl<'a> ManagementProfileFilterLinkListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18061,7 +18061,7 @@ impl<'a> ManagementProfileFilterLinkPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18374,7 +18374,7 @@ impl<'a> ManagementProfileFilterLinkUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18648,7 +18648,7 @@ impl<'a> ManagementProfileUserLinkDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18949,7 +18949,7 @@ impl<'a> ManagementProfileUserLinkInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19246,7 +19246,7 @@ impl<'a> ManagementProfileUserLinkListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19559,7 +19559,7 @@ impl<'a> ManagementProfileUserLinkUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19820,7 +19820,7 @@ impl<'a> ManagementProfileDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20093,7 +20093,7 @@ impl<'a> ManagementProfileGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20382,7 +20382,7 @@ impl<'a> ManagementProfileInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20667,7 +20667,7 @@ impl<'a> ManagementProfileListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20969,7 +20969,7 @@ impl<'a> ManagementProfilePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21270,7 +21270,7 @@ impl<'a> ManagementProfileUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21531,7 +21531,7 @@ impl<'a> ManagementRemarketingAudienceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21804,7 +21804,7 @@ impl<'a> ManagementRemarketingAudienceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22093,7 +22093,7 @@ impl<'a> ManagementRemarketingAudienceInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22389,7 +22389,7 @@ impl<'a> ManagementRemarketingAudienceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22691,7 +22691,7 @@ impl<'a> ManagementRemarketingAudiencePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22992,7 +22992,7 @@ impl<'a> ManagementRemarketingAudienceUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23231,7 +23231,7 @@ impl<'a> ManagementSegmentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23504,7 +23504,7 @@ impl<'a> ManagementUnsampledReportDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23789,7 +23789,7 @@ impl<'a> ManagementUnsampledReportGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24090,7 +24090,7 @@ impl<'a> ManagementUnsampledReportInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24387,7 +24387,7 @@ impl<'a> ManagementUnsampledReportListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24677,7 +24677,7 @@ impl<'a> ManagementUploadDeleteUploadDataCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24961,7 +24961,7 @@ impl<'a> ManagementUploadGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25258,7 +25258,7 @@ impl<'a> ManagementUploadListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `upload(...)`. /// // Values shown here are possibly random and not representative ! @@ -25638,7 +25638,7 @@ impl<'a> ManagementUploadUploadDataCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25899,7 +25899,7 @@ impl<'a> ManagementWebPropertyAdWordsLinkDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26172,7 +26172,7 @@ impl<'a> ManagementWebPropertyAdWordsLinkGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26461,7 +26461,7 @@ impl<'a> ManagementWebPropertyAdWordsLinkInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26746,7 +26746,7 @@ impl<'a> ManagementWebPropertyAdWordsLinkListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27048,7 +27048,7 @@ impl<'a> ManagementWebPropertyAdWordsLinkPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27349,7 +27349,7 @@ impl<'a> ManagementWebPropertyAdWordsLinkUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27610,7 +27610,7 @@ impl<'a> ManagementWebpropertyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27887,7 +27887,7 @@ impl<'a> ManagementWebpropertyInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28160,7 +28160,7 @@ impl<'a> ManagementWebpropertyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -28450,7 +28450,7 @@ impl<'a> ManagementWebpropertyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -28739,7 +28739,7 @@ impl<'a> ManagementWebpropertyUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29001,7 +29001,7 @@ impl<'a> ManagementWebpropertyUserLinkDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29290,7 +29290,7 @@ impl<'a> ManagementWebpropertyUserLinkInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29575,7 +29575,7 @@ impl<'a> ManagementWebpropertyUserLinkListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29876,7 +29876,7 @@ impl<'a> ManagementWebpropertyUserLinkUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30125,7 +30125,7 @@ impl<'a> MetadataColumnListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -30370,7 +30370,7 @@ impl<'a> ProvisioningCreateAccountTicketCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -30615,7 +30615,7 @@ impl<'a> ProvisioningCreateAccountTreeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/analytics3/src/lib.rs b/gen/analytics3/src/lib.rs index 8847eebebe..5d5ca8a42c 100644 --- a/gen/analytics3/src/lib.rs +++ b/gen/analytics3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *analytics* crate version *3.0.0+20190807*, where *20190807* is the exact revision of the *analytics:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *analytics* crate version *3.1.0+20190807*, where *20190807* is the exact revision of the *analytics:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *analytics* *v3* API can be found at the //! [official documentation site](https://developers.google.com/analytics/). @@ -109,7 +109,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Analytics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/analyticsadmin1_alpha-cli/Cargo.toml b/gen/analyticsadmin1_alpha-cli/Cargo.toml index 9f53f60f1f..d2d18bbda7 100644 --- a/gen/analyticsadmin1_alpha-cli/Cargo.toml +++ b/gen/analyticsadmin1_alpha-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-analyticsadmin1_alpha-cli" -version = "3.0.0+20220307" +version = "3.1.0+20220307" authors = ["Sebastian Thiel "] description = "A complete library to interact with Google Analytics Admin (protocol v1alpha)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/analyticsadmin1_alpha-cli" @@ -20,12 +20,12 @@ name = "analyticsadmin1-alpha" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-analyticsadmin1_alpha] path = "../analyticsadmin1_alpha" -version = "3.0.0+20220307" +version = "3.1.0+20220307" diff --git a/gen/analyticsadmin1_alpha-cli/README.md b/gen/analyticsadmin1_alpha-cli/README.md index d35ae82b0a..4f75c24add 100644 --- a/gen/analyticsadmin1_alpha-cli/README.md +++ b/gen/analyticsadmin1_alpha-cli/README.md @@ -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 *Google Analytics Admin* API at revision *20220307*. The CLI is at version *3.0.0*. +This documentation was generated from the *Google Analytics Admin* API at revision *20220307*. The CLI is at version *3.1.0*. ```bash analyticsadmin1-alpha [options] diff --git a/gen/analyticsadmin1_alpha-cli/mkdocs.yml b/gen/analyticsadmin1_alpha-cli/mkdocs.yml index 11254f49e9..7d70e87088 100644 --- a/gen/analyticsadmin1_alpha-cli/mkdocs.yml +++ b/gen/analyticsadmin1_alpha-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Google Analytics Admin v3.0.0+20220307 +site_name: Google Analytics Admin v3.1.0+20220307 site_url: http://byron.github.io/google-apis-rs/google-analyticsadmin1_alpha-cli site_description: A complete library to interact with Google Analytics Admin (protocol v1alpha) diff --git a/gen/analyticsadmin1_alpha-cli/src/main.rs b/gen/analyticsadmin1_alpha-cli/src/main.rs index 1297f15ee1..3731f211d2 100644 --- a/gen/analyticsadmin1_alpha-cli/src/main.rs +++ b/gen/analyticsadmin1_alpha-cli/src/main.rs @@ -6141,7 +6141,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/analyticsadmin1-alpha", 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::GoogleAnalyticsAdmin::new(client, auth), @@ -8175,7 +8181,7 @@ async fn main() { let mut app = App::new("analyticsadmin1-alpha") .author("Sebastian Thiel ") - .version("3.0.0+20220307") + .version("3.1.0+20220307") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_analyticsadmin1_alpha_cli") .arg(Arg::with_name("url") diff --git a/gen/analyticsadmin1_alpha/Cargo.toml b/gen/analyticsadmin1_alpha/Cargo.toml index 8916864bf1..7c2cd2e81f 100644 --- a/gen/analyticsadmin1_alpha/Cargo.toml +++ b/gen/analyticsadmin1_alpha/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-analyticsadmin1_alpha" -version = "3.0.0+20220307" +version = "3.1.0+20220307" authors = ["Sebastian Thiel "] description = "A complete library to interact with Google Analytics Admin (protocol v1alpha)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/analyticsadmin1_alpha" homepage = "http://code.google.com/apis/analytics/docs/mgmt/home.html" -documentation = "https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307" +documentation = "https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307" license = "MIT" keywords = ["analyticsadmin", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/analyticsadmin1_alpha/README.md b/gen/analyticsadmin1_alpha/README.md index 8cdaf30fbe..50918e42fd 100644 --- a/gen/analyticsadmin1_alpha/README.md +++ b/gen/analyticsadmin1_alpha/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-analyticsadmin1_alpha` library allows access to all features of the *Google Google Analytics Admin* service. -This documentation was generated from *Google Analytics Admin* crate version *3.0.0+20220307*, where *20220307* is the exact revision of the *analyticsadmin:v1alpha* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Google Analytics Admin* crate version *3.1.0+20220307*, where *20220307* is the exact revision of the *analyticsadmin:v1alpha* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Google Analytics Admin* *v1_alpha* API can be found at the [official documentation site](http://code.google.com/apis/analytics/docs/mgmt/home.html). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/GoogleAnalyticsAdmin) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/GoogleAnalyticsAdmin) ... * account summaries - * [*list*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::AccountSummaryListCall) + * [*list*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::AccountSummaryListCall) * accounts - * [*delete*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::AccountDeleteCall), [*get*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::AccountGetCall), [*get data sharing settings*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::AccountGetDataSharingSettingCall), [*list*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::AccountListCall), [*patch*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::AccountPatchCall), [*provision account ticket*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::AccountProvisionAccountTicketCall), [*search change history events*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::AccountSearchChangeHistoryEventCall), [*user links audit*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::AccountUserLinkAuditCall), [*user links batch create*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::AccountUserLinkBatchCreateCall), [*user links batch delete*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::AccountUserLinkBatchDeleteCall), [*user links batch get*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::AccountUserLinkBatchGetCall), [*user links batch update*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::AccountUserLinkBatchUpdateCall), [*user links create*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::AccountUserLinkCreateCall), [*user links delete*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::AccountUserLinkDeleteCall), [*user links get*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::AccountUserLinkGetCall), [*user links list*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::AccountUserLinkListCall) and [*user links patch*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::AccountUserLinkPatchCall) + * [*delete*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::AccountDeleteCall), [*get*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::AccountGetCall), [*get data sharing settings*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::AccountGetDataSharingSettingCall), [*list*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::AccountListCall), [*patch*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::AccountPatchCall), [*provision account ticket*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::AccountProvisionAccountTicketCall), [*search change history events*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::AccountSearchChangeHistoryEventCall), [*user links audit*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::AccountUserLinkAuditCall), [*user links batch create*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::AccountUserLinkBatchCreateCall), [*user links batch delete*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::AccountUserLinkBatchDeleteCall), [*user links batch get*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::AccountUserLinkBatchGetCall), [*user links batch update*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::AccountUserLinkBatchUpdateCall), [*user links create*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::AccountUserLinkCreateCall), [*user links delete*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::AccountUserLinkDeleteCall), [*user links get*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::AccountUserLinkGetCall), [*user links list*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::AccountUserLinkListCall) and [*user links patch*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::AccountUserLinkPatchCall) * properties - * [*acknowledge user data collection*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyAcknowledgeUserDataCollectionCall), [*conversion events create*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyConversionEventCreateCall), [*conversion events delete*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyConversionEventDeleteCall), [*conversion events get*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyConversionEventGetCall), [*conversion events list*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyConversionEventListCall), [*create*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyCreateCall), [*custom dimensions archive*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyCustomDimensionArchiveCall), [*custom dimensions create*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyCustomDimensionCreateCall), [*custom dimensions get*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyCustomDimensionGetCall), [*custom dimensions list*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyCustomDimensionListCall), [*custom dimensions patch*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyCustomDimensionPatchCall), [*custom metrics archive*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyCustomMetricArchiveCall), [*custom metrics create*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyCustomMetricCreateCall), [*custom metrics get*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyCustomMetricGetCall), [*custom metrics list*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyCustomMetricListCall), [*custom metrics patch*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyCustomMetricPatchCall), [*data streams create*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyDataStreamCreateCall), [*data streams delete*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyDataStreamDeleteCall), [*data streams get*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyDataStreamGetCall), [*data streams get global site tag*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyDataStreamGetGlobalSiteTagCall), [*data streams list*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyDataStreamListCall), [*data streams measurement protocol secrets create*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyDataStreamMeasurementProtocolSecretCreateCall), [*data streams measurement protocol secrets delete*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyDataStreamMeasurementProtocolSecretDeleteCall), [*data streams measurement protocol secrets get*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyDataStreamMeasurementProtocolSecretGetCall), [*data streams measurement protocol secrets list*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyDataStreamMeasurementProtocolSecretListCall), [*data streams measurement protocol secrets patch*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyDataStreamMeasurementProtocolSecretPatchCall), [*data streams patch*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyDataStreamPatchCall), [*delete*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyDeleteCall), [*display video360 advertiser link proposals approve*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyDisplayVideo360AdvertiserLinkProposalApproveCall), [*display video360 advertiser link proposals cancel*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyDisplayVideo360AdvertiserLinkProposalCancelCall), [*display video360 advertiser link proposals create*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyDisplayVideo360AdvertiserLinkProposalCreateCall), [*display video360 advertiser link proposals delete*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyDisplayVideo360AdvertiserLinkProposalDeleteCall), [*display video360 advertiser link proposals get*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyDisplayVideo360AdvertiserLinkProposalGetCall), [*display video360 advertiser link proposals list*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyDisplayVideo360AdvertiserLinkProposalListCall), [*display video360 advertiser links create*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyDisplayVideo360AdvertiserLinkCreateCall), [*display video360 advertiser links delete*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyDisplayVideo360AdvertiserLinkDeleteCall), [*display video360 advertiser links get*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyDisplayVideo360AdvertiserLinkGetCall), [*display video360 advertiser links list*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyDisplayVideo360AdvertiserLinkListCall), [*display video360 advertiser links patch*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyDisplayVideo360AdvertiserLinkPatchCall), [*firebase links create*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyFirebaseLinkCreateCall), [*firebase links delete*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyFirebaseLinkDeleteCall), [*firebase links list*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyFirebaseLinkListCall), [*get*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyGetCall), [*get data retention settings*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyGetDataRetentionSettingCall), [*get google signals settings*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyGetGoogleSignalsSettingCall), [*google ads links create*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyGoogleAdsLinkCreateCall), [*google ads links delete*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyGoogleAdsLinkDeleteCall), [*google ads links list*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyGoogleAdsLinkListCall), [*google ads links patch*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyGoogleAdsLinkPatchCall), [*list*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyListCall), [*patch*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyPatchCall), [*update data retention settings*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyUpdateDataRetentionSettingCall), [*update google signals settings*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyUpdateGoogleSignalsSettingCall), [*user links audit*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyUserLinkAuditCall), [*user links batch create*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyUserLinkBatchCreateCall), [*user links batch delete*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyUserLinkBatchDeleteCall), [*user links batch get*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyUserLinkBatchGetCall), [*user links batch update*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyUserLinkBatchUpdateCall), [*user links create*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyUserLinkCreateCall), [*user links delete*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyUserLinkDeleteCall), [*user links get*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyUserLinkGetCall), [*user links list*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyUserLinkListCall) and [*user links patch*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/api::PropertyUserLinkPatchCall) + * [*acknowledge user data collection*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyAcknowledgeUserDataCollectionCall), [*conversion events create*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyConversionEventCreateCall), [*conversion events delete*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyConversionEventDeleteCall), [*conversion events get*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyConversionEventGetCall), [*conversion events list*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyConversionEventListCall), [*create*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyCreateCall), [*custom dimensions archive*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyCustomDimensionArchiveCall), [*custom dimensions create*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyCustomDimensionCreateCall), [*custom dimensions get*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyCustomDimensionGetCall), [*custom dimensions list*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyCustomDimensionListCall), [*custom dimensions patch*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyCustomDimensionPatchCall), [*custom metrics archive*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyCustomMetricArchiveCall), [*custom metrics create*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyCustomMetricCreateCall), [*custom metrics get*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyCustomMetricGetCall), [*custom metrics list*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyCustomMetricListCall), [*custom metrics patch*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyCustomMetricPatchCall), [*data streams create*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyDataStreamCreateCall), [*data streams delete*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyDataStreamDeleteCall), [*data streams get*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyDataStreamGetCall), [*data streams get global site tag*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyDataStreamGetGlobalSiteTagCall), [*data streams list*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyDataStreamListCall), [*data streams measurement protocol secrets create*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyDataStreamMeasurementProtocolSecretCreateCall), [*data streams measurement protocol secrets delete*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyDataStreamMeasurementProtocolSecretDeleteCall), [*data streams measurement protocol secrets get*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyDataStreamMeasurementProtocolSecretGetCall), [*data streams measurement protocol secrets list*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyDataStreamMeasurementProtocolSecretListCall), [*data streams measurement protocol secrets patch*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyDataStreamMeasurementProtocolSecretPatchCall), [*data streams patch*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyDataStreamPatchCall), [*delete*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyDeleteCall), [*display video360 advertiser link proposals approve*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyDisplayVideo360AdvertiserLinkProposalApproveCall), [*display video360 advertiser link proposals cancel*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyDisplayVideo360AdvertiserLinkProposalCancelCall), [*display video360 advertiser link proposals create*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyDisplayVideo360AdvertiserLinkProposalCreateCall), [*display video360 advertiser link proposals delete*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyDisplayVideo360AdvertiserLinkProposalDeleteCall), [*display video360 advertiser link proposals get*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyDisplayVideo360AdvertiserLinkProposalGetCall), [*display video360 advertiser link proposals list*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyDisplayVideo360AdvertiserLinkProposalListCall), [*display video360 advertiser links create*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyDisplayVideo360AdvertiserLinkCreateCall), [*display video360 advertiser links delete*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyDisplayVideo360AdvertiserLinkDeleteCall), [*display video360 advertiser links get*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyDisplayVideo360AdvertiserLinkGetCall), [*display video360 advertiser links list*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyDisplayVideo360AdvertiserLinkListCall), [*display video360 advertiser links patch*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyDisplayVideo360AdvertiserLinkPatchCall), [*firebase links create*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyFirebaseLinkCreateCall), [*firebase links delete*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyFirebaseLinkDeleteCall), [*firebase links list*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyFirebaseLinkListCall), [*get*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyGetCall), [*get data retention settings*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyGetDataRetentionSettingCall), [*get google signals settings*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyGetGoogleSignalsSettingCall), [*google ads links create*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyGoogleAdsLinkCreateCall), [*google ads links delete*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyGoogleAdsLinkDeleteCall), [*google ads links list*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyGoogleAdsLinkListCall), [*google ads links patch*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyGoogleAdsLinkPatchCall), [*list*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyListCall), [*patch*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyPatchCall), [*update data retention settings*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyUpdateDataRetentionSettingCall), [*update google signals settings*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyUpdateGoogleSignalsSettingCall), [*user links audit*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyUserLinkAuditCall), [*user links batch create*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyUserLinkBatchCreateCall), [*user links batch delete*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyUserLinkBatchDeleteCall), [*user links batch get*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyUserLinkBatchGetCall), [*user links batch update*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyUserLinkBatchUpdateCall), [*user links create*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyUserLinkCreateCall), [*user links delete*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyUserLinkDeleteCall), [*user links get*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyUserLinkGetCall), [*user links list*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyUserLinkListCall) and [*user links patch*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/api::PropertyUserLinkPatchCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/GoogleAnalyticsAdmin)** +* **[Hub](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/GoogleAnalyticsAdmin)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/client::CallBuilder) -* **[Resources](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/client::CallBuilder) +* **[Resources](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/client::Part)** + * **[Parts](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/client::CallBuilder)** +* **[Activities](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -108,7 +108,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -141,17 +141,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -161,29 +161,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/client::Delegate) to the -[Method Builder](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/client::Delegate) to the +[Method Builder](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/client::RequestValue) and -[decodable](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/client::RequestValue) and +[decodable](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-analyticsadmin1_alpha/3.0.0+20220307/google_analyticsadmin1_alpha/client::RequestValue) are moved +* [request values](https://docs.rs/google-analyticsadmin1_alpha/3.1.0+20220307/google_analyticsadmin1_alpha/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/analyticsadmin1_alpha/src/api.rs b/gen/analyticsadmin1_alpha/src/api.rs index 524edcb460..9652ac31ad 100644 --- a/gen/analyticsadmin1_alpha/src/api.rs +++ b/gen/analyticsadmin1_alpha/src/api.rs @@ -83,7 +83,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -131,7 +131,7 @@ impl<'a, > GoogleAnalyticsAdmin<> { GoogleAnalyticsAdmin { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://analyticsadmin.googleapis.com/".to_string(), _root_url: "https://analyticsadmin.googleapis.com/".to_string(), } @@ -148,7 +148,7 @@ impl<'a, > GoogleAnalyticsAdmin<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1698,7 +1698,7 @@ impl client::ResponseResult for GoogleProtobufEmpty {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -1753,7 +1753,7 @@ impl<'a> AccountSummaryMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `get_data_sharing_settings(...)`, `list(...)`, `patch(...)`, `provision_account_ticket(...)`, `search_change_history_events(...)`, `user_links_audit(...)`, `user_links_batch_create(...)`, `user_links_batch_delete(...)`, `user_links_batch_get(...)`, `user_links_batch_update(...)`, `user_links_create(...)`, `user_links_delete(...)`, `user_links_get(...)`, `user_links_list(...)` and `user_links_patch(...)` /// // to build up your call. @@ -2102,7 +2102,7 @@ impl<'a> AccountMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `acknowledge_user_data_collection(...)`, `conversion_events_create(...)`, `conversion_events_delete(...)`, `conversion_events_get(...)`, `conversion_events_list(...)`, `create(...)`, `custom_dimensions_archive(...)`, `custom_dimensions_create(...)`, `custom_dimensions_get(...)`, `custom_dimensions_list(...)`, `custom_dimensions_patch(...)`, `custom_metrics_archive(...)`, `custom_metrics_create(...)`, `custom_metrics_get(...)`, `custom_metrics_list(...)`, `custom_metrics_patch(...)`, `data_streams_create(...)`, `data_streams_delete(...)`, `data_streams_get(...)`, `data_streams_get_global_site_tag(...)`, `data_streams_list(...)`, `data_streams_measurement_protocol_secrets_create(...)`, `data_streams_measurement_protocol_secrets_delete(...)`, `data_streams_measurement_protocol_secrets_get(...)`, `data_streams_measurement_protocol_secrets_list(...)`, `data_streams_measurement_protocol_secrets_patch(...)`, `data_streams_patch(...)`, `delete(...)`, `display_video360_advertiser_link_proposals_approve(...)`, `display_video360_advertiser_link_proposals_cancel(...)`, `display_video360_advertiser_link_proposals_create(...)`, `display_video360_advertiser_link_proposals_delete(...)`, `display_video360_advertiser_link_proposals_get(...)`, `display_video360_advertiser_link_proposals_list(...)`, `display_video360_advertiser_links_create(...)`, `display_video360_advertiser_links_delete(...)`, `display_video360_advertiser_links_get(...)`, `display_video360_advertiser_links_list(...)`, `display_video360_advertiser_links_patch(...)`, `firebase_links_create(...)`, `firebase_links_delete(...)`, `firebase_links_list(...)`, `get(...)`, `get_data_retention_settings(...)`, `get_google_signals_settings(...)`, `google_ads_links_create(...)`, `google_ads_links_delete(...)`, `google_ads_links_list(...)`, `google_ads_links_patch(...)`, `list(...)`, `patch(...)`, `update_data_retention_settings(...)`, `update_google_signals_settings(...)`, `user_links_audit(...)`, `user_links_batch_create(...)`, `user_links_batch_delete(...)`, `user_links_batch_get(...)`, `user_links_batch_update(...)`, `user_links_create(...)`, `user_links_delete(...)`, `user_links_get(...)`, `user_links_list(...)` and `user_links_patch(...)` /// // to build up your call. @@ -3309,7 +3309,7 @@ impl<'a> PropertyMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3553,7 +3553,7 @@ impl<'a> AccountSummaryListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3839,7 +3839,7 @@ impl<'a> AccountUserLinkAuditCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4125,7 +4125,7 @@ impl<'a> AccountUserLinkBatchCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4410,7 +4410,7 @@ impl<'a> AccountUserLinkBatchDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4682,7 +4682,7 @@ impl<'a> AccountUserLinkBatchGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4968,7 +4968,7 @@ impl<'a> AccountUserLinkBatchUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5265,7 +5265,7 @@ impl<'a> AccountUserLinkCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5521,7 +5521,7 @@ impl<'a> AccountUserLinkDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5777,7 +5777,7 @@ impl<'a> AccountUserLinkGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6058,7 +6058,7 @@ impl<'a> AccountUserLinkListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6343,7 +6343,7 @@ impl<'a> AccountUserLinkPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6599,7 +6599,7 @@ impl<'a> AccountDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6855,7 +6855,7 @@ impl<'a> AccountGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7111,7 +7111,7 @@ impl<'a> AccountGetDataSharingSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7367,7 +7367,7 @@ impl<'a> AccountListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7665,7 +7665,7 @@ impl<'a> AccountPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7914,7 +7914,7 @@ impl<'a> AccountProvisionAccountTicketCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8200,7 +8200,7 @@ impl<'a> AccountSearchChangeHistoryEventCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8485,7 +8485,7 @@ impl<'a> PropertyConversionEventCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8741,7 +8741,7 @@ impl<'a> PropertyConversionEventDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8997,7 +8997,7 @@ impl<'a> PropertyConversionEventGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9278,7 +9278,7 @@ impl<'a> PropertyConversionEventListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9564,7 +9564,7 @@ impl<'a> PropertyCustomDimensionArchiveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9849,7 +9849,7 @@ impl<'a> PropertyCustomDimensionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10105,7 +10105,7 @@ impl<'a> PropertyCustomDimensionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10386,7 +10386,7 @@ impl<'a> PropertyCustomDimensionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10684,7 +10684,7 @@ impl<'a> PropertyCustomDimensionPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10970,7 +10970,7 @@ impl<'a> PropertyCustomMetricArchiveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11255,7 +11255,7 @@ impl<'a> PropertyCustomMetricCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11511,7 +11511,7 @@ impl<'a> PropertyCustomMetricGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11792,7 +11792,7 @@ impl<'a> PropertyCustomMetricListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12090,7 +12090,7 @@ impl<'a> PropertyCustomMetricPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12375,7 +12375,7 @@ impl<'a> PropertyDataStreamMeasurementProtocolSecretCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12631,7 +12631,7 @@ impl<'a> PropertyDataStreamMeasurementProtocolSecretDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12887,7 +12887,7 @@ impl<'a> PropertyDataStreamMeasurementProtocolSecretGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13168,7 +13168,7 @@ impl<'a> PropertyDataStreamMeasurementProtocolSecretListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13466,7 +13466,7 @@ impl<'a> PropertyDataStreamMeasurementProtocolSecretPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13751,7 +13751,7 @@ impl<'a> PropertyDataStreamCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14007,7 +14007,7 @@ impl<'a> PropertyDataStreamDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14263,7 +14263,7 @@ impl<'a> PropertyDataStreamGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14519,7 +14519,7 @@ impl<'a> PropertyDataStreamGetGlobalSiteTagCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14800,7 +14800,7 @@ impl<'a> PropertyDataStreamListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15098,7 +15098,7 @@ impl<'a> PropertyDataStreamPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15384,7 +15384,7 @@ impl<'a> PropertyDisplayVideo360AdvertiserLinkProposalApproveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15670,7 +15670,7 @@ impl<'a> PropertyDisplayVideo360AdvertiserLinkProposalCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15955,7 +15955,7 @@ impl<'a> PropertyDisplayVideo360AdvertiserLinkProposalCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16211,7 +16211,7 @@ impl<'a> PropertyDisplayVideo360AdvertiserLinkProposalDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16467,7 +16467,7 @@ impl<'a> PropertyDisplayVideo360AdvertiserLinkProposalGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16748,7 +16748,7 @@ impl<'a> PropertyDisplayVideo360AdvertiserLinkProposalListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17033,7 +17033,7 @@ impl<'a> PropertyDisplayVideo360AdvertiserLinkCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17289,7 +17289,7 @@ impl<'a> PropertyDisplayVideo360AdvertiserLinkDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17545,7 +17545,7 @@ impl<'a> PropertyDisplayVideo360AdvertiserLinkGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17826,7 +17826,7 @@ impl<'a> PropertyDisplayVideo360AdvertiserLinkListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18124,7 +18124,7 @@ impl<'a> PropertyDisplayVideo360AdvertiserLinkPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18409,7 +18409,7 @@ impl<'a> PropertyFirebaseLinkCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18665,7 +18665,7 @@ impl<'a> PropertyFirebaseLinkDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18946,7 +18946,7 @@ impl<'a> PropertyFirebaseLinkListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19231,7 +19231,7 @@ impl<'a> PropertyGoogleAdsLinkCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19487,7 +19487,7 @@ impl<'a> PropertyGoogleAdsLinkDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19768,7 +19768,7 @@ impl<'a> PropertyGoogleAdsLinkListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20066,7 +20066,7 @@ impl<'a> PropertyGoogleAdsLinkPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20352,7 +20352,7 @@ impl<'a> PropertyUserLinkAuditCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20638,7 +20638,7 @@ impl<'a> PropertyUserLinkBatchCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20923,7 +20923,7 @@ impl<'a> PropertyUserLinkBatchDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21195,7 +21195,7 @@ impl<'a> PropertyUserLinkBatchGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21481,7 +21481,7 @@ impl<'a> PropertyUserLinkBatchUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21778,7 +21778,7 @@ impl<'a> PropertyUserLinkCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22034,7 +22034,7 @@ impl<'a> PropertyUserLinkDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22290,7 +22290,7 @@ impl<'a> PropertyUserLinkGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22571,7 +22571,7 @@ impl<'a> PropertyUserLinkListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22857,7 +22857,7 @@ impl<'a> PropertyUserLinkPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23143,7 +23143,7 @@ impl<'a> PropertyAcknowledgeUserDataCollectionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23391,7 +23391,7 @@ impl<'a> PropertyCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23647,7 +23647,7 @@ impl<'a> PropertyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23903,7 +23903,7 @@ impl<'a> PropertyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24159,7 +24159,7 @@ impl<'a> PropertyGetDataRetentionSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24415,7 +24415,7 @@ impl<'a> PropertyGetGoogleSignalsSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24683,7 +24683,7 @@ impl<'a> PropertyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24981,7 +24981,7 @@ impl<'a> PropertyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25279,7 +25279,7 @@ impl<'a> PropertyUpdateDataRetentionSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/analyticsadmin1_alpha/src/lib.rs b/gen/analyticsadmin1_alpha/src/lib.rs index e0a1a98410..4d8ba3515f 100644 --- a/gen/analyticsadmin1_alpha/src/lib.rs +++ b/gen/analyticsadmin1_alpha/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Google Analytics Admin* crate version *3.0.0+20220307*, where *20220307* is the exact revision of the *analyticsadmin:v1alpha* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Google Analytics Admin* crate version *3.1.0+20220307*, where *20220307* is the exact revision of the *analyticsadmin:v1alpha* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Google Analytics Admin* *v1_alpha* API can be found at the //! [official documentation site](http://code.google.com/apis/analytics/docs/mgmt/home.html). @@ -109,7 +109,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = GoogleAnalyticsAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/analyticsdata1_beta-cli/Cargo.toml b/gen/analyticsdata1_beta-cli/Cargo.toml index 63b1d66eec..ec1cf2174b 100644 --- a/gen/analyticsdata1_beta-cli/Cargo.toml +++ b/gen/analyticsdata1_beta-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-analyticsdata1_beta-cli" -version = "3.0.0+20220303" +version = "3.1.0+20220303" authors = ["Sebastian Thiel "] description = "A complete library to interact with AnalyticsData (protocol v1beta)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/analyticsdata1_beta-cli" @@ -20,12 +20,12 @@ name = "analyticsdata1-beta" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-analyticsdata1_beta] path = "../analyticsdata1_beta" -version = "3.0.0+20220303" +version = "3.1.0+20220303" diff --git a/gen/analyticsdata1_beta-cli/README.md b/gen/analyticsdata1_beta-cli/README.md index c20729e421..bf37ea2be0 100644 --- a/gen/analyticsdata1_beta-cli/README.md +++ b/gen/analyticsdata1_beta-cli/README.md @@ -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 *AnalyticsData* API at revision *20220303*. The CLI is at version *3.0.0*. +This documentation was generated from the *AnalyticsData* API at revision *20220303*. The CLI is at version *3.1.0*. ```bash analyticsdata1-beta [options] diff --git a/gen/analyticsdata1_beta-cli/mkdocs.yml b/gen/analyticsdata1_beta-cli/mkdocs.yml index cd58106ff9..7cd06d5bcf 100644 --- a/gen/analyticsdata1_beta-cli/mkdocs.yml +++ b/gen/analyticsdata1_beta-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: AnalyticsData v3.0.0+20220303 +site_name: AnalyticsData v3.1.0+20220303 site_url: http://byron.github.io/google-apis-rs/google-analyticsdata1_beta-cli site_description: A complete library to interact with AnalyticsData (protocol v1beta) diff --git a/gen/analyticsdata1_beta-cli/src/main.rs b/gen/analyticsdata1_beta-cli/src/main.rs index e857455c47..3722623128 100644 --- a/gen/analyticsdata1_beta-cli/src/main.rs +++ b/gen/analyticsdata1_beta-cli/src/main.rs @@ -793,7 +793,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/analyticsdata1-beta", 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::AnalyticsData::new(client, auth), @@ -1025,7 +1031,7 @@ async fn main() { let mut app = App::new("analyticsdata1-beta") .author("Sebastian Thiel ") - .version("3.0.0+20220303") + .version("3.1.0+20220303") .about("Accesses report data in Google Analytics.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_analyticsdata1_beta_cli") .arg(Arg::with_name("url") diff --git a/gen/analyticsdata1_beta/Cargo.toml b/gen/analyticsdata1_beta/Cargo.toml index ba8fa297ba..0cf884ef17 100644 --- a/gen/analyticsdata1_beta/Cargo.toml +++ b/gen/analyticsdata1_beta/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-analyticsdata1_beta" -version = "3.0.0+20220303" +version = "3.1.0+20220303" authors = ["Sebastian Thiel "] description = "A complete library to interact with AnalyticsData (protocol v1beta)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/analyticsdata1_beta" homepage = "https://developers.google.com/analytics/devguides/reporting/data/v1/" -documentation = "https://docs.rs/google-analyticsdata1_beta/3.0.0+20220303" +documentation = "https://docs.rs/google-analyticsdata1_beta/3.1.0+20220303" license = "MIT" keywords = ["analyticsdata", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/analyticsdata1_beta/README.md b/gen/analyticsdata1_beta/README.md index 556606a6e9..c0ed6c4164 100644 --- a/gen/analyticsdata1_beta/README.md +++ b/gen/analyticsdata1_beta/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-analyticsdata1_beta` library allows access to all features of the *Google AnalyticsData* service. -This documentation was generated from *AnalyticsData* crate version *3.0.0+20220303*, where *20220303* is the exact revision of the *analyticsdata:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *AnalyticsData* crate version *3.1.0+20220303*, where *20220303* is the exact revision of the *analyticsdata:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *AnalyticsData* *v1_beta* API can be found at the [official documentation site](https://developers.google.com/analytics/devguides/reporting/data/v1/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-analyticsdata1_beta/3.0.0+20220303/google_analyticsdata1_beta/AnalyticsData) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-analyticsdata1_beta/3.1.0+20220303/google_analyticsdata1_beta/AnalyticsData) ... * properties - * [*batch run pivot reports*](https://docs.rs/google-analyticsdata1_beta/3.0.0+20220303/google_analyticsdata1_beta/api::PropertyBatchRunPivotReportCall), [*batch run reports*](https://docs.rs/google-analyticsdata1_beta/3.0.0+20220303/google_analyticsdata1_beta/api::PropertyBatchRunReportCall), [*check compatibility*](https://docs.rs/google-analyticsdata1_beta/3.0.0+20220303/google_analyticsdata1_beta/api::PropertyCheckCompatibilityCall), [*get metadata*](https://docs.rs/google-analyticsdata1_beta/3.0.0+20220303/google_analyticsdata1_beta/api::PropertyGetMetadataCall), [*run pivot report*](https://docs.rs/google-analyticsdata1_beta/3.0.0+20220303/google_analyticsdata1_beta/api::PropertyRunPivotReportCall), [*run realtime report*](https://docs.rs/google-analyticsdata1_beta/3.0.0+20220303/google_analyticsdata1_beta/api::PropertyRunRealtimeReportCall) and [*run report*](https://docs.rs/google-analyticsdata1_beta/3.0.0+20220303/google_analyticsdata1_beta/api::PropertyRunReportCall) + * [*batch run pivot reports*](https://docs.rs/google-analyticsdata1_beta/3.1.0+20220303/google_analyticsdata1_beta/api::PropertyBatchRunPivotReportCall), [*batch run reports*](https://docs.rs/google-analyticsdata1_beta/3.1.0+20220303/google_analyticsdata1_beta/api::PropertyBatchRunReportCall), [*check compatibility*](https://docs.rs/google-analyticsdata1_beta/3.1.0+20220303/google_analyticsdata1_beta/api::PropertyCheckCompatibilityCall), [*get metadata*](https://docs.rs/google-analyticsdata1_beta/3.1.0+20220303/google_analyticsdata1_beta/api::PropertyGetMetadataCall), [*run pivot report*](https://docs.rs/google-analyticsdata1_beta/3.1.0+20220303/google_analyticsdata1_beta/api::PropertyRunPivotReportCall), [*run realtime report*](https://docs.rs/google-analyticsdata1_beta/3.1.0+20220303/google_analyticsdata1_beta/api::PropertyRunRealtimeReportCall) and [*run report*](https://docs.rs/google-analyticsdata1_beta/3.1.0+20220303/google_analyticsdata1_beta/api::PropertyRunReportCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-analyticsdata1_beta/3.0.0+20220303/google_analyticsdata1_beta/AnalyticsData)** +* **[Hub](https://docs.rs/google-analyticsdata1_beta/3.1.0+20220303/google_analyticsdata1_beta/AnalyticsData)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-analyticsdata1_beta/3.0.0+20220303/google_analyticsdata1_beta/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-analyticsdata1_beta/3.0.0+20220303/google_analyticsdata1_beta/client::CallBuilder) -* **[Resources](https://docs.rs/google-analyticsdata1_beta/3.0.0+20220303/google_analyticsdata1_beta/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-analyticsdata1_beta/3.1.0+20220303/google_analyticsdata1_beta/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-analyticsdata1_beta/3.1.0+20220303/google_analyticsdata1_beta/client::CallBuilder) +* **[Resources](https://docs.rs/google-analyticsdata1_beta/3.1.0+20220303/google_analyticsdata1_beta/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-analyticsdata1_beta/3.0.0+20220303/google_analyticsdata1_beta/client::Part)** + * **[Parts](https://docs.rs/google-analyticsdata1_beta/3.1.0+20220303/google_analyticsdata1_beta/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-analyticsdata1_beta/3.0.0+20220303/google_analyticsdata1_beta/client::CallBuilder)** +* **[Activities](https://docs.rs/google-analyticsdata1_beta/3.1.0+20220303/google_analyticsdata1_beta/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -91,7 +91,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = AnalyticsData::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = AnalyticsData::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -124,17 +124,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-analyticsdata1_beta/3.0.0+20220303/google_analyticsdata1_beta/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-analyticsdata1_beta/3.1.0+20220303/google_analyticsdata1_beta/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-analyticsdata1_beta/3.0.0+20220303/google_analyticsdata1_beta/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-analyticsdata1_beta/3.1.0+20220303/google_analyticsdata1_beta/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-analyticsdata1_beta/3.0.0+20220303/google_analyticsdata1_beta/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-analyticsdata1_beta/3.1.0+20220303/google_analyticsdata1_beta/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-analyticsdata1_beta/3.0.0+20220303/google_analyticsdata1_beta/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-analyticsdata1_beta/3.1.0+20220303/google_analyticsdata1_beta/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -144,29 +144,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-analyticsdata1_beta/3.0.0+20220303/google_analyticsdata1_beta/client::Delegate) to the -[Method Builder](https://docs.rs/google-analyticsdata1_beta/3.0.0+20220303/google_analyticsdata1_beta/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-analyticsdata1_beta/3.1.0+20220303/google_analyticsdata1_beta/client::Delegate) to the +[Method Builder](https://docs.rs/google-analyticsdata1_beta/3.1.0+20220303/google_analyticsdata1_beta/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-analyticsdata1_beta/3.0.0+20220303/google_analyticsdata1_beta/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-analyticsdata1_beta/3.1.0+20220303/google_analyticsdata1_beta/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-analyticsdata1_beta/3.0.0+20220303/google_analyticsdata1_beta/client::RequestValue) and -[decodable](https://docs.rs/google-analyticsdata1_beta/3.0.0+20220303/google_analyticsdata1_beta/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-analyticsdata1_beta/3.1.0+20220303/google_analyticsdata1_beta/client::RequestValue) and +[decodable](https://docs.rs/google-analyticsdata1_beta/3.1.0+20220303/google_analyticsdata1_beta/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-analyticsdata1_beta/3.0.0+20220303/google_analyticsdata1_beta/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-analyticsdata1_beta/3.1.0+20220303/google_analyticsdata1_beta/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-analyticsdata1_beta/3.0.0+20220303/google_analyticsdata1_beta/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-analyticsdata1_beta/3.1.0+20220303/google_analyticsdata1_beta/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-analyticsdata1_beta/3.0.0+20220303/google_analyticsdata1_beta/client::RequestValue) are moved +* [request values](https://docs.rs/google-analyticsdata1_beta/3.1.0+20220303/google_analyticsdata1_beta/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/analyticsdata1_beta/src/api.rs b/gen/analyticsdata1_beta/src/api.rs index 488cd32a45..7f44201333 100644 --- a/gen/analyticsdata1_beta/src/api.rs +++ b/gen/analyticsdata1_beta/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AnalyticsData::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AnalyticsData::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -123,7 +123,7 @@ impl<'a, > AnalyticsData<> { AnalyticsData { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://analyticsdata.googleapis.com/".to_string(), _root_url: "https://analyticsdata.googleapis.com/".to_string(), } @@ -134,7 +134,7 @@ impl<'a, > AnalyticsData<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1330,7 +1330,7 @@ impl client::Part for StringFilter {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AnalyticsData::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AnalyticsData::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `batch_run_pivot_reports(...)`, `batch_run_reports(...)`, `check_compatibility(...)`, `get_metadata(...)`, `run_pivot_report(...)`, `run_realtime_report(...)` and `run_report(...)` /// // to build up your call. @@ -1510,7 +1510,7 @@ impl<'a> PropertyMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AnalyticsData::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AnalyticsData::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1796,7 +1796,7 @@ impl<'a> PropertyBatchRunPivotReportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AnalyticsData::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AnalyticsData::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2082,7 +2082,7 @@ impl<'a> PropertyBatchRunReportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AnalyticsData::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AnalyticsData::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2367,7 +2367,7 @@ impl<'a> PropertyCheckCompatibilityCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AnalyticsData::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AnalyticsData::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2624,7 +2624,7 @@ impl<'a> PropertyGetMetadataCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AnalyticsData::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AnalyticsData::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2910,7 +2910,7 @@ impl<'a> PropertyRunPivotReportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AnalyticsData::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AnalyticsData::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3196,7 +3196,7 @@ impl<'a> PropertyRunRealtimeReportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AnalyticsData::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AnalyticsData::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/analyticsdata1_beta/src/lib.rs b/gen/analyticsdata1_beta/src/lib.rs index 488876f344..92a71893c7 100644 --- a/gen/analyticsdata1_beta/src/lib.rs +++ b/gen/analyticsdata1_beta/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *AnalyticsData* crate version *3.0.0+20220303*, where *20220303* is the exact revision of the *analyticsdata:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *AnalyticsData* crate version *3.1.0+20220303*, where *20220303* is the exact revision of the *analyticsdata:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *AnalyticsData* *v1_beta* API can be found at the //! [official documentation site](https://developers.google.com/analytics/devguides/reporting/data/v1/). @@ -92,7 +92,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = AnalyticsData::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = AnalyticsData::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/analyticsreporting4-cli/Cargo.toml b/gen/analyticsreporting4-cli/Cargo.toml index eb9e8fb884..af8faebf83 100644 --- a/gen/analyticsreporting4-cli/Cargo.toml +++ b/gen/analyticsreporting4-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-analyticsreporting4-cli" -version = "3.0.0+20220215" +version = "3.1.0+20220215" authors = ["Sebastian Thiel "] description = "A complete library to interact with AnalyticsReporting (protocol v4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/analyticsreporting4-cli" @@ -20,12 +20,12 @@ name = "analyticsreporting4" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-analyticsreporting4] path = "../analyticsreporting4" -version = "3.0.0+20220215" +version = "3.1.0+20220215" diff --git a/gen/analyticsreporting4-cli/README.md b/gen/analyticsreporting4-cli/README.md index df140c9774..874b4a64f2 100644 --- a/gen/analyticsreporting4-cli/README.md +++ b/gen/analyticsreporting4-cli/README.md @@ -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 *AnalyticsReporting* API at revision *20220215*. The CLI is at version *3.0.0*. +This documentation was generated from the *AnalyticsReporting* API at revision *20220215*. The CLI is at version *3.1.0*. ```bash analyticsreporting4 [options] diff --git a/gen/analyticsreporting4-cli/mkdocs.yml b/gen/analyticsreporting4-cli/mkdocs.yml index f7c4b12a48..b89817d752 100644 --- a/gen/analyticsreporting4-cli/mkdocs.yml +++ b/gen/analyticsreporting4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: AnalyticsReporting v3.0.0+20220215 +site_name: AnalyticsReporting v3.1.0+20220215 site_url: http://byron.github.io/google-apis-rs/google-analyticsreporting4-cli site_description: A complete library to interact with AnalyticsReporting (protocol v4) diff --git a/gen/analyticsreporting4-cli/src/main.rs b/gen/analyticsreporting4-cli/src/main.rs index b2d46a5330..0f10dbed08 100644 --- a/gen/analyticsreporting4-cli/src/main.rs +++ b/gen/analyticsreporting4-cli/src/main.rs @@ -280,7 +280,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/analyticsreporting4", 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::AnalyticsReporting::new(client, auth), @@ -369,7 +375,7 @@ async fn main() { let mut app = App::new("analyticsreporting4") .author("Sebastian Thiel ") - .version("3.0.0+20220215") + .version("3.1.0+20220215") .about("Accesses Analytics report data.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_analyticsreporting4_cli") .arg(Arg::with_name("url") diff --git a/gen/analyticsreporting4/Cargo.toml b/gen/analyticsreporting4/Cargo.toml index 7c0abcc062..14abd76be1 100644 --- a/gen/analyticsreporting4/Cargo.toml +++ b/gen/analyticsreporting4/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-analyticsreporting4" -version = "3.0.0+20220215" +version = "3.1.0+20220215" authors = ["Sebastian Thiel "] description = "A complete library to interact with AnalyticsReporting (protocol v4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/analyticsreporting4" homepage = "https://developers.google.com/analytics/devguides/reporting/core/v4/" -documentation = "https://docs.rs/google-analyticsreporting4/3.0.0+20220215" +documentation = "https://docs.rs/google-analyticsreporting4/3.1.0+20220215" license = "MIT" keywords = ["analyticsreporting", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/analyticsreporting4/README.md b/gen/analyticsreporting4/README.md index 7ec3005e99..4b9a0b7e30 100644 --- a/gen/analyticsreporting4/README.md +++ b/gen/analyticsreporting4/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-analyticsreporting4` library allows access to all features of the *Google AnalyticsReporting* service. -This documentation was generated from *AnalyticsReporting* crate version *3.0.0+20220215*, where *20220215* is the exact revision of the *analyticsreporting:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *AnalyticsReporting* crate version *3.1.0+20220215*, where *20220215* is the exact revision of the *analyticsreporting:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *AnalyticsReporting* *v4* API can be found at the [official documentation site](https://developers.google.com/analytics/devguides/reporting/core/v4/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-analyticsreporting4/3.0.0+20220215/google_analyticsreporting4/AnalyticsReporting) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-analyticsreporting4/3.1.0+20220215/google_analyticsreporting4/AnalyticsReporting) ... -* [reports](https://docs.rs/google-analyticsreporting4/3.0.0+20220215/google_analyticsreporting4/api::Report) - * [*batch get*](https://docs.rs/google-analyticsreporting4/3.0.0+20220215/google_analyticsreporting4/api::ReportBatchGetCall) +* [reports](https://docs.rs/google-analyticsreporting4/3.1.0+20220215/google_analyticsreporting4/api::Report) + * [*batch get*](https://docs.rs/google-analyticsreporting4/3.1.0+20220215/google_analyticsreporting4/api::ReportBatchGetCall) * user activity - * [*search*](https://docs.rs/google-analyticsreporting4/3.0.0+20220215/google_analyticsreporting4/api::UserActivitySearchCall) + * [*search*](https://docs.rs/google-analyticsreporting4/3.1.0+20220215/google_analyticsreporting4/api::UserActivitySearchCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-analyticsreporting4/3.0.0+20220215/google_analyticsreporting4/AnalyticsReporting)** +* **[Hub](https://docs.rs/google-analyticsreporting4/3.1.0+20220215/google_analyticsreporting4/AnalyticsReporting)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-analyticsreporting4/3.0.0+20220215/google_analyticsreporting4/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-analyticsreporting4/3.0.0+20220215/google_analyticsreporting4/client::CallBuilder) -* **[Resources](https://docs.rs/google-analyticsreporting4/3.0.0+20220215/google_analyticsreporting4/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-analyticsreporting4/3.1.0+20220215/google_analyticsreporting4/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-analyticsreporting4/3.1.0+20220215/google_analyticsreporting4/client::CallBuilder) +* **[Resources](https://docs.rs/google-analyticsreporting4/3.1.0+20220215/google_analyticsreporting4/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-analyticsreporting4/3.0.0+20220215/google_analyticsreporting4/client::Part)** + * **[Parts](https://docs.rs/google-analyticsreporting4/3.1.0+20220215/google_analyticsreporting4/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-analyticsreporting4/3.0.0+20220215/google_analyticsreporting4/client::CallBuilder)** +* **[Activities](https://docs.rs/google-analyticsreporting4/3.1.0+20220215/google_analyticsreporting4/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -93,7 +93,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = AnalyticsReporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = AnalyticsReporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -126,17 +126,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-analyticsreporting4/3.0.0+20220215/google_analyticsreporting4/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-analyticsreporting4/3.1.0+20220215/google_analyticsreporting4/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-analyticsreporting4/3.0.0+20220215/google_analyticsreporting4/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-analyticsreporting4/3.1.0+20220215/google_analyticsreporting4/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-analyticsreporting4/3.0.0+20220215/google_analyticsreporting4/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-analyticsreporting4/3.1.0+20220215/google_analyticsreporting4/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-analyticsreporting4/3.0.0+20220215/google_analyticsreporting4/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-analyticsreporting4/3.1.0+20220215/google_analyticsreporting4/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -146,29 +146,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-analyticsreporting4/3.0.0+20220215/google_analyticsreporting4/client::Delegate) to the -[Method Builder](https://docs.rs/google-analyticsreporting4/3.0.0+20220215/google_analyticsreporting4/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-analyticsreporting4/3.1.0+20220215/google_analyticsreporting4/client::Delegate) to the +[Method Builder](https://docs.rs/google-analyticsreporting4/3.1.0+20220215/google_analyticsreporting4/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-analyticsreporting4/3.0.0+20220215/google_analyticsreporting4/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-analyticsreporting4/3.1.0+20220215/google_analyticsreporting4/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-analyticsreporting4/3.0.0+20220215/google_analyticsreporting4/client::RequestValue) and -[decodable](https://docs.rs/google-analyticsreporting4/3.0.0+20220215/google_analyticsreporting4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-analyticsreporting4/3.1.0+20220215/google_analyticsreporting4/client::RequestValue) and +[decodable](https://docs.rs/google-analyticsreporting4/3.1.0+20220215/google_analyticsreporting4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-analyticsreporting4/3.0.0+20220215/google_analyticsreporting4/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-analyticsreporting4/3.1.0+20220215/google_analyticsreporting4/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-analyticsreporting4/3.0.0+20220215/google_analyticsreporting4/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-analyticsreporting4/3.1.0+20220215/google_analyticsreporting4/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-analyticsreporting4/3.0.0+20220215/google_analyticsreporting4/client::RequestValue) are moved +* [request values](https://docs.rs/google-analyticsreporting4/3.1.0+20220215/google_analyticsreporting4/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/analyticsreporting4/src/api.rs b/gen/analyticsreporting4/src/api.rs index 6d2857a7ab..48e29032bf 100644 --- a/gen/analyticsreporting4/src/api.rs +++ b/gen/analyticsreporting4/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AnalyticsReporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AnalyticsReporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -123,7 +123,7 @@ impl<'a, > AnalyticsReporting<> { AnalyticsReporting { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://analyticsreporting.googleapis.com/".to_string(), _root_url: "https://analyticsreporting.googleapis.com/".to_string(), } @@ -137,7 +137,7 @@ impl<'a, > AnalyticsReporting<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1253,7 +1253,7 @@ impl client::Part for UserActivitySession {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AnalyticsReporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AnalyticsReporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `batch_get(...)` /// // to build up your call. @@ -1311,7 +1311,7 @@ impl<'a> ReportMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AnalyticsReporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AnalyticsReporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `search(...)` /// // to build up your call. @@ -1377,7 +1377,7 @@ impl<'a> UserActivityMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AnalyticsReporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AnalyticsReporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1626,7 +1626,7 @@ impl<'a> ReportBatchGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AnalyticsReporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AnalyticsReporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/analyticsreporting4/src/lib.rs b/gen/analyticsreporting4/src/lib.rs index 23239cdd5e..5da06f442f 100644 --- a/gen/analyticsreporting4/src/lib.rs +++ b/gen/analyticsreporting4/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *AnalyticsReporting* crate version *3.0.0+20220215*, where *20220215* is the exact revision of the *analyticsreporting:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *AnalyticsReporting* crate version *3.1.0+20220215*, where *20220215* is the exact revision of the *analyticsreporting:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *AnalyticsReporting* *v4* API can be found at the //! [official documentation site](https://developers.google.com/analytics/devguides/reporting/core/v4/). @@ -94,7 +94,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = AnalyticsReporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = AnalyticsReporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/androiddeviceprovisioning1-cli/Cargo.toml b/gen/androiddeviceprovisioning1-cli/Cargo.toml index 7e0be794db..1674ab0eff 100644 --- a/gen/androiddeviceprovisioning1-cli/Cargo.toml +++ b/gen/androiddeviceprovisioning1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-androiddeviceprovisioning1-cli" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with Android Provisioning Partner (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/androiddeviceprovisioning1-cli" @@ -20,12 +20,12 @@ name = "androiddeviceprovisioning1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-androiddeviceprovisioning1] path = "../androiddeviceprovisioning1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" diff --git a/gen/androiddeviceprovisioning1-cli/README.md b/gen/androiddeviceprovisioning1-cli/README.md index ed3fb75598..9848b7ac18 100644 --- a/gen/androiddeviceprovisioning1-cli/README.md +++ b/gen/androiddeviceprovisioning1-cli/README.md @@ -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 *Android Provisioning Partner* API at revision *20220305*. The CLI is at version *3.0.0*. +This documentation was generated from the *Android Provisioning Partner* API at revision *20220305*. The CLI is at version *3.1.0*. ```bash androiddeviceprovisioning1 [options] diff --git a/gen/androiddeviceprovisioning1-cli/mkdocs.yml b/gen/androiddeviceprovisioning1-cli/mkdocs.yml index df24e0d239..25d00bf402 100644 --- a/gen/androiddeviceprovisioning1-cli/mkdocs.yml +++ b/gen/androiddeviceprovisioning1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Android Provisioning Partner v3.0.0+20220305 +site_name: Android Provisioning Partner v3.1.0+20220305 site_url: http://byron.github.io/google-apis-rs/google-androiddeviceprovisioning1-cli site_description: A complete library to interact with Android Provisioning Partner (protocol v1) diff --git a/gen/androiddeviceprovisioning1-cli/src/main.rs b/gen/androiddeviceprovisioning1-cli/src/main.rs index fae505038f..d9c85316b7 100644 --- a/gen/androiddeviceprovisioning1-cli/src/main.rs +++ b/gen/androiddeviceprovisioning1-cli/src/main.rs @@ -2020,7 +2020,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/androiddeviceprovisioning1", 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::AndroidProvisioningPartner::new(client, auth), @@ -2724,7 +2730,7 @@ async fn main() { let mut app = App::new("androiddeviceprovisioning1") .author("Sebastian Thiel ") - .version("3.0.0+20220305") + .version("3.1.0+20220305") .about("Automates Android zero-touch enrollment for device resellers, customers, and EMMs.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_androiddeviceprovisioning1_cli") .arg(Arg::with_name("folder") diff --git a/gen/androiddeviceprovisioning1/Cargo.toml b/gen/androiddeviceprovisioning1/Cargo.toml index f13514cd06..7a37b865ab 100644 --- a/gen/androiddeviceprovisioning1/Cargo.toml +++ b/gen/androiddeviceprovisioning1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-androiddeviceprovisioning1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with Android Provisioning Partner (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/androiddeviceprovisioning1" homepage = "https://developers.google.com/zero-touch/" -documentation = "https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305" +documentation = "https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305" license = "MIT" keywords = ["androiddeviceprovisi", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/androiddeviceprovisioning1/README.md b/gen/androiddeviceprovisioning1/README.md index 9d13e67859..418d958b71 100644 --- a/gen/androiddeviceprovisioning1/README.md +++ b/gen/androiddeviceprovisioning1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-androiddeviceprovisioning1` library allows access to all features of the *Google Android Provisioning Partner* service. -This documentation was generated from *Android Provisioning Partner* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *androiddeviceprovisioning:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Android Provisioning Partner* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *androiddeviceprovisioning:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Android Provisioning Partner* *v1* API can be found at the [official documentation site](https://developers.google.com/zero-touch/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/AndroidProvisioningPartner) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/AndroidProvisioningPartner) ... * customers - * [*configurations create*](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/api::CustomerConfigurationCreateCall), [*configurations delete*](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/api::CustomerConfigurationDeleteCall), [*configurations get*](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/api::CustomerConfigurationGetCall), [*configurations list*](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/api::CustomerConfigurationListCall), [*configurations patch*](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/api::CustomerConfigurationPatchCall), [*devices apply configuration*](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/api::CustomerDeviceApplyConfigurationCall), [*devices get*](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/api::CustomerDeviceGetCall), [*devices list*](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/api::CustomerDeviceListCall), [*devices remove configuration*](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/api::CustomerDeviceRemoveConfigurationCall), [*devices unclaim*](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/api::CustomerDeviceUnclaimCall), [*dpcs list*](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/api::CustomerDpcListCall) and [*list*](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/api::CustomerListCall) -* [operations](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/api::Operation) - * [*get*](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/api::OperationGetCall) + * [*configurations create*](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/api::CustomerConfigurationCreateCall), [*configurations delete*](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/api::CustomerConfigurationDeleteCall), [*configurations get*](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/api::CustomerConfigurationGetCall), [*configurations list*](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/api::CustomerConfigurationListCall), [*configurations patch*](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/api::CustomerConfigurationPatchCall), [*devices apply configuration*](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/api::CustomerDeviceApplyConfigurationCall), [*devices get*](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/api::CustomerDeviceGetCall), [*devices list*](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/api::CustomerDeviceListCall), [*devices remove configuration*](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/api::CustomerDeviceRemoveConfigurationCall), [*devices unclaim*](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/api::CustomerDeviceUnclaimCall), [*dpcs list*](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/api::CustomerDpcListCall) and [*list*](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/api::CustomerListCall) +* [operations](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/api::Operation) + * [*get*](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/api::OperationGetCall) * partners - * [*customers create*](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/api::PartnerCustomerCreateCall), [*customers list*](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/api::PartnerCustomerListCall), [*devices claim*](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/api::PartnerDeviceClaimCall), [*devices claim async*](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/api::PartnerDeviceClaimAsyncCall), [*devices find by identifier*](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/api::PartnerDeviceFindByIdentifierCall), [*devices find by owner*](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/api::PartnerDeviceFindByOwnerCall), [*devices get*](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/api::PartnerDeviceGetCall), [*devices metadata*](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/api::PartnerDeviceMetadataCall), [*devices unclaim*](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/api::PartnerDeviceUnclaimCall), [*devices unclaim async*](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/api::PartnerDeviceUnclaimAsyncCall), [*devices update metadata async*](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/api::PartnerDeviceUpdateMetadataAsyncCall), [*vendors customers list*](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/api::PartnerVendorCustomerListCall) and [*vendors list*](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/api::PartnerVendorListCall) + * [*customers create*](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/api::PartnerCustomerCreateCall), [*customers list*](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/api::PartnerCustomerListCall), [*devices claim*](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/api::PartnerDeviceClaimCall), [*devices claim async*](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/api::PartnerDeviceClaimAsyncCall), [*devices find by identifier*](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/api::PartnerDeviceFindByIdentifierCall), [*devices find by owner*](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/api::PartnerDeviceFindByOwnerCall), [*devices get*](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/api::PartnerDeviceGetCall), [*devices metadata*](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/api::PartnerDeviceMetadataCall), [*devices unclaim*](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/api::PartnerDeviceUnclaimCall), [*devices unclaim async*](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/api::PartnerDeviceUnclaimAsyncCall), [*devices update metadata async*](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/api::PartnerDeviceUpdateMetadataAsyncCall), [*vendors customers list*](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/api::PartnerVendorCustomerListCall) and [*vendors list*](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/api::PartnerVendorListCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/AndroidProvisioningPartner)** +* **[Hub](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/AndroidProvisioningPartner)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/client::CallBuilder) -* **[Resources](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/client::CallBuilder) +* **[Resources](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/client::Part)** + * **[Parts](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -99,7 +99,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -152,29 +152,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/client::Delegate) to the -[Method Builder](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/client::Delegate) to the +[Method Builder](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/client::RequestValue) and -[decodable](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/client::RequestValue) and +[decodable](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-androiddeviceprovisioning1/3.0.0+20220305/google_androiddeviceprovisioning1/client::RequestValue) are moved +* [request values](https://docs.rs/google-androiddeviceprovisioning1/3.1.0+20220305/google_androiddeviceprovisioning1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/androiddeviceprovisioning1/src/api.rs b/gen/androiddeviceprovisioning1/src/api.rs index cc7bf60d7f..26fa1ff622 100644 --- a/gen/androiddeviceprovisioning1/src/api.rs +++ b/gen/androiddeviceprovisioning1/src/api.rs @@ -49,7 +49,7 @@ use crate::client; /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -97,7 +97,7 @@ impl<'a, > AndroidProvisioningPartner<> { AndroidProvisioningPartner { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://androiddeviceprovisioning.googleapis.com/".to_string(), _root_url: "https://androiddeviceprovisioning.googleapis.com/".to_string(), } @@ -114,7 +114,7 @@ impl<'a, > AndroidProvisioningPartner<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1004,7 +1004,7 @@ impl client::Part for UpdateMetadataArguments {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `configurations_create(...)`, `configurations_delete(...)`, `configurations_get(...)`, `configurations_list(...)`, `configurations_patch(...)`, `devices_apply_configuration(...)`, `devices_get(...)`, `devices_list(...)`, `devices_remove_configuration(...)`, `devices_unclaim(...)`, `dpcs_list(...)` and `list(...)` /// // to build up your call. @@ -1247,7 +1247,7 @@ impl<'a> CustomerMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -1304,7 +1304,7 @@ impl<'a> OperationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `customers_create(...)`, `customers_list(...)`, `devices_claim(...)`, `devices_claim_async(...)`, `devices_find_by_identifier(...)`, `devices_find_by_owner(...)`, `devices_get(...)`, `devices_metadata(...)`, `devices_unclaim(...)`, `devices_unclaim_async(...)`, `devices_update_metadata_async(...)`, `vendors_customers_list(...)` and `vendors_list(...)` /// // to build up your call. @@ -1587,7 +1587,7 @@ impl<'a> PartnerMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1842,7 +1842,7 @@ impl<'a> CustomerConfigurationCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2068,7 +2068,7 @@ impl<'a> CustomerConfigurationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2294,7 +2294,7 @@ impl<'a> CustomerConfigurationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2521,7 +2521,7 @@ impl<'a> CustomerConfigurationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2789,7 +2789,7 @@ impl<'a> CustomerConfigurationPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3044,7 +3044,7 @@ impl<'a> CustomerDeviceApplyConfigurationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3270,7 +3270,7 @@ impl<'a> CustomerDeviceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3521,7 +3521,7 @@ impl<'a> CustomerDeviceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3777,7 +3777,7 @@ impl<'a> CustomerDeviceRemoveConfigurationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4032,7 +4032,7 @@ impl<'a> CustomerDeviceUnclaimCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4258,7 +4258,7 @@ impl<'a> CustomerDpcListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4471,7 +4471,7 @@ impl<'a> CustomerListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4698,7 +4698,7 @@ impl<'a> OperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4953,7 +4953,7 @@ impl<'a> PartnerCustomerCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5204,7 +5204,7 @@ impl<'a> PartnerCustomerListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5460,7 +5460,7 @@ impl<'a> PartnerDeviceClaimCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5716,7 +5716,7 @@ impl<'a> PartnerDeviceClaimAsyncCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5972,7 +5972,7 @@ impl<'a> PartnerDeviceFindByIdentifierCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6227,7 +6227,7 @@ impl<'a> PartnerDeviceFindByOwnerCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6454,7 +6454,7 @@ impl<'a> PartnerDeviceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6722,7 +6722,7 @@ impl<'a> PartnerDeviceMetadataCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6978,7 +6978,7 @@ impl<'a> PartnerDeviceUnclaimCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7234,7 +7234,7 @@ impl<'a> PartnerDeviceUnclaimAsyncCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7489,7 +7489,7 @@ impl<'a> PartnerDeviceUpdateMetadataAsyncCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7739,7 +7739,7 @@ impl<'a> PartnerVendorCustomerListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/androiddeviceprovisioning1/src/lib.rs b/gen/androiddeviceprovisioning1/src/lib.rs index 9b0e773b69..361b241ec0 100644 --- a/gen/androiddeviceprovisioning1/src/lib.rs +++ b/gen/androiddeviceprovisioning1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Android Provisioning Partner* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *androiddeviceprovisioning:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Android Provisioning Partner* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *androiddeviceprovisioning:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Android Provisioning Partner* *v1* API can be found at the //! [official documentation site](https://developers.google.com/zero-touch/). @@ -100,7 +100,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = AndroidProvisioningPartner::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/androidenterprise1-cli/Cargo.toml b/gen/androidenterprise1-cli/Cargo.toml index 37bdea024b..171d9ae4d9 100644 --- a/gen/androidenterprise1-cli/Cargo.toml +++ b/gen/androidenterprise1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-androidenterprise1-cli" -version = "3.0.0+20220303" +version = "3.1.0+20220303" authors = ["Sebastian Thiel "] description = "A complete library to interact with Android Enterprise (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/androidenterprise1-cli" @@ -20,12 +20,12 @@ name = "androidenterprise1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-androidenterprise1] path = "../androidenterprise1" -version = "3.0.0+20220303" +version = "3.1.0+20220303" diff --git a/gen/androidenterprise1-cli/README.md b/gen/androidenterprise1-cli/README.md index 8fe97d18aa..429a0b82bb 100644 --- a/gen/androidenterprise1-cli/README.md +++ b/gen/androidenterprise1-cli/README.md @@ -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 *Android Enterprise* API at revision *20220303*. The CLI is at version *3.0.0*. +This documentation was generated from the *Android Enterprise* API at revision *20220303*. The CLI is at version *3.1.0*. ```bash androidenterprise1 [options] diff --git a/gen/androidenterprise1-cli/mkdocs.yml b/gen/androidenterprise1-cli/mkdocs.yml index a3a511a42b..1a81c1c36b 100644 --- a/gen/androidenterprise1-cli/mkdocs.yml +++ b/gen/androidenterprise1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Android Enterprise v3.0.0+20220303 +site_name: Android Enterprise v3.1.0+20220303 site_url: http://byron.github.io/google-apis-rs/google-androidenterprise1-cli site_description: A complete library to interact with Android Enterprise (protocol v1) diff --git a/gen/androidenterprise1-cli/src/main.rs b/gen/androidenterprise1-cli/src/main.rs index 5f33ca693b..ff4eb2decb 100644 --- a/gen/androidenterprise1-cli/src/main.rs +++ b/gen/androidenterprise1-cli/src/main.rs @@ -5026,7 +5026,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/androidenterprise1", 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::AndroidEnterprise::new(client, auth), @@ -7249,7 +7255,7 @@ async fn main() { let mut app = App::new("androidenterprise1") .author("Sebastian Thiel ") - .version("3.0.0+20220303") + .version("3.1.0+20220303") .about("Manages the deployment of apps to Android Enterprise devices.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_androidenterprise1_cli") .arg(Arg::with_name("url") diff --git a/gen/androidenterprise1/Cargo.toml b/gen/androidenterprise1/Cargo.toml index fd8814d49a..0f635905d6 100644 --- a/gen/androidenterprise1/Cargo.toml +++ b/gen/androidenterprise1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-androidenterprise1" -version = "3.0.0+20220303" +version = "3.1.0+20220303" authors = ["Sebastian Thiel "] description = "A complete library to interact with Android Enterprise (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/androidenterprise1" homepage = "https://developers.google.com/android/work/play/emm-api" -documentation = "https://docs.rs/google-androidenterprise1/3.0.0+20220303" +documentation = "https://docs.rs/google-androidenterprise1/3.1.0+20220303" license = "MIT" keywords = ["androidenterprise", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/androidenterprise1/README.md b/gen/androidenterprise1/README.md index 1bfa57fb7f..a359b138f6 100644 --- a/gen/androidenterprise1/README.md +++ b/gen/androidenterprise1/README.md @@ -5,46 +5,46 @@ DO NOT EDIT ! --> The `google-androidenterprise1` library allows access to all features of the *Google Android Enterprise* service. -This documentation was generated from *Android Enterprise* crate version *3.0.0+20220303*, where *20220303* is the exact revision of the *androidenterprise:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Android Enterprise* crate version *3.1.0+20220303*, where *20220303* is the exact revision of the *androidenterprise:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Android Enterprise* *v1* API can be found at the [official documentation site](https://developers.google.com/android/work/play/emm-api). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/AndroidEnterprise) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/AndroidEnterprise) ... -* [devices](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::Device) - * [*force report upload*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::DeviceForceReportUploadCall), [*get*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::DeviceGetCall), [*get state*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::DeviceGetStateCall), [*list*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::DeviceListCall), [*set state*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::DeviceSetStateCall) and [*update*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::DeviceUpdateCall) -* [enterprises](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::Enterprise) - * [*acknowledge notification set*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::EnterpriseAcknowledgeNotificationSetCall), [*complete signup*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::EnterpriseCompleteSignupCall), [*create web token*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::EnterpriseCreateWebTokenCall), [*enroll*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::EnterpriseEnrollCall), [*generate signup url*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::EnterpriseGenerateSignupUrlCall), [*get*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::EnterpriseGetCall), [*get service account*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::EnterpriseGetServiceAccountCall), [*get store layout*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::EnterpriseGetStoreLayoutCall), [*list*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::EnterpriseListCall), [*pull notification set*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::EnterprisePullNotificationSetCall), [*send test push notification*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::EnterpriseSendTestPushNotificationCall), [*set account*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::EnterpriseSetAccountCall), [*set store layout*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::EnterpriseSetStoreLayoutCall) and [*unenroll*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::EnterpriseUnenrollCall) -* [entitlements](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::Entitlement) - * [*delete*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::EntitlementDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::EntitlementGetCall), [*list*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::EntitlementListCall) and [*update*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::EntitlementUpdateCall) +* [devices](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::Device) + * [*force report upload*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::DeviceForceReportUploadCall), [*get*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::DeviceGetCall), [*get state*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::DeviceGetStateCall), [*list*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::DeviceListCall), [*set state*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::DeviceSetStateCall) and [*update*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::DeviceUpdateCall) +* [enterprises](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::Enterprise) + * [*acknowledge notification set*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::EnterpriseAcknowledgeNotificationSetCall), [*complete signup*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::EnterpriseCompleteSignupCall), [*create web token*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::EnterpriseCreateWebTokenCall), [*enroll*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::EnterpriseEnrollCall), [*generate signup url*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::EnterpriseGenerateSignupUrlCall), [*get*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::EnterpriseGetCall), [*get service account*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::EnterpriseGetServiceAccountCall), [*get store layout*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::EnterpriseGetStoreLayoutCall), [*list*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::EnterpriseListCall), [*pull notification set*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::EnterprisePullNotificationSetCall), [*send test push notification*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::EnterpriseSendTestPushNotificationCall), [*set account*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::EnterpriseSetAccountCall), [*set store layout*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::EnterpriseSetStoreLayoutCall) and [*unenroll*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::EnterpriseUnenrollCall) +* [entitlements](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::Entitlement) + * [*delete*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::EntitlementDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::EntitlementGetCall), [*list*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::EntitlementListCall) and [*update*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::EntitlementUpdateCall) * grouplicenses - * [*get*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::GrouplicenseGetCall) and [*list*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::GrouplicenseListCall) + * [*get*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::GrouplicenseGetCall) and [*list*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::GrouplicenseListCall) * grouplicenseusers - * [*list*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::GrouplicenseuserListCall) -* [installs](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::Install) - * [*delete*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::InstallDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::InstallGetCall), [*list*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::InstallListCall) and [*update*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::InstallUpdateCall) + * [*list*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::GrouplicenseuserListCall) +* [installs](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::Install) + * [*delete*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::InstallDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::InstallGetCall), [*list*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::InstallListCall) and [*update*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::InstallUpdateCall) * managedconfigurationsfordevice - * [*delete*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::ManagedconfigurationsfordeviceDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::ManagedconfigurationsfordeviceGetCall), [*list*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::ManagedconfigurationsfordeviceListCall) and [*update*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::ManagedconfigurationsfordeviceUpdateCall) + * [*delete*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::ManagedconfigurationsfordeviceDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::ManagedconfigurationsfordeviceGetCall), [*list*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::ManagedconfigurationsfordeviceListCall) and [*update*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::ManagedconfigurationsfordeviceUpdateCall) * managedconfigurationsforuser - * [*delete*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::ManagedconfigurationsforuserDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::ManagedconfigurationsforuserGetCall), [*list*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::ManagedconfigurationsforuserListCall) and [*update*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::ManagedconfigurationsforuserUpdateCall) + * [*delete*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::ManagedconfigurationsforuserDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::ManagedconfigurationsforuserGetCall), [*list*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::ManagedconfigurationsforuserListCall) and [*update*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::ManagedconfigurationsforuserUpdateCall) * managedconfigurationssettings - * [*list*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::ManagedconfigurationssettingListCall) -* [permissions](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::Permission) - * [*get*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::PermissionGetCall) -* [products](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::Product) - * [*approve*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::ProductApproveCall), [*generate approval url*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::ProductGenerateApprovalUrlCall), [*get*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::ProductGetCall), [*get app restrictions schema*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::ProductGetAppRestrictionsSchemaCall), [*get permissions*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::ProductGetPermissionCall), [*list*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::ProductListCall) and [*unapprove*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::ProductUnapproveCall) + * [*list*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::ManagedconfigurationssettingListCall) +* [permissions](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::Permission) + * [*get*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::PermissionGetCall) +* [products](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::Product) + * [*approve*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::ProductApproveCall), [*generate approval url*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::ProductGenerateApprovalUrlCall), [*get*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::ProductGetCall), [*get app restrictions schema*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::ProductGetAppRestrictionsSchemaCall), [*get permissions*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::ProductGetPermissionCall), [*list*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::ProductListCall) and [*unapprove*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::ProductUnapproveCall) * serviceaccountkeys - * [*delete*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::ServiceaccountkeyDeleteCall), [*insert*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::ServiceaccountkeyInsertCall) and [*list*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::ServiceaccountkeyListCall) + * [*delete*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::ServiceaccountkeyDeleteCall), [*insert*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::ServiceaccountkeyInsertCall) and [*list*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::ServiceaccountkeyListCall) * storelayoutclusters - * [*delete*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::StorelayoutclusterDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::StorelayoutclusterGetCall), [*insert*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::StorelayoutclusterInsertCall), [*list*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::StorelayoutclusterListCall) and [*update*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::StorelayoutclusterUpdateCall) + * [*delete*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::StorelayoutclusterDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::StorelayoutclusterGetCall), [*insert*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::StorelayoutclusterInsertCall), [*list*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::StorelayoutclusterListCall) and [*update*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::StorelayoutclusterUpdateCall) * storelayoutpages - * [*delete*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::StorelayoutpageDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::StorelayoutpageGetCall), [*insert*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::StorelayoutpageInsertCall), [*list*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::StorelayoutpageListCall) and [*update*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::StorelayoutpageUpdateCall) -* [users](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::User) - * [*delete*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::UserDeleteCall), [*generate authentication token*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::UserGenerateAuthenticationTokenCall), [*get*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::UserGetCall), [*get available product set*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::UserGetAvailableProductSetCall), [*insert*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::UserInsertCall), [*list*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::UserListCall), [*revoke device access*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::UserRevokeDeviceAccesCall), [*set available product set*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::UserSetAvailableProductSetCall) and [*update*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::UserUpdateCall) + * [*delete*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::StorelayoutpageDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::StorelayoutpageGetCall), [*insert*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::StorelayoutpageInsertCall), [*list*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::StorelayoutpageListCall) and [*update*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::StorelayoutpageUpdateCall) +* [users](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::User) + * [*delete*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::UserDeleteCall), [*generate authentication token*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::UserGenerateAuthenticationTokenCall), [*get*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::UserGetCall), [*get available product set*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::UserGetAvailableProductSetCall), [*insert*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::UserInsertCall), [*list*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::UserListCall), [*revoke device access*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::UserRevokeDeviceAccesCall), [*set available product set*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::UserSetAvailableProductSetCall) and [*update*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::UserUpdateCall) * webapps - * [*delete*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::WebappDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::WebappGetCall), [*insert*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::WebappInsertCall), [*list*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::WebappListCall) and [*update*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/api::WebappUpdateCall) + * [*delete*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::WebappDeleteCall), [*get*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::WebappGetCall), [*insert*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::WebappInsertCall), [*list*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::WebappListCall) and [*update*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/api::WebappUpdateCall) @@ -53,17 +53,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/AndroidEnterprise)** +* **[Hub](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/AndroidEnterprise)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/client::CallBuilder) -* **[Resources](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/client::CallBuilder) +* **[Resources](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/client::Part)** + * **[Parts](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -133,7 +133,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -163,17 +163,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -183,29 +183,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/client::Delegate) to the -[Method Builder](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/client::Delegate) to the +[Method Builder](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/client::RequestValue) and -[decodable](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/client::RequestValue) and +[decodable](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-androidenterprise1/3.0.0+20220303/google_androidenterprise1/client::RequestValue) are moved +* [request values](https://docs.rs/google-androidenterprise1/3.1.0+20220303/google_androidenterprise1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/androidenterprise1/src/api.rs b/gen/androidenterprise1/src/api.rs index 8df1dd69db..4ed1ffba28 100644 --- a/gen/androidenterprise1/src/api.rs +++ b/gen/androidenterprise1/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -115,7 +115,7 @@ impl<'a, > AndroidEnterprise<> { AndroidEnterprise { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://androidenterprise.googleapis.com/".to_string(), _root_url: "https://androidenterprise.googleapis.com/".to_string(), } @@ -171,7 +171,7 @@ impl<'a, > AndroidEnterprise<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -2096,7 +2096,7 @@ impl client::ResponseResult for WebAppsListResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `force_report_upload(...)`, `get(...)`, `get_state(...)`, `list(...)`, `set_state(...)` and `update(...)` /// // to build up your call. @@ -2266,7 +2266,7 @@ impl<'a> DeviceMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `acknowledge_notification_set(...)`, `complete_signup(...)`, `create_web_token(...)`, `enroll(...)`, `generate_signup_url(...)`, `get(...)`, `get_service_account(...)`, `get_store_layout(...)`, `list(...)`, `pull_notification_set(...)`, `send_test_push_notification(...)`, `set_account(...)`, `set_store_layout(...)` and `unenroll(...)` /// // to build up your call. @@ -2539,7 +2539,7 @@ impl<'a> EnterpriseMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `list(...)` and `update(...)` /// // to build up your call. @@ -2665,7 +2665,7 @@ impl<'a> EntitlementMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -2742,7 +2742,7 @@ impl<'a> GrouplicenseMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -2802,7 +2802,7 @@ impl<'a> GrouplicenseuserMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `list(...)` and `update(...)` /// // to build up your call. @@ -2935,7 +2935,7 @@ impl<'a> InstallMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `list(...)` and `update(...)` /// // to build up your call. @@ -3068,7 +3068,7 @@ impl<'a> ManagedconfigurationsfordeviceMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `list(...)` and `update(...)` /// // to build up your call. @@ -3193,7 +3193,7 @@ impl<'a> ManagedconfigurationsforuserMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -3253,7 +3253,7 @@ impl<'a> ManagedconfigurationssettingMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -3312,7 +3312,7 @@ impl<'a> PermissionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `approve(...)`, `generate_approval_url(...)`, `get(...)`, `get_app_restrictions_schema(...)`, `get_permissions(...)`, `list(...)` and `unapprove(...)` /// // to build up your call. @@ -3494,7 +3494,7 @@ impl<'a> ProductMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -3590,7 +3590,7 @@ impl<'a> ServiceaccountkeyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)` and `update(...)` /// // to build up your call. @@ -3736,7 +3736,7 @@ impl<'a> StorelayoutclusterMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)` and `update(...)` /// // to build up your call. @@ -3872,7 +3872,7 @@ impl<'a> StorelayoutpageMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `generate_authentication_token(...)`, `get(...)`, `get_available_product_set(...)`, `insert(...)`, `list(...)`, `revoke_device_access(...)`, `set_available_product_set(...)` and `update(...)` /// // to build up your call. @@ -4088,7 +4088,7 @@ impl<'a> UserMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)` and `update(...)` /// // to build up your call. @@ -4231,7 +4231,7 @@ impl<'a> WebappMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4496,7 +4496,7 @@ impl<'a> DeviceForceReportUploadCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4772,7 +4772,7 @@ impl<'a> DeviceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5048,7 +5048,7 @@ impl<'a> DeviceGetStateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5313,7 +5313,7 @@ impl<'a> DeviceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5619,7 +5619,7 @@ impl<'a> DeviceSetStateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5936,7 +5936,7 @@ impl<'a> DeviceUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6156,7 +6156,7 @@ impl<'a> EnterpriseAcknowledgeNotificationSetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6400,7 +6400,7 @@ impl<'a> EnterpriseCompleteSignupCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6682,7 +6682,7 @@ impl<'a> EnterpriseCreateWebTokenCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6942,7 +6942,7 @@ impl<'a> EnterpriseEnrollCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7173,7 +7173,7 @@ impl<'a> EnterpriseGenerateSignupUrlCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7425,7 +7425,7 @@ impl<'a> EnterpriseGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7689,7 +7689,7 @@ impl<'a> EnterpriseGetServiceAccountCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7941,7 +7941,7 @@ impl<'a> EnterpriseGetStoreLayoutCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8172,7 +8172,7 @@ impl<'a> EnterpriseListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8403,7 +8403,7 @@ impl<'a> EnterprisePullNotificationSetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8656,7 +8656,7 @@ impl<'a> EnterpriseSendTestPushNotificationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8938,7 +8938,7 @@ impl<'a> EnterpriseSetAccountCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9219,7 +9219,7 @@ impl<'a> EnterpriseSetStoreLayoutCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9460,7 +9460,7 @@ impl<'a> EnterpriseUnenrollCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9725,7 +9725,7 @@ impl<'a> EntitlementDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10001,7 +10001,7 @@ impl<'a> EntitlementGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10266,7 +10266,7 @@ impl<'a> EntitlementListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10583,7 +10583,7 @@ impl<'a> EntitlementUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10847,7 +10847,7 @@ impl<'a> GrouplicenseGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11099,7 +11099,7 @@ impl<'a> GrouplicenseListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11363,7 +11363,7 @@ impl<'a> GrouplicenseuserListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11640,7 +11640,7 @@ impl<'a> InstallDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11928,7 +11928,7 @@ impl<'a> InstallGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12205,7 +12205,7 @@ impl<'a> InstallListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12522,7 +12522,7 @@ impl<'a> InstallUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12799,7 +12799,7 @@ impl<'a> ManagedconfigurationsfordeviceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13087,7 +13087,7 @@ impl<'a> ManagedconfigurationsfordeviceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13364,7 +13364,7 @@ impl<'a> ManagedconfigurationsfordeviceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13681,7 +13681,7 @@ impl<'a> ManagedconfigurationsfordeviceUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13946,7 +13946,7 @@ impl<'a> ManagedconfigurationsforuserDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14222,7 +14222,7 @@ impl<'a> ManagedconfigurationsforuserGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14487,7 +14487,7 @@ impl<'a> ManagedconfigurationsforuserListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14792,7 +14792,7 @@ impl<'a> ManagedconfigurationsforuserUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15056,7 +15056,7 @@ impl<'a> ManagedconfigurationssettingListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15321,7 +15321,7 @@ impl<'a> PermissionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15603,7 +15603,7 @@ impl<'a> ProductApproveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15879,7 +15879,7 @@ impl<'a> ProductGenerateApprovalUrlCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16155,7 +16155,7 @@ impl<'a> ProductGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16431,7 +16431,7 @@ impl<'a> ProductGetAppRestrictionsSchemaCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16695,7 +16695,7 @@ impl<'a> ProductGetPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17007,7 +17007,7 @@ impl<'a> ProductListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17260,7 +17260,7 @@ impl<'a> ProductUnapproveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17514,7 +17514,7 @@ impl<'a> ServiceaccountkeyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17795,7 +17795,7 @@ impl<'a> ServiceaccountkeyInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18047,7 +18047,7 @@ impl<'a> ServiceaccountkeyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18312,7 +18312,7 @@ impl<'a> StorelayoutclusterDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18589,7 +18589,7 @@ impl<'a> StorelayoutclusterGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18882,7 +18882,7 @@ impl<'a> StorelayoutclusterInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19147,7 +19147,7 @@ impl<'a> StorelayoutclusterListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19452,7 +19452,7 @@ impl<'a> StorelayoutclusterUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19705,7 +19705,7 @@ impl<'a> StorelayoutpageDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19970,7 +19970,7 @@ impl<'a> StorelayoutpageGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20251,7 +20251,7 @@ impl<'a> StorelayoutpageInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20504,7 +20504,7 @@ impl<'a> StorelayoutpageListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20797,7 +20797,7 @@ impl<'a> StorelayoutpageUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21050,7 +21050,7 @@ impl<'a> UserDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21314,7 +21314,7 @@ impl<'a> UserGenerateAuthenticationTokenCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21578,7 +21578,7 @@ impl<'a> UserGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21843,7 +21843,7 @@ impl<'a> UserGetAvailableProductSetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22124,7 +22124,7 @@ impl<'a> UserInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22388,7 +22388,7 @@ impl<'a> UserListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22642,7 +22642,7 @@ impl<'a> UserRevokeDeviceAccesCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22936,7 +22936,7 @@ impl<'a> UserSetAvailableProductSetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23229,7 +23229,7 @@ impl<'a> UserUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23482,7 +23482,7 @@ impl<'a> WebappDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23747,7 +23747,7 @@ impl<'a> WebappGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24028,7 +24028,7 @@ impl<'a> WebappInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24281,7 +24281,7 @@ impl<'a> WebappListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/androidenterprise1/src/lib.rs b/gen/androidenterprise1/src/lib.rs index aa2755bdee..5276d48fce 100644 --- a/gen/androidenterprise1/src/lib.rs +++ b/gen/androidenterprise1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Android Enterprise* crate version *3.0.0+20220303*, where *20220303* is the exact revision of the *androidenterprise:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Android Enterprise* crate version *3.1.0+20220303*, where *20220303* is the exact revision of the *androidenterprise:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Android Enterprise* *v1* API can be found at the //! [official documentation site](https://developers.google.com/android/work/play/emm-api). @@ -134,7 +134,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = AndroidEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/androidmanagement1-cli/Cargo.toml b/gen/androidmanagement1-cli/Cargo.toml index e1678649c1..a718750507 100644 --- a/gen/androidmanagement1-cli/Cargo.toml +++ b/gen/androidmanagement1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-androidmanagement1-cli" -version = "3.0.0+20220302" +version = "3.1.0+20220302" authors = ["Sebastian Thiel "] description = "A complete library to interact with Android Management (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/androidmanagement1-cli" @@ -20,12 +20,12 @@ name = "androidmanagement1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-androidmanagement1] path = "../androidmanagement1" -version = "3.0.0+20220302" +version = "3.1.0+20220302" diff --git a/gen/androidmanagement1-cli/README.md b/gen/androidmanagement1-cli/README.md index 526c303a20..93d1f7eddd 100644 --- a/gen/androidmanagement1-cli/README.md +++ b/gen/androidmanagement1-cli/README.md @@ -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 *Android Management* API at revision *20220302*. The CLI is at version *3.0.0*. +This documentation was generated from the *Android Management* API at revision *20220302*. The CLI is at version *3.1.0*. ```bash androidmanagement1 [options] diff --git a/gen/androidmanagement1-cli/mkdocs.yml b/gen/androidmanagement1-cli/mkdocs.yml index bfbbcaeca4..e5cbce0f0f 100644 --- a/gen/androidmanagement1-cli/mkdocs.yml +++ b/gen/androidmanagement1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Android Management v3.0.0+20220302 +site_name: Android Management v3.1.0+20220302 site_url: http://byron.github.io/google-apis-rs/google-androidmanagement1-cli site_description: A complete library to interact with Android Management (protocol v1) diff --git a/gen/androidmanagement1-cli/src/main.rs b/gen/androidmanagement1-cli/src/main.rs index d16070a798..6abd9eef8b 100644 --- a/gen/androidmanagement1-cli/src/main.rs +++ b/gen/androidmanagement1-cli/src/main.rs @@ -2265,7 +2265,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/androidmanagement1", 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::AndroidManagement::new(client, auth), @@ -2962,7 +2968,7 @@ async fn main() { let mut app = App::new("androidmanagement1") .author("Sebastian Thiel ") - .version("3.0.0+20220302") + .version("3.1.0+20220302") .about("The Android Management API provides remote enterprise management of Android devices and apps.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_androidmanagement1_cli") .arg(Arg::with_name("url") diff --git a/gen/androidmanagement1/Cargo.toml b/gen/androidmanagement1/Cargo.toml index b14f36a6d9..07fdb83522 100644 --- a/gen/androidmanagement1/Cargo.toml +++ b/gen/androidmanagement1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-androidmanagement1" -version = "3.0.0+20220302" +version = "3.1.0+20220302" authors = ["Sebastian Thiel "] description = "A complete library to interact with Android Management (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/androidmanagement1" homepage = "https://developers.google.com/android/management" -documentation = "https://docs.rs/google-androidmanagement1/3.0.0+20220302" +documentation = "https://docs.rs/google-androidmanagement1/3.1.0+20220302" license = "MIT" keywords = ["androidmanagement", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/androidmanagement1/README.md b/gen/androidmanagement1/README.md index 4f710627ed..4fed3fbaba 100644 --- a/gen/androidmanagement1/README.md +++ b/gen/androidmanagement1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-androidmanagement1` library allows access to all features of the *Google Android Management* service. -This documentation was generated from *Android Management* crate version *3.0.0+20220302*, where *20220302* is the exact revision of the *androidmanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Android Management* crate version *3.1.0+20220302*, where *20220302* is the exact revision of the *androidmanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Android Management* *v1* API can be found at the [official documentation site](https://developers.google.com/android/management). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/AndroidManagement) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/AndroidManagement) ... -* [enterprises](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/api::Enterprise) - * [*applications get*](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/api::EnterpriseApplicationGetCall), [*create*](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/api::EnterpriseCreateCall), [*delete*](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/api::EnterpriseDeleteCall), [*devices delete*](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/api::EnterpriseDeviceDeleteCall), [*devices get*](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/api::EnterpriseDeviceGetCall), [*devices issue command*](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/api::EnterpriseDeviceIssueCommandCall), [*devices list*](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/api::EnterpriseDeviceListCall), [*devices operations cancel*](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/api::EnterpriseDeviceOperationCancelCall), [*devices operations delete*](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/api::EnterpriseDeviceOperationDeleteCall), [*devices operations get*](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/api::EnterpriseDeviceOperationGetCall), [*devices operations list*](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/api::EnterpriseDeviceOperationListCall), [*devices patch*](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/api::EnterpriseDevicePatchCall), [*enrollment tokens create*](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/api::EnterpriseEnrollmentTokenCreateCall), [*enrollment tokens delete*](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/api::EnterpriseEnrollmentTokenDeleteCall), [*get*](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/api::EnterpriseGetCall), [*list*](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/api::EnterpriseListCall), [*patch*](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/api::EnterprisePatchCall), [*policies delete*](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/api::EnterprisePolicyDeleteCall), [*policies get*](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/api::EnterprisePolicyGetCall), [*policies list*](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/api::EnterprisePolicyListCall), [*policies patch*](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/api::EnterprisePolicyPatchCall), [*web apps create*](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/api::EnterpriseWebAppCreateCall), [*web apps delete*](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/api::EnterpriseWebAppDeleteCall), [*web apps get*](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/api::EnterpriseWebAppGetCall), [*web apps list*](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/api::EnterpriseWebAppListCall), [*web apps patch*](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/api::EnterpriseWebAppPatchCall) and [*web tokens create*](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/api::EnterpriseWebTokenCreateCall) -* [signup urls](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/api::SignupUrl) - * [*create*](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/api::SignupUrlCreateCall) +* [enterprises](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/api::Enterprise) + * [*applications get*](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/api::EnterpriseApplicationGetCall), [*create*](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/api::EnterpriseCreateCall), [*delete*](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/api::EnterpriseDeleteCall), [*devices delete*](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/api::EnterpriseDeviceDeleteCall), [*devices get*](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/api::EnterpriseDeviceGetCall), [*devices issue command*](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/api::EnterpriseDeviceIssueCommandCall), [*devices list*](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/api::EnterpriseDeviceListCall), [*devices operations cancel*](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/api::EnterpriseDeviceOperationCancelCall), [*devices operations delete*](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/api::EnterpriseDeviceOperationDeleteCall), [*devices operations get*](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/api::EnterpriseDeviceOperationGetCall), [*devices operations list*](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/api::EnterpriseDeviceOperationListCall), [*devices patch*](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/api::EnterpriseDevicePatchCall), [*enrollment tokens create*](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/api::EnterpriseEnrollmentTokenCreateCall), [*enrollment tokens delete*](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/api::EnterpriseEnrollmentTokenDeleteCall), [*get*](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/api::EnterpriseGetCall), [*list*](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/api::EnterpriseListCall), [*patch*](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/api::EnterprisePatchCall), [*policies delete*](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/api::EnterprisePolicyDeleteCall), [*policies get*](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/api::EnterprisePolicyGetCall), [*policies list*](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/api::EnterprisePolicyListCall), [*policies patch*](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/api::EnterprisePolicyPatchCall), [*web apps create*](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/api::EnterpriseWebAppCreateCall), [*web apps delete*](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/api::EnterpriseWebAppDeleteCall), [*web apps get*](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/api::EnterpriseWebAppGetCall), [*web apps list*](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/api::EnterpriseWebAppListCall), [*web apps patch*](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/api::EnterpriseWebAppPatchCall) and [*web tokens create*](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/api::EnterpriseWebTokenCreateCall) +* [signup urls](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/api::SignupUrl) + * [*create*](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/api::SignupUrlCreateCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/AndroidManagement)** +* **[Hub](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/AndroidManagement)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/client::CallBuilder) -* **[Resources](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/client::CallBuilder) +* **[Resources](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/client::Part)** + * **[Parts](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -119,7 +119,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -156,17 +156,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -176,29 +176,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/client::Delegate) to the -[Method Builder](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/client::Delegate) to the +[Method Builder](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/client::RequestValue) and -[decodable](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/client::RequestValue) and +[decodable](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-androidmanagement1/3.0.0+20220302/google_androidmanagement1/client::RequestValue) are moved +* [request values](https://docs.rs/google-androidmanagement1/3.1.0+20220302/google_androidmanagement1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/androidmanagement1/src/api.rs b/gen/androidmanagement1/src/api.rs index 788a72a8da..120a263196 100644 --- a/gen/androidmanagement1/src/api.rs +++ b/gen/androidmanagement1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -123,7 +123,7 @@ impl<'a, > AndroidManagement<> { AndroidManagement { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://androidmanagement.googleapis.com/".to_string(), _root_url: "https://androidmanagement.googleapis.com/".to_string(), } @@ -137,7 +137,7 @@ impl<'a, > AndroidManagement<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -2415,7 +2415,7 @@ impl client::Part for WipeAction {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `applications_get(...)`, `create(...)`, `delete(...)`, `devices_delete(...)`, `devices_get(...)`, `devices_issue_command(...)`, `devices_list(...)`, `devices_operations_cancel(...)`, `devices_operations_delete(...)`, `devices_operations_get(...)`, `devices_operations_list(...)`, `devices_patch(...)`, `enrollment_tokens_create(...)`, `enrollment_tokens_delete(...)`, `get(...)`, `list(...)`, `patch(...)`, `policies_delete(...)`, `policies_get(...)`, `policies_list(...)`, `policies_patch(...)`, `web_apps_create(...)`, `web_apps_delete(...)`, `web_apps_get(...)`, `web_apps_list(...)`, `web_apps_patch(...)` and `web_tokens_create(...)` /// // to build up your call. @@ -2950,7 +2950,7 @@ impl<'a> EnterpriseMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)` /// // to build up your call. @@ -3012,7 +3012,7 @@ impl<'a> SignupUrlMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3280,7 +3280,7 @@ impl<'a> EnterpriseApplicationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3536,7 +3536,7 @@ impl<'a> EnterpriseDeviceOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3792,7 +3792,7 @@ impl<'a> EnterpriseDeviceOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4048,7 +4048,7 @@ impl<'a> EnterpriseDeviceOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4340,7 +4340,7 @@ impl<'a> EnterpriseDeviceOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4623,7 +4623,7 @@ impl<'a> EnterpriseDeviceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4880,7 +4880,7 @@ impl<'a> EnterpriseDeviceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5165,7 +5165,7 @@ impl<'a> EnterpriseDeviceIssueCommandCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5446,7 +5446,7 @@ impl<'a> EnterpriseDeviceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5744,7 +5744,7 @@ impl<'a> EnterpriseDevicePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6029,7 +6029,7 @@ impl<'a> EnterpriseEnrollmentTokenCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6285,7 +6285,7 @@ impl<'a> EnterpriseEnrollmentTokenDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6541,7 +6541,7 @@ impl<'a> EnterprisePolicyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6797,7 +6797,7 @@ impl<'a> EnterprisePolicyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7078,7 +7078,7 @@ impl<'a> EnterprisePolicyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7376,7 +7376,7 @@ impl<'a> EnterprisePolicyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7661,7 +7661,7 @@ impl<'a> EnterpriseWebAppCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7917,7 +7917,7 @@ impl<'a> EnterpriseWebAppDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8173,7 +8173,7 @@ impl<'a> EnterpriseWebAppGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8454,7 +8454,7 @@ impl<'a> EnterpriseWebAppListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8752,7 +8752,7 @@ impl<'a> EnterpriseWebAppPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9038,7 +9038,7 @@ impl<'a> EnterpriseWebTokenCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9334,7 +9334,7 @@ impl<'a> EnterpriseCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9590,7 +9590,7 @@ impl<'a> EnterpriseDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9846,7 +9846,7 @@ impl<'a> EnterpriseGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10114,7 +10114,7 @@ impl<'a> EnterpriseListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10411,7 +10411,7 @@ impl<'a> EnterprisePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/androidmanagement1/src/lib.rs b/gen/androidmanagement1/src/lib.rs index 9671ec717c..2eb61986a6 100644 --- a/gen/androidmanagement1/src/lib.rs +++ b/gen/androidmanagement1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Android Management* crate version *3.0.0+20220302*, where *20220302* is the exact revision of the *androidmanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Android Management* crate version *3.1.0+20220302*, where *20220302* is the exact revision of the *androidmanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Android Management* *v1* API can be found at the //! [official documentation site](https://developers.google.com/android/management). @@ -120,7 +120,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = AndroidManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/androidpublisher2-cli/Cargo.toml b/gen/androidpublisher2-cli/Cargo.toml index 1e72f70dfc..a89a3239da 100644 --- a/gen/androidpublisher2-cli/Cargo.toml +++ b/gen/androidpublisher2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-androidpublisher2-cli" -version = "3.0.0+20200331" +version = "3.1.0+20200331" authors = ["Sebastian Thiel "] description = "A complete library to interact with Android Publisher (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/androidpublisher2-cli" @@ -20,12 +20,12 @@ name = "androidpublisher2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-androidpublisher2] path = "../androidpublisher2" -version = "3.0.0+20200331" +version = "3.1.0+20200331" diff --git a/gen/androidpublisher2-cli/README.md b/gen/androidpublisher2-cli/README.md index 0080c047cb..d70d936b6e 100644 --- a/gen/androidpublisher2-cli/README.md +++ b/gen/androidpublisher2-cli/README.md @@ -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 *Android Publisher* API at revision *20200331*. The CLI is at version *3.0.0*. +This documentation was generated from the *Android Publisher* API at revision *20200331*. The CLI is at version *3.1.0*. ```bash androidpublisher2 [options] diff --git a/gen/androidpublisher2-cli/mkdocs.yml b/gen/androidpublisher2-cli/mkdocs.yml index 7bbbb7bdc1..9998244a43 100644 --- a/gen/androidpublisher2-cli/mkdocs.yml +++ b/gen/androidpublisher2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Android Publisher v3.0.0+20200331 +site_name: Android Publisher v3.1.0+20200331 site_url: http://byron.github.io/google-apis-rs/google-androidpublisher2-cli site_description: A complete library to interact with Android Publisher (protocol v2) diff --git a/gen/androidpublisher2-cli/src/main.rs b/gen/androidpublisher2-cli/src/main.rs index 1824b5508b..df4b2a0961 100644 --- a/gen/androidpublisher2-cli/src/main.rs +++ b/gen/androidpublisher2-cli/src/main.rs @@ -4003,7 +4003,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/androidpublisher2", 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::AndroidPublisher::new(client, auth), @@ -5997,7 +6003,7 @@ async fn main() { let mut app = App::new("androidpublisher2") .author("Sebastian Thiel ") - .version("3.0.0+20200331") + .version("3.1.0+20200331") .about("Accesses Android application developers' Google Play accounts.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_androidpublisher2_cli") .arg(Arg::with_name("url") diff --git a/gen/androidpublisher2/Cargo.toml b/gen/androidpublisher2/Cargo.toml index 87045328df..f73fd788e8 100644 --- a/gen/androidpublisher2/Cargo.toml +++ b/gen/androidpublisher2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-androidpublisher2" -version = "3.0.0+20200331" +version = "3.1.0+20200331" authors = ["Sebastian Thiel "] description = "A complete library to interact with Android Publisher (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/androidpublisher2" homepage = "https://developers.google.com/android-publisher" -documentation = "https://docs.rs/google-androidpublisher2/3.0.0+20200331" +documentation = "https://docs.rs/google-androidpublisher2/3.1.0+20200331" license = "MIT" keywords = ["androidpublisher", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/androidpublisher2/README.md b/gen/androidpublisher2/README.md index 2146222540..1560290edf 100644 --- a/gen/androidpublisher2/README.md +++ b/gen/androidpublisher2/README.md @@ -5,33 +5,33 @@ DO NOT EDIT ! --> The `google-androidpublisher2` library allows access to all features of the *Google Android Publisher* service. -This documentation was generated from *Android Publisher* crate version *3.0.0+20200331*, where *20200331* is the exact revision of the *androidpublisher:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Android Publisher* crate version *3.1.0+20200331*, where *20200331* is the exact revision of the *androidpublisher:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Android Publisher* *v2* API can be found at the [official documentation site](https://developers.google.com/android-publisher). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/AndroidPublisher) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/AndroidPublisher) ... * edits - * [*apklistings delete*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditApklistingDeleteCall), [*apklistings deleteall*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditApklistingDeleteallCall), [*apklistings get*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditApklistingGetCall), [*apklistings list*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditApklistingListCall), [*apklistings patch*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditApklistingPatchCall), [*apklistings update*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditApklistingUpdateCall), [*apks addexternallyhosted*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditApkAddexternallyhostedCall), [*apks list*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditApkListCall), [*apks upload*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditApkUploadCall), [*bundles list*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditBundleListCall), [*bundles upload*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditBundleUploadCall), [*commit*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditCommitCall), [*delete*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditDeleteCall), [*deobfuscationfiles upload*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditDeobfuscationfileUploadCall), [*details get*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditDetailGetCall), [*details patch*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditDetailPatchCall), [*details update*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditDetailUpdateCall), [*expansionfiles get*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditExpansionfileGetCall), [*expansionfiles patch*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditExpansionfilePatchCall), [*expansionfiles update*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditExpansionfileUpdateCall), [*expansionfiles upload*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditExpansionfileUploadCall), [*get*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditGetCall), [*images delete*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditImageDeleteCall), [*images deleteall*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditImageDeleteallCall), [*images list*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditImageListCall), [*images upload*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditImageUploadCall), [*insert*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditInsertCall), [*listings delete*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditListingDeleteCall), [*listings deleteall*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditListingDeleteallCall), [*listings get*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditListingGetCall), [*listings list*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditListingListCall), [*listings patch*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditListingPatchCall), [*listings update*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditListingUpdateCall), [*testers get*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditTesterGetCall), [*testers patch*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditTesterPatchCall), [*testers update*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditTesterUpdateCall), [*tracks get*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditTrackGetCall), [*tracks list*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditTrackListCall), [*tracks patch*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditTrackPatchCall), [*tracks update*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditTrackUpdateCall) and [*validate*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditValidateCall) + * [*apklistings delete*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditApklistingDeleteCall), [*apklistings deleteall*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditApklistingDeleteallCall), [*apklistings get*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditApklistingGetCall), [*apklistings list*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditApklistingListCall), [*apklistings patch*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditApklistingPatchCall), [*apklistings update*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditApklistingUpdateCall), [*apks addexternallyhosted*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditApkAddexternallyhostedCall), [*apks list*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditApkListCall), [*apks upload*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditApkUploadCall), [*bundles list*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditBundleListCall), [*bundles upload*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditBundleUploadCall), [*commit*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditCommitCall), [*delete*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditDeleteCall), [*deobfuscationfiles upload*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditDeobfuscationfileUploadCall), [*details get*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditDetailGetCall), [*details patch*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditDetailPatchCall), [*details update*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditDetailUpdateCall), [*expansionfiles get*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditExpansionfileGetCall), [*expansionfiles patch*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditExpansionfilePatchCall), [*expansionfiles update*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditExpansionfileUpdateCall), [*expansionfiles upload*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditExpansionfileUploadCall), [*get*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditGetCall), [*images delete*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditImageDeleteCall), [*images deleteall*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditImageDeleteallCall), [*images list*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditImageListCall), [*images upload*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditImageUploadCall), [*insert*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditInsertCall), [*listings delete*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditListingDeleteCall), [*listings deleteall*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditListingDeleteallCall), [*listings get*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditListingGetCall), [*listings list*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditListingListCall), [*listings patch*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditListingPatchCall), [*listings update*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditListingUpdateCall), [*testers get*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditTesterGetCall), [*testers patch*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditTesterPatchCall), [*testers update*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditTesterUpdateCall), [*tracks get*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditTrackGetCall), [*tracks list*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditTrackListCall), [*tracks patch*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditTrackPatchCall), [*tracks update*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditTrackUpdateCall) and [*validate*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditValidateCall) * inappproducts - * [*delete*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::InappproductDeleteCall), [*get*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::InappproductGetCall), [*insert*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::InappproductInsertCall), [*list*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::InappproductListCall), [*patch*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::InappproductPatchCall) and [*update*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::InappproductUpdateCall) + * [*delete*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::InappproductDeleteCall), [*get*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::InappproductGetCall), [*insert*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::InappproductInsertCall), [*list*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::InappproductListCall), [*patch*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::InappproductPatchCall) and [*update*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::InappproductUpdateCall) * orders - * [*refund*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::OrderRefundCall) + * [*refund*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::OrderRefundCall) * purchases - * [*products get*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::PurchaseProductGetCall), [*subscriptions cancel*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::PurchaseSubscriptionCancelCall), [*subscriptions defer*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::PurchaseSubscriptionDeferCall), [*subscriptions get*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::PurchaseSubscriptionGetCall), [*subscriptions refund*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::PurchaseSubscriptionRefundCall), [*subscriptions revoke*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::PurchaseSubscriptionRevokeCall) and [*voidedpurchases list*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::PurchaseVoidedpurchaseListCall) -* [reviews](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::Review) - * [*get*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::ReviewGetCall), [*list*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::ReviewListCall) and [*reply*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::ReviewReplyCall) + * [*products get*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::PurchaseProductGetCall), [*subscriptions cancel*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::PurchaseSubscriptionCancelCall), [*subscriptions defer*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::PurchaseSubscriptionDeferCall), [*subscriptions get*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::PurchaseSubscriptionGetCall), [*subscriptions refund*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::PurchaseSubscriptionRefundCall), [*subscriptions revoke*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::PurchaseSubscriptionRevokeCall) and [*voidedpurchases list*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::PurchaseVoidedpurchaseListCall) +* [reviews](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::Review) + * [*get*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::ReviewGetCall), [*list*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::ReviewListCall) and [*reply*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::ReviewReplyCall) Upload supported by ... -* [*apks upload edits*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditApkUploadCall) -* [*bundles upload edits*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditBundleUploadCall) -* [*deobfuscationfiles upload edits*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditDeobfuscationfileUploadCall) -* [*expansionfiles upload edits*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditExpansionfileUploadCall) -* [*images upload edits*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/api::EditImageUploadCall) +* [*apks upload edits*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditApkUploadCall) +* [*bundles upload edits*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditBundleUploadCall) +* [*deobfuscationfiles upload edits*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditDeobfuscationfileUploadCall) +* [*expansionfiles upload edits*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditExpansionfileUploadCall) +* [*images upload edits*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/api::EditImageUploadCall) @@ -39,17 +39,17 @@ Upload supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/AndroidPublisher)** +* **[Hub](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/AndroidPublisher)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/client::CallBuilder) -* **[Resources](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/client::CallBuilder) +* **[Resources](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/client::Part)** + * **[Parts](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -110,7 +110,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -144,17 +144,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -164,29 +164,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/client::Delegate) to the -[Method Builder](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/client::Delegate) to the +[Method Builder](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/client::RequestValue) and -[decodable](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/client::RequestValue) and +[decodable](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-androidpublisher2/3.0.0+20200331/google_androidpublisher2/client::RequestValue) are moved +* [request values](https://docs.rs/google-androidpublisher2/3.1.0+20200331/google_androidpublisher2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/androidpublisher2/src/api.rs b/gen/androidpublisher2/src/api.rs index a996299539..088187f4c0 100644 --- a/gen/androidpublisher2/src/api.rs +++ b/gen/androidpublisher2/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > AndroidPublisher<> { AndroidPublisher { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/androidpublisher/v2/applications/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -143,7 +143,7 @@ impl<'a, > AndroidPublisher<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1439,7 +1439,7 @@ impl client::ResponseResult for VoidedPurchasesListResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `apklistings_delete(...)`, `apklistings_deleteall(...)`, `apklistings_get(...)`, `apklistings_list(...)`, `apklistings_patch(...)`, `apklistings_update(...)`, `apks_addexternallyhosted(...)`, `apks_list(...)`, `apks_upload(...)`, `bundles_list(...)`, `bundles_upload(...)`, `commit(...)`, `delete(...)`, `deobfuscationfiles_upload(...)`, `details_get(...)`, `details_patch(...)`, `details_update(...)`, `expansionfiles_get(...)`, `expansionfiles_patch(...)`, `expansionfiles_update(...)`, `expansionfiles_upload(...)`, `get(...)`, `images_delete(...)`, `images_deleteall(...)`, `images_list(...)`, `images_upload(...)`, `insert(...)`, `listings_delete(...)`, `listings_deleteall(...)`, `listings_get(...)`, `listings_list(...)`, `listings_patch(...)`, `listings_update(...)`, `testers_get(...)`, `testers_patch(...)`, `testers_update(...)`, `tracks_get(...)`, `tracks_list(...)`, `tracks_patch(...)`, `tracks_update(...)` and `validate(...)` /// // to build up your call. @@ -2346,7 +2346,7 @@ impl<'a> EditMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -2509,7 +2509,7 @@ impl<'a> InappproductMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `refund(...)` /// // to build up your call. @@ -2570,7 +2570,7 @@ impl<'a> OrderMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `products_get(...)`, `subscriptions_cancel(...)`, `subscriptions_defer(...)`, `subscriptions_get(...)`, `subscriptions_refund(...)`, `subscriptions_revoke(...)` and `voidedpurchases_list(...)` /// // to build up your call. @@ -2761,7 +2761,7 @@ impl<'a> PurchaseMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)` and `reply(...)` /// // to build up your call. @@ -2871,7 +2871,7 @@ impl<'a> ReviewMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3144,7 +3144,7 @@ impl<'a> EditApklistingDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3405,7 +3405,7 @@ impl<'a> EditApklistingDeleteallCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3689,7 +3689,7 @@ impl<'a> EditApklistingGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3962,7 +3962,7 @@ impl<'a> EditApklistingListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4276,7 +4276,7 @@ impl<'a> EditApklistingPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4590,7 +4590,7 @@ impl<'a> EditApklistingUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4877,7 +4877,7 @@ impl<'a> EditApkAddexternallyhostedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5136,7 +5136,7 @@ impl<'a> EditApkListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `upload(...)`. /// // Values shown here are possibly random and not representative ! @@ -5502,7 +5502,7 @@ impl<'a> EditApkUploadCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5763,7 +5763,7 @@ impl<'a> EditBundleListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `upload(...)`. /// // Values shown here are possibly random and not representative ! @@ -6144,7 +6144,7 @@ impl<'a> EditBundleUploadCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `upload(...)`. /// // Values shown here are possibly random and not representative ! @@ -6535,7 +6535,7 @@ impl<'a> EditDeobfuscationfileUploadCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6796,7 +6796,7 @@ impl<'a> EditDetailGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7086,7 +7086,7 @@ impl<'a> EditDetailPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7375,7 +7375,7 @@ impl<'a> EditDetailUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7659,7 +7659,7 @@ impl<'a> EditExpansionfileGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7972,7 +7972,7 @@ impl<'a> EditExpansionfilePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8285,7 +8285,7 @@ impl<'a> EditExpansionfileUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `upload(...)`. /// // Values shown here are possibly random and not representative ! @@ -8676,7 +8676,7 @@ impl<'a> EditExpansionfileUploadCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8960,7 +8960,7 @@ impl<'a> EditImageDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9243,7 +9243,7 @@ impl<'a> EditImageDeleteallCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9527,7 +9527,7 @@ impl<'a> EditImageListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `upload_resumable(...)`. /// // Values shown here are possibly random and not representative ! @@ -9918,7 +9918,7 @@ impl<'a> EditImageUploadCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10179,7 +10179,7 @@ impl<'a> EditListingDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10428,7 +10428,7 @@ impl<'a> EditListingDeleteallCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10700,7 +10700,7 @@ impl<'a> EditListingGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10961,7 +10961,7 @@ impl<'a> EditListingListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11263,7 +11263,7 @@ impl<'a> EditListingPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11562,7 +11562,7 @@ impl<'a> EditListingUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11833,7 +11833,7 @@ impl<'a> EditTesterGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12133,7 +12133,7 @@ impl<'a> EditTesterPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12434,7 +12434,7 @@ impl<'a> EditTesterUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12706,7 +12706,7 @@ impl<'a> EditTrackGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12967,7 +12967,7 @@ impl<'a> EditTrackListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13269,7 +13269,7 @@ impl<'a> EditTrackPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13570,7 +13570,7 @@ impl<'a> EditTrackUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13830,7 +13830,7 @@ impl<'a> EditCommitCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14079,7 +14079,7 @@ impl<'a> EditDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14340,7 +14340,7 @@ impl<'a> EditGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14617,7 +14617,7 @@ impl<'a> EditInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14877,7 +14877,7 @@ impl<'a> EditValidateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15126,7 +15126,7 @@ impl<'a> InappproductDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15386,7 +15386,7 @@ impl<'a> InappproductGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15675,7 +15675,7 @@ impl<'a> InappproductInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15957,7 +15957,7 @@ impl<'a> InappproductListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16259,7 +16259,7 @@ impl<'a> InappproductPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16560,7 +16560,7 @@ impl<'a> InappproductUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16821,7 +16821,7 @@ impl<'a> OrderRefundCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17093,7 +17093,7 @@ impl<'a> PurchaseProductGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17355,7 +17355,7 @@ impl<'a> PurchaseSubscriptionCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17656,7 +17656,7 @@ impl<'a> PurchaseSubscriptionDeferCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17928,7 +17928,7 @@ impl<'a> PurchaseSubscriptionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18189,7 +18189,7 @@ impl<'a> PurchaseSubscriptionRefundCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18450,7 +18450,7 @@ impl<'a> PurchaseSubscriptionRevokeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18755,7 +18755,7 @@ impl<'a> PurchaseVoidedpurchaseListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19025,7 +19025,7 @@ impl<'a> ReviewGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19318,7 +19318,7 @@ impl<'a> ReviewListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/androidpublisher2/src/lib.rs b/gen/androidpublisher2/src/lib.rs index a149a1edbc..c31c273a91 100644 --- a/gen/androidpublisher2/src/lib.rs +++ b/gen/androidpublisher2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Android Publisher* crate version *3.0.0+20200331*, where *20200331* is the exact revision of the *androidpublisher:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Android Publisher* crate version *3.1.0+20200331*, where *20200331* is the exact revision of the *androidpublisher:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Android Publisher* *v2* API can be found at the //! [official documentation site](https://developers.google.com/android-publisher). @@ -111,7 +111,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/androidpublisher3-cli/Cargo.toml b/gen/androidpublisher3-cli/Cargo.toml index 3442dcea69..d56802203e 100644 --- a/gen/androidpublisher3-cli/Cargo.toml +++ b/gen/androidpublisher3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-androidpublisher3-cli" -version = "3.0.0+20220307" +version = "3.1.0+20220307" authors = ["Sebastian Thiel "] description = "A complete library to interact with Android Publisher (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/androidpublisher3-cli" @@ -20,12 +20,12 @@ name = "androidpublisher3" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-androidpublisher3] path = "../androidpublisher3" -version = "3.0.0+20220307" +version = "3.1.0+20220307" diff --git a/gen/androidpublisher3-cli/README.md b/gen/androidpublisher3-cli/README.md index d4825e8b86..c98a51d80a 100644 --- a/gen/androidpublisher3-cli/README.md +++ b/gen/androidpublisher3-cli/README.md @@ -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 *Android Publisher* API at revision *20220307*. The CLI is at version *3.0.0*. +This documentation was generated from the *Android Publisher* API at revision *20220307*. The CLI is at version *3.1.0*. ```bash androidpublisher3 [options] diff --git a/gen/androidpublisher3-cli/mkdocs.yml b/gen/androidpublisher3-cli/mkdocs.yml index 2953923f20..053b26f1f1 100644 --- a/gen/androidpublisher3-cli/mkdocs.yml +++ b/gen/androidpublisher3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Android Publisher v3.0.0+20220307 +site_name: Android Publisher v3.1.0+20220307 site_url: http://byron.github.io/google-apis-rs/google-androidpublisher3-cli site_description: A complete library to interact with Android Publisher (protocol v3) diff --git a/gen/androidpublisher3-cli/src/main.rs b/gen/androidpublisher3-cli/src/main.rs index 52a723e379..dd095588d3 100644 --- a/gen/androidpublisher3-cli/src/main.rs +++ b/gen/androidpublisher3-cli/src/main.rs @@ -5008,7 +5008,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/androidpublisher3", 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::AndroidPublisher::new(client, auth), @@ -7339,7 +7345,7 @@ async fn main() { let mut app = App::new("androidpublisher3") .author("Sebastian Thiel ") - .version("3.0.0+20220307") + .version("3.1.0+20220307") .about("Lets Android application developers access their Google Play accounts.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_androidpublisher3_cli") .arg(Arg::with_name("url") diff --git a/gen/androidpublisher3/Cargo.toml b/gen/androidpublisher3/Cargo.toml index 1800436742..e331f7d06f 100644 --- a/gen/androidpublisher3/Cargo.toml +++ b/gen/androidpublisher3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-androidpublisher3" -version = "3.0.0+20220307" +version = "3.1.0+20220307" authors = ["Sebastian Thiel "] description = "A complete library to interact with Android Publisher (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/androidpublisher3" homepage = "https://developers.google.com/android-publisher" -documentation = "https://docs.rs/google-androidpublisher3/3.0.0+20220307" +documentation = "https://docs.rs/google-androidpublisher3/3.1.0+20220307" license = "MIT" keywords = ["androidpublisher", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/androidpublisher3/README.md b/gen/androidpublisher3/README.md index bf514fd60c..3defec130c 100644 --- a/gen/androidpublisher3/README.md +++ b/gen/androidpublisher3/README.md @@ -5,52 +5,52 @@ DO NOT EDIT ! --> The `google-androidpublisher3` library allows access to all features of the *Google Android Publisher* service. -This documentation was generated from *Android Publisher* crate version *3.0.0+20220307*, where *20220307* is the exact revision of the *androidpublisher:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Android Publisher* crate version *3.1.0+20220307*, where *20220307* is the exact revision of the *androidpublisher:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Android Publisher* *v3* API can be found at the [official documentation site](https://developers.google.com/android-publisher). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/AndroidPublisher) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/AndroidPublisher) ... * edits - * [*apks addexternallyhosted*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::EditApkAddexternallyhostedCall), [*apks list*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::EditApkListCall), [*apks upload*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::EditApkUploadCall), [*bundles list*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::EditBundleListCall), [*bundles upload*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::EditBundleUploadCall), [*commit*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::EditCommitCall), [*countryavailability get*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::EditCountryavailabilityGetCall), [*delete*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::EditDeleteCall), [*deobfuscationfiles upload*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::EditDeobfuscationfileUploadCall), [*details get*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::EditDetailGetCall), [*details patch*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::EditDetailPatchCall), [*details update*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::EditDetailUpdateCall), [*expansionfiles get*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::EditExpansionfileGetCall), [*expansionfiles patch*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::EditExpansionfilePatchCall), [*expansionfiles update*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::EditExpansionfileUpdateCall), [*expansionfiles upload*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::EditExpansionfileUploadCall), [*get*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::EditGetCall), [*images delete*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::EditImageDeleteCall), [*images deleteall*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::EditImageDeleteallCall), [*images list*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::EditImageListCall), [*images upload*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::EditImageUploadCall), [*insert*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::EditInsertCall), [*listings delete*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::EditListingDeleteCall), [*listings deleteall*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::EditListingDeleteallCall), [*listings get*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::EditListingGetCall), [*listings list*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::EditListingListCall), [*listings patch*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::EditListingPatchCall), [*listings update*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::EditListingUpdateCall), [*testers get*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::EditTesterGetCall), [*testers patch*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::EditTesterPatchCall), [*testers update*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::EditTesterUpdateCall), [*tracks get*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::EditTrackGetCall), [*tracks list*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::EditTrackListCall), [*tracks patch*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::EditTrackPatchCall), [*tracks update*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::EditTrackUpdateCall) and [*validate*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::EditValidateCall) + * [*apks addexternallyhosted*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::EditApkAddexternallyhostedCall), [*apks list*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::EditApkListCall), [*apks upload*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::EditApkUploadCall), [*bundles list*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::EditBundleListCall), [*bundles upload*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::EditBundleUploadCall), [*commit*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::EditCommitCall), [*countryavailability get*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::EditCountryavailabilityGetCall), [*delete*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::EditDeleteCall), [*deobfuscationfiles upload*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::EditDeobfuscationfileUploadCall), [*details get*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::EditDetailGetCall), [*details patch*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::EditDetailPatchCall), [*details update*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::EditDetailUpdateCall), [*expansionfiles get*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::EditExpansionfileGetCall), [*expansionfiles patch*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::EditExpansionfilePatchCall), [*expansionfiles update*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::EditExpansionfileUpdateCall), [*expansionfiles upload*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::EditExpansionfileUploadCall), [*get*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::EditGetCall), [*images delete*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::EditImageDeleteCall), [*images deleteall*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::EditImageDeleteallCall), [*images list*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::EditImageListCall), [*images upload*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::EditImageUploadCall), [*insert*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::EditInsertCall), [*listings delete*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::EditListingDeleteCall), [*listings deleteall*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::EditListingDeleteallCall), [*listings get*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::EditListingGetCall), [*listings list*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::EditListingListCall), [*listings patch*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::EditListingPatchCall), [*listings update*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::EditListingUpdateCall), [*testers get*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::EditTesterGetCall), [*testers patch*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::EditTesterPatchCall), [*testers update*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::EditTesterUpdateCall), [*tracks get*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::EditTrackGetCall), [*tracks list*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::EditTrackListCall), [*tracks patch*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::EditTrackPatchCall), [*tracks update*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::EditTrackUpdateCall) and [*validate*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::EditValidateCall) * generatedapks - * [*download*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::GeneratedapkDownloadCall) and [*list*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::GeneratedapkListCall) -* [grants](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::Grant) - * [*create*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::GrantCreateCall), [*delete*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::GrantDeleteCall) and [*patch*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::GrantPatchCall) + * [*download*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::GeneratedapkDownloadCall) and [*list*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::GeneratedapkListCall) +* [grants](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::Grant) + * [*create*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::GrantCreateCall), [*delete*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::GrantDeleteCall) and [*patch*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::GrantPatchCall) * inappproducts - * [*delete*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::InappproductDeleteCall), [*get*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::InappproductGetCall), [*insert*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::InappproductInsertCall), [*list*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::InappproductListCall), [*patch*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::InappproductPatchCall) and [*update*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::InappproductUpdateCall) + * [*delete*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::InappproductDeleteCall), [*get*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::InappproductGetCall), [*insert*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::InappproductInsertCall), [*list*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::InappproductListCall), [*patch*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::InappproductPatchCall) and [*update*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::InappproductUpdateCall) * internalappsharingartifacts - * [*uploadapk*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::InternalappsharingartifactUploadapkCall) and [*uploadbundle*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::InternalappsharingartifactUploadbundleCall) + * [*uploadapk*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::InternalappsharingartifactUploadapkCall) and [*uploadbundle*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::InternalappsharingartifactUploadbundleCall) * monetization - * [*convert region prices*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::MonetizationConvertRegionPriceCall) + * [*convert region prices*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::MonetizationConvertRegionPriceCall) * orders - * [*refund*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::OrderRefundCall) + * [*refund*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::OrderRefundCall) * purchases - * [*products acknowledge*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::PurchaseProductAcknowledgeCall), [*products get*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::PurchaseProductGetCall), [*subscriptions acknowledge*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::PurchaseSubscriptionAcknowledgeCall), [*subscriptions cancel*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::PurchaseSubscriptionCancelCall), [*subscriptions defer*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::PurchaseSubscriptionDeferCall), [*subscriptions get*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::PurchaseSubscriptionGetCall), [*subscriptions refund*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::PurchaseSubscriptionRefundCall), [*subscriptions revoke*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::PurchaseSubscriptionRevokeCall) and [*voidedpurchases list*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::PurchaseVoidedpurchaseListCall) -* [reviews](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::Review) - * [*get*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::ReviewGetCall), [*list*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::ReviewListCall) and [*reply*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::ReviewReplyCall) + * [*products acknowledge*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::PurchaseProductAcknowledgeCall), [*products get*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::PurchaseProductGetCall), [*subscriptions acknowledge*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::PurchaseSubscriptionAcknowledgeCall), [*subscriptions cancel*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::PurchaseSubscriptionCancelCall), [*subscriptions defer*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::PurchaseSubscriptionDeferCall), [*subscriptions get*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::PurchaseSubscriptionGetCall), [*subscriptions refund*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::PurchaseSubscriptionRefundCall), [*subscriptions revoke*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::PurchaseSubscriptionRevokeCall) and [*voidedpurchases list*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::PurchaseVoidedpurchaseListCall) +* [reviews](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::Review) + * [*get*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::ReviewGetCall), [*list*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::ReviewListCall) and [*reply*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::ReviewReplyCall) * systemapks - * [*variants create*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::SystemapkVariantCreateCall), [*variants download*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::SystemapkVariantDownloadCall), [*variants get*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::SystemapkVariantGetCall) and [*variants list*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::SystemapkVariantListCall) -* [users](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::User) - * [*create*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::UserCreateCall), [*delete*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::UserDeleteCall), [*list*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::UserListCall) and [*patch*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::UserPatchCall) + * [*variants create*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::SystemapkVariantCreateCall), [*variants download*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::SystemapkVariantDownloadCall), [*variants get*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::SystemapkVariantGetCall) and [*variants list*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::SystemapkVariantListCall) +* [users](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::User) + * [*create*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::UserCreateCall), [*delete*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::UserDeleteCall), [*list*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::UserListCall) and [*patch*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::UserPatchCall) Upload supported by ... -* [*apks upload edits*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::EditApkUploadCall) -* [*bundles upload edits*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::EditBundleUploadCall) -* [*deobfuscationfiles upload edits*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::EditDeobfuscationfileUploadCall) -* [*expansionfiles upload edits*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::EditExpansionfileUploadCall) -* [*images upload edits*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::EditImageUploadCall) -* [*uploadapk internalappsharingartifacts*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::InternalappsharingartifactUploadapkCall) -* [*uploadbundle internalappsharingartifacts*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::InternalappsharingartifactUploadbundleCall) +* [*apks upload edits*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::EditApkUploadCall) +* [*bundles upload edits*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::EditBundleUploadCall) +* [*deobfuscationfiles upload edits*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::EditDeobfuscationfileUploadCall) +* [*expansionfiles upload edits*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::EditExpansionfileUploadCall) +* [*images upload edits*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::EditImageUploadCall) +* [*uploadapk internalappsharingartifacts*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::InternalappsharingartifactUploadapkCall) +* [*uploadbundle internalappsharingartifacts*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::InternalappsharingartifactUploadbundleCall) Download supported by ... -* [*download generatedapks*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::GeneratedapkDownloadCall) -* [*variants download systemapks*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/api::SystemapkVariantDownloadCall) +* [*download generatedapks*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::GeneratedapkDownloadCall) +* [*variants download systemapks*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/api::SystemapkVariantDownloadCall) @@ -58,17 +58,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/AndroidPublisher)** +* **[Hub](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/AndroidPublisher)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/client::CallBuilder) -* **[Resources](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/client::CallBuilder) +* **[Resources](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/client::Part)** + * **[Parts](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -129,7 +129,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -164,17 +164,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -184,29 +184,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/client::Delegate) to the -[Method Builder](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/client::Delegate) to the +[Method Builder](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/client::RequestValue) and -[decodable](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/client::RequestValue) and +[decodable](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-androidpublisher3/3.0.0+20220307/google_androidpublisher3/client::RequestValue) are moved +* [request values](https://docs.rs/google-androidpublisher3/3.1.0+20220307/google_androidpublisher3/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/androidpublisher3/src/api.rs b/gen/androidpublisher3/src/api.rs index 7efaaa2305..3a43d57bdb 100644 --- a/gen/androidpublisher3/src/api.rs +++ b/gen/androidpublisher3/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -121,7 +121,7 @@ impl<'a, > AndroidPublisher<> { AndroidPublisher { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://androidpublisher.googleapis.com/".to_string(), _root_url: "https://androidpublisher.googleapis.com/".to_string(), } @@ -162,7 +162,7 @@ impl<'a, > AndroidPublisher<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -2043,7 +2043,7 @@ impl client::ResponseResult for VoidedPurchasesListResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `apks_addexternallyhosted(...)`, `apks_list(...)`, `apks_upload(...)`, `bundles_list(...)`, `bundles_upload(...)`, `commit(...)`, `countryavailability_get(...)`, `delete(...)`, `deobfuscationfiles_upload(...)`, `details_get(...)`, `details_patch(...)`, `details_update(...)`, `expansionfiles_get(...)`, `expansionfiles_patch(...)`, `expansionfiles_update(...)`, `expansionfiles_upload(...)`, `get(...)`, `images_delete(...)`, `images_deleteall(...)`, `images_list(...)`, `images_upload(...)`, `insert(...)`, `listings_delete(...)`, `listings_deleteall(...)`, `listings_get(...)`, `listings_list(...)`, `listings_patch(...)`, `listings_update(...)`, `testers_get(...)`, `testers_patch(...)`, `testers_update(...)`, `tracks_get(...)`, `tracks_list(...)`, `tracks_patch(...)`, `tracks_update(...)` and `validate(...)` /// // to build up your call. @@ -2852,7 +2852,7 @@ impl<'a> EditMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `download(...)` and `list(...)` /// // to build up your call. @@ -2933,7 +2933,7 @@ impl<'a> GeneratedapkMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)` and `patch(...)` /// // to build up your call. @@ -3030,7 +3030,7 @@ impl<'a> GrantMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -3194,7 +3194,7 @@ impl<'a> InappproductMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `uploadapk(...)` and `uploadbundle(...)` /// // to build up your call. @@ -3269,7 +3269,7 @@ impl<'a> InternalappsharingartifactMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `convert_region_prices(...)` /// // to build up your call. @@ -3329,7 +3329,7 @@ impl<'a> MonetizationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `refund(...)` /// // to build up your call. @@ -3390,7 +3390,7 @@ impl<'a> OrderMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `products_acknowledge(...)`, `products_get(...)`, `subscriptions_acknowledge(...)`, `subscriptions_cancel(...)`, `subscriptions_defer(...)`, `subscriptions_get(...)`, `subscriptions_refund(...)`, `subscriptions_revoke(...)` and `voidedpurchases_list(...)` /// // to build up your call. @@ -3628,7 +3628,7 @@ impl<'a> PurchaseMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)` and `reply(...)` /// // to build up your call. @@ -3731,7 +3731,7 @@ impl<'a> ReviewMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `variants_create(...)`, `variants_download(...)`, `variants_get(...)` and `variants_list(...)` /// // to build up your call. @@ -3854,7 +3854,7 @@ impl<'a> SystemapkMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)`, `list(...)` and `patch(...)` /// // to build up your call. @@ -3978,7 +3978,7 @@ impl<'a> UserMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4271,7 +4271,7 @@ impl<'a> EditApkAddexternallyhostedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4536,7 +4536,7 @@ impl<'a> EditApkListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `upload(...)`. /// // Values shown here are possibly random and not representative ! @@ -4908,7 +4908,7 @@ impl<'a> EditApkUploadCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5173,7 +5173,7 @@ impl<'a> EditBundleListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `upload(...)`. /// // Values shown here are possibly random and not representative ! @@ -5557,7 +5557,7 @@ impl<'a> EditBundleUploadCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5834,7 +5834,7 @@ impl<'a> EditCountryavailabilityGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `upload(...)`. /// // Values shown here are possibly random and not representative ! @@ -6230,7 +6230,7 @@ impl<'a> EditDeobfuscationfileUploadCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6495,7 +6495,7 @@ impl<'a> EditDetailGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6789,7 +6789,7 @@ impl<'a> EditDetailPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7082,7 +7082,7 @@ impl<'a> EditDetailUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7371,7 +7371,7 @@ impl<'a> EditExpansionfileGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7689,7 +7689,7 @@ impl<'a> EditExpansionfilePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8007,7 +8007,7 @@ impl<'a> EditExpansionfileUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `upload(...)`. /// // Values shown here are possibly random and not representative ! @@ -8403,7 +8403,7 @@ impl<'a> EditExpansionfileUploadCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8692,7 +8692,7 @@ impl<'a> EditImageDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8980,7 +8980,7 @@ impl<'a> EditImageDeleteallCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9269,7 +9269,7 @@ impl<'a> EditImageListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `upload_resumable(...)`. /// // Values shown here are possibly random and not representative ! @@ -9665,7 +9665,7 @@ impl<'a> EditImageUploadCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9930,7 +9930,7 @@ impl<'a> EditListingDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10183,7 +10183,7 @@ impl<'a> EditListingDeleteallCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10459,7 +10459,7 @@ impl<'a> EditListingGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10724,7 +10724,7 @@ impl<'a> EditListingListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11030,7 +11030,7 @@ impl<'a> EditListingPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11335,7 +11335,7 @@ impl<'a> EditListingUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11612,7 +11612,7 @@ impl<'a> EditTesterGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11918,7 +11918,7 @@ impl<'a> EditTesterPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12223,7 +12223,7 @@ impl<'a> EditTesterUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12499,7 +12499,7 @@ impl<'a> EditTrackGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12764,7 +12764,7 @@ impl<'a> EditTrackListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13070,7 +13070,7 @@ impl<'a> EditTrackPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13375,7 +13375,7 @@ impl<'a> EditTrackUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13651,7 +13651,7 @@ impl<'a> EditCommitCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13904,7 +13904,7 @@ impl<'a> EditDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14169,7 +14169,7 @@ impl<'a> EditGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14450,7 +14450,7 @@ impl<'a> EditInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14717,7 +14717,7 @@ impl<'a> EditValidateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14982,7 +14982,7 @@ impl<'a> GeneratedapkDownloadCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15247,7 +15247,7 @@ impl<'a> GeneratedapkListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15532,7 +15532,7 @@ impl<'a> GrantCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15778,7 +15778,7 @@ impl<'a> GrantDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16075,7 +16075,7 @@ impl<'a> GrantPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16328,7 +16328,7 @@ impl<'a> InappproductDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16593,7 +16593,7 @@ impl<'a> InappproductGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16886,7 +16886,7 @@ impl<'a> InappproductInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17175,7 +17175,7 @@ impl<'a> InappproductListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17481,7 +17481,7 @@ impl<'a> InappproductPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17799,7 +17799,7 @@ impl<'a> InappproductUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `upload(...)`. /// // Values shown here are possibly random and not representative ! @@ -18160,7 +18160,7 @@ impl<'a> InternalappsharingartifactUploadapkCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `upload(...)`. /// // Values shown here are possibly random and not representative ! @@ -18521,7 +18521,7 @@ impl<'a> InternalappsharingartifactUploadbundleCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18802,7 +18802,7 @@ impl<'a> MonetizationConvertRegionPriceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19068,7 +19068,7 @@ impl<'a> OrderRefundCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19362,7 +19362,7 @@ impl<'a> PurchaseProductAcknowledgeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19639,7 +19639,7 @@ impl<'a> PurchaseProductGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19933,7 +19933,7 @@ impl<'a> PurchaseSubscriptionAcknowledgeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20199,7 +20199,7 @@ impl<'a> PurchaseSubscriptionCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20504,7 +20504,7 @@ impl<'a> PurchaseSubscriptionDeferCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20780,7 +20780,7 @@ impl<'a> PurchaseSubscriptionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21045,7 +21045,7 @@ impl<'a> PurchaseSubscriptionRefundCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21310,7 +21310,7 @@ impl<'a> PurchaseSubscriptionRevokeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21634,7 +21634,7 @@ impl<'a> PurchaseVoidedpurchaseListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21910,7 +21910,7 @@ impl<'a> ReviewGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22211,7 +22211,7 @@ impl<'a> ReviewListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22505,7 +22505,7 @@ impl<'a> ReviewReplyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22801,7 +22801,7 @@ impl<'a> SystemapkVariantCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23066,7 +23066,7 @@ impl<'a> SystemapkVariantDownloadCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23342,7 +23342,7 @@ impl<'a> SystemapkVariantGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23607,7 +23607,7 @@ impl<'a> SystemapkVariantListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23892,7 +23892,7 @@ impl<'a> UserCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24137,7 +24137,7 @@ impl<'a> UserDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24418,7 +24418,7 @@ impl<'a> UserListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/androidpublisher3/src/lib.rs b/gen/androidpublisher3/src/lib.rs index 5add5fffd1..c0a033ccfa 100644 --- a/gen/androidpublisher3/src/lib.rs +++ b/gen/androidpublisher3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Android Publisher* crate version *3.0.0+20220307*, where *20220307* is the exact revision of the *androidpublisher:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Android Publisher* crate version *3.1.0+20220307*, where *20220307* is the exact revision of the *androidpublisher:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Android Publisher* *v3* API can be found at the //! [official documentation site](https://developers.google.com/android-publisher). @@ -130,7 +130,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = AndroidPublisher::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/apigateway1-cli/Cargo.toml b/gen/apigateway1-cli/Cargo.toml index 0e4f977e93..7ba7301152 100644 --- a/gen/apigateway1-cli/Cargo.toml +++ b/gen/apigateway1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-apigateway1-cli" -version = "3.0.0+20220223" +version = "3.1.0+20220223" authors = ["Sebastian Thiel "] description = "A complete library to interact with apigateway (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/apigateway1-cli" @@ -20,12 +20,12 @@ name = "apigateway1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-apigateway1] path = "../apigateway1" -version = "3.0.0+20220223" +version = "3.1.0+20220223" diff --git a/gen/apigateway1-cli/README.md b/gen/apigateway1-cli/README.md index 1e7070accf..36a4aeb38f 100644 --- a/gen/apigateway1-cli/README.md +++ b/gen/apigateway1-cli/README.md @@ -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 *apigateway* API at revision *20220223*. The CLI is at version *3.0.0*. +This documentation was generated from the *apigateway* API at revision *20220223*. The CLI is at version *3.1.0*. ```bash apigateway1 [options] diff --git a/gen/apigateway1-cli/mkdocs.yml b/gen/apigateway1-cli/mkdocs.yml index 3f9277fb22..52b5df669b 100644 --- a/gen/apigateway1-cli/mkdocs.yml +++ b/gen/apigateway1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: apigateway v3.0.0+20220223 +site_name: apigateway v3.1.0+20220223 site_url: http://byron.github.io/google-apis-rs/google-apigateway1-cli site_description: A complete library to interact with apigateway (protocol v1) diff --git a/gen/apigateway1-cli/src/main.rs b/gen/apigateway1-cli/src/main.rs index 7cf5ae9ef7..bb061fdca2 100644 --- a/gen/apigateway1-cli/src/main.rs +++ b/gen/apigateway1-cli/src/main.rs @@ -2312,7 +2312,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/apigateway1", 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::Apigateway::new(client, auth), @@ -3092,7 +3098,7 @@ async fn main() { let mut app = App::new("apigateway1") .author("Sebastian Thiel ") - .version("3.0.0+20220223") + .version("3.1.0+20220223") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_apigateway1_cli") .arg(Arg::with_name("url") diff --git a/gen/apigateway1/Cargo.toml b/gen/apigateway1/Cargo.toml index 8d0d65a88e..a2f4481b63 100644 --- a/gen/apigateway1/Cargo.toml +++ b/gen/apigateway1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-apigateway1" -version = "3.0.0+20220223" +version = "3.1.0+20220223" authors = ["Sebastian Thiel "] description = "A complete library to interact with apigateway (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/apigateway1" homepage = "https://cloud.google.com/api-gateway/docs" -documentation = "https://docs.rs/google-apigateway1/3.0.0+20220223" +documentation = "https://docs.rs/google-apigateway1/3.1.0+20220223" license = "MIT" keywords = ["apigateway", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/apigateway1/README.md b/gen/apigateway1/README.md index 1531a66abb..af57d0521e 100644 --- a/gen/apigateway1/README.md +++ b/gen/apigateway1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-apigateway1` library allows access to all features of the *Google apigateway* service. -This documentation was generated from *apigateway* crate version *3.0.0+20220223*, where *20220223* is the exact revision of the *apigateway:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *apigateway* crate version *3.1.0+20220223*, where *20220223* is the exact revision of the *apigateway:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *apigateway* *v1* API can be found at the [official documentation site](https://cloud.google.com/api-gateway/docs). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/Apigateway) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/Apigateway) ... * projects - * [*locations apis configs create*](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/api::ProjectLocationApiConfigCreateCall), [*locations apis configs delete*](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/api::ProjectLocationApiConfigDeleteCall), [*locations apis configs get*](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/api::ProjectLocationApiConfigGetCall), [*locations apis configs get iam policy*](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/api::ProjectLocationApiConfigGetIamPolicyCall), [*locations apis configs list*](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/api::ProjectLocationApiConfigListCall), [*locations apis configs patch*](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/api::ProjectLocationApiConfigPatchCall), [*locations apis configs set iam policy*](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/api::ProjectLocationApiConfigSetIamPolicyCall), [*locations apis configs test iam permissions*](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/api::ProjectLocationApiConfigTestIamPermissionCall), [*locations apis create*](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/api::ProjectLocationApiCreateCall), [*locations apis delete*](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/api::ProjectLocationApiDeleteCall), [*locations apis get*](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/api::ProjectLocationApiGetCall), [*locations apis get iam policy*](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/api::ProjectLocationApiGetIamPolicyCall), [*locations apis list*](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/api::ProjectLocationApiListCall), [*locations apis patch*](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/api::ProjectLocationApiPatchCall), [*locations apis set iam policy*](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/api::ProjectLocationApiSetIamPolicyCall), [*locations apis test iam permissions*](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/api::ProjectLocationApiTestIamPermissionCall), [*locations gateways create*](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/api::ProjectLocationGatewayCreateCall), [*locations gateways delete*](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/api::ProjectLocationGatewayDeleteCall), [*locations gateways get*](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/api::ProjectLocationGatewayGetCall), [*locations gateways get iam policy*](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/api::ProjectLocationGatewayGetIamPolicyCall), [*locations gateways list*](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/api::ProjectLocationGatewayListCall), [*locations gateways patch*](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/api::ProjectLocationGatewayPatchCall), [*locations gateways set iam policy*](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/api::ProjectLocationGatewaySetIamPolicyCall), [*locations gateways test iam permissions*](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/api::ProjectLocationGatewayTestIamPermissionCall), [*locations get*](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/api::ProjectLocationOperationListCall) + * [*locations apis configs create*](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/api::ProjectLocationApiConfigCreateCall), [*locations apis configs delete*](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/api::ProjectLocationApiConfigDeleteCall), [*locations apis configs get*](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/api::ProjectLocationApiConfigGetCall), [*locations apis configs get iam policy*](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/api::ProjectLocationApiConfigGetIamPolicyCall), [*locations apis configs list*](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/api::ProjectLocationApiConfigListCall), [*locations apis configs patch*](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/api::ProjectLocationApiConfigPatchCall), [*locations apis configs set iam policy*](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/api::ProjectLocationApiConfigSetIamPolicyCall), [*locations apis configs test iam permissions*](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/api::ProjectLocationApiConfigTestIamPermissionCall), [*locations apis create*](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/api::ProjectLocationApiCreateCall), [*locations apis delete*](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/api::ProjectLocationApiDeleteCall), [*locations apis get*](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/api::ProjectLocationApiGetCall), [*locations apis get iam policy*](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/api::ProjectLocationApiGetIamPolicyCall), [*locations apis list*](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/api::ProjectLocationApiListCall), [*locations apis patch*](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/api::ProjectLocationApiPatchCall), [*locations apis set iam policy*](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/api::ProjectLocationApiSetIamPolicyCall), [*locations apis test iam permissions*](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/api::ProjectLocationApiTestIamPermissionCall), [*locations gateways create*](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/api::ProjectLocationGatewayCreateCall), [*locations gateways delete*](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/api::ProjectLocationGatewayDeleteCall), [*locations gateways get*](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/api::ProjectLocationGatewayGetCall), [*locations gateways get iam policy*](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/api::ProjectLocationGatewayGetIamPolicyCall), [*locations gateways list*](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/api::ProjectLocationGatewayListCall), [*locations gateways patch*](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/api::ProjectLocationGatewayPatchCall), [*locations gateways set iam policy*](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/api::ProjectLocationGatewaySetIamPolicyCall), [*locations gateways test iam permissions*](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/api::ProjectLocationGatewayTestIamPermissionCall), [*locations get*](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/api::ProjectLocationOperationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/Apigateway)** +* **[Hub](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/Apigateway)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/client::CallBuilder) -* **[Resources](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/client::CallBuilder) +* **[Resources](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/client::Part)** + * **[Parts](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -100,7 +100,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -154,29 +154,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/client::Delegate) to the -[Method Builder](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/client::Delegate) to the +[Method Builder](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/client::RequestValue) and -[decodable](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/client::RequestValue) and +[decodable](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-apigateway1/3.0.0+20220223/google_apigateway1/client::RequestValue) are moved +* [request values](https://docs.rs/google-apigateway1/3.1.0+20220223/google_apigateway1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/apigateway1/src/api.rs b/gen/apigateway1/src/api.rs index 451c8b926e..ee969ed9b7 100644 --- a/gen/apigateway1/src/api.rs +++ b/gen/apigateway1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > Apigateway<> { Apigateway { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://apigateway.googleapis.com/".to_string(), _root_url: "https://apigateway.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > Apigateway<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -743,7 +743,7 @@ impl client::ResponseResult for Empty {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_apis_configs_create(...)`, `locations_apis_configs_delete(...)`, `locations_apis_configs_get(...)`, `locations_apis_configs_get_iam_policy(...)`, `locations_apis_configs_list(...)`, `locations_apis_configs_patch(...)`, `locations_apis_configs_set_iam_policy(...)`, `locations_apis_configs_test_iam_permissions(...)`, `locations_apis_create(...)`, `locations_apis_delete(...)`, `locations_apis_get(...)`, `locations_apis_get_iam_policy(...)`, `locations_apis_list(...)`, `locations_apis_patch(...)`, `locations_apis_set_iam_policy(...)`, `locations_apis_test_iam_permissions(...)`, `locations_gateways_create(...)`, `locations_gateways_delete(...)`, `locations_gateways_get(...)`, `locations_gateways_get_iam_policy(...)`, `locations_gateways_list(...)`, `locations_gateways_patch(...)`, `locations_gateways_set_iam_policy(...)`, `locations_gateways_test_iam_permissions(...)`, `locations_get(...)`, `locations_list(...)`, `locations_operations_cancel(...)`, `locations_operations_delete(...)`, `locations_operations_get(...)` and `locations_operations_list(...)` /// // to build up your call. @@ -1356,7 +1356,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1653,7 +1653,7 @@ impl<'a> ProjectLocationApiConfigCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1909,7 +1909,7 @@ impl<'a> ProjectLocationApiConfigDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2177,7 +2177,7 @@ impl<'a> ProjectLocationApiConfigGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2445,7 +2445,7 @@ impl<'a> ProjectLocationApiConfigGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2750,7 +2750,7 @@ impl<'a> ProjectLocationApiConfigListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3048,7 +3048,7 @@ impl<'a> ProjectLocationApiConfigPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3334,7 +3334,7 @@ impl<'a> ProjectLocationApiConfigSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3620,7 +3620,7 @@ impl<'a> ProjectLocationApiConfigTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3917,7 +3917,7 @@ impl<'a> ProjectLocationApiCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4173,7 +4173,7 @@ impl<'a> ProjectLocationApiDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4429,7 +4429,7 @@ impl<'a> ProjectLocationApiGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4697,7 +4697,7 @@ impl<'a> ProjectLocationApiGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5002,7 +5002,7 @@ impl<'a> ProjectLocationApiListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5300,7 +5300,7 @@ impl<'a> ProjectLocationApiPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5586,7 +5586,7 @@ impl<'a> ProjectLocationApiSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5872,7 +5872,7 @@ impl<'a> ProjectLocationApiTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6169,7 +6169,7 @@ impl<'a> ProjectLocationGatewayCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6425,7 +6425,7 @@ impl<'a> ProjectLocationGatewayDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6681,7 +6681,7 @@ impl<'a> ProjectLocationGatewayGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6949,7 +6949,7 @@ impl<'a> ProjectLocationGatewayGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7254,7 +7254,7 @@ impl<'a> ProjectLocationGatewayListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7552,7 +7552,7 @@ impl<'a> ProjectLocationGatewayPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7838,7 +7838,7 @@ impl<'a> ProjectLocationGatewaySetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8124,7 +8124,7 @@ impl<'a> ProjectLocationGatewayTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8409,7 +8409,7 @@ impl<'a> ProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8665,7 +8665,7 @@ impl<'a> ProjectLocationOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8921,7 +8921,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9213,7 +9213,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9469,7 +9469,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/apigateway1/src/lib.rs b/gen/apigateway1/src/lib.rs index 0b726952c1..5ddf5fe23e 100644 --- a/gen/apigateway1/src/lib.rs +++ b/gen/apigateway1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *apigateway* crate version *3.0.0+20220223*, where *20220223* is the exact revision of the *apigateway:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *apigateway* crate version *3.1.0+20220223*, where *20220223* is the exact revision of the *apigateway:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *apigateway* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/api-gateway/docs). @@ -101,7 +101,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Apigateway::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/apigee1-cli/Cargo.toml b/gen/apigee1-cli/Cargo.toml index c32608d3af..55c3f304ec 100644 --- a/gen/apigee1-cli/Cargo.toml +++ b/gen/apigee1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-apigee1-cli" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with Apigee (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/apigee1-cli" @@ -20,12 +20,12 @@ name = "apigee1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-apigee1] path = "../apigee1" -version = "3.0.0+20220301" +version = "3.1.0+20220301" diff --git a/gen/apigee1-cli/README.md b/gen/apigee1-cli/README.md index 69ff8defee..06083fae6a 100644 --- a/gen/apigee1-cli/README.md +++ b/gen/apigee1-cli/README.md @@ -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 *Apigee* API at revision *20220301*. The CLI is at version *3.0.0*. +This documentation was generated from the *Apigee* API at revision *20220301*. The CLI is at version *3.1.0*. ```bash apigee1 [options] diff --git a/gen/apigee1-cli/mkdocs.yml b/gen/apigee1-cli/mkdocs.yml index 05c062d425..f83182ccdb 100644 --- a/gen/apigee1-cli/mkdocs.yml +++ b/gen/apigee1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Apigee v3.0.0+20220301 +site_name: Apigee v3.1.0+20220301 site_url: http://byron.github.io/google-apis-rs/google-apigee1-cli site_description: A complete library to interact with Apigee (protocol v1) diff --git a/gen/apigee1-cli/src/main.rs b/gen/apigee1-cli/src/main.rs index 887ffaee6f..70b575222e 100644 --- a/gen/apigee1-cli/src/main.rs +++ b/gen/apigee1-cli/src/main.rs @@ -16922,7 +16922,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/apigee1", 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::Apigee::new(client, auth), @@ -22670,7 +22676,7 @@ async fn main() { let mut app = App::new("apigee1") .author("Sebastian Thiel ") - .version("3.0.0+20220301") + .version("3.1.0+20220301") .about("Use the Apigee API to programmatically develop and manage APIs with a set of RESTful operations. Develop and secure API proxies, deploy and undeploy API proxy revisions, monitor APIs, configure environments, manage users, and more. Note: This product is available as a free trial for a time period of 60 days.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_apigee1_cli") .arg(Arg::with_name("url") diff --git a/gen/apigee1/Cargo.toml b/gen/apigee1/Cargo.toml index 7e58c2b9a1..8ea4c72c7b 100644 --- a/gen/apigee1/Cargo.toml +++ b/gen/apigee1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-apigee1" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with Apigee (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/apigee1" homepage = "https://cloud.google.com/apigee-api-management/" -documentation = "https://docs.rs/google-apigee1/3.0.0+20220301" +documentation = "https://docs.rs/google-apigee1/3.1.0+20220301" license = "MIT" keywords = ["apigee", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/apigee1/README.md b/gen/apigee1/README.md index e438dc3f97..763acba040 100644 --- a/gen/apigee1/README.md +++ b/gen/apigee1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-apigee1` library allows access to all features of the *Google Apigee* service. -This documentation was generated from *Apigee* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *apigee:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Apigee* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *apigee:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Apigee* *v1* API can be found at the [official documentation site](https://cloud.google.com/apigee-api-management/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/Apigee) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/Apigee) ... * hybrid - * [*issuers list*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::HybridIssuerListCall) + * [*issuers list*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::HybridIssuerListCall) * organizations - * [*analytics datastores create*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationAnalyticDatastoreCreateCall), [*analytics datastores delete*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationAnalyticDatastoreDeleteCall), [*analytics datastores get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationAnalyticDatastoreGetCall), [*analytics datastores list*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationAnalyticDatastoreListCall), [*analytics datastores test*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationAnalyticDatastoreTestCall), [*analytics datastores update*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationAnalyticDatastoreUpdateCall), [*apiproducts attributes*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationApiproductAttributeCall), [*apiproducts attributes delete*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationApiproductAttributeDeleteCall), [*apiproducts attributes get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationApiproductAttributeGetCall), [*apiproducts attributes list*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationApiproductAttributeListCall), [*apiproducts attributes update api product attribute*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationApiproductAttributeUpdateApiProductAttributeCall), [*apiproducts create*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationApiproductCreateCall), [*apiproducts delete*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationApiproductDeleteCall), [*apiproducts get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationApiproductGetCall), [*apiproducts list*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationApiproductListCall), [*apiproducts rateplans create*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationApiproductRateplanCreateCall), [*apiproducts rateplans delete*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationApiproductRateplanDeleteCall), [*apiproducts rateplans get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationApiproductRateplanGetCall), [*apiproducts rateplans list*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationApiproductRateplanListCall), [*apiproducts rateplans update*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationApiproductRateplanUpdateCall), [*apiproducts update*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationApiproductUpdateCall), [*apis create*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationApiCreateCall), [*apis delete*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationApiDeleteCall), [*apis deployments list*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationApiDeploymentListCall), [*apis get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationApiGetCall), [*apis keyvaluemaps create*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationApiKeyvaluemapCreateCall), [*apis keyvaluemaps delete*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationApiKeyvaluemapDeleteCall), [*apis list*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationApiListCall), [*apis patch*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationApiPatchCall), [*apis revisions delete*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationApiRevisionDeleteCall), [*apis revisions deployments list*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationApiRevisionDeploymentListCall), [*apis revisions get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationApiRevisionGetCall), [*apis revisions update api proxy revision*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationApiRevisionUpdateApiProxyRevisionCall), [*apps get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationAppGetCall), [*apps list*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationAppListCall), [*create*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationCreateCall), [*datacollectors create*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDatacollectorCreateCall), [*datacollectors delete*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDatacollectorDeleteCall), [*datacollectors get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDatacollectorGetCall), [*datacollectors list*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDatacollectorListCall), [*datacollectors patch*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDatacollectorPatchCall), [*delete*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDeleteCall), [*deployments list*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDeploymentListCall), [*developers apps attributes*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDeveloperAppAttributeCall), [*developers apps attributes delete*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDeveloperAppAttributeDeleteCall), [*developers apps attributes get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDeveloperAppAttributeGetCall), [*developers apps attributes list*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDeveloperAppAttributeListCall), [*developers apps attributes update developer app attribute*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDeveloperAppAttributeUpdateDeveloperAppAttributeCall), [*developers apps create*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDeveloperAppCreateCall), [*developers apps delete*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDeveloperAppDeleteCall), [*developers apps generate key pair or update developer app status*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDeveloperAppGenerateKeyPairOrUpdateDeveloperAppStatuCall), [*developers apps get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDeveloperAppGetCall), [*developers apps keys apiproducts delete*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDeveloperAppKeyApiproductDeleteCall), [*developers apps keys apiproducts update developer app key api product*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDeveloperAppKeyApiproductUpdateDeveloperAppKeyApiProductCall), [*developers apps keys create*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDeveloperAppKeyCreateCall), [*developers apps keys create create*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDeveloperAppKeyCreateCreateCall), [*developers apps keys delete*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDeveloperAppKeyDeleteCall), [*developers apps keys get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDeveloperAppKeyGetCall), [*developers apps keys replace developer app key*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDeveloperAppKeyReplaceDeveloperAppKeyCall), [*developers apps keys update developer app key*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDeveloperAppKeyUpdateDeveloperAppKeyCall), [*developers apps list*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDeveloperAppListCall), [*developers apps update*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDeveloperAppUpdateCall), [*developers attributes*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDeveloperAttributeCall), [*developers attributes delete*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDeveloperAttributeDeleteCall), [*developers attributes get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDeveloperAttributeGetCall), [*developers attributes list*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDeveloperAttributeListCall), [*developers attributes update developer attribute*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDeveloperAttributeUpdateDeveloperAttributeCall), [*developers balance adjust*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDeveloperBalanceAdjustCall), [*developers balance credit*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDeveloperBalanceCreditCall), [*developers create*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDeveloperCreateCall), [*developers delete*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDeveloperDeleteCall), [*developers get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDeveloperGetCall), [*developers get balance*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDeveloperGetBalanceCall), [*developers get monetization config*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDeveloperGetMonetizationConfigCall), [*developers list*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDeveloperListCall), [*developers set developer status*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDeveloperSetDeveloperStatuCall), [*developers subscriptions create*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDeveloperSubscriptionCreateCall), [*developers subscriptions expire*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDeveloperSubscriptionExpireCall), [*developers subscriptions get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDeveloperSubscriptionGetCall), [*developers subscriptions list*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDeveloperSubscriptionListCall), [*developers update*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDeveloperUpdateCall), [*developers update monetization config*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationDeveloperUpdateMonetizationConfigCall), [*endpoint attachments create*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEndpointAttachmentCreateCall), [*endpoint attachments delete*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEndpointAttachmentDeleteCall), [*endpoint attachments get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEndpointAttachmentGetCall), [*endpoint attachments list*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEndpointAttachmentListCall), [*envgroups attachments create*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvgroupAttachmentCreateCall), [*envgroups attachments delete*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvgroupAttachmentDeleteCall), [*envgroups attachments get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvgroupAttachmentGetCall), [*envgroups attachments list*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvgroupAttachmentListCall), [*envgroups create*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvgroupCreateCall), [*envgroups delete*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvgroupDeleteCall), [*envgroups get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvgroupGetCall), [*envgroups list*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvgroupListCall), [*envgroups patch*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvgroupPatchCall), [*environments analytics admin get schemav2*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentAnalyticAdminGetSchemav2Call), [*environments analytics exports create*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentAnalyticExportCreateCall), [*environments analytics exports get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentAnalyticExportGetCall), [*environments analytics exports list*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentAnalyticExportListCall), [*environments apis deployments list*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentApiDeploymentListCall), [*environments apis revisions debugsessions create*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentApiRevisionDebugsessionCreateCall), [*environments apis revisions debugsessions data get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentApiRevisionDebugsessionDataGetCall), [*environments apis revisions debugsessions delete data*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentApiRevisionDebugsessionDeleteDataCall), [*environments apis revisions debugsessions get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentApiRevisionDebugsessionGetCall), [*environments apis revisions debugsessions list*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentApiRevisionDebugsessionListCall), [*environments apis revisions deploy*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentApiRevisionDeployCall), [*environments apis revisions deployments generate deploy change report*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentApiRevisionDeploymentGenerateDeployChangeReportCall), [*environments apis revisions deployments generate undeploy change report*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentApiRevisionDeploymentGenerateUndeployChangeReportCall), [*environments apis revisions get deployments*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentApiRevisionGetDeploymentCall), [*environments apis revisions undeploy*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentApiRevisionUndeployCall), [*environments archive deployments create*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentArchiveDeploymentCreateCall), [*environments archive deployments delete*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentArchiveDeploymentDeleteCall), [*environments archive deployments generate download url*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentArchiveDeploymentGenerateDownloadUrlCall), [*environments archive deployments generate upload url*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentArchiveDeploymentGenerateUploadUrlCall), [*environments archive deployments get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentArchiveDeploymentGetCall), [*environments archive deployments list*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentArchiveDeploymentListCall), [*environments archive deployments patch*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentArchiveDeploymentPatchCall), [*environments caches delete*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentCacheDeleteCall), [*environments create*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentCreateCall), [*environments delete*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentDeleteCall), [*environments deployments list*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentDeploymentListCall), [*environments flowhooks attach shared flow to flow hook*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentFlowhookAttachSharedFlowToFlowHookCall), [*environments flowhooks detach shared flow from flow hook*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentFlowhookDetachSharedFlowFromFlowHookCall), [*environments flowhooks get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentFlowhookGetCall), [*environments get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentGetCall), [*environments get debugmask*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentGetDebugmaskCall), [*environments get deployed config*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentGetDeployedConfigCall), [*environments get iam policy*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentGetIamPolicyCall), [*environments get trace config*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentGetTraceConfigCall), [*environments keystores aliases create*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentKeystoreAliaseCreateCall), [*environments keystores aliases csr*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentKeystoreAliaseCsrCall), [*environments keystores aliases delete*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentKeystoreAliaseDeleteCall), [*environments keystores aliases get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentKeystoreAliaseGetCall), [*environments keystores aliases get certificate*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentKeystoreAliaseGetCertificateCall), [*environments keystores aliases update*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentKeystoreAliaseUpdateCall), [*environments keystores create*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentKeystoreCreateCall), [*environments keystores delete*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentKeystoreDeleteCall), [*environments keystores get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentKeystoreGetCall), [*environments keyvaluemaps create*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentKeyvaluemapCreateCall), [*environments keyvaluemaps delete*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentKeyvaluemapDeleteCall), [*environments optimized stats get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentOptimizedStatGetCall), [*environments queries create*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentQueryCreateCall), [*environments queries get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentQueryGetCall), [*environments queries get result*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentQueryGetResultCall), [*environments queries list*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentQueryListCall), [*environments references create*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentReferenceCreateCall), [*environments references delete*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentReferenceDeleteCall), [*environments references get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentReferenceGetCall), [*environments references update*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentReferenceUpdateCall), [*environments resourcefiles create*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentResourcefileCreateCall), [*environments resourcefiles delete*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentResourcefileDeleteCall), [*environments resourcefiles get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentResourcefileGetCall), [*environments resourcefiles list*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentResourcefileListCall), [*environments resourcefiles list environment resources*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentResourcefileListEnvironmentResourceCall), [*environments resourcefiles update*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentResourcefileUpdateCall), [*environments set iam policy*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentSetIamPolicyCall), [*environments sharedflows deployments list*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentSharedflowDeploymentListCall), [*environments sharedflows revisions deploy*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentSharedflowRevisionDeployCall), [*environments sharedflows revisions get deployments*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentSharedflowRevisionGetDeploymentCall), [*environments sharedflows revisions undeploy*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentSharedflowRevisionUndeployCall), [*environments stats get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentStatGetCall), [*environments subscribe*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentSubscribeCall), [*environments targetservers create*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentTargetserverCreateCall), [*environments targetservers delete*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentTargetserverDeleteCall), [*environments targetservers get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentTargetserverGetCall), [*environments targetservers update*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentTargetserverUpdateCall), [*environments test iam permissions*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentTestIamPermissionCall), [*environments trace config overrides create*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentTraceConfigOverrideCreateCall), [*environments trace config overrides delete*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentTraceConfigOverrideDeleteCall), [*environments trace config overrides get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentTraceConfigOverrideGetCall), [*environments trace config overrides list*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentTraceConfigOverrideListCall), [*environments trace config overrides patch*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentTraceConfigOverridePatchCall), [*environments unsubscribe*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentUnsubscribeCall), [*environments update*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentUpdateCall), [*environments update debugmask*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentUpdateDebugmaskCall), [*environments update environment*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentUpdateEnvironmentCall), [*environments update trace config*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationEnvironmentUpdateTraceConfigCall), [*get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationGetCall), [*get deployed ingress config*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationGetDeployedIngressConfigCall), [*get runtime config*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationGetRuntimeConfigCall), [*get sync authorization*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationGetSyncAuthorizationCall), [*host queries create*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationHostQueryCreateCall), [*host queries get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationHostQueryGetCall), [*host queries get result*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationHostQueryGetResultCall), [*host queries get result view*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationHostQueryGetResultViewCall), [*host queries list*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationHostQueryListCall), [*host stats get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationHostStatGetCall), [*instances attachments create*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationInstanceAttachmentCreateCall), [*instances attachments delete*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationInstanceAttachmentDeleteCall), [*instances attachments get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationInstanceAttachmentGetCall), [*instances attachments list*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationInstanceAttachmentListCall), [*instances canaryevaluations create*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationInstanceCanaryevaluationCreateCall), [*instances canaryevaluations get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationInstanceCanaryevaluationGetCall), [*instances create*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationInstanceCreateCall), [*instances delete*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationInstanceDeleteCall), [*instances get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationInstanceGetCall), [*instances list*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationInstanceListCall), [*instances nat addresses activate*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationInstanceNatAddresseActivateCall), [*instances nat addresses create*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationInstanceNatAddresseCreateCall), [*instances nat addresses delete*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationInstanceNatAddresseDeleteCall), [*instances nat addresses get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationInstanceNatAddresseGetCall), [*instances nat addresses list*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationInstanceNatAddresseListCall), [*instances patch*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationInstancePatchCall), [*instances report status*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationInstanceReportStatuCall), [*keyvaluemaps create*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationKeyvaluemapCreateCall), [*keyvaluemaps delete*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationKeyvaluemapDeleteCall), [*list*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationListCall), [*operations get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationOperationGetCall), [*operations list*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationOperationListCall), [*optimized host stats get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationOptimizedHostStatGetCall), [*reports create*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationReportCreateCall), [*reports delete*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationReportDeleteCall), [*reports get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationReportGetCall), [*reports list*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationReportListCall), [*reports update*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationReportUpdateCall), [*set addons*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationSetAddonCall), [*set sync authorization*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationSetSyncAuthorizationCall), [*sharedflows create*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationSharedflowCreateCall), [*sharedflows delete*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationSharedflowDeleteCall), [*sharedflows deployments list*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationSharedflowDeploymentListCall), [*sharedflows get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationSharedflowGetCall), [*sharedflows list*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationSharedflowListCall), [*sharedflows revisions delete*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationSharedflowRevisionDeleteCall), [*sharedflows revisions deployments list*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationSharedflowRevisionDeploymentListCall), [*sharedflows revisions get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationSharedflowRevisionGetCall), [*sharedflows revisions update shared flow revision*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationSharedflowRevisionUpdateSharedFlowRevisionCall), [*sites apicategories create*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationSiteApicategoryCreateCall), [*sites apicategories delete*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationSiteApicategoryDeleteCall), [*sites apicategories get*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationSiteApicategoryGetCall), [*sites apicategories list*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationSiteApicategoryListCall), [*sites apicategories patch*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationSiteApicategoryPatchCall) and [*update*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::OrganizationUpdateCall) + * [*analytics datastores create*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationAnalyticDatastoreCreateCall), [*analytics datastores delete*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationAnalyticDatastoreDeleteCall), [*analytics datastores get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationAnalyticDatastoreGetCall), [*analytics datastores list*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationAnalyticDatastoreListCall), [*analytics datastores test*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationAnalyticDatastoreTestCall), [*analytics datastores update*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationAnalyticDatastoreUpdateCall), [*apiproducts attributes*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationApiproductAttributeCall), [*apiproducts attributes delete*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationApiproductAttributeDeleteCall), [*apiproducts attributes get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationApiproductAttributeGetCall), [*apiproducts attributes list*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationApiproductAttributeListCall), [*apiproducts attributes update api product attribute*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationApiproductAttributeUpdateApiProductAttributeCall), [*apiproducts create*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationApiproductCreateCall), [*apiproducts delete*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationApiproductDeleteCall), [*apiproducts get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationApiproductGetCall), [*apiproducts list*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationApiproductListCall), [*apiproducts rateplans create*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationApiproductRateplanCreateCall), [*apiproducts rateplans delete*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationApiproductRateplanDeleteCall), [*apiproducts rateplans get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationApiproductRateplanGetCall), [*apiproducts rateplans list*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationApiproductRateplanListCall), [*apiproducts rateplans update*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationApiproductRateplanUpdateCall), [*apiproducts update*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationApiproductUpdateCall), [*apis create*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationApiCreateCall), [*apis delete*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationApiDeleteCall), [*apis deployments list*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationApiDeploymentListCall), [*apis get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationApiGetCall), [*apis keyvaluemaps create*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationApiKeyvaluemapCreateCall), [*apis keyvaluemaps delete*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationApiKeyvaluemapDeleteCall), [*apis list*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationApiListCall), [*apis patch*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationApiPatchCall), [*apis revisions delete*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationApiRevisionDeleteCall), [*apis revisions deployments list*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationApiRevisionDeploymentListCall), [*apis revisions get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationApiRevisionGetCall), [*apis revisions update api proxy revision*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationApiRevisionUpdateApiProxyRevisionCall), [*apps get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationAppGetCall), [*apps list*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationAppListCall), [*create*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationCreateCall), [*datacollectors create*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDatacollectorCreateCall), [*datacollectors delete*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDatacollectorDeleteCall), [*datacollectors get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDatacollectorGetCall), [*datacollectors list*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDatacollectorListCall), [*datacollectors patch*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDatacollectorPatchCall), [*delete*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDeleteCall), [*deployments list*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDeploymentListCall), [*developers apps attributes*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDeveloperAppAttributeCall), [*developers apps attributes delete*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDeveloperAppAttributeDeleteCall), [*developers apps attributes get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDeveloperAppAttributeGetCall), [*developers apps attributes list*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDeveloperAppAttributeListCall), [*developers apps attributes update developer app attribute*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDeveloperAppAttributeUpdateDeveloperAppAttributeCall), [*developers apps create*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDeveloperAppCreateCall), [*developers apps delete*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDeveloperAppDeleteCall), [*developers apps generate key pair or update developer app status*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDeveloperAppGenerateKeyPairOrUpdateDeveloperAppStatuCall), [*developers apps get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDeveloperAppGetCall), [*developers apps keys apiproducts delete*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDeveloperAppKeyApiproductDeleteCall), [*developers apps keys apiproducts update developer app key api product*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDeveloperAppKeyApiproductUpdateDeveloperAppKeyApiProductCall), [*developers apps keys create*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDeveloperAppKeyCreateCall), [*developers apps keys create create*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDeveloperAppKeyCreateCreateCall), [*developers apps keys delete*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDeveloperAppKeyDeleteCall), [*developers apps keys get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDeveloperAppKeyGetCall), [*developers apps keys replace developer app key*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDeveloperAppKeyReplaceDeveloperAppKeyCall), [*developers apps keys update developer app key*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDeveloperAppKeyUpdateDeveloperAppKeyCall), [*developers apps list*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDeveloperAppListCall), [*developers apps update*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDeveloperAppUpdateCall), [*developers attributes*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDeveloperAttributeCall), [*developers attributes delete*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDeveloperAttributeDeleteCall), [*developers attributes get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDeveloperAttributeGetCall), [*developers attributes list*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDeveloperAttributeListCall), [*developers attributes update developer attribute*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDeveloperAttributeUpdateDeveloperAttributeCall), [*developers balance adjust*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDeveloperBalanceAdjustCall), [*developers balance credit*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDeveloperBalanceCreditCall), [*developers create*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDeveloperCreateCall), [*developers delete*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDeveloperDeleteCall), [*developers get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDeveloperGetCall), [*developers get balance*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDeveloperGetBalanceCall), [*developers get monetization config*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDeveloperGetMonetizationConfigCall), [*developers list*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDeveloperListCall), [*developers set developer status*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDeveloperSetDeveloperStatuCall), [*developers subscriptions create*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDeveloperSubscriptionCreateCall), [*developers subscriptions expire*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDeveloperSubscriptionExpireCall), [*developers subscriptions get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDeveloperSubscriptionGetCall), [*developers subscriptions list*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDeveloperSubscriptionListCall), [*developers update*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDeveloperUpdateCall), [*developers update monetization config*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationDeveloperUpdateMonetizationConfigCall), [*endpoint attachments create*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEndpointAttachmentCreateCall), [*endpoint attachments delete*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEndpointAttachmentDeleteCall), [*endpoint attachments get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEndpointAttachmentGetCall), [*endpoint attachments list*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEndpointAttachmentListCall), [*envgroups attachments create*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvgroupAttachmentCreateCall), [*envgroups attachments delete*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvgroupAttachmentDeleteCall), [*envgroups attachments get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvgroupAttachmentGetCall), [*envgroups attachments list*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvgroupAttachmentListCall), [*envgroups create*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvgroupCreateCall), [*envgroups delete*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvgroupDeleteCall), [*envgroups get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvgroupGetCall), [*envgroups list*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvgroupListCall), [*envgroups patch*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvgroupPatchCall), [*environments analytics admin get schemav2*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentAnalyticAdminGetSchemav2Call), [*environments analytics exports create*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentAnalyticExportCreateCall), [*environments analytics exports get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentAnalyticExportGetCall), [*environments analytics exports list*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentAnalyticExportListCall), [*environments apis deployments list*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentApiDeploymentListCall), [*environments apis revisions debugsessions create*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentApiRevisionDebugsessionCreateCall), [*environments apis revisions debugsessions data get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentApiRevisionDebugsessionDataGetCall), [*environments apis revisions debugsessions delete data*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentApiRevisionDebugsessionDeleteDataCall), [*environments apis revisions debugsessions get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentApiRevisionDebugsessionGetCall), [*environments apis revisions debugsessions list*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentApiRevisionDebugsessionListCall), [*environments apis revisions deploy*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentApiRevisionDeployCall), [*environments apis revisions deployments generate deploy change report*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentApiRevisionDeploymentGenerateDeployChangeReportCall), [*environments apis revisions deployments generate undeploy change report*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentApiRevisionDeploymentGenerateUndeployChangeReportCall), [*environments apis revisions get deployments*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentApiRevisionGetDeploymentCall), [*environments apis revisions undeploy*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentApiRevisionUndeployCall), [*environments archive deployments create*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentArchiveDeploymentCreateCall), [*environments archive deployments delete*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentArchiveDeploymentDeleteCall), [*environments archive deployments generate download url*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentArchiveDeploymentGenerateDownloadUrlCall), [*environments archive deployments generate upload url*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentArchiveDeploymentGenerateUploadUrlCall), [*environments archive deployments get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentArchiveDeploymentGetCall), [*environments archive deployments list*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentArchiveDeploymentListCall), [*environments archive deployments patch*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentArchiveDeploymentPatchCall), [*environments caches delete*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentCacheDeleteCall), [*environments create*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentCreateCall), [*environments delete*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentDeleteCall), [*environments deployments list*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentDeploymentListCall), [*environments flowhooks attach shared flow to flow hook*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentFlowhookAttachSharedFlowToFlowHookCall), [*environments flowhooks detach shared flow from flow hook*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentFlowhookDetachSharedFlowFromFlowHookCall), [*environments flowhooks get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentFlowhookGetCall), [*environments get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentGetCall), [*environments get debugmask*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentGetDebugmaskCall), [*environments get deployed config*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentGetDeployedConfigCall), [*environments get iam policy*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentGetIamPolicyCall), [*environments get trace config*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentGetTraceConfigCall), [*environments keystores aliases create*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentKeystoreAliaseCreateCall), [*environments keystores aliases csr*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentKeystoreAliaseCsrCall), [*environments keystores aliases delete*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentKeystoreAliaseDeleteCall), [*environments keystores aliases get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentKeystoreAliaseGetCall), [*environments keystores aliases get certificate*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentKeystoreAliaseGetCertificateCall), [*environments keystores aliases update*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentKeystoreAliaseUpdateCall), [*environments keystores create*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentKeystoreCreateCall), [*environments keystores delete*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentKeystoreDeleteCall), [*environments keystores get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentKeystoreGetCall), [*environments keyvaluemaps create*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentKeyvaluemapCreateCall), [*environments keyvaluemaps delete*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentKeyvaluemapDeleteCall), [*environments optimized stats get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentOptimizedStatGetCall), [*environments queries create*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentQueryCreateCall), [*environments queries get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentQueryGetCall), [*environments queries get result*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentQueryGetResultCall), [*environments queries list*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentQueryListCall), [*environments references create*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentReferenceCreateCall), [*environments references delete*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentReferenceDeleteCall), [*environments references get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentReferenceGetCall), [*environments references update*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentReferenceUpdateCall), [*environments resourcefiles create*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentResourcefileCreateCall), [*environments resourcefiles delete*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentResourcefileDeleteCall), [*environments resourcefiles get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentResourcefileGetCall), [*environments resourcefiles list*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentResourcefileListCall), [*environments resourcefiles list environment resources*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentResourcefileListEnvironmentResourceCall), [*environments resourcefiles update*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentResourcefileUpdateCall), [*environments set iam policy*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentSetIamPolicyCall), [*environments sharedflows deployments list*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentSharedflowDeploymentListCall), [*environments sharedflows revisions deploy*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentSharedflowRevisionDeployCall), [*environments sharedflows revisions get deployments*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentSharedflowRevisionGetDeploymentCall), [*environments sharedflows revisions undeploy*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentSharedflowRevisionUndeployCall), [*environments stats get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentStatGetCall), [*environments subscribe*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentSubscribeCall), [*environments targetservers create*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentTargetserverCreateCall), [*environments targetservers delete*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentTargetserverDeleteCall), [*environments targetservers get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentTargetserverGetCall), [*environments targetservers update*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentTargetserverUpdateCall), [*environments test iam permissions*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentTestIamPermissionCall), [*environments trace config overrides create*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentTraceConfigOverrideCreateCall), [*environments trace config overrides delete*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentTraceConfigOverrideDeleteCall), [*environments trace config overrides get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentTraceConfigOverrideGetCall), [*environments trace config overrides list*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentTraceConfigOverrideListCall), [*environments trace config overrides patch*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentTraceConfigOverridePatchCall), [*environments unsubscribe*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentUnsubscribeCall), [*environments update*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentUpdateCall), [*environments update debugmask*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentUpdateDebugmaskCall), [*environments update environment*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentUpdateEnvironmentCall), [*environments update trace config*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationEnvironmentUpdateTraceConfigCall), [*get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationGetCall), [*get deployed ingress config*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationGetDeployedIngressConfigCall), [*get runtime config*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationGetRuntimeConfigCall), [*get sync authorization*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationGetSyncAuthorizationCall), [*host queries create*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationHostQueryCreateCall), [*host queries get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationHostQueryGetCall), [*host queries get result*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationHostQueryGetResultCall), [*host queries get result view*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationHostQueryGetResultViewCall), [*host queries list*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationHostQueryListCall), [*host stats get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationHostStatGetCall), [*instances attachments create*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationInstanceAttachmentCreateCall), [*instances attachments delete*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationInstanceAttachmentDeleteCall), [*instances attachments get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationInstanceAttachmentGetCall), [*instances attachments list*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationInstanceAttachmentListCall), [*instances canaryevaluations create*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationInstanceCanaryevaluationCreateCall), [*instances canaryevaluations get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationInstanceCanaryevaluationGetCall), [*instances create*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationInstanceCreateCall), [*instances delete*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationInstanceDeleteCall), [*instances get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationInstanceGetCall), [*instances list*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationInstanceListCall), [*instances nat addresses activate*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationInstanceNatAddresseActivateCall), [*instances nat addresses create*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationInstanceNatAddresseCreateCall), [*instances nat addresses delete*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationInstanceNatAddresseDeleteCall), [*instances nat addresses get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationInstanceNatAddresseGetCall), [*instances nat addresses list*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationInstanceNatAddresseListCall), [*instances patch*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationInstancePatchCall), [*instances report status*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationInstanceReportStatuCall), [*keyvaluemaps create*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationKeyvaluemapCreateCall), [*keyvaluemaps delete*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationKeyvaluemapDeleteCall), [*list*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationListCall), [*operations get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationOperationGetCall), [*operations list*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationOperationListCall), [*optimized host stats get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationOptimizedHostStatGetCall), [*reports create*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationReportCreateCall), [*reports delete*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationReportDeleteCall), [*reports get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationReportGetCall), [*reports list*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationReportListCall), [*reports update*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationReportUpdateCall), [*set addons*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationSetAddonCall), [*set sync authorization*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationSetSyncAuthorizationCall), [*sharedflows create*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationSharedflowCreateCall), [*sharedflows delete*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationSharedflowDeleteCall), [*sharedflows deployments list*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationSharedflowDeploymentListCall), [*sharedflows get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationSharedflowGetCall), [*sharedflows list*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationSharedflowListCall), [*sharedflows revisions delete*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationSharedflowRevisionDeleteCall), [*sharedflows revisions deployments list*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationSharedflowRevisionDeploymentListCall), [*sharedflows revisions get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationSharedflowRevisionGetCall), [*sharedflows revisions update shared flow revision*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationSharedflowRevisionUpdateSharedFlowRevisionCall), [*sites apicategories create*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationSiteApicategoryCreateCall), [*sites apicategories delete*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationSiteApicategoryDeleteCall), [*sites apicategories get*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationSiteApicategoryGetCall), [*sites apicategories list*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationSiteApicategoryListCall), [*sites apicategories patch*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationSiteApicategoryPatchCall) and [*update*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::OrganizationUpdateCall) * projects - * [*provision organization*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/api::ProjectProvisionOrganizationCall) + * [*provision organization*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/api::ProjectProvisionOrganizationCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/Apigee)** +* **[Hub](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/Apigee)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/client::CallBuilder) -* **[Resources](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/client::CallBuilder) +* **[Resources](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/client::Part)** + * **[Parts](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -118,7 +118,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -152,17 +152,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -172,29 +172,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/client::Delegate) to the -[Method Builder](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/client::Delegate) to the +[Method Builder](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/client::RequestValue) and -[decodable](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/client::RequestValue) and +[decodable](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-apigee1/3.0.0+20220301/google_apigee1/client::RequestValue) are moved +* [request values](https://docs.rs/google-apigee1/3.1.0+20220301/google_apigee1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/apigee1/src/api.rs b/gen/apigee1/src/api.rs index 576743faff..88dae4d544 100644 --- a/gen/apigee1/src/api.rs +++ b/gen/apigee1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > Apigee<> { Apigee { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://apigee.googleapis.com/".to_string(), _root_url: "https://apigee.googleapis.com/".to_string(), } @@ -137,7 +137,7 @@ impl<'a, > Apigee<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -4999,7 +4999,7 @@ impl client::Part for GoogleTypeMoney {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `issuers_list(...)` /// // to build up your call. @@ -5057,7 +5057,7 @@ impl<'a> HybridMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `analytics_datastores_create(...)`, `analytics_datastores_delete(...)`, `analytics_datastores_get(...)`, `analytics_datastores_list(...)`, `analytics_datastores_test(...)`, `analytics_datastores_update(...)`, `apiproducts_attributes(...)`, `apiproducts_attributes_delete(...)`, `apiproducts_attributes_get(...)`, `apiproducts_attributes_list(...)`, `apiproducts_attributes_update_api_product_attribute(...)`, `apiproducts_create(...)`, `apiproducts_delete(...)`, `apiproducts_get(...)`, `apiproducts_list(...)`, `apiproducts_rateplans_create(...)`, `apiproducts_rateplans_delete(...)`, `apiproducts_rateplans_get(...)`, `apiproducts_rateplans_list(...)`, `apiproducts_rateplans_update(...)`, `apiproducts_update(...)`, `apis_create(...)`, `apis_delete(...)`, `apis_deployments_list(...)`, `apis_get(...)`, `apis_keyvaluemaps_create(...)`, `apis_keyvaluemaps_delete(...)`, `apis_list(...)`, `apis_patch(...)`, `apis_revisions_delete(...)`, `apis_revisions_deployments_list(...)`, `apis_revisions_get(...)`, `apis_revisions_update_api_proxy_revision(...)`, `apps_get(...)`, `apps_list(...)`, `create(...)`, `datacollectors_create(...)`, `datacollectors_delete(...)`, `datacollectors_get(...)`, `datacollectors_list(...)`, `datacollectors_patch(...)`, `delete(...)`, `deployments_list(...)`, `developers_apps_attributes(...)`, `developers_apps_attributes_delete(...)`, `developers_apps_attributes_get(...)`, `developers_apps_attributes_list(...)`, `developers_apps_attributes_update_developer_app_attribute(...)`, `developers_apps_create(...)`, `developers_apps_delete(...)`, `developers_apps_generate_key_pair_or_update_developer_app_status(...)`, `developers_apps_get(...)`, `developers_apps_keys_apiproducts_delete(...)`, `developers_apps_keys_apiproducts_update_developer_app_key_api_product(...)`, `developers_apps_keys_create(...)`, `developers_apps_keys_create_create(...)`, `developers_apps_keys_delete(...)`, `developers_apps_keys_get(...)`, `developers_apps_keys_replace_developer_app_key(...)`, `developers_apps_keys_update_developer_app_key(...)`, `developers_apps_list(...)`, `developers_apps_update(...)`, `developers_attributes(...)`, `developers_attributes_delete(...)`, `developers_attributes_get(...)`, `developers_attributes_list(...)`, `developers_attributes_update_developer_attribute(...)`, `developers_balance_adjust(...)`, `developers_balance_credit(...)`, `developers_create(...)`, `developers_delete(...)`, `developers_get(...)`, `developers_get_balance(...)`, `developers_get_monetization_config(...)`, `developers_list(...)`, `developers_set_developer_status(...)`, `developers_subscriptions_create(...)`, `developers_subscriptions_expire(...)`, `developers_subscriptions_get(...)`, `developers_subscriptions_list(...)`, `developers_update(...)`, `developers_update_monetization_config(...)`, `endpoint_attachments_create(...)`, `endpoint_attachments_delete(...)`, `endpoint_attachments_get(...)`, `endpoint_attachments_list(...)`, `envgroups_attachments_create(...)`, `envgroups_attachments_delete(...)`, `envgroups_attachments_get(...)`, `envgroups_attachments_list(...)`, `envgroups_create(...)`, `envgroups_delete(...)`, `envgroups_get(...)`, `envgroups_list(...)`, `envgroups_patch(...)`, `environments_analytics_admin_get_schemav2(...)`, `environments_analytics_exports_create(...)`, `environments_analytics_exports_get(...)`, `environments_analytics_exports_list(...)`, `environments_apis_deployments_list(...)`, `environments_apis_revisions_debugsessions_create(...)`, `environments_apis_revisions_debugsessions_data_get(...)`, `environments_apis_revisions_debugsessions_delete_data(...)`, `environments_apis_revisions_debugsessions_get(...)`, `environments_apis_revisions_debugsessions_list(...)`, `environments_apis_revisions_deploy(...)`, `environments_apis_revisions_deployments_generate_deploy_change_report(...)`, `environments_apis_revisions_deployments_generate_undeploy_change_report(...)`, `environments_apis_revisions_get_deployments(...)`, `environments_apis_revisions_undeploy(...)`, `environments_archive_deployments_create(...)`, `environments_archive_deployments_delete(...)`, `environments_archive_deployments_generate_download_url(...)`, `environments_archive_deployments_generate_upload_url(...)`, `environments_archive_deployments_get(...)`, `environments_archive_deployments_list(...)`, `environments_archive_deployments_patch(...)`, `environments_caches_delete(...)`, `environments_create(...)`, `environments_delete(...)`, `environments_deployments_list(...)`, `environments_flowhooks_attach_shared_flow_to_flow_hook(...)`, `environments_flowhooks_detach_shared_flow_from_flow_hook(...)`, `environments_flowhooks_get(...)`, `environments_get(...)`, `environments_get_debugmask(...)`, `environments_get_deployed_config(...)`, `environments_get_iam_policy(...)`, `environments_get_trace_config(...)`, `environments_keystores_aliases_create(...)`, `environments_keystores_aliases_csr(...)`, `environments_keystores_aliases_delete(...)`, `environments_keystores_aliases_get(...)`, `environments_keystores_aliases_get_certificate(...)`, `environments_keystores_aliases_update(...)`, `environments_keystores_create(...)`, `environments_keystores_delete(...)`, `environments_keystores_get(...)`, `environments_keyvaluemaps_create(...)`, `environments_keyvaluemaps_delete(...)`, `environments_optimized_stats_get(...)`, `environments_queries_create(...)`, `environments_queries_get(...)`, `environments_queries_get_result(...)`, `environments_queries_list(...)`, `environments_references_create(...)`, `environments_references_delete(...)`, `environments_references_get(...)`, `environments_references_update(...)`, `environments_resourcefiles_create(...)`, `environments_resourcefiles_delete(...)`, `environments_resourcefiles_get(...)`, `environments_resourcefiles_list(...)`, `environments_resourcefiles_list_environment_resources(...)`, `environments_resourcefiles_update(...)`, `environments_set_iam_policy(...)`, `environments_sharedflows_deployments_list(...)`, `environments_sharedflows_revisions_deploy(...)`, `environments_sharedflows_revisions_get_deployments(...)`, `environments_sharedflows_revisions_undeploy(...)`, `environments_stats_get(...)`, `environments_subscribe(...)`, `environments_targetservers_create(...)`, `environments_targetservers_delete(...)`, `environments_targetservers_get(...)`, `environments_targetservers_update(...)`, `environments_test_iam_permissions(...)`, `environments_trace_config_overrides_create(...)`, `environments_trace_config_overrides_delete(...)`, `environments_trace_config_overrides_get(...)`, `environments_trace_config_overrides_list(...)`, `environments_trace_config_overrides_patch(...)`, `environments_unsubscribe(...)`, `environments_update(...)`, `environments_update_debugmask(...)`, `environments_update_environment(...)`, `environments_update_trace_config(...)`, `get(...)`, `get_deployed_ingress_config(...)`, `get_runtime_config(...)`, `get_sync_authorization(...)`, `host_queries_create(...)`, `host_queries_get(...)`, `host_queries_get_result(...)`, `host_queries_get_result_view(...)`, `host_queries_list(...)`, `host_stats_get(...)`, `instances_attachments_create(...)`, `instances_attachments_delete(...)`, `instances_attachments_get(...)`, `instances_attachments_list(...)`, `instances_canaryevaluations_create(...)`, `instances_canaryevaluations_get(...)`, `instances_create(...)`, `instances_delete(...)`, `instances_get(...)`, `instances_list(...)`, `instances_nat_addresses_activate(...)`, `instances_nat_addresses_create(...)`, `instances_nat_addresses_delete(...)`, `instances_nat_addresses_get(...)`, `instances_nat_addresses_list(...)`, `instances_patch(...)`, `instances_report_status(...)`, `keyvaluemaps_create(...)`, `keyvaluemaps_delete(...)`, `list(...)`, `operations_get(...)`, `operations_list(...)`, `optimized_host_stats_get(...)`, `reports_create(...)`, `reports_delete(...)`, `reports_get(...)`, `reports_list(...)`, `reports_update(...)`, `set_addons(...)`, `set_sync_authorization(...)`, `sharedflows_create(...)`, `sharedflows_delete(...)`, `sharedflows_deployments_list(...)`, `sharedflows_get(...)`, `sharedflows_list(...)`, `sharedflows_revisions_delete(...)`, `sharedflows_revisions_deployments_list(...)`, `sharedflows_revisions_get(...)`, `sharedflows_revisions_update_shared_flow_revision(...)`, `sites_apicategories_create(...)`, `sites_apicategories_delete(...)`, `sites_apicategories_get(...)`, `sites_apicategories_list(...)`, `sites_apicategories_patch(...)` and `update(...)` /// // to build up your call. @@ -9412,7 +9412,7 @@ impl<'a> OrganizationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `provision_organization(...)` /// // to build up your call. @@ -9479,7 +9479,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9736,7 +9736,7 @@ impl<'a> HybridIssuerListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10021,7 +10021,7 @@ impl<'a> OrganizationAnalyticDatastoreCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10277,7 +10277,7 @@ impl<'a> OrganizationAnalyticDatastoreDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10533,7 +10533,7 @@ impl<'a> OrganizationAnalyticDatastoreGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10802,7 +10802,7 @@ impl<'a> OrganizationAnalyticDatastoreListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11088,7 +11088,7 @@ impl<'a> OrganizationAnalyticDatastoreTestCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11373,7 +11373,7 @@ impl<'a> OrganizationAnalyticDatastoreUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11629,7 +11629,7 @@ impl<'a> OrganizationApiproductAttributeDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11885,7 +11885,7 @@ impl<'a> OrganizationApiproductAttributeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12142,7 +12142,7 @@ impl<'a> OrganizationApiproductAttributeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12428,7 +12428,7 @@ impl<'a> OrganizationApiproductAttributeUpdateApiProductAttributeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12713,7 +12713,7 @@ impl<'a> OrganizationApiproductRateplanCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12969,7 +12969,7 @@ impl<'a> OrganizationApiproductRateplanDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13225,7 +13225,7 @@ impl<'a> OrganizationApiproductRateplanGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13542,7 +13542,7 @@ impl<'a> OrganizationApiproductRateplanListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13828,7 +13828,7 @@ impl<'a> OrganizationApiproductRateplanUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14114,7 +14114,7 @@ impl<'a> OrganizationApiproductAttributeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14399,7 +14399,7 @@ impl<'a> OrganizationApiproductCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14655,7 +14655,7 @@ impl<'a> OrganizationApiproductDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14911,7 +14911,7 @@ impl<'a> OrganizationApiproductGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15228,7 +15228,7 @@ impl<'a> OrganizationApiproductListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15513,7 +15513,7 @@ impl<'a> OrganizationApiproductUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15770,7 +15770,7 @@ impl<'a> OrganizationApiDeploymentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16055,7 +16055,7 @@ impl<'a> OrganizationApiKeyvaluemapCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16311,7 +16311,7 @@ impl<'a> OrganizationApiKeyvaluemapDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16567,7 +16567,7 @@ impl<'a> OrganizationApiRevisionDeploymentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16823,7 +16823,7 @@ impl<'a> OrganizationApiRevisionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17092,7 +17092,7 @@ impl<'a> OrganizationApiRevisionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17390,7 +17390,7 @@ impl<'a> OrganizationApiRevisionUpdateApiProxyRevisionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17711,7 +17711,7 @@ impl<'a> OrganizationApiCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17967,7 +17967,7 @@ impl<'a> OrganizationApiDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18223,7 +18223,7 @@ impl<'a> OrganizationApiGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18504,7 +18504,7 @@ impl<'a> OrganizationApiListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18801,7 +18801,7 @@ impl<'a> OrganizationApiPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19057,7 +19057,7 @@ impl<'a> OrganizationAppGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19422,7 +19422,7 @@ impl<'a> OrganizationAppListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19719,7 +19719,7 @@ impl<'a> OrganizationDatacollectorCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19975,7 +19975,7 @@ impl<'a> OrganizationDatacollectorDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20231,7 +20231,7 @@ impl<'a> OrganizationDatacollectorGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20512,7 +20512,7 @@ impl<'a> OrganizationDatacollectorListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20809,7 +20809,7 @@ impl<'a> OrganizationDatacollectorPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21077,7 +21077,7 @@ impl<'a> OrganizationDeploymentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21333,7 +21333,7 @@ impl<'a> OrganizationDeveloperAppAttributeDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21589,7 +21589,7 @@ impl<'a> OrganizationDeveloperAppAttributeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21846,7 +21846,7 @@ impl<'a> OrganizationDeveloperAppAttributeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22131,7 +22131,7 @@ impl<'a> OrganizationDeveloperAppAttributeUpdateDeveloperAppAttributeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22387,7 +22387,7 @@ impl<'a> OrganizationDeveloperAppKeyApiproductDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22656,7 +22656,7 @@ impl<'a> OrganizationDeveloperAppKeyApiproductUpdateDeveloperAppKeyApiProductCal /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22942,7 +22942,7 @@ impl<'a> OrganizationDeveloperAppKeyCreateCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23227,7 +23227,7 @@ impl<'a> OrganizationDeveloperAppKeyCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23483,7 +23483,7 @@ impl<'a> OrganizationDeveloperAppKeyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23740,7 +23740,7 @@ impl<'a> OrganizationDeveloperAppKeyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24026,7 +24026,7 @@ impl<'a> OrganizationDeveloperAppKeyReplaceDeveloperAppKeyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24324,7 +24324,7 @@ impl<'a> OrganizationDeveloperAppKeyUpdateDeveloperAppKeyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24610,7 +24610,7 @@ impl<'a> OrganizationDeveloperAppAttributeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24895,7 +24895,7 @@ impl<'a> OrganizationDeveloperAppCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25152,7 +25152,7 @@ impl<'a> OrganizationDeveloperAppDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25449,7 +25449,7 @@ impl<'a> OrganizationDeveloperAppGenerateKeyPairOrUpdateDeveloperAppStatuCall<'a /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25729,7 +25729,7 @@ impl<'a> OrganizationDeveloperAppGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26034,7 +26034,7 @@ impl<'a> OrganizationDeveloperAppListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26319,7 +26319,7 @@ impl<'a> OrganizationDeveloperAppUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26575,7 +26575,7 @@ impl<'a> OrganizationDeveloperAttributeDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26831,7 +26831,7 @@ impl<'a> OrganizationDeveloperAttributeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27088,7 +27088,7 @@ impl<'a> OrganizationDeveloperAttributeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27374,7 +27374,7 @@ impl<'a> OrganizationDeveloperAttributeUpdateDeveloperAttributeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27660,7 +27660,7 @@ impl<'a> OrganizationDeveloperBalanceAdjustCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27946,7 +27946,7 @@ impl<'a> OrganizationDeveloperBalanceCreditCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -28232,7 +28232,7 @@ impl<'a> OrganizationDeveloperSubscriptionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -28517,7 +28517,7 @@ impl<'a> OrganizationDeveloperSubscriptionExpireCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28773,7 +28773,7 @@ impl<'a> OrganizationDeveloperSubscriptionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29054,7 +29054,7 @@ impl<'a> OrganizationDeveloperSubscriptionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29340,7 +29340,7 @@ impl<'a> OrganizationDeveloperAttributeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29625,7 +29625,7 @@ impl<'a> OrganizationDeveloperCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29881,7 +29881,7 @@ impl<'a> OrganizationDeveloperDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30149,7 +30149,7 @@ impl<'a> OrganizationDeveloperGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30405,7 +30405,7 @@ impl<'a> OrganizationDeveloperGetBalanceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30661,7 +30661,7 @@ impl<'a> OrganizationDeveloperGetMonetizationConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30989,7 +30989,7 @@ impl<'a> OrganizationDeveloperListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31258,7 +31258,7 @@ impl<'a> OrganizationDeveloperSetDeveloperStatuCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -31544,7 +31544,7 @@ impl<'a> OrganizationDeveloperUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -31830,7 +31830,7 @@ impl<'a> OrganizationDeveloperUpdateMonetizationConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -32127,7 +32127,7 @@ impl<'a> OrganizationEndpointAttachmentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32383,7 +32383,7 @@ impl<'a> OrganizationEndpointAttachmentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32639,7 +32639,7 @@ impl<'a> OrganizationEndpointAttachmentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32920,7 +32920,7 @@ impl<'a> OrganizationEndpointAttachmentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -33205,7 +33205,7 @@ impl<'a> OrganizationEnvgroupAttachmentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33461,7 +33461,7 @@ impl<'a> OrganizationEnvgroupAttachmentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33717,7 +33717,7 @@ impl<'a> OrganizationEnvgroupAttachmentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33998,7 +33998,7 @@ impl<'a> OrganizationEnvgroupAttachmentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -34295,7 +34295,7 @@ impl<'a> OrganizationEnvgroupCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34551,7 +34551,7 @@ impl<'a> OrganizationEnvgroupDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34807,7 +34807,7 @@ impl<'a> OrganizationEnvgroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -35088,7 +35088,7 @@ impl<'a> OrganizationEnvgroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35385,7 +35385,7 @@ impl<'a> OrganizationEnvgroupPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -35666,7 +35666,7 @@ impl<'a> OrganizationEnvironmentAnalyticAdminGetSchemav2Call<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35951,7 +35951,7 @@ impl<'a> OrganizationEnvironmentAnalyticExportCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -36207,7 +36207,7 @@ impl<'a> OrganizationEnvironmentAnalyticExportGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -36463,7 +36463,7 @@ impl<'a> OrganizationEnvironmentAnalyticExportListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -36719,7 +36719,7 @@ impl<'a> OrganizationEnvironmentApiDeploymentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -36976,7 +36976,7 @@ impl<'a> OrganizationEnvironmentApiRevisionDebugsessionDataGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -37273,7 +37273,7 @@ impl<'a> OrganizationEnvironmentApiRevisionDebugsessionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -37529,7 +37529,7 @@ impl<'a> OrganizationEnvironmentApiRevisionDebugsessionDeleteDataCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -37785,7 +37785,7 @@ impl<'a> OrganizationEnvironmentApiRevisionDebugsessionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -38065,7 +38065,7 @@ impl<'a> OrganizationEnvironmentApiRevisionDebugsessionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -38333,7 +38333,7 @@ impl<'a> OrganizationEnvironmentApiRevisionDeploymentGenerateDeployChangeReportC /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -38589,7 +38589,7 @@ impl<'a> OrganizationEnvironmentApiRevisionDeploymentGenerateUndeployChangeRepor /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -38881,7 +38881,7 @@ impl<'a> OrganizationEnvironmentApiRevisionDeployCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -39137,7 +39137,7 @@ impl<'a> OrganizationEnvironmentApiRevisionGetDeploymentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -39406,7 +39406,7 @@ impl<'a> OrganizationEnvironmentApiRevisionUndeployCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -39691,7 +39691,7 @@ impl<'a> OrganizationEnvironmentArchiveDeploymentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -39948,7 +39948,7 @@ impl<'a> OrganizationEnvironmentArchiveDeploymentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -40234,7 +40234,7 @@ impl<'a> OrganizationEnvironmentArchiveDeploymentGenerateDownloadUrlCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -40519,7 +40519,7 @@ impl<'a> OrganizationEnvironmentArchiveDeploymentGenerateUploadUrlCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -40775,7 +40775,7 @@ impl<'a> OrganizationEnvironmentArchiveDeploymentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -41068,7 +41068,7 @@ impl<'a> OrganizationEnvironmentArchiveDeploymentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -41365,7 +41365,7 @@ impl<'a> OrganizationEnvironmentArchiveDeploymentPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -41621,7 +41621,7 @@ impl<'a> OrganizationEnvironmentCacheDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -41890,7 +41890,7 @@ impl<'a> OrganizationEnvironmentDeploymentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -42175,7 +42175,7 @@ impl<'a> OrganizationEnvironmentFlowhookAttachSharedFlowToFlowHookCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -42431,7 +42431,7 @@ impl<'a> OrganizationEnvironmentFlowhookDetachSharedFlowFromFlowHookCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -42688,7 +42688,7 @@ impl<'a> OrganizationEnvironmentFlowhookGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -43033,7 +43033,7 @@ impl<'a> OrganizationEnvironmentKeystoreAliaseCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -43289,7 +43289,7 @@ impl<'a> OrganizationEnvironmentKeystoreAliaseCsrCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -43545,7 +43545,7 @@ impl<'a> OrganizationEnvironmentKeystoreAliaseDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -43801,7 +43801,7 @@ impl<'a> OrganizationEnvironmentKeystoreAliaseGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44058,7 +44058,7 @@ impl<'a> OrganizationEnvironmentKeystoreAliaseGetCertificateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -44368,7 +44368,7 @@ impl<'a> OrganizationEnvironmentKeystoreAliaseUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -44665,7 +44665,7 @@ impl<'a> OrganizationEnvironmentKeystoreCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44921,7 +44921,7 @@ impl<'a> OrganizationEnvironmentKeystoreDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -45178,7 +45178,7 @@ impl<'a> OrganizationEnvironmentKeystoreGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -45463,7 +45463,7 @@ impl<'a> OrganizationEnvironmentKeyvaluemapCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -45719,7 +45719,7 @@ impl<'a> OrganizationEnvironmentKeyvaluemapDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46156,7 +46156,7 @@ impl<'a> OrganizationEnvironmentOptimizedStatGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -46441,7 +46441,7 @@ impl<'a> OrganizationEnvironmentQueryCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46697,7 +46697,7 @@ impl<'a> OrganizationEnvironmentQueryGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46953,7 +46953,7 @@ impl<'a> OrganizationEnvironmentQueryGetResultCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47282,7 +47282,7 @@ impl<'a> OrganizationEnvironmentQueryListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -47567,7 +47567,7 @@ impl<'a> OrganizationEnvironmentReferenceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47823,7 +47823,7 @@ impl<'a> OrganizationEnvironmentReferenceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48080,7 +48080,7 @@ impl<'a> OrganizationEnvironmentReferenceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -48366,7 +48366,7 @@ impl<'a> OrganizationEnvironmentReferenceUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -48675,7 +48675,7 @@ impl<'a> OrganizationEnvironmentResourcefileCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48955,7 +48955,7 @@ impl<'a> OrganizationEnvironmentResourcefileDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49235,7 +49235,7 @@ impl<'a> OrganizationEnvironmentResourcefileGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49503,7 +49503,7 @@ impl<'a> OrganizationEnvironmentResourcefileListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49772,7 +49772,7 @@ impl<'a> OrganizationEnvironmentResourcefileListEnvironmentResourceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -50081,7 +50081,7 @@ impl<'a> OrganizationEnvironmentResourcefileUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -50337,7 +50337,7 @@ impl<'a> OrganizationEnvironmentSharedflowDeploymentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -50617,7 +50617,7 @@ impl<'a> OrganizationEnvironmentSharedflowRevisionDeployCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -50873,7 +50873,7 @@ impl<'a> OrganizationEnvironmentSharedflowRevisionGetDeploymentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -51129,7 +51129,7 @@ impl<'a> OrganizationEnvironmentSharedflowRevisionUndeployCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -51566,7 +51566,7 @@ impl<'a> OrganizationEnvironmentStatGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -51863,7 +51863,7 @@ impl<'a> OrganizationEnvironmentTargetserverCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -52119,7 +52119,7 @@ impl<'a> OrganizationEnvironmentTargetserverDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -52376,7 +52376,7 @@ impl<'a> OrganizationEnvironmentTargetserverGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -52662,7 +52662,7 @@ impl<'a> OrganizationEnvironmentTargetserverUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -52947,7 +52947,7 @@ impl<'a> OrganizationEnvironmentTraceConfigOverrideCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -53203,7 +53203,7 @@ impl<'a> OrganizationEnvironmentTraceConfigOverrideDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -53459,7 +53459,7 @@ impl<'a> OrganizationEnvironmentTraceConfigOverrideGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -53740,7 +53740,7 @@ impl<'a> OrganizationEnvironmentTraceConfigOverrideListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -54038,7 +54038,7 @@ impl<'a> OrganizationEnvironmentTraceConfigOverridePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -54335,7 +54335,7 @@ impl<'a> OrganizationEnvironmentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -54591,7 +54591,7 @@ impl<'a> OrganizationEnvironmentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -54847,7 +54847,7 @@ impl<'a> OrganizationEnvironmentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -55103,7 +55103,7 @@ impl<'a> OrganizationEnvironmentGetDebugmaskCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -55359,7 +55359,7 @@ impl<'a> OrganizationEnvironmentGetDeployedConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -55627,7 +55627,7 @@ impl<'a> OrganizationEnvironmentGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -55884,7 +55884,7 @@ impl<'a> OrganizationEnvironmentGetTraceConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -56169,7 +56169,7 @@ impl<'a> OrganizationEnvironmentSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -56426,7 +56426,7 @@ impl<'a> OrganizationEnvironmentSubscribeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -56712,7 +56712,7 @@ impl<'a> OrganizationEnvironmentTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -56998,7 +56998,7 @@ impl<'a> OrganizationEnvironmentUnsubscribeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -57284,7 +57284,7 @@ impl<'a> OrganizationEnvironmentUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -57594,7 +57594,7 @@ impl<'a> OrganizationEnvironmentUpdateDebugmaskCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -57880,7 +57880,7 @@ impl<'a> OrganizationEnvironmentUpdateEnvironmentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -58178,7 +58178,7 @@ impl<'a> OrganizationEnvironmentUpdateTraceConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -58463,7 +58463,7 @@ impl<'a> OrganizationHostQueryCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58719,7 +58719,7 @@ impl<'a> OrganizationHostQueryGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58975,7 +58975,7 @@ impl<'a> OrganizationHostQueryGetResultCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -59231,7 +59231,7 @@ impl<'a> OrganizationHostQueryGetResultViewCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -59571,7 +59571,7 @@ impl<'a> OrganizationHostQueryListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -59996,7 +59996,7 @@ impl<'a> OrganizationHostStatGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -60281,7 +60281,7 @@ impl<'a> OrganizationInstanceAttachmentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -60537,7 +60537,7 @@ impl<'a> OrganizationInstanceAttachmentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -60793,7 +60793,7 @@ impl<'a> OrganizationInstanceAttachmentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -61074,7 +61074,7 @@ impl<'a> OrganizationInstanceAttachmentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -61359,7 +61359,7 @@ impl<'a> OrganizationInstanceCanaryevaluationCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -61616,7 +61616,7 @@ impl<'a> OrganizationInstanceCanaryevaluationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -61902,7 +61902,7 @@ impl<'a> OrganizationInstanceNatAddresseActivateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -62187,7 +62187,7 @@ impl<'a> OrganizationInstanceNatAddresseCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -62443,7 +62443,7 @@ impl<'a> OrganizationInstanceNatAddresseDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -62699,7 +62699,7 @@ impl<'a> OrganizationInstanceNatAddresseGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -62980,7 +62980,7 @@ impl<'a> OrganizationInstanceNatAddresseListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -63265,7 +63265,7 @@ impl<'a> OrganizationInstanceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63521,7 +63521,7 @@ impl<'a> OrganizationInstanceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63777,7 +63777,7 @@ impl<'a> OrganizationInstanceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -64058,7 +64058,7 @@ impl<'a> OrganizationInstanceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -64356,7 +64356,7 @@ impl<'a> OrganizationInstancePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -64642,7 +64642,7 @@ impl<'a> OrganizationInstanceReportStatuCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -64927,7 +64927,7 @@ impl<'a> OrganizationKeyvaluemapCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -65183,7 +65183,7 @@ impl<'a> OrganizationKeyvaluemapDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -65439,7 +65439,7 @@ impl<'a> OrganizationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -65731,7 +65731,7 @@ impl<'a> OrganizationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -66156,7 +66156,7 @@ impl<'a> OrganizationOptimizedHostStatGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -66441,7 +66441,7 @@ impl<'a> OrganizationReportCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -66697,7 +66697,7 @@ impl<'a> OrganizationReportDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -66953,7 +66953,7 @@ impl<'a> OrganizationReportGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -67222,7 +67222,7 @@ impl<'a> OrganizationReportListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -67507,7 +67507,7 @@ impl<'a> OrganizationReportUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -67763,7 +67763,7 @@ impl<'a> OrganizationSharedflowDeploymentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -68019,7 +68019,7 @@ impl<'a> OrganizationSharedflowRevisionDeploymentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -68275,7 +68275,7 @@ impl<'a> OrganizationSharedflowRevisionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -68544,7 +68544,7 @@ impl<'a> OrganizationSharedflowRevisionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -68842,7 +68842,7 @@ impl<'a> OrganizationSharedflowRevisionUpdateSharedFlowRevisionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -69151,7 +69151,7 @@ impl<'a> OrganizationSharedflowCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -69407,7 +69407,7 @@ impl<'a> OrganizationSharedflowDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -69663,7 +69663,7 @@ impl<'a> OrganizationSharedflowGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -69944,7 +69944,7 @@ impl<'a> OrganizationSharedflowListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -70229,7 +70229,7 @@ impl<'a> OrganizationSiteApicategoryCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -70485,7 +70485,7 @@ impl<'a> OrganizationSiteApicategoryDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -70741,7 +70741,7 @@ impl<'a> OrganizationSiteApicategoryGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -70998,7 +70998,7 @@ impl<'a> OrganizationSiteApicategoryListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -71284,7 +71284,7 @@ impl<'a> OrganizationSiteApicategoryPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -71544,7 +71544,7 @@ impl<'a> OrganizationCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -71800,7 +71800,7 @@ impl<'a> OrganizationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -72056,7 +72056,7 @@ impl<'a> OrganizationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -72324,7 +72324,7 @@ impl<'a> OrganizationGetDeployedIngressConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -72581,7 +72581,7 @@ impl<'a> OrganizationGetRuntimeConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -72866,7 +72866,7 @@ impl<'a> OrganizationGetSyncAuthorizationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -73123,7 +73123,7 @@ impl<'a> OrganizationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -73409,7 +73409,7 @@ impl<'a> OrganizationSetAddonCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -73695,7 +73695,7 @@ impl<'a> OrganizationSetSyncAuthorizationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -73981,7 +73981,7 @@ impl<'a> OrganizationUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/apigee1/src/lib.rs b/gen/apigee1/src/lib.rs index 3edd3e0ece..33bab3b99e 100644 --- a/gen/apigee1/src/lib.rs +++ b/gen/apigee1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Apigee* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *apigee:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Apigee* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *apigee:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Apigee* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/apigee-api-management/). @@ -119,7 +119,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Apigee::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/apikeys2-cli/Cargo.toml b/gen/apikeys2-cli/Cargo.toml index 2debe4036e..c41679d87b 100644 --- a/gen/apikeys2-cli/Cargo.toml +++ b/gen/apikeys2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-apikeys2-cli" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with Api Keys Service (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/apikeys2-cli" @@ -20,12 +20,12 @@ name = "apikeys2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-apikeys2] path = "../apikeys2" -version = "3.0.0+20220305" +version = "3.1.0+20220305" diff --git a/gen/apikeys2-cli/README.md b/gen/apikeys2-cli/README.md index f66b9fe320..6746a70c51 100644 --- a/gen/apikeys2-cli/README.md +++ b/gen/apikeys2-cli/README.md @@ -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 *Api Keys Service* API at revision *20220305*. The CLI is at version *3.0.0*. +This documentation was generated from the *Api Keys Service* API at revision *20220305*. The CLI is at version *3.1.0*. ```bash apikeys2 [options] diff --git a/gen/apikeys2-cli/mkdocs.yml b/gen/apikeys2-cli/mkdocs.yml index 313f3ff59b..0a836d030b 100644 --- a/gen/apikeys2-cli/mkdocs.yml +++ b/gen/apikeys2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Api Keys Service v3.0.0+20220305 +site_name: Api Keys Service v3.1.0+20220305 site_url: http://byron.github.io/google-apis-rs/google-apikeys2-cli site_description: A complete library to interact with Api Keys Service (protocol v2) diff --git a/gen/apikeys2-cli/src/main.rs b/gen/apikeys2-cli/src/main.rs index 0adf188809..0b781fc6dc 100644 --- a/gen/apikeys2-cli/src/main.rs +++ b/gen/apikeys2-cli/src/main.rs @@ -835,7 +835,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/apikeys2", 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::ApiKeysService::new(client, auth), @@ -1121,7 +1127,7 @@ async fn main() { let mut app = App::new("apikeys2") .author("Sebastian Thiel ") - .version("3.0.0+20220305") + .version("3.1.0+20220305") .about("Manages the API keys associated with developer projects.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_apikeys2_cli") .arg(Arg::with_name("url") diff --git a/gen/apikeys2/Cargo.toml b/gen/apikeys2/Cargo.toml index 6262041ea0..59d5d297f4 100644 --- a/gen/apikeys2/Cargo.toml +++ b/gen/apikeys2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-apikeys2" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with Api Keys Service (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/apikeys2" homepage = "https://cloud.google.com/api-keys/docs" -documentation = "https://docs.rs/google-apikeys2/3.0.0+20220305" +documentation = "https://docs.rs/google-apikeys2/3.1.0+20220305" license = "MIT" keywords = ["apikeys", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/apikeys2/README.md b/gen/apikeys2/README.md index 988156f4a2..e3d123998d 100644 --- a/gen/apikeys2/README.md +++ b/gen/apikeys2/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-apikeys2` library allows access to all features of the *Google Api Keys Service* service. -This documentation was generated from *Api Keys Service* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *apikeys:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Api Keys Service* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *apikeys:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Api Keys Service* *v2* API can be found at the [official documentation site](https://cloud.google.com/api-keys/docs). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-apikeys2/3.0.0+20220305/google_apikeys2/ApiKeysService) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-apikeys2/3.1.0+20220305/google_apikeys2/ApiKeysService) ... * keys - * [*lookup key*](https://docs.rs/google-apikeys2/3.0.0+20220305/google_apikeys2/api::KeyLookupKeyCall) -* [operations](https://docs.rs/google-apikeys2/3.0.0+20220305/google_apikeys2/api::Operation) - * [*get*](https://docs.rs/google-apikeys2/3.0.0+20220305/google_apikeys2/api::OperationGetCall) + * [*lookup key*](https://docs.rs/google-apikeys2/3.1.0+20220305/google_apikeys2/api::KeyLookupKeyCall) +* [operations](https://docs.rs/google-apikeys2/3.1.0+20220305/google_apikeys2/api::Operation) + * [*get*](https://docs.rs/google-apikeys2/3.1.0+20220305/google_apikeys2/api::OperationGetCall) * projects - * [*locations keys clone*](https://docs.rs/google-apikeys2/3.0.0+20220305/google_apikeys2/api::ProjectLocationKeyCloneCall), [*locations keys create*](https://docs.rs/google-apikeys2/3.0.0+20220305/google_apikeys2/api::ProjectLocationKeyCreateCall), [*locations keys delete*](https://docs.rs/google-apikeys2/3.0.0+20220305/google_apikeys2/api::ProjectLocationKeyDeleteCall), [*locations keys get*](https://docs.rs/google-apikeys2/3.0.0+20220305/google_apikeys2/api::ProjectLocationKeyGetCall), [*locations keys get key string*](https://docs.rs/google-apikeys2/3.0.0+20220305/google_apikeys2/api::ProjectLocationKeyGetKeyStringCall), [*locations keys list*](https://docs.rs/google-apikeys2/3.0.0+20220305/google_apikeys2/api::ProjectLocationKeyListCall), [*locations keys patch*](https://docs.rs/google-apikeys2/3.0.0+20220305/google_apikeys2/api::ProjectLocationKeyPatchCall) and [*locations keys undelete*](https://docs.rs/google-apikeys2/3.0.0+20220305/google_apikeys2/api::ProjectLocationKeyUndeleteCall) + * [*locations keys clone*](https://docs.rs/google-apikeys2/3.1.0+20220305/google_apikeys2/api::ProjectLocationKeyCloneCall), [*locations keys create*](https://docs.rs/google-apikeys2/3.1.0+20220305/google_apikeys2/api::ProjectLocationKeyCreateCall), [*locations keys delete*](https://docs.rs/google-apikeys2/3.1.0+20220305/google_apikeys2/api::ProjectLocationKeyDeleteCall), [*locations keys get*](https://docs.rs/google-apikeys2/3.1.0+20220305/google_apikeys2/api::ProjectLocationKeyGetCall), [*locations keys get key string*](https://docs.rs/google-apikeys2/3.1.0+20220305/google_apikeys2/api::ProjectLocationKeyGetKeyStringCall), [*locations keys list*](https://docs.rs/google-apikeys2/3.1.0+20220305/google_apikeys2/api::ProjectLocationKeyListCall), [*locations keys patch*](https://docs.rs/google-apikeys2/3.1.0+20220305/google_apikeys2/api::ProjectLocationKeyPatchCall) and [*locations keys undelete*](https://docs.rs/google-apikeys2/3.1.0+20220305/google_apikeys2/api::ProjectLocationKeyUndeleteCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-apikeys2/3.0.0+20220305/google_apikeys2/ApiKeysService)** +* **[Hub](https://docs.rs/google-apikeys2/3.1.0+20220305/google_apikeys2/ApiKeysService)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-apikeys2/3.0.0+20220305/google_apikeys2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-apikeys2/3.0.0+20220305/google_apikeys2/client::CallBuilder) -* **[Resources](https://docs.rs/google-apikeys2/3.0.0+20220305/google_apikeys2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-apikeys2/3.1.0+20220305/google_apikeys2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-apikeys2/3.1.0+20220305/google_apikeys2/client::CallBuilder) +* **[Resources](https://docs.rs/google-apikeys2/3.1.0+20220305/google_apikeys2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-apikeys2/3.0.0+20220305/google_apikeys2/client::Part)** + * **[Parts](https://docs.rs/google-apikeys2/3.1.0+20220305/google_apikeys2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-apikeys2/3.0.0+20220305/google_apikeys2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-apikeys2/3.1.0+20220305/google_apikeys2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -100,7 +100,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = ApiKeysService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = ApiKeysService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-apikeys2/3.0.0+20220305/google_apikeys2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-apikeys2/3.1.0+20220305/google_apikeys2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-apikeys2/3.0.0+20220305/google_apikeys2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-apikeys2/3.1.0+20220305/google_apikeys2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-apikeys2/3.0.0+20220305/google_apikeys2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-apikeys2/3.1.0+20220305/google_apikeys2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-apikeys2/3.0.0+20220305/google_apikeys2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-apikeys2/3.1.0+20220305/google_apikeys2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -154,29 +154,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-apikeys2/3.0.0+20220305/google_apikeys2/client::Delegate) to the -[Method Builder](https://docs.rs/google-apikeys2/3.0.0+20220305/google_apikeys2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-apikeys2/3.1.0+20220305/google_apikeys2/client::Delegate) to the +[Method Builder](https://docs.rs/google-apikeys2/3.1.0+20220305/google_apikeys2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-apikeys2/3.0.0+20220305/google_apikeys2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-apikeys2/3.1.0+20220305/google_apikeys2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-apikeys2/3.0.0+20220305/google_apikeys2/client::RequestValue) and -[decodable](https://docs.rs/google-apikeys2/3.0.0+20220305/google_apikeys2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-apikeys2/3.1.0+20220305/google_apikeys2/client::RequestValue) and +[decodable](https://docs.rs/google-apikeys2/3.1.0+20220305/google_apikeys2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-apikeys2/3.0.0+20220305/google_apikeys2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-apikeys2/3.1.0+20220305/google_apikeys2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-apikeys2/3.0.0+20220305/google_apikeys2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-apikeys2/3.1.0+20220305/google_apikeys2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-apikeys2/3.0.0+20220305/google_apikeys2/client::RequestValue) are moved +* [request values](https://docs.rs/google-apikeys2/3.1.0+20220305/google_apikeys2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/apikeys2/src/api.rs b/gen/apikeys2/src/api.rs index 67a32c1c9c..ec6349d8b1 100644 --- a/gen/apikeys2/src/api.rs +++ b/gen/apikeys2/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ApiKeysService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ApiKeysService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -124,7 +124,7 @@ impl<'a, > ApiKeysService<> { ApiKeysService { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://apikeys.googleapis.com/".to_string(), _root_url: "https://apikeys.googleapis.com/".to_string(), } @@ -141,7 +141,7 @@ impl<'a, > ApiKeysService<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -494,7 +494,7 @@ impl client::RequestValue for V2UndeleteKeyRequest {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ApiKeysService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ApiKeysService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `lookup_key(...)` /// // to build up your call. @@ -548,7 +548,7 @@ impl<'a> KeyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ApiKeysService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ApiKeysService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -606,7 +606,7 @@ impl<'a> OperationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ApiKeysService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ApiKeysService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_keys_clone(...)`, `locations_keys_create(...)`, `locations_keys_delete(...)`, `locations_keys_get(...)`, `locations_keys_get_key_string(...)`, `locations_keys_list(...)`, `locations_keys_patch(...)` and `locations_keys_undelete(...)` /// // to build up your call. @@ -805,7 +805,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ApiKeysService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ApiKeysService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1036,7 +1036,7 @@ impl<'a> KeyLookupKeyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ApiKeysService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ApiKeysService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1293,7 +1293,7 @@ impl<'a> OperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ApiKeysService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ApiKeysService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1579,7 +1579,7 @@ impl<'a> ProjectLocationKeyCloneCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ApiKeysService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ApiKeysService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1876,7 +1876,7 @@ impl<'a> ProjectLocationKeyCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ApiKeysService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ApiKeysService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2144,7 +2144,7 @@ impl<'a> ProjectLocationKeyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ApiKeysService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ApiKeysService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2400,7 +2400,7 @@ impl<'a> ProjectLocationKeyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ApiKeysService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ApiKeysService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2656,7 +2656,7 @@ impl<'a> ProjectLocationKeyGetKeyStringCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ApiKeysService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ApiKeysService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2961,7 +2961,7 @@ impl<'a> ProjectLocationKeyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ApiKeysService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ApiKeysService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3259,7 +3259,7 @@ impl<'a> ProjectLocationKeyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ApiKeysService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ApiKeysService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/apikeys2/src/lib.rs b/gen/apikeys2/src/lib.rs index f56b3dfa5a..71152ac0b1 100644 --- a/gen/apikeys2/src/lib.rs +++ b/gen/apikeys2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Api Keys Service* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *apikeys:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Api Keys Service* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *apikeys:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Api Keys Service* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/api-keys/docs). @@ -101,7 +101,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = ApiKeysService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = ApiKeysService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/appengine1-cli/Cargo.toml b/gen/appengine1-cli/Cargo.toml index 593e66ea33..bbb088c4b7 100644 --- a/gen/appengine1-cli/Cargo.toml +++ b/gen/appengine1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-appengine1-cli" -version = "3.0.0+20220226" +version = "3.1.0+20220226" authors = ["Sebastian Thiel "] description = "A complete library to interact with appengine (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/appengine1-cli" @@ -20,12 +20,12 @@ name = "appengine1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-appengine1] path = "../appengine1" -version = "3.0.0+20220226" +version = "3.1.0+20220226" diff --git a/gen/appengine1-cli/README.md b/gen/appengine1-cli/README.md index dd2725521a..b72eb82ebd 100644 --- a/gen/appengine1-cli/README.md +++ b/gen/appengine1-cli/README.md @@ -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 *appengine* API at revision *20220226*. The CLI is at version *3.0.0*. +This documentation was generated from the *appengine* API at revision *20220226*. The CLI is at version *3.1.0*. ```bash appengine1 [options] diff --git a/gen/appengine1-cli/mkdocs.yml b/gen/appengine1-cli/mkdocs.yml index 3699b1f7db..175ea0d4eb 100644 --- a/gen/appengine1-cli/mkdocs.yml +++ b/gen/appengine1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: appengine v3.0.0+20220226 +site_name: appengine v3.1.0+20220226 site_url: http://byron.github.io/google-apis-rs/google-appengine1-cli site_description: A complete library to interact with appengine (protocol v1) diff --git a/gen/appengine1-cli/src/main.rs b/gen/appengine1-cli/src/main.rs index 749970aa82..0a8be50746 100644 --- a/gen/appengine1-cli/src/main.rs +++ b/gen/appengine1-cli/src/main.rs @@ -3021,7 +3021,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/appengine1", 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::Appengine::new(client, auth), @@ -4175,7 +4181,7 @@ async fn main() { let mut app = App::new("appengine1") .author("Sebastian Thiel ") - .version("3.0.0+20220226") + .version("3.1.0+20220226") .about("Provisions and manages developers' App Engine applications.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_appengine1_cli") .arg(Arg::with_name("url") diff --git a/gen/appengine1/Cargo.toml b/gen/appengine1/Cargo.toml index c705b10d8f..8c73de181b 100644 --- a/gen/appengine1/Cargo.toml +++ b/gen/appengine1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-appengine1" -version = "3.0.0+20220226" +version = "3.1.0+20220226" authors = ["Sebastian Thiel "] description = "A complete library to interact with appengine (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/appengine1" homepage = "https://cloud.google.com/appengine/docs/admin-api/" -documentation = "https://docs.rs/google-appengine1/3.0.0+20220226" +documentation = "https://docs.rs/google-appengine1/3.1.0+20220226" license = "MIT" keywords = ["appengine", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/appengine1/README.md b/gen/appengine1/README.md index 1230408bc3..e94df1cb7a 100644 --- a/gen/appengine1/README.md +++ b/gen/appengine1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-appengine1` library allows access to all features of the *Google appengine* service. -This documentation was generated from *appengine* crate version *3.0.0+20220226*, where *20220226* is the exact revision of the *appengine:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *appengine* crate version *3.1.0+20220226*, where *20220226* is the exact revision of the *appengine:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *appengine* *v1* API can be found at the [official documentation site](https://cloud.google.com/appengine/docs/admin-api/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/Appengine) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/Appengine) ... * apps - * [*authorized certificates create*](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/api::AppAuthorizedCertificateCreateCall), [*authorized certificates delete*](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/api::AppAuthorizedCertificateDeleteCall), [*authorized certificates get*](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/api::AppAuthorizedCertificateGetCall), [*authorized certificates list*](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/api::AppAuthorizedCertificateListCall), [*authorized certificates patch*](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/api::AppAuthorizedCertificatePatchCall), [*authorized domains list*](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/api::AppAuthorizedDomainListCall), [*create*](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/api::AppCreateCall), [*domain mappings create*](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/api::AppDomainMappingCreateCall), [*domain mappings delete*](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/api::AppDomainMappingDeleteCall), [*domain mappings get*](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/api::AppDomainMappingGetCall), [*domain mappings list*](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/api::AppDomainMappingListCall), [*domain mappings patch*](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/api::AppDomainMappingPatchCall), [*firewall ingress rules batch update*](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/api::AppFirewallIngressRuleBatchUpdateCall), [*firewall ingress rules create*](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/api::AppFirewallIngressRuleCreateCall), [*firewall ingress rules delete*](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/api::AppFirewallIngressRuleDeleteCall), [*firewall ingress rules get*](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/api::AppFirewallIngressRuleGetCall), [*firewall ingress rules list*](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/api::AppFirewallIngressRuleListCall), [*firewall ingress rules patch*](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/api::AppFirewallIngressRulePatchCall), [*get*](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/api::AppGetCall), [*locations get*](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/api::AppLocationGetCall), [*locations list*](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/api::AppLocationListCall), [*operations get*](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/api::AppOperationGetCall), [*operations list*](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/api::AppOperationListCall), [*patch*](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/api::AppPatchCall), [*repair*](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/api::AppRepairCall), [*services delete*](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/api::AppServiceDeleteCall), [*services get*](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/api::AppServiceGetCall), [*services list*](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/api::AppServiceListCall), [*services patch*](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/api::AppServicePatchCall), [*services versions create*](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/api::AppServiceVersionCreateCall), [*services versions delete*](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/api::AppServiceVersionDeleteCall), [*services versions get*](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/api::AppServiceVersionGetCall), [*services versions instances debug*](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/api::AppServiceVersionInstanceDebugCall), [*services versions instances delete*](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/api::AppServiceVersionInstanceDeleteCall), [*services versions instances get*](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/api::AppServiceVersionInstanceGetCall), [*services versions instances list*](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/api::AppServiceVersionInstanceListCall), [*services versions list*](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/api::AppServiceVersionListCall) and [*services versions patch*](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/api::AppServiceVersionPatchCall) + * [*authorized certificates create*](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/api::AppAuthorizedCertificateCreateCall), [*authorized certificates delete*](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/api::AppAuthorizedCertificateDeleteCall), [*authorized certificates get*](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/api::AppAuthorizedCertificateGetCall), [*authorized certificates list*](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/api::AppAuthorizedCertificateListCall), [*authorized certificates patch*](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/api::AppAuthorizedCertificatePatchCall), [*authorized domains list*](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/api::AppAuthorizedDomainListCall), [*create*](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/api::AppCreateCall), [*domain mappings create*](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/api::AppDomainMappingCreateCall), [*domain mappings delete*](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/api::AppDomainMappingDeleteCall), [*domain mappings get*](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/api::AppDomainMappingGetCall), [*domain mappings list*](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/api::AppDomainMappingListCall), [*domain mappings patch*](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/api::AppDomainMappingPatchCall), [*firewall ingress rules batch update*](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/api::AppFirewallIngressRuleBatchUpdateCall), [*firewall ingress rules create*](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/api::AppFirewallIngressRuleCreateCall), [*firewall ingress rules delete*](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/api::AppFirewallIngressRuleDeleteCall), [*firewall ingress rules get*](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/api::AppFirewallIngressRuleGetCall), [*firewall ingress rules list*](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/api::AppFirewallIngressRuleListCall), [*firewall ingress rules patch*](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/api::AppFirewallIngressRulePatchCall), [*get*](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/api::AppGetCall), [*locations get*](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/api::AppLocationGetCall), [*locations list*](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/api::AppLocationListCall), [*operations get*](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/api::AppOperationGetCall), [*operations list*](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/api::AppOperationListCall), [*patch*](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/api::AppPatchCall), [*repair*](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/api::AppRepairCall), [*services delete*](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/api::AppServiceDeleteCall), [*services get*](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/api::AppServiceGetCall), [*services list*](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/api::AppServiceListCall), [*services patch*](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/api::AppServicePatchCall), [*services versions create*](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/api::AppServiceVersionCreateCall), [*services versions delete*](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/api::AppServiceVersionDeleteCall), [*services versions get*](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/api::AppServiceVersionGetCall), [*services versions instances debug*](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/api::AppServiceVersionInstanceDebugCall), [*services versions instances delete*](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/api::AppServiceVersionInstanceDeleteCall), [*services versions instances get*](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/api::AppServiceVersionInstanceGetCall), [*services versions instances list*](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/api::AppServiceVersionInstanceListCall), [*services versions list*](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/api::AppServiceVersionListCall) and [*services versions patch*](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/api::AppServiceVersionPatchCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/Appengine)** +* **[Hub](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/Appengine)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/client::CallBuilder) -* **[Resources](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/client::CallBuilder) +* **[Resources](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/client::Part)** + * **[Parts](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -104,7 +104,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -137,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -157,29 +157,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/client::Delegate) to the -[Method Builder](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/client::Delegate) to the +[Method Builder](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/client::RequestValue) and -[decodable](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/client::RequestValue) and +[decodable](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-appengine1/3.0.0+20220226/google_appengine1/client::RequestValue) are moved +* [request values](https://docs.rs/google-appengine1/3.1.0+20220226/google_appengine1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/appengine1/src/api.rs b/gen/appengine1/src/api.rs index dfaa0c70a9..170db4d585 100644 --- a/gen/appengine1/src/api.rs +++ b/gen/appengine1/src/api.rs @@ -79,7 +79,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -127,7 +127,7 @@ impl<'a, > Appengine<> { Appengine { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://appengine.googleapis.com/".to_string(), _root_url: "https://appengine.googleapis.com/".to_string(), } @@ -138,7 +138,7 @@ impl<'a, > Appengine<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1728,7 +1728,7 @@ impl client::Part for ZipInfo {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `authorized_certificates_create(...)`, `authorized_certificates_delete(...)`, `authorized_certificates_get(...)`, `authorized_certificates_list(...)`, `authorized_certificates_patch(...)`, `authorized_domains_list(...)`, `create(...)`, `domain_mappings_create(...)`, `domain_mappings_delete(...)`, `domain_mappings_get(...)`, `domain_mappings_list(...)`, `domain_mappings_patch(...)`, `firewall_ingress_rules_batch_update(...)`, `firewall_ingress_rules_create(...)`, `firewall_ingress_rules_delete(...)`, `firewall_ingress_rules_get(...)`, `firewall_ingress_rules_list(...)`, `firewall_ingress_rules_patch(...)`, `get(...)`, `locations_get(...)`, `locations_list(...)`, `operations_get(...)`, `operations_list(...)`, `patch(...)`, `repair(...)`, `services_delete(...)`, `services_get(...)`, `services_list(...)`, `services_patch(...)`, `services_versions_create(...)`, `services_versions_delete(...)`, `services_versions_get(...)`, `services_versions_instances_debug(...)`, `services_versions_instances_delete(...)`, `services_versions_instances_get(...)`, `services_versions_instances_list(...)`, `services_versions_list(...)` and `services_versions_patch(...)` /// // to build up your call. @@ -2548,7 +2548,7 @@ impl<'a> AppMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2829,7 +2829,7 @@ impl<'a> AppAuthorizedCertificateCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3093,7 +3093,7 @@ impl<'a> AppAuthorizedCertificateDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3369,7 +3369,7 @@ impl<'a> AppAuthorizedCertificateGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3658,7 +3658,7 @@ impl<'a> AppAuthorizedCertificateListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3963,7 +3963,7 @@ impl<'a> AppAuthorizedCertificatePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4240,7 +4240,7 @@ impl<'a> AppAuthorizedDomainListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4533,7 +4533,7 @@ impl<'a> AppDomainMappingCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4797,7 +4797,7 @@ impl<'a> AppDomainMappingDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5061,7 +5061,7 @@ impl<'a> AppDomainMappingGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5338,7 +5338,7 @@ impl<'a> AppDomainMappingListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5644,7 +5644,7 @@ impl<'a> AppDomainMappingPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5926,7 +5926,7 @@ impl<'a> AppFirewallIngressRuleBatchUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6207,7 +6207,7 @@ impl<'a> AppFirewallIngressRuleCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6471,7 +6471,7 @@ impl<'a> AppFirewallIngressRuleDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6735,7 +6735,7 @@ impl<'a> AppFirewallIngressRuleGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7024,7 +7024,7 @@ impl<'a> AppFirewallIngressRuleListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7329,7 +7329,7 @@ impl<'a> AppFirewallIngressRulePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7593,7 +7593,7 @@ impl<'a> AppLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7881,7 +7881,7 @@ impl<'a> AppLocationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8145,7 +8145,7 @@ impl<'a> AppOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8434,7 +8434,7 @@ impl<'a> AppOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8751,7 +8751,7 @@ impl<'a> AppServiceVersionInstanceDebugCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9039,7 +9039,7 @@ impl<'a> AppServiceVersionInstanceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9327,7 +9327,7 @@ impl<'a> AppServiceVersionInstanceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9628,7 +9628,7 @@ impl<'a> AppServiceVersionInstanceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9921,7 +9921,7 @@ impl<'a> AppServiceVersionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10197,7 +10197,7 @@ impl<'a> AppServiceVersionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10485,7 +10485,7 @@ impl<'a> AppServiceVersionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10786,7 +10786,7 @@ impl<'a> AppServiceVersionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11103,7 +11103,7 @@ impl<'a> AppServiceVersionPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11367,7 +11367,7 @@ impl<'a> AppServiceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11631,7 +11631,7 @@ impl<'a> AppServiceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11908,7 +11908,7 @@ impl<'a> AppServiceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12226,7 +12226,7 @@ impl<'a> AppServicePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12474,7 +12474,7 @@ impl<'a> AppCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12727,7 +12727,7 @@ impl<'a> AppGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13021,7 +13021,7 @@ impl<'a> AppPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/appengine1/src/lib.rs b/gen/appengine1/src/lib.rs index a7262b154a..e784d24d21 100644 --- a/gen/appengine1/src/lib.rs +++ b/gen/appengine1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *appengine* crate version *3.0.0+20220226*, where *20220226* is the exact revision of the *appengine:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *appengine* crate version *3.1.0+20220226*, where *20220226* is the exact revision of the *appengine:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *appengine* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/appengine/docs/admin-api/). @@ -105,7 +105,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/appengine1_beta4-cli/Cargo.toml b/gen/appengine1_beta4-cli/Cargo.toml index 4aa82f9098..923c9b8879 100644 --- a/gen/appengine1_beta4-cli/Cargo.toml +++ b/gen/appengine1_beta4-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-appengine1_beta4-cli" -version = "3.0.0+20181005" +version = "3.1.0+20181005" authors = ["Sebastian Thiel "] description = "A complete library to interact with appengine (protocol v1beta4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/appengine1_beta4-cli" @@ -20,12 +20,12 @@ name = "appengine1-beta4" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-appengine1_beta4] path = "../appengine1_beta4" -version = "3.0.0+20181005" +version = "3.1.0+20181005" diff --git a/gen/appengine1_beta4-cli/README.md b/gen/appengine1_beta4-cli/README.md index 1d3790e698..8a91b28053 100644 --- a/gen/appengine1_beta4-cli/README.md +++ b/gen/appengine1_beta4-cli/README.md @@ -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 *appengine* API at revision *20181005*. The CLI is at version *3.0.0*. +This documentation was generated from the *appengine* API at revision *20181005*. The CLI is at version *3.1.0*. ```bash appengine1-beta4 [options] diff --git a/gen/appengine1_beta4-cli/mkdocs.yml b/gen/appengine1_beta4-cli/mkdocs.yml index 6afaa85227..c3ddb8004f 100644 --- a/gen/appengine1_beta4-cli/mkdocs.yml +++ b/gen/appengine1_beta4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: appengine v3.0.0+20181005 +site_name: appengine v3.1.0+20181005 site_url: http://byron.github.io/google-apis-rs/google-appengine1_beta4-cli site_description: A complete library to interact with appengine (protocol v1beta4) diff --git a/gen/appengine1_beta4-cli/src/main.rs b/gen/appengine1_beta4-cli/src/main.rs index b165942bc6..b9634393e9 100644 --- a/gen/appengine1_beta4-cli/src/main.rs +++ b/gen/appengine1_beta4-cli/src/main.rs @@ -1601,7 +1601,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/appengine1-beta4", 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::Appengine::new(client, auth), @@ -2265,7 +2271,7 @@ async fn main() { let mut app = App::new("appengine1-beta4") .author("Sebastian Thiel ") - .version("3.0.0+20181005") + .version("3.1.0+20181005") .about("The App Engine Admin API enables developers to provision and manage their App Engine applications.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_appengine1_beta4_cli") .arg(Arg::with_name("url") diff --git a/gen/appengine1_beta4/Cargo.toml b/gen/appengine1_beta4/Cargo.toml index c473b6d0ff..4e9d4af1b8 100644 --- a/gen/appengine1_beta4/Cargo.toml +++ b/gen/appengine1_beta4/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-appengine1_beta4" -version = "3.0.0+20181005" +version = "3.1.0+20181005" authors = ["Sebastian Thiel "] description = "A complete library to interact with appengine (protocol v1beta4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/appengine1_beta4" homepage = "https://cloud.google.com/appengine/docs/admin-api/" -documentation = "https://docs.rs/google-appengine1_beta4/3.0.0+20181005" +documentation = "https://docs.rs/google-appengine1_beta4/3.1.0+20181005" license = "MIT" keywords = ["appengine", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/appengine1_beta4/README.md b/gen/appengine1_beta4/README.md index 1efa845f50..1967e147c7 100644 --- a/gen/appengine1_beta4/README.md +++ b/gen/appengine1_beta4/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-appengine1_beta4` library allows access to all features of the *Google appengine* service. -This documentation was generated from *appengine* crate version *3.0.0+20181005*, where *20181005* is the exact revision of the *appengine:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *appengine* crate version *3.1.0+20181005*, where *20181005* is the exact revision of the *appengine:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *appengine* *v1_beta4* API can be found at the [official documentation site](https://cloud.google.com/appengine/docs/admin-api/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-appengine1_beta4/3.0.0+20181005/google_appengine1_beta4/Appengine) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-appengine1_beta4/3.1.0+20181005/google_appengine1_beta4/Appengine) ... * apps - * [*create*](https://docs.rs/google-appengine1_beta4/3.0.0+20181005/google_appengine1_beta4/api::AppCreateCall), [*get*](https://docs.rs/google-appengine1_beta4/3.0.0+20181005/google_appengine1_beta4/api::AppGetCall), [*locations get*](https://docs.rs/google-appengine1_beta4/3.0.0+20181005/google_appengine1_beta4/api::AppLocationGetCall), [*locations list*](https://docs.rs/google-appengine1_beta4/3.0.0+20181005/google_appengine1_beta4/api::AppLocationListCall), [*modules delete*](https://docs.rs/google-appengine1_beta4/3.0.0+20181005/google_appengine1_beta4/api::AppModuleDeleteCall), [*modules get*](https://docs.rs/google-appengine1_beta4/3.0.0+20181005/google_appengine1_beta4/api::AppModuleGetCall), [*modules list*](https://docs.rs/google-appengine1_beta4/3.0.0+20181005/google_appengine1_beta4/api::AppModuleListCall), [*modules patch*](https://docs.rs/google-appengine1_beta4/3.0.0+20181005/google_appengine1_beta4/api::AppModulePatchCall), [*modules versions create*](https://docs.rs/google-appengine1_beta4/3.0.0+20181005/google_appengine1_beta4/api::AppModuleVersionCreateCall), [*modules versions delete*](https://docs.rs/google-appengine1_beta4/3.0.0+20181005/google_appengine1_beta4/api::AppModuleVersionDeleteCall), [*modules versions get*](https://docs.rs/google-appengine1_beta4/3.0.0+20181005/google_appengine1_beta4/api::AppModuleVersionGetCall), [*modules versions instances debug*](https://docs.rs/google-appengine1_beta4/3.0.0+20181005/google_appengine1_beta4/api::AppModuleVersionInstanceDebugCall), [*modules versions instances delete*](https://docs.rs/google-appengine1_beta4/3.0.0+20181005/google_appengine1_beta4/api::AppModuleVersionInstanceDeleteCall), [*modules versions instances get*](https://docs.rs/google-appengine1_beta4/3.0.0+20181005/google_appengine1_beta4/api::AppModuleVersionInstanceGetCall), [*modules versions instances list*](https://docs.rs/google-appengine1_beta4/3.0.0+20181005/google_appengine1_beta4/api::AppModuleVersionInstanceListCall), [*modules versions list*](https://docs.rs/google-appengine1_beta4/3.0.0+20181005/google_appengine1_beta4/api::AppModuleVersionListCall), [*modules versions patch*](https://docs.rs/google-appengine1_beta4/3.0.0+20181005/google_appengine1_beta4/api::AppModuleVersionPatchCall), [*operations get*](https://docs.rs/google-appengine1_beta4/3.0.0+20181005/google_appengine1_beta4/api::AppOperationGetCall), [*operations list*](https://docs.rs/google-appengine1_beta4/3.0.0+20181005/google_appengine1_beta4/api::AppOperationListCall) and [*patch*](https://docs.rs/google-appengine1_beta4/3.0.0+20181005/google_appengine1_beta4/api::AppPatchCall) + * [*create*](https://docs.rs/google-appengine1_beta4/3.1.0+20181005/google_appengine1_beta4/api::AppCreateCall), [*get*](https://docs.rs/google-appengine1_beta4/3.1.0+20181005/google_appengine1_beta4/api::AppGetCall), [*locations get*](https://docs.rs/google-appengine1_beta4/3.1.0+20181005/google_appengine1_beta4/api::AppLocationGetCall), [*locations list*](https://docs.rs/google-appengine1_beta4/3.1.0+20181005/google_appengine1_beta4/api::AppLocationListCall), [*modules delete*](https://docs.rs/google-appengine1_beta4/3.1.0+20181005/google_appengine1_beta4/api::AppModuleDeleteCall), [*modules get*](https://docs.rs/google-appengine1_beta4/3.1.0+20181005/google_appengine1_beta4/api::AppModuleGetCall), [*modules list*](https://docs.rs/google-appengine1_beta4/3.1.0+20181005/google_appengine1_beta4/api::AppModuleListCall), [*modules patch*](https://docs.rs/google-appengine1_beta4/3.1.0+20181005/google_appengine1_beta4/api::AppModulePatchCall), [*modules versions create*](https://docs.rs/google-appengine1_beta4/3.1.0+20181005/google_appengine1_beta4/api::AppModuleVersionCreateCall), [*modules versions delete*](https://docs.rs/google-appengine1_beta4/3.1.0+20181005/google_appengine1_beta4/api::AppModuleVersionDeleteCall), [*modules versions get*](https://docs.rs/google-appengine1_beta4/3.1.0+20181005/google_appengine1_beta4/api::AppModuleVersionGetCall), [*modules versions instances debug*](https://docs.rs/google-appengine1_beta4/3.1.0+20181005/google_appengine1_beta4/api::AppModuleVersionInstanceDebugCall), [*modules versions instances delete*](https://docs.rs/google-appengine1_beta4/3.1.0+20181005/google_appengine1_beta4/api::AppModuleVersionInstanceDeleteCall), [*modules versions instances get*](https://docs.rs/google-appengine1_beta4/3.1.0+20181005/google_appengine1_beta4/api::AppModuleVersionInstanceGetCall), [*modules versions instances list*](https://docs.rs/google-appengine1_beta4/3.1.0+20181005/google_appengine1_beta4/api::AppModuleVersionInstanceListCall), [*modules versions list*](https://docs.rs/google-appengine1_beta4/3.1.0+20181005/google_appengine1_beta4/api::AppModuleVersionListCall), [*modules versions patch*](https://docs.rs/google-appengine1_beta4/3.1.0+20181005/google_appengine1_beta4/api::AppModuleVersionPatchCall), [*operations get*](https://docs.rs/google-appengine1_beta4/3.1.0+20181005/google_appengine1_beta4/api::AppOperationGetCall), [*operations list*](https://docs.rs/google-appengine1_beta4/3.1.0+20181005/google_appengine1_beta4/api::AppOperationListCall) and [*patch*](https://docs.rs/google-appengine1_beta4/3.1.0+20181005/google_appengine1_beta4/api::AppPatchCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-appengine1_beta4/3.0.0+20181005/google_appengine1_beta4/Appengine)** +* **[Hub](https://docs.rs/google-appengine1_beta4/3.1.0+20181005/google_appengine1_beta4/Appengine)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-appengine1_beta4/3.0.0+20181005/google_appengine1_beta4/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-appengine1_beta4/3.0.0+20181005/google_appengine1_beta4/client::CallBuilder) -* **[Resources](https://docs.rs/google-appengine1_beta4/3.0.0+20181005/google_appengine1_beta4/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-appengine1_beta4/3.1.0+20181005/google_appengine1_beta4/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-appengine1_beta4/3.1.0+20181005/google_appengine1_beta4/client::CallBuilder) +* **[Resources](https://docs.rs/google-appengine1_beta4/3.1.0+20181005/google_appengine1_beta4/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-appengine1_beta4/3.0.0+20181005/google_appengine1_beta4/client::Part)** + * **[Parts](https://docs.rs/google-appengine1_beta4/3.1.0+20181005/google_appengine1_beta4/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-appengine1_beta4/3.0.0+20181005/google_appengine1_beta4/client::CallBuilder)** +* **[Activities](https://docs.rs/google-appengine1_beta4/3.1.0+20181005/google_appengine1_beta4/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -100,7 +100,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -133,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-appengine1_beta4/3.0.0+20181005/google_appengine1_beta4/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-appengine1_beta4/3.1.0+20181005/google_appengine1_beta4/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-appengine1_beta4/3.0.0+20181005/google_appengine1_beta4/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-appengine1_beta4/3.1.0+20181005/google_appengine1_beta4/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-appengine1_beta4/3.0.0+20181005/google_appengine1_beta4/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-appengine1_beta4/3.1.0+20181005/google_appengine1_beta4/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-appengine1_beta4/3.0.0+20181005/google_appengine1_beta4/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-appengine1_beta4/3.1.0+20181005/google_appengine1_beta4/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -153,29 +153,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-appengine1_beta4/3.0.0+20181005/google_appengine1_beta4/client::Delegate) to the -[Method Builder](https://docs.rs/google-appengine1_beta4/3.0.0+20181005/google_appengine1_beta4/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-appengine1_beta4/3.1.0+20181005/google_appengine1_beta4/client::Delegate) to the +[Method Builder](https://docs.rs/google-appengine1_beta4/3.1.0+20181005/google_appengine1_beta4/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-appengine1_beta4/3.0.0+20181005/google_appengine1_beta4/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-appengine1_beta4/3.1.0+20181005/google_appengine1_beta4/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-appengine1_beta4/3.0.0+20181005/google_appengine1_beta4/client::RequestValue) and -[decodable](https://docs.rs/google-appengine1_beta4/3.0.0+20181005/google_appengine1_beta4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-appengine1_beta4/3.1.0+20181005/google_appengine1_beta4/client::RequestValue) and +[decodable](https://docs.rs/google-appengine1_beta4/3.1.0+20181005/google_appengine1_beta4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-appengine1_beta4/3.0.0+20181005/google_appengine1_beta4/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-appengine1_beta4/3.1.0+20181005/google_appengine1_beta4/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-appengine1_beta4/3.0.0+20181005/google_appengine1_beta4/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-appengine1_beta4/3.1.0+20181005/google_appengine1_beta4/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-appengine1_beta4/3.0.0+20181005/google_appengine1_beta4/client::RequestValue) are moved +* [request values](https://docs.rs/google-appengine1_beta4/3.1.0+20181005/google_appengine1_beta4/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/appengine1_beta4/src/api.rs b/gen/appengine1_beta4/src/api.rs index 28cbfe09e7..221ada5db1 100644 --- a/gen/appengine1_beta4/src/api.rs +++ b/gen/appengine1_beta4/src/api.rs @@ -79,7 +79,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -127,7 +127,7 @@ impl<'a, > Appengine<> { Appengine { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://appengine.googleapis.com/".to_string(), _root_url: "https://appengine.googleapis.com/".to_string(), } @@ -138,7 +138,7 @@ impl<'a, > Appengine<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1196,7 +1196,7 @@ impl client::Part for Volume {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `get(...)`, `locations_get(...)`, `locations_list(...)`, `modules_delete(...)`, `modules_get(...)`, `modules_list(...)`, `modules_patch(...)`, `modules_versions_create(...)`, `modules_versions_delete(...)`, `modules_versions_get(...)`, `modules_versions_instances_debug(...)`, `modules_versions_instances_delete(...)`, `modules_versions_instances_get(...)`, `modules_versions_instances_list(...)`, `modules_versions_list(...)`, `modules_versions_patch(...)`, `operations_get(...)`, `operations_list(...)` and `patch(...)` /// // to build up your call. @@ -1669,7 +1669,7 @@ impl<'a> AppMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1933,7 +1933,7 @@ impl<'a> AppLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2222,7 +2222,7 @@ impl<'a> AppLocationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2539,7 +2539,7 @@ impl<'a> AppModuleVersionInstanceDebugCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2827,7 +2827,7 @@ impl<'a> AppModuleVersionInstanceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3115,7 +3115,7 @@ impl<'a> AppModuleVersionInstanceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3416,7 +3416,7 @@ impl<'a> AppModuleVersionInstanceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3709,7 +3709,7 @@ impl<'a> AppModuleVersionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3985,7 +3985,7 @@ impl<'a> AppModuleVersionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4273,7 +4273,7 @@ impl<'a> AppModuleVersionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4578,7 +4578,7 @@ impl<'a> AppModuleVersionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4895,7 +4895,7 @@ impl<'a> AppModuleVersionPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5159,7 +5159,7 @@ impl<'a> AppModuleDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5423,7 +5423,7 @@ impl<'a> AppModuleGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5700,7 +5700,7 @@ impl<'a> AppModuleListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6017,7 +6017,7 @@ impl<'a> AppModulePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6281,7 +6281,7 @@ impl<'a> AppOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6572,7 +6572,7 @@ impl<'a> AppOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6820,7 +6820,7 @@ impl<'a> AppCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7087,7 +7087,7 @@ impl<'a> AppGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/appengine1_beta4/src/lib.rs b/gen/appengine1_beta4/src/lib.rs index 567c68a7f5..db2d95034f 100644 --- a/gen/appengine1_beta4/src/lib.rs +++ b/gen/appengine1_beta4/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *appengine* crate version *3.0.0+20181005*, where *20181005* is the exact revision of the *appengine:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *appengine* crate version *3.1.0+20181005*, where *20181005* is the exact revision of the *appengine:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *appengine* *v1_beta4* API can be found at the //! [official documentation site](https://cloud.google.com/appengine/docs/admin-api/). @@ -101,7 +101,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/appengine1_beta5-cli/Cargo.toml b/gen/appengine1_beta5-cli/Cargo.toml index 76cccd6636..5b244fe7d5 100644 --- a/gen/appengine1_beta5-cli/Cargo.toml +++ b/gen/appengine1_beta5-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-appengine1_beta5-cli" -version = "3.0.0+20181005" +version = "3.1.0+20181005" authors = ["Sebastian Thiel "] description = "A complete library to interact with appengine (protocol v1beta5)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/appengine1_beta5-cli" @@ -20,12 +20,12 @@ name = "appengine1-beta5" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-appengine1_beta5] path = "../appengine1_beta5" -version = "3.0.0+20181005" +version = "3.1.0+20181005" diff --git a/gen/appengine1_beta5-cli/README.md b/gen/appengine1_beta5-cli/README.md index 959481c144..2c6967233d 100644 --- a/gen/appengine1_beta5-cli/README.md +++ b/gen/appengine1_beta5-cli/README.md @@ -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 *appengine* API at revision *20181005*. The CLI is at version *3.0.0*. +This documentation was generated from the *appengine* API at revision *20181005*. The CLI is at version *3.1.0*. ```bash appengine1-beta5 [options] diff --git a/gen/appengine1_beta5-cli/mkdocs.yml b/gen/appengine1_beta5-cli/mkdocs.yml index 4ccb50b899..8d84aeb1ca 100644 --- a/gen/appengine1_beta5-cli/mkdocs.yml +++ b/gen/appengine1_beta5-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: appengine v3.0.0+20181005 +site_name: appengine v3.1.0+20181005 site_url: http://byron.github.io/google-apis-rs/google-appengine1_beta5-cli site_description: A complete library to interact with appengine (protocol v1beta5) diff --git a/gen/appengine1_beta5-cli/src/main.rs b/gen/appengine1_beta5-cli/src/main.rs index 67700ef0b1..12aeb35a2f 100644 --- a/gen/appengine1_beta5-cli/src/main.rs +++ b/gen/appengine1_beta5-cli/src/main.rs @@ -1605,7 +1605,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/appengine1-beta5", 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::Appengine::new(client, auth), @@ -2269,7 +2275,7 @@ async fn main() { let mut app = App::new("appengine1-beta5") .author("Sebastian Thiel ") - .version("3.0.0+20181005") + .version("3.1.0+20181005") .about("The App Engine Admin API enables developers to provision and manage their App Engine applications.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_appengine1_beta5_cli") .arg(Arg::with_name("url") diff --git a/gen/appengine1_beta5/Cargo.toml b/gen/appengine1_beta5/Cargo.toml index 3db8189fd9..e8801df4d1 100644 --- a/gen/appengine1_beta5/Cargo.toml +++ b/gen/appengine1_beta5/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-appengine1_beta5" -version = "3.0.0+20181005" +version = "3.1.0+20181005" authors = ["Sebastian Thiel "] description = "A complete library to interact with appengine (protocol v1beta5)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/appengine1_beta5" homepage = "https://cloud.google.com/appengine/docs/admin-api/" -documentation = "https://docs.rs/google-appengine1_beta5/3.0.0+20181005" +documentation = "https://docs.rs/google-appengine1_beta5/3.1.0+20181005" license = "MIT" keywords = ["appengine", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/appengine1_beta5/README.md b/gen/appengine1_beta5/README.md index ac2db21b04..8f5b75e835 100644 --- a/gen/appengine1_beta5/README.md +++ b/gen/appengine1_beta5/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-appengine1_beta5` library allows access to all features of the *Google appengine* service. -This documentation was generated from *appengine* crate version *3.0.0+20181005*, where *20181005* is the exact revision of the *appengine:v1beta5* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *appengine* crate version *3.1.0+20181005*, where *20181005* is the exact revision of the *appengine:v1beta5* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *appengine* *v1_beta5* API can be found at the [official documentation site](https://cloud.google.com/appengine/docs/admin-api/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-appengine1_beta5/3.0.0+20181005/google_appengine1_beta5/Appengine) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-appengine1_beta5/3.1.0+20181005/google_appengine1_beta5/Appengine) ... * apps - * [*create*](https://docs.rs/google-appengine1_beta5/3.0.0+20181005/google_appengine1_beta5/api::AppCreateCall), [*get*](https://docs.rs/google-appengine1_beta5/3.0.0+20181005/google_appengine1_beta5/api::AppGetCall), [*locations get*](https://docs.rs/google-appengine1_beta5/3.0.0+20181005/google_appengine1_beta5/api::AppLocationGetCall), [*locations list*](https://docs.rs/google-appengine1_beta5/3.0.0+20181005/google_appengine1_beta5/api::AppLocationListCall), [*operations get*](https://docs.rs/google-appengine1_beta5/3.0.0+20181005/google_appengine1_beta5/api::AppOperationGetCall), [*operations list*](https://docs.rs/google-appengine1_beta5/3.0.0+20181005/google_appengine1_beta5/api::AppOperationListCall), [*patch*](https://docs.rs/google-appengine1_beta5/3.0.0+20181005/google_appengine1_beta5/api::AppPatchCall), [*services delete*](https://docs.rs/google-appengine1_beta5/3.0.0+20181005/google_appengine1_beta5/api::AppServiceDeleteCall), [*services get*](https://docs.rs/google-appengine1_beta5/3.0.0+20181005/google_appengine1_beta5/api::AppServiceGetCall), [*services list*](https://docs.rs/google-appengine1_beta5/3.0.0+20181005/google_appengine1_beta5/api::AppServiceListCall), [*services patch*](https://docs.rs/google-appengine1_beta5/3.0.0+20181005/google_appengine1_beta5/api::AppServicePatchCall), [*services versions create*](https://docs.rs/google-appengine1_beta5/3.0.0+20181005/google_appengine1_beta5/api::AppServiceVersionCreateCall), [*services versions delete*](https://docs.rs/google-appengine1_beta5/3.0.0+20181005/google_appengine1_beta5/api::AppServiceVersionDeleteCall), [*services versions get*](https://docs.rs/google-appengine1_beta5/3.0.0+20181005/google_appengine1_beta5/api::AppServiceVersionGetCall), [*services versions instances debug*](https://docs.rs/google-appengine1_beta5/3.0.0+20181005/google_appengine1_beta5/api::AppServiceVersionInstanceDebugCall), [*services versions instances delete*](https://docs.rs/google-appengine1_beta5/3.0.0+20181005/google_appengine1_beta5/api::AppServiceVersionInstanceDeleteCall), [*services versions instances get*](https://docs.rs/google-appengine1_beta5/3.0.0+20181005/google_appengine1_beta5/api::AppServiceVersionInstanceGetCall), [*services versions instances list*](https://docs.rs/google-appengine1_beta5/3.0.0+20181005/google_appengine1_beta5/api::AppServiceVersionInstanceListCall), [*services versions list*](https://docs.rs/google-appengine1_beta5/3.0.0+20181005/google_appengine1_beta5/api::AppServiceVersionListCall) and [*services versions patch*](https://docs.rs/google-appengine1_beta5/3.0.0+20181005/google_appengine1_beta5/api::AppServiceVersionPatchCall) + * [*create*](https://docs.rs/google-appengine1_beta5/3.1.0+20181005/google_appengine1_beta5/api::AppCreateCall), [*get*](https://docs.rs/google-appengine1_beta5/3.1.0+20181005/google_appengine1_beta5/api::AppGetCall), [*locations get*](https://docs.rs/google-appengine1_beta5/3.1.0+20181005/google_appengine1_beta5/api::AppLocationGetCall), [*locations list*](https://docs.rs/google-appengine1_beta5/3.1.0+20181005/google_appengine1_beta5/api::AppLocationListCall), [*operations get*](https://docs.rs/google-appengine1_beta5/3.1.0+20181005/google_appengine1_beta5/api::AppOperationGetCall), [*operations list*](https://docs.rs/google-appengine1_beta5/3.1.0+20181005/google_appengine1_beta5/api::AppOperationListCall), [*patch*](https://docs.rs/google-appengine1_beta5/3.1.0+20181005/google_appengine1_beta5/api::AppPatchCall), [*services delete*](https://docs.rs/google-appengine1_beta5/3.1.0+20181005/google_appengine1_beta5/api::AppServiceDeleteCall), [*services get*](https://docs.rs/google-appengine1_beta5/3.1.0+20181005/google_appengine1_beta5/api::AppServiceGetCall), [*services list*](https://docs.rs/google-appengine1_beta5/3.1.0+20181005/google_appengine1_beta5/api::AppServiceListCall), [*services patch*](https://docs.rs/google-appengine1_beta5/3.1.0+20181005/google_appengine1_beta5/api::AppServicePatchCall), [*services versions create*](https://docs.rs/google-appengine1_beta5/3.1.0+20181005/google_appengine1_beta5/api::AppServiceVersionCreateCall), [*services versions delete*](https://docs.rs/google-appengine1_beta5/3.1.0+20181005/google_appengine1_beta5/api::AppServiceVersionDeleteCall), [*services versions get*](https://docs.rs/google-appengine1_beta5/3.1.0+20181005/google_appengine1_beta5/api::AppServiceVersionGetCall), [*services versions instances debug*](https://docs.rs/google-appengine1_beta5/3.1.0+20181005/google_appengine1_beta5/api::AppServiceVersionInstanceDebugCall), [*services versions instances delete*](https://docs.rs/google-appengine1_beta5/3.1.0+20181005/google_appengine1_beta5/api::AppServiceVersionInstanceDeleteCall), [*services versions instances get*](https://docs.rs/google-appengine1_beta5/3.1.0+20181005/google_appengine1_beta5/api::AppServiceVersionInstanceGetCall), [*services versions instances list*](https://docs.rs/google-appengine1_beta5/3.1.0+20181005/google_appengine1_beta5/api::AppServiceVersionInstanceListCall), [*services versions list*](https://docs.rs/google-appengine1_beta5/3.1.0+20181005/google_appengine1_beta5/api::AppServiceVersionListCall) and [*services versions patch*](https://docs.rs/google-appengine1_beta5/3.1.0+20181005/google_appengine1_beta5/api::AppServiceVersionPatchCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-appengine1_beta5/3.0.0+20181005/google_appengine1_beta5/Appengine)** +* **[Hub](https://docs.rs/google-appengine1_beta5/3.1.0+20181005/google_appengine1_beta5/Appengine)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-appengine1_beta5/3.0.0+20181005/google_appengine1_beta5/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-appengine1_beta5/3.0.0+20181005/google_appengine1_beta5/client::CallBuilder) -* **[Resources](https://docs.rs/google-appengine1_beta5/3.0.0+20181005/google_appengine1_beta5/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-appengine1_beta5/3.1.0+20181005/google_appengine1_beta5/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-appengine1_beta5/3.1.0+20181005/google_appengine1_beta5/client::CallBuilder) +* **[Resources](https://docs.rs/google-appengine1_beta5/3.1.0+20181005/google_appengine1_beta5/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-appengine1_beta5/3.0.0+20181005/google_appengine1_beta5/client::Part)** + * **[Parts](https://docs.rs/google-appengine1_beta5/3.1.0+20181005/google_appengine1_beta5/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-appengine1_beta5/3.0.0+20181005/google_appengine1_beta5/client::CallBuilder)** +* **[Activities](https://docs.rs/google-appengine1_beta5/3.1.0+20181005/google_appengine1_beta5/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -100,7 +100,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -133,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-appengine1_beta5/3.0.0+20181005/google_appengine1_beta5/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-appengine1_beta5/3.1.0+20181005/google_appengine1_beta5/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-appengine1_beta5/3.0.0+20181005/google_appengine1_beta5/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-appengine1_beta5/3.1.0+20181005/google_appengine1_beta5/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-appengine1_beta5/3.0.0+20181005/google_appengine1_beta5/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-appengine1_beta5/3.1.0+20181005/google_appengine1_beta5/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-appengine1_beta5/3.0.0+20181005/google_appengine1_beta5/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-appengine1_beta5/3.1.0+20181005/google_appengine1_beta5/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -153,29 +153,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-appengine1_beta5/3.0.0+20181005/google_appengine1_beta5/client::Delegate) to the -[Method Builder](https://docs.rs/google-appengine1_beta5/3.0.0+20181005/google_appengine1_beta5/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-appengine1_beta5/3.1.0+20181005/google_appengine1_beta5/client::Delegate) to the +[Method Builder](https://docs.rs/google-appengine1_beta5/3.1.0+20181005/google_appengine1_beta5/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-appengine1_beta5/3.0.0+20181005/google_appengine1_beta5/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-appengine1_beta5/3.1.0+20181005/google_appengine1_beta5/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-appengine1_beta5/3.0.0+20181005/google_appengine1_beta5/client::RequestValue) and -[decodable](https://docs.rs/google-appengine1_beta5/3.0.0+20181005/google_appengine1_beta5/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-appengine1_beta5/3.1.0+20181005/google_appengine1_beta5/client::RequestValue) and +[decodable](https://docs.rs/google-appengine1_beta5/3.1.0+20181005/google_appengine1_beta5/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-appengine1_beta5/3.0.0+20181005/google_appengine1_beta5/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-appengine1_beta5/3.1.0+20181005/google_appengine1_beta5/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-appengine1_beta5/3.0.0+20181005/google_appengine1_beta5/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-appengine1_beta5/3.1.0+20181005/google_appengine1_beta5/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-appengine1_beta5/3.0.0+20181005/google_appengine1_beta5/client::RequestValue) are moved +* [request values](https://docs.rs/google-appengine1_beta5/3.1.0+20181005/google_appengine1_beta5/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/appengine1_beta5/src/api.rs b/gen/appengine1_beta5/src/api.rs index cba9bc00f5..10d6f7a044 100644 --- a/gen/appengine1_beta5/src/api.rs +++ b/gen/appengine1_beta5/src/api.rs @@ -79,7 +79,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -127,7 +127,7 @@ impl<'a, > Appengine<> { Appengine { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://appengine.googleapis.com/".to_string(), _root_url: "https://appengine.googleapis.com/".to_string(), } @@ -138,7 +138,7 @@ impl<'a, > Appengine<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1175,7 +1175,7 @@ impl client::Part for Volume {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `get(...)`, `locations_get(...)`, `locations_list(...)`, `operations_get(...)`, `operations_list(...)`, `patch(...)`, `services_delete(...)`, `services_get(...)`, `services_list(...)`, `services_patch(...)`, `services_versions_create(...)`, `services_versions_delete(...)`, `services_versions_get(...)`, `services_versions_instances_debug(...)`, `services_versions_instances_delete(...)`, `services_versions_instances_get(...)`, `services_versions_instances_list(...)`, `services_versions_list(...)` and `services_versions_patch(...)` /// // to build up your call. @@ -1648,7 +1648,7 @@ impl<'a> AppMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1912,7 +1912,7 @@ impl<'a> AppLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2200,7 +2200,7 @@ impl<'a> AppLocationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2464,7 +2464,7 @@ impl<'a> AppOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2753,7 +2753,7 @@ impl<'a> AppOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3070,7 +3070,7 @@ impl<'a> AppServiceVersionInstanceDebugCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3358,7 +3358,7 @@ impl<'a> AppServiceVersionInstanceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3646,7 +3646,7 @@ impl<'a> AppServiceVersionInstanceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3947,7 +3947,7 @@ impl<'a> AppServiceVersionInstanceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4240,7 +4240,7 @@ impl<'a> AppServiceVersionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4516,7 +4516,7 @@ impl<'a> AppServiceVersionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4804,7 +4804,7 @@ impl<'a> AppServiceVersionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5109,7 +5109,7 @@ impl<'a> AppServiceVersionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5426,7 +5426,7 @@ impl<'a> AppServiceVersionPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5690,7 +5690,7 @@ impl<'a> AppServiceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5954,7 +5954,7 @@ impl<'a> AppServiceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6231,7 +6231,7 @@ impl<'a> AppServiceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6551,7 +6551,7 @@ impl<'a> AppServicePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6799,7 +6799,7 @@ impl<'a> AppCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7066,7 +7066,7 @@ impl<'a> AppGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/appengine1_beta5/src/lib.rs b/gen/appengine1_beta5/src/lib.rs index fca4414fab..9b53f164b7 100644 --- a/gen/appengine1_beta5/src/lib.rs +++ b/gen/appengine1_beta5/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *appengine* crate version *3.0.0+20181005*, where *20181005* is the exact revision of the *appengine:v1beta5* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *appengine* crate version *3.1.0+20181005*, where *20181005* is the exact revision of the *appengine:v1beta5* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *appengine* *v1_beta5* API can be found at the //! [official documentation site](https://cloud.google.com/appengine/docs/admin-api/). @@ -101,7 +101,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/appsactivity1-cli/Cargo.toml b/gen/appsactivity1-cli/Cargo.toml index b636a690da..721f7108bc 100644 --- a/gen/appsactivity1-cli/Cargo.toml +++ b/gen/appsactivity1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-appsactivity1-cli" -version = "3.0.0+20200628" +version = "3.1.0+20200628" authors = ["Sebastian Thiel "] description = "A complete library to interact with appsactivity (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/appsactivity1-cli" @@ -20,12 +20,12 @@ name = "appsactivity1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-appsactivity1] path = "../appsactivity1" -version = "3.0.0+20200628" +version = "3.1.0+20200628" diff --git a/gen/appsactivity1-cli/README.md b/gen/appsactivity1-cli/README.md index ce1c5205f9..8409a5ebef 100644 --- a/gen/appsactivity1-cli/README.md +++ b/gen/appsactivity1-cli/README.md @@ -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 *appsactivity* API at revision *20200628*. The CLI is at version *3.0.0*. +This documentation was generated from the *appsactivity* API at revision *20200628*. The CLI is at version *3.1.0*. ```bash appsactivity1 [options] diff --git a/gen/appsactivity1-cli/mkdocs.yml b/gen/appsactivity1-cli/mkdocs.yml index af30db7aca..d4e2ec34c4 100644 --- a/gen/appsactivity1-cli/mkdocs.yml +++ b/gen/appsactivity1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: appsactivity v3.0.0+20200628 +site_name: appsactivity v3.1.0+20200628 site_url: http://byron.github.io/google-apis-rs/google-appsactivity1-cli site_description: A complete library to interact with appsactivity (protocol v1) diff --git a/gen/appsactivity1-cli/src/main.rs b/gen/appsactivity1-cli/src/main.rs index 5ea976f8a1..46edbea800 100644 --- a/gen/appsactivity1-cli/src/main.rs +++ b/gen/appsactivity1-cli/src/main.rs @@ -166,7 +166,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/appsactivity1", 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::Appsactivity::new(client, auth), @@ -221,7 +227,7 @@ async fn main() { let mut app = App::new("appsactivity1") .author("Sebastian Thiel ") - .version("3.0.0+20200628") + .version("3.1.0+20200628") .about("Provides a historical view of activity.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_appsactivity1_cli") .arg(Arg::with_name("url") diff --git a/gen/appsactivity1/Cargo.toml b/gen/appsactivity1/Cargo.toml index 2d9c5aa486..1c745d804a 100644 --- a/gen/appsactivity1/Cargo.toml +++ b/gen/appsactivity1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-appsactivity1" -version = "3.0.0+20200628" +version = "3.1.0+20200628" authors = ["Sebastian Thiel "] description = "A complete library to interact with appsactivity (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/appsactivity1" homepage = "https://developers.google.com/google-apps/activity/" -documentation = "https://docs.rs/google-appsactivity1/3.0.0+20200628" +documentation = "https://docs.rs/google-appsactivity1/3.1.0+20200628" license = "MIT" keywords = ["appsactivity", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/appsactivity1/README.md b/gen/appsactivity1/README.md index bb7a05ecd5..0789ceedea 100644 --- a/gen/appsactivity1/README.md +++ b/gen/appsactivity1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-appsactivity1` library allows access to all features of the *Google appsactivity* service. -This documentation was generated from *appsactivity* crate version *3.0.0+20200628*, where *20200628* is the exact revision of the *appsactivity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *appsactivity* crate version *3.1.0+20200628*, where *20200628* is the exact revision of the *appsactivity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *appsactivity* *v1* API can be found at the [official documentation site](https://developers.google.com/google-apps/activity/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-appsactivity1/3.0.0+20200628/google_appsactivity1/Appsactivity) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-appsactivity1/3.1.0+20200628/google_appsactivity1/Appsactivity) ... -* [activities](https://docs.rs/google-appsactivity1/3.0.0+20200628/google_appsactivity1/api::Activity) - * [*list*](https://docs.rs/google-appsactivity1/3.0.0+20200628/google_appsactivity1/api::ActivityListCall) +* [activities](https://docs.rs/google-appsactivity1/3.1.0+20200628/google_appsactivity1/api::Activity) + * [*list*](https://docs.rs/google-appsactivity1/3.1.0+20200628/google_appsactivity1/api::ActivityListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-appsactivity1/3.0.0+20200628/google_appsactivity1/Appsactivity)** +* **[Hub](https://docs.rs/google-appsactivity1/3.1.0+20200628/google_appsactivity1/Appsactivity)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-appsactivity1/3.0.0+20200628/google_appsactivity1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-appsactivity1/3.0.0+20200628/google_appsactivity1/client::CallBuilder) -* **[Resources](https://docs.rs/google-appsactivity1/3.0.0+20200628/google_appsactivity1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-appsactivity1/3.1.0+20200628/google_appsactivity1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-appsactivity1/3.1.0+20200628/google_appsactivity1/client::CallBuilder) +* **[Resources](https://docs.rs/google-appsactivity1/3.1.0+20200628/google_appsactivity1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-appsactivity1/3.0.0+20200628/google_appsactivity1/client::Part)** + * **[Parts](https://docs.rs/google-appsactivity1/3.1.0+20200628/google_appsactivity1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-appsactivity1/3.0.0+20200628/google_appsactivity1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-appsactivity1/3.1.0+20200628/google_appsactivity1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -90,7 +90,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Appsactivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Appsactivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -125,17 +125,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-appsactivity1/3.0.0+20200628/google_appsactivity1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-appsactivity1/3.1.0+20200628/google_appsactivity1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-appsactivity1/3.0.0+20200628/google_appsactivity1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-appsactivity1/3.1.0+20200628/google_appsactivity1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-appsactivity1/3.0.0+20200628/google_appsactivity1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-appsactivity1/3.1.0+20200628/google_appsactivity1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-appsactivity1/3.0.0+20200628/google_appsactivity1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-appsactivity1/3.1.0+20200628/google_appsactivity1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -145,29 +145,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-appsactivity1/3.0.0+20200628/google_appsactivity1/client::Delegate) to the -[Method Builder](https://docs.rs/google-appsactivity1/3.0.0+20200628/google_appsactivity1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-appsactivity1/3.1.0+20200628/google_appsactivity1/client::Delegate) to the +[Method Builder](https://docs.rs/google-appsactivity1/3.1.0+20200628/google_appsactivity1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-appsactivity1/3.0.0+20200628/google_appsactivity1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-appsactivity1/3.1.0+20200628/google_appsactivity1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-appsactivity1/3.0.0+20200628/google_appsactivity1/client::RequestValue) and -[decodable](https://docs.rs/google-appsactivity1/3.0.0+20200628/google_appsactivity1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-appsactivity1/3.1.0+20200628/google_appsactivity1/client::RequestValue) and +[decodable](https://docs.rs/google-appsactivity1/3.1.0+20200628/google_appsactivity1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-appsactivity1/3.0.0+20200628/google_appsactivity1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-appsactivity1/3.1.0+20200628/google_appsactivity1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-appsactivity1/3.0.0+20200628/google_appsactivity1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-appsactivity1/3.1.0+20200628/google_appsactivity1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-appsactivity1/3.0.0+20200628/google_appsactivity1/client::RequestValue) are moved +* [request values](https://docs.rs/google-appsactivity1/3.1.0+20200628/google_appsactivity1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/appsactivity1/src/api.rs b/gen/appsactivity1/src/api.rs index c1425dc810..033ed4cc68 100644 --- a/gen/appsactivity1/src/api.rs +++ b/gen/appsactivity1/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Appsactivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Appsactivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > Appsactivity<> { Appsactivity { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/appsactivity/v1/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > Appsactivity<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -408,7 +408,7 @@ impl client::Part for User {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Appsactivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Appsactivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -475,7 +475,7 @@ impl<'a> ActivityMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Appsactivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Appsactivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/appsactivity1/src/lib.rs b/gen/appsactivity1/src/lib.rs index 77e15c6f28..7474af3ddd 100644 --- a/gen/appsactivity1/src/lib.rs +++ b/gen/appsactivity1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *appsactivity* crate version *3.0.0+20200628*, where *20200628* is the exact revision of the *appsactivity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *appsactivity* crate version *3.1.0+20200628*, where *20200628* is the exact revision of the *appsactivity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *appsactivity* *v1* API can be found at the //! [official documentation site](https://developers.google.com/google-apps/activity/). @@ -91,7 +91,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Appsactivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Appsactivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/appstate1-cli/Cargo.toml b/gen/appstate1-cli/Cargo.toml index 66c5579ce7..ee010ef063 100644 --- a/gen/appstate1-cli/Cargo.toml +++ b/gen/appstate1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-appstate1-cli" -version = "3.0.0+20190627" +version = "3.1.0+20190627" authors = ["Sebastian Thiel "] description = "A complete library to interact with App State (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/appstate1-cli" @@ -20,12 +20,12 @@ name = "appstate1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-appstate1] path = "../appstate1" -version = "3.0.0+20190627" +version = "3.1.0+20190627" diff --git a/gen/appstate1-cli/README.md b/gen/appstate1-cli/README.md index 9399d1f0fc..9258ac5005 100644 --- a/gen/appstate1-cli/README.md +++ b/gen/appstate1-cli/README.md @@ -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 *App State* API at revision *20190627*. The CLI is at version *3.0.0*. +This documentation was generated from the *App State* API at revision *20190627*. The CLI is at version *3.1.0*. ```bash appstate1 [options] diff --git a/gen/appstate1-cli/mkdocs.yml b/gen/appstate1-cli/mkdocs.yml index 773bda7c78..fddd6e42de 100644 --- a/gen/appstate1-cli/mkdocs.yml +++ b/gen/appstate1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: App State v3.0.0+20190627 +site_name: App State v3.1.0+20190627 site_url: http://byron.github.io/google-apis-rs/google-appstate1-cli site_description: A complete library to interact with App State (protocol v1) diff --git a/gen/appstate1-cli/src/main.rs b/gen/appstate1-cli/src/main.rs index 0e6397f05f..f416990a53 100644 --- a/gen/appstate1-cli/src/main.rs +++ b/gen/appstate1-cli/src/main.rs @@ -406,7 +406,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/appstate1", 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::AppState::new(client, auth), @@ -549,7 +555,7 @@ async fn main() { let mut app = App::new("appstate1") .author("Sebastian Thiel ") - .version("3.0.0+20190627") + .version("3.1.0+20190627") .about("The Google App State API.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_appstate1_cli") .arg(Arg::with_name("url") diff --git a/gen/appstate1/Cargo.toml b/gen/appstate1/Cargo.toml index ebef4d455e..c32187516b 100644 --- a/gen/appstate1/Cargo.toml +++ b/gen/appstate1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-appstate1" -version = "3.0.0+20190627" +version = "3.1.0+20190627" authors = ["Sebastian Thiel "] description = "A complete library to interact with App State (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/appstate1" homepage = "https://developers.google.com/games/services/web/api/states" -documentation = "https://docs.rs/google-appstate1/3.0.0+20190627" +documentation = "https://docs.rs/google-appstate1/3.1.0+20190627" license = "MIT" keywords = ["appstate", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/appstate1/README.md b/gen/appstate1/README.md index 39966ccf0e..4cda15d567 100644 --- a/gen/appstate1/README.md +++ b/gen/appstate1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-appstate1` library allows access to all features of the *Google App State* service. -This documentation was generated from *App State* crate version *3.0.0+20190627*, where *20190627* is the exact revision of the *appstate:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *App State* crate version *3.1.0+20190627*, where *20190627* is the exact revision of the *appstate:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *App State* *v1* API can be found at the [official documentation site](https://developers.google.com/games/services/web/api/states). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-appstate1/3.0.0+20190627/google_appstate1/AppState) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-appstate1/3.1.0+20190627/google_appstate1/AppState) ... * states - * [*clear*](https://docs.rs/google-appstate1/3.0.0+20190627/google_appstate1/api::StateClearCall), [*delete*](https://docs.rs/google-appstate1/3.0.0+20190627/google_appstate1/api::StateDeleteCall), [*get*](https://docs.rs/google-appstate1/3.0.0+20190627/google_appstate1/api::StateGetCall), [*list*](https://docs.rs/google-appstate1/3.0.0+20190627/google_appstate1/api::StateListCall) and [*update*](https://docs.rs/google-appstate1/3.0.0+20190627/google_appstate1/api::StateUpdateCall) + * [*clear*](https://docs.rs/google-appstate1/3.1.0+20190627/google_appstate1/api::StateClearCall), [*delete*](https://docs.rs/google-appstate1/3.1.0+20190627/google_appstate1/api::StateDeleteCall), [*get*](https://docs.rs/google-appstate1/3.1.0+20190627/google_appstate1/api::StateGetCall), [*list*](https://docs.rs/google-appstate1/3.1.0+20190627/google_appstate1/api::StateListCall) and [*update*](https://docs.rs/google-appstate1/3.1.0+20190627/google_appstate1/api::StateUpdateCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-appstate1/3.0.0+20190627/google_appstate1/AppState)** +* **[Hub](https://docs.rs/google-appstate1/3.1.0+20190627/google_appstate1/AppState)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-appstate1/3.0.0+20190627/google_appstate1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-appstate1/3.0.0+20190627/google_appstate1/client::CallBuilder) -* **[Resources](https://docs.rs/google-appstate1/3.0.0+20190627/google_appstate1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-appstate1/3.1.0+20190627/google_appstate1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-appstate1/3.1.0+20190627/google_appstate1/client::CallBuilder) +* **[Resources](https://docs.rs/google-appstate1/3.1.0+20190627/google_appstate1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-appstate1/3.0.0+20190627/google_appstate1/client::Part)** + * **[Parts](https://docs.rs/google-appstate1/3.1.0+20190627/google_appstate1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-appstate1/3.0.0+20190627/google_appstate1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-appstate1/3.1.0+20190627/google_appstate1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -92,7 +92,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = AppState::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = AppState::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -126,17 +126,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-appstate1/3.0.0+20190627/google_appstate1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-appstate1/3.1.0+20190627/google_appstate1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-appstate1/3.0.0+20190627/google_appstate1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-appstate1/3.1.0+20190627/google_appstate1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-appstate1/3.0.0+20190627/google_appstate1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-appstate1/3.1.0+20190627/google_appstate1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-appstate1/3.0.0+20190627/google_appstate1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-appstate1/3.1.0+20190627/google_appstate1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -146,29 +146,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-appstate1/3.0.0+20190627/google_appstate1/client::Delegate) to the -[Method Builder](https://docs.rs/google-appstate1/3.0.0+20190627/google_appstate1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-appstate1/3.1.0+20190627/google_appstate1/client::Delegate) to the +[Method Builder](https://docs.rs/google-appstate1/3.1.0+20190627/google_appstate1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-appstate1/3.0.0+20190627/google_appstate1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-appstate1/3.1.0+20190627/google_appstate1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-appstate1/3.0.0+20190627/google_appstate1/client::RequestValue) and -[decodable](https://docs.rs/google-appstate1/3.0.0+20190627/google_appstate1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-appstate1/3.1.0+20190627/google_appstate1/client::RequestValue) and +[decodable](https://docs.rs/google-appstate1/3.1.0+20190627/google_appstate1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-appstate1/3.0.0+20190627/google_appstate1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-appstate1/3.1.0+20190627/google_appstate1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-appstate1/3.0.0+20190627/google_appstate1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-appstate1/3.1.0+20190627/google_appstate1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-appstate1/3.0.0+20190627/google_appstate1/client::RequestValue) are moved +* [request values](https://docs.rs/google-appstate1/3.1.0+20190627/google_appstate1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/appstate1/src/api.rs b/gen/appstate1/src/api.rs index 0dc62c42c3..6f704270e1 100644 --- a/gen/appstate1/src/api.rs +++ b/gen/appstate1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AppState::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AppState::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > AppState<> { AppState { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/appstate/v1/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > AppState<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -279,7 +279,7 @@ impl client::ResponseResult for WriteResult {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AppState::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AppState::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `clear(...)`, `delete(...)`, `get(...)`, `list(...)` and `update(...)` /// // to build up your call. @@ -412,7 +412,7 @@ impl<'a> StateMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AppState::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AppState::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -672,7 +672,7 @@ impl<'a> StateClearCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AppState::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AppState::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -909,7 +909,7 @@ impl<'a> StateDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AppState::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AppState::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1157,7 +1157,7 @@ impl<'a> StateGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AppState::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AppState::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1385,7 +1385,7 @@ impl<'a> StateListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AppState::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AppState::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/appstate1/src/lib.rs b/gen/appstate1/src/lib.rs index 996c37eff7..1692ded76b 100644 --- a/gen/appstate1/src/lib.rs +++ b/gen/appstate1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *App State* crate version *3.0.0+20190627*, where *20190627* is the exact revision of the *appstate:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *App State* crate version *3.1.0+20190627*, where *20190627* is the exact revision of the *appstate:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *App State* *v1* API can be found at the //! [official documentation site](https://developers.google.com/games/services/web/api/states). @@ -93,7 +93,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = AppState::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = AppState::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/area120tables1_alpha1-cli/Cargo.toml b/gen/area120tables1_alpha1-cli/Cargo.toml index 1f07baaa75..c88ebd1c1a 100644 --- a/gen/area120tables1_alpha1-cli/Cargo.toml +++ b/gen/area120tables1_alpha1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-area120tables1_alpha1-cli" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with Area120 Tables (protocol v1alpha1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/area120tables1_alpha1-cli" @@ -20,12 +20,12 @@ name = "area120tables1-alpha1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-area120tables1_alpha1] path = "../area120tables1_alpha1" -version = "3.0.0+20220301" +version = "3.1.0+20220301" diff --git a/gen/area120tables1_alpha1-cli/README.md b/gen/area120tables1_alpha1-cli/README.md index bd4053d512..97d9361ea9 100644 --- a/gen/area120tables1_alpha1-cli/README.md +++ b/gen/area120tables1_alpha1-cli/README.md @@ -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 *Area120 Tables* API at revision *20220301*. The CLI is at version *3.0.0*. +This documentation was generated from the *Area120 Tables* API at revision *20220301*. The CLI is at version *3.1.0*. ```bash area120tables1-alpha1 [options] diff --git a/gen/area120tables1_alpha1-cli/mkdocs.yml b/gen/area120tables1_alpha1-cli/mkdocs.yml index 136d297e37..75a542f1af 100644 --- a/gen/area120tables1_alpha1-cli/mkdocs.yml +++ b/gen/area120tables1_alpha1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Area120 Tables v3.0.0+20220301 +site_name: Area120 Tables v3.1.0+20220301 site_url: http://byron.github.io/google-apis-rs/google-area120tables1_alpha1-cli site_description: A complete library to interact with Area120 Tables (protocol v1alpha1) diff --git a/gen/area120tables1_alpha1-cli/src/main.rs b/gen/area120tables1_alpha1-cli/src/main.rs index 7b2b112d94..11f1edcc13 100644 --- a/gen/area120tables1_alpha1-cli/src/main.rs +++ b/gen/area120tables1_alpha1-cli/src/main.rs @@ -972,7 +972,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/area120tables1-alpha1", 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::Area120Tables::new(client, auth), @@ -1299,7 +1305,7 @@ async fn main() { let mut app = App::new("area120tables1-alpha1") .author("Sebastian Thiel ") - .version("3.0.0+20220301") + .version("3.1.0+20220301") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_area120tables1_alpha1_cli") .arg(Arg::with_name("url") diff --git a/gen/area120tables1_alpha1/Cargo.toml b/gen/area120tables1_alpha1/Cargo.toml index 0eabbb7174..74e10e1b48 100644 --- a/gen/area120tables1_alpha1/Cargo.toml +++ b/gen/area120tables1_alpha1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-area120tables1_alpha1" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with Area120 Tables (protocol v1alpha1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/area120tables1_alpha1" homepage = "https://support.google.com/area120-tables/answer/10011390" -documentation = "https://docs.rs/google-area120tables1_alpha1/3.0.0+20220301" +documentation = "https://docs.rs/google-area120tables1_alpha1/3.1.0+20220301" license = "MIT" keywords = ["area120tables", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/area120tables1_alpha1/README.md b/gen/area120tables1_alpha1/README.md index ff592c5916..fb764fe983 100644 --- a/gen/area120tables1_alpha1/README.md +++ b/gen/area120tables1_alpha1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-area120tables1_alpha1` library allows access to all features of the *Google Area120 Tables* service. -This documentation was generated from *Area120 Tables* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *area120tables:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Area120 Tables* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *area120tables:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Area120 Tables* *v1_alpha1* API can be found at the [official documentation site](https://support.google.com/area120-tables/answer/10011390). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-area120tables1_alpha1/3.0.0+20220301/google_area120tables1_alpha1/Area120Tables) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-area120tables1_alpha1/3.1.0+20220301/google_area120tables1_alpha1/Area120Tables) ... -* [tables](https://docs.rs/google-area120tables1_alpha1/3.0.0+20220301/google_area120tables1_alpha1/api::Table) - * [*get*](https://docs.rs/google-area120tables1_alpha1/3.0.0+20220301/google_area120tables1_alpha1/api::TableGetCall), [*list*](https://docs.rs/google-area120tables1_alpha1/3.0.0+20220301/google_area120tables1_alpha1/api::TableListCall), [*rows batch create*](https://docs.rs/google-area120tables1_alpha1/3.0.0+20220301/google_area120tables1_alpha1/api::TableRowBatchCreateCall), [*rows batch delete*](https://docs.rs/google-area120tables1_alpha1/3.0.0+20220301/google_area120tables1_alpha1/api::TableRowBatchDeleteCall), [*rows batch update*](https://docs.rs/google-area120tables1_alpha1/3.0.0+20220301/google_area120tables1_alpha1/api::TableRowBatchUpdateCall), [*rows create*](https://docs.rs/google-area120tables1_alpha1/3.0.0+20220301/google_area120tables1_alpha1/api::TableRowCreateCall), [*rows delete*](https://docs.rs/google-area120tables1_alpha1/3.0.0+20220301/google_area120tables1_alpha1/api::TableRowDeleteCall), [*rows get*](https://docs.rs/google-area120tables1_alpha1/3.0.0+20220301/google_area120tables1_alpha1/api::TableRowGetCall), [*rows list*](https://docs.rs/google-area120tables1_alpha1/3.0.0+20220301/google_area120tables1_alpha1/api::TableRowListCall) and [*rows patch*](https://docs.rs/google-area120tables1_alpha1/3.0.0+20220301/google_area120tables1_alpha1/api::TableRowPatchCall) -* [workspaces](https://docs.rs/google-area120tables1_alpha1/3.0.0+20220301/google_area120tables1_alpha1/api::Workspace) - * [*get*](https://docs.rs/google-area120tables1_alpha1/3.0.0+20220301/google_area120tables1_alpha1/api::WorkspaceGetCall) and [*list*](https://docs.rs/google-area120tables1_alpha1/3.0.0+20220301/google_area120tables1_alpha1/api::WorkspaceListCall) +* [tables](https://docs.rs/google-area120tables1_alpha1/3.1.0+20220301/google_area120tables1_alpha1/api::Table) + * [*get*](https://docs.rs/google-area120tables1_alpha1/3.1.0+20220301/google_area120tables1_alpha1/api::TableGetCall), [*list*](https://docs.rs/google-area120tables1_alpha1/3.1.0+20220301/google_area120tables1_alpha1/api::TableListCall), [*rows batch create*](https://docs.rs/google-area120tables1_alpha1/3.1.0+20220301/google_area120tables1_alpha1/api::TableRowBatchCreateCall), [*rows batch delete*](https://docs.rs/google-area120tables1_alpha1/3.1.0+20220301/google_area120tables1_alpha1/api::TableRowBatchDeleteCall), [*rows batch update*](https://docs.rs/google-area120tables1_alpha1/3.1.0+20220301/google_area120tables1_alpha1/api::TableRowBatchUpdateCall), [*rows create*](https://docs.rs/google-area120tables1_alpha1/3.1.0+20220301/google_area120tables1_alpha1/api::TableRowCreateCall), [*rows delete*](https://docs.rs/google-area120tables1_alpha1/3.1.0+20220301/google_area120tables1_alpha1/api::TableRowDeleteCall), [*rows get*](https://docs.rs/google-area120tables1_alpha1/3.1.0+20220301/google_area120tables1_alpha1/api::TableRowGetCall), [*rows list*](https://docs.rs/google-area120tables1_alpha1/3.1.0+20220301/google_area120tables1_alpha1/api::TableRowListCall) and [*rows patch*](https://docs.rs/google-area120tables1_alpha1/3.1.0+20220301/google_area120tables1_alpha1/api::TableRowPatchCall) +* [workspaces](https://docs.rs/google-area120tables1_alpha1/3.1.0+20220301/google_area120tables1_alpha1/api::Workspace) + * [*get*](https://docs.rs/google-area120tables1_alpha1/3.1.0+20220301/google_area120tables1_alpha1/api::WorkspaceGetCall) and [*list*](https://docs.rs/google-area120tables1_alpha1/3.1.0+20220301/google_area120tables1_alpha1/api::WorkspaceListCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-area120tables1_alpha1/3.0.0+20220301/google_area120tables1_alpha1/Area120Tables)** +* **[Hub](https://docs.rs/google-area120tables1_alpha1/3.1.0+20220301/google_area120tables1_alpha1/Area120Tables)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-area120tables1_alpha1/3.0.0+20220301/google_area120tables1_alpha1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-area120tables1_alpha1/3.0.0+20220301/google_area120tables1_alpha1/client::CallBuilder) -* **[Resources](https://docs.rs/google-area120tables1_alpha1/3.0.0+20220301/google_area120tables1_alpha1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-area120tables1_alpha1/3.1.0+20220301/google_area120tables1_alpha1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-area120tables1_alpha1/3.1.0+20220301/google_area120tables1_alpha1/client::CallBuilder) +* **[Resources](https://docs.rs/google-area120tables1_alpha1/3.1.0+20220301/google_area120tables1_alpha1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-area120tables1_alpha1/3.0.0+20220301/google_area120tables1_alpha1/client::Part)** + * **[Parts](https://docs.rs/google-area120tables1_alpha1/3.1.0+20220301/google_area120tables1_alpha1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-area120tables1_alpha1/3.0.0+20220301/google_area120tables1_alpha1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-area120tables1_alpha1/3.1.0+20220301/google_area120tables1_alpha1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -101,7 +101,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Area120Tables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Area120Tables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-area120tables1_alpha1/3.0.0+20220301/google_area120tables1_alpha1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-area120tables1_alpha1/3.1.0+20220301/google_area120tables1_alpha1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-area120tables1_alpha1/3.0.0+20220301/google_area120tables1_alpha1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-area120tables1_alpha1/3.1.0+20220301/google_area120tables1_alpha1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-area120tables1_alpha1/3.0.0+20220301/google_area120tables1_alpha1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-area120tables1_alpha1/3.1.0+20220301/google_area120tables1_alpha1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-area120tables1_alpha1/3.0.0+20220301/google_area120tables1_alpha1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-area120tables1_alpha1/3.1.0+20220301/google_area120tables1_alpha1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -154,29 +154,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-area120tables1_alpha1/3.0.0+20220301/google_area120tables1_alpha1/client::Delegate) to the -[Method Builder](https://docs.rs/google-area120tables1_alpha1/3.0.0+20220301/google_area120tables1_alpha1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-area120tables1_alpha1/3.1.0+20220301/google_area120tables1_alpha1/client::Delegate) to the +[Method Builder](https://docs.rs/google-area120tables1_alpha1/3.1.0+20220301/google_area120tables1_alpha1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-area120tables1_alpha1/3.0.0+20220301/google_area120tables1_alpha1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-area120tables1_alpha1/3.1.0+20220301/google_area120tables1_alpha1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-area120tables1_alpha1/3.0.0+20220301/google_area120tables1_alpha1/client::RequestValue) and -[decodable](https://docs.rs/google-area120tables1_alpha1/3.0.0+20220301/google_area120tables1_alpha1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-area120tables1_alpha1/3.1.0+20220301/google_area120tables1_alpha1/client::RequestValue) and +[decodable](https://docs.rs/google-area120tables1_alpha1/3.1.0+20220301/google_area120tables1_alpha1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-area120tables1_alpha1/3.0.0+20220301/google_area120tables1_alpha1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-area120tables1_alpha1/3.1.0+20220301/google_area120tables1_alpha1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-area120tables1_alpha1/3.0.0+20220301/google_area120tables1_alpha1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-area120tables1_alpha1/3.1.0+20220301/google_area120tables1_alpha1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-area120tables1_alpha1/3.0.0+20220301/google_area120tables1_alpha1/client::RequestValue) are moved +* [request values](https://docs.rs/google-area120tables1_alpha1/3.1.0+20220301/google_area120tables1_alpha1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/area120tables1_alpha1/src/api.rs b/gen/area120tables1_alpha1/src/api.rs index 876bec20a0..3bfcba7f8b 100644 --- a/gen/area120tables1_alpha1/src/api.rs +++ b/gen/area120tables1_alpha1/src/api.rs @@ -90,7 +90,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Area120Tables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Area120Tables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -138,7 +138,7 @@ impl<'a, > Area120Tables<> { Area120Tables { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://area120tables.googleapis.com/".to_string(), _root_url: "https://area120tables.googleapis.com/".to_string(), } @@ -152,7 +152,7 @@ impl<'a, > Area120Tables<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -624,7 +624,7 @@ impl client::ResponseResult for Workspace {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Area120Tables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Area120Tables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)`, `rows_batch_create(...)`, `rows_batch_delete(...)`, `rows_batch_update(...)`, `rows_create(...)`, `rows_delete(...)`, `rows_get(...)`, `rows_list(...)` and `rows_patch(...)` /// // to build up your call. @@ -852,7 +852,7 @@ impl<'a> TableMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Area120Tables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Area120Tables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -932,7 +932,7 @@ impl<'a> WorkspaceMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Area120Tables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Area120Tables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1218,7 +1218,7 @@ impl<'a> TableRowBatchCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Area120Tables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Area120Tables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1504,7 +1504,7 @@ impl<'a> TableRowBatchDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Area120Tables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Area120Tables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1790,7 +1790,7 @@ impl<'a> TableRowBatchUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Area120Tables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Area120Tables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2087,7 +2087,7 @@ impl<'a> TableRowCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Area120Tables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Area120Tables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2343,7 +2343,7 @@ impl<'a> TableRowDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Area120Tables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Area120Tables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2611,7 +2611,7 @@ impl<'a> TableRowGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Area120Tables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Area120Tables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2928,7 +2928,7 @@ impl<'a> TableRowListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Area120Tables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Area120Tables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3237,7 +3237,7 @@ impl<'a> TableRowPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Area120Tables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Area120Tables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3493,7 +3493,7 @@ impl<'a> TableGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Area120Tables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Area120Tables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3748,7 +3748,7 @@ impl<'a> TableListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Area120Tables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Area120Tables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4004,7 +4004,7 @@ impl<'a> WorkspaceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Area120Tables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Area120Tables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/area120tables1_alpha1/src/lib.rs b/gen/area120tables1_alpha1/src/lib.rs index 61dc81c0c2..cdb401ce9e 100644 --- a/gen/area120tables1_alpha1/src/lib.rs +++ b/gen/area120tables1_alpha1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Area120 Tables* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *area120tables:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Area120 Tables* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *area120tables:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Area120 Tables* *v1_alpha1* API can be found at the //! [official documentation site](https://support.google.com/area120-tables/answer/10011390). @@ -102,7 +102,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Area120Tables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Area120Tables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/artifactregistry1-cli/Cargo.toml b/gen/artifactregistry1-cli/Cargo.toml index 548fdfff77..e1719fafea 100644 --- a/gen/artifactregistry1-cli/Cargo.toml +++ b/gen/artifactregistry1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-artifactregistry1-cli" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with Artifact Registry (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/artifactregistry1-cli" @@ -20,12 +20,12 @@ name = "artifactregistry1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-artifactregistry1] path = "../artifactregistry1" -version = "3.0.0+20220225" +version = "3.1.0+20220225" diff --git a/gen/artifactregistry1-cli/README.md b/gen/artifactregistry1-cli/README.md index b023d2635b..7ff6e9871d 100644 --- a/gen/artifactregistry1-cli/README.md +++ b/gen/artifactregistry1-cli/README.md @@ -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 *Artifact Registry* API at revision *20220225*. The CLI is at version *3.0.0*. +This documentation was generated from the *Artifact Registry* API at revision *20220225*. The CLI is at version *3.1.0*. ```bash artifactregistry1 [options] diff --git a/gen/artifactregistry1-cli/mkdocs.yml b/gen/artifactregistry1-cli/mkdocs.yml index cca3d95b81..6eadbccd7d 100644 --- a/gen/artifactregistry1-cli/mkdocs.yml +++ b/gen/artifactregistry1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Artifact Registry v3.0.0+20220225 +site_name: Artifact Registry v3.1.0+20220225 site_url: http://byron.github.io/google-apis-rs/google-artifactregistry1-cli site_description: A complete library to interact with Artifact Registry (protocol v1) diff --git a/gen/artifactregistry1-cli/src/main.rs b/gen/artifactregistry1-cli/src/main.rs index c86291757d..fecf1cac0a 100644 --- a/gen/artifactregistry1-cli/src/main.rs +++ b/gen/artifactregistry1-cli/src/main.rs @@ -2396,7 +2396,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/artifactregistry1", 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::ArtifactRegistry::new(client, auth), @@ -3239,7 +3245,7 @@ async fn main() { let mut app = App::new("artifactregistry1") .author("Sebastian Thiel ") - .version("3.0.0+20220225") + .version("3.1.0+20220225") .about("Store and manage build artifacts in a scalable and integrated service built on Google infrastructure.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_artifactregistry1_cli") .arg(Arg::with_name("url") diff --git a/gen/artifactregistry1/Cargo.toml b/gen/artifactregistry1/Cargo.toml index 70240a7479..eadeb7de85 100644 --- a/gen/artifactregistry1/Cargo.toml +++ b/gen/artifactregistry1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-artifactregistry1" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with Artifact Registry (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/artifactregistry1" homepage = "https://cloud.google.com/artifacts/docs/" -documentation = "https://docs.rs/google-artifactregistry1/3.0.0+20220225" +documentation = "https://docs.rs/google-artifactregistry1/3.1.0+20220225" license = "MIT" keywords = ["artifactregistry", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/artifactregistry1/README.md b/gen/artifactregistry1/README.md index 70461c0819..d543b63b3e 100644 --- a/gen/artifactregistry1/README.md +++ b/gen/artifactregistry1/README.md @@ -5,23 +5,23 @@ DO NOT EDIT ! --> The `google-artifactregistry1` library allows access to all features of the *Google Artifact Registry* service. -This documentation was generated from *Artifact Registry* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *artifactregistry:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Artifact Registry* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *artifactregistry:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Artifact Registry* *v1* API can be found at the [official documentation site](https://cloud.google.com/artifacts/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/ArtifactRegistry) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/ArtifactRegistry) ... * projects - * [*get project settings*](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/api::ProjectGetProjectSettingCall), [*locations operations get*](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/api::ProjectLocationOperationGetCall), [*locations repositories apt artifacts import*](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryAptArtifactImportCall), [*locations repositories apt artifacts upload*](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryAptArtifactUploadCall), [*locations repositories create*](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryCreateCall), [*locations repositories delete*](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryDeleteCall), [*locations repositories docker images get*](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryDockerImageGetCall), [*locations repositories docker images list*](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryDockerImageListCall), [*locations repositories files get*](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryFileGetCall), [*locations repositories files list*](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryFileListCall), [*locations repositories get*](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryGetCall), [*locations repositories get iam policy*](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryGetIamPolicyCall), [*locations repositories goo get artifacts import*](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryGooGetArtifactImportCall), [*locations repositories googet artifacts upload*](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryGoogetArtifactUploadCall), [*locations repositories list*](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryListCall), [*locations repositories packages delete*](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryPackageDeleteCall), [*locations repositories packages get*](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryPackageGetCall), [*locations repositories packages list*](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryPackageListCall), [*locations repositories packages tags create*](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryPackageTagCreateCall), [*locations repositories packages tags delete*](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryPackageTagDeleteCall), [*locations repositories packages tags get*](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryPackageTagGetCall), [*locations repositories packages tags list*](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryPackageTagListCall), [*locations repositories packages tags patch*](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryPackageTagPatchCall), [*locations repositories packages versions delete*](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryPackageVersionDeleteCall), [*locations repositories packages versions get*](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryPackageVersionGetCall), [*locations repositories packages versions list*](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryPackageVersionListCall), [*locations repositories patch*](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryPatchCall), [*locations repositories set iam policy*](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/api::ProjectLocationRepositorySetIamPolicyCall), [*locations repositories test iam permissions*](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryTestIamPermissionCall), [*locations repositories yum artifacts import*](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryYumArtifactImportCall), [*locations repositories yum artifacts upload*](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryYumArtifactUploadCall) and [*update project settings*](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/api::ProjectUpdateProjectSettingCall) + * [*get project settings*](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/api::ProjectGetProjectSettingCall), [*locations operations get*](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/api::ProjectLocationOperationGetCall), [*locations repositories apt artifacts import*](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryAptArtifactImportCall), [*locations repositories apt artifacts upload*](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryAptArtifactUploadCall), [*locations repositories create*](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryCreateCall), [*locations repositories delete*](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryDeleteCall), [*locations repositories docker images get*](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryDockerImageGetCall), [*locations repositories docker images list*](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryDockerImageListCall), [*locations repositories files get*](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryFileGetCall), [*locations repositories files list*](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryFileListCall), [*locations repositories get*](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryGetCall), [*locations repositories get iam policy*](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryGetIamPolicyCall), [*locations repositories goo get artifacts import*](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryGooGetArtifactImportCall), [*locations repositories googet artifacts upload*](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryGoogetArtifactUploadCall), [*locations repositories list*](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryListCall), [*locations repositories packages delete*](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryPackageDeleteCall), [*locations repositories packages get*](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryPackageGetCall), [*locations repositories packages list*](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryPackageListCall), [*locations repositories packages tags create*](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryPackageTagCreateCall), [*locations repositories packages tags delete*](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryPackageTagDeleteCall), [*locations repositories packages tags get*](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryPackageTagGetCall), [*locations repositories packages tags list*](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryPackageTagListCall), [*locations repositories packages tags patch*](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryPackageTagPatchCall), [*locations repositories packages versions delete*](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryPackageVersionDeleteCall), [*locations repositories packages versions get*](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryPackageVersionGetCall), [*locations repositories packages versions list*](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryPackageVersionListCall), [*locations repositories patch*](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryPatchCall), [*locations repositories set iam policy*](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/api::ProjectLocationRepositorySetIamPolicyCall), [*locations repositories test iam permissions*](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryTestIamPermissionCall), [*locations repositories yum artifacts import*](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryYumArtifactImportCall), [*locations repositories yum artifacts upload*](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryYumArtifactUploadCall) and [*update project settings*](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/api::ProjectUpdateProjectSettingCall) Upload supported by ... -* [*locations repositories apt artifacts upload projects*](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryAptArtifactUploadCall) -* [*locations repositories googet artifacts upload projects*](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryGoogetArtifactUploadCall) -* [*locations repositories yum artifacts upload projects*](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryYumArtifactUploadCall) +* [*locations repositories apt artifacts upload projects*](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryAptArtifactUploadCall) +* [*locations repositories googet artifacts upload projects*](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryGoogetArtifactUploadCall) +* [*locations repositories yum artifacts upload projects*](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/api::ProjectLocationRepositoryYumArtifactUploadCall) @@ -29,17 +29,17 @@ Upload supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/ArtifactRegistry)** +* **[Hub](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/ArtifactRegistry)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/client::CallBuilder) -* **[Resources](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/client::CallBuilder) +* **[Resources](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/client::Part)** + * **[Parts](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -104,7 +104,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -138,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -158,29 +158,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/client::Delegate) to the -[Method Builder](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/client::Delegate) to the +[Method Builder](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/client::RequestValue) and -[decodable](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/client::RequestValue) and +[decodable](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-artifactregistry1/3.0.0+20220225/google_artifactregistry1/client::RequestValue) are moved +* [request values](https://docs.rs/google-artifactregistry1/3.1.0+20220225/google_artifactregistry1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/artifactregistry1/src/api.rs b/gen/artifactregistry1/src/api.rs index 0a4c9f0d6a..4738a4be5f 100644 --- a/gen/artifactregistry1/src/api.rs +++ b/gen/artifactregistry1/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -124,7 +124,7 @@ impl<'a, > ArtifactRegistry<> { ArtifactRegistry { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://artifactregistry.googleapis.com/".to_string(), _root_url: "https://artifactregistry.googleapis.com/".to_string(), } @@ -135,7 +135,7 @@ impl<'a, > ArtifactRegistry<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -939,7 +939,7 @@ impl client::ResponseResult for Version {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get_project_settings(...)`, `locations_operations_get(...)`, `locations_repositories_apt_artifacts_import(...)`, `locations_repositories_apt_artifacts_upload(...)`, `locations_repositories_create(...)`, `locations_repositories_delete(...)`, `locations_repositories_docker_images_get(...)`, `locations_repositories_docker_images_list(...)`, `locations_repositories_files_get(...)`, `locations_repositories_files_list(...)`, `locations_repositories_get(...)`, `locations_repositories_get_iam_policy(...)`, `locations_repositories_goo_get_artifacts_import(...)`, `locations_repositories_googet_artifacts_upload(...)`, `locations_repositories_list(...)`, `locations_repositories_packages_delete(...)`, `locations_repositories_packages_get(...)`, `locations_repositories_packages_list(...)`, `locations_repositories_packages_tags_create(...)`, `locations_repositories_packages_tags_delete(...)`, `locations_repositories_packages_tags_get(...)`, `locations_repositories_packages_tags_list(...)`, `locations_repositories_packages_tags_patch(...)`, `locations_repositories_packages_versions_delete(...)`, `locations_repositories_packages_versions_get(...)`, `locations_repositories_packages_versions_list(...)`, `locations_repositories_patch(...)`, `locations_repositories_set_iam_policy(...)`, `locations_repositories_test_iam_permissions(...)`, `locations_repositories_yum_artifacts_import(...)`, `locations_repositories_yum_artifacts_upload(...)` and `update_project_settings(...)` /// // to build up your call. @@ -1582,7 +1582,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1839,7 +1839,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2126,7 +2126,7 @@ impl<'a> ProjectLocationRepositoryAptArtifactImportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2443,7 +2443,7 @@ impl<'a> ProjectLocationRepositoryAptArtifactUploadCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2699,7 +2699,7 @@ impl<'a> ProjectLocationRepositoryDockerImageGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2979,7 +2979,7 @@ impl<'a> ProjectLocationRepositoryDockerImageListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3235,7 +3235,7 @@ impl<'a> ProjectLocationRepositoryFileGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3540,7 +3540,7 @@ impl<'a> ProjectLocationRepositoryFileListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3827,7 +3827,7 @@ impl<'a> ProjectLocationRepositoryGooGetArtifactImportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4145,7 +4145,7 @@ impl<'a> ProjectLocationRepositoryGoogetArtifactUploadCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4442,7 +4442,7 @@ impl<'a> ProjectLocationRepositoryPackageTagCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4698,7 +4698,7 @@ impl<'a> ProjectLocationRepositoryPackageTagDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4954,7 +4954,7 @@ impl<'a> ProjectLocationRepositoryPackageTagGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5247,7 +5247,7 @@ impl<'a> ProjectLocationRepositoryPackageTagListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5544,7 +5544,7 @@ impl<'a> ProjectLocationRepositoryPackageTagPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5812,7 +5812,7 @@ impl<'a> ProjectLocationRepositoryPackageVersionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6080,7 +6080,7 @@ impl<'a> ProjectLocationRepositoryPackageVersionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6384,7 +6384,7 @@ impl<'a> ProjectLocationRepositoryPackageVersionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6640,7 +6640,7 @@ impl<'a> ProjectLocationRepositoryPackageDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6896,7 +6896,7 @@ impl<'a> ProjectLocationRepositoryPackageGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7177,7 +7177,7 @@ impl<'a> ProjectLocationRepositoryPackageListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7464,7 +7464,7 @@ impl<'a> ProjectLocationRepositoryYumArtifactImportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7782,7 +7782,7 @@ impl<'a> ProjectLocationRepositoryYumArtifactUploadCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8079,7 +8079,7 @@ impl<'a> ProjectLocationRepositoryCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8335,7 +8335,7 @@ impl<'a> ProjectLocationRepositoryDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8591,7 +8591,7 @@ impl<'a> ProjectLocationRepositoryGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8859,7 +8859,7 @@ impl<'a> ProjectLocationRepositoryGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9140,7 +9140,7 @@ impl<'a> ProjectLocationRepositoryListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9438,7 +9438,7 @@ impl<'a> ProjectLocationRepositoryPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9724,7 +9724,7 @@ impl<'a> ProjectLocationRepositorySetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10009,7 +10009,7 @@ impl<'a> ProjectLocationRepositoryTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10266,7 +10266,7 @@ impl<'a> ProjectGetProjectSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/artifactregistry1/src/lib.rs b/gen/artifactregistry1/src/lib.rs index 80b316ecdc..38114bff8f 100644 --- a/gen/artifactregistry1/src/lib.rs +++ b/gen/artifactregistry1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Artifact Registry* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *artifactregistry:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Artifact Registry* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *artifactregistry:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Artifact Registry* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/artifacts/docs/). @@ -105,7 +105,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/artifactregistry1_beta1-cli/Cargo.toml b/gen/artifactregistry1_beta1-cli/Cargo.toml index e482f57726..bb06ecf573 100644 --- a/gen/artifactregistry1_beta1-cli/Cargo.toml +++ b/gen/artifactregistry1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-artifactregistry1_beta1-cli" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with Artifact Registry (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/artifactregistry1_beta1-cli" @@ -20,12 +20,12 @@ name = "artifactregistry1-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-artifactregistry1_beta1] path = "../artifactregistry1_beta1" -version = "3.0.0+20220225" +version = "3.1.0+20220225" diff --git a/gen/artifactregistry1_beta1-cli/README.md b/gen/artifactregistry1_beta1-cli/README.md index 3ff176a2e8..97cbde2eac 100644 --- a/gen/artifactregistry1_beta1-cli/README.md +++ b/gen/artifactregistry1_beta1-cli/README.md @@ -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 *Artifact Registry* API at revision *20220225*. The CLI is at version *3.0.0*. +This documentation was generated from the *Artifact Registry* API at revision *20220225*. The CLI is at version *3.1.0*. ```bash artifactregistry1-beta1 [options] diff --git a/gen/artifactregistry1_beta1-cli/mkdocs.yml b/gen/artifactregistry1_beta1-cli/mkdocs.yml index c54e87618f..e7de7e2e26 100644 --- a/gen/artifactregistry1_beta1-cli/mkdocs.yml +++ b/gen/artifactregistry1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Artifact Registry v3.0.0+20220225 +site_name: Artifact Registry v3.1.0+20220225 site_url: http://byron.github.io/google-apis-rs/google-artifactregistry1_beta1-cli site_description: A complete library to interact with Artifact Registry (protocol v1beta1) diff --git a/gen/artifactregistry1_beta1-cli/src/main.rs b/gen/artifactregistry1_beta1-cli/src/main.rs index e9e42e8ded..eca425e3a9 100644 --- a/gen/artifactregistry1_beta1-cli/src/main.rs +++ b/gen/artifactregistry1_beta1-cli/src/main.rs @@ -1707,7 +1707,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/artifactregistry1-beta1", 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::ArtifactRegistry::new(client, auth), @@ -2313,7 +2319,7 @@ async fn main() { let mut app = App::new("artifactregistry1-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20220225") + .version("3.1.0+20220225") .about("Store and manage build artifacts in a scalable and integrated service built on Google infrastructure.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_artifactregistry1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/artifactregistry1_beta1/Cargo.toml b/gen/artifactregistry1_beta1/Cargo.toml index a7e269c593..abdcdc3035 100644 --- a/gen/artifactregistry1_beta1/Cargo.toml +++ b/gen/artifactregistry1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-artifactregistry1_beta1" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with Artifact Registry (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/artifactregistry1_beta1" homepage = "https://cloud.google.com/artifacts/docs/" -documentation = "https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225" +documentation = "https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225" license = "MIT" keywords = ["artifactregistry", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/artifactregistry1_beta1/README.md b/gen/artifactregistry1_beta1/README.md index a1919cd273..09a2b1dae1 100644 --- a/gen/artifactregistry1_beta1/README.md +++ b/gen/artifactregistry1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-artifactregistry1_beta1` library allows access to all features of the *Google Artifact Registry* service. -This documentation was generated from *Artifact Registry* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *artifactregistry:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Artifact Registry* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *artifactregistry:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Artifact Registry* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/artifacts/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/ArtifactRegistry) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/ArtifactRegistry) ... * projects - * [*locations get*](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationListCall), [*locations operations get*](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationOperationGetCall), [*locations repositories create*](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationRepositoryCreateCall), [*locations repositories delete*](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationRepositoryDeleteCall), [*locations repositories files get*](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationRepositoryFileGetCall), [*locations repositories files list*](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationRepositoryFileListCall), [*locations repositories get*](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationRepositoryGetCall), [*locations repositories get iam policy*](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationRepositoryGetIamPolicyCall), [*locations repositories list*](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationRepositoryListCall), [*locations repositories packages delete*](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageDeleteCall), [*locations repositories packages get*](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageGetCall), [*locations repositories packages list*](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageListCall), [*locations repositories packages tags create*](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageTagCreateCall), [*locations repositories packages tags delete*](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageTagDeleteCall), [*locations repositories packages tags get*](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageTagGetCall), [*locations repositories packages tags list*](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageTagListCall), [*locations repositories packages tags patch*](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageTagPatchCall), [*locations repositories packages versions delete*](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageVersionDeleteCall), [*locations repositories packages versions get*](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageVersionGetCall), [*locations repositories packages versions list*](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageVersionListCall), [*locations repositories patch*](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPatchCall), [*locations repositories set iam policy*](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationRepositorySetIamPolicyCall) and [*locations repositories test iam permissions*](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationRepositoryTestIamPermissionCall) + * [*locations get*](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationListCall), [*locations operations get*](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationOperationGetCall), [*locations repositories create*](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationRepositoryCreateCall), [*locations repositories delete*](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationRepositoryDeleteCall), [*locations repositories files get*](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationRepositoryFileGetCall), [*locations repositories files list*](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationRepositoryFileListCall), [*locations repositories get*](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationRepositoryGetCall), [*locations repositories get iam policy*](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationRepositoryGetIamPolicyCall), [*locations repositories list*](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationRepositoryListCall), [*locations repositories packages delete*](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageDeleteCall), [*locations repositories packages get*](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageGetCall), [*locations repositories packages list*](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageListCall), [*locations repositories packages tags create*](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageTagCreateCall), [*locations repositories packages tags delete*](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageTagDeleteCall), [*locations repositories packages tags get*](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageTagGetCall), [*locations repositories packages tags list*](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageTagListCall), [*locations repositories packages tags patch*](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageTagPatchCall), [*locations repositories packages versions delete*](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageVersionDeleteCall), [*locations repositories packages versions get*](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageVersionGetCall), [*locations repositories packages versions list*](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPackageVersionListCall), [*locations repositories patch*](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationRepositoryPatchCall), [*locations repositories set iam policy*](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationRepositorySetIamPolicyCall) and [*locations repositories test iam permissions*](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/api::ProjectLocationRepositoryTestIamPermissionCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/ArtifactRegistry)** +* **[Hub](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/ArtifactRegistry)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -95,7 +95,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -129,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -149,29 +149,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-artifactregistry1_beta1/3.0.0+20220225/google_artifactregistry1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-artifactregistry1_beta1/3.1.0+20220225/google_artifactregistry1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/artifactregistry1_beta1/src/api.rs b/gen/artifactregistry1_beta1/src/api.rs index d3c3930e0a..6717f121cc 100644 --- a/gen/artifactregistry1_beta1/src/api.rs +++ b/gen/artifactregistry1_beta1/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -124,7 +124,7 @@ impl<'a, > ArtifactRegistry<> { ArtifactRegistry { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://artifactregistry.googleapis.com/".to_string(), _root_url: "https://artifactregistry.googleapis.com/".to_string(), } @@ -135,7 +135,7 @@ impl<'a, > ArtifactRegistry<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -680,7 +680,7 @@ impl client::ResponseResult for Version {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_get(...)`, `locations_list(...)`, `locations_operations_get(...)`, `locations_repositories_create(...)`, `locations_repositories_delete(...)`, `locations_repositories_files_get(...)`, `locations_repositories_files_list(...)`, `locations_repositories_get(...)`, `locations_repositories_get_iam_policy(...)`, `locations_repositories_list(...)`, `locations_repositories_packages_delete(...)`, `locations_repositories_packages_get(...)`, `locations_repositories_packages_list(...)`, `locations_repositories_packages_tags_create(...)`, `locations_repositories_packages_tags_delete(...)`, `locations_repositories_packages_tags_get(...)`, `locations_repositories_packages_tags_list(...)`, `locations_repositories_packages_tags_patch(...)`, `locations_repositories_packages_versions_delete(...)`, `locations_repositories_packages_versions_get(...)`, `locations_repositories_packages_versions_list(...)`, `locations_repositories_patch(...)`, `locations_repositories_set_iam_policy(...)` and `locations_repositories_test_iam_permissions(...)` /// // to build up your call. @@ -1172,7 +1172,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1428,7 +1428,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1684,7 +1684,7 @@ impl<'a> ProjectLocationRepositoryFileGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1977,7 +1977,7 @@ impl<'a> ProjectLocationRepositoryFileListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2274,7 +2274,7 @@ impl<'a> ProjectLocationRepositoryPackageTagCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2530,7 +2530,7 @@ impl<'a> ProjectLocationRepositoryPackageTagDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2786,7 +2786,7 @@ impl<'a> ProjectLocationRepositoryPackageTagGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3079,7 +3079,7 @@ impl<'a> ProjectLocationRepositoryPackageTagListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3376,7 +3376,7 @@ impl<'a> ProjectLocationRepositoryPackageTagPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3644,7 +3644,7 @@ impl<'a> ProjectLocationRepositoryPackageVersionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3912,7 +3912,7 @@ impl<'a> ProjectLocationRepositoryPackageVersionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4216,7 +4216,7 @@ impl<'a> ProjectLocationRepositoryPackageVersionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4472,7 +4472,7 @@ impl<'a> ProjectLocationRepositoryPackageDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4728,7 +4728,7 @@ impl<'a> ProjectLocationRepositoryPackageGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5009,7 +5009,7 @@ impl<'a> ProjectLocationRepositoryPackageListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5306,7 +5306,7 @@ impl<'a> ProjectLocationRepositoryCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5562,7 +5562,7 @@ impl<'a> ProjectLocationRepositoryDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5818,7 +5818,7 @@ impl<'a> ProjectLocationRepositoryGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6086,7 +6086,7 @@ impl<'a> ProjectLocationRepositoryGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6367,7 +6367,7 @@ impl<'a> ProjectLocationRepositoryListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6665,7 +6665,7 @@ impl<'a> ProjectLocationRepositoryPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6951,7 +6951,7 @@ impl<'a> ProjectLocationRepositorySetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7236,7 +7236,7 @@ impl<'a> ProjectLocationRepositoryTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7492,7 +7492,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/artifactregistry1_beta1/src/lib.rs b/gen/artifactregistry1_beta1/src/lib.rs index b7e75305c9..852d8858f5 100644 --- a/gen/artifactregistry1_beta1/src/lib.rs +++ b/gen/artifactregistry1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Artifact Registry* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *artifactregistry:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Artifact Registry* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *artifactregistry:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Artifact Registry* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/artifacts/docs/). @@ -96,7 +96,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = ArtifactRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/assuredworkloads1-cli/Cargo.toml b/gen/assuredworkloads1-cli/Cargo.toml index 3e4703c246..0f83152e60 100644 --- a/gen/assuredworkloads1-cli/Cargo.toml +++ b/gen/assuredworkloads1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-assuredworkloads1-cli" -version = "3.0.0+20220224" +version = "3.1.0+20220224" authors = ["Sebastian Thiel "] description = "A complete library to interact with Assuredworkloads (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/assuredworkloads1-cli" @@ -20,12 +20,12 @@ name = "assuredworkloads1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-assuredworkloads1] path = "../assuredworkloads1" -version = "3.0.0+20220224" +version = "3.1.0+20220224" diff --git a/gen/assuredworkloads1-cli/README.md b/gen/assuredworkloads1-cli/README.md index e7ff123e0d..771e5aa6a2 100644 --- a/gen/assuredworkloads1-cli/README.md +++ b/gen/assuredworkloads1-cli/README.md @@ -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 *Assuredworkloads* API at revision *20220224*. The CLI is at version *3.0.0*. +This documentation was generated from the *Assuredworkloads* API at revision *20220224*. The CLI is at version *3.1.0*. ```bash assuredworkloads1 [options] diff --git a/gen/assuredworkloads1-cli/mkdocs.yml b/gen/assuredworkloads1-cli/mkdocs.yml index 6ee745530d..78f1451d00 100644 --- a/gen/assuredworkloads1-cli/mkdocs.yml +++ b/gen/assuredworkloads1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Assuredworkloads v3.0.0+20220224 +site_name: Assuredworkloads v3.1.0+20220224 site_url: http://byron.github.io/google-apis-rs/google-assuredworkloads1-cli site_description: A complete library to interact with Assuredworkloads (protocol v1) diff --git a/gen/assuredworkloads1-cli/src/main.rs b/gen/assuredworkloads1-cli/src/main.rs index af53c64ecd..4cf43f46a9 100644 --- a/gen/assuredworkloads1-cli/src/main.rs +++ b/gen/assuredworkloads1-cli/src/main.rs @@ -598,7 +598,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/assuredworkloads1", 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::Assuredworkloads::new(client, auth), @@ -806,7 +812,7 @@ async fn main() { let mut app = App::new("assuredworkloads1") .author("Sebastian Thiel ") - .version("3.0.0+20220224") + .version("3.1.0+20220224") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_assuredworkloads1_cli") .arg(Arg::with_name("url") diff --git a/gen/assuredworkloads1/Cargo.toml b/gen/assuredworkloads1/Cargo.toml index fbdc7f3543..ce94b38fba 100644 --- a/gen/assuredworkloads1/Cargo.toml +++ b/gen/assuredworkloads1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-assuredworkloads1" -version = "3.0.0+20220224" +version = "3.1.0+20220224" authors = ["Sebastian Thiel "] description = "A complete library to interact with Assuredworkloads (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/assuredworkloads1" homepage = "https://cloud.google.com" -documentation = "https://docs.rs/google-assuredworkloads1/3.0.0+20220224" +documentation = "https://docs.rs/google-assuredworkloads1/3.1.0+20220224" license = "MIT" keywords = ["assuredworkloads", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/assuredworkloads1/README.md b/gen/assuredworkloads1/README.md index ce2a3ad332..ae42d8443a 100644 --- a/gen/assuredworkloads1/README.md +++ b/gen/assuredworkloads1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-assuredworkloads1` library allows access to all features of the *Google Assuredworkloads* service. -This documentation was generated from *Assuredworkloads* crate version *3.0.0+20220224*, where *20220224* is the exact revision of the *assuredworkloads:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Assuredworkloads* crate version *3.1.0+20220224*, where *20220224* is the exact revision of the *assuredworkloads:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Assuredworkloads* *v1* API can be found at the [official documentation site](https://cloud.google.com). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-assuredworkloads1/3.0.0+20220224/google_assuredworkloads1/Assuredworkloads) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-assuredworkloads1/3.1.0+20220224/google_assuredworkloads1/Assuredworkloads) ... * organizations - * [*locations operations get*](https://docs.rs/google-assuredworkloads1/3.0.0+20220224/google_assuredworkloads1/api::OrganizationLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-assuredworkloads1/3.0.0+20220224/google_assuredworkloads1/api::OrganizationLocationOperationListCall), [*locations workloads create*](https://docs.rs/google-assuredworkloads1/3.0.0+20220224/google_assuredworkloads1/api::OrganizationLocationWorkloadCreateCall), [*locations workloads delete*](https://docs.rs/google-assuredworkloads1/3.0.0+20220224/google_assuredworkloads1/api::OrganizationLocationWorkloadDeleteCall), [*locations workloads get*](https://docs.rs/google-assuredworkloads1/3.0.0+20220224/google_assuredworkloads1/api::OrganizationLocationWorkloadGetCall), [*locations workloads list*](https://docs.rs/google-assuredworkloads1/3.0.0+20220224/google_assuredworkloads1/api::OrganizationLocationWorkloadListCall) and [*locations workloads patch*](https://docs.rs/google-assuredworkloads1/3.0.0+20220224/google_assuredworkloads1/api::OrganizationLocationWorkloadPatchCall) + * [*locations operations get*](https://docs.rs/google-assuredworkloads1/3.1.0+20220224/google_assuredworkloads1/api::OrganizationLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-assuredworkloads1/3.1.0+20220224/google_assuredworkloads1/api::OrganizationLocationOperationListCall), [*locations workloads create*](https://docs.rs/google-assuredworkloads1/3.1.0+20220224/google_assuredworkloads1/api::OrganizationLocationWorkloadCreateCall), [*locations workloads delete*](https://docs.rs/google-assuredworkloads1/3.1.0+20220224/google_assuredworkloads1/api::OrganizationLocationWorkloadDeleteCall), [*locations workloads get*](https://docs.rs/google-assuredworkloads1/3.1.0+20220224/google_assuredworkloads1/api::OrganizationLocationWorkloadGetCall), [*locations workloads list*](https://docs.rs/google-assuredworkloads1/3.1.0+20220224/google_assuredworkloads1/api::OrganizationLocationWorkloadListCall) and [*locations workloads patch*](https://docs.rs/google-assuredworkloads1/3.1.0+20220224/google_assuredworkloads1/api::OrganizationLocationWorkloadPatchCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-assuredworkloads1/3.0.0+20220224/google_assuredworkloads1/Assuredworkloads)** +* **[Hub](https://docs.rs/google-assuredworkloads1/3.1.0+20220224/google_assuredworkloads1/Assuredworkloads)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-assuredworkloads1/3.0.0+20220224/google_assuredworkloads1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-assuredworkloads1/3.0.0+20220224/google_assuredworkloads1/client::CallBuilder) -* **[Resources](https://docs.rs/google-assuredworkloads1/3.0.0+20220224/google_assuredworkloads1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-assuredworkloads1/3.1.0+20220224/google_assuredworkloads1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-assuredworkloads1/3.1.0+20220224/google_assuredworkloads1/client::CallBuilder) +* **[Resources](https://docs.rs/google-assuredworkloads1/3.1.0+20220224/google_assuredworkloads1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-assuredworkloads1/3.0.0+20220224/google_assuredworkloads1/client::Part)** + * **[Parts](https://docs.rs/google-assuredworkloads1/3.1.0+20220224/google_assuredworkloads1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-assuredworkloads1/3.0.0+20220224/google_assuredworkloads1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-assuredworkloads1/3.1.0+20220224/google_assuredworkloads1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -93,7 +93,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Assuredworkloads::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Assuredworkloads::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -127,17 +127,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-assuredworkloads1/3.0.0+20220224/google_assuredworkloads1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-assuredworkloads1/3.1.0+20220224/google_assuredworkloads1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-assuredworkloads1/3.0.0+20220224/google_assuredworkloads1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-assuredworkloads1/3.1.0+20220224/google_assuredworkloads1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-assuredworkloads1/3.0.0+20220224/google_assuredworkloads1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-assuredworkloads1/3.1.0+20220224/google_assuredworkloads1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-assuredworkloads1/3.0.0+20220224/google_assuredworkloads1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-assuredworkloads1/3.1.0+20220224/google_assuredworkloads1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -147,29 +147,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-assuredworkloads1/3.0.0+20220224/google_assuredworkloads1/client::Delegate) to the -[Method Builder](https://docs.rs/google-assuredworkloads1/3.0.0+20220224/google_assuredworkloads1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-assuredworkloads1/3.1.0+20220224/google_assuredworkloads1/client::Delegate) to the +[Method Builder](https://docs.rs/google-assuredworkloads1/3.1.0+20220224/google_assuredworkloads1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-assuredworkloads1/3.0.0+20220224/google_assuredworkloads1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-assuredworkloads1/3.1.0+20220224/google_assuredworkloads1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-assuredworkloads1/3.0.0+20220224/google_assuredworkloads1/client::RequestValue) and -[decodable](https://docs.rs/google-assuredworkloads1/3.0.0+20220224/google_assuredworkloads1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-assuredworkloads1/3.1.0+20220224/google_assuredworkloads1/client::RequestValue) and +[decodable](https://docs.rs/google-assuredworkloads1/3.1.0+20220224/google_assuredworkloads1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-assuredworkloads1/3.0.0+20220224/google_assuredworkloads1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-assuredworkloads1/3.1.0+20220224/google_assuredworkloads1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-assuredworkloads1/3.0.0+20220224/google_assuredworkloads1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-assuredworkloads1/3.1.0+20220224/google_assuredworkloads1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-assuredworkloads1/3.0.0+20220224/google_assuredworkloads1/client::RequestValue) are moved +* [request values](https://docs.rs/google-assuredworkloads1/3.1.0+20220224/google_assuredworkloads1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/assuredworkloads1/src/api.rs b/gen/assuredworkloads1/src/api.rs index 7a4dd6a99a..e40338c4ff 100644 --- a/gen/assuredworkloads1/src/api.rs +++ b/gen/assuredworkloads1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Assuredworkloads::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Assuredworkloads::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > Assuredworkloads<> { Assuredworkloads { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://assuredworkloads.googleapis.com/".to_string(), _root_url: "https://assuredworkloads.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > Assuredworkloads<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -414,7 +414,7 @@ impl client::Part for GoogleRpcStatus {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Assuredworkloads::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Assuredworkloads::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_operations_get(...)`, `locations_operations_list(...)`, `locations_workloads_create(...)`, `locations_workloads_delete(...)`, `locations_workloads_get(...)`, `locations_workloads_list(...)` and `locations_workloads_patch(...)` /// // to build up your call. @@ -594,7 +594,7 @@ impl<'a> OrganizationMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Assuredworkloads::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Assuredworkloads::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -850,7 +850,7 @@ impl<'a> OrganizationLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Assuredworkloads::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Assuredworkloads::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1143,7 +1143,7 @@ impl<'a> OrganizationLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Assuredworkloads::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Assuredworkloads::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1440,7 +1440,7 @@ impl<'a> OrganizationLocationWorkloadCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Assuredworkloads::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Assuredworkloads::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1708,7 +1708,7 @@ impl<'a> OrganizationLocationWorkloadDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Assuredworkloads::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Assuredworkloads::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1964,7 +1964,7 @@ impl<'a> OrganizationLocationWorkloadGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Assuredworkloads::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Assuredworkloads::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2257,7 +2257,7 @@ impl<'a> OrganizationLocationWorkloadListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Assuredworkloads::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Assuredworkloads::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/assuredworkloads1/src/lib.rs b/gen/assuredworkloads1/src/lib.rs index d5bfedaa85..3ca2d3f25f 100644 --- a/gen/assuredworkloads1/src/lib.rs +++ b/gen/assuredworkloads1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Assuredworkloads* crate version *3.0.0+20220224*, where *20220224* is the exact revision of the *assuredworkloads:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Assuredworkloads* crate version *3.1.0+20220224*, where *20220224* is the exact revision of the *assuredworkloads:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Assuredworkloads* *v1* API can be found at the //! [official documentation site](https://cloud.google.com). @@ -94,7 +94,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Assuredworkloads::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Assuredworkloads::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/authorizedbuyersmarketplace1-cli/Cargo.toml b/gen/authorizedbuyersmarketplace1-cli/Cargo.toml index d08da9d340..ed69c74359 100644 --- a/gen/authorizedbuyersmarketplace1-cli/Cargo.toml +++ b/gen/authorizedbuyersmarketplace1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-authorizedbuyersmarketplace1-cli" -version = "3.0.0+20220307" +version = "3.1.0+20220307" authors = ["Sebastian Thiel "] description = "A complete library to interact with Authorized Buyers Marketplace (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/authorizedbuyersmarketplace1-cli" @@ -20,12 +20,12 @@ name = "authorizedbuyersmarketplace1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-authorizedbuyersmarketplace1] path = "../authorizedbuyersmarketplace1" -version = "3.0.0+20220307" +version = "3.1.0+20220307" diff --git a/gen/authorizedbuyersmarketplace1-cli/README.md b/gen/authorizedbuyersmarketplace1-cli/README.md index f06d181cd9..725ed97583 100644 --- a/gen/authorizedbuyersmarketplace1-cli/README.md +++ b/gen/authorizedbuyersmarketplace1-cli/README.md @@ -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 *Authorized Buyers Marketplace* API at revision *20220307*. The CLI is at version *3.0.0*. +This documentation was generated from the *Authorized Buyers Marketplace* API at revision *20220307*. The CLI is at version *3.1.0*. ```bash authorizedbuyersmarketplace1 [options] diff --git a/gen/authorizedbuyersmarketplace1-cli/mkdocs.yml b/gen/authorizedbuyersmarketplace1-cli/mkdocs.yml index 0bf846f2f6..ff1de53c9c 100644 --- a/gen/authorizedbuyersmarketplace1-cli/mkdocs.yml +++ b/gen/authorizedbuyersmarketplace1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Authorized Buyers Marketplace v3.0.0+20220307 +site_name: Authorized Buyers Marketplace v3.1.0+20220307 site_url: http://byron.github.io/google-apis-rs/google-authorizedbuyersmarketplace1-cli site_description: A complete library to interact with Authorized Buyers Marketplace (protocol v1) diff --git a/gen/authorizedbuyersmarketplace1-cli/src/main.rs b/gen/authorizedbuyersmarketplace1-cli/src/main.rs index 15685cabe1..f3cc90cd3b 100644 --- a/gen/authorizedbuyersmarketplace1-cli/src/main.rs +++ b/gen/authorizedbuyersmarketplace1-cli/src/main.rs @@ -3108,7 +3108,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/authorizedbuyersmarketplace1", 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::AuthorizedBuyersMarketplace::new(client, auth), @@ -4121,7 +4127,7 @@ async fn main() { let mut app = App::new("authorizedbuyersmarketplace1") .author("Sebastian Thiel ") - .version("3.0.0+20220307") + .version("3.1.0+20220307") .about("The Authorized Buyers Marketplace API allows buyers programmatically discover inventory; propose, retrieve and negotiate deals with publishers.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_authorizedbuyersmarketplace1_cli") .arg(Arg::with_name("url") diff --git a/gen/authorizedbuyersmarketplace1/Cargo.toml b/gen/authorizedbuyersmarketplace1/Cargo.toml index 5cee0d3743..11c983e949 100644 --- a/gen/authorizedbuyersmarketplace1/Cargo.toml +++ b/gen/authorizedbuyersmarketplace1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-authorizedbuyersmarketplace1" -version = "3.0.0+20220307" +version = "3.1.0+20220307" authors = ["Sebastian Thiel "] description = "A complete library to interact with Authorized Buyers Marketplace (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/authorizedbuyersmarketplace1" homepage = "https://developers.google.com/authorized-buyers/apis/marketplace/reference/rest/" -documentation = "https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307" +documentation = "https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307" license = "MIT" keywords = ["authorizedbuyersmark", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/authorizedbuyersmarketplace1/README.md b/gen/authorizedbuyersmarketplace1/README.md index 2c91f71b88..4e1a90202e 100644 --- a/gen/authorizedbuyersmarketplace1/README.md +++ b/gen/authorizedbuyersmarketplace1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-authorizedbuyersmarketplace1` library allows access to all features of the *Google Authorized Buyers Marketplace* service. -This documentation was generated from *Authorized Buyers Marketplace* crate version *3.0.0+20220307*, where *20220307* is the exact revision of the *authorizedbuyersmarketplace:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Authorized Buyers Marketplace* crate version *3.1.0+20220307*, where *20220307* is the exact revision of the *authorizedbuyersmarketplace:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Authorized Buyers Marketplace* *v1* API can be found at the [official documentation site](https://developers.google.com/authorized-buyers/apis/marketplace/reference/rest/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/AuthorizedBuyersMarketplace) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/AuthorizedBuyersMarketplace) ... * bidders - * [*finalized deals list*](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/api::BidderFinalizedDealListCall) + * [*finalized deals list*](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/api::BidderFinalizedDealListCall) * buyers - * [*auction packages get*](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerAuctionPackageGetCall), [*auction packages list*](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerAuctionPackageListCall), [*auction packages subscribe*](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerAuctionPackageSubscribeCall), [*auction packages subscribe clients*](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerAuctionPackageSubscribeClientCall), [*auction packages unsubscribe*](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerAuctionPackageUnsubscribeCall), [*auction packages unsubscribe clients*](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerAuctionPackageUnsubscribeClientCall), [*clients activate*](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerClientActivateCall), [*clients create*](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerClientCreateCall), [*clients deactivate*](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerClientDeactivateCall), [*clients get*](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerClientGetCall), [*clients list*](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerClientListCall), [*clients patch*](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerClientPatchCall), [*clients users activate*](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerClientUserActivateCall), [*clients users create*](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerClientUserCreateCall), [*clients users deactivate*](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerClientUserDeactivateCall), [*clients users delete*](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerClientUserDeleteCall), [*clients users get*](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerClientUserGetCall), [*clients users list*](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerClientUserListCall), [*finalized deals add creative*](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerFinalizedDealAddCreativeCall), [*finalized deals get*](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerFinalizedDealGetCall), [*finalized deals list*](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerFinalizedDealListCall), [*finalized deals pause*](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerFinalizedDealPauseCall), [*finalized deals resume*](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerFinalizedDealResumeCall), [*finalized deals set ready to serve*](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerFinalizedDealSetReadyToServeCall), [*proposals accept*](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerProposalAcceptCall), [*proposals add note*](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerProposalAddNoteCall), [*proposals cancel negotiation*](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerProposalCancelNegotiationCall), [*proposals deals batch update*](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerProposalDealBatchUpdateCall), [*proposals deals get*](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerProposalDealGetCall), [*proposals deals list*](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerProposalDealListCall), [*proposals deals patch*](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerProposalDealPatchCall), [*proposals get*](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerProposalGetCall), [*proposals list*](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerProposalListCall), [*proposals patch*](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerProposalPatchCall), [*proposals send rfp*](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerProposalSendRfpCall), [*publisher profiles get*](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerPublisherProfileGetCall) and [*publisher profiles list*](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerPublisherProfileListCall) + * [*auction packages get*](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerAuctionPackageGetCall), [*auction packages list*](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerAuctionPackageListCall), [*auction packages subscribe*](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerAuctionPackageSubscribeCall), [*auction packages subscribe clients*](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerAuctionPackageSubscribeClientCall), [*auction packages unsubscribe*](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerAuctionPackageUnsubscribeCall), [*auction packages unsubscribe clients*](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerAuctionPackageUnsubscribeClientCall), [*clients activate*](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerClientActivateCall), [*clients create*](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerClientCreateCall), [*clients deactivate*](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerClientDeactivateCall), [*clients get*](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerClientGetCall), [*clients list*](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerClientListCall), [*clients patch*](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerClientPatchCall), [*clients users activate*](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerClientUserActivateCall), [*clients users create*](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerClientUserCreateCall), [*clients users deactivate*](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerClientUserDeactivateCall), [*clients users delete*](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerClientUserDeleteCall), [*clients users get*](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerClientUserGetCall), [*clients users list*](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerClientUserListCall), [*finalized deals add creative*](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerFinalizedDealAddCreativeCall), [*finalized deals get*](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerFinalizedDealGetCall), [*finalized deals list*](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerFinalizedDealListCall), [*finalized deals pause*](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerFinalizedDealPauseCall), [*finalized deals resume*](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerFinalizedDealResumeCall), [*finalized deals set ready to serve*](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerFinalizedDealSetReadyToServeCall), [*proposals accept*](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerProposalAcceptCall), [*proposals add note*](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerProposalAddNoteCall), [*proposals cancel negotiation*](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerProposalCancelNegotiationCall), [*proposals deals batch update*](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerProposalDealBatchUpdateCall), [*proposals deals get*](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerProposalDealGetCall), [*proposals deals list*](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerProposalDealListCall), [*proposals deals patch*](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerProposalDealPatchCall), [*proposals get*](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerProposalGetCall), [*proposals list*](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerProposalListCall), [*proposals patch*](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerProposalPatchCall), [*proposals send rfp*](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerProposalSendRfpCall), [*publisher profiles get*](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerPublisherProfileGetCall) and [*publisher profiles list*](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/api::BuyerPublisherProfileListCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/AuthorizedBuyersMarketplace)** +* **[Hub](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/AuthorizedBuyersMarketplace)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/client::CallBuilder) -* **[Resources](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/client::CallBuilder) +* **[Resources](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/client::Part)** + * **[Parts](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -98,7 +98,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -152,29 +152,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/client::Delegate) to the -[Method Builder](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/client::Delegate) to the +[Method Builder](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/client::RequestValue) and -[decodable](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/client::RequestValue) and +[decodable](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-authorizedbuyersmarketplace1/3.0.0+20220307/google_authorizedbuyersmarketplace1/client::RequestValue) are moved +* [request values](https://docs.rs/google-authorizedbuyersmarketplace1/3.1.0+20220307/google_authorizedbuyersmarketplace1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/authorizedbuyersmarketplace1/src/api.rs b/gen/authorizedbuyersmarketplace1/src/api.rs index 755b8f2815..3d82253aa4 100644 --- a/gen/authorizedbuyersmarketplace1/src/api.rs +++ b/gen/authorizedbuyersmarketplace1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > AuthorizedBuyersMarketplace<> { AuthorizedBuyersMarketplace { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://authorizedbuyersmarketplace.googleapis.com/".to_string(), _root_url: "https://authorizedbuyersmarketplace.googleapis.com/".to_string(), } @@ -134,7 +134,7 @@ impl<'a, > AuthorizedBuyersMarketplace<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1605,7 +1605,7 @@ impl client::Part for VideoTargeting {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `finalized_deals_list(...)` /// // to build up your call. @@ -1667,7 +1667,7 @@ impl<'a> BidderMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `auction_packages_get(...)`, `auction_packages_list(...)`, `auction_packages_subscribe(...)`, `auction_packages_subscribe_clients(...)`, `auction_packages_unsubscribe(...)`, `auction_packages_unsubscribe_clients(...)`, `clients_activate(...)`, `clients_create(...)`, `clients_deactivate(...)`, `clients_get(...)`, `clients_list(...)`, `clients_patch(...)`, `clients_users_activate(...)`, `clients_users_create(...)`, `clients_users_deactivate(...)`, `clients_users_delete(...)`, `clients_users_get(...)`, `clients_users_list(...)`, `finalized_deals_add_creative(...)`, `finalized_deals_get(...)`, `finalized_deals_list(...)`, `finalized_deals_pause(...)`, `finalized_deals_resume(...)`, `finalized_deals_set_ready_to_serve(...)`, `proposals_accept(...)`, `proposals_add_note(...)`, `proposals_cancel_negotiation(...)`, `proposals_deals_batch_update(...)`, `proposals_deals_get(...)`, `proposals_deals_list(...)`, `proposals_deals_patch(...)`, `proposals_get(...)`, `proposals_list(...)`, `proposals_patch(...)`, `proposals_send_rfp(...)`, `publisher_profiles_get(...)` and `publisher_profiles_list(...)` /// // to build up your call. @@ -2410,7 +2410,7 @@ impl<'a> BuyerMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2714,7 +2714,7 @@ impl<'a> BidderFinalizedDealListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2970,7 +2970,7 @@ impl<'a> BuyerAuctionPackageGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3251,7 +3251,7 @@ impl<'a> BuyerAuctionPackageListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3537,7 +3537,7 @@ impl<'a> BuyerAuctionPackageSubscribeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3823,7 +3823,7 @@ impl<'a> BuyerAuctionPackageSubscribeClientCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4109,7 +4109,7 @@ impl<'a> BuyerAuctionPackageUnsubscribeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4395,7 +4395,7 @@ impl<'a> BuyerAuctionPackageUnsubscribeClientCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4681,7 +4681,7 @@ impl<'a> BuyerClientUserActivateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4967,7 +4967,7 @@ impl<'a> BuyerClientUserCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5252,7 +5252,7 @@ impl<'a> BuyerClientUserDeactivateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5508,7 +5508,7 @@ impl<'a> BuyerClientUserDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5764,7 +5764,7 @@ impl<'a> BuyerClientUserGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6045,7 +6045,7 @@ impl<'a> BuyerClientUserListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6331,7 +6331,7 @@ impl<'a> BuyerClientActivateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6617,7 +6617,7 @@ impl<'a> BuyerClientCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6902,7 +6902,7 @@ impl<'a> BuyerClientDeactivateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7158,7 +7158,7 @@ impl<'a> BuyerClientGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7451,7 +7451,7 @@ impl<'a> BuyerClientListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7749,7 +7749,7 @@ impl<'a> BuyerClientPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8034,7 +8034,7 @@ impl<'a> BuyerFinalizedDealAddCreativeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8290,7 +8290,7 @@ impl<'a> BuyerFinalizedDealGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8595,7 +8595,7 @@ impl<'a> BuyerFinalizedDealListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8881,7 +8881,7 @@ impl<'a> BuyerFinalizedDealPauseCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9167,7 +9167,7 @@ impl<'a> BuyerFinalizedDealResumeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9453,7 +9453,7 @@ impl<'a> BuyerFinalizedDealSetReadyToServeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9738,7 +9738,7 @@ impl<'a> BuyerProposalDealBatchUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9994,7 +9994,7 @@ impl<'a> BuyerProposalDealGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10275,7 +10275,7 @@ impl<'a> BuyerProposalDealListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10573,7 +10573,7 @@ impl<'a> BuyerProposalDealPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10859,7 +10859,7 @@ impl<'a> BuyerProposalAcceptCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11145,7 +11145,7 @@ impl<'a> BuyerProposalAddNoteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11430,7 +11430,7 @@ impl<'a> BuyerProposalCancelNegotiationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11686,7 +11686,7 @@ impl<'a> BuyerProposalGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11979,7 +11979,7 @@ impl<'a> BuyerProposalListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12277,7 +12277,7 @@ impl<'a> BuyerProposalPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12562,7 +12562,7 @@ impl<'a> BuyerProposalSendRfpCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12818,7 +12818,7 @@ impl<'a> BuyerPublisherProfileGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/authorizedbuyersmarketplace1/src/lib.rs b/gen/authorizedbuyersmarketplace1/src/lib.rs index f6d6452ffb..68ce4df575 100644 --- a/gen/authorizedbuyersmarketplace1/src/lib.rs +++ b/gen/authorizedbuyersmarketplace1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Authorized Buyers Marketplace* crate version *3.0.0+20220307*, where *20220307* is the exact revision of the *authorizedbuyersmarketplace:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Authorized Buyers Marketplace* crate version *3.1.0+20220307*, where *20220307* is the exact revision of the *authorizedbuyersmarketplace:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Authorized Buyers Marketplace* *v1* API can be found at the //! [official documentation site](https://developers.google.com/authorized-buyers/apis/marketplace/reference/rest/). @@ -99,7 +99,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = AuthorizedBuyersMarketplace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/autoscaler1_beta2-cli/Cargo.toml b/gen/autoscaler1_beta2-cli/Cargo.toml index 9f1f95117a..ec58fb42d5 100644 --- a/gen/autoscaler1_beta2-cli/Cargo.toml +++ b/gen/autoscaler1_beta2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-autoscaler1_beta2-cli" -version = "3.0.0+20150629" +version = "3.1.0+20150629" authors = ["Sebastian Thiel "] description = "A complete library to interact with autoscaler (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/autoscaler1_beta2-cli" @@ -20,12 +20,12 @@ name = "autoscaler1-beta2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-autoscaler1_beta2] path = "../autoscaler1_beta2" -version = "3.0.0+20150629" +version = "3.1.0+20150629" diff --git a/gen/autoscaler1_beta2-cli/README.md b/gen/autoscaler1_beta2-cli/README.md index 7b88eb183a..bba6d8eeb9 100644 --- a/gen/autoscaler1_beta2-cli/README.md +++ b/gen/autoscaler1_beta2-cli/README.md @@ -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 *autoscaler* API at revision *20150629*. The CLI is at version *3.0.0*. +This documentation was generated from the *autoscaler* API at revision *20150629*. The CLI is at version *3.1.0*. ```bash autoscaler1-beta2 [options] diff --git a/gen/autoscaler1_beta2-cli/mkdocs.yml b/gen/autoscaler1_beta2-cli/mkdocs.yml index a0749f5aa0..7cc1629eaf 100644 --- a/gen/autoscaler1_beta2-cli/mkdocs.yml +++ b/gen/autoscaler1_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: autoscaler v3.0.0+20150629 +site_name: autoscaler v3.1.0+20150629 site_url: http://byron.github.io/google-apis-rs/google-autoscaler1_beta2-cli site_description: A complete library to interact with autoscaler (protocol v1beta2) diff --git a/gen/autoscaler1_beta2-cli/src/main.rs b/gen/autoscaler1_beta2-cli/src/main.rs index e346367bd7..24a789f5f6 100644 --- a/gen/autoscaler1_beta2-cli/src/main.rs +++ b/gen/autoscaler1_beta2-cli/src/main.rs @@ -809,7 +809,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/autoscaler1-beta2", 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::AutoscalerHub::new(client, auth), @@ -1176,7 +1182,7 @@ async fn main() { let mut app = App::new("autoscaler1-beta2") .author("Sebastian Thiel ") - .version("3.0.0+20150629") + .version("3.1.0+20150629") .about("The Google Compute Engine Autoscaler API provides autoscaling for groups of Cloud VMs.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_autoscaler1_beta2_cli") .arg(Arg::with_name("url") diff --git a/gen/autoscaler1_beta2/Cargo.toml b/gen/autoscaler1_beta2/Cargo.toml index 0c5a56b58b..85c1144d79 100644 --- a/gen/autoscaler1_beta2/Cargo.toml +++ b/gen/autoscaler1_beta2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-autoscaler1_beta2" -version = "3.0.0+20150629" +version = "3.1.0+20150629" authors = ["Sebastian Thiel "] description = "A complete library to interact with autoscaler (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/autoscaler1_beta2" homepage = "http://developers.google.com/compute/docs/autoscaler" -documentation = "https://docs.rs/google-autoscaler1_beta2/3.0.0+20150629" +documentation = "https://docs.rs/google-autoscaler1_beta2/3.1.0+20150629" license = "MIT" keywords = ["autoscaler", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/autoscaler1_beta2/README.md b/gen/autoscaler1_beta2/README.md index fa7f9524b3..059ff008f3 100644 --- a/gen/autoscaler1_beta2/README.md +++ b/gen/autoscaler1_beta2/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-autoscaler1_beta2` library allows access to all features of the *Google autoscaler* service. -This documentation was generated from *autoscaler* crate version *3.0.0+20150629*, where *20150629* is the exact revision of the *autoscaler:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *autoscaler* crate version *3.1.0+20150629*, where *20150629* is the exact revision of the *autoscaler:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *autoscaler* *v1_beta2* API can be found at the [official documentation site](http://developers.google.com/compute/docs/autoscaler). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-autoscaler1_beta2/3.0.0+20150629/google_autoscaler1_beta2/AutoscalerHub) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-autoscaler1_beta2/3.1.0+20150629/google_autoscaler1_beta2/AutoscalerHub) ... -* [autoscalers](https://docs.rs/google-autoscaler1_beta2/3.0.0+20150629/google_autoscaler1_beta2/api::Autoscaler) - * [*delete*](https://docs.rs/google-autoscaler1_beta2/3.0.0+20150629/google_autoscaler1_beta2/api::AutoscalerDeleteCall), [*get*](https://docs.rs/google-autoscaler1_beta2/3.0.0+20150629/google_autoscaler1_beta2/api::AutoscalerGetCall), [*insert*](https://docs.rs/google-autoscaler1_beta2/3.0.0+20150629/google_autoscaler1_beta2/api::AutoscalerInsertCall), [*list*](https://docs.rs/google-autoscaler1_beta2/3.0.0+20150629/google_autoscaler1_beta2/api::AutoscalerListCall), [*patch*](https://docs.rs/google-autoscaler1_beta2/3.0.0+20150629/google_autoscaler1_beta2/api::AutoscalerPatchCall) and [*update*](https://docs.rs/google-autoscaler1_beta2/3.0.0+20150629/google_autoscaler1_beta2/api::AutoscalerUpdateCall) +* [autoscalers](https://docs.rs/google-autoscaler1_beta2/3.1.0+20150629/google_autoscaler1_beta2/api::Autoscaler) + * [*delete*](https://docs.rs/google-autoscaler1_beta2/3.1.0+20150629/google_autoscaler1_beta2/api::AutoscalerDeleteCall), [*get*](https://docs.rs/google-autoscaler1_beta2/3.1.0+20150629/google_autoscaler1_beta2/api::AutoscalerGetCall), [*insert*](https://docs.rs/google-autoscaler1_beta2/3.1.0+20150629/google_autoscaler1_beta2/api::AutoscalerInsertCall), [*list*](https://docs.rs/google-autoscaler1_beta2/3.1.0+20150629/google_autoscaler1_beta2/api::AutoscalerListCall), [*patch*](https://docs.rs/google-autoscaler1_beta2/3.1.0+20150629/google_autoscaler1_beta2/api::AutoscalerPatchCall) and [*update*](https://docs.rs/google-autoscaler1_beta2/3.1.0+20150629/google_autoscaler1_beta2/api::AutoscalerUpdateCall) * zone operations - * [*delete*](https://docs.rs/google-autoscaler1_beta2/3.0.0+20150629/google_autoscaler1_beta2/api::ZoneOperationDeleteCall), [*get*](https://docs.rs/google-autoscaler1_beta2/3.0.0+20150629/google_autoscaler1_beta2/api::ZoneOperationGetCall) and [*list*](https://docs.rs/google-autoscaler1_beta2/3.0.0+20150629/google_autoscaler1_beta2/api::ZoneOperationListCall) -* [zones](https://docs.rs/google-autoscaler1_beta2/3.0.0+20150629/google_autoscaler1_beta2/api::Zone) - * [*list*](https://docs.rs/google-autoscaler1_beta2/3.0.0+20150629/google_autoscaler1_beta2/api::ZoneListCall) + * [*delete*](https://docs.rs/google-autoscaler1_beta2/3.1.0+20150629/google_autoscaler1_beta2/api::ZoneOperationDeleteCall), [*get*](https://docs.rs/google-autoscaler1_beta2/3.1.0+20150629/google_autoscaler1_beta2/api::ZoneOperationGetCall) and [*list*](https://docs.rs/google-autoscaler1_beta2/3.1.0+20150629/google_autoscaler1_beta2/api::ZoneOperationListCall) +* [zones](https://docs.rs/google-autoscaler1_beta2/3.1.0+20150629/google_autoscaler1_beta2/api::Zone) + * [*list*](https://docs.rs/google-autoscaler1_beta2/3.1.0+20150629/google_autoscaler1_beta2/api::ZoneListCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-autoscaler1_beta2/3.0.0+20150629/google_autoscaler1_beta2/AutoscalerHub)** +* **[Hub](https://docs.rs/google-autoscaler1_beta2/3.1.0+20150629/google_autoscaler1_beta2/AutoscalerHub)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-autoscaler1_beta2/3.0.0+20150629/google_autoscaler1_beta2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-autoscaler1_beta2/3.0.0+20150629/google_autoscaler1_beta2/client::CallBuilder) -* **[Resources](https://docs.rs/google-autoscaler1_beta2/3.0.0+20150629/google_autoscaler1_beta2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-autoscaler1_beta2/3.1.0+20150629/google_autoscaler1_beta2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-autoscaler1_beta2/3.1.0+20150629/google_autoscaler1_beta2/client::CallBuilder) +* **[Resources](https://docs.rs/google-autoscaler1_beta2/3.1.0+20150629/google_autoscaler1_beta2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-autoscaler1_beta2/3.0.0+20150629/google_autoscaler1_beta2/client::Part)** + * **[Parts](https://docs.rs/google-autoscaler1_beta2/3.1.0+20150629/google_autoscaler1_beta2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-autoscaler1_beta2/3.0.0+20150629/google_autoscaler1_beta2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-autoscaler1_beta2/3.1.0+20150629/google_autoscaler1_beta2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -99,7 +99,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = AutoscalerHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = AutoscalerHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -130,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-autoscaler1_beta2/3.0.0+20150629/google_autoscaler1_beta2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-autoscaler1_beta2/3.1.0+20150629/google_autoscaler1_beta2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-autoscaler1_beta2/3.0.0+20150629/google_autoscaler1_beta2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-autoscaler1_beta2/3.1.0+20150629/google_autoscaler1_beta2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-autoscaler1_beta2/3.0.0+20150629/google_autoscaler1_beta2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-autoscaler1_beta2/3.1.0+20150629/google_autoscaler1_beta2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-autoscaler1_beta2/3.0.0+20150629/google_autoscaler1_beta2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-autoscaler1_beta2/3.1.0+20150629/google_autoscaler1_beta2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -150,29 +150,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-autoscaler1_beta2/3.0.0+20150629/google_autoscaler1_beta2/client::Delegate) to the -[Method Builder](https://docs.rs/google-autoscaler1_beta2/3.0.0+20150629/google_autoscaler1_beta2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-autoscaler1_beta2/3.1.0+20150629/google_autoscaler1_beta2/client::Delegate) to the +[Method Builder](https://docs.rs/google-autoscaler1_beta2/3.1.0+20150629/google_autoscaler1_beta2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-autoscaler1_beta2/3.0.0+20150629/google_autoscaler1_beta2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-autoscaler1_beta2/3.1.0+20150629/google_autoscaler1_beta2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-autoscaler1_beta2/3.0.0+20150629/google_autoscaler1_beta2/client::RequestValue) and -[decodable](https://docs.rs/google-autoscaler1_beta2/3.0.0+20150629/google_autoscaler1_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-autoscaler1_beta2/3.1.0+20150629/google_autoscaler1_beta2/client::RequestValue) and +[decodable](https://docs.rs/google-autoscaler1_beta2/3.1.0+20150629/google_autoscaler1_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-autoscaler1_beta2/3.0.0+20150629/google_autoscaler1_beta2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-autoscaler1_beta2/3.1.0+20150629/google_autoscaler1_beta2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-autoscaler1_beta2/3.0.0+20150629/google_autoscaler1_beta2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-autoscaler1_beta2/3.1.0+20150629/google_autoscaler1_beta2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-autoscaler1_beta2/3.0.0+20150629/google_autoscaler1_beta2/client::RequestValue) are moved +* [request values](https://docs.rs/google-autoscaler1_beta2/3.1.0+20150629/google_autoscaler1_beta2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/autoscaler1_beta2/src/api.rs b/gen/autoscaler1_beta2/src/api.rs index 8d9fc6ffa5..f9122a4904 100644 --- a/gen/autoscaler1_beta2/src/api.rs +++ b/gen/autoscaler1_beta2/src/api.rs @@ -74,7 +74,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AutoscalerHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AutoscalerHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > AutoscalerHub<> { AutoscalerHub { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/autoscaler/v1beta2/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -137,7 +137,7 @@ impl<'a, > AutoscalerHub<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -612,7 +612,7 @@ impl client::Part for ZoneMaintenanceWindows {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AutoscalerHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AutoscalerHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -784,7 +784,7 @@ impl<'a> AutoscalerMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AutoscalerHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AutoscalerHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)` and `list(...)` /// // to build up your call. @@ -889,7 +889,7 @@ impl<'a> ZoneOperationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AutoscalerHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AutoscalerHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -957,7 +957,7 @@ impl<'a> ZoneMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AutoscalerHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AutoscalerHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1229,7 +1229,7 @@ impl<'a> AutoscalerDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AutoscalerHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AutoscalerHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1502,7 +1502,7 @@ impl<'a> AutoscalerGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AutoscalerHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AutoscalerHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1791,7 +1791,7 @@ impl<'a> AutoscalerInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AutoscalerHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AutoscalerHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2085,7 +2085,7 @@ impl<'a> AutoscalerListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AutoscalerHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AutoscalerHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2387,7 +2387,7 @@ impl<'a> AutoscalerPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AutoscalerHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AutoscalerHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2688,7 +2688,7 @@ impl<'a> AutoscalerUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AutoscalerHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AutoscalerHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2946,7 +2946,7 @@ impl<'a> ZoneOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AutoscalerHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AutoscalerHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3215,7 +3215,7 @@ impl<'a> ZoneOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AutoscalerHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AutoscalerHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3506,7 +3506,7 @@ impl<'a> ZoneOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AutoscalerHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AutoscalerHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/autoscaler1_beta2/src/lib.rs b/gen/autoscaler1_beta2/src/lib.rs index 3761414dee..9cba403b74 100644 --- a/gen/autoscaler1_beta2/src/lib.rs +++ b/gen/autoscaler1_beta2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *autoscaler* crate version *3.0.0+20150629*, where *20150629* is the exact revision of the *autoscaler:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *autoscaler* crate version *3.1.0+20150629*, where *20150629* is the exact revision of the *autoscaler:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *autoscaler* *v1_beta2* API can be found at the //! [official documentation site](http://developers.google.com/compute/docs/autoscaler). @@ -100,7 +100,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = AutoscalerHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = AutoscalerHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/baremetalsolution2-cli/Cargo.toml b/gen/baremetalsolution2-cli/Cargo.toml index 3a7809ef08..65a1004ce3 100644 --- a/gen/baremetalsolution2-cli/Cargo.toml +++ b/gen/baremetalsolution2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-baremetalsolution2-cli" -version = "3.0.0+20220209" +version = "3.1.0+20220209" authors = ["Sebastian Thiel "] description = "A complete library to interact with baremetalsolution (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/baremetalsolution2-cli" @@ -20,12 +20,12 @@ name = "baremetalsolution2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-baremetalsolution2] path = "../baremetalsolution2" -version = "3.0.0+20220209" +version = "3.1.0+20220209" diff --git a/gen/baremetalsolution2-cli/README.md b/gen/baremetalsolution2-cli/README.md index 588a34a7ed..eb2f6b2814 100644 --- a/gen/baremetalsolution2-cli/README.md +++ b/gen/baremetalsolution2-cli/README.md @@ -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 *baremetalsolution* API at revision *20220209*. The CLI is at version *3.0.0*. +This documentation was generated from the *baremetalsolution* API at revision *20220209*. The CLI is at version *3.1.0*. ```bash baremetalsolution2 [options] diff --git a/gen/baremetalsolution2-cli/mkdocs.yml b/gen/baremetalsolution2-cli/mkdocs.yml index 3673f99c1a..65c22e3aad 100644 --- a/gen/baremetalsolution2-cli/mkdocs.yml +++ b/gen/baremetalsolution2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: baremetalsolution v3.0.0+20220209 +site_name: baremetalsolution v3.1.0+20220209 site_url: http://byron.github.io/google-apis-rs/google-baremetalsolution2-cli site_description: A complete library to interact with baremetalsolution (protocol v2) diff --git a/gen/baremetalsolution2-cli/src/main.rs b/gen/baremetalsolution2-cli/src/main.rs index 78686bd60a..8f657bf10a 100644 --- a/gen/baremetalsolution2-cli/src/main.rs +++ b/gen/baremetalsolution2-cli/src/main.rs @@ -2312,7 +2312,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/baremetalsolution2", 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::Baremetalsolution::new(client, auth), @@ -3102,7 +3108,7 @@ async fn main() { let mut app = App::new("baremetalsolution2") .author("Sebastian Thiel ") - .version("3.0.0+20220209") + .version("3.1.0+20220209") .about("Provides ways to manage Bare Metal Solution hardware installed in a regional extension located near a Google Cloud data center.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_baremetalsolution2_cli") .arg(Arg::with_name("url") diff --git a/gen/baremetalsolution2/Cargo.toml b/gen/baremetalsolution2/Cargo.toml index 0632805064..e797bde001 100644 --- a/gen/baremetalsolution2/Cargo.toml +++ b/gen/baremetalsolution2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-baremetalsolution2" -version = "3.0.0+20220209" +version = "3.1.0+20220209" authors = ["Sebastian Thiel "] description = "A complete library to interact with baremetalsolution (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/baremetalsolution2" homepage = "https://cloud.google.com/bare-metal" -documentation = "https://docs.rs/google-baremetalsolution2/3.0.0+20220209" +documentation = "https://docs.rs/google-baremetalsolution2/3.1.0+20220209" license = "MIT" keywords = ["baremetalsolution", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/baremetalsolution2/README.md b/gen/baremetalsolution2/README.md index 1b3d5b9090..b99eefe426 100644 --- a/gen/baremetalsolution2/README.md +++ b/gen/baremetalsolution2/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-baremetalsolution2` library allows access to all features of the *Google baremetalsolution* service. -This documentation was generated from *baremetalsolution* crate version *3.0.0+20220209*, where *20220209* is the exact revision of the *baremetalsolution:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *baremetalsolution* crate version *3.1.0+20220209*, where *20220209* is the exact revision of the *baremetalsolution:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *baremetalsolution* *v2* API can be found at the [official documentation site](https://cloud.google.com/bare-metal). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/Baremetalsolution) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/Baremetalsolution) ... * projects - * [*locations get*](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/api::ProjectLocationGetCall), [*locations instances get*](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/api::ProjectLocationInstanceGetCall), [*locations instances list*](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/api::ProjectLocationInstanceListCall), [*locations instances patch*](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/api::ProjectLocationInstancePatchCall), [*locations instances reset*](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/api::ProjectLocationInstanceResetCall), [*locations instances start*](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/api::ProjectLocationInstanceStartCall), [*locations list*](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/api::ProjectLocationListCall), [*locations networks get*](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/api::ProjectLocationNetworkGetCall), [*locations networks list*](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/api::ProjectLocationNetworkListCall), [*locations networks list network usage*](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/api::ProjectLocationNetworkListNetworkUsageCall), [*locations networks patch*](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/api::ProjectLocationNetworkPatchCall), [*locations nfs shares get*](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/api::ProjectLocationNfsShareGetCall), [*locations nfs shares list*](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/api::ProjectLocationNfsShareListCall), [*locations nfs shares patch*](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/api::ProjectLocationNfsSharePatchCall), [*locations provisioning configs submit*](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/api::ProjectLocationProvisioningConfigSubmitCall), [*locations provisioning quotas list*](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/api::ProjectLocationProvisioningQuotaListCall), [*locations snapshot schedule policies create*](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/api::ProjectLocationSnapshotSchedulePolicyCreateCall), [*locations snapshot schedule policies delete*](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/api::ProjectLocationSnapshotSchedulePolicyDeleteCall), [*locations snapshot schedule policies get*](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/api::ProjectLocationSnapshotSchedulePolicyGetCall), [*locations snapshot schedule policies list*](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/api::ProjectLocationSnapshotSchedulePolicyListCall), [*locations snapshot schedule policies patch*](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/api::ProjectLocationSnapshotSchedulePolicyPatchCall), [*locations volumes get*](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/api::ProjectLocationVolumeGetCall), [*locations volumes list*](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/api::ProjectLocationVolumeListCall), [*locations volumes luns get*](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/api::ProjectLocationVolumeLunGetCall), [*locations volumes luns list*](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/api::ProjectLocationVolumeLunListCall), [*locations volumes patch*](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/api::ProjectLocationVolumePatchCall), [*locations volumes snapshots create*](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/api::ProjectLocationVolumeSnapshotCreateCall), [*locations volumes snapshots delete*](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/api::ProjectLocationVolumeSnapshotDeleteCall), [*locations volumes snapshots get*](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/api::ProjectLocationVolumeSnapshotGetCall), [*locations volumes snapshots list*](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/api::ProjectLocationVolumeSnapshotListCall) and [*locations volumes snapshots restore volume snapshot*](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/api::ProjectLocationVolumeSnapshotRestoreVolumeSnapshotCall) + * [*locations get*](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/api::ProjectLocationGetCall), [*locations instances get*](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/api::ProjectLocationInstanceGetCall), [*locations instances list*](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/api::ProjectLocationInstanceListCall), [*locations instances patch*](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/api::ProjectLocationInstancePatchCall), [*locations instances reset*](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/api::ProjectLocationInstanceResetCall), [*locations instances start*](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/api::ProjectLocationInstanceStartCall), [*locations list*](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/api::ProjectLocationListCall), [*locations networks get*](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/api::ProjectLocationNetworkGetCall), [*locations networks list*](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/api::ProjectLocationNetworkListCall), [*locations networks list network usage*](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/api::ProjectLocationNetworkListNetworkUsageCall), [*locations networks patch*](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/api::ProjectLocationNetworkPatchCall), [*locations nfs shares get*](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/api::ProjectLocationNfsShareGetCall), [*locations nfs shares list*](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/api::ProjectLocationNfsShareListCall), [*locations nfs shares patch*](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/api::ProjectLocationNfsSharePatchCall), [*locations provisioning configs submit*](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/api::ProjectLocationProvisioningConfigSubmitCall), [*locations provisioning quotas list*](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/api::ProjectLocationProvisioningQuotaListCall), [*locations snapshot schedule policies create*](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/api::ProjectLocationSnapshotSchedulePolicyCreateCall), [*locations snapshot schedule policies delete*](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/api::ProjectLocationSnapshotSchedulePolicyDeleteCall), [*locations snapshot schedule policies get*](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/api::ProjectLocationSnapshotSchedulePolicyGetCall), [*locations snapshot schedule policies list*](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/api::ProjectLocationSnapshotSchedulePolicyListCall), [*locations snapshot schedule policies patch*](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/api::ProjectLocationSnapshotSchedulePolicyPatchCall), [*locations volumes get*](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/api::ProjectLocationVolumeGetCall), [*locations volumes list*](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/api::ProjectLocationVolumeListCall), [*locations volumes luns get*](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/api::ProjectLocationVolumeLunGetCall), [*locations volumes luns list*](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/api::ProjectLocationVolumeLunListCall), [*locations volumes patch*](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/api::ProjectLocationVolumePatchCall), [*locations volumes snapshots create*](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/api::ProjectLocationVolumeSnapshotCreateCall), [*locations volumes snapshots delete*](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/api::ProjectLocationVolumeSnapshotDeleteCall), [*locations volumes snapshots get*](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/api::ProjectLocationVolumeSnapshotGetCall), [*locations volumes snapshots list*](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/api::ProjectLocationVolumeSnapshotListCall) and [*locations volumes snapshots restore volume snapshot*](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/api::ProjectLocationVolumeSnapshotRestoreVolumeSnapshotCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/Baremetalsolution)** +* **[Hub](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/Baremetalsolution)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/client::CallBuilder) -* **[Resources](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/client::CallBuilder) +* **[Resources](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/client::Part)** + * **[Parts](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -97,7 +97,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -131,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -151,29 +151,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/client::Delegate) to the -[Method Builder](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/client::Delegate) to the +[Method Builder](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/client::RequestValue) and -[decodable](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/client::RequestValue) and +[decodable](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-baremetalsolution2/3.0.0+20220209/google_baremetalsolution2/client::RequestValue) are moved +* [request values](https://docs.rs/google-baremetalsolution2/3.1.0+20220209/google_baremetalsolution2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/baremetalsolution2/src/api.rs b/gen/baremetalsolution2/src/api.rs index 58ddd0587e..f8d32cb159 100644 --- a/gen/baremetalsolution2/src/api.rs +++ b/gen/baremetalsolution2/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > Baremetalsolution<> { Baremetalsolution { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://baremetalsolution.googleapis.com/".to_string(), _root_url: "https://baremetalsolution.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > Baremetalsolution<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1259,7 +1259,7 @@ impl client::ResponseResult for VolumeSnapshot {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_get(...)`, `locations_instances_get(...)`, `locations_instances_list(...)`, `locations_instances_patch(...)`, `locations_instances_reset(...)`, `locations_instances_start(...)`, `locations_list(...)`, `locations_networks_get(...)`, `locations_networks_list(...)`, `locations_networks_list_network_usage(...)`, `locations_networks_patch(...)`, `locations_nfs_shares_get(...)`, `locations_nfs_shares_list(...)`, `locations_nfs_shares_patch(...)`, `locations_provisioning_configs_submit(...)`, `locations_provisioning_quotas_list(...)`, `locations_snapshot_schedule_policies_create(...)`, `locations_snapshot_schedule_policies_delete(...)`, `locations_snapshot_schedule_policies_get(...)`, `locations_snapshot_schedule_policies_list(...)`, `locations_snapshot_schedule_policies_patch(...)`, `locations_volumes_get(...)`, `locations_volumes_list(...)`, `locations_volumes_luns_get(...)`, `locations_volumes_luns_list(...)`, `locations_volumes_patch(...)`, `locations_volumes_snapshots_create(...)`, `locations_volumes_snapshots_delete(...)`, `locations_volumes_snapshots_get(...)`, `locations_volumes_snapshots_list(...)` and `locations_volumes_snapshots_restore_volume_snapshot(...)` /// // to build up your call. @@ -1886,7 +1886,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2142,7 +2142,7 @@ impl<'a> ProjectLocationInstanceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2435,7 +2435,7 @@ impl<'a> ProjectLocationInstanceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2733,7 +2733,7 @@ impl<'a> ProjectLocationInstancePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3019,7 +3019,7 @@ impl<'a> ProjectLocationInstanceResetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3304,7 +3304,7 @@ impl<'a> ProjectLocationInstanceStartCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3560,7 +3560,7 @@ impl<'a> ProjectLocationNetworkGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3852,7 +3852,7 @@ impl<'a> ProjectLocationNetworkListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4109,7 +4109,7 @@ impl<'a> ProjectLocationNetworkListNetworkUsageCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4406,7 +4406,7 @@ impl<'a> ProjectLocationNetworkPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4662,7 +4662,7 @@ impl<'a> ProjectLocationNfsShareGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4955,7 +4955,7 @@ impl<'a> ProjectLocationNfsShareListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5253,7 +5253,7 @@ impl<'a> ProjectLocationNfsSharePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5538,7 +5538,7 @@ impl<'a> ProjectLocationProvisioningConfigSubmitCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5819,7 +5819,7 @@ impl<'a> ProjectLocationProvisioningQuotaListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6116,7 +6116,7 @@ impl<'a> ProjectLocationSnapshotSchedulePolicyCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6372,7 +6372,7 @@ impl<'a> ProjectLocationSnapshotSchedulePolicyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6628,7 +6628,7 @@ impl<'a> ProjectLocationSnapshotSchedulePolicyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6921,7 +6921,7 @@ impl<'a> ProjectLocationSnapshotSchedulePolicyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7218,7 +7218,7 @@ impl<'a> ProjectLocationSnapshotSchedulePolicyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7474,7 +7474,7 @@ impl<'a> ProjectLocationVolumeLunGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7755,7 +7755,7 @@ impl<'a> ProjectLocationVolumeLunListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8040,7 +8040,7 @@ impl<'a> ProjectLocationVolumeSnapshotCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8296,7 +8296,7 @@ impl<'a> ProjectLocationVolumeSnapshotDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8552,7 +8552,7 @@ impl<'a> ProjectLocationVolumeSnapshotGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8833,7 +8833,7 @@ impl<'a> ProjectLocationVolumeSnapshotListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9118,7 +9118,7 @@ impl<'a> ProjectLocationVolumeSnapshotRestoreVolumeSnapshotCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9374,7 +9374,7 @@ impl<'a> ProjectLocationVolumeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9667,7 +9667,7 @@ impl<'a> ProjectLocationVolumeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9964,7 +9964,7 @@ impl<'a> ProjectLocationVolumePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10220,7 +10220,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/baremetalsolution2/src/lib.rs b/gen/baremetalsolution2/src/lib.rs index 886e316bce..7f2332bd69 100644 --- a/gen/baremetalsolution2/src/lib.rs +++ b/gen/baremetalsolution2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *baremetalsolution* crate version *3.0.0+20220209*, where *20220209* is the exact revision of the *baremetalsolution:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *baremetalsolution* crate version *3.1.0+20220209*, where *20220209* is the exact revision of the *baremetalsolution:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *baremetalsolution* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/bare-metal). @@ -98,7 +98,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Baremetalsolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/bigquery2-cli/Cargo.toml b/gen/bigquery2-cli/Cargo.toml index 8d6a3aa825..1e1ed38b58 100644 --- a/gen/bigquery2-cli/Cargo.toml +++ b/gen/bigquery2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-bigquery2-cli" -version = "3.0.1+20220222" +version = "3.1.0+20220222" authors = ["Sebastian Thiel "] description = "A complete library to interact with bigquery (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/bigquery2-cli" @@ -20,12 +20,12 @@ name = "bigquery2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-bigquery2] path = "../bigquery2" -version = "3.0.1+20220222" +version = "3.1.0+20220222" diff --git a/gen/bigquery2-cli/README.md b/gen/bigquery2-cli/README.md index dca5a61e61..209dc5b655 100644 --- a/gen/bigquery2-cli/README.md +++ b/gen/bigquery2-cli/README.md @@ -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 *bigquery* API at revision *20220222*. The CLI is at version *3.0.1*. +This documentation was generated from the *bigquery* API at revision *20220222*. The CLI is at version *3.1.0*. ```bash bigquery2 [options] diff --git a/gen/bigquery2-cli/mkdocs.yml b/gen/bigquery2-cli/mkdocs.yml index 51a47f7a10..d844b3d22b 100644 --- a/gen/bigquery2-cli/mkdocs.yml +++ b/gen/bigquery2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: bigquery v3.0.1+20220222 +site_name: bigquery v3.1.0+20220222 site_url: http://byron.github.io/google-apis-rs/google-bigquery2-cli site_description: A complete library to interact with bigquery (protocol v2) diff --git a/gen/bigquery2-cli/src/main.rs b/gen/bigquery2-cli/src/main.rs index 43d61c6a81..db00824617 100644 --- a/gen/bigquery2-cli/src/main.rs +++ b/gen/bigquery2-cli/src/main.rs @@ -3484,7 +3484,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/bigquery2", 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::Bigquery::new(client, auth), @@ -4715,7 +4721,7 @@ async fn main() { let mut app = App::new("bigquery2") .author("Sebastian Thiel ") - .version("3.0.1+20220222") + .version("3.1.0+20220222") .about("A data platform for customers to create, manage, share and query data.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_bigquery2_cli") .arg(Arg::with_name("url") diff --git a/gen/bigquery2/Cargo.toml b/gen/bigquery2/Cargo.toml index ccb1418306..59e3ac9a3b 100644 --- a/gen/bigquery2/Cargo.toml +++ b/gen/bigquery2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-bigquery2" -version = "3.0.2+20220222" +version = "3.1.0+20220222" authors = ["Sebastian Thiel "] description = "A complete library to interact with bigquery (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/bigquery2" homepage = "https://cloud.google.com/bigquery/" -documentation = "https://docs.rs/google-bigquery2/3.0.2+20220222" +documentation = "https://docs.rs/google-bigquery2/3.1.0+20220222" license = "MIT" keywords = ["bigquery", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/bigquery2/README.md b/gen/bigquery2/README.md index b32f57ec0b..a0e19b4b68 100644 --- a/gen/bigquery2/README.md +++ b/gen/bigquery2/README.md @@ -5,35 +5,35 @@ DO NOT EDIT ! --> The `google-bigquery2` library allows access to all features of the *Google bigquery* service. -This documentation was generated from *bigquery* crate version *3.0.2+20220222*, where *20220222* is the exact revision of the *bigquery:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.2*. +This documentation was generated from *bigquery* crate version *3.1.0+20220222*, where *20220222* is the exact revision of the *bigquery:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *bigquery* *v2* API can be found at the [official documentation site](https://cloud.google.com/bigquery/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/Bigquery) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/Bigquery) ... -* [datasets](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::Dataset) - * [*delete*](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::DatasetDeleteCall), [*get*](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::DatasetGetCall), [*insert*](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::DatasetInsertCall), [*list*](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::DatasetListCall), [*patch*](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::DatasetPatchCall) and [*update*](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::DatasetUpdateCall) -* [jobs](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::Job) - * [*cancel*](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::JobCancelCall), [*delete*](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::JobDeleteCall), [*get*](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::JobGetCall), [*get query results*](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::JobGetQueryResultCall), [*insert*](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::JobInsertCall), [*list*](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::JobListCall) and [*query*](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::JobQueryCall) -* [models](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::Model) - * [*delete*](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::ModelDeleteCall), [*get*](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::ModelGetCall), [*list*](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::ModelListCall) and [*patch*](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::ModelPatchCall) +* [datasets](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::Dataset) + * [*delete*](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::DatasetDeleteCall), [*get*](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::DatasetGetCall), [*insert*](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::DatasetInsertCall), [*list*](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::DatasetListCall), [*patch*](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::DatasetPatchCall) and [*update*](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::DatasetUpdateCall) +* [jobs](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::Job) + * [*cancel*](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::JobCancelCall), [*delete*](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::JobDeleteCall), [*get*](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::JobGetCall), [*get query results*](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::JobGetQueryResultCall), [*insert*](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::JobInsertCall), [*list*](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::JobListCall) and [*query*](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::JobQueryCall) +* [models](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::Model) + * [*delete*](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::ModelDeleteCall), [*get*](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::ModelGetCall), [*list*](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::ModelListCall) and [*patch*](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::ModelPatchCall) * projects - * [*get service account*](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::ProjectGetServiceAccountCall) and [*list*](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::ProjectListCall) -* [routines](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::Routine) - * [*delete*](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::RoutineDeleteCall), [*get*](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::RoutineGetCall), [*insert*](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::RoutineInsertCall), [*list*](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::RoutineListCall) and [*update*](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::RoutineUpdateCall) -* [row access policies](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::RowAccessPolicy) - * [*get iam policy*](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::RowAccessPolicyGetIamPolicyCall), [*list*](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::RowAccessPolicyListCall), [*set iam policy*](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::RowAccessPolicySetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::RowAccessPolicyTestIamPermissionCall) + * [*get service account*](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::ProjectGetServiceAccountCall) and [*list*](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::ProjectListCall) +* [routines](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::Routine) + * [*delete*](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::RoutineDeleteCall), [*get*](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::RoutineGetCall), [*insert*](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::RoutineInsertCall), [*list*](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::RoutineListCall) and [*update*](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::RoutineUpdateCall) +* [row access policies](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::RowAccessPolicy) + * [*get iam policy*](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::RowAccessPolicyGetIamPolicyCall), [*list*](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::RowAccessPolicyListCall), [*set iam policy*](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::RowAccessPolicySetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::RowAccessPolicyTestIamPermissionCall) * tabledata - * [*insert all*](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::TabledataInsertAllCall) and [*list*](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::TabledataListCall) -* [tables](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::Table) - * [*delete*](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::TableDeleteCall), [*get*](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::TableGetCall), [*get iam policy*](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::TableGetIamPolicyCall), [*insert*](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::TableInsertCall), [*list*](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::TableListCall), [*patch*](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::TablePatchCall), [*set iam policy*](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::TableSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::TableTestIamPermissionCall) and [*update*](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::TableUpdateCall) + * [*insert all*](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::TabledataInsertAllCall) and [*list*](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::TabledataListCall) +* [tables](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::Table) + * [*delete*](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::TableDeleteCall), [*get*](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::TableGetCall), [*get iam policy*](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::TableGetIamPolicyCall), [*insert*](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::TableInsertCall), [*list*](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::TableListCall), [*patch*](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::TablePatchCall), [*set iam policy*](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::TableSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::TableTestIamPermissionCall) and [*update*](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::TableUpdateCall) Upload supported by ... -* [*insert jobs*](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/api::JobInsertCall) +* [*insert jobs*](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/api::JobInsertCall) @@ -41,17 +41,17 @@ Upload supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/Bigquery)** +* **[Hub](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/Bigquery)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/client::CallBuilder) -* **[Resources](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/client::CallBuilder) +* **[Resources](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/client::Part)** + * **[Parts](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -117,7 +117,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -151,17 +151,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -171,29 +171,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/client::Delegate) to the -[Method Builder](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/client::Delegate) to the +[Method Builder](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/client::RequestValue) and -[decodable](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/client::RequestValue) and +[decodable](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-bigquery2/3.0.2+20220222/google_bigquery2/client::RequestValue) are moved +* [request values](https://docs.rs/google-bigquery2/3.1.0+20220222/google_bigquery2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/bigquery2/src/api.rs b/gen/bigquery2/src/api.rs index dab58109d2..66541afceb 100644 --- a/gen/bigquery2/src/api.rs +++ b/gen/bigquery2/src/api.rs @@ -95,7 +95,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -144,7 +144,7 @@ impl<'a, > Bigquery<> { Bigquery { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.2".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://bigquery.googleapis.com/bigquery/v2/".to_string(), _root_url: "https://bigquery.googleapis.com/".to_string(), } @@ -176,7 +176,7 @@ impl<'a, > Bigquery<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.2`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -3990,7 +3990,7 @@ impl client::Part for TableListTablesView {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -4152,7 +4152,7 @@ impl<'a> DatasetMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `cancel(...)`, `delete(...)`, `get(...)`, `get_query_results(...)`, `insert(...)`, `list(...)` and `query(...)` /// // to build up your call. @@ -4340,7 +4340,7 @@ impl<'a> JobMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `list(...)` and `patch(...)` /// // to build up your call. @@ -4467,7 +4467,7 @@ impl<'a> ModelMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get_service_account(...)` and `list(...)` /// // to build up your call. @@ -4539,7 +4539,7 @@ impl<'a> ProjectMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)` and `update(...)` /// // to build up your call. @@ -4690,7 +4690,7 @@ impl<'a> RoutineMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get_iam_policy(...)`, `list(...)`, `set_iam_policy(...)` and `test_iam_permissions(...)` /// // to build up your call. @@ -4811,7 +4811,7 @@ impl<'a> RowAccessPolicyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `insert_all(...)` and `list(...)` /// // to build up your call. @@ -4900,7 +4900,7 @@ impl<'a> TabledataMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `get_iam_policy(...)`, `insert(...)`, `list(...)`, `patch(...)`, `set_iam_policy(...)`, `test_iam_permissions(...)` and `update(...)` /// // to build up your call. @@ -5138,7 +5138,7 @@ impl<'a> TableMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5399,7 +5399,7 @@ impl<'a> DatasetDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5660,7 +5660,7 @@ impl<'a> DatasetGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5937,7 +5937,7 @@ impl<'a> DatasetInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6234,7 +6234,7 @@ impl<'a> DatasetListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6524,7 +6524,7 @@ impl<'a> DatasetPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6813,7 +6813,7 @@ impl<'a> DatasetUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7085,7 +7085,7 @@ impl<'a> JobCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7350,7 +7350,7 @@ impl<'a> JobDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7622,7 +7622,7 @@ impl<'a> JobGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7944,7 +7944,7 @@ impl<'a> JobGetQueryResultCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8478,7 +8478,7 @@ impl<'a> JobInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8826,7 +8826,7 @@ impl<'a> JobListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9103,7 +9103,7 @@ impl<'a> JobQueryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9368,7 +9368,7 @@ impl<'a> ModelDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9644,7 +9644,7 @@ impl<'a> ModelGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9933,7 +9933,7 @@ impl<'a> ModelListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10238,7 +10238,7 @@ impl<'a> ModelPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10486,7 +10486,7 @@ impl<'a> ProjectGetServiceAccountCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10725,7 +10725,7 @@ impl<'a> ProjectListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10990,7 +10990,7 @@ impl<'a> RoutineDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11279,7 +11279,7 @@ impl<'a> RoutineGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11572,7 +11572,7 @@ impl<'a> RoutineInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11885,7 +11885,7 @@ impl<'a> RoutineListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12191,7 +12191,7 @@ impl<'a> RoutineUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12472,7 +12472,7 @@ impl<'a> RowAccessPolicyGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12773,7 +12773,7 @@ impl<'a> RowAccessPolicyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13055,7 +13055,7 @@ impl<'a> RowAccessPolicySetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13337,7 +13337,7 @@ impl<'a> RowAccessPolicyTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13638,7 +13638,7 @@ impl<'a> TabledataInsertAllCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13958,7 +13958,7 @@ impl<'a> TabledataListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14219,7 +14219,7 @@ impl<'a> TableDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14504,7 +14504,7 @@ impl<'a> TableGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14786,7 +14786,7 @@ impl<'a> TableGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15075,7 +15075,7 @@ impl<'a> TableInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15360,7 +15360,7 @@ impl<'a> TableListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15674,7 +15674,7 @@ impl<'a> TablePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15956,7 +15956,7 @@ impl<'a> TableSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16238,7 +16238,7 @@ impl<'a> TableTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/bigquery2/src/lib.rs b/gen/bigquery2/src/lib.rs index d98221a470..a61ac56063 100644 --- a/gen/bigquery2/src/lib.rs +++ b/gen/bigquery2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *bigquery* crate version *3.0.2+20220222*, where *20220222* is the exact revision of the *bigquery:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.2*. +//! This documentation was generated from *bigquery* crate version *3.1.0+20220222*, where *20220222* is the exact revision of the *bigquery:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *bigquery* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/bigquery/). @@ -118,7 +118,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Bigquery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/bigqueryconnection1_beta1-cli/Cargo.toml b/gen/bigqueryconnection1_beta1-cli/Cargo.toml index 2651f4cca7..3bd0557857 100644 --- a/gen/bigqueryconnection1_beta1-cli/Cargo.toml +++ b/gen/bigqueryconnection1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-bigqueryconnection1_beta1-cli" -version = "3.0.0+20220226" +version = "3.1.0+20220226" authors = ["Sebastian Thiel "] description = "A complete library to interact with BigQuery Connection Service (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/bigqueryconnection1_beta1-cli" @@ -20,12 +20,12 @@ name = "bigqueryconnection1-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-bigqueryconnection1_beta1] path = "../bigqueryconnection1_beta1" -version = "3.0.0+20220226" +version = "3.1.0+20220226" diff --git a/gen/bigqueryconnection1_beta1-cli/README.md b/gen/bigqueryconnection1_beta1-cli/README.md index b4e729732f..0662fc23b8 100644 --- a/gen/bigqueryconnection1_beta1-cli/README.md +++ b/gen/bigqueryconnection1_beta1-cli/README.md @@ -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 *BigQuery Connection Service* API at revision *20220226*. The CLI is at version *3.0.0*. +This documentation was generated from the *BigQuery Connection Service* API at revision *20220226*. The CLI is at version *3.1.0*. ```bash bigqueryconnection1-beta1 [options] diff --git a/gen/bigqueryconnection1_beta1-cli/mkdocs.yml b/gen/bigqueryconnection1_beta1-cli/mkdocs.yml index 24a0cd5f39..92cff71019 100644 --- a/gen/bigqueryconnection1_beta1-cli/mkdocs.yml +++ b/gen/bigqueryconnection1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: BigQuery Connection Service v3.0.0+20220226 +site_name: BigQuery Connection Service v3.1.0+20220226 site_url: http://byron.github.io/google-apis-rs/google-bigqueryconnection1_beta1-cli site_description: A complete library to interact with BigQuery Connection Service (protocol v1beta1) diff --git a/gen/bigqueryconnection1_beta1-cli/src/main.rs b/gen/bigqueryconnection1_beta1-cli/src/main.rs index 7112b86052..db94e0e61a 100644 --- a/gen/bigqueryconnection1_beta1-cli/src/main.rs +++ b/gen/bigqueryconnection1_beta1-cli/src/main.rs @@ -820,7 +820,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/bigqueryconnection1-beta1", 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::BigQueryConnectionService::new(client, auth), @@ -1096,7 +1102,7 @@ async fn main() { let mut app = App::new("bigqueryconnection1-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20220226") + .version("3.1.0+20220226") .about("Allows users to manage BigQuery connections to external data sources.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_bigqueryconnection1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/bigqueryconnection1_beta1/Cargo.toml b/gen/bigqueryconnection1_beta1/Cargo.toml index ad39909986..079976703f 100644 --- a/gen/bigqueryconnection1_beta1/Cargo.toml +++ b/gen/bigqueryconnection1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-bigqueryconnection1_beta1" -version = "3.0.0+20220226" +version = "3.1.0+20220226" authors = ["Sebastian Thiel "] description = "A complete library to interact with BigQuery Connection Service (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/bigqueryconnection1_beta1" homepage = "https://cloud.google.com/bigquery/" -documentation = "https://docs.rs/google-bigqueryconnection1_beta1/3.0.0+20220226" +documentation = "https://docs.rs/google-bigqueryconnection1_beta1/3.1.0+20220226" license = "MIT" keywords = ["bigqueryconnection", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/bigqueryconnection1_beta1/README.md b/gen/bigqueryconnection1_beta1/README.md index e053f32b54..00f18035c4 100644 --- a/gen/bigqueryconnection1_beta1/README.md +++ b/gen/bigqueryconnection1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-bigqueryconnection1_beta1` library allows access to all features of the *Google BigQuery Connection Service* service. -This documentation was generated from *BigQuery Connection Service* crate version *3.0.0+20220226*, where *20220226* is the exact revision of the *bigqueryconnection:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *BigQuery Connection Service* crate version *3.1.0+20220226*, where *20220226* is the exact revision of the *bigqueryconnection:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *BigQuery Connection Service* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/bigquery/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-bigqueryconnection1_beta1/3.0.0+20220226/google_bigqueryconnection1_beta1/BigQueryConnectionService) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-bigqueryconnection1_beta1/3.1.0+20220226/google_bigqueryconnection1_beta1/BigQueryConnectionService) ... * projects - * [*locations connections create*](https://docs.rs/google-bigqueryconnection1_beta1/3.0.0+20220226/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionCreateCall), [*locations connections delete*](https://docs.rs/google-bigqueryconnection1_beta1/3.0.0+20220226/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionDeleteCall), [*locations connections get*](https://docs.rs/google-bigqueryconnection1_beta1/3.0.0+20220226/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionGetCall), [*locations connections get iam policy*](https://docs.rs/google-bigqueryconnection1_beta1/3.0.0+20220226/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionGetIamPolicyCall), [*locations connections list*](https://docs.rs/google-bigqueryconnection1_beta1/3.0.0+20220226/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionListCall), [*locations connections patch*](https://docs.rs/google-bigqueryconnection1_beta1/3.0.0+20220226/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionPatchCall), [*locations connections set iam policy*](https://docs.rs/google-bigqueryconnection1_beta1/3.0.0+20220226/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionSetIamPolicyCall), [*locations connections test iam permissions*](https://docs.rs/google-bigqueryconnection1_beta1/3.0.0+20220226/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionTestIamPermissionCall) and [*locations connections update credential*](https://docs.rs/google-bigqueryconnection1_beta1/3.0.0+20220226/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionUpdateCredentialCall) + * [*locations connections create*](https://docs.rs/google-bigqueryconnection1_beta1/3.1.0+20220226/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionCreateCall), [*locations connections delete*](https://docs.rs/google-bigqueryconnection1_beta1/3.1.0+20220226/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionDeleteCall), [*locations connections get*](https://docs.rs/google-bigqueryconnection1_beta1/3.1.0+20220226/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionGetCall), [*locations connections get iam policy*](https://docs.rs/google-bigqueryconnection1_beta1/3.1.0+20220226/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionGetIamPolicyCall), [*locations connections list*](https://docs.rs/google-bigqueryconnection1_beta1/3.1.0+20220226/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionListCall), [*locations connections patch*](https://docs.rs/google-bigqueryconnection1_beta1/3.1.0+20220226/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionPatchCall), [*locations connections set iam policy*](https://docs.rs/google-bigqueryconnection1_beta1/3.1.0+20220226/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionSetIamPolicyCall), [*locations connections test iam permissions*](https://docs.rs/google-bigqueryconnection1_beta1/3.1.0+20220226/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionTestIamPermissionCall) and [*locations connections update credential*](https://docs.rs/google-bigqueryconnection1_beta1/3.1.0+20220226/google_bigqueryconnection1_beta1/api::ProjectLocationConnectionUpdateCredentialCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-bigqueryconnection1_beta1/3.0.0+20220226/google_bigqueryconnection1_beta1/BigQueryConnectionService)** +* **[Hub](https://docs.rs/google-bigqueryconnection1_beta1/3.1.0+20220226/google_bigqueryconnection1_beta1/BigQueryConnectionService)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-bigqueryconnection1_beta1/3.0.0+20220226/google_bigqueryconnection1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-bigqueryconnection1_beta1/3.0.0+20220226/google_bigqueryconnection1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-bigqueryconnection1_beta1/3.0.0+20220226/google_bigqueryconnection1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-bigqueryconnection1_beta1/3.1.0+20220226/google_bigqueryconnection1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-bigqueryconnection1_beta1/3.1.0+20220226/google_bigqueryconnection1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-bigqueryconnection1_beta1/3.1.0+20220226/google_bigqueryconnection1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-bigqueryconnection1_beta1/3.0.0+20220226/google_bigqueryconnection1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-bigqueryconnection1_beta1/3.1.0+20220226/google_bigqueryconnection1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-bigqueryconnection1_beta1/3.0.0+20220226/google_bigqueryconnection1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-bigqueryconnection1_beta1/3.1.0+20220226/google_bigqueryconnection1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -93,7 +93,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = BigQueryConnectionService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = BigQueryConnectionService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -127,17 +127,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-bigqueryconnection1_beta1/3.0.0+20220226/google_bigqueryconnection1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-bigqueryconnection1_beta1/3.1.0+20220226/google_bigqueryconnection1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-bigqueryconnection1_beta1/3.0.0+20220226/google_bigqueryconnection1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-bigqueryconnection1_beta1/3.1.0+20220226/google_bigqueryconnection1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-bigqueryconnection1_beta1/3.0.0+20220226/google_bigqueryconnection1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-bigqueryconnection1_beta1/3.1.0+20220226/google_bigqueryconnection1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-bigqueryconnection1_beta1/3.0.0+20220226/google_bigqueryconnection1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-bigqueryconnection1_beta1/3.1.0+20220226/google_bigqueryconnection1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -147,29 +147,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-bigqueryconnection1_beta1/3.0.0+20220226/google_bigqueryconnection1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-bigqueryconnection1_beta1/3.0.0+20220226/google_bigqueryconnection1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-bigqueryconnection1_beta1/3.1.0+20220226/google_bigqueryconnection1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-bigqueryconnection1_beta1/3.1.0+20220226/google_bigqueryconnection1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-bigqueryconnection1_beta1/3.0.0+20220226/google_bigqueryconnection1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-bigqueryconnection1_beta1/3.1.0+20220226/google_bigqueryconnection1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-bigqueryconnection1_beta1/3.0.0+20220226/google_bigqueryconnection1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-bigqueryconnection1_beta1/3.0.0+20220226/google_bigqueryconnection1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-bigqueryconnection1_beta1/3.1.0+20220226/google_bigqueryconnection1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-bigqueryconnection1_beta1/3.1.0+20220226/google_bigqueryconnection1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-bigqueryconnection1_beta1/3.0.0+20220226/google_bigqueryconnection1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-bigqueryconnection1_beta1/3.1.0+20220226/google_bigqueryconnection1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-bigqueryconnection1_beta1/3.0.0+20220226/google_bigqueryconnection1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-bigqueryconnection1_beta1/3.1.0+20220226/google_bigqueryconnection1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-bigqueryconnection1_beta1/3.0.0+20220226/google_bigqueryconnection1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-bigqueryconnection1_beta1/3.1.0+20220226/google_bigqueryconnection1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/bigqueryconnection1_beta1/src/api.rs b/gen/bigqueryconnection1_beta1/src/api.rs index 2fa3edbf0f..8d740d6d5e 100644 --- a/gen/bigqueryconnection1_beta1/src/api.rs +++ b/gen/bigqueryconnection1_beta1/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = BigQueryConnectionService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = BigQueryConnectionService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -124,7 +124,7 @@ impl<'a, > BigQueryConnectionService<> { BigQueryConnectionService { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://bigqueryconnection.googleapis.com/".to_string(), _root_url: "https://bigqueryconnection.googleapis.com/".to_string(), } @@ -135,7 +135,7 @@ impl<'a, > BigQueryConnectionService<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -503,7 +503,7 @@ impl client::ResponseResult for TestIamPermissionsResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = BigQueryConnectionService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = BigQueryConnectionService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_connections_create(...)`, `locations_connections_delete(...)`, `locations_connections_get(...)`, `locations_connections_get_iam_policy(...)`, `locations_connections_list(...)`, `locations_connections_patch(...)`, `locations_connections_set_iam_policy(...)`, `locations_connections_test_iam_permissions(...)` and `locations_connections_update_credential(...)` /// // to build up your call. @@ -721,7 +721,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryConnectionService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryConnectionService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1018,7 +1018,7 @@ impl<'a> ProjectLocationConnectionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryConnectionService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryConnectionService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1274,7 +1274,7 @@ impl<'a> ProjectLocationConnectionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryConnectionService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryConnectionService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1531,7 +1531,7 @@ impl<'a> ProjectLocationConnectionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryConnectionService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryConnectionService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1816,7 +1816,7 @@ impl<'a> ProjectLocationConnectionGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryConnectionService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryConnectionService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2097,7 +2097,7 @@ impl<'a> ProjectLocationConnectionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryConnectionService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryConnectionService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2395,7 +2395,7 @@ impl<'a> ProjectLocationConnectionPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryConnectionService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryConnectionService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2681,7 +2681,7 @@ impl<'a> ProjectLocationConnectionSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryConnectionService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryConnectionService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2967,7 +2967,7 @@ impl<'a> ProjectLocationConnectionTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryConnectionService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryConnectionService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/bigqueryconnection1_beta1/src/lib.rs b/gen/bigqueryconnection1_beta1/src/lib.rs index 99119924b3..f169bd9272 100644 --- a/gen/bigqueryconnection1_beta1/src/lib.rs +++ b/gen/bigqueryconnection1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *BigQuery Connection Service* crate version *3.0.0+20220226*, where *20220226* is the exact revision of the *bigqueryconnection:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *BigQuery Connection Service* crate version *3.1.0+20220226*, where *20220226* is the exact revision of the *bigqueryconnection:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *BigQuery Connection Service* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/bigquery/). @@ -94,7 +94,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = BigQueryConnectionService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = BigQueryConnectionService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/bigquerydatatransfer1-cli/Cargo.toml b/gen/bigquerydatatransfer1-cli/Cargo.toml index a30ef103ca..41e0afce9e 100644 --- a/gen/bigquerydatatransfer1-cli/Cargo.toml +++ b/gen/bigquerydatatransfer1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-bigquerydatatransfer1-cli" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with BigQuery Data Transfer (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/bigquerydatatransfer1-cli" @@ -20,12 +20,12 @@ name = "bigquerydatatransfer1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-bigquerydatatransfer1] path = "../bigquerydatatransfer1" -version = "3.0.0+20220225" +version = "3.1.0+20220225" diff --git a/gen/bigquerydatatransfer1-cli/README.md b/gen/bigquerydatatransfer1-cli/README.md index f420cc7587..7cb3303fe4 100644 --- a/gen/bigquerydatatransfer1-cli/README.md +++ b/gen/bigquerydatatransfer1-cli/README.md @@ -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 *BigQuery Data Transfer* API at revision *20220225*. The CLI is at version *3.0.0*. +This documentation was generated from the *BigQuery Data Transfer* API at revision *20220225*. The CLI is at version *3.1.0*. ```bash bigquerydatatransfer1 [options] diff --git a/gen/bigquerydatatransfer1-cli/mkdocs.yml b/gen/bigquerydatatransfer1-cli/mkdocs.yml index 2552ab1c99..a9fde0c3c7 100644 --- a/gen/bigquerydatatransfer1-cli/mkdocs.yml +++ b/gen/bigquerydatatransfer1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: BigQuery Data Transfer v3.0.0+20220225 +site_name: BigQuery Data Transfer v3.1.0+20220225 site_url: http://byron.github.io/google-apis-rs/google-bigquerydatatransfer1-cli site_description: A complete library to interact with BigQuery Data Transfer (protocol v1) diff --git a/gen/bigquerydatatransfer1-cli/src/main.rs b/gen/bigquerydatatransfer1-cli/src/main.rs index 0dcded5934..d504c18352 100644 --- a/gen/bigquerydatatransfer1-cli/src/main.rs +++ b/gen/bigquerydatatransfer1-cli/src/main.rs @@ -2453,7 +2453,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/bigquerydatatransfer1", 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::BigQueryDataTransfer::new(client, auth), @@ -3271,7 +3277,7 @@ async fn main() { let mut app = App::new("bigquerydatatransfer1") .author("Sebastian Thiel ") - .version("3.0.0+20220225") + .version("3.1.0+20220225") .about("Schedule queries or transfer external data from SaaS applications to Google BigQuery on a regular basis.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_bigquerydatatransfer1_cli") .arg(Arg::with_name("url") diff --git a/gen/bigquerydatatransfer1/Cargo.toml b/gen/bigquerydatatransfer1/Cargo.toml index 54b1f67923..da2654eafe 100644 --- a/gen/bigquerydatatransfer1/Cargo.toml +++ b/gen/bigquerydatatransfer1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-bigquerydatatransfer1" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with BigQuery Data Transfer (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/bigquerydatatransfer1" homepage = "https://cloud.google.com/bigquery-transfer/" -documentation = "https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225" +documentation = "https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225" license = "MIT" keywords = ["bigquerydatatransfer", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/bigquerydatatransfer1/README.md b/gen/bigquerydatatransfer1/README.md index 6618813571..aa8bc4bde7 100644 --- a/gen/bigquerydatatransfer1/README.md +++ b/gen/bigquerydatatransfer1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-bigquerydatatransfer1` library allows access to all features of the *Google BigQuery Data Transfer* service. -This documentation was generated from *BigQuery Data Transfer* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *bigquerydatatransfer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *BigQuery Data Transfer* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *bigquerydatatransfer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *BigQuery Data Transfer* *v1* API can be found at the [official documentation site](https://cloud.google.com/bigquery-transfer/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/BigQueryDataTransfer) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/BigQueryDataTransfer) ... * projects - * [*data sources check valid creds*](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/api::ProjectDataSourceCheckValidCredCall), [*data sources get*](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/api::ProjectDataSourceGetCall), [*data sources list*](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/api::ProjectDataSourceListCall), [*enroll data sources*](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/api::ProjectEnrollDataSourceCall), [*locations data sources check valid creds*](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/api::ProjectLocationDataSourceCheckValidCredCall), [*locations data sources get*](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/api::ProjectLocationDataSourceGetCall), [*locations data sources list*](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/api::ProjectLocationDataSourceListCall), [*locations enroll data sources*](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/api::ProjectLocationEnrollDataSourceCall), [*locations get*](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/api::ProjectLocationListCall), [*locations transfer configs create*](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigCreateCall), [*locations transfer configs delete*](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigDeleteCall), [*locations transfer configs get*](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigGetCall), [*locations transfer configs list*](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigListCall), [*locations transfer configs patch*](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigPatchCall), [*locations transfer configs runs delete*](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigRunDeleteCall), [*locations transfer configs runs get*](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigRunGetCall), [*locations transfer configs runs list*](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigRunListCall), [*locations transfer configs runs transfer logs list*](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigRunTransferLogListCall), [*locations transfer configs schedule runs*](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigScheduleRunCall), [*locations transfer configs start manual runs*](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigStartManualRunCall), [*transfer configs create*](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/api::ProjectTransferConfigCreateCall), [*transfer configs delete*](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/api::ProjectTransferConfigDeleteCall), [*transfer configs get*](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/api::ProjectTransferConfigGetCall), [*transfer configs list*](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/api::ProjectTransferConfigListCall), [*transfer configs patch*](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/api::ProjectTransferConfigPatchCall), [*transfer configs runs delete*](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/api::ProjectTransferConfigRunDeleteCall), [*transfer configs runs get*](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/api::ProjectTransferConfigRunGetCall), [*transfer configs runs list*](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/api::ProjectTransferConfigRunListCall), [*transfer configs runs transfer logs list*](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/api::ProjectTransferConfigRunTransferLogListCall), [*transfer configs schedule runs*](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/api::ProjectTransferConfigScheduleRunCall) and [*transfer configs start manual runs*](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/api::ProjectTransferConfigStartManualRunCall) + * [*data sources check valid creds*](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/api::ProjectDataSourceCheckValidCredCall), [*data sources get*](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/api::ProjectDataSourceGetCall), [*data sources list*](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/api::ProjectDataSourceListCall), [*enroll data sources*](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/api::ProjectEnrollDataSourceCall), [*locations data sources check valid creds*](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/api::ProjectLocationDataSourceCheckValidCredCall), [*locations data sources get*](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/api::ProjectLocationDataSourceGetCall), [*locations data sources list*](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/api::ProjectLocationDataSourceListCall), [*locations enroll data sources*](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/api::ProjectLocationEnrollDataSourceCall), [*locations get*](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/api::ProjectLocationListCall), [*locations transfer configs create*](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigCreateCall), [*locations transfer configs delete*](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigDeleteCall), [*locations transfer configs get*](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigGetCall), [*locations transfer configs list*](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigListCall), [*locations transfer configs patch*](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigPatchCall), [*locations transfer configs runs delete*](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigRunDeleteCall), [*locations transfer configs runs get*](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigRunGetCall), [*locations transfer configs runs list*](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigRunListCall), [*locations transfer configs runs transfer logs list*](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigRunTransferLogListCall), [*locations transfer configs schedule runs*](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigScheduleRunCall), [*locations transfer configs start manual runs*](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/api::ProjectLocationTransferConfigStartManualRunCall), [*transfer configs create*](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/api::ProjectTransferConfigCreateCall), [*transfer configs delete*](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/api::ProjectTransferConfigDeleteCall), [*transfer configs get*](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/api::ProjectTransferConfigGetCall), [*transfer configs list*](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/api::ProjectTransferConfigListCall), [*transfer configs patch*](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/api::ProjectTransferConfigPatchCall), [*transfer configs runs delete*](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/api::ProjectTransferConfigRunDeleteCall), [*transfer configs runs get*](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/api::ProjectTransferConfigRunGetCall), [*transfer configs runs list*](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/api::ProjectTransferConfigRunListCall), [*transfer configs runs transfer logs list*](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/api::ProjectTransferConfigRunTransferLogListCall), [*transfer configs schedule runs*](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/api::ProjectTransferConfigScheduleRunCall) and [*transfer configs start manual runs*](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/api::ProjectTransferConfigStartManualRunCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/BigQueryDataTransfer)** +* **[Hub](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/BigQueryDataTransfer)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/client::CallBuilder) -* **[Resources](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/client::CallBuilder) +* **[Resources](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/client::Part)** + * **[Parts](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -96,7 +96,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -133,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -153,29 +153,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/client::Delegate) to the -[Method Builder](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/client::Delegate) to the +[Method Builder](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/client::RequestValue) and -[decodable](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/client::RequestValue) and +[decodable](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-bigquerydatatransfer1/3.0.0+20220225/google_bigquerydatatransfer1/client::RequestValue) are moved +* [request values](https://docs.rs/google-bigquerydatatransfer1/3.1.0+20220225/google_bigquerydatatransfer1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/bigquerydatatransfer1/src/api.rs b/gen/bigquerydatatransfer1/src/api.rs index 93493991e1..0c1ea62e02 100644 --- a/gen/bigquerydatatransfer1/src/api.rs +++ b/gen/bigquerydatatransfer1/src/api.rs @@ -79,7 +79,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -131,7 +131,7 @@ impl<'a, > BigQueryDataTransfer<> { BigQueryDataTransfer { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://bigquerydatatransfer.googleapis.com/".to_string(), _root_url: "https://bigquerydatatransfer.googleapis.com/".to_string(), } @@ -142,7 +142,7 @@ impl<'a, > BigQueryDataTransfer<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -842,7 +842,7 @@ impl client::Part for UserInfo {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `data_sources_check_valid_creds(...)`, `data_sources_get(...)`, `data_sources_list(...)`, `enroll_data_sources(...)`, `locations_data_sources_check_valid_creds(...)`, `locations_data_sources_get(...)`, `locations_data_sources_list(...)`, `locations_enroll_data_sources(...)`, `locations_get(...)`, `locations_list(...)`, `locations_transfer_configs_create(...)`, `locations_transfer_configs_delete(...)`, `locations_transfer_configs_get(...)`, `locations_transfer_configs_list(...)`, `locations_transfer_configs_patch(...)`, `locations_transfer_configs_runs_delete(...)`, `locations_transfer_configs_runs_get(...)`, `locations_transfer_configs_runs_list(...)`, `locations_transfer_configs_runs_transfer_logs_list(...)`, `locations_transfer_configs_schedule_runs(...)`, `locations_transfer_configs_start_manual_runs(...)`, `transfer_configs_create(...)`, `transfer_configs_delete(...)`, `transfer_configs_get(...)`, `transfer_configs_list(...)`, `transfer_configs_patch(...)`, `transfer_configs_runs_delete(...)`, `transfer_configs_runs_get(...)`, `transfer_configs_runs_list(...)`, `transfer_configs_runs_transfer_logs_list(...)`, `transfer_configs_schedule_runs(...)` and `transfer_configs_start_manual_runs(...)` /// // to build up your call. @@ -1500,7 +1500,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1785,7 +1785,7 @@ impl<'a> ProjectDataSourceCheckValidCredCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2041,7 +2041,7 @@ impl<'a> ProjectDataSourceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2322,7 +2322,7 @@ impl<'a> ProjectDataSourceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2607,7 +2607,7 @@ impl<'a> ProjectLocationDataSourceCheckValidCredCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2863,7 +2863,7 @@ impl<'a> ProjectLocationDataSourceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3143,7 +3143,7 @@ impl<'a> ProjectLocationDataSourceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3438,7 +3438,7 @@ impl<'a> ProjectLocationTransferConfigRunTransferLogListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3694,7 +3694,7 @@ impl<'a> ProjectLocationTransferConfigRunDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3950,7 +3950,7 @@ impl<'a> ProjectLocationTransferConfigRunGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4258,7 +4258,7 @@ impl<'a> ProjectLocationTransferConfigRunListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4579,7 +4579,7 @@ impl<'a> ProjectLocationTransferConfigCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4835,7 +4835,7 @@ impl<'a> ProjectLocationTransferConfigDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5091,7 +5091,7 @@ impl<'a> ProjectLocationTransferConfigGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5387,7 +5387,7 @@ impl<'a> ProjectLocationTransferConfigListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5721,7 +5721,7 @@ impl<'a> ProjectLocationTransferConfigPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6007,7 +6007,7 @@ impl<'a> ProjectLocationTransferConfigScheduleRunCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6293,7 +6293,7 @@ impl<'a> ProjectLocationTransferConfigStartManualRunCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6578,7 +6578,7 @@ impl<'a> ProjectLocationEnrollDataSourceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6834,7 +6834,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7126,7 +7126,7 @@ impl<'a> ProjectLocationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7421,7 +7421,7 @@ impl<'a> ProjectTransferConfigRunTransferLogListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7677,7 +7677,7 @@ impl<'a> ProjectTransferConfigRunDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7933,7 +7933,7 @@ impl<'a> ProjectTransferConfigRunGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8241,7 +8241,7 @@ impl<'a> ProjectTransferConfigRunListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8562,7 +8562,7 @@ impl<'a> ProjectTransferConfigCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8818,7 +8818,7 @@ impl<'a> ProjectTransferConfigDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9074,7 +9074,7 @@ impl<'a> ProjectTransferConfigGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9370,7 +9370,7 @@ impl<'a> ProjectTransferConfigListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9704,7 +9704,7 @@ impl<'a> ProjectTransferConfigPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9990,7 +9990,7 @@ impl<'a> ProjectTransferConfigScheduleRunCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10276,7 +10276,7 @@ impl<'a> ProjectTransferConfigStartManualRunCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/bigquerydatatransfer1/src/lib.rs b/gen/bigquerydatatransfer1/src/lib.rs index 71ec9a1ba9..2dd18fa402 100644 --- a/gen/bigquerydatatransfer1/src/lib.rs +++ b/gen/bigquerydatatransfer1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *BigQuery Data Transfer* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *bigquerydatatransfer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *BigQuery Data Transfer* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *bigquerydatatransfer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *BigQuery Data Transfer* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/bigquery-transfer/). @@ -97,7 +97,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = BigQueryDataTransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/bigqueryreservation1-cli/Cargo.toml b/gen/bigqueryreservation1-cli/Cargo.toml index 0e079f7256..284bb750a7 100644 --- a/gen/bigqueryreservation1-cli/Cargo.toml +++ b/gen/bigqueryreservation1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-bigqueryreservation1-cli" -version = "3.0.0+20220226" +version = "3.1.0+20220226" authors = ["Sebastian Thiel "] description = "A complete library to interact with BigQuery Reservation (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/bigqueryreservation1-cli" @@ -20,12 +20,12 @@ name = "bigqueryreservation1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-bigqueryreservation1] path = "../bigqueryreservation1" -version = "3.0.0+20220226" +version = "3.1.0+20220226" diff --git a/gen/bigqueryreservation1-cli/README.md b/gen/bigqueryreservation1-cli/README.md index e541ee6a33..987d95e5d8 100644 --- a/gen/bigqueryreservation1-cli/README.md +++ b/gen/bigqueryreservation1-cli/README.md @@ -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 *BigQuery Reservation* API at revision *20220226*. The CLI is at version *3.0.0*. +This documentation was generated from the *BigQuery Reservation* API at revision *20220226*. The CLI is at version *3.1.0*. ```bash bigqueryreservation1 [options] diff --git a/gen/bigqueryreservation1-cli/mkdocs.yml b/gen/bigqueryreservation1-cli/mkdocs.yml index 87a254087c..7fc42da308 100644 --- a/gen/bigqueryreservation1-cli/mkdocs.yml +++ b/gen/bigqueryreservation1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: BigQuery Reservation v3.0.0+20220226 +site_name: BigQuery Reservation v3.1.0+20220226 site_url: http://byron.github.io/google-apis-rs/google-bigqueryreservation1-cli site_description: A complete library to interact with BigQuery Reservation (protocol v1) diff --git a/gen/bigqueryreservation1-cli/src/main.rs b/gen/bigqueryreservation1-cli/src/main.rs index 133185dd89..ab1448824d 100644 --- a/gen/bigqueryreservation1-cli/src/main.rs +++ b/gen/bigqueryreservation1-cli/src/main.rs @@ -1593,7 +1593,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/bigqueryreservation1", 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::BigQueryReservation::new(client, auth), @@ -2129,7 +2135,7 @@ async fn main() { let mut app = App::new("bigqueryreservation1") .author("Sebastian Thiel ") - .version("3.0.0+20220226") + .version("3.1.0+20220226") .about("A service to modify your BigQuery flat-rate reservations.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_bigqueryreservation1_cli") .arg(Arg::with_name("url") diff --git a/gen/bigqueryreservation1/Cargo.toml b/gen/bigqueryreservation1/Cargo.toml index 8c88b72548..c421060c18 100644 --- a/gen/bigqueryreservation1/Cargo.toml +++ b/gen/bigqueryreservation1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-bigqueryreservation1" -version = "3.0.0+20220226" +version = "3.1.0+20220226" authors = ["Sebastian Thiel "] description = "A complete library to interact with BigQuery Reservation (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/bigqueryreservation1" homepage = "https://cloud.google.com/bigquery/" -documentation = "https://docs.rs/google-bigqueryreservation1/3.0.0+20220226" +documentation = "https://docs.rs/google-bigqueryreservation1/3.1.0+20220226" license = "MIT" keywords = ["bigqueryreservation", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/bigqueryreservation1/README.md b/gen/bigqueryreservation1/README.md index e690717b19..3554f9e7ab 100644 --- a/gen/bigqueryreservation1/README.md +++ b/gen/bigqueryreservation1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-bigqueryreservation1` library allows access to all features of the *Google BigQuery Reservation* service. -This documentation was generated from *BigQuery Reservation* crate version *3.0.0+20220226*, where *20220226* is the exact revision of the *bigqueryreservation:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *BigQuery Reservation* crate version *3.1.0+20220226*, where *20220226* is the exact revision of the *bigqueryreservation:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *BigQuery Reservation* *v1* API can be found at the [official documentation site](https://cloud.google.com/bigquery/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-bigqueryreservation1/3.0.0+20220226/google_bigqueryreservation1/BigQueryReservation) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-bigqueryreservation1/3.1.0+20220226/google_bigqueryreservation1/BigQueryReservation) ... * projects - * [*locations capacity commitments create*](https://docs.rs/google-bigqueryreservation1/3.0.0+20220226/google_bigqueryreservation1/api::ProjectLocationCapacityCommitmentCreateCall), [*locations capacity commitments delete*](https://docs.rs/google-bigqueryreservation1/3.0.0+20220226/google_bigqueryreservation1/api::ProjectLocationCapacityCommitmentDeleteCall), [*locations capacity commitments get*](https://docs.rs/google-bigqueryreservation1/3.0.0+20220226/google_bigqueryreservation1/api::ProjectLocationCapacityCommitmentGetCall), [*locations capacity commitments list*](https://docs.rs/google-bigqueryreservation1/3.0.0+20220226/google_bigqueryreservation1/api::ProjectLocationCapacityCommitmentListCall), [*locations capacity commitments merge*](https://docs.rs/google-bigqueryreservation1/3.0.0+20220226/google_bigqueryreservation1/api::ProjectLocationCapacityCommitmentMergeCall), [*locations capacity commitments patch*](https://docs.rs/google-bigqueryreservation1/3.0.0+20220226/google_bigqueryreservation1/api::ProjectLocationCapacityCommitmentPatchCall), [*locations capacity commitments split*](https://docs.rs/google-bigqueryreservation1/3.0.0+20220226/google_bigqueryreservation1/api::ProjectLocationCapacityCommitmentSplitCall), [*locations get bi reservation*](https://docs.rs/google-bigqueryreservation1/3.0.0+20220226/google_bigqueryreservation1/api::ProjectLocationGetBiReservationCall), [*locations reservations assignments create*](https://docs.rs/google-bigqueryreservation1/3.0.0+20220226/google_bigqueryreservation1/api::ProjectLocationReservationAssignmentCreateCall), [*locations reservations assignments delete*](https://docs.rs/google-bigqueryreservation1/3.0.0+20220226/google_bigqueryreservation1/api::ProjectLocationReservationAssignmentDeleteCall), [*locations reservations assignments list*](https://docs.rs/google-bigqueryreservation1/3.0.0+20220226/google_bigqueryreservation1/api::ProjectLocationReservationAssignmentListCall), [*locations reservations assignments move*](https://docs.rs/google-bigqueryreservation1/3.0.0+20220226/google_bigqueryreservation1/api::ProjectLocationReservationAssignmentMoveCall), [*locations reservations create*](https://docs.rs/google-bigqueryreservation1/3.0.0+20220226/google_bigqueryreservation1/api::ProjectLocationReservationCreateCall), [*locations reservations delete*](https://docs.rs/google-bigqueryreservation1/3.0.0+20220226/google_bigqueryreservation1/api::ProjectLocationReservationDeleteCall), [*locations reservations get*](https://docs.rs/google-bigqueryreservation1/3.0.0+20220226/google_bigqueryreservation1/api::ProjectLocationReservationGetCall), [*locations reservations list*](https://docs.rs/google-bigqueryreservation1/3.0.0+20220226/google_bigqueryreservation1/api::ProjectLocationReservationListCall), [*locations reservations patch*](https://docs.rs/google-bigqueryreservation1/3.0.0+20220226/google_bigqueryreservation1/api::ProjectLocationReservationPatchCall), [*locations search all assignments*](https://docs.rs/google-bigqueryreservation1/3.0.0+20220226/google_bigqueryreservation1/api::ProjectLocationSearchAllAssignmentCall), [*locations search assignments*](https://docs.rs/google-bigqueryreservation1/3.0.0+20220226/google_bigqueryreservation1/api::ProjectLocationSearchAssignmentCall) and [*locations update bi reservation*](https://docs.rs/google-bigqueryreservation1/3.0.0+20220226/google_bigqueryreservation1/api::ProjectLocationUpdateBiReservationCall) + * [*locations capacity commitments create*](https://docs.rs/google-bigqueryreservation1/3.1.0+20220226/google_bigqueryreservation1/api::ProjectLocationCapacityCommitmentCreateCall), [*locations capacity commitments delete*](https://docs.rs/google-bigqueryreservation1/3.1.0+20220226/google_bigqueryreservation1/api::ProjectLocationCapacityCommitmentDeleteCall), [*locations capacity commitments get*](https://docs.rs/google-bigqueryreservation1/3.1.0+20220226/google_bigqueryreservation1/api::ProjectLocationCapacityCommitmentGetCall), [*locations capacity commitments list*](https://docs.rs/google-bigqueryreservation1/3.1.0+20220226/google_bigqueryreservation1/api::ProjectLocationCapacityCommitmentListCall), [*locations capacity commitments merge*](https://docs.rs/google-bigqueryreservation1/3.1.0+20220226/google_bigqueryreservation1/api::ProjectLocationCapacityCommitmentMergeCall), [*locations capacity commitments patch*](https://docs.rs/google-bigqueryreservation1/3.1.0+20220226/google_bigqueryreservation1/api::ProjectLocationCapacityCommitmentPatchCall), [*locations capacity commitments split*](https://docs.rs/google-bigqueryreservation1/3.1.0+20220226/google_bigqueryreservation1/api::ProjectLocationCapacityCommitmentSplitCall), [*locations get bi reservation*](https://docs.rs/google-bigqueryreservation1/3.1.0+20220226/google_bigqueryreservation1/api::ProjectLocationGetBiReservationCall), [*locations reservations assignments create*](https://docs.rs/google-bigqueryreservation1/3.1.0+20220226/google_bigqueryreservation1/api::ProjectLocationReservationAssignmentCreateCall), [*locations reservations assignments delete*](https://docs.rs/google-bigqueryreservation1/3.1.0+20220226/google_bigqueryreservation1/api::ProjectLocationReservationAssignmentDeleteCall), [*locations reservations assignments list*](https://docs.rs/google-bigqueryreservation1/3.1.0+20220226/google_bigqueryreservation1/api::ProjectLocationReservationAssignmentListCall), [*locations reservations assignments move*](https://docs.rs/google-bigqueryreservation1/3.1.0+20220226/google_bigqueryreservation1/api::ProjectLocationReservationAssignmentMoveCall), [*locations reservations create*](https://docs.rs/google-bigqueryreservation1/3.1.0+20220226/google_bigqueryreservation1/api::ProjectLocationReservationCreateCall), [*locations reservations delete*](https://docs.rs/google-bigqueryreservation1/3.1.0+20220226/google_bigqueryreservation1/api::ProjectLocationReservationDeleteCall), [*locations reservations get*](https://docs.rs/google-bigqueryreservation1/3.1.0+20220226/google_bigqueryreservation1/api::ProjectLocationReservationGetCall), [*locations reservations list*](https://docs.rs/google-bigqueryreservation1/3.1.0+20220226/google_bigqueryreservation1/api::ProjectLocationReservationListCall), [*locations reservations patch*](https://docs.rs/google-bigqueryreservation1/3.1.0+20220226/google_bigqueryreservation1/api::ProjectLocationReservationPatchCall), [*locations search all assignments*](https://docs.rs/google-bigqueryreservation1/3.1.0+20220226/google_bigqueryreservation1/api::ProjectLocationSearchAllAssignmentCall), [*locations search assignments*](https://docs.rs/google-bigqueryreservation1/3.1.0+20220226/google_bigqueryreservation1/api::ProjectLocationSearchAssignmentCall) and [*locations update bi reservation*](https://docs.rs/google-bigqueryreservation1/3.1.0+20220226/google_bigqueryreservation1/api::ProjectLocationUpdateBiReservationCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-bigqueryreservation1/3.0.0+20220226/google_bigqueryreservation1/BigQueryReservation)** +* **[Hub](https://docs.rs/google-bigqueryreservation1/3.1.0+20220226/google_bigqueryreservation1/BigQueryReservation)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-bigqueryreservation1/3.0.0+20220226/google_bigqueryreservation1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-bigqueryreservation1/3.0.0+20220226/google_bigqueryreservation1/client::CallBuilder) -* **[Resources](https://docs.rs/google-bigqueryreservation1/3.0.0+20220226/google_bigqueryreservation1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-bigqueryreservation1/3.1.0+20220226/google_bigqueryreservation1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-bigqueryreservation1/3.1.0+20220226/google_bigqueryreservation1/client::CallBuilder) +* **[Resources](https://docs.rs/google-bigqueryreservation1/3.1.0+20220226/google_bigqueryreservation1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-bigqueryreservation1/3.0.0+20220226/google_bigqueryreservation1/client::Part)** + * **[Parts](https://docs.rs/google-bigqueryreservation1/3.1.0+20220226/google_bigqueryreservation1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-bigqueryreservation1/3.0.0+20220226/google_bigqueryreservation1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-bigqueryreservation1/3.1.0+20220226/google_bigqueryreservation1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -94,7 +94,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -129,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-bigqueryreservation1/3.0.0+20220226/google_bigqueryreservation1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-bigqueryreservation1/3.1.0+20220226/google_bigqueryreservation1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-bigqueryreservation1/3.0.0+20220226/google_bigqueryreservation1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-bigqueryreservation1/3.1.0+20220226/google_bigqueryreservation1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-bigqueryreservation1/3.0.0+20220226/google_bigqueryreservation1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-bigqueryreservation1/3.1.0+20220226/google_bigqueryreservation1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-bigqueryreservation1/3.0.0+20220226/google_bigqueryreservation1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-bigqueryreservation1/3.1.0+20220226/google_bigqueryreservation1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -149,29 +149,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-bigqueryreservation1/3.0.0+20220226/google_bigqueryreservation1/client::Delegate) to the -[Method Builder](https://docs.rs/google-bigqueryreservation1/3.0.0+20220226/google_bigqueryreservation1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-bigqueryreservation1/3.1.0+20220226/google_bigqueryreservation1/client::Delegate) to the +[Method Builder](https://docs.rs/google-bigqueryreservation1/3.1.0+20220226/google_bigqueryreservation1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-bigqueryreservation1/3.0.0+20220226/google_bigqueryreservation1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-bigqueryreservation1/3.1.0+20220226/google_bigqueryreservation1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-bigqueryreservation1/3.0.0+20220226/google_bigqueryreservation1/client::RequestValue) and -[decodable](https://docs.rs/google-bigqueryreservation1/3.0.0+20220226/google_bigqueryreservation1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-bigqueryreservation1/3.1.0+20220226/google_bigqueryreservation1/client::RequestValue) and +[decodable](https://docs.rs/google-bigqueryreservation1/3.1.0+20220226/google_bigqueryreservation1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-bigqueryreservation1/3.0.0+20220226/google_bigqueryreservation1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-bigqueryreservation1/3.1.0+20220226/google_bigqueryreservation1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-bigqueryreservation1/3.0.0+20220226/google_bigqueryreservation1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-bigqueryreservation1/3.1.0+20220226/google_bigqueryreservation1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-bigqueryreservation1/3.0.0+20220226/google_bigqueryreservation1/client::RequestValue) are moved +* [request values](https://docs.rs/google-bigqueryreservation1/3.1.0+20220226/google_bigqueryreservation1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/bigqueryreservation1/src/api.rs b/gen/bigqueryreservation1/src/api.rs index 2df46d7096..11bb24cd37 100644 --- a/gen/bigqueryreservation1/src/api.rs +++ b/gen/bigqueryreservation1/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -125,7 +125,7 @@ impl<'a, > BigQueryReservation<> { BigQueryReservation { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://bigqueryreservation.googleapis.com/".to_string(), _root_url: "https://bigqueryreservation.googleapis.com/".to_string(), } @@ -136,7 +136,7 @@ impl<'a, > BigQueryReservation<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -541,7 +541,7 @@ impl client::Part for Status {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_capacity_commitments_create(...)`, `locations_capacity_commitments_delete(...)`, `locations_capacity_commitments_get(...)`, `locations_capacity_commitments_list(...)`, `locations_capacity_commitments_merge(...)`, `locations_capacity_commitments_patch(...)`, `locations_capacity_commitments_split(...)`, `locations_get_bi_reservation(...)`, `locations_reservations_assignments_create(...)`, `locations_reservations_assignments_delete(...)`, `locations_reservations_assignments_list(...)`, `locations_reservations_assignments_move(...)`, `locations_reservations_create(...)`, `locations_reservations_delete(...)`, `locations_reservations_get(...)`, `locations_reservations_list(...)`, `locations_reservations_patch(...)`, `locations_search_all_assignments(...)`, `locations_search_assignments(...)` and `locations_update_bi_reservation(...)` /// // to build up your call. @@ -968,7 +968,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1277,7 +1277,7 @@ impl<'a> ProjectLocationCapacityCommitmentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1545,7 +1545,7 @@ impl<'a> ProjectLocationCapacityCommitmentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1801,7 +1801,7 @@ impl<'a> ProjectLocationCapacityCommitmentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2082,7 +2082,7 @@ impl<'a> ProjectLocationCapacityCommitmentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2368,7 +2368,7 @@ impl<'a> ProjectLocationCapacityCommitmentMergeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2666,7 +2666,7 @@ impl<'a> ProjectLocationCapacityCommitmentPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2952,7 +2952,7 @@ impl<'a> ProjectLocationCapacityCommitmentSplitCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3249,7 +3249,7 @@ impl<'a> ProjectLocationReservationAssignmentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3505,7 +3505,7 @@ impl<'a> ProjectLocationReservationAssignmentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3786,7 +3786,7 @@ impl<'a> ProjectLocationReservationAssignmentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4072,7 +4072,7 @@ impl<'a> ProjectLocationReservationAssignmentMoveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4369,7 +4369,7 @@ impl<'a> ProjectLocationReservationCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4625,7 +4625,7 @@ impl<'a> ProjectLocationReservationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4881,7 +4881,7 @@ impl<'a> ProjectLocationReservationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5162,7 +5162,7 @@ impl<'a> ProjectLocationReservationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5459,7 +5459,7 @@ impl<'a> ProjectLocationReservationPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5715,7 +5715,7 @@ impl<'a> ProjectLocationGetBiReservationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6007,7 +6007,7 @@ impl<'a> ProjectLocationSearchAllAssignmentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6300,7 +6300,7 @@ impl<'a> ProjectLocationSearchAssignmentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/bigqueryreservation1/src/lib.rs b/gen/bigqueryreservation1/src/lib.rs index f03a43c5b1..1c9877da58 100644 --- a/gen/bigqueryreservation1/src/lib.rs +++ b/gen/bigqueryreservation1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *BigQuery Reservation* crate version *3.0.0+20220226*, where *20220226* is the exact revision of the *bigqueryreservation:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *BigQuery Reservation* crate version *3.1.0+20220226*, where *20220226* is the exact revision of the *bigqueryreservation:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *BigQuery Reservation* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/bigquery/). @@ -95,7 +95,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = BigQueryReservation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/bigtableadmin2-cli/Cargo.toml b/gen/bigtableadmin2-cli/Cargo.toml index 86e18737b4..99ecd6a164 100644 --- a/gen/bigtableadmin2-cli/Cargo.toml +++ b/gen/bigtableadmin2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-bigtableadmin2-cli" -version = "3.0.0+20220222" +version = "3.1.0+20220222" authors = ["Sebastian Thiel "] description = "A complete library to interact with Bigtable Admin (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/bigtableadmin2-cli" @@ -20,12 +20,12 @@ name = "bigtableadmin2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-bigtableadmin2] path = "../bigtableadmin2" -version = "3.0.0+20220222" +version = "3.1.0+20220222" diff --git a/gen/bigtableadmin2-cli/README.md b/gen/bigtableadmin2-cli/README.md index cf714bc75c..19be99af36 100644 --- a/gen/bigtableadmin2-cli/README.md +++ b/gen/bigtableadmin2-cli/README.md @@ -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 *Bigtable Admin* API at revision *20220222*. The CLI is at version *3.0.0*. +This documentation was generated from the *Bigtable Admin* API at revision *20220222*. The CLI is at version *3.1.0*. ```bash bigtableadmin2 [options] diff --git a/gen/bigtableadmin2-cli/mkdocs.yml b/gen/bigtableadmin2-cli/mkdocs.yml index 63f5d0e2c3..6af7eabb94 100644 --- a/gen/bigtableadmin2-cli/mkdocs.yml +++ b/gen/bigtableadmin2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Bigtable Admin v3.0.0+20220222 +site_name: Bigtable Admin v3.1.0+20220222 site_url: http://byron.github.io/google-apis-rs/google-bigtableadmin2-cli site_description: A complete library to interact with Bigtable Admin (protocol v2) diff --git a/gen/bigtableadmin2-cli/src/main.rs b/gen/bigtableadmin2-cli/src/main.rs index 120eac15f6..ce165c8414 100644 --- a/gen/bigtableadmin2-cli/src/main.rs +++ b/gen/bigtableadmin2-cli/src/main.rs @@ -3636,7 +3636,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/bigtableadmin2", 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::BigtableAdmin::new(client, auth), @@ -4843,7 +4849,7 @@ async fn main() { let mut app = App::new("bigtableadmin2") .author("Sebastian Thiel ") - .version("3.0.0+20220222") + .version("3.1.0+20220222") .about("Administer your Cloud Bigtable tables and instances.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_bigtableadmin2_cli") .arg(Arg::with_name("url") diff --git a/gen/bigtableadmin2/Cargo.toml b/gen/bigtableadmin2/Cargo.toml index 5592523668..92f683480b 100644 --- a/gen/bigtableadmin2/Cargo.toml +++ b/gen/bigtableadmin2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-bigtableadmin2" -version = "3.0.0+20220222" +version = "3.1.0+20220222" authors = ["Sebastian Thiel "] description = "A complete library to interact with Bigtable Admin (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/bigtableadmin2" homepage = "https://cloud.google.com/bigtable/" -documentation = "https://docs.rs/google-bigtableadmin2/3.0.0+20220222" +documentation = "https://docs.rs/google-bigtableadmin2/3.1.0+20220222" license = "MIT" keywords = ["bigtableadmin", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/bigtableadmin2/README.md b/gen/bigtableadmin2/README.md index 889c5437a6..410a2fcf87 100644 --- a/gen/bigtableadmin2/README.md +++ b/gen/bigtableadmin2/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-bigtableadmin2` library allows access to all features of the *Google Bigtable Admin* service. -This documentation was generated from *Bigtable Admin* crate version *3.0.0+20220222*, where *20220222* is the exact revision of the *bigtableadmin:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Bigtable Admin* crate version *3.1.0+20220222*, where *20220222* is the exact revision of the *bigtableadmin:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Bigtable Admin* *v2* API can be found at the [official documentation site](https://cloud.google.com/bigtable/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/BigtableAdmin) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/BigtableAdmin) ... -* [operations](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::Operation) - * [*cancel*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::OperationCancelCall), [*delete*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::OperationDeleteCall), [*get*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::OperationGetCall) and [*projects operations list*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::OperationProjectOperationListCall) +* [operations](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::Operation) + * [*cancel*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::OperationCancelCall), [*delete*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::OperationDeleteCall), [*get*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::OperationGetCall) and [*projects operations list*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::OperationProjectOperationListCall) * projects - * [*instances app profiles create*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::ProjectInstanceAppProfileCreateCall), [*instances app profiles delete*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::ProjectInstanceAppProfileDeleteCall), [*instances app profiles get*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::ProjectInstanceAppProfileGetCall), [*instances app profiles list*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::ProjectInstanceAppProfileListCall), [*instances app profiles patch*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::ProjectInstanceAppProfilePatchCall), [*instances clusters backups create*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::ProjectInstanceClusterBackupCreateCall), [*instances clusters backups delete*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::ProjectInstanceClusterBackupDeleteCall), [*instances clusters backups get*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::ProjectInstanceClusterBackupGetCall), [*instances clusters backups get iam policy*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::ProjectInstanceClusterBackupGetIamPolicyCall), [*instances clusters backups list*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::ProjectInstanceClusterBackupListCall), [*instances clusters backups patch*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::ProjectInstanceClusterBackupPatchCall), [*instances clusters backups set iam policy*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::ProjectInstanceClusterBackupSetIamPolicyCall), [*instances clusters backups test iam permissions*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::ProjectInstanceClusterBackupTestIamPermissionCall), [*instances clusters create*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::ProjectInstanceClusterCreateCall), [*instances clusters delete*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::ProjectInstanceClusterDeleteCall), [*instances clusters get*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::ProjectInstanceClusterGetCall), [*instances clusters list*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::ProjectInstanceClusterListCall), [*instances clusters partial update cluster*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::ProjectInstanceClusterPartialUpdateClusterCall), [*instances clusters update*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::ProjectInstanceClusterUpdateCall), [*instances create*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::ProjectInstanceCreateCall), [*instances delete*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::ProjectInstanceDeleteCall), [*instances get*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::ProjectInstanceGetCall), [*instances get iam policy*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::ProjectInstanceGetIamPolicyCall), [*instances list*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::ProjectInstanceListCall), [*instances partial update instance*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::ProjectInstancePartialUpdateInstanceCall), [*instances set iam policy*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::ProjectInstanceSetIamPolicyCall), [*instances tables check consistency*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::ProjectInstanceTableCheckConsistencyCall), [*instances tables create*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::ProjectInstanceTableCreateCall), [*instances tables delete*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::ProjectInstanceTableDeleteCall), [*instances tables drop row range*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::ProjectInstanceTableDropRowRangeCall), [*instances tables generate consistency token*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::ProjectInstanceTableGenerateConsistencyTokenCall), [*instances tables get*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::ProjectInstanceTableGetCall), [*instances tables get iam policy*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::ProjectInstanceTableGetIamPolicyCall), [*instances tables list*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::ProjectInstanceTableListCall), [*instances tables modify column families*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::ProjectInstanceTableModifyColumnFamilyCall), [*instances tables restore*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::ProjectInstanceTableRestoreCall), [*instances tables set iam policy*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::ProjectInstanceTableSetIamPolicyCall), [*instances tables test iam permissions*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::ProjectInstanceTableTestIamPermissionCall), [*instances test iam permissions*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::ProjectInstanceTestIamPermissionCall), [*instances update*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::ProjectInstanceUpdateCall), [*locations get*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::ProjectLocationGetCall) and [*locations list*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/api::ProjectLocationListCall) + * [*instances app profiles create*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::ProjectInstanceAppProfileCreateCall), [*instances app profiles delete*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::ProjectInstanceAppProfileDeleteCall), [*instances app profiles get*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::ProjectInstanceAppProfileGetCall), [*instances app profiles list*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::ProjectInstanceAppProfileListCall), [*instances app profiles patch*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::ProjectInstanceAppProfilePatchCall), [*instances clusters backups create*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::ProjectInstanceClusterBackupCreateCall), [*instances clusters backups delete*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::ProjectInstanceClusterBackupDeleteCall), [*instances clusters backups get*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::ProjectInstanceClusterBackupGetCall), [*instances clusters backups get iam policy*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::ProjectInstanceClusterBackupGetIamPolicyCall), [*instances clusters backups list*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::ProjectInstanceClusterBackupListCall), [*instances clusters backups patch*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::ProjectInstanceClusterBackupPatchCall), [*instances clusters backups set iam policy*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::ProjectInstanceClusterBackupSetIamPolicyCall), [*instances clusters backups test iam permissions*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::ProjectInstanceClusterBackupTestIamPermissionCall), [*instances clusters create*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::ProjectInstanceClusterCreateCall), [*instances clusters delete*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::ProjectInstanceClusterDeleteCall), [*instances clusters get*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::ProjectInstanceClusterGetCall), [*instances clusters list*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::ProjectInstanceClusterListCall), [*instances clusters partial update cluster*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::ProjectInstanceClusterPartialUpdateClusterCall), [*instances clusters update*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::ProjectInstanceClusterUpdateCall), [*instances create*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::ProjectInstanceCreateCall), [*instances delete*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::ProjectInstanceDeleteCall), [*instances get*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::ProjectInstanceGetCall), [*instances get iam policy*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::ProjectInstanceGetIamPolicyCall), [*instances list*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::ProjectInstanceListCall), [*instances partial update instance*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::ProjectInstancePartialUpdateInstanceCall), [*instances set iam policy*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::ProjectInstanceSetIamPolicyCall), [*instances tables check consistency*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::ProjectInstanceTableCheckConsistencyCall), [*instances tables create*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::ProjectInstanceTableCreateCall), [*instances tables delete*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::ProjectInstanceTableDeleteCall), [*instances tables drop row range*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::ProjectInstanceTableDropRowRangeCall), [*instances tables generate consistency token*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::ProjectInstanceTableGenerateConsistencyTokenCall), [*instances tables get*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::ProjectInstanceTableGetCall), [*instances tables get iam policy*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::ProjectInstanceTableGetIamPolicyCall), [*instances tables list*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::ProjectInstanceTableListCall), [*instances tables modify column families*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::ProjectInstanceTableModifyColumnFamilyCall), [*instances tables restore*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::ProjectInstanceTableRestoreCall), [*instances tables set iam policy*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::ProjectInstanceTableSetIamPolicyCall), [*instances tables test iam permissions*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::ProjectInstanceTableTestIamPermissionCall), [*instances test iam permissions*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::ProjectInstanceTestIamPermissionCall), [*instances update*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::ProjectInstanceUpdateCall), [*locations get*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::ProjectLocationGetCall) and [*locations list*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/api::ProjectLocationListCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/BigtableAdmin)** +* **[Hub](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/BigtableAdmin)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/client::CallBuilder) -* **[Resources](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/client::CallBuilder) +* **[Resources](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/client::Part)** + * **[Parts](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -103,7 +103,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -154,29 +154,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/client::Delegate) to the -[Method Builder](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/client::Delegate) to the +[Method Builder](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/client::RequestValue) and -[decodable](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/client::RequestValue) and +[decodable](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-bigtableadmin2/3.0.0+20220222/google_bigtableadmin2/client::RequestValue) are moved +* [request values](https://docs.rs/google-bigtableadmin2/3.1.0+20220222/google_bigtableadmin2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/bigtableadmin2/src/api.rs b/gen/bigtableadmin2/src/api.rs index 545aca4796..87fedea814 100644 --- a/gen/bigtableadmin2/src/api.rs +++ b/gen/bigtableadmin2/src/api.rs @@ -102,7 +102,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -148,7 +148,7 @@ impl<'a, > BigtableAdmin<> { BigtableAdmin { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://bigtableadmin.googleapis.com/".to_string(), _root_url: "https://bigtableadmin.googleapis.com/".to_string(), } @@ -162,7 +162,7 @@ impl<'a, > BigtableAdmin<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1306,7 +1306,7 @@ impl client::Part for Union {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `cancel(...)`, `delete(...)`, `get(...)` and `projects_operations_list(...)` /// // to build up your call. @@ -1418,7 +1418,7 @@ impl<'a> OperationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `instances_app_profiles_create(...)`, `instances_app_profiles_delete(...)`, `instances_app_profiles_get(...)`, `instances_app_profiles_list(...)`, `instances_app_profiles_patch(...)`, `instances_clusters_backups_create(...)`, `instances_clusters_backups_delete(...)`, `instances_clusters_backups_get(...)`, `instances_clusters_backups_get_iam_policy(...)`, `instances_clusters_backups_list(...)`, `instances_clusters_backups_patch(...)`, `instances_clusters_backups_set_iam_policy(...)`, `instances_clusters_backups_test_iam_permissions(...)`, `instances_clusters_create(...)`, `instances_clusters_delete(...)`, `instances_clusters_get(...)`, `instances_clusters_list(...)`, `instances_clusters_partial_update_cluster(...)`, `instances_clusters_update(...)`, `instances_create(...)`, `instances_delete(...)`, `instances_get(...)`, `instances_get_iam_policy(...)`, `instances_list(...)`, `instances_partial_update_instance(...)`, `instances_set_iam_policy(...)`, `instances_tables_check_consistency(...)`, `instances_tables_create(...)`, `instances_tables_delete(...)`, `instances_tables_drop_row_range(...)`, `instances_tables_generate_consistency_token(...)`, `instances_tables_get(...)`, `instances_tables_get_iam_policy(...)`, `instances_tables_list(...)`, `instances_tables_modify_column_families(...)`, `instances_tables_restore(...)`, `instances_tables_set_iam_policy(...)`, `instances_tables_test_iam_permissions(...)`, `instances_test_iam_permissions(...)`, `instances_update(...)`, `locations_get(...)` and `locations_list(...)` /// // to build up your call. @@ -2255,7 +2255,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2547,7 +2547,7 @@ impl<'a> OperationProjectOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2803,7 +2803,7 @@ impl<'a> OperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3059,7 +3059,7 @@ impl<'a> OperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3316,7 +3316,7 @@ impl<'a> OperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3625,7 +3625,7 @@ impl<'a> ProjectInstanceAppProfileCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3893,7 +3893,7 @@ impl<'a> ProjectInstanceAppProfileDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4149,7 +4149,7 @@ impl<'a> ProjectInstanceAppProfileGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4430,7 +4430,7 @@ impl<'a> ProjectInstanceAppProfileListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4740,7 +4740,7 @@ impl<'a> ProjectInstanceAppProfilePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5037,7 +5037,7 @@ impl<'a> ProjectInstanceClusterBackupCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5293,7 +5293,7 @@ impl<'a> ProjectInstanceClusterBackupDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5550,7 +5550,7 @@ impl<'a> ProjectInstanceClusterBackupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5835,7 +5835,7 @@ impl<'a> ProjectInstanceClusterBackupGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6140,7 +6140,7 @@ impl<'a> ProjectInstanceClusterBackupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6438,7 +6438,7 @@ impl<'a> ProjectInstanceClusterBackupPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6724,7 +6724,7 @@ impl<'a> ProjectInstanceClusterBackupSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7010,7 +7010,7 @@ impl<'a> ProjectInstanceClusterBackupTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7307,7 +7307,7 @@ impl<'a> ProjectInstanceClusterCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7563,7 +7563,7 @@ impl<'a> ProjectInstanceClusterDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7819,7 +7819,7 @@ impl<'a> ProjectInstanceClusterGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8088,7 +8088,7 @@ impl<'a> ProjectInstanceClusterListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8386,7 +8386,7 @@ impl<'a> ProjectInstanceClusterPartialUpdateClusterCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8672,7 +8672,7 @@ impl<'a> ProjectInstanceClusterUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8958,7 +8958,7 @@ impl<'a> ProjectInstanceTableCheckConsistencyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9243,7 +9243,7 @@ impl<'a> ProjectInstanceTableCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9500,7 +9500,7 @@ impl<'a> ProjectInstanceTableDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9786,7 +9786,7 @@ impl<'a> ProjectInstanceTableDropRowRangeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10071,7 +10071,7 @@ impl<'a> ProjectInstanceTableGenerateConsistencyTokenCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10340,7 +10340,7 @@ impl<'a> ProjectInstanceTableGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10625,7 +10625,7 @@ impl<'a> ProjectInstanceTableGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10918,7 +10918,7 @@ impl<'a> ProjectInstanceTableListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11204,7 +11204,7 @@ impl<'a> ProjectInstanceTableModifyColumnFamilyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11490,7 +11490,7 @@ impl<'a> ProjectInstanceTableRestoreCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11776,7 +11776,7 @@ impl<'a> ProjectInstanceTableSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12062,7 +12062,7 @@ impl<'a> ProjectInstanceTableTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12347,7 +12347,7 @@ impl<'a> ProjectInstanceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12603,7 +12603,7 @@ impl<'a> ProjectInstanceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12860,7 +12860,7 @@ impl<'a> ProjectInstanceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13145,7 +13145,7 @@ impl<'a> ProjectInstanceGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13414,7 +13414,7 @@ impl<'a> ProjectInstanceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13712,7 +13712,7 @@ impl<'a> ProjectInstancePartialUpdateInstanceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13998,7 +13998,7 @@ impl<'a> ProjectInstanceSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14284,7 +14284,7 @@ impl<'a> ProjectInstanceTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14569,7 +14569,7 @@ impl<'a> ProjectInstanceUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14825,7 +14825,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/bigtableadmin2/src/lib.rs b/gen/bigtableadmin2/src/lib.rs index 757fa0249d..5ed2cce512 100644 --- a/gen/bigtableadmin2/src/lib.rs +++ b/gen/bigtableadmin2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Bigtable Admin* crate version *3.0.0+20220222*, where *20220222* is the exact revision of the *bigtableadmin:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Bigtable Admin* crate version *3.1.0+20220222*, where *20220222* is the exact revision of the *bigtableadmin:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Bigtable Admin* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/bigtable/). @@ -104,7 +104,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = BigtableAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/billingbudgets1-cli/Cargo.toml b/gen/billingbudgets1-cli/Cargo.toml index 83563bac19..5cfc7d1a25 100644 --- a/gen/billingbudgets1-cli/Cargo.toml +++ b/gen/billingbudgets1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-billingbudgets1-cli" -version = "3.0.0+20220227" +version = "3.1.0+20220227" authors = ["Sebastian Thiel "] description = "A complete library to interact with CloudBillingBudget (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/billingbudgets1-cli" @@ -20,12 +20,12 @@ name = "billingbudgets1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-billingbudgets1] path = "../billingbudgets1" -version = "3.0.0+20220227" +version = "3.1.0+20220227" diff --git a/gen/billingbudgets1-cli/README.md b/gen/billingbudgets1-cli/README.md index 324c34615f..51ba0a3fea 100644 --- a/gen/billingbudgets1-cli/README.md +++ b/gen/billingbudgets1-cli/README.md @@ -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 *CloudBillingBudget* API at revision *20220227*. The CLI is at version *3.0.0*. +This documentation was generated from the *CloudBillingBudget* API at revision *20220227*. The CLI is at version *3.1.0*. ```bash billingbudgets1 [options] diff --git a/gen/billingbudgets1-cli/mkdocs.yml b/gen/billingbudgets1-cli/mkdocs.yml index fb09836313..8003810212 100644 --- a/gen/billingbudgets1-cli/mkdocs.yml +++ b/gen/billingbudgets1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: CloudBillingBudget v3.0.0+20220227 +site_name: CloudBillingBudget v3.1.0+20220227 site_url: http://byron.github.io/google-apis-rs/google-billingbudgets1-cli site_description: A complete library to interact with CloudBillingBudget (protocol v1) diff --git a/gen/billingbudgets1-cli/src/main.rs b/gen/billingbudgets1-cli/src/main.rs index c268d9aff7..66a8ecde46 100644 --- a/gen/billingbudgets1-cli/src/main.rs +++ b/gen/billingbudgets1-cli/src/main.rs @@ -483,7 +483,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/billingbudgets1", 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::CloudBillingBudget::new(client, auth), @@ -647,7 +653,7 @@ async fn main() { let mut app = App::new("billingbudgets1") .author("Sebastian Thiel ") - .version("3.0.0+20220227") + .version("3.1.0+20220227") .about("The Cloud Billing Budget API stores Cloud Billing budgets, which define a budget plan and the rules to execute as spend is tracked against that plan.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_billingbudgets1_cli") .arg(Arg::with_name("url") diff --git a/gen/billingbudgets1/Cargo.toml b/gen/billingbudgets1/Cargo.toml index d74cea26dc..b95ab18c16 100644 --- a/gen/billingbudgets1/Cargo.toml +++ b/gen/billingbudgets1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-billingbudgets1" -version = "3.0.0+20220227" +version = "3.1.0+20220227" authors = ["Sebastian Thiel "] description = "A complete library to interact with CloudBillingBudget (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/billingbudgets1" homepage = "https://cloud.google.com/billing/docs/how-to/budget-api-overview" -documentation = "https://docs.rs/google-billingbudgets1/3.0.0+20220227" +documentation = "https://docs.rs/google-billingbudgets1/3.1.0+20220227" license = "MIT" keywords = ["billingbudgets", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/billingbudgets1/README.md b/gen/billingbudgets1/README.md index d5249c06d3..9837e51fa1 100644 --- a/gen/billingbudgets1/README.md +++ b/gen/billingbudgets1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-billingbudgets1` library allows access to all features of the *Google CloudBillingBudget* service. -This documentation was generated from *CloudBillingBudget* crate version *3.0.0+20220227*, where *20220227* is the exact revision of the *billingbudgets:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *CloudBillingBudget* crate version *3.1.0+20220227*, where *20220227* is the exact revision of the *billingbudgets:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *CloudBillingBudget* *v1* API can be found at the [official documentation site](https://cloud.google.com/billing/docs/how-to/budget-api-overview). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-billingbudgets1/3.0.0+20220227/google_billingbudgets1/CloudBillingBudget) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-billingbudgets1/3.1.0+20220227/google_billingbudgets1/CloudBillingBudget) ... * billing accounts - * [*budgets create*](https://docs.rs/google-billingbudgets1/3.0.0+20220227/google_billingbudgets1/api::BillingAccountBudgetCreateCall), [*budgets delete*](https://docs.rs/google-billingbudgets1/3.0.0+20220227/google_billingbudgets1/api::BillingAccountBudgetDeleteCall), [*budgets get*](https://docs.rs/google-billingbudgets1/3.0.0+20220227/google_billingbudgets1/api::BillingAccountBudgetGetCall), [*budgets list*](https://docs.rs/google-billingbudgets1/3.0.0+20220227/google_billingbudgets1/api::BillingAccountBudgetListCall) and [*budgets patch*](https://docs.rs/google-billingbudgets1/3.0.0+20220227/google_billingbudgets1/api::BillingAccountBudgetPatchCall) + * [*budgets create*](https://docs.rs/google-billingbudgets1/3.1.0+20220227/google_billingbudgets1/api::BillingAccountBudgetCreateCall), [*budgets delete*](https://docs.rs/google-billingbudgets1/3.1.0+20220227/google_billingbudgets1/api::BillingAccountBudgetDeleteCall), [*budgets get*](https://docs.rs/google-billingbudgets1/3.1.0+20220227/google_billingbudgets1/api::BillingAccountBudgetGetCall), [*budgets list*](https://docs.rs/google-billingbudgets1/3.1.0+20220227/google_billingbudgets1/api::BillingAccountBudgetListCall) and [*budgets patch*](https://docs.rs/google-billingbudgets1/3.1.0+20220227/google_billingbudgets1/api::BillingAccountBudgetPatchCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-billingbudgets1/3.0.0+20220227/google_billingbudgets1/CloudBillingBudget)** +* **[Hub](https://docs.rs/google-billingbudgets1/3.1.0+20220227/google_billingbudgets1/CloudBillingBudget)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-billingbudgets1/3.0.0+20220227/google_billingbudgets1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-billingbudgets1/3.0.0+20220227/google_billingbudgets1/client::CallBuilder) -* **[Resources](https://docs.rs/google-billingbudgets1/3.0.0+20220227/google_billingbudgets1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-billingbudgets1/3.1.0+20220227/google_billingbudgets1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-billingbudgets1/3.1.0+20220227/google_billingbudgets1/client::CallBuilder) +* **[Resources](https://docs.rs/google-billingbudgets1/3.1.0+20220227/google_billingbudgets1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-billingbudgets1/3.0.0+20220227/google_billingbudgets1/client::Part)** + * **[Parts](https://docs.rs/google-billingbudgets1/3.1.0+20220227/google_billingbudgets1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-billingbudgets1/3.0.0+20220227/google_billingbudgets1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-billingbudgets1/3.1.0+20220227/google_billingbudgets1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -93,7 +93,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudBillingBudget::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudBillingBudget::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -127,17 +127,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-billingbudgets1/3.0.0+20220227/google_billingbudgets1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-billingbudgets1/3.1.0+20220227/google_billingbudgets1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-billingbudgets1/3.0.0+20220227/google_billingbudgets1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-billingbudgets1/3.1.0+20220227/google_billingbudgets1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-billingbudgets1/3.0.0+20220227/google_billingbudgets1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-billingbudgets1/3.1.0+20220227/google_billingbudgets1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-billingbudgets1/3.0.0+20220227/google_billingbudgets1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-billingbudgets1/3.1.0+20220227/google_billingbudgets1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -147,29 +147,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-billingbudgets1/3.0.0+20220227/google_billingbudgets1/client::Delegate) to the -[Method Builder](https://docs.rs/google-billingbudgets1/3.0.0+20220227/google_billingbudgets1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-billingbudgets1/3.1.0+20220227/google_billingbudgets1/client::Delegate) to the +[Method Builder](https://docs.rs/google-billingbudgets1/3.1.0+20220227/google_billingbudgets1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-billingbudgets1/3.0.0+20220227/google_billingbudgets1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-billingbudgets1/3.1.0+20220227/google_billingbudgets1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-billingbudgets1/3.0.0+20220227/google_billingbudgets1/client::RequestValue) and -[decodable](https://docs.rs/google-billingbudgets1/3.0.0+20220227/google_billingbudgets1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-billingbudgets1/3.1.0+20220227/google_billingbudgets1/client::RequestValue) and +[decodable](https://docs.rs/google-billingbudgets1/3.1.0+20220227/google_billingbudgets1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-billingbudgets1/3.0.0+20220227/google_billingbudgets1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-billingbudgets1/3.1.0+20220227/google_billingbudgets1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-billingbudgets1/3.0.0+20220227/google_billingbudgets1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-billingbudgets1/3.1.0+20220227/google_billingbudgets1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-billingbudgets1/3.0.0+20220227/google_billingbudgets1/client::RequestValue) are moved +* [request values](https://docs.rs/google-billingbudgets1/3.1.0+20220227/google_billingbudgets1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/billingbudgets1/src/api.rs b/gen/billingbudgets1/src/api.rs index c5395b7f0b..f2e1315b92 100644 --- a/gen/billingbudgets1/src/api.rs +++ b/gen/billingbudgets1/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudBillingBudget::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudBillingBudget::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -124,7 +124,7 @@ impl<'a, > CloudBillingBudget<> { CloudBillingBudget { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://billingbudgets.googleapis.com/".to_string(), _root_url: "https://billingbudgets.googleapis.com/".to_string(), } @@ -135,7 +135,7 @@ impl<'a, > CloudBillingBudget<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -412,7 +412,7 @@ impl client::Part for GoogleTypeMoney {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudBillingBudget::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudBillingBudget::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `budgets_create(...)`, `budgets_delete(...)`, `budgets_get(...)`, `budgets_list(...)` and `budgets_patch(...)` /// // to build up your call. @@ -553,7 +553,7 @@ impl<'a> BillingAccountMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBillingBudget::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBillingBudget::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -838,7 +838,7 @@ impl<'a> BillingAccountBudgetCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBillingBudget::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBillingBudget::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1094,7 +1094,7 @@ impl<'a> BillingAccountBudgetDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBillingBudget::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBillingBudget::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1350,7 +1350,7 @@ impl<'a> BillingAccountBudgetGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBillingBudget::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBillingBudget::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1631,7 +1631,7 @@ impl<'a> BillingAccountBudgetListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBillingBudget::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBillingBudget::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/billingbudgets1/src/lib.rs b/gen/billingbudgets1/src/lib.rs index 54270cc247..4edd173c8d 100644 --- a/gen/billingbudgets1/src/lib.rs +++ b/gen/billingbudgets1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *CloudBillingBudget* crate version *3.0.0+20220227*, where *20220227* is the exact revision of the *billingbudgets:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *CloudBillingBudget* crate version *3.1.0+20220227*, where *20220227* is the exact revision of the *billingbudgets:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *CloudBillingBudget* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/billing/docs/how-to/budget-api-overview). @@ -94,7 +94,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudBillingBudget::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudBillingBudget::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/billingbudgets1_beta1-cli/Cargo.toml b/gen/billingbudgets1_beta1-cli/Cargo.toml index f0b8470c33..337c978b1a 100644 --- a/gen/billingbudgets1_beta1-cli/Cargo.toml +++ b/gen/billingbudgets1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-billingbudgets1_beta1-cli" -version = "3.0.0+20220227" +version = "3.1.0+20220227" authors = ["Sebastian Thiel "] description = "A complete library to interact with CloudBillingBudget (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/billingbudgets1_beta1-cli" @@ -20,12 +20,12 @@ name = "billingbudgets1-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-billingbudgets1_beta1] path = "../billingbudgets1_beta1" -version = "3.0.0+20220227" +version = "3.1.0+20220227" diff --git a/gen/billingbudgets1_beta1-cli/README.md b/gen/billingbudgets1_beta1-cli/README.md index aec8c56a45..75dd843dda 100644 --- a/gen/billingbudgets1_beta1-cli/README.md +++ b/gen/billingbudgets1_beta1-cli/README.md @@ -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 *CloudBillingBudget* API at revision *20220227*. The CLI is at version *3.0.0*. +This documentation was generated from the *CloudBillingBudget* API at revision *20220227*. The CLI is at version *3.1.0*. ```bash billingbudgets1-beta1 [options] diff --git a/gen/billingbudgets1_beta1-cli/mkdocs.yml b/gen/billingbudgets1_beta1-cli/mkdocs.yml index 02bd9efd2a..58156a84a6 100644 --- a/gen/billingbudgets1_beta1-cli/mkdocs.yml +++ b/gen/billingbudgets1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: CloudBillingBudget v3.0.0+20220227 +site_name: CloudBillingBudget v3.1.0+20220227 site_url: http://byron.github.io/google-apis-rs/google-billingbudgets1_beta1-cli site_description: A complete library to interact with CloudBillingBudget (protocol v1beta1) diff --git a/gen/billingbudgets1_beta1-cli/src/main.rs b/gen/billingbudgets1_beta1-cli/src/main.rs index 2040ef3397..f5aa0783af 100644 --- a/gen/billingbudgets1_beta1-cli/src/main.rs +++ b/gen/billingbudgets1_beta1-cli/src/main.rs @@ -480,7 +480,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/billingbudgets1-beta1", 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::CloudBillingBudget::new(client, auth), @@ -644,7 +650,7 @@ async fn main() { let mut app = App::new("billingbudgets1-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20220227") + .version("3.1.0+20220227") .about("The Cloud Billing Budget API stores Cloud Billing budgets, which define a budget plan and the rules to execute as spend is tracked against that plan.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_billingbudgets1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/billingbudgets1_beta1/Cargo.toml b/gen/billingbudgets1_beta1/Cargo.toml index 545eea030e..26b58dca68 100644 --- a/gen/billingbudgets1_beta1/Cargo.toml +++ b/gen/billingbudgets1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-billingbudgets1_beta1" -version = "3.0.0+20220227" +version = "3.1.0+20220227" authors = ["Sebastian Thiel "] description = "A complete library to interact with CloudBillingBudget (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/billingbudgets1_beta1" homepage = "https://cloud.google.com/billing/docs/how-to/budget-api-overview" -documentation = "https://docs.rs/google-billingbudgets1_beta1/3.0.0+20220227" +documentation = "https://docs.rs/google-billingbudgets1_beta1/3.1.0+20220227" license = "MIT" keywords = ["billingbudgets", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/billingbudgets1_beta1/README.md b/gen/billingbudgets1_beta1/README.md index 3520875104..891b84d7d6 100644 --- a/gen/billingbudgets1_beta1/README.md +++ b/gen/billingbudgets1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-billingbudgets1_beta1` library allows access to all features of the *Google CloudBillingBudget* service. -This documentation was generated from *CloudBillingBudget* crate version *3.0.0+20220227*, where *20220227* is the exact revision of the *billingbudgets:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *CloudBillingBudget* crate version *3.1.0+20220227*, where *20220227* is the exact revision of the *billingbudgets:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *CloudBillingBudget* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/billing/docs/how-to/budget-api-overview). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-billingbudgets1_beta1/3.0.0+20220227/google_billingbudgets1_beta1/CloudBillingBudget) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-billingbudgets1_beta1/3.1.0+20220227/google_billingbudgets1_beta1/CloudBillingBudget) ... * billing accounts - * [*budgets create*](https://docs.rs/google-billingbudgets1_beta1/3.0.0+20220227/google_billingbudgets1_beta1/api::BillingAccountBudgetCreateCall), [*budgets delete*](https://docs.rs/google-billingbudgets1_beta1/3.0.0+20220227/google_billingbudgets1_beta1/api::BillingAccountBudgetDeleteCall), [*budgets get*](https://docs.rs/google-billingbudgets1_beta1/3.0.0+20220227/google_billingbudgets1_beta1/api::BillingAccountBudgetGetCall), [*budgets list*](https://docs.rs/google-billingbudgets1_beta1/3.0.0+20220227/google_billingbudgets1_beta1/api::BillingAccountBudgetListCall) and [*budgets patch*](https://docs.rs/google-billingbudgets1_beta1/3.0.0+20220227/google_billingbudgets1_beta1/api::BillingAccountBudgetPatchCall) + * [*budgets create*](https://docs.rs/google-billingbudgets1_beta1/3.1.0+20220227/google_billingbudgets1_beta1/api::BillingAccountBudgetCreateCall), [*budgets delete*](https://docs.rs/google-billingbudgets1_beta1/3.1.0+20220227/google_billingbudgets1_beta1/api::BillingAccountBudgetDeleteCall), [*budgets get*](https://docs.rs/google-billingbudgets1_beta1/3.1.0+20220227/google_billingbudgets1_beta1/api::BillingAccountBudgetGetCall), [*budgets list*](https://docs.rs/google-billingbudgets1_beta1/3.1.0+20220227/google_billingbudgets1_beta1/api::BillingAccountBudgetListCall) and [*budgets patch*](https://docs.rs/google-billingbudgets1_beta1/3.1.0+20220227/google_billingbudgets1_beta1/api::BillingAccountBudgetPatchCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-billingbudgets1_beta1/3.0.0+20220227/google_billingbudgets1_beta1/CloudBillingBudget)** +* **[Hub](https://docs.rs/google-billingbudgets1_beta1/3.1.0+20220227/google_billingbudgets1_beta1/CloudBillingBudget)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-billingbudgets1_beta1/3.0.0+20220227/google_billingbudgets1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-billingbudgets1_beta1/3.0.0+20220227/google_billingbudgets1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-billingbudgets1_beta1/3.0.0+20220227/google_billingbudgets1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-billingbudgets1_beta1/3.1.0+20220227/google_billingbudgets1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-billingbudgets1_beta1/3.1.0+20220227/google_billingbudgets1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-billingbudgets1_beta1/3.1.0+20220227/google_billingbudgets1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-billingbudgets1_beta1/3.0.0+20220227/google_billingbudgets1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-billingbudgets1_beta1/3.1.0+20220227/google_billingbudgets1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-billingbudgets1_beta1/3.0.0+20220227/google_billingbudgets1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-billingbudgets1_beta1/3.1.0+20220227/google_billingbudgets1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -93,7 +93,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudBillingBudget::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudBillingBudget::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -126,17 +126,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-billingbudgets1_beta1/3.0.0+20220227/google_billingbudgets1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-billingbudgets1_beta1/3.1.0+20220227/google_billingbudgets1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-billingbudgets1_beta1/3.0.0+20220227/google_billingbudgets1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-billingbudgets1_beta1/3.1.0+20220227/google_billingbudgets1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-billingbudgets1_beta1/3.0.0+20220227/google_billingbudgets1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-billingbudgets1_beta1/3.1.0+20220227/google_billingbudgets1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-billingbudgets1_beta1/3.0.0+20220227/google_billingbudgets1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-billingbudgets1_beta1/3.1.0+20220227/google_billingbudgets1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -146,29 +146,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-billingbudgets1_beta1/3.0.0+20220227/google_billingbudgets1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-billingbudgets1_beta1/3.0.0+20220227/google_billingbudgets1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-billingbudgets1_beta1/3.1.0+20220227/google_billingbudgets1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-billingbudgets1_beta1/3.1.0+20220227/google_billingbudgets1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-billingbudgets1_beta1/3.0.0+20220227/google_billingbudgets1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-billingbudgets1_beta1/3.1.0+20220227/google_billingbudgets1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-billingbudgets1_beta1/3.0.0+20220227/google_billingbudgets1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-billingbudgets1_beta1/3.0.0+20220227/google_billingbudgets1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-billingbudgets1_beta1/3.1.0+20220227/google_billingbudgets1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-billingbudgets1_beta1/3.1.0+20220227/google_billingbudgets1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-billingbudgets1_beta1/3.0.0+20220227/google_billingbudgets1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-billingbudgets1_beta1/3.1.0+20220227/google_billingbudgets1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-billingbudgets1_beta1/3.0.0+20220227/google_billingbudgets1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-billingbudgets1_beta1/3.1.0+20220227/google_billingbudgets1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-billingbudgets1_beta1/3.0.0+20220227/google_billingbudgets1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-billingbudgets1_beta1/3.1.0+20220227/google_billingbudgets1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/billingbudgets1_beta1/src/api.rs b/gen/billingbudgets1_beta1/src/api.rs index a0646ca9a8..4deca999ee 100644 --- a/gen/billingbudgets1_beta1/src/api.rs +++ b/gen/billingbudgets1_beta1/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudBillingBudget::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudBillingBudget::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -123,7 +123,7 @@ impl<'a, > CloudBillingBudget<> { CloudBillingBudget { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://billingbudgets.googleapis.com/".to_string(), _root_url: "https://billingbudgets.googleapis.com/".to_string(), } @@ -134,7 +134,7 @@ impl<'a, > CloudBillingBudget<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -449,7 +449,7 @@ impl client::Part for GoogleTypeMoney {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudBillingBudget::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudBillingBudget::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `budgets_create(...)`, `budgets_delete(...)`, `budgets_get(...)`, `budgets_list(...)` and `budgets_patch(...)` /// // to build up your call. @@ -589,7 +589,7 @@ impl<'a> BillingAccountMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBillingBudget::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBillingBudget::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -874,7 +874,7 @@ impl<'a> BillingAccountBudgetCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBillingBudget::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBillingBudget::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1130,7 +1130,7 @@ impl<'a> BillingAccountBudgetDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBillingBudget::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBillingBudget::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1386,7 +1386,7 @@ impl<'a> BillingAccountBudgetGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBillingBudget::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBillingBudget::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1667,7 +1667,7 @@ impl<'a> BillingAccountBudgetListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBillingBudget::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBillingBudget::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/billingbudgets1_beta1/src/lib.rs b/gen/billingbudgets1_beta1/src/lib.rs index 2d6c74d8ab..d8d37f7f78 100644 --- a/gen/billingbudgets1_beta1/src/lib.rs +++ b/gen/billingbudgets1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *CloudBillingBudget* crate version *3.0.0+20220227*, where *20220227* is the exact revision of the *billingbudgets:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *CloudBillingBudget* crate version *3.1.0+20220227*, where *20220227* is the exact revision of the *billingbudgets:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *CloudBillingBudget* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/billing/docs/how-to/budget-api-overview). @@ -94,7 +94,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudBillingBudget::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudBillingBudget::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/binaryauthorization1-cli/Cargo.toml b/gen/binaryauthorization1-cli/Cargo.toml index 90c185053e..c646dd145f 100644 --- a/gen/binaryauthorization1-cli/Cargo.toml +++ b/gen/binaryauthorization1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-binaryauthorization1-cli" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with Binary Authorization (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/binaryauthorization1-cli" @@ -20,12 +20,12 @@ name = "binaryauthorization1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-binaryauthorization1] path = "../binaryauthorization1" -version = "3.0.0+20220225" +version = "3.1.0+20220225" diff --git a/gen/binaryauthorization1-cli/README.md b/gen/binaryauthorization1-cli/README.md index c9323b3fb6..fe1ddc63ae 100644 --- a/gen/binaryauthorization1-cli/README.md +++ b/gen/binaryauthorization1-cli/README.md @@ -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 *Binary Authorization* API at revision *20220225*. The CLI is at version *3.0.0*. +This documentation was generated from the *Binary Authorization* API at revision *20220225*. The CLI is at version *3.1.0*. ```bash binaryauthorization1 [options] diff --git a/gen/binaryauthorization1-cli/mkdocs.yml b/gen/binaryauthorization1-cli/mkdocs.yml index 7af61fbd21..6ae27ee49a 100644 --- a/gen/binaryauthorization1-cli/mkdocs.yml +++ b/gen/binaryauthorization1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Binary Authorization v3.0.0+20220225 +site_name: Binary Authorization v3.1.0+20220225 site_url: http://byron.github.io/google-apis-rs/google-binaryauthorization1-cli site_description: A complete library to interact with Binary Authorization (protocol v1) diff --git a/gen/binaryauthorization1-cli/src/main.rs b/gen/binaryauthorization1-cli/src/main.rs index 09f97dd7ea..6400632d2f 100644 --- a/gen/binaryauthorization1-cli/src/main.rs +++ b/gen/binaryauthorization1-cli/src/main.rs @@ -1226,7 +1226,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/binaryauthorization1", 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::BinaryAuthorization::new(client, auth), @@ -1649,7 +1655,7 @@ async fn main() { let mut app = App::new("binaryauthorization1") .author("Sebastian Thiel ") - .version("3.0.0+20220225") + .version("3.1.0+20220225") .about("The management interface for Binary Authorization, a service that provides policy-based deployment validation and control for images deployed to Google Kubernetes Engine (GKE), Anthos Service Mesh, Anthos Clusters, and Cloud Run. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_binaryauthorization1_cli") .arg(Arg::with_name("url") diff --git a/gen/binaryauthorization1/Cargo.toml b/gen/binaryauthorization1/Cargo.toml index b2f25c7f67..1339c69782 100644 --- a/gen/binaryauthorization1/Cargo.toml +++ b/gen/binaryauthorization1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-binaryauthorization1" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with Binary Authorization (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/binaryauthorization1" homepage = "https://cloud.google.com/binary-authorization/" -documentation = "https://docs.rs/google-binaryauthorization1/3.0.0+20220225" +documentation = "https://docs.rs/google-binaryauthorization1/3.1.0+20220225" license = "MIT" keywords = ["binaryauthorization", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/binaryauthorization1/README.md b/gen/binaryauthorization1/README.md index a132fff4b4..f81f8b1c7c 100644 --- a/gen/binaryauthorization1/README.md +++ b/gen/binaryauthorization1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-binaryauthorization1` library allows access to all features of the *Google Binary Authorization* service. -This documentation was generated from *Binary Authorization* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *binaryauthorization:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Binary Authorization* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *binaryauthorization:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Binary Authorization* *v1* API can be found at the [official documentation site](https://cloud.google.com/binary-authorization/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-binaryauthorization1/3.0.0+20220225/google_binaryauthorization1/BinaryAuthorization) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-binaryauthorization1/3.1.0+20220225/google_binaryauthorization1/BinaryAuthorization) ... * projects - * [*attestors create*](https://docs.rs/google-binaryauthorization1/3.0.0+20220225/google_binaryauthorization1/api::ProjectAttestorCreateCall), [*attestors delete*](https://docs.rs/google-binaryauthorization1/3.0.0+20220225/google_binaryauthorization1/api::ProjectAttestorDeleteCall), [*attestors get*](https://docs.rs/google-binaryauthorization1/3.0.0+20220225/google_binaryauthorization1/api::ProjectAttestorGetCall), [*attestors get iam policy*](https://docs.rs/google-binaryauthorization1/3.0.0+20220225/google_binaryauthorization1/api::ProjectAttestorGetIamPolicyCall), [*attestors list*](https://docs.rs/google-binaryauthorization1/3.0.0+20220225/google_binaryauthorization1/api::ProjectAttestorListCall), [*attestors set iam policy*](https://docs.rs/google-binaryauthorization1/3.0.0+20220225/google_binaryauthorization1/api::ProjectAttestorSetIamPolicyCall), [*attestors test iam permissions*](https://docs.rs/google-binaryauthorization1/3.0.0+20220225/google_binaryauthorization1/api::ProjectAttestorTestIamPermissionCall), [*attestors update*](https://docs.rs/google-binaryauthorization1/3.0.0+20220225/google_binaryauthorization1/api::ProjectAttestorUpdateCall), [*attestors validate attestation occurrence*](https://docs.rs/google-binaryauthorization1/3.0.0+20220225/google_binaryauthorization1/api::ProjectAttestorValidateAttestationOccurrenceCall), [*get policy*](https://docs.rs/google-binaryauthorization1/3.0.0+20220225/google_binaryauthorization1/api::ProjectGetPolicyCall), [*policy get iam policy*](https://docs.rs/google-binaryauthorization1/3.0.0+20220225/google_binaryauthorization1/api::ProjectPolicyGetIamPolicyCall), [*policy set iam policy*](https://docs.rs/google-binaryauthorization1/3.0.0+20220225/google_binaryauthorization1/api::ProjectPolicySetIamPolicyCall), [*policy test iam permissions*](https://docs.rs/google-binaryauthorization1/3.0.0+20220225/google_binaryauthorization1/api::ProjectPolicyTestIamPermissionCall) and [*update policy*](https://docs.rs/google-binaryauthorization1/3.0.0+20220225/google_binaryauthorization1/api::ProjectUpdatePolicyCall) + * [*attestors create*](https://docs.rs/google-binaryauthorization1/3.1.0+20220225/google_binaryauthorization1/api::ProjectAttestorCreateCall), [*attestors delete*](https://docs.rs/google-binaryauthorization1/3.1.0+20220225/google_binaryauthorization1/api::ProjectAttestorDeleteCall), [*attestors get*](https://docs.rs/google-binaryauthorization1/3.1.0+20220225/google_binaryauthorization1/api::ProjectAttestorGetCall), [*attestors get iam policy*](https://docs.rs/google-binaryauthorization1/3.1.0+20220225/google_binaryauthorization1/api::ProjectAttestorGetIamPolicyCall), [*attestors list*](https://docs.rs/google-binaryauthorization1/3.1.0+20220225/google_binaryauthorization1/api::ProjectAttestorListCall), [*attestors set iam policy*](https://docs.rs/google-binaryauthorization1/3.1.0+20220225/google_binaryauthorization1/api::ProjectAttestorSetIamPolicyCall), [*attestors test iam permissions*](https://docs.rs/google-binaryauthorization1/3.1.0+20220225/google_binaryauthorization1/api::ProjectAttestorTestIamPermissionCall), [*attestors update*](https://docs.rs/google-binaryauthorization1/3.1.0+20220225/google_binaryauthorization1/api::ProjectAttestorUpdateCall), [*attestors validate attestation occurrence*](https://docs.rs/google-binaryauthorization1/3.1.0+20220225/google_binaryauthorization1/api::ProjectAttestorValidateAttestationOccurrenceCall), [*get policy*](https://docs.rs/google-binaryauthorization1/3.1.0+20220225/google_binaryauthorization1/api::ProjectGetPolicyCall), [*policy get iam policy*](https://docs.rs/google-binaryauthorization1/3.1.0+20220225/google_binaryauthorization1/api::ProjectPolicyGetIamPolicyCall), [*policy set iam policy*](https://docs.rs/google-binaryauthorization1/3.1.0+20220225/google_binaryauthorization1/api::ProjectPolicySetIamPolicyCall), [*policy test iam permissions*](https://docs.rs/google-binaryauthorization1/3.1.0+20220225/google_binaryauthorization1/api::ProjectPolicyTestIamPermissionCall) and [*update policy*](https://docs.rs/google-binaryauthorization1/3.1.0+20220225/google_binaryauthorization1/api::ProjectUpdatePolicyCall) * systempolicy - * [*get policy*](https://docs.rs/google-binaryauthorization1/3.0.0+20220225/google_binaryauthorization1/api::SystempolicyGetPolicyCall) + * [*get policy*](https://docs.rs/google-binaryauthorization1/3.1.0+20220225/google_binaryauthorization1/api::SystempolicyGetPolicyCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-binaryauthorization1/3.0.0+20220225/google_binaryauthorization1/BinaryAuthorization)** +* **[Hub](https://docs.rs/google-binaryauthorization1/3.1.0+20220225/google_binaryauthorization1/BinaryAuthorization)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-binaryauthorization1/3.0.0+20220225/google_binaryauthorization1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-binaryauthorization1/3.0.0+20220225/google_binaryauthorization1/client::CallBuilder) -* **[Resources](https://docs.rs/google-binaryauthorization1/3.0.0+20220225/google_binaryauthorization1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-binaryauthorization1/3.1.0+20220225/google_binaryauthorization1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-binaryauthorization1/3.1.0+20220225/google_binaryauthorization1/client::CallBuilder) +* **[Resources](https://docs.rs/google-binaryauthorization1/3.1.0+20220225/google_binaryauthorization1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-binaryauthorization1/3.0.0+20220225/google_binaryauthorization1/client::Part)** + * **[Parts](https://docs.rs/google-binaryauthorization1/3.1.0+20220225/google_binaryauthorization1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-binaryauthorization1/3.0.0+20220225/google_binaryauthorization1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-binaryauthorization1/3.1.0+20220225/google_binaryauthorization1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -95,7 +95,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -124,17 +124,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-binaryauthorization1/3.0.0+20220225/google_binaryauthorization1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-binaryauthorization1/3.1.0+20220225/google_binaryauthorization1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-binaryauthorization1/3.0.0+20220225/google_binaryauthorization1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-binaryauthorization1/3.1.0+20220225/google_binaryauthorization1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-binaryauthorization1/3.0.0+20220225/google_binaryauthorization1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-binaryauthorization1/3.1.0+20220225/google_binaryauthorization1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-binaryauthorization1/3.0.0+20220225/google_binaryauthorization1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-binaryauthorization1/3.1.0+20220225/google_binaryauthorization1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -144,29 +144,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-binaryauthorization1/3.0.0+20220225/google_binaryauthorization1/client::Delegate) to the -[Method Builder](https://docs.rs/google-binaryauthorization1/3.0.0+20220225/google_binaryauthorization1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-binaryauthorization1/3.1.0+20220225/google_binaryauthorization1/client::Delegate) to the +[Method Builder](https://docs.rs/google-binaryauthorization1/3.1.0+20220225/google_binaryauthorization1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-binaryauthorization1/3.0.0+20220225/google_binaryauthorization1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-binaryauthorization1/3.1.0+20220225/google_binaryauthorization1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-binaryauthorization1/3.0.0+20220225/google_binaryauthorization1/client::RequestValue) and -[decodable](https://docs.rs/google-binaryauthorization1/3.0.0+20220225/google_binaryauthorization1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-binaryauthorization1/3.1.0+20220225/google_binaryauthorization1/client::RequestValue) and +[decodable](https://docs.rs/google-binaryauthorization1/3.1.0+20220225/google_binaryauthorization1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-binaryauthorization1/3.0.0+20220225/google_binaryauthorization1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-binaryauthorization1/3.1.0+20220225/google_binaryauthorization1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-binaryauthorization1/3.0.0+20220225/google_binaryauthorization1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-binaryauthorization1/3.1.0+20220225/google_binaryauthorization1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-binaryauthorization1/3.0.0+20220225/google_binaryauthorization1/client::RequestValue) are moved +* [request values](https://docs.rs/google-binaryauthorization1/3.1.0+20220225/google_binaryauthorization1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/binaryauthorization1/src/api.rs b/gen/binaryauthorization1/src/api.rs index 7a2a567157..abce2af2b8 100644 --- a/gen/binaryauthorization1/src/api.rs +++ b/gen/binaryauthorization1/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -114,7 +114,7 @@ impl<'a, > BinaryAuthorization<> { BinaryAuthorization { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://binaryauthorization.googleapis.com/".to_string(), _root_url: "https://binaryauthorization.googleapis.com/".to_string(), } @@ -128,7 +128,7 @@ impl<'a, > BinaryAuthorization<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -601,7 +601,7 @@ impl client::ResponseResult for ValidateAttestationOccurrenceResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `attestors_create(...)`, `attestors_delete(...)`, `attestors_get(...)`, `attestors_get_iam_policy(...)`, `attestors_list(...)`, `attestors_set_iam_policy(...)`, `attestors_test_iam_permissions(...)`, `attestors_update(...)`, `attestors_validate_attestation_occurrence(...)`, `get_policy(...)`, `policy_get_iam_policy(...)`, `policy_set_iam_policy(...)`, `policy_test_iam_permissions(...)` and `update_policy(...)` /// // to build up your call. @@ -901,7 +901,7 @@ impl<'a> ProjectMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get_policy(...)` /// // to build up your call. @@ -967,7 +967,7 @@ impl<'a> SystempolicyMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1264,7 +1264,7 @@ impl<'a> ProjectAttestorCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1520,7 +1520,7 @@ impl<'a> ProjectAttestorDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1776,7 +1776,7 @@ impl<'a> ProjectAttestorGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2044,7 +2044,7 @@ impl<'a> ProjectAttestorGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2325,7 +2325,7 @@ impl<'a> ProjectAttestorListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2611,7 +2611,7 @@ impl<'a> ProjectAttestorSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2897,7 +2897,7 @@ impl<'a> ProjectAttestorTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3183,7 +3183,7 @@ impl<'a> ProjectAttestorUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3468,7 +3468,7 @@ impl<'a> ProjectAttestorValidateAttestationOccurrenceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3737,7 +3737,7 @@ impl<'a> ProjectPolicyGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4023,7 +4023,7 @@ impl<'a> ProjectPolicySetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4308,7 +4308,7 @@ impl<'a> ProjectPolicyTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4565,7 +4565,7 @@ impl<'a> ProjectGetPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4850,7 +4850,7 @@ impl<'a> ProjectUpdatePolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/binaryauthorization1/src/lib.rs b/gen/binaryauthorization1/src/lib.rs index 49d5e52a31..141ad196ff 100644 --- a/gen/binaryauthorization1/src/lib.rs +++ b/gen/binaryauthorization1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Binary Authorization* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *binaryauthorization:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Binary Authorization* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *binaryauthorization:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Binary Authorization* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/binary-authorization/). @@ -96,7 +96,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/binaryauthorization1_beta1-cli/Cargo.toml b/gen/binaryauthorization1_beta1-cli/Cargo.toml index cb3fbf71b0..bd8e97c352 100644 --- a/gen/binaryauthorization1_beta1-cli/Cargo.toml +++ b/gen/binaryauthorization1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-binaryauthorization1_beta1-cli" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with Binary Authorization (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/binaryauthorization1_beta1-cli" @@ -20,12 +20,12 @@ name = "binaryauthorization1-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-binaryauthorization1_beta1] path = "../binaryauthorization1_beta1" -version = "3.0.0+20220225" +version = "3.1.0+20220225" diff --git a/gen/binaryauthorization1_beta1-cli/README.md b/gen/binaryauthorization1_beta1-cli/README.md index b66110389a..ab7edea353 100644 --- a/gen/binaryauthorization1_beta1-cli/README.md +++ b/gen/binaryauthorization1_beta1-cli/README.md @@ -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 *Binary Authorization* API at revision *20220225*. The CLI is at version *3.0.0*. +This documentation was generated from the *Binary Authorization* API at revision *20220225*. The CLI is at version *3.1.0*. ```bash binaryauthorization1-beta1 [options] diff --git a/gen/binaryauthorization1_beta1-cli/mkdocs.yml b/gen/binaryauthorization1_beta1-cli/mkdocs.yml index 0458f6b0c9..5395c27ce7 100644 --- a/gen/binaryauthorization1_beta1-cli/mkdocs.yml +++ b/gen/binaryauthorization1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Binary Authorization v3.0.0+20220225 +site_name: Binary Authorization v3.1.0+20220225 site_url: http://byron.github.io/google-apis-rs/google-binaryauthorization1_beta1-cli site_description: A complete library to interact with Binary Authorization (protocol v1beta1) diff --git a/gen/binaryauthorization1_beta1-cli/src/main.rs b/gen/binaryauthorization1_beta1-cli/src/main.rs index ae4748a501..100d8b0bdc 100644 --- a/gen/binaryauthorization1_beta1-cli/src/main.rs +++ b/gen/binaryauthorization1_beta1-cli/src/main.rs @@ -1226,7 +1226,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/binaryauthorization1-beta1", 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::BinaryAuthorization::new(client, auth), @@ -1649,7 +1655,7 @@ async fn main() { let mut app = App::new("binaryauthorization1-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20220225") + .version("3.1.0+20220225") .about("The management interface for Binary Authorization, a service that provides policy-based deployment validation and control for images deployed to Google Kubernetes Engine (GKE), Anthos Service Mesh, Anthos Clusters, and Cloud Run. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_binaryauthorization1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/binaryauthorization1_beta1/Cargo.toml b/gen/binaryauthorization1_beta1/Cargo.toml index f891e7eb93..66d17244a8 100644 --- a/gen/binaryauthorization1_beta1/Cargo.toml +++ b/gen/binaryauthorization1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-binaryauthorization1_beta1" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with Binary Authorization (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/binaryauthorization1_beta1" homepage = "https://cloud.google.com/binary-authorization/" -documentation = "https://docs.rs/google-binaryauthorization1_beta1/3.0.0+20220225" +documentation = "https://docs.rs/google-binaryauthorization1_beta1/3.1.0+20220225" license = "MIT" keywords = ["binaryauthorization", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/binaryauthorization1_beta1/README.md b/gen/binaryauthorization1_beta1/README.md index 72e039795b..d0a2f66a12 100644 --- a/gen/binaryauthorization1_beta1/README.md +++ b/gen/binaryauthorization1_beta1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-binaryauthorization1_beta1` library allows access to all features of the *Google Binary Authorization* service. -This documentation was generated from *Binary Authorization* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *binaryauthorization:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Binary Authorization* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *binaryauthorization:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Binary Authorization* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/binary-authorization/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-binaryauthorization1_beta1/3.0.0+20220225/google_binaryauthorization1_beta1/BinaryAuthorization) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-binaryauthorization1_beta1/3.1.0+20220225/google_binaryauthorization1_beta1/BinaryAuthorization) ... * projects - * [*attestors create*](https://docs.rs/google-binaryauthorization1_beta1/3.0.0+20220225/google_binaryauthorization1_beta1/api::ProjectAttestorCreateCall), [*attestors delete*](https://docs.rs/google-binaryauthorization1_beta1/3.0.0+20220225/google_binaryauthorization1_beta1/api::ProjectAttestorDeleteCall), [*attestors get*](https://docs.rs/google-binaryauthorization1_beta1/3.0.0+20220225/google_binaryauthorization1_beta1/api::ProjectAttestorGetCall), [*attestors get iam policy*](https://docs.rs/google-binaryauthorization1_beta1/3.0.0+20220225/google_binaryauthorization1_beta1/api::ProjectAttestorGetIamPolicyCall), [*attestors list*](https://docs.rs/google-binaryauthorization1_beta1/3.0.0+20220225/google_binaryauthorization1_beta1/api::ProjectAttestorListCall), [*attestors set iam policy*](https://docs.rs/google-binaryauthorization1_beta1/3.0.0+20220225/google_binaryauthorization1_beta1/api::ProjectAttestorSetIamPolicyCall), [*attestors test iam permissions*](https://docs.rs/google-binaryauthorization1_beta1/3.0.0+20220225/google_binaryauthorization1_beta1/api::ProjectAttestorTestIamPermissionCall), [*attestors update*](https://docs.rs/google-binaryauthorization1_beta1/3.0.0+20220225/google_binaryauthorization1_beta1/api::ProjectAttestorUpdateCall), [*attestors validate attestation occurrence*](https://docs.rs/google-binaryauthorization1_beta1/3.0.0+20220225/google_binaryauthorization1_beta1/api::ProjectAttestorValidateAttestationOccurrenceCall), [*get policy*](https://docs.rs/google-binaryauthorization1_beta1/3.0.0+20220225/google_binaryauthorization1_beta1/api::ProjectGetPolicyCall), [*policy get iam policy*](https://docs.rs/google-binaryauthorization1_beta1/3.0.0+20220225/google_binaryauthorization1_beta1/api::ProjectPolicyGetIamPolicyCall), [*policy set iam policy*](https://docs.rs/google-binaryauthorization1_beta1/3.0.0+20220225/google_binaryauthorization1_beta1/api::ProjectPolicySetIamPolicyCall), [*policy test iam permissions*](https://docs.rs/google-binaryauthorization1_beta1/3.0.0+20220225/google_binaryauthorization1_beta1/api::ProjectPolicyTestIamPermissionCall) and [*update policy*](https://docs.rs/google-binaryauthorization1_beta1/3.0.0+20220225/google_binaryauthorization1_beta1/api::ProjectUpdatePolicyCall) + * [*attestors create*](https://docs.rs/google-binaryauthorization1_beta1/3.1.0+20220225/google_binaryauthorization1_beta1/api::ProjectAttestorCreateCall), [*attestors delete*](https://docs.rs/google-binaryauthorization1_beta1/3.1.0+20220225/google_binaryauthorization1_beta1/api::ProjectAttestorDeleteCall), [*attestors get*](https://docs.rs/google-binaryauthorization1_beta1/3.1.0+20220225/google_binaryauthorization1_beta1/api::ProjectAttestorGetCall), [*attestors get iam policy*](https://docs.rs/google-binaryauthorization1_beta1/3.1.0+20220225/google_binaryauthorization1_beta1/api::ProjectAttestorGetIamPolicyCall), [*attestors list*](https://docs.rs/google-binaryauthorization1_beta1/3.1.0+20220225/google_binaryauthorization1_beta1/api::ProjectAttestorListCall), [*attestors set iam policy*](https://docs.rs/google-binaryauthorization1_beta1/3.1.0+20220225/google_binaryauthorization1_beta1/api::ProjectAttestorSetIamPolicyCall), [*attestors test iam permissions*](https://docs.rs/google-binaryauthorization1_beta1/3.1.0+20220225/google_binaryauthorization1_beta1/api::ProjectAttestorTestIamPermissionCall), [*attestors update*](https://docs.rs/google-binaryauthorization1_beta1/3.1.0+20220225/google_binaryauthorization1_beta1/api::ProjectAttestorUpdateCall), [*attestors validate attestation occurrence*](https://docs.rs/google-binaryauthorization1_beta1/3.1.0+20220225/google_binaryauthorization1_beta1/api::ProjectAttestorValidateAttestationOccurrenceCall), [*get policy*](https://docs.rs/google-binaryauthorization1_beta1/3.1.0+20220225/google_binaryauthorization1_beta1/api::ProjectGetPolicyCall), [*policy get iam policy*](https://docs.rs/google-binaryauthorization1_beta1/3.1.0+20220225/google_binaryauthorization1_beta1/api::ProjectPolicyGetIamPolicyCall), [*policy set iam policy*](https://docs.rs/google-binaryauthorization1_beta1/3.1.0+20220225/google_binaryauthorization1_beta1/api::ProjectPolicySetIamPolicyCall), [*policy test iam permissions*](https://docs.rs/google-binaryauthorization1_beta1/3.1.0+20220225/google_binaryauthorization1_beta1/api::ProjectPolicyTestIamPermissionCall) and [*update policy*](https://docs.rs/google-binaryauthorization1_beta1/3.1.0+20220225/google_binaryauthorization1_beta1/api::ProjectUpdatePolicyCall) * systempolicy - * [*get policy*](https://docs.rs/google-binaryauthorization1_beta1/3.0.0+20220225/google_binaryauthorization1_beta1/api::SystempolicyGetPolicyCall) + * [*get policy*](https://docs.rs/google-binaryauthorization1_beta1/3.1.0+20220225/google_binaryauthorization1_beta1/api::SystempolicyGetPolicyCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-binaryauthorization1_beta1/3.0.0+20220225/google_binaryauthorization1_beta1/BinaryAuthorization)** +* **[Hub](https://docs.rs/google-binaryauthorization1_beta1/3.1.0+20220225/google_binaryauthorization1_beta1/BinaryAuthorization)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-binaryauthorization1_beta1/3.0.0+20220225/google_binaryauthorization1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-binaryauthorization1_beta1/3.0.0+20220225/google_binaryauthorization1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-binaryauthorization1_beta1/3.0.0+20220225/google_binaryauthorization1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-binaryauthorization1_beta1/3.1.0+20220225/google_binaryauthorization1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-binaryauthorization1_beta1/3.1.0+20220225/google_binaryauthorization1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-binaryauthorization1_beta1/3.1.0+20220225/google_binaryauthorization1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-binaryauthorization1_beta1/3.0.0+20220225/google_binaryauthorization1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-binaryauthorization1_beta1/3.1.0+20220225/google_binaryauthorization1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-binaryauthorization1_beta1/3.0.0+20220225/google_binaryauthorization1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-binaryauthorization1_beta1/3.1.0+20220225/google_binaryauthorization1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -95,7 +95,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -124,17 +124,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-binaryauthorization1_beta1/3.0.0+20220225/google_binaryauthorization1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-binaryauthorization1_beta1/3.1.0+20220225/google_binaryauthorization1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-binaryauthorization1_beta1/3.0.0+20220225/google_binaryauthorization1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-binaryauthorization1_beta1/3.1.0+20220225/google_binaryauthorization1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-binaryauthorization1_beta1/3.0.0+20220225/google_binaryauthorization1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-binaryauthorization1_beta1/3.1.0+20220225/google_binaryauthorization1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-binaryauthorization1_beta1/3.0.0+20220225/google_binaryauthorization1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-binaryauthorization1_beta1/3.1.0+20220225/google_binaryauthorization1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -144,29 +144,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-binaryauthorization1_beta1/3.0.0+20220225/google_binaryauthorization1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-binaryauthorization1_beta1/3.0.0+20220225/google_binaryauthorization1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-binaryauthorization1_beta1/3.1.0+20220225/google_binaryauthorization1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-binaryauthorization1_beta1/3.1.0+20220225/google_binaryauthorization1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-binaryauthorization1_beta1/3.0.0+20220225/google_binaryauthorization1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-binaryauthorization1_beta1/3.1.0+20220225/google_binaryauthorization1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-binaryauthorization1_beta1/3.0.0+20220225/google_binaryauthorization1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-binaryauthorization1_beta1/3.0.0+20220225/google_binaryauthorization1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-binaryauthorization1_beta1/3.1.0+20220225/google_binaryauthorization1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-binaryauthorization1_beta1/3.1.0+20220225/google_binaryauthorization1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-binaryauthorization1_beta1/3.0.0+20220225/google_binaryauthorization1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-binaryauthorization1_beta1/3.1.0+20220225/google_binaryauthorization1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-binaryauthorization1_beta1/3.0.0+20220225/google_binaryauthorization1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-binaryauthorization1_beta1/3.1.0+20220225/google_binaryauthorization1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-binaryauthorization1_beta1/3.0.0+20220225/google_binaryauthorization1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-binaryauthorization1_beta1/3.1.0+20220225/google_binaryauthorization1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/binaryauthorization1_beta1/src/api.rs b/gen/binaryauthorization1_beta1/src/api.rs index 6b865ee9f9..473b282c91 100644 --- a/gen/binaryauthorization1_beta1/src/api.rs +++ b/gen/binaryauthorization1_beta1/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -114,7 +114,7 @@ impl<'a, > BinaryAuthorization<> { BinaryAuthorization { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://binaryauthorization.googleapis.com/".to_string(), _root_url: "https://binaryauthorization.googleapis.com/".to_string(), } @@ -128,7 +128,7 @@ impl<'a, > BinaryAuthorization<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -601,7 +601,7 @@ impl client::ResponseResult for ValidateAttestationOccurrenceResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `attestors_create(...)`, `attestors_delete(...)`, `attestors_get(...)`, `attestors_get_iam_policy(...)`, `attestors_list(...)`, `attestors_set_iam_policy(...)`, `attestors_test_iam_permissions(...)`, `attestors_update(...)`, `attestors_validate_attestation_occurrence(...)`, `get_policy(...)`, `policy_get_iam_policy(...)`, `policy_set_iam_policy(...)`, `policy_test_iam_permissions(...)` and `update_policy(...)` /// // to build up your call. @@ -901,7 +901,7 @@ impl<'a> ProjectMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get_policy(...)` /// // to build up your call. @@ -967,7 +967,7 @@ impl<'a> SystempolicyMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1264,7 +1264,7 @@ impl<'a> ProjectAttestorCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1520,7 +1520,7 @@ impl<'a> ProjectAttestorDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1776,7 +1776,7 @@ impl<'a> ProjectAttestorGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2044,7 +2044,7 @@ impl<'a> ProjectAttestorGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2325,7 +2325,7 @@ impl<'a> ProjectAttestorListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2611,7 +2611,7 @@ impl<'a> ProjectAttestorSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2897,7 +2897,7 @@ impl<'a> ProjectAttestorTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3183,7 +3183,7 @@ impl<'a> ProjectAttestorUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3468,7 +3468,7 @@ impl<'a> ProjectAttestorValidateAttestationOccurrenceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3737,7 +3737,7 @@ impl<'a> ProjectPolicyGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4023,7 +4023,7 @@ impl<'a> ProjectPolicySetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4308,7 +4308,7 @@ impl<'a> ProjectPolicyTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4565,7 +4565,7 @@ impl<'a> ProjectGetPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4850,7 +4850,7 @@ impl<'a> ProjectUpdatePolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/binaryauthorization1_beta1/src/lib.rs b/gen/binaryauthorization1_beta1/src/lib.rs index e2bc9af95d..b10f3ad8cf 100644 --- a/gen/binaryauthorization1_beta1/src/lib.rs +++ b/gen/binaryauthorization1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Binary Authorization* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *binaryauthorization:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Binary Authorization* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *binaryauthorization:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Binary Authorization* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/binary-authorization/). @@ -96,7 +96,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = BinaryAuthorization::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/blogger3-cli/Cargo.toml b/gen/blogger3-cli/Cargo.toml index 21b8b07237..56bfeab8b5 100644 --- a/gen/blogger3-cli/Cargo.toml +++ b/gen/blogger3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-blogger3-cli" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with Blogger (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/blogger3-cli" @@ -20,12 +20,12 @@ name = "blogger3" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-blogger3] path = "../blogger3" -version = "3.0.0+20220305" +version = "3.1.0+20220305" diff --git a/gen/blogger3-cli/README.md b/gen/blogger3-cli/README.md index 3d9e1d3285..b0971997f0 100644 --- a/gen/blogger3-cli/README.md +++ b/gen/blogger3-cli/README.md @@ -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 *Blogger* API at revision *20220305*. The CLI is at version *3.0.0*. +This documentation was generated from the *Blogger* API at revision *20220305*. The CLI is at version *3.1.0*. ```bash blogger3 [options] diff --git a/gen/blogger3-cli/mkdocs.yml b/gen/blogger3-cli/mkdocs.yml index a9b784a46a..0d6a69b7f8 100644 --- a/gen/blogger3-cli/mkdocs.yml +++ b/gen/blogger3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Blogger v3.0.0+20220305 +site_name: Blogger v3.1.0+20220305 site_url: http://byron.github.io/google-apis-rs/google-blogger3-cli site_description: A complete library to interact with Blogger (protocol v3) diff --git a/gen/blogger3-cli/src/main.rs b/gen/blogger3-cli/src/main.rs index dd2246ece1..9ba29b2e94 100644 --- a/gen/blogger3-cli/src/main.rs +++ b/gen/blogger3-cli/src/main.rs @@ -2499,7 +2499,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/blogger3", 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::Blogger::new(client, auth), @@ -3480,7 +3486,7 @@ async fn main() { let mut app = App::new("blogger3") .author("Sebastian Thiel ") - .version("3.0.0+20220305") + .version("3.1.0+20220305") .about("The Blogger API provides access to posts, comments and pages of a Blogger blog.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_blogger3_cli") .arg(Arg::with_name("url") diff --git a/gen/blogger3/Cargo.toml b/gen/blogger3/Cargo.toml index e4aea08434..1abc360f2d 100644 --- a/gen/blogger3/Cargo.toml +++ b/gen/blogger3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-blogger3" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with Blogger (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/blogger3" homepage = "https://developers.google.com/blogger/docs/3.0/getting_started" -documentation = "https://docs.rs/google-blogger3/3.0.0+20220305" +documentation = "https://docs.rs/google-blogger3/3.1.0+20220305" license = "MIT" keywords = ["blogger", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/blogger3/README.md b/gen/blogger3/README.md index b5a60cfa7e..798e8aeb72 100644 --- a/gen/blogger3/README.md +++ b/gen/blogger3/README.md @@ -5,30 +5,30 @@ DO NOT EDIT ! --> The `google-blogger3` library allows access to all features of the *Google Blogger* service. -This documentation was generated from *Blogger* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *blogger:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Blogger* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *blogger:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Blogger* *v3* API can be found at the [official documentation site](https://developers.google.com/blogger/docs/3.0/getting_started). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/Blogger) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/Blogger) ... -* [blog user infos](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/api::BlogUserInfo) - * [*get*](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/api::BlogUserInfoGetCall) -* [blogs](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/api::Blog) - * [*get*](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/api::BlogGetCall), [*get by url*](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/api::BlogGetByUrlCall) and [*list by user*](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/api::BlogListByUserCall) -* [comments](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/api::Comment) - * [*approve*](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/api::CommentApproveCall), [*delete*](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/api::CommentDeleteCall), [*get*](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/api::CommentGetCall), [*list*](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/api::CommentListCall), [*list by blog*](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/api::CommentListByBlogCall), [*mark as spam*](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/api::CommentMarkAsSpamCall) and [*remove content*](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/api::CommentRemoveContentCall) +* [blog user infos](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/api::BlogUserInfo) + * [*get*](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/api::BlogUserInfoGetCall) +* [blogs](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/api::Blog) + * [*get*](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/api::BlogGetCall), [*get by url*](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/api::BlogGetByUrlCall) and [*list by user*](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/api::BlogListByUserCall) +* [comments](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/api::Comment) + * [*approve*](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/api::CommentApproveCall), [*delete*](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/api::CommentDeleteCall), [*get*](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/api::CommentGetCall), [*list*](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/api::CommentListCall), [*list by blog*](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/api::CommentListByBlogCall), [*mark as spam*](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/api::CommentMarkAsSpamCall) and [*remove content*](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/api::CommentRemoveContentCall) * page views - * [*get*](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/api::PageViewGetCall) -* [pages](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/api::Page) - * [*delete*](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/api::PageDeleteCall), [*get*](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/api::PageGetCall), [*insert*](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/api::PageInsertCall), [*list*](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/api::PageListCall), [*patch*](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/api::PagePatchCall), [*publish*](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/api::PagePublishCall), [*revert*](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/api::PageRevertCall) and [*update*](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/api::PageUpdateCall) -* [post user infos](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/api::PostUserInfo) - * [*get*](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/api::PostUserInfoGetCall) and [*list*](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/api::PostUserInfoListCall) -* [posts](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/api::Post) - * [*delete*](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/api::PostDeleteCall), [*get*](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/api::PostGetCall), [*get by path*](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/api::PostGetByPathCall), [*insert*](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/api::PostInsertCall), [*list*](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/api::PostListCall), [*patch*](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/api::PostPatchCall), [*publish*](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/api::PostPublishCall), [*revert*](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/api::PostRevertCall), [*search*](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/api::PostSearchCall) and [*update*](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/api::PostUpdateCall) -* [users](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/api::User) - * [*get*](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/api::UserGetCall) + * [*get*](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/api::PageViewGetCall) +* [pages](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/api::Page) + * [*delete*](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/api::PageDeleteCall), [*get*](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/api::PageGetCall), [*insert*](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/api::PageInsertCall), [*list*](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/api::PageListCall), [*patch*](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/api::PagePatchCall), [*publish*](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/api::PagePublishCall), [*revert*](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/api::PageRevertCall) and [*update*](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/api::PageUpdateCall) +* [post user infos](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/api::PostUserInfo) + * [*get*](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/api::PostUserInfoGetCall) and [*list*](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/api::PostUserInfoListCall) +* [posts](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/api::Post) + * [*delete*](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/api::PostDeleteCall), [*get*](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/api::PostGetCall), [*get by path*](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/api::PostGetByPathCall), [*insert*](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/api::PostInsertCall), [*list*](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/api::PostListCall), [*patch*](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/api::PostPatchCall), [*publish*](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/api::PostPublishCall), [*revert*](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/api::PostRevertCall), [*search*](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/api::PostSearchCall) and [*update*](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/api::PostUpdateCall) +* [users](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/api::User) + * [*get*](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/api::UserGetCall) @@ -37,17 +37,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/Blogger)** +* **[Hub](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/Blogger)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/client::CallBuilder) -* **[Resources](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/client::CallBuilder) +* **[Resources](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/client::Part)** + * **[Parts](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -113,7 +113,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -151,17 +151,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -171,29 +171,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/client::Delegate) to the -[Method Builder](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/client::Delegate) to the +[Method Builder](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/client::RequestValue) and -[decodable](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/client::RequestValue) and +[decodable](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-blogger3/3.0.0+20220305/google_blogger3/client::RequestValue) are moved +* [request values](https://docs.rs/google-blogger3/3.1.0+20220305/google_blogger3/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/blogger3/src/api.rs b/gen/blogger3/src/api.rs index f6b7bbee7d..28f789d89b 100644 --- a/gen/blogger3/src/api.rs +++ b/gen/blogger3/src/api.rs @@ -74,7 +74,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -127,7 +127,7 @@ impl<'a, > Blogger<> { Blogger { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://blogger.googleapis.com/".to_string(), _root_url: "https://blogger.googleapis.com/".to_string(), } @@ -159,7 +159,7 @@ impl<'a, > Blogger<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1049,7 +1049,7 @@ impl client::Part for UserLocale {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -1110,7 +1110,7 @@ impl<'a> BlogUserInfoMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `get_by_url(...)` and `list_by_user(...)` /// // to build up your call. @@ -1209,7 +1209,7 @@ impl<'a> BlogMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `approve(...)`, `delete(...)`, `get(...)`, `list(...)`, `list_by_blog(...)`, `mark_as_spam(...)` and `remove_content(...)` /// // to build up your call. @@ -1405,7 +1405,7 @@ impl<'a> CommentMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -1464,7 +1464,7 @@ impl<'a> PageViewMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)`, `publish(...)`, `revert(...)` and `update(...)` /// // to build up your call. @@ -1670,7 +1670,7 @@ impl<'a> PageMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -1761,7 +1761,7 @@ impl<'a> PostUserInfoMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `get_by_path(...)`, `insert(...)`, `list(...)`, `patch(...)`, `publish(...)`, `revert(...)`, `search(...)` and `update(...)` /// // to build up your call. @@ -2026,7 +2026,7 @@ impl<'a> PostMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -2091,7 +2091,7 @@ impl<'a> UserMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2364,7 +2364,7 @@ impl<'a> BlogUserInfoGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2637,7 +2637,7 @@ impl<'a> BlogGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2878,7 +2878,7 @@ impl<'a> BlogGetByUrlCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3180,7 +3180,7 @@ impl<'a> BlogListByUserCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3453,7 +3453,7 @@ impl<'a> CommentApproveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3715,7 +3715,7 @@ impl<'a> CommentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3999,7 +3999,7 @@ impl<'a> CommentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4338,7 +4338,7 @@ impl<'a> CommentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4658,7 +4658,7 @@ impl<'a> CommentListByBlogCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4931,7 +4931,7 @@ impl<'a> CommentMarkAsSpamCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5204,7 +5204,7 @@ impl<'a> CommentRemoveContentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5469,7 +5469,7 @@ impl<'a> PageViewGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5720,7 +5720,7 @@ impl<'a> PageDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5994,7 +5994,7 @@ impl<'a> PageGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6285,7 +6285,7 @@ impl<'a> PageInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6595,7 +6595,7 @@ impl<'a> PageListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6908,7 +6908,7 @@ impl<'a> PagePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7170,7 +7170,7 @@ impl<'a> PagePublishCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7433,7 +7433,7 @@ impl<'a> PageRevertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7746,7 +7746,7 @@ impl<'a> PageUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8030,7 +8030,7 @@ impl<'a> PostUserInfoGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8394,7 +8394,7 @@ impl<'a> PostUserInfoListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8645,7 +8645,7 @@ impl<'a> PostDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8951,7 +8951,7 @@ impl<'a> PostGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9236,7 +9236,7 @@ impl<'a> PostGetByPathCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9549,7 +9549,7 @@ impl<'a> PostInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9914,7 +9914,7 @@ impl<'a> PostListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10260,7 +10260,7 @@ impl<'a> PostPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10533,7 +10533,7 @@ impl<'a> PostPublishCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10795,7 +10795,7 @@ impl<'a> PostRevertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11080,7 +11080,7 @@ impl<'a> PostSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11426,7 +11426,7 @@ impl<'a> PostUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/blogger3/src/lib.rs b/gen/blogger3/src/lib.rs index accc769636..b01857fc86 100644 --- a/gen/blogger3/src/lib.rs +++ b/gen/blogger3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Blogger* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *blogger:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Blogger* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *blogger:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Blogger* *v3* API can be found at the //! [official documentation site](https://developers.google.com/blogger/docs/3.0/getting_started). @@ -114,7 +114,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Blogger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/books1-cli/Cargo.toml b/gen/books1-cli/Cargo.toml index 333c9f2cf6..93953a8eb6 100644 --- a/gen/books1-cli/Cargo.toml +++ b/gen/books1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-books1-cli" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with books (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/books1-cli" @@ -20,12 +20,12 @@ name = "books1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-books1] path = "../books1" -version = "3.0.0+20220301" +version = "3.1.0+20220301" diff --git a/gen/books1-cli/README.md b/gen/books1-cli/README.md index f5f239df0d..caa307b93c 100644 --- a/gen/books1-cli/README.md +++ b/gen/books1-cli/README.md @@ -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 *books* API at revision *20220301*. The CLI is at version *3.0.0*. +This documentation was generated from the *books* API at revision *20220301*. The CLI is at version *3.1.0*. ```bash books1 [options] diff --git a/gen/books1-cli/mkdocs.yml b/gen/books1-cli/mkdocs.yml index d10065b62a..7577b7b9ac 100644 --- a/gen/books1-cli/mkdocs.yml +++ b/gen/books1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: books v3.0.0+20220301 +site_name: books v3.1.0+20220301 site_url: http://byron.github.io/google-apis-rs/google-books1-cli site_description: A complete library to interact with books (protocol v1) diff --git a/gen/books1-cli/src/main.rs b/gen/books1-cli/src/main.rs index 878578a53d..c1bd2b38d6 100644 --- a/gen/books1-cli/src/main.rs +++ b/gen/books1-cli/src/main.rs @@ -3803,7 +3803,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/books1", 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::Books::new(client, auth), @@ -5069,7 +5075,7 @@ async fn main() { let mut app = App::new("books1") .author("Sebastian Thiel ") - .version("3.0.0+20220301") + .version("3.1.0+20220301") .about("The Google Books API allows clients to access the Google Books repository.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_books1_cli") .arg(Arg::with_name("url") diff --git a/gen/books1/Cargo.toml b/gen/books1/Cargo.toml index c18d305291..eecef87f1c 100644 --- a/gen/books1/Cargo.toml +++ b/gen/books1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-books1" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with books (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/books1" homepage = "https://code.google.com/apis/books/docs/v1/getting_started.html" -documentation = "https://docs.rs/google-books1/3.0.0+20220301" +documentation = "https://docs.rs/google-books1/3.1.0+20220301" license = "MIT" keywords = ["books", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/books1/README.md b/gen/books1/README.md index 0bc000e932..a8997cbf8f 100644 --- a/gen/books1/README.md +++ b/gen/books1/README.md @@ -5,40 +5,40 @@ DO NOT EDIT ! --> The `google-books1` library allows access to all features of the *Google books* service. -This documentation was generated from *books* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *books:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *books* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *books:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *books* *v1* API can be found at the [official documentation site](https://code.google.com/apis/books/docs/v1/getting_started.html). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-books1/3.0.0+20220301/google_books1/Books) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-books1/3.1.0+20220301/google_books1/Books) ... * bookshelves - * [*get*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::BookshelveGetCall), [*list*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::BookshelveListCall) and [*volumes list*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::BookshelveVolumeListCall) + * [*get*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::BookshelveGetCall), [*list*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::BookshelveListCall) and [*volumes list*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::BookshelveVolumeListCall) * cloudloading - * [*add book*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::CloudloadingAddBookCall), [*delete book*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::CloudloadingDeleteBookCall) and [*update book*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::CloudloadingUpdateBookCall) + * [*add book*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::CloudloadingAddBookCall), [*delete book*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::CloudloadingDeleteBookCall) and [*update book*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::CloudloadingUpdateBookCall) * dictionary - * [*list offline metadata*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::DictionaryListOfflineMetadataCall) + * [*list offline metadata*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::DictionaryListOfflineMetadataCall) * familysharing - * [*get family info*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::FamilysharingGetFamilyInfoCall), [*share*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::FamilysharingShareCall) and [*unshare*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::FamilysharingUnshareCall) + * [*get family info*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::FamilysharingGetFamilyInfoCall), [*share*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::FamilysharingShareCall) and [*unshare*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::FamilysharingUnshareCall) * layers - * [*annotation data get*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::LayerAnnotationDataGetCall), [*annotation data list*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::LayerAnnotationDataListCall), [*get*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::LayerGetCall), [*list*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::LayerListCall), [*volume annotations get*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::LayerVolumeAnnotationGetCall) and [*volume annotations list*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::LayerVolumeAnnotationListCall) + * [*annotation data get*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::LayerAnnotationDataGetCall), [*annotation data list*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::LayerAnnotationDataListCall), [*get*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::LayerGetCall), [*list*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::LayerListCall), [*volume annotations get*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::LayerVolumeAnnotationGetCall) and [*volume annotations list*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::LayerVolumeAnnotationListCall) * myconfig - * [*get user settings*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::MyconfigGetUserSettingCall), [*release download access*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::MyconfigReleaseDownloadAccesCall), [*request access*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::MyconfigRequestAccesCall), [*sync volume licenses*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::MyconfigSyncVolumeLicenseCall) and [*update user settings*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::MyconfigUpdateUserSettingCall) + * [*get user settings*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::MyconfigGetUserSettingCall), [*release download access*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::MyconfigReleaseDownloadAccesCall), [*request access*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::MyconfigRequestAccesCall), [*sync volume licenses*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::MyconfigSyncVolumeLicenseCall) and [*update user settings*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::MyconfigUpdateUserSettingCall) * mylibrary - * [*annotations delete*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::MylibraryAnnotationDeleteCall), [*annotations insert*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::MylibraryAnnotationInsertCall), [*annotations list*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::MylibraryAnnotationListCall), [*annotations summary*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::MylibraryAnnotationSummaryCall), [*annotations update*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::MylibraryAnnotationUpdateCall), [*bookshelves add volume*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::MylibraryBookshelveAddVolumeCall), [*bookshelves clear volumes*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::MylibraryBookshelveClearVolumeCall), [*bookshelves get*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::MylibraryBookshelveGetCall), [*bookshelves list*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::MylibraryBookshelveListCall), [*bookshelves move volume*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::MylibraryBookshelveMoveVolumeCall), [*bookshelves remove volume*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::MylibraryBookshelveRemoveVolumeCall), [*bookshelves volumes list*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::MylibraryBookshelveVolumeListCall), [*readingpositions get*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::MylibraryReadingpositionGetCall) and [*readingpositions set position*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::MylibraryReadingpositionSetPositionCall) -* [notification](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::Notification) - * [*get*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::NotificationGetCall) + * [*annotations delete*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::MylibraryAnnotationDeleteCall), [*annotations insert*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::MylibraryAnnotationInsertCall), [*annotations list*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::MylibraryAnnotationListCall), [*annotations summary*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::MylibraryAnnotationSummaryCall), [*annotations update*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::MylibraryAnnotationUpdateCall), [*bookshelves add volume*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::MylibraryBookshelveAddVolumeCall), [*bookshelves clear volumes*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::MylibraryBookshelveClearVolumeCall), [*bookshelves get*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::MylibraryBookshelveGetCall), [*bookshelves list*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::MylibraryBookshelveListCall), [*bookshelves move volume*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::MylibraryBookshelveMoveVolumeCall), [*bookshelves remove volume*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::MylibraryBookshelveRemoveVolumeCall), [*bookshelves volumes list*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::MylibraryBookshelveVolumeListCall), [*readingpositions get*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::MylibraryReadingpositionGetCall) and [*readingpositions set position*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::MylibraryReadingpositionSetPositionCall) +* [notification](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::Notification) + * [*get*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::NotificationGetCall) * onboarding - * [*list categories*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::OnboardingListCategoryCall) and [*list category volumes*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::OnboardingListCategoryVolumeCall) + * [*list categories*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::OnboardingListCategoryCall) and [*list category volumes*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::OnboardingListCategoryVolumeCall) * personalizedstream - * [*get*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::PersonalizedstreamGetCall) + * [*get*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::PersonalizedstreamGetCall) * promooffer - * [*accept*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::PromoofferAcceptCall), [*dismiss*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::PromoofferDismisCall) and [*get*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::PromoofferGetCall) + * [*accept*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::PromoofferAcceptCall), [*dismiss*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::PromoofferDismisCall) and [*get*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::PromoofferGetCall) * series - * [*get*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::SeryGetCall) and [*membership get*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::SeryMembershipGetCall) -* [volumes](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::Volume) - * [*associated list*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::VolumeAssociatedListCall), [*get*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::VolumeGetCall), [*list*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::VolumeListCall), [*mybooks list*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::VolumeMybookListCall), [*recommended list*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::VolumeRecommendedListCall), [*recommended rate*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::VolumeRecommendedRateCall) and [*useruploaded list*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/api::VolumeUseruploadedListCall) + * [*get*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::SeryGetCall) and [*membership get*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::SeryMembershipGetCall) +* [volumes](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::Volume) + * [*associated list*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::VolumeAssociatedListCall), [*get*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::VolumeGetCall), [*list*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::VolumeListCall), [*mybooks list*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::VolumeMybookListCall), [*recommended list*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::VolumeRecommendedListCall), [*recommended rate*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::VolumeRecommendedRateCall) and [*useruploaded list*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/api::VolumeUseruploadedListCall) @@ -47,17 +47,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-books1/3.0.0+20220301/google_books1/Books)** +* **[Hub](https://docs.rs/google-books1/3.1.0+20220301/google_books1/Books)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-books1/3.0.0+20220301/google_books1/client::CallBuilder) -* **[Resources](https://docs.rs/google-books1/3.0.0+20220301/google_books1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-books1/3.1.0+20220301/google_books1/client::CallBuilder) +* **[Resources](https://docs.rs/google-books1/3.1.0+20220301/google_books1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-books1/3.0.0+20220301/google_books1/client::Part)** + * **[Parts](https://docs.rs/google-books1/3.1.0+20220301/google_books1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-books1/3.0.0+20220301/google_books1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-books1/3.1.0+20220301/google_books1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -124,7 +124,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -160,17 +160,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-books1/3.0.0+20220301/google_books1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-books1/3.1.0+20220301/google_books1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-books1/3.0.0+20220301/google_books1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-books1/3.1.0+20220301/google_books1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-books1/3.0.0+20220301/google_books1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-books1/3.1.0+20220301/google_books1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-books1/3.0.0+20220301/google_books1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-books1/3.1.0+20220301/google_books1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -180,29 +180,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-books1/3.0.0+20220301/google_books1/client::Delegate) to the -[Method Builder](https://docs.rs/google-books1/3.0.0+20220301/google_books1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-books1/3.1.0+20220301/google_books1/client::Delegate) to the +[Method Builder](https://docs.rs/google-books1/3.1.0+20220301/google_books1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-books1/3.0.0+20220301/google_books1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-books1/3.1.0+20220301/google_books1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-books1/3.0.0+20220301/google_books1/client::RequestValue) and -[decodable](https://docs.rs/google-books1/3.0.0+20220301/google_books1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-books1/3.1.0+20220301/google_books1/client::RequestValue) and +[decodable](https://docs.rs/google-books1/3.1.0+20220301/google_books1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-books1/3.0.0+20220301/google_books1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-books1/3.1.0+20220301/google_books1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-books1/3.0.0+20220301/google_books1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-books1/3.1.0+20220301/google_books1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-books1/3.0.0+20220301/google_books1/client::RequestValue) are moved +* [request values](https://docs.rs/google-books1/3.1.0+20220301/google_books1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/books1/src/api.rs b/gen/books1/src/api.rs index 6870402707..76d08558b2 100644 --- a/gen/books1/src/api.rs +++ b/gen/books1/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -121,7 +121,7 @@ impl<'a, > Books<> { Books { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://books.googleapis.com/".to_string(), _root_url: "https://books.googleapis.com/".to_string(), } @@ -168,7 +168,7 @@ impl<'a, > Books<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -2942,7 +2942,7 @@ impl client::Part for VolumeseriesinfoVolumeSeriesIssue {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)` and `volumes_list(...)` /// // to build up your call. @@ -3044,7 +3044,7 @@ impl<'a> BookshelveMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `add_book(...)`, `delete_book(...)` and `update_book(...)` /// // to build up your call. @@ -3135,7 +3135,7 @@ impl<'a> CloudloadingMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list_offline_metadata(...)` /// // to build up your call. @@ -3193,7 +3193,7 @@ impl<'a> DictionaryMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get_family_info(...)`, `share(...)` and `unshare(...)` /// // to build up your call. @@ -3277,7 +3277,7 @@ impl<'a> FamilysharingMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `annotation_data_get(...)`, `annotation_data_list(...)`, `get(...)`, `list(...)`, `volume_annotations_get(...)` and `volume_annotations_list(...)` /// // to build up your call. @@ -3476,7 +3476,7 @@ impl<'a> LayerMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get_user_settings(...)`, `release_download_access(...)`, `request_access(...)`, `sync_volume_licenses(...)` and `update_user_settings(...)` /// // to build up your call. @@ -3619,7 +3619,7 @@ impl<'a> MyconfigMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `annotations_delete(...)`, `annotations_insert(...)`, `annotations_list(...)`, `annotations_summary(...)`, `annotations_update(...)`, `bookshelves_add_volume(...)`, `bookshelves_clear_volumes(...)`, `bookshelves_get(...)`, `bookshelves_list(...)`, `bookshelves_move_volume(...)`, `bookshelves_remove_volume(...)`, `bookshelves_volumes_list(...)`, `readingpositions_get(...)` and `readingpositions_set_position(...)` /// // to build up your call. @@ -3941,7 +3941,7 @@ impl<'a> MylibraryMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -4001,7 +4001,7 @@ impl<'a> NotificationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list_categories(...)` and `list_category_volumes(...)` /// // to build up your call. @@ -4072,7 +4072,7 @@ impl<'a> OnboardingMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -4128,7 +4128,7 @@ impl<'a> PersonalizedstreamMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `accept(...)`, `dismiss(...)` and `get(...)` /// // to build up your call. @@ -4226,7 +4226,7 @@ impl<'a> PromoofferMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `membership_get(...)` /// // to build up your call. @@ -4303,7 +4303,7 @@ impl<'a> SeryMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `associated_list(...)`, `get(...)`, `list(...)`, `mybooks_list(...)`, `recommended_list(...)`, `recommended_rate(...)` and `useruploaded_list(...)` /// // to build up your call. @@ -4498,7 +4498,7 @@ impl<'a> VolumeMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4810,7 +4810,7 @@ impl<'a> BookshelveVolumeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5086,7 +5086,7 @@ impl<'a> BookshelveGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5350,7 +5350,7 @@ impl<'a> BookshelveListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5617,7 +5617,7 @@ impl<'a> CloudloadingAddBookCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5849,7 +5849,7 @@ impl<'a> CloudloadingDeleteBookCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6097,7 +6097,7 @@ impl<'a> CloudloadingUpdateBookCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6328,7 +6328,7 @@ impl<'a> DictionaryListOfflineMetadataCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6559,7 +6559,7 @@ impl<'a> FamilysharingGetFamilyInfoCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6814,7 +6814,7 @@ impl<'a> FamilysharingShareCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7069,7 +7069,7 @@ impl<'a> FamilysharingUnshareCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7429,7 +7429,7 @@ impl<'a> LayerAnnotationDataGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7828,7 +7828,7 @@ impl<'a> LayerAnnotationDataListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8128,7 +8128,7 @@ impl<'a> LayerVolumeAnnotationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8548,7 +8548,7 @@ impl<'a> LayerVolumeAnnotationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8836,7 +8836,7 @@ impl<'a> LayerGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9136,7 +9136,7 @@ impl<'a> LayerListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9367,7 +9367,7 @@ impl<'a> MyconfigGetUserSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9639,7 +9639,7 @@ impl<'a> MyconfigReleaseDownloadAccesCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9930,7 +9930,7 @@ impl<'a> MyconfigRequestAccesCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10252,7 +10252,7 @@ impl<'a> MyconfigSyncVolumeLicenseCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10500,7 +10500,7 @@ impl<'a> MyconfigUpdateUserSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10765,7 +10765,7 @@ impl<'a> MylibraryAnnotationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11061,7 +11061,7 @@ impl<'a> MylibraryAnnotationInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11403,7 +11403,7 @@ impl<'a> MylibraryAnnotationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11652,7 +11652,7 @@ impl<'a> MylibraryAnnotationSummaryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11945,7 +11945,7 @@ impl<'a> MylibraryAnnotationUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12281,7 +12281,7 @@ impl<'a> MylibraryBookshelveVolumeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12569,7 +12569,7 @@ impl<'a> MylibraryBookshelveAddVolumeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12833,7 +12833,7 @@ impl<'a> MylibraryBookshelveClearVolumeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13097,7 +13097,7 @@ impl<'a> MylibraryBookshelveGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13328,7 +13328,7 @@ impl<'a> MylibraryBookshelveListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13616,7 +13616,7 @@ impl<'a> MylibraryBookshelveMoveVolumeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13904,7 +13904,7 @@ impl<'a> MylibraryBookshelveRemoveVolumeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14180,7 +14180,7 @@ impl<'a> MylibraryReadingpositionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14504,7 +14504,7 @@ impl<'a> MylibraryReadingpositionSetPositionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14759,7 +14759,7 @@ impl<'a> NotificationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14990,7 +14990,7 @@ impl<'a> OnboardingListCategoryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15272,7 +15272,7 @@ impl<'a> OnboardingListCategoryVolumeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15527,7 +15527,7 @@ impl<'a> PersonalizedstreamGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15841,7 +15841,7 @@ impl<'a> PromoofferAcceptCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16144,7 +16144,7 @@ impl<'a> PromoofferDismisCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16435,7 +16435,7 @@ impl<'a> PromoofferGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16690,7 +16690,7 @@ impl<'a> SeryMembershipGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16926,7 +16926,7 @@ impl<'a> SeryGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17226,7 +17226,7 @@ impl<'a> VolumeAssociatedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17535,7 +17535,7 @@ impl<'a> VolumeMybookListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17790,7 +17790,7 @@ impl<'a> VolumeRecommendedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18057,7 +18057,7 @@ impl<'a> VolumeRecommendedRateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18354,7 +18354,7 @@ impl<'a> VolumeUseruploadedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18677,7 +18677,7 @@ impl<'a> VolumeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/books1/src/lib.rs b/gen/books1/src/lib.rs index e14741a6a8..806a32385b 100644 --- a/gen/books1/src/lib.rs +++ b/gen/books1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *books* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *books:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *books* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *books:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *books* *v1* API can be found at the //! [official documentation site](https://code.google.com/apis/books/docs/v1/getting_started.html). @@ -125,7 +125,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Books::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/calendar3-cli/Cargo.toml b/gen/calendar3-cli/Cargo.toml index 7e6f2d02e5..21e15ddf6c 100644 --- a/gen/calendar3-cli/Cargo.toml +++ b/gen/calendar3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-calendar3-cli" -version = "3.0.0+20220217" +version = "3.1.0+20220217" authors = ["Sebastian Thiel "] description = "A complete library to interact with calendar (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/calendar3-cli" @@ -20,12 +20,12 @@ name = "calendar3" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-calendar3] path = "../calendar3" -version = "3.0.0+20220217" +version = "3.1.0+20220217" diff --git a/gen/calendar3-cli/README.md b/gen/calendar3-cli/README.md index b0f7a3f8ce..dad45f3c4f 100644 --- a/gen/calendar3-cli/README.md +++ b/gen/calendar3-cli/README.md @@ -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 *calendar* API at revision *20220217*. The CLI is at version *3.0.0*. +This documentation was generated from the *calendar* API at revision *20220217*. The CLI is at version *3.1.0*. ```bash calendar3 [options] diff --git a/gen/calendar3-cli/mkdocs.yml b/gen/calendar3-cli/mkdocs.yml index 4b7c585b13..1acfb78b61 100644 --- a/gen/calendar3-cli/mkdocs.yml +++ b/gen/calendar3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: calendar v3.0.0+20220217 +site_name: calendar v3.1.0+20220217 site_url: http://byron.github.io/google-apis-rs/google-calendar3-cli site_description: A complete library to interact with calendar (protocol v3) diff --git a/gen/calendar3-cli/src/main.rs b/gen/calendar3-cli/src/main.rs index 6df30ca9c4..0040a624b1 100644 --- a/gen/calendar3-cli/src/main.rs +++ b/gen/calendar3-cli/src/main.rs @@ -3488,7 +3488,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/calendar3", 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::CalendarHub::new(client, auth), @@ -4458,7 +4464,7 @@ async fn main() { let mut app = App::new("calendar3") .author("Sebastian Thiel ") - .version("3.0.0+20220217") + .version("3.1.0+20220217") .about("Manipulates events and other calendar data.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_calendar3_cli") .arg(Arg::with_name("url") diff --git a/gen/calendar3/Cargo.toml b/gen/calendar3/Cargo.toml index 9d508c37c6..58a2b5d29e 100644 --- a/gen/calendar3/Cargo.toml +++ b/gen/calendar3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-calendar3" -version = "3.0.0+20220217" +version = "3.1.0+20220217" authors = ["Sebastian Thiel "] description = "A complete library to interact with calendar (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/calendar3" homepage = "https://developers.google.com/google-apps/calendar/firstapp" -documentation = "https://docs.rs/google-calendar3/3.0.0+20220217" +documentation = "https://docs.rs/google-calendar3/3.1.0+20220217" license = "MIT" keywords = ["calendar", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/calendar3/README.md b/gen/calendar3/README.md index a206193604..93aa7e97e7 100644 --- a/gen/calendar3/README.md +++ b/gen/calendar3/README.md @@ -5,43 +5,43 @@ DO NOT EDIT ! --> The `google-calendar3` library allows access to all features of the *Google calendar* service. -This documentation was generated from *calendar* crate version *3.0.0+20220217*, where *20220217* is the exact revision of the *calendar:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *calendar* crate version *3.1.0+20220217*, where *20220217* is the exact revision of the *calendar:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *calendar* *v3* API can be found at the [official documentation site](https://developers.google.com/google-apps/calendar/firstapp). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/CalendarHub) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/CalendarHub) ... -* [acl](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::Acl) - * [*delete*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::AclDeleteCall), [*get*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::AclGetCall), [*insert*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::AclInsertCall), [*list*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::AclListCall), [*patch*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::AclPatchCall), [*update*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::AclUpdateCall) and [*watch*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::AclWatchCall) -* [calendar list](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::CalendarList) - * [*delete*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::CalendarListDeleteCall), [*get*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::CalendarListGetCall), [*insert*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::CalendarListInsertCall), [*list*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::CalendarListListCall), [*patch*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::CalendarListPatchCall), [*update*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::CalendarListUpdateCall) and [*watch*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::CalendarListWatchCall) -* [calendars](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::Calendar) - * [*clear*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::CalendarClearCall), [*delete*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::CalendarDeleteCall), [*get*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::CalendarGetCall), [*insert*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::CalendarInsertCall), [*patch*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::CalendarPatchCall) and [*update*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::CalendarUpdateCall) -* [channels](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::Channel) - * [*stop*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::ChannelStopCall) +* [acl](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::Acl) + * [*delete*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::AclDeleteCall), [*get*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::AclGetCall), [*insert*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::AclInsertCall), [*list*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::AclListCall), [*patch*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::AclPatchCall), [*update*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::AclUpdateCall) and [*watch*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::AclWatchCall) +* [calendar list](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::CalendarList) + * [*delete*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::CalendarListDeleteCall), [*get*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::CalendarListGetCall), [*insert*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::CalendarListInsertCall), [*list*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::CalendarListListCall), [*patch*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::CalendarListPatchCall), [*update*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::CalendarListUpdateCall) and [*watch*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::CalendarListWatchCall) +* [calendars](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::Calendar) + * [*clear*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::CalendarClearCall), [*delete*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::CalendarDeleteCall), [*get*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::CalendarGetCall), [*insert*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::CalendarInsertCall), [*patch*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::CalendarPatchCall) and [*update*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::CalendarUpdateCall) +* [channels](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::Channel) + * [*stop*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::ChannelStopCall) * colors - * [*get*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::ColorGetCall) -* [events](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::Event) - * [*delete*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::EventDeleteCall), [*get*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::EventGetCall), [*import*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::EventImportCall), [*insert*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::EventInsertCall), [*instances*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::EventInstanceCall), [*list*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::EventListCall), [*move*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::EventMoveCall), [*patch*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::EventPatchCall), [*quick add*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::EventQuickAddCall), [*update*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::EventUpdateCall) and [*watch*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::EventWatchCall) + * [*get*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::ColorGetCall) +* [events](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::Event) + * [*delete*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::EventDeleteCall), [*get*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::EventGetCall), [*import*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::EventImportCall), [*insert*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::EventInsertCall), [*instances*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::EventInstanceCall), [*list*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::EventListCall), [*move*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::EventMoveCall), [*patch*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::EventPatchCall), [*quick add*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::EventQuickAddCall), [*update*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::EventUpdateCall) and [*watch*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::EventWatchCall) * freebusy - * [*query*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::FreebusyQueryCall) -* [settings](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::Setting) - * [*get*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::SettingGetCall), [*list*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::SettingListCall) and [*watch*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::SettingWatchCall) + * [*query*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::FreebusyQueryCall) +* [settings](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::Setting) + * [*get*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::SettingGetCall), [*list*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::SettingListCall) and [*watch*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::SettingWatchCall) Subscription supported by ... -* [*list acl*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::AclListCall) -* [*watch acl*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::AclWatchCall) -* [*list calendar list*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::CalendarListListCall) -* [*watch calendar list*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::CalendarListWatchCall) -* [*instances events*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::EventInstanceCall) -* [*list events*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::EventListCall) -* [*watch events*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::EventWatchCall) -* [*list settings*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::SettingListCall) -* [*watch settings*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/api::SettingWatchCall) +* [*list acl*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::AclListCall) +* [*watch acl*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::AclWatchCall) +* [*list calendar list*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::CalendarListListCall) +* [*watch calendar list*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::CalendarListWatchCall) +* [*instances events*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::EventInstanceCall) +* [*list events*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::EventListCall) +* [*watch events*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::EventWatchCall) +* [*list settings*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::SettingListCall) +* [*watch settings*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/api::SettingWatchCall) @@ -49,17 +49,17 @@ Subscription supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/CalendarHub)** +* **[Hub](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/CalendarHub)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/client::CallBuilder) -* **[Resources](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/client::CallBuilder) +* **[Resources](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/client::Part)** + * **[Parts](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -127,7 +127,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -177,17 +177,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -197,29 +197,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/client::Delegate) to the -[Method Builder](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/client::Delegate) to the +[Method Builder](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/client::RequestValue) and -[decodable](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/client::RequestValue) and +[decodable](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-calendar3/3.0.0+20220217/google_calendar3/client::RequestValue) are moved +* [request values](https://docs.rs/google-calendar3/3.1.0+20220217/google_calendar3/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/calendar3/src/api.rs b/gen/calendar3/src/api.rs index 79fa96227f..605de26575 100644 --- a/gen/calendar3/src/api.rs +++ b/gen/calendar3/src/api.rs @@ -87,7 +87,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -152,7 +152,7 @@ impl<'a, > CalendarHub<> { CalendarHub { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/calendar/v3/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -184,7 +184,7 @@ impl<'a, > CalendarHub<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1431,7 +1431,7 @@ impl client::Part for EventSource {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)`, `update(...)` and `watch(...)` /// // to build up your call. @@ -1618,7 +1618,7 @@ impl<'a> AclMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)`, `update(...)` and `watch(...)` /// // to build up your call. @@ -1792,7 +1792,7 @@ impl<'a> CalendarListMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `clear(...)`, `delete(...)`, `get(...)`, `insert(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -1939,7 +1939,7 @@ impl<'a> CalendarMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `stop(...)` /// // to build up your call. @@ -1997,7 +1997,7 @@ impl<'a> ChannelMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -2050,7 +2050,7 @@ impl<'a> ColorMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `import(...)`, `insert(...)`, `instances(...)`, `list(...)`, `move_(...)`, `patch(...)`, `quick_add(...)`, `update(...)` and `watch(...)` /// // to build up your call. @@ -2375,7 +2375,7 @@ impl<'a> EventMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `query(...)` /// // to build up your call. @@ -2433,7 +2433,7 @@ impl<'a> FreebusyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)` and `watch(...)` /// // to build up your call. @@ -2533,7 +2533,7 @@ impl<'a> SettingMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2782,7 +2782,7 @@ impl<'a> AclDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3043,7 +3043,7 @@ impl<'a> AclGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3332,7 +3332,7 @@ impl<'a> AclInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3632,7 +3632,7 @@ impl<'a> AclListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3934,7 +3934,7 @@ impl<'a> AclPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4236,7 +4236,7 @@ impl<'a> AclUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4564,7 +4564,7 @@ impl<'a> AclWatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4801,7 +4801,7 @@ impl<'a> CalendarListDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5050,7 +5050,7 @@ impl<'a> CalendarListGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5306,7 +5306,7 @@ impl<'a> CalendarListInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5598,7 +5598,7 @@ impl<'a> CalendarListListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5888,7 +5888,7 @@ impl<'a> CalendarListPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6178,7 +6178,7 @@ impl<'a> CalendarListUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6498,7 +6498,7 @@ impl<'a> CalendarListWatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6735,7 +6735,7 @@ impl<'a> CalendarClearCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6972,7 +6972,7 @@ impl<'a> CalendarDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7221,7 +7221,7 @@ impl<'a> CalendarGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7466,7 +7466,7 @@ impl<'a> CalendarInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7744,7 +7744,7 @@ impl<'a> CalendarPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8022,7 +8022,7 @@ impl<'a> CalendarUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8255,7 +8255,7 @@ impl<'a> ChannelStopCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8470,7 +8470,7 @@ impl<'a> ColorGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8745,7 +8745,7 @@ impl<'a> EventDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9042,7 +9042,7 @@ impl<'a> EventGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9344,7 +9344,7 @@ impl<'a> EventImportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9683,7 +9683,7 @@ impl<'a> EventInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10051,7 +10051,7 @@ impl<'a> EventInstanceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10522,7 +10522,7 @@ impl<'a> EventListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10821,7 +10821,7 @@ impl<'a> EventMoveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11184,7 +11184,7 @@ impl<'a> EventPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11471,7 +11471,7 @@ impl<'a> EventQuickAddCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11835,7 +11835,7 @@ impl<'a> EventUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12336,7 +12336,7 @@ impl<'a> EventWatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12580,7 +12580,7 @@ impl<'a> FreebusyQueryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12828,7 +12828,7 @@ impl<'a> SettingGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13083,7 +13083,7 @@ impl<'a> SettingListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/calendar3/src/lib.rs b/gen/calendar3/src/lib.rs index c9783ebcf6..45843bdb84 100644 --- a/gen/calendar3/src/lib.rs +++ b/gen/calendar3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *calendar* crate version *3.0.0+20220217*, where *20220217* is the exact revision of the *calendar:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *calendar* crate version *3.1.0+20220217*, where *20220217* is the exact revision of the *calendar:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *calendar* *v3* API can be found at the //! [official documentation site](https://developers.google.com/google-apps/calendar/firstapp). @@ -128,7 +128,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CalendarHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/certificatemanager1-cli/Cargo.toml b/gen/certificatemanager1-cli/Cargo.toml index 69e7cc1fe7..09653be4a1 100644 --- a/gen/certificatemanager1-cli/Cargo.toml +++ b/gen/certificatemanager1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-certificatemanager1-cli" -version = "3.0.0+20220214" +version = "3.1.0+20220214" authors = ["Sebastian Thiel "] description = "A complete library to interact with Certificate Manager (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/certificatemanager1-cli" @@ -20,12 +20,12 @@ name = "certificatemanager1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-certificatemanager1] path = "../certificatemanager1" -version = "3.0.0+20220214" +version = "3.1.0+20220214" diff --git a/gen/certificatemanager1-cli/README.md b/gen/certificatemanager1-cli/README.md index 627db5f657..ea458f16e7 100644 --- a/gen/certificatemanager1-cli/README.md +++ b/gen/certificatemanager1-cli/README.md @@ -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 *Certificate Manager* API at revision *20220214*. The CLI is at version *3.0.0*. +This documentation was generated from the *Certificate Manager* API at revision *20220214*. The CLI is at version *3.1.0*. ```bash certificatemanager1 [options] diff --git a/gen/certificatemanager1-cli/mkdocs.yml b/gen/certificatemanager1-cli/mkdocs.yml index d9c5600a73..a6591e5b9d 100644 --- a/gen/certificatemanager1-cli/mkdocs.yml +++ b/gen/certificatemanager1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Certificate Manager v3.0.0+20220214 +site_name: Certificate Manager v3.1.0+20220214 site_url: http://byron.github.io/google-apis-rs/google-certificatemanager1-cli site_description: A complete library to interact with Certificate Manager (protocol v1) diff --git a/gen/certificatemanager1-cli/src/main.rs b/gen/certificatemanager1-cli/src/main.rs index fef9ea8bf0..ab72430bcc 100644 --- a/gen/certificatemanager1-cli/src/main.rs +++ b/gen/certificatemanager1-cli/src/main.rs @@ -1989,7 +1989,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/certificatemanager1", 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::CertificateManager::new(client, auth), @@ -2657,7 +2663,7 @@ async fn main() { let mut app = App::new("certificatemanager1") .author("Sebastian Thiel ") - .version("3.0.0+20220214") + .version("3.1.0+20220214") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_certificatemanager1_cli") .arg(Arg::with_name("url") diff --git a/gen/certificatemanager1/Cargo.toml b/gen/certificatemanager1/Cargo.toml index a941c95f4e..dc42a4a9ad 100644 --- a/gen/certificatemanager1/Cargo.toml +++ b/gen/certificatemanager1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-certificatemanager1" -version = "3.0.0+20220214" +version = "3.1.0+20220214" authors = ["Sebastian Thiel "] description = "A complete library to interact with Certificate Manager (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/certificatemanager1" homepage = "https://cloud.google.com/certificate-manager" -documentation = "https://docs.rs/google-certificatemanager1/3.0.0+20220214" +documentation = "https://docs.rs/google-certificatemanager1/3.1.0+20220214" license = "MIT" keywords = ["certificatemanager", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/certificatemanager1/README.md b/gen/certificatemanager1/README.md index 74340885bf..1dd5a1361a 100644 --- a/gen/certificatemanager1/README.md +++ b/gen/certificatemanager1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-certificatemanager1` library allows access to all features of the *Google Certificate Manager* service. -This documentation was generated from *Certificate Manager* crate version *3.0.0+20220214*, where *20220214* is the exact revision of the *certificatemanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Certificate Manager* crate version *3.1.0+20220214*, where *20220214* is the exact revision of the *certificatemanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Certificate Manager* *v1* API can be found at the [official documentation site](https://cloud.google.com/certificate-manager). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/CertificateManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/CertificateManager) ... * projects - * [*locations certificate maps certificate map entries create*](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/api::ProjectLocationCertificateMapCertificateMapEntryCreateCall), [*locations certificate maps certificate map entries delete*](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/api::ProjectLocationCertificateMapCertificateMapEntryDeleteCall), [*locations certificate maps certificate map entries get*](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/api::ProjectLocationCertificateMapCertificateMapEntryGetCall), [*locations certificate maps certificate map entries list*](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/api::ProjectLocationCertificateMapCertificateMapEntryListCall), [*locations certificate maps certificate map entries patch*](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/api::ProjectLocationCertificateMapCertificateMapEntryPatchCall), [*locations certificate maps create*](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/api::ProjectLocationCertificateMapCreateCall), [*locations certificate maps delete*](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/api::ProjectLocationCertificateMapDeleteCall), [*locations certificate maps get*](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/api::ProjectLocationCertificateMapGetCall), [*locations certificate maps list*](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/api::ProjectLocationCertificateMapListCall), [*locations certificate maps patch*](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/api::ProjectLocationCertificateMapPatchCall), [*locations certificates create*](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/api::ProjectLocationCertificateCreateCall), [*locations certificates delete*](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/api::ProjectLocationCertificateDeleteCall), [*locations certificates get*](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/api::ProjectLocationCertificateGetCall), [*locations certificates list*](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/api::ProjectLocationCertificateListCall), [*locations certificates patch*](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/api::ProjectLocationCertificatePatchCall), [*locations dns authorizations create*](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/api::ProjectLocationDnsAuthorizationCreateCall), [*locations dns authorizations delete*](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/api::ProjectLocationDnsAuthorizationDeleteCall), [*locations dns authorizations get*](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/api::ProjectLocationDnsAuthorizationGetCall), [*locations dns authorizations list*](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/api::ProjectLocationDnsAuthorizationListCall), [*locations dns authorizations patch*](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/api::ProjectLocationDnsAuthorizationPatchCall), [*locations get*](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/api::ProjectLocationOperationListCall) + * [*locations certificate maps certificate map entries create*](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/api::ProjectLocationCertificateMapCertificateMapEntryCreateCall), [*locations certificate maps certificate map entries delete*](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/api::ProjectLocationCertificateMapCertificateMapEntryDeleteCall), [*locations certificate maps certificate map entries get*](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/api::ProjectLocationCertificateMapCertificateMapEntryGetCall), [*locations certificate maps certificate map entries list*](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/api::ProjectLocationCertificateMapCertificateMapEntryListCall), [*locations certificate maps certificate map entries patch*](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/api::ProjectLocationCertificateMapCertificateMapEntryPatchCall), [*locations certificate maps create*](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/api::ProjectLocationCertificateMapCreateCall), [*locations certificate maps delete*](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/api::ProjectLocationCertificateMapDeleteCall), [*locations certificate maps get*](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/api::ProjectLocationCertificateMapGetCall), [*locations certificate maps list*](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/api::ProjectLocationCertificateMapListCall), [*locations certificate maps patch*](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/api::ProjectLocationCertificateMapPatchCall), [*locations certificates create*](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/api::ProjectLocationCertificateCreateCall), [*locations certificates delete*](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/api::ProjectLocationCertificateDeleteCall), [*locations certificates get*](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/api::ProjectLocationCertificateGetCall), [*locations certificates list*](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/api::ProjectLocationCertificateListCall), [*locations certificates patch*](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/api::ProjectLocationCertificatePatchCall), [*locations dns authorizations create*](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/api::ProjectLocationDnsAuthorizationCreateCall), [*locations dns authorizations delete*](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/api::ProjectLocationDnsAuthorizationDeleteCall), [*locations dns authorizations get*](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/api::ProjectLocationDnsAuthorizationGetCall), [*locations dns authorizations list*](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/api::ProjectLocationDnsAuthorizationListCall), [*locations dns authorizations patch*](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/api::ProjectLocationDnsAuthorizationPatchCall), [*locations get*](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/api::ProjectLocationOperationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/CertificateManager)** +* **[Hub](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/CertificateManager)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/client::CallBuilder) -* **[Resources](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/client::CallBuilder) +* **[Resources](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/client::Part)** + * **[Parts](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -103,7 +103,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -137,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -157,29 +157,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/client::Delegate) to the -[Method Builder](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/client::Delegate) to the +[Method Builder](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/client::RequestValue) and -[decodable](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/client::RequestValue) and +[decodable](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-certificatemanager1/3.0.0+20220214/google_certificatemanager1/client::RequestValue) are moved +* [request values](https://docs.rs/google-certificatemanager1/3.1.0+20220214/google_certificatemanager1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/certificatemanager1/src/api.rs b/gen/certificatemanager1/src/api.rs index 43a1c080ad..b5955ea13e 100644 --- a/gen/certificatemanager1/src/api.rs +++ b/gen/certificatemanager1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > CertificateManager<> { CertificateManager { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://certificatemanager.googleapis.com/".to_string(), _root_url: "https://certificatemanager.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > CertificateManager<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -722,7 +722,7 @@ impl client::Part for Status {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_certificate_maps_certificate_map_entries_create(...)`, `locations_certificate_maps_certificate_map_entries_delete(...)`, `locations_certificate_maps_certificate_map_entries_get(...)`, `locations_certificate_maps_certificate_map_entries_list(...)`, `locations_certificate_maps_certificate_map_entries_patch(...)`, `locations_certificate_maps_create(...)`, `locations_certificate_maps_delete(...)`, `locations_certificate_maps_get(...)`, `locations_certificate_maps_list(...)`, `locations_certificate_maps_patch(...)`, `locations_certificates_create(...)`, `locations_certificates_delete(...)`, `locations_certificates_get(...)`, `locations_certificates_list(...)`, `locations_certificates_patch(...)`, `locations_dns_authorizations_create(...)`, `locations_dns_authorizations_delete(...)`, `locations_dns_authorizations_get(...)`, `locations_dns_authorizations_list(...)`, `locations_dns_authorizations_patch(...)`, `locations_get(...)`, `locations_list(...)`, `locations_operations_cancel(...)`, `locations_operations_delete(...)`, `locations_operations_get(...)` and `locations_operations_list(...)` /// // to build up your call. @@ -1261,7 +1261,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1558,7 +1558,7 @@ impl<'a> ProjectLocationCertificateMapCertificateMapEntryCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1814,7 +1814,7 @@ impl<'a> ProjectLocationCertificateMapCertificateMapEntryDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2070,7 +2070,7 @@ impl<'a> ProjectLocationCertificateMapCertificateMapEntryGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2375,7 +2375,7 @@ impl<'a> ProjectLocationCertificateMapCertificateMapEntryListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2673,7 +2673,7 @@ impl<'a> ProjectLocationCertificateMapCertificateMapEntryPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2970,7 +2970,7 @@ impl<'a> ProjectLocationCertificateMapCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3226,7 +3226,7 @@ impl<'a> ProjectLocationCertificateMapDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3482,7 +3482,7 @@ impl<'a> ProjectLocationCertificateMapGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3787,7 +3787,7 @@ impl<'a> ProjectLocationCertificateMapListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4085,7 +4085,7 @@ impl<'a> ProjectLocationCertificateMapPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4382,7 +4382,7 @@ impl<'a> ProjectLocationCertificateCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4638,7 +4638,7 @@ impl<'a> ProjectLocationCertificateDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4894,7 +4894,7 @@ impl<'a> ProjectLocationCertificateGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5199,7 +5199,7 @@ impl<'a> ProjectLocationCertificateListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5497,7 +5497,7 @@ impl<'a> ProjectLocationCertificatePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5794,7 +5794,7 @@ impl<'a> ProjectLocationDnsAuthorizationCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6050,7 +6050,7 @@ impl<'a> ProjectLocationDnsAuthorizationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6306,7 +6306,7 @@ impl<'a> ProjectLocationDnsAuthorizationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6611,7 +6611,7 @@ impl<'a> ProjectLocationDnsAuthorizationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6909,7 +6909,7 @@ impl<'a> ProjectLocationDnsAuthorizationPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7194,7 +7194,7 @@ impl<'a> ProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7450,7 +7450,7 @@ impl<'a> ProjectLocationOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7706,7 +7706,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7998,7 +7998,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8254,7 +8254,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/certificatemanager1/src/lib.rs b/gen/certificatemanager1/src/lib.rs index ce277ac9a2..f84aabbac2 100644 --- a/gen/certificatemanager1/src/lib.rs +++ b/gen/certificatemanager1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Certificate Manager* crate version *3.0.0+20220214*, where *20220214* is the exact revision of the *certificatemanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Certificate Manager* crate version *3.1.0+20220214*, where *20220214* is the exact revision of the *certificatemanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Certificate Manager* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/certificate-manager). @@ -104,7 +104,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CertificateManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/chromemanagement1-cli/Cargo.toml b/gen/chromemanagement1-cli/Cargo.toml index 54cebd34ea..f6aeb56353 100644 --- a/gen/chromemanagement1-cli/Cargo.toml +++ b/gen/chromemanagement1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-chromemanagement1-cli" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with Chrome Management (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/chromemanagement1-cli" @@ -20,12 +20,12 @@ name = "chromemanagement1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-chromemanagement1] path = "../chromemanagement1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" diff --git a/gen/chromemanagement1-cli/README.md b/gen/chromemanagement1-cli/README.md index 5844e3ed89..678401c1fd 100644 --- a/gen/chromemanagement1-cli/README.md +++ b/gen/chromemanagement1-cli/README.md @@ -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 *Chrome Management* API at revision *20220305*. The CLI is at version *3.0.0*. +This documentation was generated from the *Chrome Management* API at revision *20220305*. The CLI is at version *3.1.0*. ```bash chromemanagement1 [options] diff --git a/gen/chromemanagement1-cli/mkdocs.yml b/gen/chromemanagement1-cli/mkdocs.yml index 3fe633e18d..5069423819 100644 --- a/gen/chromemanagement1-cli/mkdocs.yml +++ b/gen/chromemanagement1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Chrome Management v3.0.0+20220305 +site_name: Chrome Management v3.1.0+20220305 site_url: http://byron.github.io/google-apis-rs/google-chromemanagement1-cli site_description: A complete library to interact with Chrome Management (protocol v1) diff --git a/gen/chromemanagement1-cli/src/main.rs b/gen/chromemanagement1-cli/src/main.rs index da33e02e05..3c85752900 100644 --- a/gen/chromemanagement1-cli/src/main.rs +++ b/gen/chromemanagement1-cli/src/main.rs @@ -606,7 +606,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/chromemanagement1", 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::ChromeManagement::new(client, auth), @@ -824,7 +830,7 @@ async fn main() { let mut app = App::new("chromemanagement1") .author("Sebastian Thiel ") - .version("3.0.0+20220305") + .version("3.1.0+20220305") .about("The Chrome Management API is a suite of services that allows Chrome administrators to view, manage and gain insights on their Chrome OS and Chrome Browser devices.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_chromemanagement1_cli") .arg(Arg::with_name("url") diff --git a/gen/chromemanagement1/Cargo.toml b/gen/chromemanagement1/Cargo.toml index 0f625433a6..f40ceda528 100644 --- a/gen/chromemanagement1/Cargo.toml +++ b/gen/chromemanagement1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-chromemanagement1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with Chrome Management (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/chromemanagement1" homepage = "http://developers.google.com/chrome/management/" -documentation = "https://docs.rs/google-chromemanagement1/3.0.0+20220305" +documentation = "https://docs.rs/google-chromemanagement1/3.1.0+20220305" license = "MIT" keywords = ["chromemanagement", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/chromemanagement1/README.md b/gen/chromemanagement1/README.md index 85659aff68..b0cdf5288d 100644 --- a/gen/chromemanagement1/README.md +++ b/gen/chromemanagement1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-chromemanagement1` library allows access to all features of the *Google Chrome Management* service. -This documentation was generated from *Chrome Management* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *chromemanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Chrome Management* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *chromemanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Chrome Management* *v1* API can be found at the [official documentation site](http://developers.google.com/chrome/management/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-chromemanagement1/3.0.0+20220305/google_chromemanagement1/ChromeManagement) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-chromemanagement1/3.1.0+20220305/google_chromemanagement1/ChromeManagement) ... * customers - * [*apps android get*](https://docs.rs/google-chromemanagement1/3.0.0+20220305/google_chromemanagement1/api::CustomerAppAndroidGetCall), [*apps chrome get*](https://docs.rs/google-chromemanagement1/3.0.0+20220305/google_chromemanagement1/api::CustomerAppChromeGetCall), [*apps count chrome app requests*](https://docs.rs/google-chromemanagement1/3.0.0+20220305/google_chromemanagement1/api::CustomerAppCountChromeAppRequestCall), [*apps web get*](https://docs.rs/google-chromemanagement1/3.0.0+20220305/google_chromemanagement1/api::CustomerAppWebGetCall), [*reports count chrome versions*](https://docs.rs/google-chromemanagement1/3.0.0+20220305/google_chromemanagement1/api::CustomerReportCountChromeVersionCall), [*reports count installed apps*](https://docs.rs/google-chromemanagement1/3.0.0+20220305/google_chromemanagement1/api::CustomerReportCountInstalledAppCall), [*reports find installed app devices*](https://docs.rs/google-chromemanagement1/3.0.0+20220305/google_chromemanagement1/api::CustomerReportFindInstalledAppDeviceCall) and [*telemetry devices list*](https://docs.rs/google-chromemanagement1/3.0.0+20220305/google_chromemanagement1/api::CustomerTelemetryDeviceListCall) + * [*apps android get*](https://docs.rs/google-chromemanagement1/3.1.0+20220305/google_chromemanagement1/api::CustomerAppAndroidGetCall), [*apps chrome get*](https://docs.rs/google-chromemanagement1/3.1.0+20220305/google_chromemanagement1/api::CustomerAppChromeGetCall), [*apps count chrome app requests*](https://docs.rs/google-chromemanagement1/3.1.0+20220305/google_chromemanagement1/api::CustomerAppCountChromeAppRequestCall), [*apps web get*](https://docs.rs/google-chromemanagement1/3.1.0+20220305/google_chromemanagement1/api::CustomerAppWebGetCall), [*reports count chrome versions*](https://docs.rs/google-chromemanagement1/3.1.0+20220305/google_chromemanagement1/api::CustomerReportCountChromeVersionCall), [*reports count installed apps*](https://docs.rs/google-chromemanagement1/3.1.0+20220305/google_chromemanagement1/api::CustomerReportCountInstalledAppCall), [*reports find installed app devices*](https://docs.rs/google-chromemanagement1/3.1.0+20220305/google_chromemanagement1/api::CustomerReportFindInstalledAppDeviceCall) and [*telemetry devices list*](https://docs.rs/google-chromemanagement1/3.1.0+20220305/google_chromemanagement1/api::CustomerTelemetryDeviceListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-chromemanagement1/3.0.0+20220305/google_chromemanagement1/ChromeManagement)** +* **[Hub](https://docs.rs/google-chromemanagement1/3.1.0+20220305/google_chromemanagement1/ChromeManagement)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-chromemanagement1/3.0.0+20220305/google_chromemanagement1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-chromemanagement1/3.0.0+20220305/google_chromemanagement1/client::CallBuilder) -* **[Resources](https://docs.rs/google-chromemanagement1/3.0.0+20220305/google_chromemanagement1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-chromemanagement1/3.1.0+20220305/google_chromemanagement1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-chromemanagement1/3.1.0+20220305/google_chromemanagement1/client::CallBuilder) +* **[Resources](https://docs.rs/google-chromemanagement1/3.1.0+20220305/google_chromemanagement1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-chromemanagement1/3.0.0+20220305/google_chromemanagement1/client::Part)** + * **[Parts](https://docs.rs/google-chromemanagement1/3.1.0+20220305/google_chromemanagement1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-chromemanagement1/3.0.0+20220305/google_chromemanagement1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-chromemanagement1/3.1.0+20220305/google_chromemanagement1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -92,7 +92,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = ChromeManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = ChromeManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -120,17 +120,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-chromemanagement1/3.0.0+20220305/google_chromemanagement1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-chromemanagement1/3.1.0+20220305/google_chromemanagement1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-chromemanagement1/3.0.0+20220305/google_chromemanagement1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-chromemanagement1/3.1.0+20220305/google_chromemanagement1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-chromemanagement1/3.0.0+20220305/google_chromemanagement1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-chromemanagement1/3.1.0+20220305/google_chromemanagement1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-chromemanagement1/3.0.0+20220305/google_chromemanagement1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-chromemanagement1/3.1.0+20220305/google_chromemanagement1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -140,29 +140,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-chromemanagement1/3.0.0+20220305/google_chromemanagement1/client::Delegate) to the -[Method Builder](https://docs.rs/google-chromemanagement1/3.0.0+20220305/google_chromemanagement1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-chromemanagement1/3.1.0+20220305/google_chromemanagement1/client::Delegate) to the +[Method Builder](https://docs.rs/google-chromemanagement1/3.1.0+20220305/google_chromemanagement1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-chromemanagement1/3.0.0+20220305/google_chromemanagement1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-chromemanagement1/3.1.0+20220305/google_chromemanagement1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-chromemanagement1/3.0.0+20220305/google_chromemanagement1/client::RequestValue) and -[decodable](https://docs.rs/google-chromemanagement1/3.0.0+20220305/google_chromemanagement1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-chromemanagement1/3.1.0+20220305/google_chromemanagement1/client::RequestValue) and +[decodable](https://docs.rs/google-chromemanagement1/3.1.0+20220305/google_chromemanagement1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-chromemanagement1/3.0.0+20220305/google_chromemanagement1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-chromemanagement1/3.1.0+20220305/google_chromemanagement1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-chromemanagement1/3.0.0+20220305/google_chromemanagement1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-chromemanagement1/3.1.0+20220305/google_chromemanagement1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-chromemanagement1/3.0.0+20220305/google_chromemanagement1/client::RequestValue) are moved +* [request values](https://docs.rs/google-chromemanagement1/3.1.0+20220305/google_chromemanagement1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/chromemanagement1/src/api.rs b/gen/chromemanagement1/src/api.rs index b48a43551b..a250458e05 100644 --- a/gen/chromemanagement1/src/api.rs +++ b/gen/chromemanagement1/src/api.rs @@ -78,7 +78,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ChromeManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ChromeManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -121,7 +121,7 @@ impl<'a, > ChromeManagement<> { ChromeManagement { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://chromemanagement.googleapis.com/".to_string(), _root_url: "https://chromemanagement.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > ChromeManagement<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1090,7 +1090,7 @@ impl client::Part for GoogleTypeDate {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ChromeManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ChromeManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `apps_android_get(...)`, `apps_chrome_get(...)`, `apps_count_chrome_app_requests(...)`, `apps_web_get(...)`, `reports_count_chrome_versions(...)`, `reports_count_installed_apps(...)`, `reports_find_installed_app_devices(...)` and `telemetry_devices_list(...)` /// // to build up your call. @@ -1298,7 +1298,7 @@ impl<'a> CustomerMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ChromeManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ChromeManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1554,7 +1554,7 @@ impl<'a> CustomerAppAndroidGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ChromeManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ChromeManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1810,7 +1810,7 @@ impl<'a> CustomerAppChromeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ChromeManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ChromeManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2066,7 +2066,7 @@ impl<'a> CustomerAppWebGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ChromeManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ChromeManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2370,7 +2370,7 @@ impl<'a> CustomerAppCountChromeAppRequestCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ChromeManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ChromeManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2674,7 +2674,7 @@ impl<'a> CustomerReportCountChromeVersionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ChromeManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ChromeManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2990,7 +2990,7 @@ impl<'a> CustomerReportCountInstalledAppCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ChromeManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ChromeManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3330,7 +3330,7 @@ impl<'a> CustomerReportFindInstalledAppDeviceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ChromeManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ChromeManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/chromemanagement1/src/lib.rs b/gen/chromemanagement1/src/lib.rs index 6c2340b9c2..8fc0999523 100644 --- a/gen/chromemanagement1/src/lib.rs +++ b/gen/chromemanagement1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Chrome Management* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *chromemanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Chrome Management* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *chromemanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Chrome Management* *v1* API can be found at the //! [official documentation site](http://developers.google.com/chrome/management/). @@ -93,7 +93,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = ChromeManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = ChromeManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/chromepolicy1-cli/Cargo.toml b/gen/chromepolicy1-cli/Cargo.toml index 3a20d3f9cc..4770ef213f 100644 --- a/gen/chromepolicy1-cli/Cargo.toml +++ b/gen/chromepolicy1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-chromepolicy1-cli" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with Chrome Policy (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/chromepolicy1-cli" @@ -20,12 +20,12 @@ name = "chromepolicy1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-chromepolicy1] path = "../chromepolicy1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" diff --git a/gen/chromepolicy1-cli/README.md b/gen/chromepolicy1-cli/README.md index 214cf059ce..129edfab09 100644 --- a/gen/chromepolicy1-cli/README.md +++ b/gen/chromepolicy1-cli/README.md @@ -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 *Chrome Policy* API at revision *20220305*. The CLI is at version *3.0.0*. +This documentation was generated from the *Chrome Policy* API at revision *20220305*. The CLI is at version *3.1.0*. ```bash chromepolicy1 [options] diff --git a/gen/chromepolicy1-cli/mkdocs.yml b/gen/chromepolicy1-cli/mkdocs.yml index d8393ce248..52a8ace6c8 100644 --- a/gen/chromepolicy1-cli/mkdocs.yml +++ b/gen/chromepolicy1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Chrome Policy v3.0.0+20220305 +site_name: Chrome Policy v3.1.0+20220305 site_url: http://byron.github.io/google-apis-rs/google-chromepolicy1-cli site_description: A complete library to interact with Chrome Policy (protocol v1) diff --git a/gen/chromepolicy1-cli/src/main.rs b/gen/chromepolicy1-cli/src/main.rs index e446951cb5..44ae39c6e7 100644 --- a/gen/chromepolicy1-cli/src/main.rs +++ b/gen/chromepolicy1-cli/src/main.rs @@ -574,7 +574,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/chromepolicy1", 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::ChromePolicy::new(client, auth), @@ -782,7 +788,7 @@ async fn main() { let mut app = App::new("chromepolicy1") .author("Sebastian Thiel ") - .version("3.0.0+20220305") + .version("3.1.0+20220305") .about("The Chrome Policy API is a suite of services that allows Chrome administrators to control the policies applied to their managed Chrome OS devices and Chrome browsers.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_chromepolicy1_cli") .arg(Arg::with_name("url") diff --git a/gen/chromepolicy1/Cargo.toml b/gen/chromepolicy1/Cargo.toml index 0ec31fa8bb..389784a5f7 100644 --- a/gen/chromepolicy1/Cargo.toml +++ b/gen/chromepolicy1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-chromepolicy1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with Chrome Policy (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/chromepolicy1" homepage = "http://developers.google.com/chrome/policy" -documentation = "https://docs.rs/google-chromepolicy1/3.0.0+20220305" +documentation = "https://docs.rs/google-chromepolicy1/3.1.0+20220305" license = "MIT" keywords = ["chromepolicy", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/chromepolicy1/README.md b/gen/chromepolicy1/README.md index bb6a908fa6..ef96b82416 100644 --- a/gen/chromepolicy1/README.md +++ b/gen/chromepolicy1/README.md @@ -5,23 +5,23 @@ DO NOT EDIT ! --> The `google-chromepolicy1` library allows access to all features of the *Google Chrome Policy* service. -This documentation was generated from *Chrome Policy* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *chromepolicy:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Chrome Policy* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *chromepolicy:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Chrome Policy* *v1* API can be found at the [official documentation site](http://developers.google.com/chrome/policy). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-chromepolicy1/3.0.0+20220305/google_chromepolicy1/ChromePolicy) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-chromepolicy1/3.1.0+20220305/google_chromepolicy1/ChromePolicy) ... * customers - * [*policies orgunits batch inherit*](https://docs.rs/google-chromepolicy1/3.0.0+20220305/google_chromepolicy1/api::CustomerPolicyOrgunitBatchInheritCall), [*policies orgunits batch modify*](https://docs.rs/google-chromepolicy1/3.0.0+20220305/google_chromepolicy1/api::CustomerPolicyOrgunitBatchModifyCall), [*policies resolve*](https://docs.rs/google-chromepolicy1/3.0.0+20220305/google_chromepolicy1/api::CustomerPolicyResolveCall), [*policy schemas get*](https://docs.rs/google-chromepolicy1/3.0.0+20220305/google_chromepolicy1/api::CustomerPolicySchemaGetCall) and [*policy schemas list*](https://docs.rs/google-chromepolicy1/3.0.0+20220305/google_chromepolicy1/api::CustomerPolicySchemaListCall) + * [*policies orgunits batch inherit*](https://docs.rs/google-chromepolicy1/3.1.0+20220305/google_chromepolicy1/api::CustomerPolicyOrgunitBatchInheritCall), [*policies orgunits batch modify*](https://docs.rs/google-chromepolicy1/3.1.0+20220305/google_chromepolicy1/api::CustomerPolicyOrgunitBatchModifyCall), [*policies resolve*](https://docs.rs/google-chromepolicy1/3.1.0+20220305/google_chromepolicy1/api::CustomerPolicyResolveCall), [*policy schemas get*](https://docs.rs/google-chromepolicy1/3.1.0+20220305/google_chromepolicy1/api::CustomerPolicySchemaGetCall) and [*policy schemas list*](https://docs.rs/google-chromepolicy1/3.1.0+20220305/google_chromepolicy1/api::CustomerPolicySchemaListCall) * media - * [*upload*](https://docs.rs/google-chromepolicy1/3.0.0+20220305/google_chromepolicy1/api::MediaUploadCall) + * [*upload*](https://docs.rs/google-chromepolicy1/3.1.0+20220305/google_chromepolicy1/api::MediaUploadCall) Upload supported by ... -* [*upload media*](https://docs.rs/google-chromepolicy1/3.0.0+20220305/google_chromepolicy1/api::MediaUploadCall) +* [*upload media*](https://docs.rs/google-chromepolicy1/3.1.0+20220305/google_chromepolicy1/api::MediaUploadCall) @@ -29,17 +29,17 @@ Upload supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-chromepolicy1/3.0.0+20220305/google_chromepolicy1/ChromePolicy)** +* **[Hub](https://docs.rs/google-chromepolicy1/3.1.0+20220305/google_chromepolicy1/ChromePolicy)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-chromepolicy1/3.0.0+20220305/google_chromepolicy1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-chromepolicy1/3.0.0+20220305/google_chromepolicy1/client::CallBuilder) -* **[Resources](https://docs.rs/google-chromepolicy1/3.0.0+20220305/google_chromepolicy1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-chromepolicy1/3.1.0+20220305/google_chromepolicy1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-chromepolicy1/3.1.0+20220305/google_chromepolicy1/client::CallBuilder) +* **[Resources](https://docs.rs/google-chromepolicy1/3.1.0+20220305/google_chromepolicy1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-chromepolicy1/3.0.0+20220305/google_chromepolicy1/client::Part)** + * **[Parts](https://docs.rs/google-chromepolicy1/3.1.0+20220305/google_chromepolicy1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-chromepolicy1/3.0.0+20220305/google_chromepolicy1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-chromepolicy1/3.1.0+20220305/google_chromepolicy1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -98,7 +98,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = ChromePolicy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = ChromePolicy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -131,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-chromepolicy1/3.0.0+20220305/google_chromepolicy1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-chromepolicy1/3.1.0+20220305/google_chromepolicy1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-chromepolicy1/3.0.0+20220305/google_chromepolicy1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-chromepolicy1/3.1.0+20220305/google_chromepolicy1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-chromepolicy1/3.0.0+20220305/google_chromepolicy1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-chromepolicy1/3.1.0+20220305/google_chromepolicy1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-chromepolicy1/3.0.0+20220305/google_chromepolicy1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-chromepolicy1/3.1.0+20220305/google_chromepolicy1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -151,29 +151,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-chromepolicy1/3.0.0+20220305/google_chromepolicy1/client::Delegate) to the -[Method Builder](https://docs.rs/google-chromepolicy1/3.0.0+20220305/google_chromepolicy1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-chromepolicy1/3.1.0+20220305/google_chromepolicy1/client::Delegate) to the +[Method Builder](https://docs.rs/google-chromepolicy1/3.1.0+20220305/google_chromepolicy1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-chromepolicy1/3.0.0+20220305/google_chromepolicy1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-chromepolicy1/3.1.0+20220305/google_chromepolicy1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-chromepolicy1/3.0.0+20220305/google_chromepolicy1/client::RequestValue) and -[decodable](https://docs.rs/google-chromepolicy1/3.0.0+20220305/google_chromepolicy1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-chromepolicy1/3.1.0+20220305/google_chromepolicy1/client::RequestValue) and +[decodable](https://docs.rs/google-chromepolicy1/3.1.0+20220305/google_chromepolicy1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-chromepolicy1/3.0.0+20220305/google_chromepolicy1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-chromepolicy1/3.1.0+20220305/google_chromepolicy1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-chromepolicy1/3.0.0+20220305/google_chromepolicy1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-chromepolicy1/3.1.0+20220305/google_chromepolicy1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-chromepolicy1/3.0.0+20220305/google_chromepolicy1/client::RequestValue) are moved +* [request values](https://docs.rs/google-chromepolicy1/3.1.0+20220305/google_chromepolicy1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/chromepolicy1/src/api.rs b/gen/chromepolicy1/src/api.rs index d93b1b381a..07926888ab 100644 --- a/gen/chromepolicy1/src/api.rs +++ b/gen/chromepolicy1/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ChromePolicy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ChromePolicy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -123,7 +123,7 @@ impl<'a, > ChromePolicy<> { ChromePolicy { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://chromepolicy.googleapis.com/".to_string(), _root_url: "https://chromepolicy.googleapis.com/".to_string(), } @@ -137,7 +137,7 @@ impl<'a, > ChromePolicy<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -749,7 +749,7 @@ impl client::Part for Proto2OneofDescriptorProto {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ChromePolicy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ChromePolicy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `policies_orgunits_batch_inherit(...)`, `policies_orgunits_batch_modify(...)`, `policies_resolve(...)`, `policy_schemas_get(...)` and `policy_schemas_list(...)` /// // to build up your call. @@ -884,7 +884,7 @@ impl<'a> CustomerMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ChromePolicy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ChromePolicy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `upload(...)` /// // to build up your call. @@ -952,7 +952,7 @@ impl<'a> MediaMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ChromePolicy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ChromePolicy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1238,7 +1238,7 @@ impl<'a> CustomerPolicyOrgunitBatchInheritCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ChromePolicy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ChromePolicy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1524,7 +1524,7 @@ impl<'a> CustomerPolicyOrgunitBatchModifyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ChromePolicy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ChromePolicy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1809,7 +1809,7 @@ impl<'a> CustomerPolicyResolveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ChromePolicy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ChromePolicy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2065,7 +2065,7 @@ impl<'a> CustomerPolicySchemaGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ChromePolicy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ChromePolicy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2359,7 +2359,7 @@ impl<'a> CustomerPolicySchemaListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ChromePolicy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ChromePolicy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/chromepolicy1/src/lib.rs b/gen/chromepolicy1/src/lib.rs index e71300129b..b0856e9f18 100644 --- a/gen/chromepolicy1/src/lib.rs +++ b/gen/chromepolicy1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Chrome Policy* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *chromepolicy:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Chrome Policy* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *chromepolicy:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Chrome Policy* *v1* API can be found at the //! [official documentation site](http://developers.google.com/chrome/policy). @@ -99,7 +99,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = ChromePolicy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = ChromePolicy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/chromeuxreport1-cli/Cargo.toml b/gen/chromeuxreport1-cli/Cargo.toml index e0cfb712ab..2c5eb9a364 100644 --- a/gen/chromeuxreport1-cli/Cargo.toml +++ b/gen/chromeuxreport1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-chromeuxreport1-cli" -version = "3.0.0+20220302" +version = "3.1.0+20220302" authors = ["Sebastian Thiel "] description = "A complete library to interact with Chrome UX Report (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/chromeuxreport1-cli" @@ -20,12 +20,12 @@ name = "chromeuxreport1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-chromeuxreport1] path = "../chromeuxreport1" -version = "3.0.0+20220302" +version = "3.1.0+20220302" diff --git a/gen/chromeuxreport1-cli/README.md b/gen/chromeuxreport1-cli/README.md index 3051dd5060..0415d4cb37 100644 --- a/gen/chromeuxreport1-cli/README.md +++ b/gen/chromeuxreport1-cli/README.md @@ -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 *Chrome UX Report* API at revision *20220302*. The CLI is at version *3.0.0*. +This documentation was generated from the *Chrome UX Report* API at revision *20220302*. The CLI is at version *3.1.0*. ```bash chromeuxreport1 [options] diff --git a/gen/chromeuxreport1-cli/mkdocs.yml b/gen/chromeuxreport1-cli/mkdocs.yml index 53664cc216..70c435c4bb 100644 --- a/gen/chromeuxreport1-cli/mkdocs.yml +++ b/gen/chromeuxreport1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Chrome UX Report v3.0.0+20220302 +site_name: Chrome UX Report v3.1.0+20220302 site_url: http://byron.github.io/google-apis-rs/google-chromeuxreport1-cli site_description: A complete library to interact with Chrome UX Report (protocol v1) diff --git a/gen/chromeuxreport1-cli/src/main.rs b/gen/chromeuxreport1-cli/src/main.rs index 8875a129cb..b21ecf323d 100644 --- a/gen/chromeuxreport1-cli/src/main.rs +++ b/gen/chromeuxreport1-cli/src/main.rs @@ -178,7 +178,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/chromeuxreport1", 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::ChromeUXReport::new(client, auth), @@ -242,7 +248,7 @@ async fn main() { let mut app = App::new("chromeuxreport1") .author("Sebastian Thiel ") - .version("3.0.0+20220302") + .version("3.1.0+20220302") .about("The Chrome UX Report API lets you view real user experience data for millions of websites. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_chromeuxreport1_cli") .arg(Arg::with_name("folder") diff --git a/gen/chromeuxreport1/Cargo.toml b/gen/chromeuxreport1/Cargo.toml index d2d0c75cc3..68c8534c95 100644 --- a/gen/chromeuxreport1/Cargo.toml +++ b/gen/chromeuxreport1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-chromeuxreport1" -version = "3.0.0+20220302" +version = "3.1.0+20220302" authors = ["Sebastian Thiel "] description = "A complete library to interact with Chrome UX Report (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/chromeuxreport1" homepage = "https://developers.google.com/web/tools/chrome-user-experience-report/api/reference" -documentation = "https://docs.rs/google-chromeuxreport1/3.0.0+20220302" +documentation = "https://docs.rs/google-chromeuxreport1/3.1.0+20220302" license = "MIT" keywords = ["chromeuxreport", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/chromeuxreport1/README.md b/gen/chromeuxreport1/README.md index 144ba4d770..a9d1d129fc 100644 --- a/gen/chromeuxreport1/README.md +++ b/gen/chromeuxreport1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-chromeuxreport1` library allows access to all features of the *Google Chrome UX Report* service. -This documentation was generated from *Chrome UX Report* crate version *3.0.0+20220302*, where *20220302* is the exact revision of the *chromeuxreport:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Chrome UX Report* crate version *3.1.0+20220302*, where *20220302* is the exact revision of the *chromeuxreport:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Chrome UX Report* *v1* API can be found at the [official documentation site](https://developers.google.com/web/tools/chrome-user-experience-report/api/reference). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-chromeuxreport1/3.0.0+20220302/google_chromeuxreport1/ChromeUXReport) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-chromeuxreport1/3.1.0+20220302/google_chromeuxreport1/ChromeUXReport) ... -* [records](https://docs.rs/google-chromeuxreport1/3.0.0+20220302/google_chromeuxreport1/api::Record) - * [*query record*](https://docs.rs/google-chromeuxreport1/3.0.0+20220302/google_chromeuxreport1/api::RecordQueryRecordCall) +* [records](https://docs.rs/google-chromeuxreport1/3.1.0+20220302/google_chromeuxreport1/api::Record) + * [*query record*](https://docs.rs/google-chromeuxreport1/3.1.0+20220302/google_chromeuxreport1/api::RecordQueryRecordCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-chromeuxreport1/3.0.0+20220302/google_chromeuxreport1/ChromeUXReport)** +* **[Hub](https://docs.rs/google-chromeuxreport1/3.1.0+20220302/google_chromeuxreport1/ChromeUXReport)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-chromeuxreport1/3.0.0+20220302/google_chromeuxreport1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-chromeuxreport1/3.0.0+20220302/google_chromeuxreport1/client::CallBuilder) -* **[Resources](https://docs.rs/google-chromeuxreport1/3.0.0+20220302/google_chromeuxreport1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-chromeuxreport1/3.1.0+20220302/google_chromeuxreport1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-chromeuxreport1/3.1.0+20220302/google_chromeuxreport1/client::CallBuilder) +* **[Resources](https://docs.rs/google-chromeuxreport1/3.1.0+20220302/google_chromeuxreport1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-chromeuxreport1/3.0.0+20220302/google_chromeuxreport1/client::Part)** + * **[Parts](https://docs.rs/google-chromeuxreport1/3.1.0+20220302/google_chromeuxreport1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-chromeuxreport1/3.0.0+20220302/google_chromeuxreport1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-chromeuxreport1/3.1.0+20220302/google_chromeuxreport1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -91,7 +91,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = ChromeUXReport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = ChromeUXReport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -124,17 +124,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-chromeuxreport1/3.0.0+20220302/google_chromeuxreport1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-chromeuxreport1/3.1.0+20220302/google_chromeuxreport1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-chromeuxreport1/3.0.0+20220302/google_chromeuxreport1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-chromeuxreport1/3.1.0+20220302/google_chromeuxreport1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-chromeuxreport1/3.0.0+20220302/google_chromeuxreport1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-chromeuxreport1/3.1.0+20220302/google_chromeuxreport1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-chromeuxreport1/3.0.0+20220302/google_chromeuxreport1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-chromeuxreport1/3.1.0+20220302/google_chromeuxreport1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -144,29 +144,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-chromeuxreport1/3.0.0+20220302/google_chromeuxreport1/client::Delegate) to the -[Method Builder](https://docs.rs/google-chromeuxreport1/3.0.0+20220302/google_chromeuxreport1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-chromeuxreport1/3.1.0+20220302/google_chromeuxreport1/client::Delegate) to the +[Method Builder](https://docs.rs/google-chromeuxreport1/3.1.0+20220302/google_chromeuxreport1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-chromeuxreport1/3.0.0+20220302/google_chromeuxreport1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-chromeuxreport1/3.1.0+20220302/google_chromeuxreport1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-chromeuxreport1/3.0.0+20220302/google_chromeuxreport1/client::RequestValue) and -[decodable](https://docs.rs/google-chromeuxreport1/3.0.0+20220302/google_chromeuxreport1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-chromeuxreport1/3.1.0+20220302/google_chromeuxreport1/client::RequestValue) and +[decodable](https://docs.rs/google-chromeuxreport1/3.1.0+20220302/google_chromeuxreport1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-chromeuxreport1/3.0.0+20220302/google_chromeuxreport1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-chromeuxreport1/3.1.0+20220302/google_chromeuxreport1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-chromeuxreport1/3.0.0+20220302/google_chromeuxreport1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-chromeuxreport1/3.1.0+20220302/google_chromeuxreport1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-chromeuxreport1/3.0.0+20220302/google_chromeuxreport1/client::RequestValue) are moved +* [request values](https://docs.rs/google-chromeuxreport1/3.1.0+20220302/google_chromeuxreport1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/chromeuxreport1/src/api.rs b/gen/chromeuxreport1/src/api.rs index c5a8cb9c6f..ce98cefd67 100644 --- a/gen/chromeuxreport1/src/api.rs +++ b/gen/chromeuxreport1/src/api.rs @@ -49,7 +49,7 @@ use crate::client; /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ChromeUXReport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ChromeUXReport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -97,7 +97,7 @@ impl<'a, > ChromeUXReport<> { ChromeUXReport { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://chromeuxreport.googleapis.com/".to_string(), _root_url: "https://chromeuxreport.googleapis.com/".to_string(), } @@ -108,7 +108,7 @@ impl<'a, > ChromeUXReport<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -314,7 +314,7 @@ impl client::Part for UrlNormalization {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ChromeUXReport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ChromeUXReport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `query_record(...)` /// // to build up your call. @@ -379,7 +379,7 @@ impl<'a> RecordMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ChromeUXReport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ChromeUXReport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/chromeuxreport1/src/lib.rs b/gen/chromeuxreport1/src/lib.rs index f67a6d0def..129b72467c 100644 --- a/gen/chromeuxreport1/src/lib.rs +++ b/gen/chromeuxreport1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Chrome UX Report* crate version *3.0.0+20220302*, where *20220302* is the exact revision of the *chromeuxreport:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Chrome UX Report* crate version *3.1.0+20220302*, where *20220302* is the exact revision of the *chromeuxreport:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Chrome UX Report* *v1* API can be found at the //! [official documentation site](https://developers.google.com/web/tools/chrome-user-experience-report/api/reference). @@ -92,7 +92,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = ChromeUXReport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = ChromeUXReport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/classroom1-cli/Cargo.toml b/gen/classroom1-cli/Cargo.toml index 0025802ce3..6ff58b5eac 100644 --- a/gen/classroom1-cli/Cargo.toml +++ b/gen/classroom1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-classroom1-cli" -version = "3.0.0+20220224" +version = "3.1.0+20220224" authors = ["Sebastian Thiel "] description = "A complete library to interact with classroom (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/classroom1-cli" @@ -20,12 +20,12 @@ name = "classroom1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-classroom1] path = "../classroom1" -version = "3.0.0+20220224" +version = "3.1.0+20220224" diff --git a/gen/classroom1-cli/README.md b/gen/classroom1-cli/README.md index 8a92efad31..1773321da9 100644 --- a/gen/classroom1-cli/README.md +++ b/gen/classroom1-cli/README.md @@ -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 *classroom* API at revision *20220224*. The CLI is at version *3.0.0*. +This documentation was generated from the *classroom* API at revision *20220224*. The CLI is at version *3.1.0*. ```bash classroom1 [options] diff --git a/gen/classroom1-cli/mkdocs.yml b/gen/classroom1-cli/mkdocs.yml index 2785b9cd20..2d17e158c8 100644 --- a/gen/classroom1-cli/mkdocs.yml +++ b/gen/classroom1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: classroom v3.0.0+20220224 +site_name: classroom v3.1.0+20220224 site_url: http://byron.github.io/google-apis-rs/google-classroom1-cli site_description: A complete library to interact with classroom (protocol v1) diff --git a/gen/classroom1-cli/src/main.rs b/gen/classroom1-cli/src/main.rs index 34d468083b..50b282a51a 100644 --- a/gen/classroom1-cli/src/main.rs +++ b/gen/classroom1-cli/src/main.rs @@ -4687,7 +4687,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/classroom1", 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::Classroom::new(client, auth), @@ -6416,7 +6422,7 @@ async fn main() { let mut app = App::new("classroom1") .author("Sebastian Thiel ") - .version("3.0.0+20220224") + .version("3.1.0+20220224") .about("Manages classes, rosters, and invitations in Google Classroom.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_classroom1_cli") .arg(Arg::with_name("url") diff --git a/gen/classroom1/Cargo.toml b/gen/classroom1/Cargo.toml index 29d2e486e7..0900ff6102 100644 --- a/gen/classroom1/Cargo.toml +++ b/gen/classroom1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-classroom1" -version = "3.0.0+20220224" +version = "3.1.0+20220224" authors = ["Sebastian Thiel "] description = "A complete library to interact with classroom (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/classroom1" homepage = "https://developers.google.com/classroom/" -documentation = "https://docs.rs/google-classroom1/3.0.0+20220224" +documentation = "https://docs.rs/google-classroom1/3.1.0+20220224" license = "MIT" keywords = ["classroom", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/classroom1/README.md b/gen/classroom1/README.md index 76764f0943..696cf7018b 100644 --- a/gen/classroom1/README.md +++ b/gen/classroom1/README.md @@ -5,22 +5,22 @@ DO NOT EDIT ! --> The `google-classroom1` library allows access to all features of the *Google classroom* service. -This documentation was generated from *classroom* crate version *3.0.0+20220224*, where *20220224* is the exact revision of the *classroom:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *classroom* crate version *3.1.0+20220224*, where *20220224* is the exact revision of the *classroom:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *classroom* *v1* API can be found at the [official documentation site](https://developers.google.com/classroom/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/Classroom) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/Classroom) ... -* [courses](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::Course) - * [*aliases create*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseAliaseCreateCall), [*aliases delete*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseAliaseDeleteCall), [*aliases list*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseAliaseListCall), [*announcements create*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseAnnouncementCreateCall), [*announcements delete*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseAnnouncementDeleteCall), [*announcements get*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseAnnouncementGetCall), [*announcements list*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseAnnouncementListCall), [*announcements modify assignees*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseAnnouncementModifyAssigneeCall), [*announcements patch*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseAnnouncementPatchCall), [*course work create*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseCourseWorkCreateCall), [*course work delete*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseCourseWorkDeleteCall), [*course work get*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseCourseWorkGetCall), [*course work list*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseCourseWorkListCall), [*course work modify assignees*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseCourseWorkModifyAssigneeCall), [*course work patch*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseCourseWorkPatchCall), [*course work student submissions get*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseCourseWorkStudentSubmissionGetCall), [*course work student submissions list*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseCourseWorkStudentSubmissionListCall), [*course work student submissions modify attachments*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseCourseWorkStudentSubmissionModifyAttachmentCall), [*course work student submissions patch*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseCourseWorkStudentSubmissionPatchCall), [*course work student submissions reclaim*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseCourseWorkStudentSubmissionReclaimCall), [*course work student submissions return*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseCourseWorkStudentSubmissionReturnCall), [*course work student submissions turn in*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseCourseWorkStudentSubmissionTurnInCall), [*course work materials create*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseCourseWorkMaterialCreateCall), [*course work materials delete*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseCourseWorkMaterialDeleteCall), [*course work materials get*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseCourseWorkMaterialGetCall), [*course work materials list*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseCourseWorkMaterialListCall), [*course work materials patch*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseCourseWorkMaterialPatchCall), [*create*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseCreateCall), [*delete*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseDeleteCall), [*get*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseGetCall), [*list*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseListCall), [*patch*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CoursePatchCall), [*students create*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseStudentCreateCall), [*students delete*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseStudentDeleteCall), [*students get*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseStudentGetCall), [*students list*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseStudentListCall), [*teachers create*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseTeacherCreateCall), [*teachers delete*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseTeacherDeleteCall), [*teachers get*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseTeacherGetCall), [*teachers list*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseTeacherListCall), [*topics create*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseTopicCreateCall), [*topics delete*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseTopicDeleteCall), [*topics get*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseTopicGetCall), [*topics list*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseTopicListCall), [*topics patch*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseTopicPatchCall) and [*update*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::CourseUpdateCall) -* [invitations](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::Invitation) - * [*accept*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::InvitationAcceptCall), [*create*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::InvitationCreateCall), [*delete*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::InvitationDeleteCall), [*get*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::InvitationGetCall) and [*list*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::InvitationListCall) -* [registrations](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::Registration) - * [*create*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::RegistrationCreateCall) and [*delete*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::RegistrationDeleteCall) -* [user profiles](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::UserProfile) - * [*get*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::UserProfileGetCall), [*guardian invitations create*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::UserProfileGuardianInvitationCreateCall), [*guardian invitations get*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::UserProfileGuardianInvitationGetCall), [*guardian invitations list*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::UserProfileGuardianInvitationListCall), [*guardian invitations patch*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::UserProfileGuardianInvitationPatchCall), [*guardians delete*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::UserProfileGuardianDeleteCall), [*guardians get*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::UserProfileGuardianGetCall) and [*guardians list*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/api::UserProfileGuardianListCall) +* [courses](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::Course) + * [*aliases create*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseAliaseCreateCall), [*aliases delete*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseAliaseDeleteCall), [*aliases list*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseAliaseListCall), [*announcements create*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseAnnouncementCreateCall), [*announcements delete*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseAnnouncementDeleteCall), [*announcements get*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseAnnouncementGetCall), [*announcements list*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseAnnouncementListCall), [*announcements modify assignees*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseAnnouncementModifyAssigneeCall), [*announcements patch*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseAnnouncementPatchCall), [*course work create*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseCourseWorkCreateCall), [*course work delete*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseCourseWorkDeleteCall), [*course work get*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseCourseWorkGetCall), [*course work list*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseCourseWorkListCall), [*course work modify assignees*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseCourseWorkModifyAssigneeCall), [*course work patch*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseCourseWorkPatchCall), [*course work student submissions get*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseCourseWorkStudentSubmissionGetCall), [*course work student submissions list*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseCourseWorkStudentSubmissionListCall), [*course work student submissions modify attachments*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseCourseWorkStudentSubmissionModifyAttachmentCall), [*course work student submissions patch*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseCourseWorkStudentSubmissionPatchCall), [*course work student submissions reclaim*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseCourseWorkStudentSubmissionReclaimCall), [*course work student submissions return*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseCourseWorkStudentSubmissionReturnCall), [*course work student submissions turn in*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseCourseWorkStudentSubmissionTurnInCall), [*course work materials create*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseCourseWorkMaterialCreateCall), [*course work materials delete*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseCourseWorkMaterialDeleteCall), [*course work materials get*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseCourseWorkMaterialGetCall), [*course work materials list*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseCourseWorkMaterialListCall), [*course work materials patch*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseCourseWorkMaterialPatchCall), [*create*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseCreateCall), [*delete*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseDeleteCall), [*get*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseGetCall), [*list*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseListCall), [*patch*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CoursePatchCall), [*students create*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseStudentCreateCall), [*students delete*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseStudentDeleteCall), [*students get*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseStudentGetCall), [*students list*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseStudentListCall), [*teachers create*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseTeacherCreateCall), [*teachers delete*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseTeacherDeleteCall), [*teachers get*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseTeacherGetCall), [*teachers list*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseTeacherListCall), [*topics create*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseTopicCreateCall), [*topics delete*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseTopicDeleteCall), [*topics get*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseTopicGetCall), [*topics list*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseTopicListCall), [*topics patch*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseTopicPatchCall) and [*update*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::CourseUpdateCall) +* [invitations](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::Invitation) + * [*accept*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::InvitationAcceptCall), [*create*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::InvitationCreateCall), [*delete*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::InvitationDeleteCall), [*get*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::InvitationGetCall) and [*list*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::InvitationListCall) +* [registrations](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::Registration) + * [*create*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::RegistrationCreateCall) and [*delete*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::RegistrationDeleteCall) +* [user profiles](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::UserProfile) + * [*get*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::UserProfileGetCall), [*guardian invitations create*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::UserProfileGuardianInvitationCreateCall), [*guardian invitations get*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::UserProfileGuardianInvitationGetCall), [*guardian invitations list*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::UserProfileGuardianInvitationListCall), [*guardian invitations patch*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::UserProfileGuardianInvitationPatchCall), [*guardians delete*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::UserProfileGuardianDeleteCall), [*guardians get*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::UserProfileGuardianGetCall) and [*guardians list*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/api::UserProfileGuardianListCall) @@ -29,17 +29,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/Classroom)** +* **[Hub](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/Classroom)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/client::CallBuilder) -* **[Resources](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/client::CallBuilder) +* **[Resources](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/client::Part)** + * **[Parts](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -141,7 +141,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -174,17 +174,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -194,29 +194,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/client::Delegate) to the -[Method Builder](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/client::Delegate) to the +[Method Builder](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/client::RequestValue) and -[decodable](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/client::RequestValue) and +[decodable](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-classroom1/3.0.0+20220224/google_classroom1/client::RequestValue) are moved +* [request values](https://docs.rs/google-classroom1/3.1.0+20220224/google_classroom1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/classroom1/src/api.rs b/gen/classroom1/src/api.rs index 9ec04a432a..455d946c7d 100644 --- a/gen/classroom1/src/api.rs +++ b/gen/classroom1/src/api.rs @@ -154,7 +154,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -202,7 +202,7 @@ impl<'a, > Classroom<> { Classroom { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://classroom.googleapis.com/".to_string(), _root_url: "https://classroom.googleapis.com/".to_string(), } @@ -222,7 +222,7 @@ impl<'a, > Classroom<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1833,7 +1833,7 @@ impl client::Part for YouTubeVideo {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `aliases_create(...)`, `aliases_delete(...)`, `aliases_list(...)`, `announcements_create(...)`, `announcements_delete(...)`, `announcements_get(...)`, `announcements_list(...)`, `announcements_modify_assignees(...)`, `announcements_patch(...)`, `course_work_create(...)`, `course_work_delete(...)`, `course_work_get(...)`, `course_work_list(...)`, `course_work_materials_create(...)`, `course_work_materials_delete(...)`, `course_work_materials_get(...)`, `course_work_materials_list(...)`, `course_work_materials_patch(...)`, `course_work_modify_assignees(...)`, `course_work_patch(...)`, `course_work_student_submissions_get(...)`, `course_work_student_submissions_list(...)`, `course_work_student_submissions_modify_attachments(...)`, `course_work_student_submissions_patch(...)`, `course_work_student_submissions_reclaim(...)`, `course_work_student_submissions_return(...)`, `course_work_student_submissions_turn_in(...)`, `create(...)`, `delete(...)`, `get(...)`, `list(...)`, `patch(...)`, `students_create(...)`, `students_delete(...)`, `students_get(...)`, `students_list(...)`, `teachers_create(...)`, `teachers_delete(...)`, `teachers_get(...)`, `teachers_list(...)`, `topics_create(...)`, `topics_delete(...)`, `topics_get(...)`, `topics_list(...)`, `topics_patch(...)` and `update(...)` /// // to build up your call. @@ -2794,7 +2794,7 @@ impl<'a> CourseMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `accept(...)`, `create(...)`, `delete(...)`, `get(...)` and `list(...)` /// // to build up your call. @@ -2919,7 +2919,7 @@ impl<'a> InvitationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)` and `delete(...)` /// // to build up your call. @@ -2994,7 +2994,7 @@ impl<'a> RegistrationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `guardian_invitations_create(...)`, `guardian_invitations_get(...)`, `guardian_invitations_list(...)`, `guardian_invitations_patch(...)`, `guardians_delete(...)`, `guardians_get(...)` and `guardians_list(...)` /// // to build up your call. @@ -3199,7 +3199,7 @@ impl<'a> UserProfileMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3480,7 +3480,7 @@ impl<'a> CourseAliaseCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3744,7 +3744,7 @@ impl<'a> CourseAliaseDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4021,7 +4021,7 @@ impl<'a> CourseAliaseListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4302,7 +4302,7 @@ impl<'a> CourseAnnouncementCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4566,7 +4566,7 @@ impl<'a> CourseAnnouncementDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4830,7 +4830,7 @@ impl<'a> CourseAnnouncementGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5134,7 +5134,7 @@ impl<'a> CourseAnnouncementListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5428,7 +5428,7 @@ impl<'a> CourseAnnouncementModifyAssigneeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5733,7 +5733,7 @@ impl<'a> CourseAnnouncementPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6009,7 +6009,7 @@ impl<'a> CourseCourseWorkStudentSubmissionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6337,7 +6337,7 @@ impl<'a> CourseCourseWorkStudentSubmissionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6643,7 +6643,7 @@ impl<'a> CourseCourseWorkStudentSubmissionModifyAttachmentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6961,7 +6961,7 @@ impl<'a> CourseCourseWorkStudentSubmissionPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7267,7 +7267,7 @@ impl<'a> CourseCourseWorkStudentSubmissionReclaimCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7573,7 +7573,7 @@ impl<'a> CourseCourseWorkStudentSubmissionReturnCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7879,7 +7879,7 @@ impl<'a> CourseCourseWorkStudentSubmissionTurnInCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8160,7 +8160,7 @@ impl<'a> CourseCourseWorkCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8424,7 +8424,7 @@ impl<'a> CourseCourseWorkDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8688,7 +8688,7 @@ impl<'a> CourseCourseWorkGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8992,7 +8992,7 @@ impl<'a> CourseCourseWorkListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9286,7 +9286,7 @@ impl<'a> CourseCourseWorkModifyAssigneeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9592,7 +9592,7 @@ impl<'a> CourseCourseWorkPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9873,7 +9873,7 @@ impl<'a> CourseCourseWorkMaterialCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10137,7 +10137,7 @@ impl<'a> CourseCourseWorkMaterialDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10401,7 +10401,7 @@ impl<'a> CourseCourseWorkMaterialGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10729,7 +10729,7 @@ impl<'a> CourseCourseWorkMaterialListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11035,7 +11035,7 @@ impl<'a> CourseCourseWorkMaterialPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11328,7 +11328,7 @@ impl<'a> CourseStudentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11592,7 +11592,7 @@ impl<'a> CourseStudentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11856,7 +11856,7 @@ impl<'a> CourseStudentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12133,7 +12133,7 @@ impl<'a> CourseStudentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12414,7 +12414,7 @@ impl<'a> CourseTeacherCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12678,7 +12678,7 @@ impl<'a> CourseTeacherDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12942,7 +12942,7 @@ impl<'a> CourseTeacherGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13219,7 +13219,7 @@ impl<'a> CourseTeacherListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13500,7 +13500,7 @@ impl<'a> CourseTopicCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13764,7 +13764,7 @@ impl<'a> CourseTopicDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14028,7 +14028,7 @@ impl<'a> CourseTopicGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14305,7 +14305,7 @@ impl<'a> CourseTopicListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14611,7 +14611,7 @@ impl<'a> CourseTopicPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14859,7 +14859,7 @@ impl<'a> CourseCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15111,7 +15111,7 @@ impl<'a> CourseDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15363,7 +15363,7 @@ impl<'a> CourseGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15646,7 +15646,7 @@ impl<'a> CourseListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15940,7 +15940,7 @@ impl<'a> CoursePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16221,7 +16221,7 @@ impl<'a> CourseUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16474,7 +16474,7 @@ impl<'a> InvitationAcceptCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16722,7 +16722,7 @@ impl<'a> InvitationCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16974,7 +16974,7 @@ impl<'a> InvitationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17226,7 +17226,7 @@ impl<'a> InvitationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17494,7 +17494,7 @@ impl<'a> InvitationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17742,7 +17742,7 @@ impl<'a> RegistrationCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17995,7 +17995,7 @@ impl<'a> RegistrationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18276,7 +18276,7 @@ impl<'a> UserProfileGuardianInvitationCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18540,7 +18540,7 @@ impl<'a> UserProfileGuardianInvitationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18844,7 +18844,7 @@ impl<'a> UserProfileGuardianInvitationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19149,7 +19149,7 @@ impl<'a> UserProfileGuardianInvitationPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19413,7 +19413,7 @@ impl<'a> UserProfileGuardianDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19677,7 +19677,7 @@ impl<'a> UserProfileGuardianGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19965,7 +19965,7 @@ impl<'a> UserProfileGuardianListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/classroom1/src/lib.rs b/gen/classroom1/src/lib.rs index b33a6f8bec..8e836897d2 100644 --- a/gen/classroom1/src/lib.rs +++ b/gen/classroom1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *classroom* crate version *3.0.0+20220224*, where *20220224* is the exact revision of the *classroom:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *classroom* crate version *3.1.0+20220224*, where *20220224* is the exact revision of the *classroom:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *classroom* *v1* API can be found at the //! [official documentation site](https://developers.google.com/classroom/). @@ -142,7 +142,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Classroom::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/cloudasset1-cli/Cargo.toml b/gen/cloudasset1-cli/Cargo.toml index 06239c6fd7..ae248b67d6 100644 --- a/gen/cloudasset1-cli/Cargo.toml +++ b/gen/cloudasset1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudasset1-cli" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Asset (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudasset1-cli" @@ -20,12 +20,12 @@ name = "cloudasset1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudasset1] path = "../cloudasset1" -version = "3.0.0+20220225" +version = "3.1.0+20220225" diff --git a/gen/cloudasset1-cli/README.md b/gen/cloudasset1-cli/README.md index bb1001ae27..0e645fc6c3 100644 --- a/gen/cloudasset1-cli/README.md +++ b/gen/cloudasset1-cli/README.md @@ -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 *Cloud Asset* API at revision *20220225*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Asset* API at revision *20220225*. The CLI is at version *3.1.0*. ```bash cloudasset1 [options] diff --git a/gen/cloudasset1-cli/mkdocs.yml b/gen/cloudasset1-cli/mkdocs.yml index e986d7e7a9..ba26b453a9 100644 --- a/gen/cloudasset1-cli/mkdocs.yml +++ b/gen/cloudasset1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Asset v3.0.0+20220225 +site_name: Cloud Asset v3.1.0+20220225 site_url: http://byron.github.io/google-apis-rs/google-cloudasset1-cli site_description: A complete library to interact with Cloud Asset (protocol v1) diff --git a/gen/cloudasset1-cli/src/main.rs b/gen/cloudasset1-cli/src/main.rs index daaffab73a..f82967e2b2 100644 --- a/gen/cloudasset1-cli/src/main.rs +++ b/gen/cloudasset1-cli/src/main.rs @@ -1649,7 +1649,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/cloudasset1", 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::CloudAsset::new(client, auth), @@ -2182,7 +2188,7 @@ async fn main() { let mut app = App::new("cloudasset1") .author("Sebastian Thiel ") - .version("3.0.0+20220225") + .version("3.1.0+20220225") .about("The cloud asset API manages the history and inventory of cloud resources.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudasset1_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudasset1/Cargo.toml b/gen/cloudasset1/Cargo.toml index 316fc77f09..c20cf12837 100644 --- a/gen/cloudasset1/Cargo.toml +++ b/gen/cloudasset1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudasset1" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Asset (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudasset1" homepage = "https://cloud.google.com/asset-inventory/docs/quickstart" -documentation = "https://docs.rs/google-cloudasset1/3.0.0+20220225" +documentation = "https://docs.rs/google-cloudasset1/3.1.0+20220225" license = "MIT" keywords = ["cloudasset", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/cloudasset1/README.md b/gen/cloudasset1/README.md index 3a5671e806..cd1f9312b1 100644 --- a/gen/cloudasset1/README.md +++ b/gen/cloudasset1/README.md @@ -5,34 +5,34 @@ DO NOT EDIT ! --> The `google-cloudasset1` library allows access to all features of the *Google Cloud Asset* service. -This documentation was generated from *Cloud Asset* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *cloudasset:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Asset* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *cloudasset:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Asset* *v1* API can be found at the [official documentation site](https://cloud.google.com/asset-inventory/docs/quickstart). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/CloudAsset) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/CloudAsset) ... -* [assets](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/api::Asset) - * [*list*](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/api::AssetListCall) -* [effective iam policies](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/api::EffectiveIamPolicy) - * [*batch get*](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/api::EffectiveIamPolicyBatchGetCall) -* [feeds](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/api::Feed) - * [*create*](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/api::FeedCreateCall), [*delete*](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/api::FeedDeleteCall), [*get*](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/api::FeedGetCall), [*list*](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/api::FeedListCall) and [*patch*](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/api::FeedPatchCall) -* [operations](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/api::Operation) - * [*get*](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/api::OperationGetCall) -* [saved queries](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/api::SavedQuery) - * [*create*](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/api::SavedQueryCreateCall), [*delete*](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/api::SavedQueryDeleteCall), [*get*](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/api::SavedQueryGetCall), [*list*](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/api::SavedQueryListCall) and [*patch*](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/api::SavedQueryPatchCall) +* [assets](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/api::Asset) + * [*list*](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/api::AssetListCall) +* [effective iam policies](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/api::EffectiveIamPolicy) + * [*batch get*](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/api::EffectiveIamPolicyBatchGetCall) +* [feeds](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/api::Feed) + * [*create*](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/api::FeedCreateCall), [*delete*](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/api::FeedDeleteCall), [*get*](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/api::FeedGetCall), [*list*](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/api::FeedListCall) and [*patch*](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/api::FeedPatchCall) +* [operations](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/api::Operation) + * [*get*](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/api::OperationGetCall) +* [saved queries](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/api::SavedQuery) + * [*create*](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/api::SavedQueryCreateCall), [*delete*](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/api::SavedQueryDeleteCall), [*get*](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/api::SavedQueryGetCall), [*list*](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/api::SavedQueryListCall) and [*patch*](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/api::SavedQueryPatchCall) Other activities are ... -* [analyze iam policy](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/api::MethodAnalyzeIamPolicyCall) -* [analyze iam policy longrunning](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/api::MethodAnalyzeIamPolicyLongrunningCall) -* [analyze move](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/api::MethodAnalyzeMoveCall) -* [batch get assets history](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/api::MethodBatchGetAssetsHistoryCall) -* [export assets](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/api::MethodExportAssetCall) -* [search all iam policies](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/api::MethodSearchAllIamPolicyCall) -* [search all resources](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/api::MethodSearchAllResourceCall) +* [analyze iam policy](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/api::MethodAnalyzeIamPolicyCall) +* [analyze iam policy longrunning](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/api::MethodAnalyzeIamPolicyLongrunningCall) +* [analyze move](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/api::MethodAnalyzeMoveCall) +* [batch get assets history](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/api::MethodBatchGetAssetsHistoryCall) +* [export assets](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/api::MethodExportAssetCall) +* [search all iam policies](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/api::MethodSearchAllIamPolicyCall) +* [search all resources](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/api::MethodSearchAllResourceCall) @@ -40,17 +40,17 @@ Other activities are ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/CloudAsset)** +* **[Hub](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/CloudAsset)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/client::Part)** + * **[Parts](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -112,7 +112,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -145,17 +145,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -165,29 +165,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/client::RequestValue) and +[decodable](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-cloudasset1/3.0.0+20220225/google_cloudasset1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudasset1/3.1.0+20220225/google_cloudasset1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudasset1/src/api.rs b/gen/cloudasset1/src/api.rs index a446e07967..1a5cc591b3 100644 --- a/gen/cloudasset1/src/api.rs +++ b/gen/cloudasset1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > CloudAsset<> { CloudAsset { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://cloudasset.googleapis.com/".to_string(), _root_url: "https://cloudasset.googleapis.com/".to_string(), } @@ -145,7 +145,7 @@ impl<'a, > CloudAsset<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -2315,7 +2315,7 @@ impl client::Part for ZypperPatch {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -2379,7 +2379,7 @@ impl<'a> AssetMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `batch_get(...)` /// // to build up your call. @@ -2438,7 +2438,7 @@ impl<'a> EffectiveIamPolicyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)`, `get(...)`, `list(...)` and `patch(...)` /// // to build up your call. @@ -2568,7 +2568,7 @@ impl<'a> FeedMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -2626,7 +2626,7 @@ impl<'a> OperationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)`, `get(...)`, `list(...)` and `patch(...)` /// // to build up your call. @@ -2761,7 +2761,7 @@ impl<'a> SavedQueryMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `analyze_iam_policy(...)`, `analyze_iam_policy_longrunning(...)`, `analyze_move(...)`, `batch_get_assets_history(...)`, `export_assets(...)`, `search_all_iam_policies(...)` and `search_all_resources(...)` /// // to build up your call. @@ -2963,7 +2963,7 @@ impl<'a> MethodMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3297,7 +3297,7 @@ impl<'a> AssetListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3569,7 +3569,7 @@ impl<'a> EffectiveIamPolicyBatchGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3854,7 +3854,7 @@ impl<'a> FeedCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4110,7 +4110,7 @@ impl<'a> FeedDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4366,7 +4366,7 @@ impl<'a> FeedGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4623,7 +4623,7 @@ impl<'a> FeedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4908,7 +4908,7 @@ impl<'a> FeedPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5165,7 +5165,7 @@ impl<'a> OperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5462,7 +5462,7 @@ impl<'a> SavedQueryCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5718,7 +5718,7 @@ impl<'a> SavedQueryDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5974,7 +5974,7 @@ impl<'a> SavedQueryGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6267,7 +6267,7 @@ impl<'a> SavedQueryListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6564,7 +6564,7 @@ impl<'a> SavedQueryPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6983,7 +6983,7 @@ impl<'a> MethodAnalyzeIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7268,7 +7268,7 @@ impl<'a> MethodAnalyzeIamPolicyLongrunningCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7548,7 +7548,7 @@ impl<'a> MethodAnalyzeMoveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7871,7 +7871,7 @@ impl<'a> MethodBatchGetAssetsHistoryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8156,7 +8156,7 @@ impl<'a> MethodExportAssetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8475,7 +8475,7 @@ impl<'a> MethodSearchAllIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/cloudasset1/src/lib.rs b/gen/cloudasset1/src/lib.rs index 8a525530b6..30f2b3732a 100644 --- a/gen/cloudasset1/src/lib.rs +++ b/gen/cloudasset1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Asset* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *cloudasset:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Asset* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *cloudasset:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Asset* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/asset-inventory/docs/quickstart). @@ -113,7 +113,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/cloudasset1_beta1-cli/Cargo.toml b/gen/cloudasset1_beta1-cli/Cargo.toml index 975ed6d12f..e4afd18a4a 100644 --- a/gen/cloudasset1_beta1-cli/Cargo.toml +++ b/gen/cloudasset1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudasset1_beta1-cli" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Asset (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudasset1_beta1-cli" @@ -20,12 +20,12 @@ name = "cloudasset1-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudasset1_beta1] path = "../cloudasset1_beta1" -version = "3.0.0+20220225" +version = "3.1.0+20220225" diff --git a/gen/cloudasset1_beta1-cli/README.md b/gen/cloudasset1_beta1-cli/README.md index 231cc315ee..7dcefc4a49 100644 --- a/gen/cloudasset1_beta1-cli/README.md +++ b/gen/cloudasset1_beta1-cli/README.md @@ -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 *Cloud Asset* API at revision *20220225*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Asset* API at revision *20220225*. The CLI is at version *3.1.0*. ```bash cloudasset1-beta1 [options] diff --git a/gen/cloudasset1_beta1-cli/mkdocs.yml b/gen/cloudasset1_beta1-cli/mkdocs.yml index ba4bd6243f..d999156836 100644 --- a/gen/cloudasset1_beta1-cli/mkdocs.yml +++ b/gen/cloudasset1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Asset v3.0.0+20220225 +site_name: Cloud Asset v3.1.0+20220225 site_url: http://byron.github.io/google-apis-rs/google-cloudasset1_beta1-cli site_description: A complete library to interact with Cloud Asset (protocol v1beta1) diff --git a/gen/cloudasset1_beta1-cli/src/main.rs b/gen/cloudasset1_beta1-cli/src/main.rs index d554d56bca..704d99beeb 100644 --- a/gen/cloudasset1_beta1-cli/src/main.rs +++ b/gen/cloudasset1_beta1-cli/src/main.rs @@ -682,7 +682,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/cloudasset1-beta1", 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::CloudAsset::new(client, auth), @@ -924,7 +930,7 @@ async fn main() { let mut app = App::new("cloudasset1-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20220225") + .version("3.1.0+20220225") .about("The cloud asset API manages the history and inventory of cloud resources.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudasset1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudasset1_beta1/Cargo.toml b/gen/cloudasset1_beta1/Cargo.toml index ba4527d497..72598acf05 100644 --- a/gen/cloudasset1_beta1/Cargo.toml +++ b/gen/cloudasset1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudasset1_beta1" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Asset (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudasset1_beta1" homepage = "https://cloud.google.com/asset-inventory/docs/quickstart" -documentation = "https://docs.rs/google-cloudasset1_beta1/3.0.0+20220225" +documentation = "https://docs.rs/google-cloudasset1_beta1/3.1.0+20220225" license = "MIT" keywords = ["cloudasset", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/cloudasset1_beta1/README.md b/gen/cloudasset1_beta1/README.md index a234a1e4bb..6b107953e7 100644 --- a/gen/cloudasset1_beta1/README.md +++ b/gen/cloudasset1_beta1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-cloudasset1_beta1` library allows access to all features of the *Google Cloud Asset* service. -This documentation was generated from *Cloud Asset* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *cloudasset:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Asset* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *cloudasset:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Asset* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/asset-inventory/docs/quickstart). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudasset1_beta1/3.0.0+20220225/google_cloudasset1_beta1/CloudAsset) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudasset1_beta1/3.1.0+20220225/google_cloudasset1_beta1/CloudAsset) ... * folders - * [*export assets*](https://docs.rs/google-cloudasset1_beta1/3.0.0+20220225/google_cloudasset1_beta1/api::FolderExportAssetCall) and [*operations get*](https://docs.rs/google-cloudasset1_beta1/3.0.0+20220225/google_cloudasset1_beta1/api::FolderOperationGetCall) + * [*export assets*](https://docs.rs/google-cloudasset1_beta1/3.1.0+20220225/google_cloudasset1_beta1/api::FolderExportAssetCall) and [*operations get*](https://docs.rs/google-cloudasset1_beta1/3.1.0+20220225/google_cloudasset1_beta1/api::FolderOperationGetCall) * organizations - * [*batch get assets history*](https://docs.rs/google-cloudasset1_beta1/3.0.0+20220225/google_cloudasset1_beta1/api::OrganizationBatchGetAssetsHistoryCall), [*export assets*](https://docs.rs/google-cloudasset1_beta1/3.0.0+20220225/google_cloudasset1_beta1/api::OrganizationExportAssetCall) and [*operations get*](https://docs.rs/google-cloudasset1_beta1/3.0.0+20220225/google_cloudasset1_beta1/api::OrganizationOperationGetCall) + * [*batch get assets history*](https://docs.rs/google-cloudasset1_beta1/3.1.0+20220225/google_cloudasset1_beta1/api::OrganizationBatchGetAssetsHistoryCall), [*export assets*](https://docs.rs/google-cloudasset1_beta1/3.1.0+20220225/google_cloudasset1_beta1/api::OrganizationExportAssetCall) and [*operations get*](https://docs.rs/google-cloudasset1_beta1/3.1.0+20220225/google_cloudasset1_beta1/api::OrganizationOperationGetCall) * projects - * [*batch get assets history*](https://docs.rs/google-cloudasset1_beta1/3.0.0+20220225/google_cloudasset1_beta1/api::ProjectBatchGetAssetsHistoryCall), [*export assets*](https://docs.rs/google-cloudasset1_beta1/3.0.0+20220225/google_cloudasset1_beta1/api::ProjectExportAssetCall) and [*operations get*](https://docs.rs/google-cloudasset1_beta1/3.0.0+20220225/google_cloudasset1_beta1/api::ProjectOperationGetCall) + * [*batch get assets history*](https://docs.rs/google-cloudasset1_beta1/3.1.0+20220225/google_cloudasset1_beta1/api::ProjectBatchGetAssetsHistoryCall), [*export assets*](https://docs.rs/google-cloudasset1_beta1/3.1.0+20220225/google_cloudasset1_beta1/api::ProjectExportAssetCall) and [*operations get*](https://docs.rs/google-cloudasset1_beta1/3.1.0+20220225/google_cloudasset1_beta1/api::ProjectOperationGetCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudasset1_beta1/3.0.0+20220225/google_cloudasset1_beta1/CloudAsset)** +* **[Hub](https://docs.rs/google-cloudasset1_beta1/3.1.0+20220225/google_cloudasset1_beta1/CloudAsset)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudasset1_beta1/3.0.0+20220225/google_cloudasset1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudasset1_beta1/3.0.0+20220225/google_cloudasset1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudasset1_beta1/3.0.0+20220225/google_cloudasset1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudasset1_beta1/3.1.0+20220225/google_cloudasset1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudasset1_beta1/3.1.0+20220225/google_cloudasset1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudasset1_beta1/3.1.0+20220225/google_cloudasset1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudasset1_beta1/3.0.0+20220225/google_cloudasset1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-cloudasset1_beta1/3.1.0+20220225/google_cloudasset1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudasset1_beta1/3.0.0+20220225/google_cloudasset1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudasset1_beta1/3.1.0+20220225/google_cloudasset1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -100,7 +100,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -133,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudasset1_beta1/3.0.0+20220225/google_cloudasset1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudasset1_beta1/3.1.0+20220225/google_cloudasset1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudasset1_beta1/3.0.0+20220225/google_cloudasset1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudasset1_beta1/3.1.0+20220225/google_cloudasset1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudasset1_beta1/3.0.0+20220225/google_cloudasset1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudasset1_beta1/3.1.0+20220225/google_cloudasset1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudasset1_beta1/3.0.0+20220225/google_cloudasset1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudasset1_beta1/3.1.0+20220225/google_cloudasset1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -153,29 +153,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudasset1_beta1/3.0.0+20220225/google_cloudasset1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudasset1_beta1/3.0.0+20220225/google_cloudasset1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudasset1_beta1/3.1.0+20220225/google_cloudasset1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudasset1_beta1/3.1.0+20220225/google_cloudasset1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-cloudasset1_beta1/3.0.0+20220225/google_cloudasset1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudasset1_beta1/3.1.0+20220225/google_cloudasset1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudasset1_beta1/3.0.0+20220225/google_cloudasset1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudasset1_beta1/3.0.0+20220225/google_cloudasset1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudasset1_beta1/3.1.0+20220225/google_cloudasset1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-cloudasset1_beta1/3.1.0+20220225/google_cloudasset1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudasset1_beta1/3.0.0+20220225/google_cloudasset1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudasset1_beta1/3.1.0+20220225/google_cloudasset1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-cloudasset1_beta1/3.0.0+20220225/google_cloudasset1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudasset1_beta1/3.1.0+20220225/google_cloudasset1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-cloudasset1_beta1/3.0.0+20220225/google_cloudasset1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudasset1_beta1/3.1.0+20220225/google_cloudasset1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudasset1_beta1/src/api.rs b/gen/cloudasset1_beta1/src/api.rs index 2e6515af30..7599b2452d 100644 --- a/gen/cloudasset1_beta1/src/api.rs +++ b/gen/cloudasset1_beta1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > CloudAsset<> { CloudAsset { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://cloudasset.googleapis.com/".to_string(), _root_url: "https://cloudasset.googleapis.com/".to_string(), } @@ -136,7 +136,7 @@ impl<'a, > CloudAsset<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -941,7 +941,7 @@ impl client::Part for TimeWindow {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `export_assets(...)` and `operations_get(...)` /// // to build up your call. @@ -1018,7 +1018,7 @@ impl<'a> FolderMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `batch_get_assets_history(...)`, `export_assets(...)` and `operations_get(...)` /// // to build up your call. @@ -1116,7 +1116,7 @@ impl<'a> OrganizationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `batch_get_assets_history(...)`, `export_assets(...)` and `operations_get(...)` /// // to build up your call. @@ -1221,7 +1221,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1478,7 +1478,7 @@ impl<'a> FolderOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1763,7 +1763,7 @@ impl<'a> FolderExportAssetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2019,7 +2019,7 @@ impl<'a> OrganizationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2327,7 +2327,7 @@ impl<'a> OrganizationBatchGetAssetsHistoryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2612,7 +2612,7 @@ impl<'a> OrganizationExportAssetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2868,7 +2868,7 @@ impl<'a> ProjectOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3176,7 +3176,7 @@ impl<'a> ProjectBatchGetAssetsHistoryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/cloudasset1_beta1/src/lib.rs b/gen/cloudasset1_beta1/src/lib.rs index 0dc81fc35e..cd397e7427 100644 --- a/gen/cloudasset1_beta1/src/lib.rs +++ b/gen/cloudasset1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Asset* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *cloudasset:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Asset* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *cloudasset:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Asset* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/asset-inventory/docs/quickstart). @@ -101,7 +101,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudAsset::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/cloudbilling1-cli/Cargo.toml b/gen/cloudbilling1-cli/Cargo.toml index bd112513a6..9157ce7f9d 100644 --- a/gen/cloudbilling1-cli/Cargo.toml +++ b/gen/cloudbilling1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudbilling1-cli" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloudbilling (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudbilling1-cli" @@ -20,12 +20,12 @@ name = "cloudbilling1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudbilling1] path = "../cloudbilling1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" diff --git a/gen/cloudbilling1-cli/README.md b/gen/cloudbilling1-cli/README.md index 7c5e87b1c9..f6b4f63c81 100644 --- a/gen/cloudbilling1-cli/README.md +++ b/gen/cloudbilling1-cli/README.md @@ -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 *Cloudbilling* API at revision *20220305*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloudbilling* API at revision *20220305*. The CLI is at version *3.1.0*. ```bash cloudbilling1 [options] diff --git a/gen/cloudbilling1-cli/mkdocs.yml b/gen/cloudbilling1-cli/mkdocs.yml index db9faae95c..d1caf1076f 100644 --- a/gen/cloudbilling1-cli/mkdocs.yml +++ b/gen/cloudbilling1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloudbilling v3.0.0+20220305 +site_name: Cloudbilling v3.1.0+20220305 site_url: http://byron.github.io/google-apis-rs/google-cloudbilling1-cli site_description: A complete library to interact with Cloudbilling (protocol v1) diff --git a/gen/cloudbilling1-cli/src/main.rs b/gen/cloudbilling1-cli/src/main.rs index 71b0d193e9..09cb68764f 100644 --- a/gen/cloudbilling1-cli/src/main.rs +++ b/gen/cloudbilling1-cli/src/main.rs @@ -989,7 +989,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/cloudbilling1", 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::Cloudbilling::new(client, auth), @@ -1313,7 +1319,7 @@ async fn main() { let mut app = App::new("cloudbilling1") .author("Sebastian Thiel ") - .version("3.0.0+20220305") + .version("3.1.0+20220305") .about("Allows developers to manage billing for their Google Cloud Platform projects programmatically.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudbilling1_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudbilling1/Cargo.toml b/gen/cloudbilling1/Cargo.toml index f2a4e7a0de..3007729aa0 100644 --- a/gen/cloudbilling1/Cargo.toml +++ b/gen/cloudbilling1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudbilling1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloudbilling (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudbilling1" homepage = "https://cloud.google.com/billing/" -documentation = "https://docs.rs/google-cloudbilling1/3.0.0+20220305" +documentation = "https://docs.rs/google-cloudbilling1/3.1.0+20220305" license = "MIT" keywords = ["cloudbilling", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/cloudbilling1/README.md b/gen/cloudbilling1/README.md index 50b84ab23d..8f030448b8 100644 --- a/gen/cloudbilling1/README.md +++ b/gen/cloudbilling1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-cloudbilling1` library allows access to all features of the *Google Cloudbilling* service. -This documentation was generated from *Cloudbilling* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *cloudbilling:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloudbilling* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *cloudbilling:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloudbilling* *v1* API can be found at the [official documentation site](https://cloud.google.com/billing/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudbilling1/3.0.0+20220305/google_cloudbilling1/Cloudbilling) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudbilling1/3.1.0+20220305/google_cloudbilling1/Cloudbilling) ... -* [billing accounts](https://docs.rs/google-cloudbilling1/3.0.0+20220305/google_cloudbilling1/api::BillingAccount) - * [*create*](https://docs.rs/google-cloudbilling1/3.0.0+20220305/google_cloudbilling1/api::BillingAccountCreateCall), [*get*](https://docs.rs/google-cloudbilling1/3.0.0+20220305/google_cloudbilling1/api::BillingAccountGetCall), [*get iam policy*](https://docs.rs/google-cloudbilling1/3.0.0+20220305/google_cloudbilling1/api::BillingAccountGetIamPolicyCall), [*list*](https://docs.rs/google-cloudbilling1/3.0.0+20220305/google_cloudbilling1/api::BillingAccountListCall), [*patch*](https://docs.rs/google-cloudbilling1/3.0.0+20220305/google_cloudbilling1/api::BillingAccountPatchCall), [*projects list*](https://docs.rs/google-cloudbilling1/3.0.0+20220305/google_cloudbilling1/api::BillingAccountProjectListCall), [*set iam policy*](https://docs.rs/google-cloudbilling1/3.0.0+20220305/google_cloudbilling1/api::BillingAccountSetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-cloudbilling1/3.0.0+20220305/google_cloudbilling1/api::BillingAccountTestIamPermissionCall) +* [billing accounts](https://docs.rs/google-cloudbilling1/3.1.0+20220305/google_cloudbilling1/api::BillingAccount) + * [*create*](https://docs.rs/google-cloudbilling1/3.1.0+20220305/google_cloudbilling1/api::BillingAccountCreateCall), [*get*](https://docs.rs/google-cloudbilling1/3.1.0+20220305/google_cloudbilling1/api::BillingAccountGetCall), [*get iam policy*](https://docs.rs/google-cloudbilling1/3.1.0+20220305/google_cloudbilling1/api::BillingAccountGetIamPolicyCall), [*list*](https://docs.rs/google-cloudbilling1/3.1.0+20220305/google_cloudbilling1/api::BillingAccountListCall), [*patch*](https://docs.rs/google-cloudbilling1/3.1.0+20220305/google_cloudbilling1/api::BillingAccountPatchCall), [*projects list*](https://docs.rs/google-cloudbilling1/3.1.0+20220305/google_cloudbilling1/api::BillingAccountProjectListCall), [*set iam policy*](https://docs.rs/google-cloudbilling1/3.1.0+20220305/google_cloudbilling1/api::BillingAccountSetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-cloudbilling1/3.1.0+20220305/google_cloudbilling1/api::BillingAccountTestIamPermissionCall) * projects - * [*get billing info*](https://docs.rs/google-cloudbilling1/3.0.0+20220305/google_cloudbilling1/api::ProjectGetBillingInfoCall) and [*update billing info*](https://docs.rs/google-cloudbilling1/3.0.0+20220305/google_cloudbilling1/api::ProjectUpdateBillingInfoCall) -* [services](https://docs.rs/google-cloudbilling1/3.0.0+20220305/google_cloudbilling1/api::Service) - * [*list*](https://docs.rs/google-cloudbilling1/3.0.0+20220305/google_cloudbilling1/api::ServiceListCall) and [*skus list*](https://docs.rs/google-cloudbilling1/3.0.0+20220305/google_cloudbilling1/api::ServiceSkuListCall) + * [*get billing info*](https://docs.rs/google-cloudbilling1/3.1.0+20220305/google_cloudbilling1/api::ProjectGetBillingInfoCall) and [*update billing info*](https://docs.rs/google-cloudbilling1/3.1.0+20220305/google_cloudbilling1/api::ProjectUpdateBillingInfoCall) +* [services](https://docs.rs/google-cloudbilling1/3.1.0+20220305/google_cloudbilling1/api::Service) + * [*list*](https://docs.rs/google-cloudbilling1/3.1.0+20220305/google_cloudbilling1/api::ServiceListCall) and [*skus list*](https://docs.rs/google-cloudbilling1/3.1.0+20220305/google_cloudbilling1/api::ServiceSkuListCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudbilling1/3.0.0+20220305/google_cloudbilling1/Cloudbilling)** +* **[Hub](https://docs.rs/google-cloudbilling1/3.1.0+20220305/google_cloudbilling1/Cloudbilling)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudbilling1/3.0.0+20220305/google_cloudbilling1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudbilling1/3.0.0+20220305/google_cloudbilling1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudbilling1/3.0.0+20220305/google_cloudbilling1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudbilling1/3.1.0+20220305/google_cloudbilling1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudbilling1/3.1.0+20220305/google_cloudbilling1/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudbilling1/3.1.0+20220305/google_cloudbilling1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudbilling1/3.0.0+20220305/google_cloudbilling1/client::Part)** + * **[Parts](https://docs.rs/google-cloudbilling1/3.1.0+20220305/google_cloudbilling1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudbilling1/3.0.0+20220305/google_cloudbilling1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudbilling1/3.1.0+20220305/google_cloudbilling1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -101,7 +101,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Cloudbilling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Cloudbilling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -131,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudbilling1/3.0.0+20220305/google_cloudbilling1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudbilling1/3.1.0+20220305/google_cloudbilling1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudbilling1/3.0.0+20220305/google_cloudbilling1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudbilling1/3.1.0+20220305/google_cloudbilling1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudbilling1/3.0.0+20220305/google_cloudbilling1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudbilling1/3.1.0+20220305/google_cloudbilling1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudbilling1/3.0.0+20220305/google_cloudbilling1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudbilling1/3.1.0+20220305/google_cloudbilling1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -151,29 +151,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudbilling1/3.0.0+20220305/google_cloudbilling1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudbilling1/3.0.0+20220305/google_cloudbilling1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudbilling1/3.1.0+20220305/google_cloudbilling1/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudbilling1/3.1.0+20220305/google_cloudbilling1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-cloudbilling1/3.0.0+20220305/google_cloudbilling1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudbilling1/3.1.0+20220305/google_cloudbilling1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudbilling1/3.0.0+20220305/google_cloudbilling1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudbilling1/3.0.0+20220305/google_cloudbilling1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudbilling1/3.1.0+20220305/google_cloudbilling1/client::RequestValue) and +[decodable](https://docs.rs/google-cloudbilling1/3.1.0+20220305/google_cloudbilling1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudbilling1/3.0.0+20220305/google_cloudbilling1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudbilling1/3.1.0+20220305/google_cloudbilling1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-cloudbilling1/3.0.0+20220305/google_cloudbilling1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudbilling1/3.1.0+20220305/google_cloudbilling1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-cloudbilling1/3.0.0+20220305/google_cloudbilling1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudbilling1/3.1.0+20220305/google_cloudbilling1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudbilling1/src/api.rs b/gen/cloudbilling1/src/api.rs index 95f5d12a78..36bd7e7eca 100644 --- a/gen/cloudbilling1/src/api.rs +++ b/gen/cloudbilling1/src/api.rs @@ -78,7 +78,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Cloudbilling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Cloudbilling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -123,7 +123,7 @@ impl<'a, > Cloudbilling<> { Cloudbilling { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://cloudbilling.googleapis.com/".to_string(), _root_url: "https://cloudbilling.googleapis.com/".to_string(), } @@ -140,7 +140,7 @@ impl<'a, > Cloudbilling<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -707,7 +707,7 @@ impl client::Part for TierRate {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Cloudbilling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Cloudbilling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `get(...)`, `get_iam_policy(...)`, `list(...)`, `patch(...)`, `projects_list(...)`, `set_iam_policy(...)` and `test_iam_permissions(...)` /// // to build up your call. @@ -892,7 +892,7 @@ impl<'a> BillingAccountMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Cloudbilling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Cloudbilling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get_billing_info(...)` and `update_billing_info(...)` /// // to build up your call. @@ -969,7 +969,7 @@ impl<'a> ProjectMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Cloudbilling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Cloudbilling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` and `skus_list(...)` /// // to build up your call. @@ -1053,7 +1053,7 @@ impl<'a> ServiceMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudbilling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudbilling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1334,7 +1334,7 @@ impl<'a> BillingAccountProjectListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudbilling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudbilling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1582,7 +1582,7 @@ impl<'a> BillingAccountCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudbilling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudbilling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1838,7 +1838,7 @@ impl<'a> BillingAccountGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudbilling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudbilling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2106,7 +2106,7 @@ impl<'a> BillingAccountGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudbilling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudbilling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2362,7 +2362,7 @@ impl<'a> BillingAccountListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudbilling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudbilling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2660,7 +2660,7 @@ impl<'a> BillingAccountPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudbilling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudbilling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2946,7 +2946,7 @@ impl<'a> BillingAccountSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudbilling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudbilling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3231,7 +3231,7 @@ impl<'a> BillingAccountTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudbilling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudbilling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3488,7 +3488,7 @@ impl<'a> ProjectGetBillingInfoCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudbilling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudbilling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3773,7 +3773,7 @@ impl<'a> ProjectUpdateBillingInfoCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudbilling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudbilling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4089,7 +4089,7 @@ impl<'a> ServiceSkuListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudbilling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudbilling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/cloudbilling1/src/lib.rs b/gen/cloudbilling1/src/lib.rs index 5f0bd3e067..ab07ed3dc5 100644 --- a/gen/cloudbilling1/src/lib.rs +++ b/gen/cloudbilling1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloudbilling* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *cloudbilling:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloudbilling* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *cloudbilling:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloudbilling* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/billing/). @@ -102,7 +102,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Cloudbilling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Cloudbilling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/cloudbuild1-cli/Cargo.toml b/gen/cloudbuild1-cli/Cargo.toml index 3657683edc..603adf4d00 100644 --- a/gen/cloudbuild1-cli/Cargo.toml +++ b/gen/cloudbuild1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudbuild1-cli" -version = "3.0.0+20220218" +version = "3.1.0+20220218" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Build (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudbuild1-cli" @@ -20,12 +20,12 @@ name = "cloudbuild1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudbuild1] path = "../cloudbuild1" -version = "3.0.0+20220218" +version = "3.1.0+20220218" diff --git a/gen/cloudbuild1-cli/README.md b/gen/cloudbuild1-cli/README.md index a6eeda96cd..cc96f8a74e 100644 --- a/gen/cloudbuild1-cli/README.md +++ b/gen/cloudbuild1-cli/README.md @@ -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 *Cloud Build* API at revision *20220218*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Build* API at revision *20220218*. The CLI is at version *3.1.0*. ```bash cloudbuild1 [options] diff --git a/gen/cloudbuild1-cli/mkdocs.yml b/gen/cloudbuild1-cli/mkdocs.yml index 0eaa83d268..a616175d44 100644 --- a/gen/cloudbuild1-cli/mkdocs.yml +++ b/gen/cloudbuild1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Build v3.0.0+20220218 +site_name: Cloud Build v3.1.0+20220218 site_url: http://byron.github.io/google-apis-rs/google-cloudbuild1-cli site_description: A complete library to interact with Cloud Build (protocol v1) diff --git a/gen/cloudbuild1-cli/src/main.rs b/gen/cloudbuild1-cli/src/main.rs index e1e67c4414..181378de3f 100644 --- a/gen/cloudbuild1-cli/src/main.rs +++ b/gen/cloudbuild1-cli/src/main.rs @@ -5327,7 +5327,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/cloudbuild1", 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::CloudBuild::new(client, auth), @@ -6838,7 +6844,7 @@ async fn main() { let mut app = App::new("cloudbuild1") .author("Sebastian Thiel ") - .version("3.0.0+20220218") + .version("3.1.0+20220218") .about("Creates and manages builds on Google Cloud Platform.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudbuild1_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudbuild1/Cargo.toml b/gen/cloudbuild1/Cargo.toml index dea0aea0c8..444f65cf25 100644 --- a/gen/cloudbuild1/Cargo.toml +++ b/gen/cloudbuild1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudbuild1" -version = "3.0.0+20220218" +version = "3.1.0+20220218" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Build (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudbuild1" homepage = "https://cloud.google.com/cloud-build/docs/" -documentation = "https://docs.rs/google-cloudbuild1/3.0.0+20220218" +documentation = "https://docs.rs/google-cloudbuild1/3.1.0+20220218" license = "MIT" keywords = ["cloudbuild", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/cloudbuild1/README.md b/gen/cloudbuild1/README.md index 7071c8b7f0..9a3cb3db6c 100644 --- a/gen/cloudbuild1/README.md +++ b/gen/cloudbuild1/README.md @@ -5,24 +5,24 @@ DO NOT EDIT ! --> The `google-cloudbuild1` library allows access to all features of the *Google Cloud Build* service. -This documentation was generated from *Cloud Build* crate version *3.0.0+20220218*, where *20220218* is the exact revision of the *cloudbuild:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Build* crate version *3.1.0+20220218*, where *20220218* is the exact revision of the *cloudbuild:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Build* *v1* API can be found at the [official documentation site](https://cloud.google.com/cloud-build/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/CloudBuild) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/CloudBuild) ... * locations - * [*regional webhook*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::LocationRegionalWebhookCall) -* [operations](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::Operation) - * [*cancel*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::OperationCancelCall) and [*get*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::OperationGetCall) + * [*regional webhook*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::LocationRegionalWebhookCall) +* [operations](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::Operation) + * [*cancel*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::OperationCancelCall) and [*get*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::OperationGetCall) * projects - * [*builds approve*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectBuildApproveCall), [*builds cancel*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectBuildCancelCall), [*builds create*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectBuildCreateCall), [*builds get*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectBuildGetCall), [*builds list*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectBuildListCall), [*builds retry*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectBuildRetryCall), [*github enterprise configs create*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectGithubEnterpriseConfigCreateCall), [*github enterprise configs delete*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectGithubEnterpriseConfigDeleteCall), [*github enterprise configs get*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectGithubEnterpriseConfigGetCall), [*github enterprise configs list*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectGithubEnterpriseConfigListCall), [*github enterprise configs patch*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectGithubEnterpriseConfigPatchCall), [*locations bitbucket server configs add bitbucket server connected repository*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectLocationBitbucketServerConfigAddBitbucketServerConnectedRepositoryCall), [*locations bitbucket server configs connected repositories batch create*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectLocationBitbucketServerConfigConnectedRepositoryBatchCreateCall), [*locations bitbucket server configs create*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectLocationBitbucketServerConfigCreateCall), [*locations bitbucket server configs delete*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectLocationBitbucketServerConfigDeleteCall), [*locations bitbucket server configs get*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectLocationBitbucketServerConfigGetCall), [*locations bitbucket server configs list*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectLocationBitbucketServerConfigListCall), [*locations bitbucket server configs patch*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectLocationBitbucketServerConfigPatchCall), [*locations bitbucket server configs remove bitbucket server connected repository*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectLocationBitbucketServerConfigRemoveBitbucketServerConnectedRepositoryCall), [*locations bitbucket server configs repos list*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectLocationBitbucketServerConfigRepoListCall), [*locations builds approve*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectLocationBuildApproveCall), [*locations builds cancel*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectLocationBuildCancelCall), [*locations builds create*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectLocationBuildCreateCall), [*locations builds get*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectLocationBuildGetCall), [*locations builds list*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectLocationBuildListCall), [*locations builds retry*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectLocationBuildRetryCall), [*locations github enterprise configs create*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectLocationGithubEnterpriseConfigCreateCall), [*locations github enterprise configs delete*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectLocationGithubEnterpriseConfigDeleteCall), [*locations github enterprise configs get*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectLocationGithubEnterpriseConfigGetCall), [*locations github enterprise configs list*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectLocationGithubEnterpriseConfigListCall), [*locations github enterprise configs patch*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectLocationGithubEnterpriseConfigPatchCall), [*locations operations cancel*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectLocationOperationGetCall), [*locations triggers create*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectLocationTriggerCreateCall), [*locations triggers delete*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectLocationTriggerDeleteCall), [*locations triggers get*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectLocationTriggerGetCall), [*locations triggers list*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectLocationTriggerListCall), [*locations triggers patch*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectLocationTriggerPatchCall), [*locations triggers run*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectLocationTriggerRunCall), [*locations triggers webhook*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectLocationTriggerWebhookCall), [*locations worker pools create*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectLocationWorkerPoolCreateCall), [*locations worker pools delete*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectLocationWorkerPoolDeleteCall), [*locations worker pools get*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectLocationWorkerPoolGetCall), [*locations worker pools list*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectLocationWorkerPoolListCall), [*locations worker pools patch*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectLocationWorkerPoolPatchCall), [*triggers create*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectTriggerCreateCall), [*triggers delete*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectTriggerDeleteCall), [*triggers get*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectTriggerGetCall), [*triggers list*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectTriggerListCall), [*triggers patch*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectTriggerPatchCall), [*triggers run*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectTriggerRunCall) and [*triggers webhook*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::ProjectTriggerWebhookCall) + * [*builds approve*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectBuildApproveCall), [*builds cancel*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectBuildCancelCall), [*builds create*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectBuildCreateCall), [*builds get*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectBuildGetCall), [*builds list*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectBuildListCall), [*builds retry*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectBuildRetryCall), [*github enterprise configs create*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectGithubEnterpriseConfigCreateCall), [*github enterprise configs delete*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectGithubEnterpriseConfigDeleteCall), [*github enterprise configs get*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectGithubEnterpriseConfigGetCall), [*github enterprise configs list*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectGithubEnterpriseConfigListCall), [*github enterprise configs patch*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectGithubEnterpriseConfigPatchCall), [*locations bitbucket server configs add bitbucket server connected repository*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectLocationBitbucketServerConfigAddBitbucketServerConnectedRepositoryCall), [*locations bitbucket server configs connected repositories batch create*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectLocationBitbucketServerConfigConnectedRepositoryBatchCreateCall), [*locations bitbucket server configs create*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectLocationBitbucketServerConfigCreateCall), [*locations bitbucket server configs delete*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectLocationBitbucketServerConfigDeleteCall), [*locations bitbucket server configs get*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectLocationBitbucketServerConfigGetCall), [*locations bitbucket server configs list*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectLocationBitbucketServerConfigListCall), [*locations bitbucket server configs patch*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectLocationBitbucketServerConfigPatchCall), [*locations bitbucket server configs remove bitbucket server connected repository*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectLocationBitbucketServerConfigRemoveBitbucketServerConnectedRepositoryCall), [*locations bitbucket server configs repos list*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectLocationBitbucketServerConfigRepoListCall), [*locations builds approve*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectLocationBuildApproveCall), [*locations builds cancel*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectLocationBuildCancelCall), [*locations builds create*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectLocationBuildCreateCall), [*locations builds get*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectLocationBuildGetCall), [*locations builds list*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectLocationBuildListCall), [*locations builds retry*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectLocationBuildRetryCall), [*locations github enterprise configs create*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectLocationGithubEnterpriseConfigCreateCall), [*locations github enterprise configs delete*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectLocationGithubEnterpriseConfigDeleteCall), [*locations github enterprise configs get*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectLocationGithubEnterpriseConfigGetCall), [*locations github enterprise configs list*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectLocationGithubEnterpriseConfigListCall), [*locations github enterprise configs patch*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectLocationGithubEnterpriseConfigPatchCall), [*locations operations cancel*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectLocationOperationGetCall), [*locations triggers create*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectLocationTriggerCreateCall), [*locations triggers delete*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectLocationTriggerDeleteCall), [*locations triggers get*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectLocationTriggerGetCall), [*locations triggers list*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectLocationTriggerListCall), [*locations triggers patch*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectLocationTriggerPatchCall), [*locations triggers run*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectLocationTriggerRunCall), [*locations triggers webhook*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectLocationTriggerWebhookCall), [*locations worker pools create*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectLocationWorkerPoolCreateCall), [*locations worker pools delete*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectLocationWorkerPoolDeleteCall), [*locations worker pools get*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectLocationWorkerPoolGetCall), [*locations worker pools list*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectLocationWorkerPoolListCall), [*locations worker pools patch*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectLocationWorkerPoolPatchCall), [*triggers create*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectTriggerCreateCall), [*triggers delete*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectTriggerDeleteCall), [*triggers get*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectTriggerGetCall), [*triggers list*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectTriggerListCall), [*triggers patch*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectTriggerPatchCall), [*triggers run*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectTriggerRunCall) and [*triggers webhook*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::ProjectTriggerWebhookCall) Other activities are ... -* [webhook](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/api::MethodWebhookCall) +* [webhook](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/api::MethodWebhookCall) @@ -30,17 +30,17 @@ Other activities are ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/CloudBuild)** +* **[Hub](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/CloudBuild)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/client::Part)** + * **[Parts](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -121,7 +121,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -156,17 +156,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -176,29 +176,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/client::RequestValue) and +[decodable](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-cloudbuild1/3.0.0+20220218/google_cloudbuild1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudbuild1/3.1.0+20220218/google_cloudbuild1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudbuild1/src/api.rs b/gen/cloudbuild1/src/api.rs index 18c42172e1..521133fde7 100644 --- a/gen/cloudbuild1/src/api.rs +++ b/gen/cloudbuild1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -121,7 +121,7 @@ impl<'a, > CloudBuild<> { CloudBuild { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://cloudbuild.googleapis.com/".to_string(), _root_url: "https://cloudbuild.googleapis.com/".to_string(), } @@ -141,7 +141,7 @@ impl<'a, > CloudBuild<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1819,7 +1819,7 @@ impl client::ResponseResult for WorkerPool {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `regional_webhook(...)` /// // to build up your call. @@ -1879,7 +1879,7 @@ impl<'a> LocationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `cancel(...)` and `get(...)` /// // to build up your call. @@ -1956,7 +1956,7 @@ impl<'a> OperationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `builds_approve(...)`, `builds_cancel(...)`, `builds_create(...)`, `builds_get(...)`, `builds_list(...)`, `builds_retry(...)`, `github_enterprise_configs_create(...)`, `github_enterprise_configs_delete(...)`, `github_enterprise_configs_get(...)`, `github_enterprise_configs_list(...)`, `github_enterprise_configs_patch(...)`, `locations_bitbucket_server_configs_add_bitbucket_server_connected_repository(...)`, `locations_bitbucket_server_configs_connected_repositories_batch_create(...)`, `locations_bitbucket_server_configs_create(...)`, `locations_bitbucket_server_configs_delete(...)`, `locations_bitbucket_server_configs_get(...)`, `locations_bitbucket_server_configs_list(...)`, `locations_bitbucket_server_configs_patch(...)`, `locations_bitbucket_server_configs_remove_bitbucket_server_connected_repository(...)`, `locations_bitbucket_server_configs_repos_list(...)`, `locations_builds_approve(...)`, `locations_builds_cancel(...)`, `locations_builds_create(...)`, `locations_builds_get(...)`, `locations_builds_list(...)`, `locations_builds_retry(...)`, `locations_github_enterprise_configs_create(...)`, `locations_github_enterprise_configs_delete(...)`, `locations_github_enterprise_configs_get(...)`, `locations_github_enterprise_configs_list(...)`, `locations_github_enterprise_configs_patch(...)`, `locations_operations_cancel(...)`, `locations_operations_get(...)`, `locations_triggers_create(...)`, `locations_triggers_delete(...)`, `locations_triggers_get(...)`, `locations_triggers_list(...)`, `locations_triggers_patch(...)`, `locations_triggers_run(...)`, `locations_triggers_webhook(...)`, `locations_worker_pools_create(...)`, `locations_worker_pools_delete(...)`, `locations_worker_pools_get(...)`, `locations_worker_pools_list(...)`, `locations_worker_pools_patch(...)`, `triggers_create(...)`, `triggers_delete(...)`, `triggers_get(...)`, `triggers_list(...)`, `triggers_patch(...)`, `triggers_run(...)` and `triggers_webhook(...)` /// // to build up your call. @@ -3017,7 +3017,7 @@ impl<'a> ProjectMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `webhook(...)` /// // to build up your call. @@ -3083,7 +3083,7 @@ impl<'a> MethodMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3351,7 +3351,7 @@ impl<'a> LocationRegionalWebhookCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3636,7 +3636,7 @@ impl<'a> OperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3893,7 +3893,7 @@ impl<'a> OperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4179,7 +4179,7 @@ impl<'a> ProjectBuildApproveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4473,7 +4473,7 @@ impl<'a> ProjectBuildCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4766,7 +4766,7 @@ impl<'a> ProjectBuildCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5042,7 +5042,7 @@ impl<'a> ProjectBuildGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5343,7 +5343,7 @@ impl<'a> ProjectBuildListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5637,7 +5637,7 @@ impl<'a> ProjectBuildRetryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5946,7 +5946,7 @@ impl<'a> ProjectGithubEnterpriseConfigCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6226,7 +6226,7 @@ impl<'a> ProjectGithubEnterpriseConfigDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6506,7 +6506,7 @@ impl<'a> ProjectGithubEnterpriseConfigGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6775,7 +6775,7 @@ impl<'a> ProjectGithubEnterpriseConfigListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7073,7 +7073,7 @@ impl<'a> ProjectGithubEnterpriseConfigPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7358,7 +7358,7 @@ impl<'a> ProjectLocationBitbucketServerConfigConnectedRepositoryBatchCreateCall< /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7639,7 +7639,7 @@ impl<'a> ProjectLocationBitbucketServerConfigRepoListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7925,7 +7925,7 @@ impl<'a> ProjectLocationBitbucketServerConfigAddBitbucketServerConnectedReposito /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8222,7 +8222,7 @@ impl<'a> ProjectLocationBitbucketServerConfigCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8478,7 +8478,7 @@ impl<'a> ProjectLocationBitbucketServerConfigDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8734,7 +8734,7 @@ impl<'a> ProjectLocationBitbucketServerConfigGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9015,7 +9015,7 @@ impl<'a> ProjectLocationBitbucketServerConfigListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9313,7 +9313,7 @@ impl<'a> ProjectLocationBitbucketServerConfigPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9599,7 +9599,7 @@ impl<'a> ProjectLocationBitbucketServerConfigRemoveBitbucketServerConnectedRepos /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9885,7 +9885,7 @@ impl<'a> ProjectLocationBuildApproveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10171,7 +10171,7 @@ impl<'a> ProjectLocationBuildCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10468,7 +10468,7 @@ impl<'a> ProjectLocationBuildCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10748,7 +10748,7 @@ impl<'a> ProjectLocationBuildGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11053,7 +11053,7 @@ impl<'a> ProjectLocationBuildListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11339,7 +11339,7 @@ impl<'a> ProjectLocationBuildRetryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11648,7 +11648,7 @@ impl<'a> ProjectLocationGithubEnterpriseConfigCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11928,7 +11928,7 @@ impl<'a> ProjectLocationGithubEnterpriseConfigDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12208,7 +12208,7 @@ impl<'a> ProjectLocationGithubEnterpriseConfigGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12477,7 +12477,7 @@ impl<'a> ProjectLocationGithubEnterpriseConfigListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12775,7 +12775,7 @@ impl<'a> ProjectLocationGithubEnterpriseConfigPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13060,7 +13060,7 @@ impl<'a> ProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13317,7 +13317,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13614,7 +13614,7 @@ impl<'a> ProjectLocationTriggerCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13894,7 +13894,7 @@ impl<'a> ProjectLocationTriggerDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14174,7 +14174,7 @@ impl<'a> ProjectLocationTriggerGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14467,7 +14467,7 @@ impl<'a> ProjectLocationTriggerListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14777,7 +14777,7 @@ impl<'a> ProjectLocationTriggerPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15063,7 +15063,7 @@ impl<'a> ProjectLocationTriggerRunCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15355,7 +15355,7 @@ impl<'a> ProjectLocationTriggerWebhookCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15664,7 +15664,7 @@ impl<'a> ProjectLocationWorkerPoolCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15956,7 +15956,7 @@ impl<'a> ProjectLocationWorkerPoolDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16212,7 +16212,7 @@ impl<'a> ProjectLocationWorkerPoolGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16493,7 +16493,7 @@ impl<'a> ProjectLocationWorkerPoolListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16803,7 +16803,7 @@ impl<'a> ProjectLocationWorkerPoolPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17096,7 +17096,7 @@ impl<'a> ProjectTriggerCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17372,7 +17372,7 @@ impl<'a> ProjectTriggerDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17648,7 +17648,7 @@ impl<'a> ProjectTriggerGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17937,7 +17937,7 @@ impl<'a> ProjectTriggerListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18231,7 +18231,7 @@ impl<'a> ProjectTriggerPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18537,7 +18537,7 @@ impl<'a> ProjectTriggerRunCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18825,7 +18825,7 @@ impl<'a> ProjectTriggerWebhookCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/cloudbuild1/src/lib.rs b/gen/cloudbuild1/src/lib.rs index aea7724c7c..71a7f13bec 100644 --- a/gen/cloudbuild1/src/lib.rs +++ b/gen/cloudbuild1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Build* crate version *3.0.0+20220218*, where *20220218* is the exact revision of the *cloudbuild:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Build* crate version *3.1.0+20220218*, where *20220218* is the exact revision of the *cloudbuild:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Build* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/cloud-build/docs/). @@ -122,7 +122,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudBuild::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/cloudchannel1-cli/Cargo.toml b/gen/cloudchannel1-cli/Cargo.toml index 2d1e310b47..fb6e8a10c0 100644 --- a/gen/cloudchannel1-cli/Cargo.toml +++ b/gen/cloudchannel1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudchannel1-cli" -version = "3.0.0+20220303" +version = "3.1.0+20220303" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloudchannel (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudchannel1-cli" @@ -20,12 +20,12 @@ name = "cloudchannel1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudchannel1] path = "../cloudchannel1" -version = "3.0.0+20220303" +version = "3.1.0+20220303" diff --git a/gen/cloudchannel1-cli/README.md b/gen/cloudchannel1-cli/README.md index 89825bd2d1..685400c889 100644 --- a/gen/cloudchannel1-cli/README.md +++ b/gen/cloudchannel1-cli/README.md @@ -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 *Cloudchannel* API at revision *20220303*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloudchannel* API at revision *20220303*. The CLI is at version *3.1.0*. ```bash cloudchannel1 [options] diff --git a/gen/cloudchannel1-cli/mkdocs.yml b/gen/cloudchannel1-cli/mkdocs.yml index b089db9a1f..9f957c5f6f 100644 --- a/gen/cloudchannel1-cli/mkdocs.yml +++ b/gen/cloudchannel1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloudchannel v3.0.0+20220303 +site_name: Cloudchannel v3.1.0+20220303 site_url: http://byron.github.io/google-apis-rs/google-cloudchannel1-cli site_description: A complete library to interact with Cloudchannel (protocol v1) diff --git a/gen/cloudchannel1-cli/src/main.rs b/gen/cloudchannel1-cli/src/main.rs index 1e838be916..f4b20930ad 100644 --- a/gen/cloudchannel1-cli/src/main.rs +++ b/gen/cloudchannel1-cli/src/main.rs @@ -3782,7 +3782,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/cloudchannel1", 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::Cloudchannel::new(client, auth), @@ -4964,7 +4970,7 @@ async fn main() { let mut app = App::new("cloudchannel1") .author("Sebastian Thiel ") - .version("3.0.0+20220303") + .version("3.1.0+20220303") .about("The Cloud Channel API enables Google Cloud partners to have a single unified resale platform and APIs across all of Google Cloud including GCP, Workspace, Maps and Chrome.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudchannel1_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudchannel1/Cargo.toml b/gen/cloudchannel1/Cargo.toml index 2671a594e1..6d56ee8cf7 100644 --- a/gen/cloudchannel1/Cargo.toml +++ b/gen/cloudchannel1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudchannel1" -version = "3.0.0+20220303" +version = "3.1.0+20220303" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloudchannel (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudchannel1" homepage = "https://cloud.google.com/channel" -documentation = "https://docs.rs/google-cloudchannel1/3.0.0+20220303" +documentation = "https://docs.rs/google-cloudchannel1/3.1.0+20220303" license = "MIT" keywords = ["cloudchannel", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/cloudchannel1/README.md b/gen/cloudchannel1/README.md index 40aa2d5ebf..4d18e579d3 100644 --- a/gen/cloudchannel1/README.md +++ b/gen/cloudchannel1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-cloudchannel1` library allows access to all features of the *Google Cloudchannel* service. -This documentation was generated from *Cloudchannel* crate version *3.0.0+20220303*, where *20220303* is the exact revision of the *cloudchannel:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloudchannel* crate version *3.1.0+20220303*, where *20220303* is the exact revision of the *cloudchannel:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloudchannel* *v1* API can be found at the [official documentation site](https://cloud.google.com/channel). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/Cloudchannel) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/Cloudchannel) ... * accounts - * [*channel partner links create*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::AccountChannelPartnerLinkCreateCall), [*channel partner links customers create*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::AccountChannelPartnerLinkCustomerCreateCall), [*channel partner links customers delete*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::AccountChannelPartnerLinkCustomerDeleteCall), [*channel partner links customers get*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::AccountChannelPartnerLinkCustomerGetCall), [*channel partner links customers import*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::AccountChannelPartnerLinkCustomerImportCall), [*channel partner links customers list*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::AccountChannelPartnerLinkCustomerListCall), [*channel partner links customers patch*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::AccountChannelPartnerLinkCustomerPatchCall), [*channel partner links get*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::AccountChannelPartnerLinkGetCall), [*channel partner links list*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::AccountChannelPartnerLinkListCall), [*channel partner links patch*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::AccountChannelPartnerLinkPatchCall), [*check cloud identity accounts exist*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::AccountCheckCloudIdentityAccountsExistCall), [*customers create*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::AccountCustomerCreateCall), [*customers delete*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::AccountCustomerDeleteCall), [*customers entitlements activate*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::AccountCustomerEntitlementActivateCall), [*customers entitlements cancel*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::AccountCustomerEntitlementCancelCall), [*customers entitlements change offer*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::AccountCustomerEntitlementChangeOfferCall), [*customers entitlements change parameters*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::AccountCustomerEntitlementChangeParameterCall), [*customers entitlements change renewal settings*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::AccountCustomerEntitlementChangeRenewalSettingCall), [*customers entitlements create*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::AccountCustomerEntitlementCreateCall), [*customers entitlements get*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::AccountCustomerEntitlementGetCall), [*customers entitlements list*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::AccountCustomerEntitlementListCall), [*customers entitlements lookup offer*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::AccountCustomerEntitlementLookupOfferCall), [*customers entitlements start paid service*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::AccountCustomerEntitlementStartPaidServiceCall), [*customers entitlements suspend*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::AccountCustomerEntitlementSuspendCall), [*customers get*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::AccountCustomerGetCall), [*customers import*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::AccountCustomerImportCall), [*customers list*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::AccountCustomerListCall), [*customers list purchasable offers*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::AccountCustomerListPurchasableOfferCall), [*customers list purchasable skus*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::AccountCustomerListPurchasableSkuCall), [*customers patch*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::AccountCustomerPatchCall), [*customers provision cloud identity*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::AccountCustomerProvisionCloudIdentityCall), [*customers transfer entitlements*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::AccountCustomerTransferEntitlementCall), [*customers transfer entitlements to google*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::AccountCustomerTransferEntitlementsToGoogleCall), [*list subscribers*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::AccountListSubscriberCall), [*list transferable offers*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::AccountListTransferableOfferCall), [*list transferable skus*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::AccountListTransferableSkuCall), [*offers list*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::AccountOfferListCall), [*register*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::AccountRegisterCall) and [*unregister*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::AccountUnregisterCall) + * [*channel partner links create*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::AccountChannelPartnerLinkCreateCall), [*channel partner links customers create*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::AccountChannelPartnerLinkCustomerCreateCall), [*channel partner links customers delete*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::AccountChannelPartnerLinkCustomerDeleteCall), [*channel partner links customers get*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::AccountChannelPartnerLinkCustomerGetCall), [*channel partner links customers import*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::AccountChannelPartnerLinkCustomerImportCall), [*channel partner links customers list*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::AccountChannelPartnerLinkCustomerListCall), [*channel partner links customers patch*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::AccountChannelPartnerLinkCustomerPatchCall), [*channel partner links get*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::AccountChannelPartnerLinkGetCall), [*channel partner links list*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::AccountChannelPartnerLinkListCall), [*channel partner links patch*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::AccountChannelPartnerLinkPatchCall), [*check cloud identity accounts exist*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::AccountCheckCloudIdentityAccountsExistCall), [*customers create*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::AccountCustomerCreateCall), [*customers delete*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::AccountCustomerDeleteCall), [*customers entitlements activate*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::AccountCustomerEntitlementActivateCall), [*customers entitlements cancel*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::AccountCustomerEntitlementCancelCall), [*customers entitlements change offer*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::AccountCustomerEntitlementChangeOfferCall), [*customers entitlements change parameters*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::AccountCustomerEntitlementChangeParameterCall), [*customers entitlements change renewal settings*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::AccountCustomerEntitlementChangeRenewalSettingCall), [*customers entitlements create*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::AccountCustomerEntitlementCreateCall), [*customers entitlements get*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::AccountCustomerEntitlementGetCall), [*customers entitlements list*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::AccountCustomerEntitlementListCall), [*customers entitlements lookup offer*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::AccountCustomerEntitlementLookupOfferCall), [*customers entitlements start paid service*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::AccountCustomerEntitlementStartPaidServiceCall), [*customers entitlements suspend*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::AccountCustomerEntitlementSuspendCall), [*customers get*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::AccountCustomerGetCall), [*customers import*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::AccountCustomerImportCall), [*customers list*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::AccountCustomerListCall), [*customers list purchasable offers*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::AccountCustomerListPurchasableOfferCall), [*customers list purchasable skus*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::AccountCustomerListPurchasableSkuCall), [*customers patch*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::AccountCustomerPatchCall), [*customers provision cloud identity*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::AccountCustomerProvisionCloudIdentityCall), [*customers transfer entitlements*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::AccountCustomerTransferEntitlementCall), [*customers transfer entitlements to google*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::AccountCustomerTransferEntitlementsToGoogleCall), [*list subscribers*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::AccountListSubscriberCall), [*list transferable offers*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::AccountListTransferableOfferCall), [*list transferable skus*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::AccountListTransferableSkuCall), [*offers list*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::AccountOfferListCall), [*register*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::AccountRegisterCall) and [*unregister*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::AccountUnregisterCall) * operations - * [*cancel*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::OperationCancelCall), [*delete*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::OperationDeleteCall), [*get*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::OperationGetCall) and [*list*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::OperationListCall) + * [*cancel*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::OperationCancelCall), [*delete*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::OperationDeleteCall), [*get*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::OperationGetCall) and [*list*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::OperationListCall) * products - * [*list*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::ProductListCall) and [*skus list*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/api::ProductSkuListCall) + * [*list*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::ProductListCall) and [*skus list*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/api::ProductSkuListCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/Cloudchannel)** +* **[Hub](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/Cloudchannel)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/client::Part)** + * **[Parts](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -106,7 +106,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -139,17 +139,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -159,29 +159,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/client::RequestValue) and +[decodable](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-cloudchannel1/3.0.0+20220303/google_cloudchannel1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudchannel1/3.1.0+20220303/google_cloudchannel1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudchannel1/src/api.rs b/gen/cloudchannel1/src/api.rs index 990ce095df..f89228e87c 100644 --- a/gen/cloudchannel1/src/api.rs +++ b/gen/cloudchannel1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > Cloudchannel<> { Cloudchannel { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://cloudchannel.googleapis.com/".to_string(), _root_url: "https://cloudchannel.googleapis.com/".to_string(), } @@ -136,7 +136,7 @@ impl<'a, > Cloudchannel<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1846,7 +1846,7 @@ impl client::Part for GoogleTypePostalAddress {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `channel_partner_links_create(...)`, `channel_partner_links_customers_create(...)`, `channel_partner_links_customers_delete(...)`, `channel_partner_links_customers_get(...)`, `channel_partner_links_customers_import(...)`, `channel_partner_links_customers_list(...)`, `channel_partner_links_customers_patch(...)`, `channel_partner_links_get(...)`, `channel_partner_links_list(...)`, `channel_partner_links_patch(...)`, `check_cloud_identity_accounts_exist(...)`, `customers_create(...)`, `customers_delete(...)`, `customers_entitlements_activate(...)`, `customers_entitlements_cancel(...)`, `customers_entitlements_change_offer(...)`, `customers_entitlements_change_parameters(...)`, `customers_entitlements_change_renewal_settings(...)`, `customers_entitlements_create(...)`, `customers_entitlements_get(...)`, `customers_entitlements_list(...)`, `customers_entitlements_lookup_offer(...)`, `customers_entitlements_start_paid_service(...)`, `customers_entitlements_suspend(...)`, `customers_get(...)`, `customers_import(...)`, `customers_list(...)`, `customers_list_purchasable_offers(...)`, `customers_list_purchasable_skus(...)`, `customers_patch(...)`, `customers_provision_cloud_identity(...)`, `customers_transfer_entitlements(...)`, `customers_transfer_entitlements_to_google(...)`, `list_subscribers(...)`, `list_transferable_offers(...)`, `list_transferable_skus(...)`, `offers_list(...)`, `register(...)` and `unregister(...)` /// // to build up your call. @@ -2630,7 +2630,7 @@ impl<'a> AccountMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `cancel(...)`, `delete(...)`, `get(...)` and `list(...)` /// // to build up your call. @@ -2744,7 +2744,7 @@ impl<'a> OperationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` and `skus_list(...)` /// // to build up your call. @@ -2830,7 +2830,7 @@ impl<'a> ProductMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3115,7 +3115,7 @@ impl<'a> AccountChannelPartnerLinkCustomerCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3371,7 +3371,7 @@ impl<'a> AccountChannelPartnerLinkCustomerDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3628,7 +3628,7 @@ impl<'a> AccountChannelPartnerLinkCustomerGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3913,7 +3913,7 @@ impl<'a> AccountChannelPartnerLinkCustomerImportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4206,7 +4206,7 @@ impl<'a> AccountChannelPartnerLinkCustomerListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4504,7 +4504,7 @@ impl<'a> AccountChannelPartnerLinkCustomerPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4789,7 +4789,7 @@ impl<'a> AccountChannelPartnerLinkCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5057,7 +5057,7 @@ impl<'a> AccountChannelPartnerLinkGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5350,7 +5350,7 @@ impl<'a> AccountChannelPartnerLinkListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5636,7 +5636,7 @@ impl<'a> AccountChannelPartnerLinkPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5922,7 +5922,7 @@ impl<'a> AccountCustomerEntitlementActivateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6208,7 +6208,7 @@ impl<'a> AccountCustomerEntitlementCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6494,7 +6494,7 @@ impl<'a> AccountCustomerEntitlementChangeOfferCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6780,7 +6780,7 @@ impl<'a> AccountCustomerEntitlementChangeParameterCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7066,7 +7066,7 @@ impl<'a> AccountCustomerEntitlementChangeRenewalSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7351,7 +7351,7 @@ impl<'a> AccountCustomerEntitlementCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7607,7 +7607,7 @@ impl<'a> AccountCustomerEntitlementGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7887,7 +7887,7 @@ impl<'a> AccountCustomerEntitlementListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8144,7 +8144,7 @@ impl<'a> AccountCustomerEntitlementLookupOfferCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8430,7 +8430,7 @@ impl<'a> AccountCustomerEntitlementStartPaidServiceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8716,7 +8716,7 @@ impl<'a> AccountCustomerEntitlementSuspendCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9001,7 +9001,7 @@ impl<'a> AccountCustomerCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9257,7 +9257,7 @@ impl<'a> AccountCustomerDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9514,7 +9514,7 @@ impl<'a> AccountCustomerGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9799,7 +9799,7 @@ impl<'a> AccountCustomerImportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10091,7 +10091,7 @@ impl<'a> AccountCustomerListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10419,7 +10419,7 @@ impl<'a> AccountCustomerListPurchasableOfferCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10748,7 +10748,7 @@ impl<'a> AccountCustomerListPurchasableSkuCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11046,7 +11046,7 @@ impl<'a> AccountCustomerPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11332,7 +11332,7 @@ impl<'a> AccountCustomerProvisionCloudIdentityCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11618,7 +11618,7 @@ impl<'a> AccountCustomerTransferEntitlementCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11903,7 +11903,7 @@ impl<'a> AccountCustomerTransferEntitlementsToGoogleCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12208,7 +12208,7 @@ impl<'a> AccountOfferListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12493,7 +12493,7 @@ impl<'a> AccountCheckCloudIdentityAccountsExistCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12774,7 +12774,7 @@ impl<'a> AccountListSubscriberCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13060,7 +13060,7 @@ impl<'a> AccountListTransferableOfferCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13346,7 +13346,7 @@ impl<'a> AccountListTransferableSkuCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13632,7 +13632,7 @@ impl<'a> AccountRegisterCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13918,7 +13918,7 @@ impl<'a> AccountUnregisterCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14203,7 +14203,7 @@ impl<'a> OperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14459,7 +14459,7 @@ impl<'a> OperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14715,7 +14715,7 @@ impl<'a> OperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15007,7 +15007,7 @@ impl<'a> OperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15311,7 +15311,7 @@ impl<'a> ProductSkuListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/cloudchannel1/src/lib.rs b/gen/cloudchannel1/src/lib.rs index 0fa709245e..b2e5eea7bc 100644 --- a/gen/cloudchannel1/src/lib.rs +++ b/gen/cloudchannel1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloudchannel* crate version *3.0.0+20220303*, where *20220303* is the exact revision of the *cloudchannel:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloudchannel* crate version *3.1.0+20220303*, where *20220303* is the exact revision of the *cloudchannel:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloudchannel* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/channel). @@ -107,7 +107,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Cloudchannel::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/clouddebugger2-cli/Cargo.toml b/gen/clouddebugger2-cli/Cargo.toml index 165ef4088c..01ebba2be2 100644 --- a/gen/clouddebugger2-cli/Cargo.toml +++ b/gen/clouddebugger2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-clouddebugger2-cli" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Debugger (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/clouddebugger2-cli" @@ -20,12 +20,12 @@ name = "clouddebugger2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-clouddebugger2] path = "../clouddebugger2" -version = "3.0.0+20220225" +version = "3.1.0+20220225" diff --git a/gen/clouddebugger2-cli/README.md b/gen/clouddebugger2-cli/README.md index d7d06b2126..ad743c0493 100644 --- a/gen/clouddebugger2-cli/README.md +++ b/gen/clouddebugger2-cli/README.md @@ -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 *Cloud Debugger* API at revision *20220225*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Debugger* API at revision *20220225*. The CLI is at version *3.1.0*. ```bash clouddebugger2 [options] diff --git a/gen/clouddebugger2-cli/mkdocs.yml b/gen/clouddebugger2-cli/mkdocs.yml index 2d8b6da800..bfbbd91c46 100644 --- a/gen/clouddebugger2-cli/mkdocs.yml +++ b/gen/clouddebugger2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Debugger v3.0.0+20220225 +site_name: Cloud Debugger v3.1.0+20220225 site_url: http://byron.github.io/google-apis-rs/google-clouddebugger2-cli site_description: A complete library to interact with Cloud Debugger (protocol v2) diff --git a/gen/clouddebugger2-cli/src/main.rs b/gen/clouddebugger2-cli/src/main.rs index dad499acab..78e6ee5fb9 100644 --- a/gen/clouddebugger2-cli/src/main.rs +++ b/gen/clouddebugger2-cli/src/main.rs @@ -740,7 +740,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/clouddebugger2", 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::CloudDebugger::new(client, auth), @@ -985,7 +991,7 @@ async fn main() { let mut app = App::new("clouddebugger2") .author("Sebastian Thiel ") - .version("3.0.0+20220225") + .version("3.1.0+20220225") .about("Examines the call stack and variables of a running application without stopping or slowing it down. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_clouddebugger2_cli") .arg(Arg::with_name("url") diff --git a/gen/clouddebugger2/Cargo.toml b/gen/clouddebugger2/Cargo.toml index ff482f7392..4e66d469d4 100644 --- a/gen/clouddebugger2/Cargo.toml +++ b/gen/clouddebugger2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-clouddebugger2" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Debugger (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/clouddebugger2" homepage = "https://cloud.google.com/debugger" -documentation = "https://docs.rs/google-clouddebugger2/3.0.0+20220225" +documentation = "https://docs.rs/google-clouddebugger2/3.1.0+20220225" license = "MIT" keywords = ["clouddebugger", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/clouddebugger2/README.md b/gen/clouddebugger2/README.md index 6889385afc..6e8e0252dc 100644 --- a/gen/clouddebugger2/README.md +++ b/gen/clouddebugger2/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-clouddebugger2` library allows access to all features of the *Google Cloud Debugger* service. -This documentation was generated from *Cloud Debugger* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *clouddebugger:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Debugger* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *clouddebugger:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Debugger* *v2* API can be found at the [official documentation site](https://cloud.google.com/debugger). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-clouddebugger2/3.0.0+20220225/google_clouddebugger2/CloudDebugger) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-clouddebugger2/3.1.0+20220225/google_clouddebugger2/CloudDebugger) ... * controller - * [*debuggees breakpoints list*](https://docs.rs/google-clouddebugger2/3.0.0+20220225/google_clouddebugger2/api::ControllerDebuggeeBreakpointListCall), [*debuggees breakpoints update*](https://docs.rs/google-clouddebugger2/3.0.0+20220225/google_clouddebugger2/api::ControllerDebuggeeBreakpointUpdateCall) and [*debuggees register*](https://docs.rs/google-clouddebugger2/3.0.0+20220225/google_clouddebugger2/api::ControllerDebuggeeRegisterCall) + * [*debuggees breakpoints list*](https://docs.rs/google-clouddebugger2/3.1.0+20220225/google_clouddebugger2/api::ControllerDebuggeeBreakpointListCall), [*debuggees breakpoints update*](https://docs.rs/google-clouddebugger2/3.1.0+20220225/google_clouddebugger2/api::ControllerDebuggeeBreakpointUpdateCall) and [*debuggees register*](https://docs.rs/google-clouddebugger2/3.1.0+20220225/google_clouddebugger2/api::ControllerDebuggeeRegisterCall) * debugger - * [*debuggees breakpoints delete*](https://docs.rs/google-clouddebugger2/3.0.0+20220225/google_clouddebugger2/api::DebuggerDebuggeeBreakpointDeleteCall), [*debuggees breakpoints get*](https://docs.rs/google-clouddebugger2/3.0.0+20220225/google_clouddebugger2/api::DebuggerDebuggeeBreakpointGetCall), [*debuggees breakpoints list*](https://docs.rs/google-clouddebugger2/3.0.0+20220225/google_clouddebugger2/api::DebuggerDebuggeeBreakpointListCall), [*debuggees breakpoints set*](https://docs.rs/google-clouddebugger2/3.0.0+20220225/google_clouddebugger2/api::DebuggerDebuggeeBreakpointSetCall) and [*debuggees list*](https://docs.rs/google-clouddebugger2/3.0.0+20220225/google_clouddebugger2/api::DebuggerDebuggeeListCall) + * [*debuggees breakpoints delete*](https://docs.rs/google-clouddebugger2/3.1.0+20220225/google_clouddebugger2/api::DebuggerDebuggeeBreakpointDeleteCall), [*debuggees breakpoints get*](https://docs.rs/google-clouddebugger2/3.1.0+20220225/google_clouddebugger2/api::DebuggerDebuggeeBreakpointGetCall), [*debuggees breakpoints list*](https://docs.rs/google-clouddebugger2/3.1.0+20220225/google_clouddebugger2/api::DebuggerDebuggeeBreakpointListCall), [*debuggees breakpoints set*](https://docs.rs/google-clouddebugger2/3.1.0+20220225/google_clouddebugger2/api::DebuggerDebuggeeBreakpointSetCall) and [*debuggees list*](https://docs.rs/google-clouddebugger2/3.1.0+20220225/google_clouddebugger2/api::DebuggerDebuggeeListCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-clouddebugger2/3.0.0+20220225/google_clouddebugger2/CloudDebugger)** +* **[Hub](https://docs.rs/google-clouddebugger2/3.1.0+20220225/google_clouddebugger2/CloudDebugger)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-clouddebugger2/3.0.0+20220225/google_clouddebugger2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-clouddebugger2/3.0.0+20220225/google_clouddebugger2/client::CallBuilder) -* **[Resources](https://docs.rs/google-clouddebugger2/3.0.0+20220225/google_clouddebugger2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-clouddebugger2/3.1.0+20220225/google_clouddebugger2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-clouddebugger2/3.1.0+20220225/google_clouddebugger2/client::CallBuilder) +* **[Resources](https://docs.rs/google-clouddebugger2/3.1.0+20220225/google_clouddebugger2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-clouddebugger2/3.0.0+20220225/google_clouddebugger2/client::Part)** + * **[Parts](https://docs.rs/google-clouddebugger2/3.1.0+20220225/google_clouddebugger2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-clouddebugger2/3.0.0+20220225/google_clouddebugger2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-clouddebugger2/3.1.0+20220225/google_clouddebugger2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -93,7 +93,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudDebugger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudDebugger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -128,17 +128,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-clouddebugger2/3.0.0+20220225/google_clouddebugger2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-clouddebugger2/3.1.0+20220225/google_clouddebugger2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-clouddebugger2/3.0.0+20220225/google_clouddebugger2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-clouddebugger2/3.1.0+20220225/google_clouddebugger2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-clouddebugger2/3.0.0+20220225/google_clouddebugger2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-clouddebugger2/3.1.0+20220225/google_clouddebugger2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-clouddebugger2/3.0.0+20220225/google_clouddebugger2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-clouddebugger2/3.1.0+20220225/google_clouddebugger2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -148,29 +148,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-clouddebugger2/3.0.0+20220225/google_clouddebugger2/client::Delegate) to the -[Method Builder](https://docs.rs/google-clouddebugger2/3.0.0+20220225/google_clouddebugger2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-clouddebugger2/3.1.0+20220225/google_clouddebugger2/client::Delegate) to the +[Method Builder](https://docs.rs/google-clouddebugger2/3.1.0+20220225/google_clouddebugger2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-clouddebugger2/3.0.0+20220225/google_clouddebugger2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-clouddebugger2/3.1.0+20220225/google_clouddebugger2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-clouddebugger2/3.0.0+20220225/google_clouddebugger2/client::RequestValue) and -[decodable](https://docs.rs/google-clouddebugger2/3.0.0+20220225/google_clouddebugger2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-clouddebugger2/3.1.0+20220225/google_clouddebugger2/client::RequestValue) and +[decodable](https://docs.rs/google-clouddebugger2/3.1.0+20220225/google_clouddebugger2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-clouddebugger2/3.0.0+20220225/google_clouddebugger2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-clouddebugger2/3.1.0+20220225/google_clouddebugger2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-clouddebugger2/3.0.0+20220225/google_clouddebugger2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-clouddebugger2/3.1.0+20220225/google_clouddebugger2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-clouddebugger2/3.0.0+20220225/google_clouddebugger2/client::RequestValue) are moved +* [request values](https://docs.rs/google-clouddebugger2/3.1.0+20220225/google_clouddebugger2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/clouddebugger2/src/api.rs b/gen/clouddebugger2/src/api.rs index 48cd75f6e6..1afb1f7ebb 100644 --- a/gen/clouddebugger2/src/api.rs +++ b/gen/clouddebugger2/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudDebugger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudDebugger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -125,7 +125,7 @@ impl<'a, > CloudDebugger<> { CloudDebugger { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://clouddebugger.googleapis.com/".to_string(), _root_url: "https://clouddebugger.googleapis.com/".to_string(), } @@ -139,7 +139,7 @@ impl<'a, > CloudDebugger<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -759,7 +759,7 @@ impl client::Part for Variable {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudDebugger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudDebugger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `debuggees_breakpoints_list(...)`, `debuggees_breakpoints_update(...)` and `debuggees_register(...)` /// // to build up your call. @@ -858,7 +858,7 @@ impl<'a> ControllerMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudDebugger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudDebugger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `debuggees_breakpoints_delete(...)`, `debuggees_breakpoints_get(...)`, `debuggees_breakpoints_list(...)`, `debuggees_breakpoints_set(...)` and `debuggees_list(...)` /// // to build up your call. @@ -1005,7 +1005,7 @@ impl<'a> DebuggerMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDebugger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDebugger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1294,7 +1294,7 @@ impl<'a> ControllerDebuggeeBreakpointListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDebugger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDebugger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1588,7 +1588,7 @@ impl<'a> ControllerDebuggeeBreakpointUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDebugger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDebugger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1836,7 +1836,7 @@ impl<'a> ControllerDebuggeeRegisterCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDebugger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDebugger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2112,7 +2112,7 @@ impl<'a> DebuggerDebuggeeBreakpointDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDebugger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDebugger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2388,7 +2388,7 @@ impl<'a> DebuggerDebuggeeBreakpointGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDebugger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDebugger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2713,7 +2713,7 @@ impl<'a> DebuggerDebuggeeBreakpointListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDebugger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDebugger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3018,7 +3018,7 @@ impl<'a> DebuggerDebuggeeBreakpointSetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDebugger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDebugger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/clouddebugger2/src/lib.rs b/gen/clouddebugger2/src/lib.rs index a50918b27c..bd53f25790 100644 --- a/gen/clouddebugger2/src/lib.rs +++ b/gen/clouddebugger2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Debugger* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *clouddebugger:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Debugger* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *clouddebugger:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Debugger* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/debugger). @@ -94,7 +94,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudDebugger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudDebugger::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/clouddeploy1-cli/Cargo.toml b/gen/clouddeploy1-cli/Cargo.toml index 3ffdd96cf5..4f8fef57c4 100644 --- a/gen/clouddeploy1-cli/Cargo.toml +++ b/gen/clouddeploy1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-clouddeploy1-cli" -version = "3.0.0+20220223" +version = "3.1.0+20220223" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Deploy (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/clouddeploy1-cli" @@ -20,12 +20,12 @@ name = "clouddeploy1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-clouddeploy1] path = "../clouddeploy1" -version = "3.0.0+20220223" +version = "3.1.0+20220223" diff --git a/gen/clouddeploy1-cli/README.md b/gen/clouddeploy1-cli/README.md index 7eb6a471a9..f7840b8863 100644 --- a/gen/clouddeploy1-cli/README.md +++ b/gen/clouddeploy1-cli/README.md @@ -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 *Cloud Deploy* API at revision *20220223*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Deploy* API at revision *20220223*. The CLI is at version *3.1.0*. ```bash clouddeploy1 [options] diff --git a/gen/clouddeploy1-cli/mkdocs.yml b/gen/clouddeploy1-cli/mkdocs.yml index 1edbbf39a5..a16106afea 100644 --- a/gen/clouddeploy1-cli/mkdocs.yml +++ b/gen/clouddeploy1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Deploy v3.0.0+20220223 +site_name: Cloud Deploy v3.1.0+20220223 site_url: http://byron.github.io/google-apis-rs/google-clouddeploy1-cli site_description: A complete library to interact with Cloud Deploy (protocol v1) diff --git a/gen/clouddeploy1-cli/src/main.rs b/gen/clouddeploy1-cli/src/main.rs index 8413be2389..a0dc43644e 100644 --- a/gen/clouddeploy1-cli/src/main.rs +++ b/gen/clouddeploy1-cli/src/main.rs @@ -2402,7 +2402,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/clouddeploy1", 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::CloudDeploy::new(client, auth), @@ -3176,7 +3182,7 @@ async fn main() { let mut app = App::new("clouddeploy1") .author("Sebastian Thiel ") - .version("3.0.0+20220223") + .version("3.1.0+20220223") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_clouddeploy1_cli") .arg(Arg::with_name("url") diff --git a/gen/clouddeploy1/Cargo.toml b/gen/clouddeploy1/Cargo.toml index 263e110d4f..eee3eb0ee5 100644 --- a/gen/clouddeploy1/Cargo.toml +++ b/gen/clouddeploy1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-clouddeploy1" -version = "3.0.0+20220223" +version = "3.1.0+20220223" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Deploy (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/clouddeploy1" homepage = "https://cloud.google.com/deploy/" -documentation = "https://docs.rs/google-clouddeploy1/3.0.0+20220223" +documentation = "https://docs.rs/google-clouddeploy1/3.1.0+20220223" license = "MIT" keywords = ["clouddeploy", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/clouddeploy1/README.md b/gen/clouddeploy1/README.md index 8f75768d0e..c0f1192098 100644 --- a/gen/clouddeploy1/README.md +++ b/gen/clouddeploy1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-clouddeploy1` library allows access to all features of the *Google Cloud Deploy* service. -This documentation was generated from *Cloud Deploy* crate version *3.0.0+20220223*, where *20220223* is the exact revision of the *clouddeploy:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Deploy* crate version *3.1.0+20220223*, where *20220223* is the exact revision of the *clouddeploy:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Deploy* *v1* API can be found at the [official documentation site](https://cloud.google.com/deploy/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/CloudDeploy) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/CloudDeploy) ... * projects - * [*locations delivery pipelines create*](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/api::ProjectLocationDeliveryPipelineCreateCall), [*locations delivery pipelines delete*](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/api::ProjectLocationDeliveryPipelineDeleteCall), [*locations delivery pipelines get*](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/api::ProjectLocationDeliveryPipelineGetCall), [*locations delivery pipelines get iam policy*](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/api::ProjectLocationDeliveryPipelineGetIamPolicyCall), [*locations delivery pipelines list*](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/api::ProjectLocationDeliveryPipelineListCall), [*locations delivery pipelines patch*](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/api::ProjectLocationDeliveryPipelinePatchCall), [*locations delivery pipelines releases create*](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/api::ProjectLocationDeliveryPipelineReleaseCreateCall), [*locations delivery pipelines releases get*](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/api::ProjectLocationDeliveryPipelineReleaseGetCall), [*locations delivery pipelines releases list*](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/api::ProjectLocationDeliveryPipelineReleaseListCall), [*locations delivery pipelines releases rollouts approve*](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/api::ProjectLocationDeliveryPipelineReleaseRolloutApproveCall), [*locations delivery pipelines releases rollouts create*](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/api::ProjectLocationDeliveryPipelineReleaseRolloutCreateCall), [*locations delivery pipelines releases rollouts get*](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/api::ProjectLocationDeliveryPipelineReleaseRolloutGetCall), [*locations delivery pipelines releases rollouts list*](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/api::ProjectLocationDeliveryPipelineReleaseRolloutListCall), [*locations delivery pipelines set iam policy*](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/api::ProjectLocationDeliveryPipelineSetIamPolicyCall), [*locations delivery pipelines test iam permissions*](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/api::ProjectLocationDeliveryPipelineTestIamPermissionCall), [*locations get*](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/api::ProjectLocationGetCall), [*locations get config*](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/api::ProjectLocationGetConfigCall), [*locations list*](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/api::ProjectLocationOperationListCall), [*locations targets create*](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/api::ProjectLocationTargetCreateCall), [*locations targets delete*](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/api::ProjectLocationTargetDeleteCall), [*locations targets get*](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/api::ProjectLocationTargetGetCall), [*locations targets get iam policy*](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/api::ProjectLocationTargetGetIamPolicyCall), [*locations targets list*](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/api::ProjectLocationTargetListCall), [*locations targets patch*](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/api::ProjectLocationTargetPatchCall), [*locations targets set iam policy*](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/api::ProjectLocationTargetSetIamPolicyCall) and [*locations targets test iam permissions*](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/api::ProjectLocationTargetTestIamPermissionCall) + * [*locations delivery pipelines create*](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/api::ProjectLocationDeliveryPipelineCreateCall), [*locations delivery pipelines delete*](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/api::ProjectLocationDeliveryPipelineDeleteCall), [*locations delivery pipelines get*](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/api::ProjectLocationDeliveryPipelineGetCall), [*locations delivery pipelines get iam policy*](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/api::ProjectLocationDeliveryPipelineGetIamPolicyCall), [*locations delivery pipelines list*](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/api::ProjectLocationDeliveryPipelineListCall), [*locations delivery pipelines patch*](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/api::ProjectLocationDeliveryPipelinePatchCall), [*locations delivery pipelines releases create*](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/api::ProjectLocationDeliveryPipelineReleaseCreateCall), [*locations delivery pipelines releases get*](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/api::ProjectLocationDeliveryPipelineReleaseGetCall), [*locations delivery pipelines releases list*](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/api::ProjectLocationDeliveryPipelineReleaseListCall), [*locations delivery pipelines releases rollouts approve*](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/api::ProjectLocationDeliveryPipelineReleaseRolloutApproveCall), [*locations delivery pipelines releases rollouts create*](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/api::ProjectLocationDeliveryPipelineReleaseRolloutCreateCall), [*locations delivery pipelines releases rollouts get*](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/api::ProjectLocationDeliveryPipelineReleaseRolloutGetCall), [*locations delivery pipelines releases rollouts list*](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/api::ProjectLocationDeliveryPipelineReleaseRolloutListCall), [*locations delivery pipelines set iam policy*](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/api::ProjectLocationDeliveryPipelineSetIamPolicyCall), [*locations delivery pipelines test iam permissions*](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/api::ProjectLocationDeliveryPipelineTestIamPermissionCall), [*locations get*](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/api::ProjectLocationGetCall), [*locations get config*](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/api::ProjectLocationGetConfigCall), [*locations list*](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/api::ProjectLocationOperationListCall), [*locations targets create*](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/api::ProjectLocationTargetCreateCall), [*locations targets delete*](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/api::ProjectLocationTargetDeleteCall), [*locations targets get*](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/api::ProjectLocationTargetGetCall), [*locations targets get iam policy*](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/api::ProjectLocationTargetGetIamPolicyCall), [*locations targets list*](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/api::ProjectLocationTargetListCall), [*locations targets patch*](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/api::ProjectLocationTargetPatchCall), [*locations targets set iam policy*](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/api::ProjectLocationTargetSetIamPolicyCall) and [*locations targets test iam permissions*](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/api::ProjectLocationTargetTestIamPermissionCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/CloudDeploy)** +* **[Hub](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/CloudDeploy)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/client::CallBuilder) -* **[Resources](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/client::CallBuilder) +* **[Resources](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/client::Part)** + * **[Parts](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -98,7 +98,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -131,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -151,29 +151,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/client::Delegate) to the -[Method Builder](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/client::Delegate) to the +[Method Builder](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/client::RequestValue) and -[decodable](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/client::RequestValue) and +[decodable](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-clouddeploy1/3.0.0+20220223/google_clouddeploy1/client::RequestValue) are moved +* [request values](https://docs.rs/google-clouddeploy1/3.1.0+20220223/google_clouddeploy1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/clouddeploy1/src/api.rs b/gen/clouddeploy1/src/api.rs index 2b7100eda4..86d517e956 100644 --- a/gen/clouddeploy1/src/api.rs +++ b/gen/clouddeploy1/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -118,7 +118,7 @@ impl<'a, > CloudDeploy<> { CloudDeploy { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://clouddeploy.googleapis.com/".to_string(), _root_url: "https://clouddeploy.googleapis.com/".to_string(), } @@ -129,7 +129,7 @@ impl<'a, > CloudDeploy<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1126,7 +1126,7 @@ impl client::ResponseResult for TestIamPermissionsResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_delivery_pipelines_create(...)`, `locations_delivery_pipelines_delete(...)`, `locations_delivery_pipelines_get(...)`, `locations_delivery_pipelines_get_iam_policy(...)`, `locations_delivery_pipelines_list(...)`, `locations_delivery_pipelines_patch(...)`, `locations_delivery_pipelines_releases_create(...)`, `locations_delivery_pipelines_releases_get(...)`, `locations_delivery_pipelines_releases_list(...)`, `locations_delivery_pipelines_releases_rollouts_approve(...)`, `locations_delivery_pipelines_releases_rollouts_create(...)`, `locations_delivery_pipelines_releases_rollouts_get(...)`, `locations_delivery_pipelines_releases_rollouts_list(...)`, `locations_delivery_pipelines_set_iam_policy(...)`, `locations_delivery_pipelines_test_iam_permissions(...)`, `locations_get(...)`, `locations_get_config(...)`, `locations_list(...)`, `locations_operations_cancel(...)`, `locations_operations_delete(...)`, `locations_operations_get(...)`, `locations_operations_list(...)`, `locations_targets_create(...)`, `locations_targets_delete(...)`, `locations_targets_get(...)`, `locations_targets_get_iam_policy(...)`, `locations_targets_list(...)`, `locations_targets_patch(...)`, `locations_targets_set_iam_policy(...)` and `locations_targets_test_iam_permissions(...)` /// // to build up your call. @@ -1762,7 +1762,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2048,7 +2048,7 @@ impl<'a> ProjectLocationDeliveryPipelineReleaseRolloutApproveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2369,7 +2369,7 @@ impl<'a> ProjectLocationDeliveryPipelineReleaseRolloutCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2625,7 +2625,7 @@ impl<'a> ProjectLocationDeliveryPipelineReleaseRolloutGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2930,7 +2930,7 @@ impl<'a> ProjectLocationDeliveryPipelineReleaseRolloutListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3251,7 +3251,7 @@ impl<'a> ProjectLocationDeliveryPipelineReleaseCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3507,7 +3507,7 @@ impl<'a> ProjectLocationDeliveryPipelineReleaseGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3812,7 +3812,7 @@ impl<'a> ProjectLocationDeliveryPipelineReleaseListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4133,7 +4133,7 @@ impl<'a> ProjectLocationDeliveryPipelineCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4449,7 +4449,7 @@ impl<'a> ProjectLocationDeliveryPipelineDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4705,7 +4705,7 @@ impl<'a> ProjectLocationDeliveryPipelineGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4973,7 +4973,7 @@ impl<'a> ProjectLocationDeliveryPipelineGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5278,7 +5278,7 @@ impl<'a> ProjectLocationDeliveryPipelineListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5612,7 +5612,7 @@ impl<'a> ProjectLocationDeliveryPipelinePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5898,7 +5898,7 @@ impl<'a> ProjectLocationDeliveryPipelineSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6184,7 +6184,7 @@ impl<'a> ProjectLocationDeliveryPipelineTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6469,7 +6469,7 @@ impl<'a> ProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6725,7 +6725,7 @@ impl<'a> ProjectLocationOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6981,7 +6981,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7274,7 +7274,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7595,7 +7595,7 @@ impl<'a> ProjectLocationTargetCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7899,7 +7899,7 @@ impl<'a> ProjectLocationTargetDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8155,7 +8155,7 @@ impl<'a> ProjectLocationTargetGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8423,7 +8423,7 @@ impl<'a> ProjectLocationTargetGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8728,7 +8728,7 @@ impl<'a> ProjectLocationTargetListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9062,7 +9062,7 @@ impl<'a> ProjectLocationTargetPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9348,7 +9348,7 @@ impl<'a> ProjectLocationTargetSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9633,7 +9633,7 @@ impl<'a> ProjectLocationTargetTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9889,7 +9889,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10145,7 +10145,7 @@ impl<'a> ProjectLocationGetConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/clouddeploy1/src/lib.rs b/gen/clouddeploy1/src/lib.rs index ff52b71382..57021cac6e 100644 --- a/gen/clouddeploy1/src/lib.rs +++ b/gen/clouddeploy1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Deploy* crate version *3.0.0+20220223*, where *20220223* is the exact revision of the *clouddeploy:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Deploy* crate version *3.1.0+20220223*, where *20220223* is the exact revision of the *clouddeploy:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Deploy* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/deploy/). @@ -99,7 +99,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudDeploy::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/clouderrorreporting1_beta1-cli/Cargo.toml b/gen/clouderrorreporting1_beta1-cli/Cargo.toml index faab225fc2..887b3d17ef 100644 --- a/gen/clouderrorreporting1_beta1-cli/Cargo.toml +++ b/gen/clouderrorreporting1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-clouderrorreporting1_beta1-cli" -version = "3.0.0+20220302" +version = "3.1.0+20220302" authors = ["Sebastian Thiel "] description = "A complete library to interact with Clouderrorreporting (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/clouderrorreporting1_beta1-cli" @@ -20,12 +20,12 @@ name = "clouderrorreporting1-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-clouderrorreporting1_beta1] path = "../clouderrorreporting1_beta1" -version = "3.0.0+20220302" +version = "3.1.0+20220302" diff --git a/gen/clouderrorreporting1_beta1-cli/README.md b/gen/clouderrorreporting1_beta1-cli/README.md index a4dedd4012..e626aaa6a0 100644 --- a/gen/clouderrorreporting1_beta1-cli/README.md +++ b/gen/clouderrorreporting1_beta1-cli/README.md @@ -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 *Clouderrorreporting* API at revision *20220302*. The CLI is at version *3.0.0*. +This documentation was generated from the *Clouderrorreporting* API at revision *20220302*. The CLI is at version *3.1.0*. ```bash clouderrorreporting1-beta1 [options] diff --git a/gen/clouderrorreporting1_beta1-cli/mkdocs.yml b/gen/clouderrorreporting1_beta1-cli/mkdocs.yml index 5716e5387d..3c26c680dc 100644 --- a/gen/clouderrorreporting1_beta1-cli/mkdocs.yml +++ b/gen/clouderrorreporting1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Clouderrorreporting v3.0.0+20220302 +site_name: Clouderrorreporting v3.1.0+20220302 site_url: http://byron.github.io/google-apis-rs/google-clouderrorreporting1_beta1-cli site_description: A complete library to interact with Clouderrorreporting (protocol v1beta1) diff --git a/gen/clouderrorreporting1_beta1-cli/src/main.rs b/gen/clouderrorreporting1_beta1-cli/src/main.rs index 4dfc801861..697c2616e7 100644 --- a/gen/clouderrorreporting1_beta1-cli/src/main.rs +++ b/gen/clouderrorreporting1_beta1-cli/src/main.rs @@ -557,7 +557,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/clouderrorreporting1-beta1", 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::Clouderrorreporting::new(client, auth), @@ -743,7 +749,7 @@ async fn main() { let mut app = App::new("clouderrorreporting1-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20220302") + .version("3.1.0+20220302") .about("Groups and counts similar errors from cloud services and applications, reports new errors, and provides access to error groups and their associated errors. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_clouderrorreporting1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/clouderrorreporting1_beta1/Cargo.toml b/gen/clouderrorreporting1_beta1/Cargo.toml index 635c529b85..c261b36528 100644 --- a/gen/clouderrorreporting1_beta1/Cargo.toml +++ b/gen/clouderrorreporting1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-clouderrorreporting1_beta1" -version = "3.0.0+20220302" +version = "3.1.0+20220302" authors = ["Sebastian Thiel "] description = "A complete library to interact with Clouderrorreporting (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/clouderrorreporting1_beta1" homepage = "https://cloud.google.com/error-reporting/" -documentation = "https://docs.rs/google-clouderrorreporting1_beta1/3.0.0+20220302" +documentation = "https://docs.rs/google-clouderrorreporting1_beta1/3.1.0+20220302" license = "MIT" keywords = ["clouderrorreporting", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/clouderrorreporting1_beta1/README.md b/gen/clouderrorreporting1_beta1/README.md index 4ae1ae0462..82a0bddd2b 100644 --- a/gen/clouderrorreporting1_beta1/README.md +++ b/gen/clouderrorreporting1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-clouderrorreporting1_beta1` library allows access to all features of the *Google Clouderrorreporting* service. -This documentation was generated from *Clouderrorreporting* crate version *3.0.0+20220302*, where *20220302* is the exact revision of the *clouderrorreporting:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Clouderrorreporting* crate version *3.1.0+20220302*, where *20220302* is the exact revision of the *clouderrorreporting:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Clouderrorreporting* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/error-reporting/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-clouderrorreporting1_beta1/3.0.0+20220302/google_clouderrorreporting1_beta1/Clouderrorreporting) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-clouderrorreporting1_beta1/3.1.0+20220302/google_clouderrorreporting1_beta1/Clouderrorreporting) ... * projects - * [*delete events*](https://docs.rs/google-clouderrorreporting1_beta1/3.0.0+20220302/google_clouderrorreporting1_beta1/api::ProjectDeleteEventCall), [*events list*](https://docs.rs/google-clouderrorreporting1_beta1/3.0.0+20220302/google_clouderrorreporting1_beta1/api::ProjectEventListCall), [*events report*](https://docs.rs/google-clouderrorreporting1_beta1/3.0.0+20220302/google_clouderrorreporting1_beta1/api::ProjectEventReportCall), [*group stats list*](https://docs.rs/google-clouderrorreporting1_beta1/3.0.0+20220302/google_clouderrorreporting1_beta1/api::ProjectGroupStatListCall), [*groups get*](https://docs.rs/google-clouderrorreporting1_beta1/3.0.0+20220302/google_clouderrorreporting1_beta1/api::ProjectGroupGetCall) and [*groups update*](https://docs.rs/google-clouderrorreporting1_beta1/3.0.0+20220302/google_clouderrorreporting1_beta1/api::ProjectGroupUpdateCall) + * [*delete events*](https://docs.rs/google-clouderrorreporting1_beta1/3.1.0+20220302/google_clouderrorreporting1_beta1/api::ProjectDeleteEventCall), [*events list*](https://docs.rs/google-clouderrorreporting1_beta1/3.1.0+20220302/google_clouderrorreporting1_beta1/api::ProjectEventListCall), [*events report*](https://docs.rs/google-clouderrorreporting1_beta1/3.1.0+20220302/google_clouderrorreporting1_beta1/api::ProjectEventReportCall), [*group stats list*](https://docs.rs/google-clouderrorreporting1_beta1/3.1.0+20220302/google_clouderrorreporting1_beta1/api::ProjectGroupStatListCall), [*groups get*](https://docs.rs/google-clouderrorreporting1_beta1/3.1.0+20220302/google_clouderrorreporting1_beta1/api::ProjectGroupGetCall) and [*groups update*](https://docs.rs/google-clouderrorreporting1_beta1/3.1.0+20220302/google_clouderrorreporting1_beta1/api::ProjectGroupUpdateCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-clouderrorreporting1_beta1/3.0.0+20220302/google_clouderrorreporting1_beta1/Clouderrorreporting)** +* **[Hub](https://docs.rs/google-clouderrorreporting1_beta1/3.1.0+20220302/google_clouderrorreporting1_beta1/Clouderrorreporting)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-clouderrorreporting1_beta1/3.0.0+20220302/google_clouderrorreporting1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-clouderrorreporting1_beta1/3.0.0+20220302/google_clouderrorreporting1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-clouderrorreporting1_beta1/3.0.0+20220302/google_clouderrorreporting1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-clouderrorreporting1_beta1/3.1.0+20220302/google_clouderrorreporting1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-clouderrorreporting1_beta1/3.1.0+20220302/google_clouderrorreporting1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-clouderrorreporting1_beta1/3.1.0+20220302/google_clouderrorreporting1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-clouderrorreporting1_beta1/3.0.0+20220302/google_clouderrorreporting1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-clouderrorreporting1_beta1/3.1.0+20220302/google_clouderrorreporting1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-clouderrorreporting1_beta1/3.0.0+20220302/google_clouderrorreporting1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-clouderrorreporting1_beta1/3.1.0+20220302/google_clouderrorreporting1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -92,7 +92,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Clouderrorreporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Clouderrorreporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -125,17 +125,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-clouderrorreporting1_beta1/3.0.0+20220302/google_clouderrorreporting1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-clouderrorreporting1_beta1/3.1.0+20220302/google_clouderrorreporting1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-clouderrorreporting1_beta1/3.0.0+20220302/google_clouderrorreporting1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-clouderrorreporting1_beta1/3.1.0+20220302/google_clouderrorreporting1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-clouderrorreporting1_beta1/3.0.0+20220302/google_clouderrorreporting1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-clouderrorreporting1_beta1/3.1.0+20220302/google_clouderrorreporting1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-clouderrorreporting1_beta1/3.0.0+20220302/google_clouderrorreporting1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-clouderrorreporting1_beta1/3.1.0+20220302/google_clouderrorreporting1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -145,29 +145,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-clouderrorreporting1_beta1/3.0.0+20220302/google_clouderrorreporting1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-clouderrorreporting1_beta1/3.0.0+20220302/google_clouderrorreporting1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-clouderrorreporting1_beta1/3.1.0+20220302/google_clouderrorreporting1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-clouderrorreporting1_beta1/3.1.0+20220302/google_clouderrorreporting1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-clouderrorreporting1_beta1/3.0.0+20220302/google_clouderrorreporting1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-clouderrorreporting1_beta1/3.1.0+20220302/google_clouderrorreporting1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-clouderrorreporting1_beta1/3.0.0+20220302/google_clouderrorreporting1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-clouderrorreporting1_beta1/3.0.0+20220302/google_clouderrorreporting1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-clouderrorreporting1_beta1/3.1.0+20220302/google_clouderrorreporting1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-clouderrorreporting1_beta1/3.1.0+20220302/google_clouderrorreporting1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-clouderrorreporting1_beta1/3.0.0+20220302/google_clouderrorreporting1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-clouderrorreporting1_beta1/3.1.0+20220302/google_clouderrorreporting1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-clouderrorreporting1_beta1/3.0.0+20220302/google_clouderrorreporting1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-clouderrorreporting1_beta1/3.1.0+20220302/google_clouderrorreporting1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-clouderrorreporting1_beta1/3.0.0+20220302/google_clouderrorreporting1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-clouderrorreporting1_beta1/3.1.0+20220302/google_clouderrorreporting1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/clouderrorreporting1_beta1/src/api.rs b/gen/clouderrorreporting1_beta1/src/api.rs index 061ec9e65e..725dc6af33 100644 --- a/gen/clouderrorreporting1_beta1/src/api.rs +++ b/gen/clouderrorreporting1_beta1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Clouderrorreporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Clouderrorreporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > Clouderrorreporting<> { Clouderrorreporting { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://clouderrorreporting.googleapis.com/".to_string(), _root_url: "https://clouderrorreporting.googleapis.com/".to_string(), } @@ -130,7 +130,7 @@ impl<'a, > Clouderrorreporting<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -509,7 +509,7 @@ impl client::Part for TrackingIssue {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Clouderrorreporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Clouderrorreporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete_events(...)`, `events_list(...)`, `events_report(...)`, `group_stats_list(...)`, `groups_get(...)` and `groups_update(...)` /// // to build up your call. @@ -681,7 +681,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Clouderrorreporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Clouderrorreporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1022,7 +1022,7 @@ impl<'a> ProjectEventListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Clouderrorreporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Clouderrorreporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1307,7 +1307,7 @@ impl<'a> ProjectEventReportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Clouderrorreporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Clouderrorreporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1698,7 +1698,7 @@ impl<'a> ProjectGroupStatListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Clouderrorreporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Clouderrorreporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1955,7 +1955,7 @@ impl<'a> ProjectGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Clouderrorreporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Clouderrorreporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2240,7 +2240,7 @@ impl<'a> ProjectGroupUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Clouderrorreporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Clouderrorreporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/clouderrorreporting1_beta1/src/lib.rs b/gen/clouderrorreporting1_beta1/src/lib.rs index 4eb3ef9eff..039152835b 100644 --- a/gen/clouderrorreporting1_beta1/src/lib.rs +++ b/gen/clouderrorreporting1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Clouderrorreporting* crate version *3.0.0+20220302*, where *20220302* is the exact revision of the *clouderrorreporting:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Clouderrorreporting* crate version *3.1.0+20220302*, where *20220302* is the exact revision of the *clouderrorreporting:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Clouderrorreporting* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/error-reporting/). @@ -93,7 +93,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Clouderrorreporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Clouderrorreporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/cloudfunctions1-cli/Cargo.toml b/gen/cloudfunctions1-cli/Cargo.toml index 538957d71f..7a8902dc7b 100644 --- a/gen/cloudfunctions1-cli/Cargo.toml +++ b/gen/cloudfunctions1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudfunctions1-cli" -version = "3.0.0+20220224" +version = "3.1.0+20220224" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Functions (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudfunctions1-cli" @@ -20,12 +20,12 @@ name = "cloudfunctions1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudfunctions1] path = "../cloudfunctions1" -version = "3.0.0+20220224" +version = "3.1.0+20220224" diff --git a/gen/cloudfunctions1-cli/README.md b/gen/cloudfunctions1-cli/README.md index 97f788b26f..4477d52f99 100644 --- a/gen/cloudfunctions1-cli/README.md +++ b/gen/cloudfunctions1-cli/README.md @@ -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 *Cloud Functions* API at revision *20220224*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Functions* API at revision *20220224*. The CLI is at version *3.1.0*. ```bash cloudfunctions1 [options] diff --git a/gen/cloudfunctions1-cli/mkdocs.yml b/gen/cloudfunctions1-cli/mkdocs.yml index 0ad104681d..55514ae2df 100644 --- a/gen/cloudfunctions1-cli/mkdocs.yml +++ b/gen/cloudfunctions1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Functions v3.0.0+20220224 +site_name: Cloud Functions v3.1.0+20220224 site_url: http://byron.github.io/google-apis-rs/google-cloudfunctions1-cli site_description: A complete library to interact with Cloud Functions (protocol v1) diff --git a/gen/cloudfunctions1-cli/src/main.rs b/gen/cloudfunctions1-cli/src/main.rs index baa00d6e7c..491c982d1b 100644 --- a/gen/cloudfunctions1-cli/src/main.rs +++ b/gen/cloudfunctions1-cli/src/main.rs @@ -1205,7 +1205,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/cloudfunctions1", 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::CloudFunctions::new(client, auth), @@ -1594,7 +1600,7 @@ async fn main() { let mut app = App::new("cloudfunctions1") .author("Sebastian Thiel ") - .version("3.0.0+20220224") + .version("3.1.0+20220224") .about("Manages lightweight user-provided functions executed in response to events.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudfunctions1_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudfunctions1/Cargo.toml b/gen/cloudfunctions1/Cargo.toml index 23a37451b6..8c20f705d8 100644 --- a/gen/cloudfunctions1/Cargo.toml +++ b/gen/cloudfunctions1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudfunctions1" -version = "3.0.0+20220224" +version = "3.1.0+20220224" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Functions (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudfunctions1" homepage = "https://cloud.google.com/functions" -documentation = "https://docs.rs/google-cloudfunctions1/3.0.0+20220224" +documentation = "https://docs.rs/google-cloudfunctions1/3.1.0+20220224" license = "MIT" keywords = ["cloudfunctions", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/cloudfunctions1/README.md b/gen/cloudfunctions1/README.md index c068e8cf15..c0f111c207 100644 --- a/gen/cloudfunctions1/README.md +++ b/gen/cloudfunctions1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-cloudfunctions1` library allows access to all features of the *Google Cloud Functions* service. -This documentation was generated from *Cloud Functions* crate version *3.0.0+20220224*, where *20220224* is the exact revision of the *cloudfunctions:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Functions* crate version *3.1.0+20220224*, where *20220224* is the exact revision of the *cloudfunctions:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Functions* *v1* API can be found at the [official documentation site](https://cloud.google.com/functions). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudfunctions1/3.0.0+20220224/google_cloudfunctions1/CloudFunctions) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudfunctions1/3.1.0+20220224/google_cloudfunctions1/CloudFunctions) ... -* [operations](https://docs.rs/google-cloudfunctions1/3.0.0+20220224/google_cloudfunctions1/api::Operation) - * [*get*](https://docs.rs/google-cloudfunctions1/3.0.0+20220224/google_cloudfunctions1/api::OperationGetCall) and [*list*](https://docs.rs/google-cloudfunctions1/3.0.0+20220224/google_cloudfunctions1/api::OperationListCall) +* [operations](https://docs.rs/google-cloudfunctions1/3.1.0+20220224/google_cloudfunctions1/api::Operation) + * [*get*](https://docs.rs/google-cloudfunctions1/3.1.0+20220224/google_cloudfunctions1/api::OperationGetCall) and [*list*](https://docs.rs/google-cloudfunctions1/3.1.0+20220224/google_cloudfunctions1/api::OperationListCall) * projects - * [*locations functions call*](https://docs.rs/google-cloudfunctions1/3.0.0+20220224/google_cloudfunctions1/api::ProjectLocationFunctionCallCall), [*locations functions create*](https://docs.rs/google-cloudfunctions1/3.0.0+20220224/google_cloudfunctions1/api::ProjectLocationFunctionCreateCall), [*locations functions delete*](https://docs.rs/google-cloudfunctions1/3.0.0+20220224/google_cloudfunctions1/api::ProjectLocationFunctionDeleteCall), [*locations functions generate download url*](https://docs.rs/google-cloudfunctions1/3.0.0+20220224/google_cloudfunctions1/api::ProjectLocationFunctionGenerateDownloadUrlCall), [*locations functions generate upload url*](https://docs.rs/google-cloudfunctions1/3.0.0+20220224/google_cloudfunctions1/api::ProjectLocationFunctionGenerateUploadUrlCall), [*locations functions get*](https://docs.rs/google-cloudfunctions1/3.0.0+20220224/google_cloudfunctions1/api::ProjectLocationFunctionGetCall), [*locations functions get iam policy*](https://docs.rs/google-cloudfunctions1/3.0.0+20220224/google_cloudfunctions1/api::ProjectLocationFunctionGetIamPolicyCall), [*locations functions list*](https://docs.rs/google-cloudfunctions1/3.0.0+20220224/google_cloudfunctions1/api::ProjectLocationFunctionListCall), [*locations functions patch*](https://docs.rs/google-cloudfunctions1/3.0.0+20220224/google_cloudfunctions1/api::ProjectLocationFunctionPatchCall), [*locations functions set iam policy*](https://docs.rs/google-cloudfunctions1/3.0.0+20220224/google_cloudfunctions1/api::ProjectLocationFunctionSetIamPolicyCall), [*locations functions test iam permissions*](https://docs.rs/google-cloudfunctions1/3.0.0+20220224/google_cloudfunctions1/api::ProjectLocationFunctionTestIamPermissionCall) and [*locations list*](https://docs.rs/google-cloudfunctions1/3.0.0+20220224/google_cloudfunctions1/api::ProjectLocationListCall) + * [*locations functions call*](https://docs.rs/google-cloudfunctions1/3.1.0+20220224/google_cloudfunctions1/api::ProjectLocationFunctionCallCall), [*locations functions create*](https://docs.rs/google-cloudfunctions1/3.1.0+20220224/google_cloudfunctions1/api::ProjectLocationFunctionCreateCall), [*locations functions delete*](https://docs.rs/google-cloudfunctions1/3.1.0+20220224/google_cloudfunctions1/api::ProjectLocationFunctionDeleteCall), [*locations functions generate download url*](https://docs.rs/google-cloudfunctions1/3.1.0+20220224/google_cloudfunctions1/api::ProjectLocationFunctionGenerateDownloadUrlCall), [*locations functions generate upload url*](https://docs.rs/google-cloudfunctions1/3.1.0+20220224/google_cloudfunctions1/api::ProjectLocationFunctionGenerateUploadUrlCall), [*locations functions get*](https://docs.rs/google-cloudfunctions1/3.1.0+20220224/google_cloudfunctions1/api::ProjectLocationFunctionGetCall), [*locations functions get iam policy*](https://docs.rs/google-cloudfunctions1/3.1.0+20220224/google_cloudfunctions1/api::ProjectLocationFunctionGetIamPolicyCall), [*locations functions list*](https://docs.rs/google-cloudfunctions1/3.1.0+20220224/google_cloudfunctions1/api::ProjectLocationFunctionListCall), [*locations functions patch*](https://docs.rs/google-cloudfunctions1/3.1.0+20220224/google_cloudfunctions1/api::ProjectLocationFunctionPatchCall), [*locations functions set iam policy*](https://docs.rs/google-cloudfunctions1/3.1.0+20220224/google_cloudfunctions1/api::ProjectLocationFunctionSetIamPolicyCall), [*locations functions test iam permissions*](https://docs.rs/google-cloudfunctions1/3.1.0+20220224/google_cloudfunctions1/api::ProjectLocationFunctionTestIamPermissionCall) and [*locations list*](https://docs.rs/google-cloudfunctions1/3.1.0+20220224/google_cloudfunctions1/api::ProjectLocationListCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudfunctions1/3.0.0+20220224/google_cloudfunctions1/CloudFunctions)** +* **[Hub](https://docs.rs/google-cloudfunctions1/3.1.0+20220224/google_cloudfunctions1/CloudFunctions)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudfunctions1/3.0.0+20220224/google_cloudfunctions1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudfunctions1/3.0.0+20220224/google_cloudfunctions1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudfunctions1/3.0.0+20220224/google_cloudfunctions1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudfunctions1/3.1.0+20220224/google_cloudfunctions1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudfunctions1/3.1.0+20220224/google_cloudfunctions1/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudfunctions1/3.1.0+20220224/google_cloudfunctions1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudfunctions1/3.0.0+20220224/google_cloudfunctions1/client::Part)** + * **[Parts](https://docs.rs/google-cloudfunctions1/3.1.0+20220224/google_cloudfunctions1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudfunctions1/3.0.0+20220224/google_cloudfunctions1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudfunctions1/3.1.0+20220224/google_cloudfunctions1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -96,7 +96,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudFunctions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudFunctions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -128,17 +128,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudfunctions1/3.0.0+20220224/google_cloudfunctions1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudfunctions1/3.1.0+20220224/google_cloudfunctions1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudfunctions1/3.0.0+20220224/google_cloudfunctions1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudfunctions1/3.1.0+20220224/google_cloudfunctions1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudfunctions1/3.0.0+20220224/google_cloudfunctions1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudfunctions1/3.1.0+20220224/google_cloudfunctions1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudfunctions1/3.0.0+20220224/google_cloudfunctions1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudfunctions1/3.1.0+20220224/google_cloudfunctions1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -148,29 +148,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudfunctions1/3.0.0+20220224/google_cloudfunctions1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudfunctions1/3.0.0+20220224/google_cloudfunctions1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudfunctions1/3.1.0+20220224/google_cloudfunctions1/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudfunctions1/3.1.0+20220224/google_cloudfunctions1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-cloudfunctions1/3.0.0+20220224/google_cloudfunctions1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudfunctions1/3.1.0+20220224/google_cloudfunctions1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudfunctions1/3.0.0+20220224/google_cloudfunctions1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudfunctions1/3.0.0+20220224/google_cloudfunctions1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudfunctions1/3.1.0+20220224/google_cloudfunctions1/client::RequestValue) and +[decodable](https://docs.rs/google-cloudfunctions1/3.1.0+20220224/google_cloudfunctions1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudfunctions1/3.0.0+20220224/google_cloudfunctions1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudfunctions1/3.1.0+20220224/google_cloudfunctions1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-cloudfunctions1/3.0.0+20220224/google_cloudfunctions1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudfunctions1/3.1.0+20220224/google_cloudfunctions1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-cloudfunctions1/3.0.0+20220224/google_cloudfunctions1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudfunctions1/3.1.0+20220224/google_cloudfunctions1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudfunctions1/src/api.rs b/gen/cloudfunctions1/src/api.rs index 13c62df37a..afa2068b55 100644 --- a/gen/cloudfunctions1/src/api.rs +++ b/gen/cloudfunctions1/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudFunctions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudFunctions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -117,7 +117,7 @@ impl<'a, > CloudFunctions<> { CloudFunctions { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://cloudfunctions.googleapis.com/".to_string(), _root_url: "https://cloudfunctions.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > CloudFunctions<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -829,7 +829,7 @@ impl client::ResponseResult for TestIamPermissionsResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudFunctions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudFunctions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -903,7 +903,7 @@ impl<'a> OperationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudFunctions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudFunctions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_functions_call(...)`, `locations_functions_create(...)`, `locations_functions_delete(...)`, `locations_functions_generate_download_url(...)`, `locations_functions_generate_upload_url(...)`, `locations_functions_get(...)`, `locations_functions_get_iam_policy(...)`, `locations_functions_list(...)`, `locations_functions_patch(...)`, `locations_functions_set_iam_policy(...)`, `locations_functions_test_iam_permissions(...)` and `locations_list(...)` /// // to build up your call. @@ -1176,7 +1176,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFunctions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFunctions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1432,7 +1432,7 @@ impl<'a> OperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFunctions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFunctions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1700,7 +1700,7 @@ impl<'a> OperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFunctions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFunctions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1986,7 +1986,7 @@ impl<'a> ProjectLocationFunctionCallCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFunctions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFunctions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2271,7 +2271,7 @@ impl<'a> ProjectLocationFunctionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFunctions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFunctions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2528,7 +2528,7 @@ impl<'a> ProjectLocationFunctionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFunctions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFunctions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2814,7 +2814,7 @@ impl<'a> ProjectLocationFunctionGenerateDownloadUrlCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFunctions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFunctions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3099,7 +3099,7 @@ impl<'a> ProjectLocationFunctionGenerateUploadUrlCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFunctions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFunctions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3355,7 +3355,7 @@ impl<'a> ProjectLocationFunctionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFunctions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFunctions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3623,7 +3623,7 @@ impl<'a> ProjectLocationFunctionGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFunctions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFunctions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3904,7 +3904,7 @@ impl<'a> ProjectLocationFunctionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFunctions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFunctions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4202,7 +4202,7 @@ impl<'a> ProjectLocationFunctionPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFunctions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFunctions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4488,7 +4488,7 @@ impl<'a> ProjectLocationFunctionSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFunctions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFunctions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4773,7 +4773,7 @@ impl<'a> ProjectLocationFunctionTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFunctions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFunctions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/cloudfunctions1/src/lib.rs b/gen/cloudfunctions1/src/lib.rs index 436bf0b1b5..083fcfcb7c 100644 --- a/gen/cloudfunctions1/src/lib.rs +++ b/gen/cloudfunctions1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Functions* crate version *3.0.0+20220224*, where *20220224* is the exact revision of the *cloudfunctions:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Functions* crate version *3.1.0+20220224*, where *20220224* is the exact revision of the *cloudfunctions:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Functions* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/functions). @@ -97,7 +97,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudFunctions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudFunctions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/cloudidentity1-cli/Cargo.toml b/gen/cloudidentity1-cli/Cargo.toml index 5aad58bf28..69285fd72d 100644 --- a/gen/cloudidentity1-cli/Cargo.toml +++ b/gen/cloudidentity1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudidentity1-cli" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Identity (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudidentity1-cli" @@ -20,12 +20,12 @@ name = "cloudidentity1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudidentity1] path = "../cloudidentity1" -version = "3.0.0+20220301" +version = "3.1.0+20220301" diff --git a/gen/cloudidentity1-cli/README.md b/gen/cloudidentity1-cli/README.md index 2dfff62f94..2db427a265 100644 --- a/gen/cloudidentity1-cli/README.md +++ b/gen/cloudidentity1-cli/README.md @@ -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 *Cloud Identity* API at revision *20220301*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Identity* API at revision *20220301*. The CLI is at version *3.1.0*. ```bash cloudidentity1 [options] diff --git a/gen/cloudidentity1-cli/mkdocs.yml b/gen/cloudidentity1-cli/mkdocs.yml index 12f14a97af..0b56e3f319 100644 --- a/gen/cloudidentity1-cli/mkdocs.yml +++ b/gen/cloudidentity1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Identity v3.0.0+20220301 +site_name: Cloud Identity v3.1.0+20220301 site_url: http://byron.github.io/google-apis-rs/google-cloudidentity1-cli site_description: A complete library to interact with Cloud Identity (protocol v1) diff --git a/gen/cloudidentity1-cli/src/main.rs b/gen/cloudidentity1-cli/src/main.rs index 7043662492..7fb7d7c6b6 100644 --- a/gen/cloudidentity1-cli/src/main.rs +++ b/gen/cloudidentity1-cli/src/main.rs @@ -2760,7 +2760,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/cloudidentity1", 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::CloudIdentity::new(client, auth), @@ -3639,7 +3645,7 @@ async fn main() { let mut app = App::new("cloudidentity1") .author("Sebastian Thiel ") - .version("3.0.0+20220301") + .version("3.1.0+20220301") .about("API for provisioning and managing identity resources.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudidentity1_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudidentity1/Cargo.toml b/gen/cloudidentity1/Cargo.toml index effa9ac914..192bc2e6d9 100644 --- a/gen/cloudidentity1/Cargo.toml +++ b/gen/cloudidentity1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudidentity1" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Identity (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudidentity1" homepage = "https://cloud.google.com/identity/" -documentation = "https://docs.rs/google-cloudidentity1/3.0.0+20220301" +documentation = "https://docs.rs/google-cloudidentity1/3.1.0+20220301" license = "MIT" keywords = ["cloudidentity", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/cloudidentity1/README.md b/gen/cloudidentity1/README.md index 8b937ec0af..6ab16ab4cd 100644 --- a/gen/cloudidentity1/README.md +++ b/gen/cloudidentity1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-cloudidentity1` library allows access to all features of the *Google Cloud Identity* service. -This documentation was generated from *Cloud Identity* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *cloudidentity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Identity* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *cloudidentity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Identity* *v1* API can be found at the [official documentation site](https://cloud.google.com/identity/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/CloudIdentity) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/CloudIdentity) ... * devices - * [*cancel wipe*](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/api::DeviceCancelWipeCall), [*create*](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/api::DeviceCreateCall), [*delete*](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/api::DeviceDeleteCall), [*device users approve*](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/api::DeviceDeviceUserApproveCall), [*device users block*](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/api::DeviceDeviceUserBlockCall), [*device users cancel wipe*](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/api::DeviceDeviceUserCancelWipeCall), [*device users client states get*](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/api::DeviceDeviceUserClientStateGetCall), [*device users client states list*](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/api::DeviceDeviceUserClientStateListCall), [*device users client states patch*](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/api::DeviceDeviceUserClientStatePatchCall), [*device users delete*](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/api::DeviceDeviceUserDeleteCall), [*device users get*](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/api::DeviceDeviceUserGetCall), [*device users list*](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/api::DeviceDeviceUserListCall), [*device users lookup*](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/api::DeviceDeviceUserLookupCall), [*device users wipe*](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/api::DeviceDeviceUserWipeCall), [*get*](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/api::DeviceGetCall), [*list*](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/api::DeviceListCall) and [*wipe*](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/api::DeviceWipeCall) -* [groups](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/api::Group) - * [*create*](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/api::GroupCreateCall), [*delete*](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/api::GroupDeleteCall), [*get*](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/api::GroupGetCall), [*get security settings*](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/api::GroupGetSecuritySettingCall), [*list*](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/api::GroupListCall), [*lookup*](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/api::GroupLookupCall), [*memberships check transitive membership*](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/api::GroupMembershipCheckTransitiveMembershipCall), [*memberships create*](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/api::GroupMembershipCreateCall), [*memberships delete*](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/api::GroupMembershipDeleteCall), [*memberships get*](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/api::GroupMembershipGetCall), [*memberships get membership graph*](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/api::GroupMembershipGetMembershipGraphCall), [*memberships list*](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/api::GroupMembershipListCall), [*memberships lookup*](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/api::GroupMembershipLookupCall), [*memberships modify membership roles*](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/api::GroupMembershipModifyMembershipRoleCall), [*memberships search transitive groups*](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/api::GroupMembershipSearchTransitiveGroupCall), [*memberships search transitive memberships*](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/api::GroupMembershipSearchTransitiveMembershipCall), [*patch*](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/api::GroupPatchCall), [*search*](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/api::GroupSearchCall) and [*update security settings*](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/api::GroupUpdateSecuritySettingCall) + * [*cancel wipe*](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/api::DeviceCancelWipeCall), [*create*](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/api::DeviceCreateCall), [*delete*](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/api::DeviceDeleteCall), [*device users approve*](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/api::DeviceDeviceUserApproveCall), [*device users block*](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/api::DeviceDeviceUserBlockCall), [*device users cancel wipe*](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/api::DeviceDeviceUserCancelWipeCall), [*device users client states get*](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/api::DeviceDeviceUserClientStateGetCall), [*device users client states list*](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/api::DeviceDeviceUserClientStateListCall), [*device users client states patch*](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/api::DeviceDeviceUserClientStatePatchCall), [*device users delete*](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/api::DeviceDeviceUserDeleteCall), [*device users get*](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/api::DeviceDeviceUserGetCall), [*device users list*](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/api::DeviceDeviceUserListCall), [*device users lookup*](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/api::DeviceDeviceUserLookupCall), [*device users wipe*](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/api::DeviceDeviceUserWipeCall), [*get*](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/api::DeviceGetCall), [*list*](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/api::DeviceListCall) and [*wipe*](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/api::DeviceWipeCall) +* [groups](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/api::Group) + * [*create*](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/api::GroupCreateCall), [*delete*](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/api::GroupDeleteCall), [*get*](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/api::GroupGetCall), [*get security settings*](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/api::GroupGetSecuritySettingCall), [*list*](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/api::GroupListCall), [*lookup*](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/api::GroupLookupCall), [*memberships check transitive membership*](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/api::GroupMembershipCheckTransitiveMembershipCall), [*memberships create*](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/api::GroupMembershipCreateCall), [*memberships delete*](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/api::GroupMembershipDeleteCall), [*memberships get*](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/api::GroupMembershipGetCall), [*memberships get membership graph*](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/api::GroupMembershipGetMembershipGraphCall), [*memberships list*](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/api::GroupMembershipListCall), [*memberships lookup*](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/api::GroupMembershipLookupCall), [*memberships modify membership roles*](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/api::GroupMembershipModifyMembershipRoleCall), [*memberships search transitive groups*](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/api::GroupMembershipSearchTransitiveGroupCall), [*memberships search transitive memberships*](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/api::GroupMembershipSearchTransitiveMembershipCall), [*patch*](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/api::GroupPatchCall), [*search*](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/api::GroupSearchCall) and [*update security settings*](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/api::GroupUpdateSecuritySettingCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/CloudIdentity)** +* **[Hub](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/CloudIdentity)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/client::Part)** + * **[Parts](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -110,7 +110,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -141,17 +141,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -161,29 +161,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/client::RequestValue) and +[decodable](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-cloudidentity1/3.0.0+20220301/google_cloudidentity1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudidentity1/3.1.0+20220301/google_cloudidentity1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudidentity1/src/api.rs b/gen/cloudidentity1/src/api.rs index 7329584ff2..c5d28f90af 100644 --- a/gen/cloudidentity1/src/api.rs +++ b/gen/cloudidentity1/src/api.rs @@ -90,7 +90,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -136,7 +136,7 @@ impl<'a, > CloudIdentity<> { CloudIdentity { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://cloudidentity.googleapis.com/".to_string(), _root_url: "https://cloudidentity.googleapis.com/".to_string(), } @@ -150,7 +150,7 @@ impl<'a, > CloudIdentity<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1243,7 +1243,7 @@ impl client::Part for UpdateMembershipRolesParams {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `cancel_wipe(...)`, `create(...)`, `delete(...)`, `device_users_approve(...)`, `device_users_block(...)`, `device_users_cancel_wipe(...)`, `device_users_client_states_get(...)`, `device_users_client_states_list(...)`, `device_users_client_states_patch(...)`, `device_users_delete(...)`, `device_users_get(...)`, `device_users_list(...)`, `device_users_lookup(...)`, `device_users_wipe(...)`, `get(...)`, `list(...)` and `wipe(...)` /// // to build up your call. @@ -1610,7 +1610,7 @@ impl<'a> DeviceMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)`, `get(...)`, `get_security_settings(...)`, `list(...)`, `lookup(...)`, `memberships_check_transitive_membership(...)`, `memberships_create(...)`, `memberships_delete(...)`, `memberships_get(...)`, `memberships_get_membership_graph(...)`, `memberships_list(...)`, `memberships_lookup(...)`, `memberships_modify_membership_roles(...)`, `memberships_search_transitive_groups(...)`, `memberships_search_transitive_memberships(...)`, `patch(...)`, `search(...)` and `update_security_settings(...)` /// // to build up your call. @@ -2000,7 +2000,7 @@ impl<'a> GroupMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2268,7 +2268,7 @@ impl<'a> DeviceDeviceUserClientStateGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2573,7 +2573,7 @@ impl<'a> DeviceDeviceUserClientStateListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2883,7 +2883,7 @@ impl<'a> DeviceDeviceUserClientStatePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3169,7 +3169,7 @@ impl<'a> DeviceDeviceUserApproveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3455,7 +3455,7 @@ impl<'a> DeviceDeviceUserBlockCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3740,7 +3740,7 @@ impl<'a> DeviceDeviceUserCancelWipeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4008,7 +4008,7 @@ impl<'a> DeviceDeviceUserDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4276,7 +4276,7 @@ impl<'a> DeviceDeviceUserGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4592,7 +4592,7 @@ impl<'a> DeviceDeviceUserListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4909,7 +4909,7 @@ impl<'a> DeviceDeviceUserLookupCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5195,7 +5195,7 @@ impl<'a> DeviceDeviceUserWipeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5481,7 +5481,7 @@ impl<'a> DeviceCancelWipeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5741,7 +5741,7 @@ impl<'a> DeviceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6009,7 +6009,7 @@ impl<'a> DeviceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6277,7 +6277,7 @@ impl<'a> DeviceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6569,7 +6569,7 @@ impl<'a> DeviceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6854,7 +6854,7 @@ impl<'a> DeviceWipeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7123,7 +7123,7 @@ impl<'a> GroupMembershipCheckTransitiveMembershipCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7408,7 +7408,7 @@ impl<'a> GroupMembershipCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7664,7 +7664,7 @@ impl<'a> GroupMembershipDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7920,7 +7920,7 @@ impl<'a> GroupMembershipGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8188,7 +8188,7 @@ impl<'a> GroupMembershipGetMembershipGraphCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8480,7 +8480,7 @@ impl<'a> GroupMembershipListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8761,7 +8761,7 @@ impl<'a> GroupMembershipLookupCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9046,7 +9046,7 @@ impl<'a> GroupMembershipModifyMembershipRoleCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9338,7 +9338,7 @@ impl<'a> GroupMembershipSearchTransitiveGroupCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9619,7 +9619,7 @@ impl<'a> GroupMembershipSearchTransitiveMembershipCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9879,7 +9879,7 @@ impl<'a> GroupCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10135,7 +10135,7 @@ impl<'a> GroupDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10391,7 +10391,7 @@ impl<'a> GroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10659,7 +10659,7 @@ impl<'a> GroupGetSecuritySettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10926,7 +10926,7 @@ impl<'a> GroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11170,7 +11170,7 @@ impl<'a> GroupLookupCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11467,7 +11467,7 @@ impl<'a> GroupPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11735,7 +11735,7 @@ impl<'a> GroupSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/cloudidentity1/src/lib.rs b/gen/cloudidentity1/src/lib.rs index baa7cd2587..111e3e5b2a 100644 --- a/gen/cloudidentity1/src/lib.rs +++ b/gen/cloudidentity1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Identity* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *cloudidentity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Identity* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *cloudidentity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Identity* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/identity/). @@ -111,7 +111,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudIdentity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/cloudiot1-cli/Cargo.toml b/gen/cloudiot1-cli/Cargo.toml index 1644af9104..c59dbc5e8d 100644 --- a/gen/cloudiot1-cli/Cargo.toml +++ b/gen/cloudiot1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudiot1-cli" -version = "3.0.0+20220131" +version = "3.1.0+20220131" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Iot (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudiot1-cli" @@ -20,12 +20,12 @@ name = "cloudiot1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudiot1] path = "../cloudiot1" -version = "3.0.0+20220131" +version = "3.1.0+20220131" diff --git a/gen/cloudiot1-cli/README.md b/gen/cloudiot1-cli/README.md index 0b4e58b60b..3939f861ac 100644 --- a/gen/cloudiot1-cli/README.md +++ b/gen/cloudiot1-cli/README.md @@ -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 *Cloud Iot* API at revision *20220131*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Iot* API at revision *20220131*. The CLI is at version *3.1.0*. ```bash cloudiot1 [options] diff --git a/gen/cloudiot1-cli/mkdocs.yml b/gen/cloudiot1-cli/mkdocs.yml index 477b93ff1d..f6db83d77e 100644 --- a/gen/cloudiot1-cli/mkdocs.yml +++ b/gen/cloudiot1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Iot v3.0.0+20220131 +site_name: Cloud Iot v3.1.0+20220131 site_url: http://byron.github.io/google-apis-rs/google-cloudiot1-cli site_description: A complete library to interact with Cloud Iot (protocol v1) diff --git a/gen/cloudiot1-cli/src/main.rs b/gen/cloudiot1-cli/src/main.rs index 8cb1265810..1b640c848a 100644 --- a/gen/cloudiot1-cli/src/main.rs +++ b/gen/cloudiot1-cli/src/main.rs @@ -1955,7 +1955,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/cloudiot1", 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::CloudIot::new(client, auth), @@ -2587,7 +2593,7 @@ async fn main() { let mut app = App::new("cloudiot1") .author("Sebastian Thiel ") - .version("3.0.0+20220131") + .version("3.1.0+20220131") .about("Registers and manages IoT (Internet of Things) devices that connect to the Google Cloud Platform. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudiot1_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudiot1/Cargo.toml b/gen/cloudiot1/Cargo.toml index 55d71d2597..431433c058 100644 --- a/gen/cloudiot1/Cargo.toml +++ b/gen/cloudiot1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudiot1" -version = "3.0.0+20220131" +version = "3.1.0+20220131" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Iot (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudiot1" homepage = "https://cloud.google.com/iot" -documentation = "https://docs.rs/google-cloudiot1/3.0.0+20220131" +documentation = "https://docs.rs/google-cloudiot1/3.1.0+20220131" license = "MIT" keywords = ["cloudiot", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/cloudiot1/README.md b/gen/cloudiot1/README.md index 2890043a44..627fc10026 100644 --- a/gen/cloudiot1/README.md +++ b/gen/cloudiot1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-cloudiot1` library allows access to all features of the *Google Cloud Iot* service. -This documentation was generated from *Cloud Iot* crate version *3.0.0+20220131*, where *20220131* is the exact revision of the *cloudiot:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Iot* crate version *3.1.0+20220131*, where *20220131* is the exact revision of the *cloudiot:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Iot* *v1* API can be found at the [official documentation site](https://cloud.google.com/iot). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudiot1/3.0.0+20220131/google_cloudiot1/CloudIot) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudiot1/3.1.0+20220131/google_cloudiot1/CloudIot) ... * projects - * [*locations registries bind device to gateway*](https://docs.rs/google-cloudiot1/3.0.0+20220131/google_cloudiot1/api::ProjectLocationRegistryBindDeviceToGatewayCall), [*locations registries create*](https://docs.rs/google-cloudiot1/3.0.0+20220131/google_cloudiot1/api::ProjectLocationRegistryCreateCall), [*locations registries delete*](https://docs.rs/google-cloudiot1/3.0.0+20220131/google_cloudiot1/api::ProjectLocationRegistryDeleteCall), [*locations registries devices config versions list*](https://docs.rs/google-cloudiot1/3.0.0+20220131/google_cloudiot1/api::ProjectLocationRegistryDeviceConfigVersionListCall), [*locations registries devices create*](https://docs.rs/google-cloudiot1/3.0.0+20220131/google_cloudiot1/api::ProjectLocationRegistryDeviceCreateCall), [*locations registries devices delete*](https://docs.rs/google-cloudiot1/3.0.0+20220131/google_cloudiot1/api::ProjectLocationRegistryDeviceDeleteCall), [*locations registries devices get*](https://docs.rs/google-cloudiot1/3.0.0+20220131/google_cloudiot1/api::ProjectLocationRegistryDeviceGetCall), [*locations registries devices list*](https://docs.rs/google-cloudiot1/3.0.0+20220131/google_cloudiot1/api::ProjectLocationRegistryDeviceListCall), [*locations registries devices modify cloud to device config*](https://docs.rs/google-cloudiot1/3.0.0+20220131/google_cloudiot1/api::ProjectLocationRegistryDeviceModifyCloudToDeviceConfigCall), [*locations registries devices patch*](https://docs.rs/google-cloudiot1/3.0.0+20220131/google_cloudiot1/api::ProjectLocationRegistryDevicePatchCall), [*locations registries devices send command to device*](https://docs.rs/google-cloudiot1/3.0.0+20220131/google_cloudiot1/api::ProjectLocationRegistryDeviceSendCommandToDeviceCall), [*locations registries devices states list*](https://docs.rs/google-cloudiot1/3.0.0+20220131/google_cloudiot1/api::ProjectLocationRegistryDeviceStateListCall), [*locations registries get*](https://docs.rs/google-cloudiot1/3.0.0+20220131/google_cloudiot1/api::ProjectLocationRegistryGetCall), [*locations registries get iam policy*](https://docs.rs/google-cloudiot1/3.0.0+20220131/google_cloudiot1/api::ProjectLocationRegistryGetIamPolicyCall), [*locations registries groups devices list*](https://docs.rs/google-cloudiot1/3.0.0+20220131/google_cloudiot1/api::ProjectLocationRegistryGroupDeviceListCall), [*locations registries groups get iam policy*](https://docs.rs/google-cloudiot1/3.0.0+20220131/google_cloudiot1/api::ProjectLocationRegistryGroupGetIamPolicyCall), [*locations registries groups set iam policy*](https://docs.rs/google-cloudiot1/3.0.0+20220131/google_cloudiot1/api::ProjectLocationRegistryGroupSetIamPolicyCall), [*locations registries groups test iam permissions*](https://docs.rs/google-cloudiot1/3.0.0+20220131/google_cloudiot1/api::ProjectLocationRegistryGroupTestIamPermissionCall), [*locations registries list*](https://docs.rs/google-cloudiot1/3.0.0+20220131/google_cloudiot1/api::ProjectLocationRegistryListCall), [*locations registries patch*](https://docs.rs/google-cloudiot1/3.0.0+20220131/google_cloudiot1/api::ProjectLocationRegistryPatchCall), [*locations registries set iam policy*](https://docs.rs/google-cloudiot1/3.0.0+20220131/google_cloudiot1/api::ProjectLocationRegistrySetIamPolicyCall), [*locations registries test iam permissions*](https://docs.rs/google-cloudiot1/3.0.0+20220131/google_cloudiot1/api::ProjectLocationRegistryTestIamPermissionCall) and [*locations registries unbind device from gateway*](https://docs.rs/google-cloudiot1/3.0.0+20220131/google_cloudiot1/api::ProjectLocationRegistryUnbindDeviceFromGatewayCall) + * [*locations registries bind device to gateway*](https://docs.rs/google-cloudiot1/3.1.0+20220131/google_cloudiot1/api::ProjectLocationRegistryBindDeviceToGatewayCall), [*locations registries create*](https://docs.rs/google-cloudiot1/3.1.0+20220131/google_cloudiot1/api::ProjectLocationRegistryCreateCall), [*locations registries delete*](https://docs.rs/google-cloudiot1/3.1.0+20220131/google_cloudiot1/api::ProjectLocationRegistryDeleteCall), [*locations registries devices config versions list*](https://docs.rs/google-cloudiot1/3.1.0+20220131/google_cloudiot1/api::ProjectLocationRegistryDeviceConfigVersionListCall), [*locations registries devices create*](https://docs.rs/google-cloudiot1/3.1.0+20220131/google_cloudiot1/api::ProjectLocationRegistryDeviceCreateCall), [*locations registries devices delete*](https://docs.rs/google-cloudiot1/3.1.0+20220131/google_cloudiot1/api::ProjectLocationRegistryDeviceDeleteCall), [*locations registries devices get*](https://docs.rs/google-cloudiot1/3.1.0+20220131/google_cloudiot1/api::ProjectLocationRegistryDeviceGetCall), [*locations registries devices list*](https://docs.rs/google-cloudiot1/3.1.0+20220131/google_cloudiot1/api::ProjectLocationRegistryDeviceListCall), [*locations registries devices modify cloud to device config*](https://docs.rs/google-cloudiot1/3.1.0+20220131/google_cloudiot1/api::ProjectLocationRegistryDeviceModifyCloudToDeviceConfigCall), [*locations registries devices patch*](https://docs.rs/google-cloudiot1/3.1.0+20220131/google_cloudiot1/api::ProjectLocationRegistryDevicePatchCall), [*locations registries devices send command to device*](https://docs.rs/google-cloudiot1/3.1.0+20220131/google_cloudiot1/api::ProjectLocationRegistryDeviceSendCommandToDeviceCall), [*locations registries devices states list*](https://docs.rs/google-cloudiot1/3.1.0+20220131/google_cloudiot1/api::ProjectLocationRegistryDeviceStateListCall), [*locations registries get*](https://docs.rs/google-cloudiot1/3.1.0+20220131/google_cloudiot1/api::ProjectLocationRegistryGetCall), [*locations registries get iam policy*](https://docs.rs/google-cloudiot1/3.1.0+20220131/google_cloudiot1/api::ProjectLocationRegistryGetIamPolicyCall), [*locations registries groups devices list*](https://docs.rs/google-cloudiot1/3.1.0+20220131/google_cloudiot1/api::ProjectLocationRegistryGroupDeviceListCall), [*locations registries groups get iam policy*](https://docs.rs/google-cloudiot1/3.1.0+20220131/google_cloudiot1/api::ProjectLocationRegistryGroupGetIamPolicyCall), [*locations registries groups set iam policy*](https://docs.rs/google-cloudiot1/3.1.0+20220131/google_cloudiot1/api::ProjectLocationRegistryGroupSetIamPolicyCall), [*locations registries groups test iam permissions*](https://docs.rs/google-cloudiot1/3.1.0+20220131/google_cloudiot1/api::ProjectLocationRegistryGroupTestIamPermissionCall), [*locations registries list*](https://docs.rs/google-cloudiot1/3.1.0+20220131/google_cloudiot1/api::ProjectLocationRegistryListCall), [*locations registries patch*](https://docs.rs/google-cloudiot1/3.1.0+20220131/google_cloudiot1/api::ProjectLocationRegistryPatchCall), [*locations registries set iam policy*](https://docs.rs/google-cloudiot1/3.1.0+20220131/google_cloudiot1/api::ProjectLocationRegistrySetIamPolicyCall), [*locations registries test iam permissions*](https://docs.rs/google-cloudiot1/3.1.0+20220131/google_cloudiot1/api::ProjectLocationRegistryTestIamPermissionCall) and [*locations registries unbind device from gateway*](https://docs.rs/google-cloudiot1/3.1.0+20220131/google_cloudiot1/api::ProjectLocationRegistryUnbindDeviceFromGatewayCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudiot1/3.0.0+20220131/google_cloudiot1/CloudIot)** +* **[Hub](https://docs.rs/google-cloudiot1/3.1.0+20220131/google_cloudiot1/CloudIot)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudiot1/3.0.0+20220131/google_cloudiot1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudiot1/3.0.0+20220131/google_cloudiot1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudiot1/3.0.0+20220131/google_cloudiot1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudiot1/3.1.0+20220131/google_cloudiot1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudiot1/3.1.0+20220131/google_cloudiot1/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudiot1/3.1.0+20220131/google_cloudiot1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudiot1/3.0.0+20220131/google_cloudiot1/client::Part)** + * **[Parts](https://docs.rs/google-cloudiot1/3.1.0+20220131/google_cloudiot1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudiot1/3.0.0+20220131/google_cloudiot1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudiot1/3.1.0+20220131/google_cloudiot1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -94,7 +94,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -127,17 +127,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudiot1/3.0.0+20220131/google_cloudiot1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudiot1/3.1.0+20220131/google_cloudiot1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudiot1/3.0.0+20220131/google_cloudiot1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudiot1/3.1.0+20220131/google_cloudiot1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudiot1/3.0.0+20220131/google_cloudiot1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudiot1/3.1.0+20220131/google_cloudiot1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudiot1/3.0.0+20220131/google_cloudiot1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudiot1/3.1.0+20220131/google_cloudiot1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -147,29 +147,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudiot1/3.0.0+20220131/google_cloudiot1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudiot1/3.0.0+20220131/google_cloudiot1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudiot1/3.1.0+20220131/google_cloudiot1/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudiot1/3.1.0+20220131/google_cloudiot1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-cloudiot1/3.0.0+20220131/google_cloudiot1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudiot1/3.1.0+20220131/google_cloudiot1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudiot1/3.0.0+20220131/google_cloudiot1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudiot1/3.0.0+20220131/google_cloudiot1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudiot1/3.1.0+20220131/google_cloudiot1/client::RequestValue) and +[decodable](https://docs.rs/google-cloudiot1/3.1.0+20220131/google_cloudiot1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudiot1/3.0.0+20220131/google_cloudiot1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudiot1/3.1.0+20220131/google_cloudiot1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-cloudiot1/3.0.0+20220131/google_cloudiot1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudiot1/3.1.0+20220131/google_cloudiot1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-cloudiot1/3.0.0+20220131/google_cloudiot1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudiot1/3.1.0+20220131/google_cloudiot1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudiot1/src/api.rs b/gen/cloudiot1/src/api.rs index 16bae94441..d33ec065c1 100644 --- a/gen/cloudiot1/src/api.rs +++ b/gen/cloudiot1/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -123,7 +123,7 @@ impl<'a, > CloudIot<> { CloudIot { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://cloudiot.googleapis.com/".to_string(), _root_url: "https://cloudiot.googleapis.com/".to_string(), } @@ -134,7 +134,7 @@ impl<'a, > CloudIot<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -906,7 +906,7 @@ impl client::Part for X509CertificateDetails {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_registries_bind_device_to_gateway(...)`, `locations_registries_create(...)`, `locations_registries_delete(...)`, `locations_registries_devices_config_versions_list(...)`, `locations_registries_devices_create(...)`, `locations_registries_devices_delete(...)`, `locations_registries_devices_get(...)`, `locations_registries_devices_list(...)`, `locations_registries_devices_modify_cloud_to_device_config(...)`, `locations_registries_devices_patch(...)`, `locations_registries_devices_send_command_to_device(...)`, `locations_registries_devices_states_list(...)`, `locations_registries_get(...)`, `locations_registries_get_iam_policy(...)`, `locations_registries_groups_devices_list(...)`, `locations_registries_groups_get_iam_policy(...)`, `locations_registries_groups_set_iam_policy(...)`, `locations_registries_groups_test_iam_permissions(...)`, `locations_registries_list(...)`, `locations_registries_patch(...)`, `locations_registries_set_iam_policy(...)`, `locations_registries_test_iam_permissions(...)` and `locations_registries_unbind_device_from_gateway(...)` /// // to build up your call. @@ -1396,7 +1396,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1664,7 +1664,7 @@ impl<'a> ProjectLocationRegistryDeviceConfigVersionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1933,7 +1933,7 @@ impl<'a> ProjectLocationRegistryDeviceStateListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2218,7 +2218,7 @@ impl<'a> ProjectLocationRegistryDeviceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2474,7 +2474,7 @@ impl<'a> ProjectLocationRegistryDeviceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2742,7 +2742,7 @@ impl<'a> ProjectLocationRegistryDeviceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3101,7 +3101,7 @@ impl<'a> ProjectLocationRegistryDeviceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3387,7 +3387,7 @@ impl<'a> ProjectLocationRegistryDeviceModifyCloudToDeviceConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3685,7 +3685,7 @@ impl<'a> ProjectLocationRegistryDevicePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3970,7 +3970,7 @@ impl<'a> ProjectLocationRegistryDeviceSendCommandToDeviceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4329,7 +4329,7 @@ impl<'a> ProjectLocationRegistryGroupDeviceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4615,7 +4615,7 @@ impl<'a> ProjectLocationRegistryGroupGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4901,7 +4901,7 @@ impl<'a> ProjectLocationRegistryGroupSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5187,7 +5187,7 @@ impl<'a> ProjectLocationRegistryGroupTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5473,7 +5473,7 @@ impl<'a> ProjectLocationRegistryBindDeviceToGatewayCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5758,7 +5758,7 @@ impl<'a> ProjectLocationRegistryCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6014,7 +6014,7 @@ impl<'a> ProjectLocationRegistryDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6271,7 +6271,7 @@ impl<'a> ProjectLocationRegistryGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6556,7 +6556,7 @@ impl<'a> ProjectLocationRegistryGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6837,7 +6837,7 @@ impl<'a> ProjectLocationRegistryListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7135,7 +7135,7 @@ impl<'a> ProjectLocationRegistryPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7421,7 +7421,7 @@ impl<'a> ProjectLocationRegistrySetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7707,7 +7707,7 @@ impl<'a> ProjectLocationRegistryTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/cloudiot1/src/lib.rs b/gen/cloudiot1/src/lib.rs index 327d33a92f..abae020715 100644 --- a/gen/cloudiot1/src/lib.rs +++ b/gen/cloudiot1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Iot* crate version *3.0.0+20220131*, where *20220131* is the exact revision of the *cloudiot:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Iot* crate version *3.1.0+20220131*, where *20220131* is the exact revision of the *cloudiot:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Iot* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/iot). @@ -95,7 +95,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudIot::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/cloudkms1-cli/Cargo.toml b/gen/cloudkms1-cli/Cargo.toml index b045c37162..f65be7157a 100644 --- a/gen/cloudkms1-cli/Cargo.toml +++ b/gen/cloudkms1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudkms1-cli" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud KMS (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudkms1-cli" @@ -20,12 +20,12 @@ name = "cloudkms1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudkms1] path = "../cloudkms1" -version = "3.0.0+20220225" +version = "3.1.0+20220225" diff --git a/gen/cloudkms1-cli/README.md b/gen/cloudkms1-cli/README.md index 0493876c57..4ac4db2569 100644 --- a/gen/cloudkms1-cli/README.md +++ b/gen/cloudkms1-cli/README.md @@ -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 *Cloud KMS* API at revision *20220225*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud KMS* API at revision *20220225*. The CLI is at version *3.1.0*. ```bash cloudkms1 [options] diff --git a/gen/cloudkms1-cli/mkdocs.yml b/gen/cloudkms1-cli/mkdocs.yml index e72cd70da2..f6952e3630 100644 --- a/gen/cloudkms1-cli/mkdocs.yml +++ b/gen/cloudkms1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud KMS v3.0.0+20220225 +site_name: Cloud KMS v3.1.0+20220225 site_url: http://byron.github.io/google-apis-rs/google-cloudkms1-cli site_description: A complete library to interact with Cloud KMS (protocol v1) diff --git a/gen/cloudkms1-cli/src/main.rs b/gen/cloudkms1-cli/src/main.rs index f614b7681e..91474e9923 100644 --- a/gen/cloudkms1-cli/src/main.rs +++ b/gen/cloudkms1-cli/src/main.rs @@ -3666,7 +3666,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/cloudkms1", 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::CloudKMS::new(client, auth), @@ -4838,7 +4844,7 @@ async fn main() { let mut app = App::new("cloudkms1") .author("Sebastian Thiel ") - .version("3.0.0+20220225") + .version("3.1.0+20220225") .about("Manages keys and performs cryptographic operations in a central cloud service, for direct use by other cloud resources and applications. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudkms1_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudkms1/Cargo.toml b/gen/cloudkms1/Cargo.toml index 3f9db2efdc..3e71692f5b 100644 --- a/gen/cloudkms1/Cargo.toml +++ b/gen/cloudkms1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudkms1" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud KMS (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudkms1" homepage = "https://cloud.google.com/kms/" -documentation = "https://docs.rs/google-cloudkms1/3.0.0+20220225" +documentation = "https://docs.rs/google-cloudkms1/3.1.0+20220225" license = "MIT" keywords = ["cloudkms", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/cloudkms1/README.md b/gen/cloudkms1/README.md index 8e90b0be0a..e19fe23722 100644 --- a/gen/cloudkms1/README.md +++ b/gen/cloudkms1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-cloudkms1` library allows access to all features of the *Google Cloud KMS* service. -This documentation was generated from *Cloud KMS* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *cloudkms:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud KMS* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *cloudkms:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud KMS* *v1* API can be found at the [official documentation site](https://cloud.google.com/kms/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/CloudKMS) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/CloudKMS) ... * projects - * [*locations ekm connections create*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationEkmConnectionCreateCall), [*locations ekm connections get*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationEkmConnectionGetCall), [*locations ekm connections get iam policy*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationEkmConnectionGetIamPolicyCall), [*locations ekm connections list*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationEkmConnectionListCall), [*locations ekm connections patch*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationEkmConnectionPatchCall), [*locations ekm connections set iam policy*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationEkmConnectionSetIamPolicyCall), [*locations ekm connections test iam permissions*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationEkmConnectionTestIamPermissionCall), [*locations generate random bytes*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationGenerateRandomByteCall), [*locations get*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationGetCall), [*locations key rings create*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCreateCall), [*locations key rings crypto keys create*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCreateCall), [*locations key rings crypto keys crypto key versions asymmetric decrypt*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionAsymmetricDecryptCall), [*locations key rings crypto keys crypto key versions asymmetric sign*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionAsymmetricSignCall), [*locations key rings crypto keys crypto key versions create*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionCreateCall), [*locations key rings crypto keys crypto key versions destroy*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionDestroyCall), [*locations key rings crypto keys crypto key versions get*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionGetCall), [*locations key rings crypto keys crypto key versions get public key*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionGetPublicKeyCall), [*locations key rings crypto keys crypto key versions import*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionImportCall), [*locations key rings crypto keys crypto key versions list*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionListCall), [*locations key rings crypto keys crypto key versions mac sign*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionMacSignCall), [*locations key rings crypto keys crypto key versions mac verify*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionMacVerifyCall), [*locations key rings crypto keys crypto key versions patch*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionPatchCall), [*locations key rings crypto keys crypto key versions restore*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionRestoreCall), [*locations key rings crypto keys decrypt*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyDecryptCall), [*locations key rings crypto keys encrypt*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyEncryptCall), [*locations key rings crypto keys get*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyGetCall), [*locations key rings crypto keys get iam policy*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyGetIamPolicyCall), [*locations key rings crypto keys list*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyListCall), [*locations key rings crypto keys patch*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyPatchCall), [*locations key rings crypto keys set iam policy*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeySetIamPolicyCall), [*locations key rings crypto keys test iam permissions*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyTestIamPermissionCall), [*locations key rings crypto keys update primary version*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyUpdatePrimaryVersionCall), [*locations key rings get*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingGetCall), [*locations key rings get iam policy*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingGetIamPolicyCall), [*locations key rings import jobs create*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingImportJobCreateCall), [*locations key rings import jobs get*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingImportJobGetCall), [*locations key rings import jobs get iam policy*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingImportJobGetIamPolicyCall), [*locations key rings import jobs list*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingImportJobListCall), [*locations key rings import jobs set iam policy*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingImportJobSetIamPolicyCall), [*locations key rings import jobs test iam permissions*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingImportJobTestIamPermissionCall), [*locations key rings list*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingListCall), [*locations key rings set iam policy*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingSetIamPolicyCall), [*locations key rings test iam permissions*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingTestIamPermissionCall) and [*locations list*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/api::ProjectLocationListCall) + * [*locations ekm connections create*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationEkmConnectionCreateCall), [*locations ekm connections get*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationEkmConnectionGetCall), [*locations ekm connections get iam policy*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationEkmConnectionGetIamPolicyCall), [*locations ekm connections list*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationEkmConnectionListCall), [*locations ekm connections patch*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationEkmConnectionPatchCall), [*locations ekm connections set iam policy*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationEkmConnectionSetIamPolicyCall), [*locations ekm connections test iam permissions*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationEkmConnectionTestIamPermissionCall), [*locations generate random bytes*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationGenerateRandomByteCall), [*locations get*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationGetCall), [*locations key rings create*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCreateCall), [*locations key rings crypto keys create*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCreateCall), [*locations key rings crypto keys crypto key versions asymmetric decrypt*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionAsymmetricDecryptCall), [*locations key rings crypto keys crypto key versions asymmetric sign*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionAsymmetricSignCall), [*locations key rings crypto keys crypto key versions create*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionCreateCall), [*locations key rings crypto keys crypto key versions destroy*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionDestroyCall), [*locations key rings crypto keys crypto key versions get*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionGetCall), [*locations key rings crypto keys crypto key versions get public key*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionGetPublicKeyCall), [*locations key rings crypto keys crypto key versions import*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionImportCall), [*locations key rings crypto keys crypto key versions list*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionListCall), [*locations key rings crypto keys crypto key versions mac sign*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionMacSignCall), [*locations key rings crypto keys crypto key versions mac verify*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionMacVerifyCall), [*locations key rings crypto keys crypto key versions patch*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionPatchCall), [*locations key rings crypto keys crypto key versions restore*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionRestoreCall), [*locations key rings crypto keys decrypt*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyDecryptCall), [*locations key rings crypto keys encrypt*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyEncryptCall), [*locations key rings crypto keys get*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyGetCall), [*locations key rings crypto keys get iam policy*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyGetIamPolicyCall), [*locations key rings crypto keys list*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyListCall), [*locations key rings crypto keys patch*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyPatchCall), [*locations key rings crypto keys set iam policy*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeySetIamPolicyCall), [*locations key rings crypto keys test iam permissions*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyTestIamPermissionCall), [*locations key rings crypto keys update primary version*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingCryptoKeyUpdatePrimaryVersionCall), [*locations key rings get*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingGetCall), [*locations key rings get iam policy*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingGetIamPolicyCall), [*locations key rings import jobs create*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingImportJobCreateCall), [*locations key rings import jobs get*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingImportJobGetCall), [*locations key rings import jobs get iam policy*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingImportJobGetIamPolicyCall), [*locations key rings import jobs list*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingImportJobListCall), [*locations key rings import jobs set iam policy*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingImportJobSetIamPolicyCall), [*locations key rings import jobs test iam permissions*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingImportJobTestIamPermissionCall), [*locations key rings list*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingListCall), [*locations key rings set iam policy*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingSetIamPolicyCall), [*locations key rings test iam permissions*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationKeyRingTestIamPermissionCall) and [*locations list*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/api::ProjectLocationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/CloudKMS)** +* **[Hub](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/CloudKMS)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/client::Part)** + * **[Parts](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -97,7 +97,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -126,17 +126,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -146,29 +146,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/client::RequestValue) and +[decodable](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-cloudkms1/3.0.0+20220225/google_cloudkms1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudkms1/3.1.0+20220225/google_cloudkms1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudkms1/src/api.rs b/gen/cloudkms1/src/api.rs index 5e05a076a8..531d6a2591 100644 --- a/gen/cloudkms1/src/api.rs +++ b/gen/cloudkms1/src/api.rs @@ -74,7 +74,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -118,7 +118,7 @@ impl<'a, > CloudKMS<> { CloudKMS { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://cloudkms.googleapis.com/".to_string(), _root_url: "https://cloudkms.googleapis.com/".to_string(), } @@ -129,7 +129,7 @@ impl<'a, > CloudKMS<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1362,7 +1362,7 @@ impl client::Part for WrappingPublicKey {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_ekm_connections_create(...)`, `locations_ekm_connections_get(...)`, `locations_ekm_connections_get_iam_policy(...)`, `locations_ekm_connections_list(...)`, `locations_ekm_connections_patch(...)`, `locations_ekm_connections_set_iam_policy(...)`, `locations_ekm_connections_test_iam_permissions(...)`, `locations_generate_random_bytes(...)`, `locations_get(...)`, `locations_key_rings_create(...)`, `locations_key_rings_crypto_keys_create(...)`, `locations_key_rings_crypto_keys_crypto_key_versions_asymmetric_decrypt(...)`, `locations_key_rings_crypto_keys_crypto_key_versions_asymmetric_sign(...)`, `locations_key_rings_crypto_keys_crypto_key_versions_create(...)`, `locations_key_rings_crypto_keys_crypto_key_versions_destroy(...)`, `locations_key_rings_crypto_keys_crypto_key_versions_get(...)`, `locations_key_rings_crypto_keys_crypto_key_versions_get_public_key(...)`, `locations_key_rings_crypto_keys_crypto_key_versions_import(...)`, `locations_key_rings_crypto_keys_crypto_key_versions_list(...)`, `locations_key_rings_crypto_keys_crypto_key_versions_mac_sign(...)`, `locations_key_rings_crypto_keys_crypto_key_versions_mac_verify(...)`, `locations_key_rings_crypto_keys_crypto_key_versions_patch(...)`, `locations_key_rings_crypto_keys_crypto_key_versions_restore(...)`, `locations_key_rings_crypto_keys_decrypt(...)`, `locations_key_rings_crypto_keys_encrypt(...)`, `locations_key_rings_crypto_keys_get(...)`, `locations_key_rings_crypto_keys_get_iam_policy(...)`, `locations_key_rings_crypto_keys_list(...)`, `locations_key_rings_crypto_keys_patch(...)`, `locations_key_rings_crypto_keys_set_iam_policy(...)`, `locations_key_rings_crypto_keys_test_iam_permissions(...)`, `locations_key_rings_crypto_keys_update_primary_version(...)`, `locations_key_rings_get(...)`, `locations_key_rings_get_iam_policy(...)`, `locations_key_rings_import_jobs_create(...)`, `locations_key_rings_import_jobs_get(...)`, `locations_key_rings_import_jobs_get_iam_policy(...)`, `locations_key_rings_import_jobs_list(...)`, `locations_key_rings_import_jobs_set_iam_policy(...)`, `locations_key_rings_import_jobs_test_iam_permissions(...)`, `locations_key_rings_list(...)`, `locations_key_rings_set_iam_policy(...)`, `locations_key_rings_test_iam_permissions(...)` and `locations_list(...)` /// // to build up your call. @@ -2250,7 +2250,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2547,7 +2547,7 @@ impl<'a> ProjectLocationEkmConnectionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2803,7 +2803,7 @@ impl<'a> ProjectLocationEkmConnectionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3071,7 +3071,7 @@ impl<'a> ProjectLocationEkmConnectionGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3376,7 +3376,7 @@ impl<'a> ProjectLocationEkmConnectionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3674,7 +3674,7 @@ impl<'a> ProjectLocationEkmConnectionPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3960,7 +3960,7 @@ impl<'a> ProjectLocationEkmConnectionSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4246,7 +4246,7 @@ impl<'a> ProjectLocationEkmConnectionTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4532,7 +4532,7 @@ impl<'a> ProjectLocationKeyRingCryptoKeyCryptoKeyVersionAsymmetricDecryptCall<'a /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4818,7 +4818,7 @@ impl<'a> ProjectLocationKeyRingCryptoKeyCryptoKeyVersionAsymmetricSignCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5104,7 +5104,7 @@ impl<'a> ProjectLocationKeyRingCryptoKeyCryptoKeyVersionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5389,7 +5389,7 @@ impl<'a> ProjectLocationKeyRingCryptoKeyCryptoKeyVersionDestroyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5645,7 +5645,7 @@ impl<'a> ProjectLocationKeyRingCryptoKeyCryptoKeyVersionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5902,7 +5902,7 @@ impl<'a> ProjectLocationKeyRingCryptoKeyCryptoKeyVersionGetPublicKeyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6187,7 +6187,7 @@ impl<'a> ProjectLocationKeyRingCryptoKeyCryptoKeyVersionImportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6504,7 +6504,7 @@ impl<'a> ProjectLocationKeyRingCryptoKeyCryptoKeyVersionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6790,7 +6790,7 @@ impl<'a> ProjectLocationKeyRingCryptoKeyCryptoKeyVersionMacSignCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7076,7 +7076,7 @@ impl<'a> ProjectLocationKeyRingCryptoKeyCryptoKeyVersionMacVerifyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7374,7 +7374,7 @@ impl<'a> ProjectLocationKeyRingCryptoKeyCryptoKeyVersionPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7660,7 +7660,7 @@ impl<'a> ProjectLocationKeyRingCryptoKeyCryptoKeyVersionRestoreCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7970,7 +7970,7 @@ impl<'a> ProjectLocationKeyRingCryptoKeyCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8256,7 +8256,7 @@ impl<'a> ProjectLocationKeyRingCryptoKeyDecryptCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8541,7 +8541,7 @@ impl<'a> ProjectLocationKeyRingCryptoKeyEncryptCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8797,7 +8797,7 @@ impl<'a> ProjectLocationKeyRingCryptoKeyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9065,7 +9065,7 @@ impl<'a> ProjectLocationKeyRingCryptoKeyGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9382,7 +9382,7 @@ impl<'a> ProjectLocationKeyRingCryptoKeyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9680,7 +9680,7 @@ impl<'a> ProjectLocationKeyRingCryptoKeyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9966,7 +9966,7 @@ impl<'a> ProjectLocationKeyRingCryptoKeySetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10252,7 +10252,7 @@ impl<'a> ProjectLocationKeyRingCryptoKeyTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10538,7 +10538,7 @@ impl<'a> ProjectLocationKeyRingCryptoKeyUpdatePrimaryVersionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10835,7 +10835,7 @@ impl<'a> ProjectLocationKeyRingImportJobCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11091,7 +11091,7 @@ impl<'a> ProjectLocationKeyRingImportJobGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11359,7 +11359,7 @@ impl<'a> ProjectLocationKeyRingImportJobGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11664,7 +11664,7 @@ impl<'a> ProjectLocationKeyRingImportJobListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11950,7 +11950,7 @@ impl<'a> ProjectLocationKeyRingImportJobSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12236,7 +12236,7 @@ impl<'a> ProjectLocationKeyRingImportJobTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12533,7 +12533,7 @@ impl<'a> ProjectLocationKeyRingCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12789,7 +12789,7 @@ impl<'a> ProjectLocationKeyRingGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13057,7 +13057,7 @@ impl<'a> ProjectLocationKeyRingGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13362,7 +13362,7 @@ impl<'a> ProjectLocationKeyRingListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13648,7 +13648,7 @@ impl<'a> ProjectLocationKeyRingSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13934,7 +13934,7 @@ impl<'a> ProjectLocationKeyRingTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14219,7 +14219,7 @@ impl<'a> ProjectLocationGenerateRandomByteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14475,7 +14475,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/cloudkms1/src/lib.rs b/gen/cloudkms1/src/lib.rs index b6a4076e38..52b8fb71b3 100644 --- a/gen/cloudkms1/src/lib.rs +++ b/gen/cloudkms1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud KMS* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *cloudkms:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud KMS* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *cloudkms:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud KMS* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/kms/). @@ -98,7 +98,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/cloudkms1_beta1-cli/Cargo.toml b/gen/cloudkms1_beta1-cli/Cargo.toml index 62019a707d..12d03146e4 100644 --- a/gen/cloudkms1_beta1-cli/Cargo.toml +++ b/gen/cloudkms1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudkms1_beta1-cli" -version = "3.0.0+20170515" +version = "3.1.0+20170515" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud KMS (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudkms1_beta1-cli" @@ -20,12 +20,12 @@ name = "cloudkms1-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudkms1_beta1] path = "../cloudkms1_beta1" -version = "3.0.0+20170515" +version = "3.1.0+20170515" diff --git a/gen/cloudkms1_beta1-cli/README.md b/gen/cloudkms1_beta1-cli/README.md index 65d96a8426..51b295da11 100644 --- a/gen/cloudkms1_beta1-cli/README.md +++ b/gen/cloudkms1_beta1-cli/README.md @@ -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 *Cloud KMS* API at revision *20170515*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud KMS* API at revision *20170515*. The CLI is at version *3.1.0*. ```bash cloudkms1-beta1 [options] diff --git a/gen/cloudkms1_beta1-cli/mkdocs.yml b/gen/cloudkms1_beta1-cli/mkdocs.yml index 81dd3920e4..abb6f435fe 100644 --- a/gen/cloudkms1_beta1-cli/mkdocs.yml +++ b/gen/cloudkms1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud KMS v3.0.0+20170515 +site_name: Cloud KMS v3.1.0+20170515 site_url: http://byron.github.io/google-apis-rs/google-cloudkms1_beta1-cli site_description: A complete library to interact with Cloud KMS (protocol v1beta1) diff --git a/gen/cloudkms1_beta1-cli/src/main.rs b/gen/cloudkms1_beta1-cli/src/main.rs index f1575d527f..d7b4ed4e7d 100644 --- a/gen/cloudkms1_beta1-cli/src/main.rs +++ b/gen/cloudkms1_beta1-cli/src/main.rs @@ -1951,7 +1951,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/cloudkms1-beta1", 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::CloudKMS::new(client, auth), @@ -2673,7 +2679,7 @@ async fn main() { let mut app = App::new("cloudkms1-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20170515") + .version("3.1.0+20170515") .about("Manages encryption for your cloud services the same way you do on-premise. You can generate, use, rotate, and destroy AES256 encryption keys.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudkms1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudkms1_beta1/Cargo.toml b/gen/cloudkms1_beta1/Cargo.toml index fc7fae261a..9164e88db2 100644 --- a/gen/cloudkms1_beta1/Cargo.toml +++ b/gen/cloudkms1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudkms1_beta1" -version = "3.0.0+20170515" +version = "3.1.0+20170515" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud KMS (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudkms1_beta1" homepage = "https://cloud.google.com/kms/" -documentation = "https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515" +documentation = "https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515" license = "MIT" keywords = ["cloudkms", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/cloudkms1_beta1/README.md b/gen/cloudkms1_beta1/README.md index de21ac8d8e..a51bc0a875 100644 --- a/gen/cloudkms1_beta1/README.md +++ b/gen/cloudkms1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-cloudkms1_beta1` library allows access to all features of the *Google Cloud KMS* service. -This documentation was generated from *Cloud KMS* crate version *3.0.0+20170515*, where *20170515* is the exact revision of the *cloudkms:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud KMS* crate version *3.1.0+20170515*, where *20170515* is the exact revision of the *cloudkms:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud KMS* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/kms/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/CloudKMS) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/CloudKMS) ... * projects - * [*locations get*](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/api::ProjectLocationGetCall), [*locations key rings create*](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCreateCall), [*locations key rings crypto keys create*](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyCreateCall), [*locations key rings crypto keys crypto key versions create*](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionCreateCall), [*locations key rings crypto keys crypto key versions destroy*](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionDestroyCall), [*locations key rings crypto keys crypto key versions get*](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionGetCall), [*locations key rings crypto keys crypto key versions list*](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionListCall), [*locations key rings crypto keys crypto key versions patch*](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionPatchCall), [*locations key rings crypto keys crypto key versions restore*](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionRestoreCall), [*locations key rings crypto keys decrypt*](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyDecryptCall), [*locations key rings crypto keys encrypt*](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyEncryptCall), [*locations key rings crypto keys get*](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyGetCall), [*locations key rings crypto keys get iam policy*](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyGetIamPolicyCall), [*locations key rings crypto keys list*](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyListCall), [*locations key rings crypto keys patch*](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyPatchCall), [*locations key rings crypto keys set iam policy*](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeySetIamPolicyCall), [*locations key rings crypto keys test iam permissions*](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyTestIamPermissionCall), [*locations key rings crypto keys update primary version*](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyUpdatePrimaryVersionCall), [*locations key rings get*](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingGetCall), [*locations key rings get iam policy*](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingGetIamPolicyCall), [*locations key rings list*](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingListCall), [*locations key rings set iam policy*](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingSetIamPolicyCall), [*locations key rings test iam permissions*](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingTestIamPermissionCall) and [*locations list*](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/api::ProjectLocationListCall) + * [*locations get*](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/api::ProjectLocationGetCall), [*locations key rings create*](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCreateCall), [*locations key rings crypto keys create*](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyCreateCall), [*locations key rings crypto keys crypto key versions create*](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionCreateCall), [*locations key rings crypto keys crypto key versions destroy*](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionDestroyCall), [*locations key rings crypto keys crypto key versions get*](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionGetCall), [*locations key rings crypto keys crypto key versions list*](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionListCall), [*locations key rings crypto keys crypto key versions patch*](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionPatchCall), [*locations key rings crypto keys crypto key versions restore*](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyCryptoKeyVersionRestoreCall), [*locations key rings crypto keys decrypt*](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyDecryptCall), [*locations key rings crypto keys encrypt*](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyEncryptCall), [*locations key rings crypto keys get*](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyGetCall), [*locations key rings crypto keys get iam policy*](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyGetIamPolicyCall), [*locations key rings crypto keys list*](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyListCall), [*locations key rings crypto keys patch*](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyPatchCall), [*locations key rings crypto keys set iam policy*](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeySetIamPolicyCall), [*locations key rings crypto keys test iam permissions*](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyTestIamPermissionCall), [*locations key rings crypto keys update primary version*](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingCryptoKeyUpdatePrimaryVersionCall), [*locations key rings get*](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingGetCall), [*locations key rings get iam policy*](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingGetIamPolicyCall), [*locations key rings list*](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingListCall), [*locations key rings set iam policy*](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingSetIamPolicyCall), [*locations key rings test iam permissions*](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/api::ProjectLocationKeyRingTestIamPermissionCall) and [*locations list*](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/api::ProjectLocationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/CloudKMS)** +* **[Hub](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/CloudKMS)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -95,7 +95,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -129,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -149,29 +149,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-cloudkms1_beta1/3.0.0+20170515/google_cloudkms1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudkms1_beta1/3.1.0+20170515/google_cloudkms1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudkms1_beta1/src/api.rs b/gen/cloudkms1_beta1/src/api.rs index 5537222ebf..3509fa6a2b 100644 --- a/gen/cloudkms1_beta1/src/api.rs +++ b/gen/cloudkms1_beta1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > CloudKMS<> { CloudKMS { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://cloudkms.googleapis.com/".to_string(), _root_url: "https://cloudkms.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > CloudKMS<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -995,7 +995,7 @@ impl client::ResponseResult for DecryptResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_get(...)`, `locations_key_rings_create(...)`, `locations_key_rings_crypto_keys_create(...)`, `locations_key_rings_crypto_keys_crypto_key_versions_create(...)`, `locations_key_rings_crypto_keys_crypto_key_versions_destroy(...)`, `locations_key_rings_crypto_keys_crypto_key_versions_get(...)`, `locations_key_rings_crypto_keys_crypto_key_versions_list(...)`, `locations_key_rings_crypto_keys_crypto_key_versions_patch(...)`, `locations_key_rings_crypto_keys_crypto_key_versions_restore(...)`, `locations_key_rings_crypto_keys_decrypt(...)`, `locations_key_rings_crypto_keys_encrypt(...)`, `locations_key_rings_crypto_keys_get(...)`, `locations_key_rings_crypto_keys_get_iam_policy(...)`, `locations_key_rings_crypto_keys_list(...)`, `locations_key_rings_crypto_keys_patch(...)`, `locations_key_rings_crypto_keys_set_iam_policy(...)`, `locations_key_rings_crypto_keys_test_iam_permissions(...)`, `locations_key_rings_crypto_keys_update_primary_version(...)`, `locations_key_rings_get(...)`, `locations_key_rings_get_iam_policy(...)`, `locations_key_rings_list(...)`, `locations_key_rings_set_iam_policy(...)`, `locations_key_rings_test_iam_permissions(...)` and `locations_list(...)` /// // to build up your call. @@ -1558,7 +1558,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1851,7 +1851,7 @@ impl<'a> ProjectLocationKeyRingCryptoKeyCryptoKeyVersionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2151,7 +2151,7 @@ impl<'a> ProjectLocationKeyRingCryptoKeyCryptoKeyVersionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2445,7 +2445,7 @@ impl<'a> ProjectLocationKeyRingCryptoKeyCryptoKeyVersionDestroyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2739,7 +2739,7 @@ impl<'a> ProjectLocationKeyRingCryptoKeyCryptoKeyVersionRestoreCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3039,7 +3039,7 @@ impl<'a> ProjectLocationKeyRingCryptoKeyCryptoKeyVersionPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3298,7 +3298,7 @@ impl<'a> ProjectLocationKeyRingCryptoKeyCryptoKeyVersionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3599,7 +3599,7 @@ impl<'a> ProjectLocationKeyRingCryptoKeyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3864,7 +3864,7 @@ impl<'a> ProjectLocationKeyRingCryptoKeyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4153,7 +4153,7 @@ impl<'a> ProjectLocationKeyRingCryptoKeyTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4441,7 +4441,7 @@ impl<'a> ProjectLocationKeyRingCryptoKeyDecryptCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4729,7 +4729,7 @@ impl<'a> ProjectLocationKeyRingCryptoKeyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5023,7 +5023,7 @@ impl<'a> ProjectLocationKeyRingCryptoKeyEncryptCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5326,7 +5326,7 @@ impl<'a> ProjectLocationKeyRingCryptoKeyCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5615,7 +5615,7 @@ impl<'a> ProjectLocationKeyRingCryptoKeySetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5904,7 +5904,7 @@ impl<'a> ProjectLocationKeyRingCryptoKeyUpdatePrimaryVersionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6165,7 +6165,7 @@ impl<'a> ProjectLocationKeyRingCryptoKeyGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6424,7 +6424,7 @@ impl<'a> ProjectLocationKeyRingGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6689,7 +6689,7 @@ impl<'a> ProjectLocationKeyRingGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6977,7 +6977,7 @@ impl<'a> ProjectLocationKeyRingTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7266,7 +7266,7 @@ impl<'a> ProjectLocationKeyRingListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7555,7 +7555,7 @@ impl<'a> ProjectLocationKeyRingSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7856,7 +7856,7 @@ impl<'a> ProjectLocationKeyRingCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8150,7 +8150,7 @@ impl<'a> ProjectLocationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/cloudkms1_beta1/src/lib.rs b/gen/cloudkms1_beta1/src/lib.rs index 90d898c8b2..ce0a421310 100644 --- a/gen/cloudkms1_beta1/src/lib.rs +++ b/gen/cloudkms1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud KMS* crate version *3.0.0+20170515*, where *20170515* is the exact revision of the *cloudkms:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud KMS* crate version *3.1.0+20170515*, where *20170515* is the exact revision of the *cloudkms:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud KMS* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/kms/). @@ -96,7 +96,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudKMS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/cloudlatencytest2-cli/Cargo.toml b/gen/cloudlatencytest2-cli/Cargo.toml index d7eed592a3..2be4859341 100644 --- a/gen/cloudlatencytest2-cli/Cargo.toml +++ b/gen/cloudlatencytest2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudlatencytest2-cli" -version = "3.0.0+20160309" +version = "3.1.0+20160309" authors = ["Sebastian Thiel "] description = "A complete library to interact with cloudlatencytest (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudlatencytest2-cli" @@ -19,12 +19,12 @@ name = "cloudlatencytest2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -36,4 +36,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudlatencytest2] path = "../cloudlatencytest2" -version = "3.0.0+20160309" +version = "3.1.0+20160309" diff --git a/gen/cloudlatencytest2-cli/README.md b/gen/cloudlatencytest2-cli/README.md index a7491b2197..ef2f57e4d8 100644 --- a/gen/cloudlatencytest2-cli/README.md +++ b/gen/cloudlatencytest2-cli/README.md @@ -22,7 +22,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *cloudlatencytest* API at revision *20160309*. The CLI is at version *3.0.0*. +This documentation was generated from the *cloudlatencytest* API at revision *20160309*. The CLI is at version *3.1.0*. ```bash cloudlatencytest2 [options] diff --git a/gen/cloudlatencytest2-cli/mkdocs.yml b/gen/cloudlatencytest2-cli/mkdocs.yml index adc1129959..fc8c051fa6 100644 --- a/gen/cloudlatencytest2-cli/mkdocs.yml +++ b/gen/cloudlatencytest2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: cloudlatencytest v3.0.0+20160309 +site_name: cloudlatencytest v3.1.0+20160309 site_url: http://byron.github.io/google-apis-rs/google-cloudlatencytest2-cli site_description: A complete library to interact with cloudlatencytest (protocol v2) diff --git a/gen/cloudlatencytest2-cli/src/main.rs b/gen/cloudlatencytest2-cli/src/main.rs index 66d05a3f39..56046a70c9 100644 --- a/gen/cloudlatencytest2-cli/src/main.rs +++ b/gen/cloudlatencytest2-cli/src/main.rs @@ -264,7 +264,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/cloudlatencytest2", 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::Cloudlatencytest::new(client, auth), @@ -347,7 +353,7 @@ async fn main() { let mut app = App::new("cloudlatencytest2") .author("Sebastian Thiel ") - .version("3.0.0+20160309") + .version("3.1.0+20160309") .about("Reports latency data.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudlatencytest2_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudlatencytest2/Cargo.toml b/gen/cloudlatencytest2/Cargo.toml index 70b19c8279..419b3689e2 100644 --- a/gen/cloudlatencytest2/Cargo.toml +++ b/gen/cloudlatencytest2/Cargo.toml @@ -4,11 +4,11 @@ [package] name = "google-cloudlatencytest2" -version = "3.0.0+20160309" +version = "3.1.0+20160309" authors = ["Sebastian Thiel "] description = "A complete library to interact with cloudlatencytest (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudlatencytest2" -documentation = "https://docs.rs/google-cloudlatencytest2/3.0.0+20160309" +documentation = "https://docs.rs/google-cloudlatencytest2/3.1.0+20160309" license = "MIT" keywords = ["cloudlatencytest", "google", "protocol", "web", "api"] autobins = false @@ -16,12 +16,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/cloudlatencytest2/README.md b/gen/cloudlatencytest2/README.md index ad51230acb..520d0ce38e 100644 --- a/gen/cloudlatencytest2/README.md +++ b/gen/cloudlatencytest2/README.md @@ -5,13 +5,13 @@ DO NOT EDIT ! --> The `google-cloudlatencytest2` library allows access to all features of the *Google cloudlatencytest* service. -This documentation was generated from *cloudlatencytest* crate version *3.0.0+20160309*, where *20160309* is the exact revision of the *cloudlatencytest:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *cloudlatencytest* crate version *3.1.0+20160309*, where *20160309* is the exact revision of the *cloudlatencytest:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudlatencytest2/3.0.0+20160309/google_cloudlatencytest2/Cloudlatencytest) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudlatencytest2/3.1.0+20160309/google_cloudlatencytest2/Cloudlatencytest) ... * statscollection - * [*updateaggregatedstats*](https://docs.rs/google-cloudlatencytest2/3.0.0+20160309/google_cloudlatencytest2/api::StatscollectionUpdateaggregatedstatCall) and [*updatestats*](https://docs.rs/google-cloudlatencytest2/3.0.0+20160309/google_cloudlatencytest2/api::StatscollectionUpdatestatCall) + * [*updateaggregatedstats*](https://docs.rs/google-cloudlatencytest2/3.1.0+20160309/google_cloudlatencytest2/api::StatscollectionUpdateaggregatedstatCall) and [*updatestats*](https://docs.rs/google-cloudlatencytest2/3.1.0+20160309/google_cloudlatencytest2/api::StatscollectionUpdatestatCall) @@ -20,17 +20,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudlatencytest2/3.0.0+20160309/google_cloudlatencytest2/Cloudlatencytest)** +* **[Hub](https://docs.rs/google-cloudlatencytest2/3.1.0+20160309/google_cloudlatencytest2/Cloudlatencytest)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudlatencytest2/3.0.0+20160309/google_cloudlatencytest2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudlatencytest2/3.0.0+20160309/google_cloudlatencytest2/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudlatencytest2/3.0.0+20160309/google_cloudlatencytest2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudlatencytest2/3.1.0+20160309/google_cloudlatencytest2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudlatencytest2/3.1.0+20160309/google_cloudlatencytest2/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudlatencytest2/3.1.0+20160309/google_cloudlatencytest2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudlatencytest2/3.0.0+20160309/google_cloudlatencytest2/client::Part)** + * **[Parts](https://docs.rs/google-cloudlatencytest2/3.1.0+20160309/google_cloudlatencytest2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudlatencytest2/3.0.0+20160309/google_cloudlatencytest2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudlatencytest2/3.1.0+20160309/google_cloudlatencytest2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -88,7 +88,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Cloudlatencytest::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Cloudlatencytest::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -121,17 +121,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudlatencytest2/3.0.0+20160309/google_cloudlatencytest2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudlatencytest2/3.1.0+20160309/google_cloudlatencytest2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudlatencytest2/3.0.0+20160309/google_cloudlatencytest2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudlatencytest2/3.1.0+20160309/google_cloudlatencytest2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudlatencytest2/3.0.0+20160309/google_cloudlatencytest2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudlatencytest2/3.1.0+20160309/google_cloudlatencytest2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudlatencytest2/3.0.0+20160309/google_cloudlatencytest2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudlatencytest2/3.1.0+20160309/google_cloudlatencytest2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -141,29 +141,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudlatencytest2/3.0.0+20160309/google_cloudlatencytest2/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudlatencytest2/3.0.0+20160309/google_cloudlatencytest2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudlatencytest2/3.1.0+20160309/google_cloudlatencytest2/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudlatencytest2/3.1.0+20160309/google_cloudlatencytest2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-cloudlatencytest2/3.0.0+20160309/google_cloudlatencytest2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudlatencytest2/3.1.0+20160309/google_cloudlatencytest2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudlatencytest2/3.0.0+20160309/google_cloudlatencytest2/client::RequestValue) and -[decodable](https://docs.rs/google-cloudlatencytest2/3.0.0+20160309/google_cloudlatencytest2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudlatencytest2/3.1.0+20160309/google_cloudlatencytest2/client::RequestValue) and +[decodable](https://docs.rs/google-cloudlatencytest2/3.1.0+20160309/google_cloudlatencytest2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudlatencytest2/3.0.0+20160309/google_cloudlatencytest2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudlatencytest2/3.1.0+20160309/google_cloudlatencytest2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-cloudlatencytest2/3.0.0+20160309/google_cloudlatencytest2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudlatencytest2/3.1.0+20160309/google_cloudlatencytest2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-cloudlatencytest2/3.0.0+20160309/google_cloudlatencytest2/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudlatencytest2/3.1.0+20160309/google_cloudlatencytest2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudlatencytest2/src/api.rs b/gen/cloudlatencytest2/src/api.rs index bea3e6c2e6..7c66ad97c7 100644 --- a/gen/cloudlatencytest2/src/api.rs +++ b/gen/cloudlatencytest2/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Cloudlatencytest::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Cloudlatencytest::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > Cloudlatencytest<> { Cloudlatencytest { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://cloudlatencytest-pa.googleapis.com/v2/statscollection/".to_string(), _root_url: "https://cloudlatencytest-pa.googleapis.com/".to_string(), } @@ -130,7 +130,7 @@ impl<'a, > Cloudlatencytest<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -312,7 +312,7 @@ impl client::Part for StringValue {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Cloudlatencytest::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Cloudlatencytest::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `updateaggregatedstats(...)` and `updatestats(...)` /// // to build up your call. @@ -395,7 +395,7 @@ impl<'a> StatscollectionMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudlatencytest::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudlatencytest::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -640,7 +640,7 @@ impl<'a> StatscollectionUpdateaggregatedstatCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Cloudlatencytest::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Cloudlatencytest::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/cloudlatencytest2/src/lib.rs b/gen/cloudlatencytest2/src/lib.rs index 7e2a4d3a44..edd3984c96 100644 --- a/gen/cloudlatencytest2/src/lib.rs +++ b/gen/cloudlatencytest2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *cloudlatencytest* crate version *3.0.0+20160309*, where *20160309* is the exact revision of the *cloudlatencytest:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *cloudlatencytest* crate version *3.1.0+20160309*, where *20160309* is the exact revision of the *cloudlatencytest:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! The original source code is [on github](https://github.com/Byron/google-apis-rs/tree/main/gen/cloudlatencytest2). //! # Features //! @@ -89,7 +89,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Cloudlatencytest::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Cloudlatencytest::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/cloudmonitoring2_beta2-cli/Cargo.toml b/gen/cloudmonitoring2_beta2-cli/Cargo.toml index 4b86aeb280..69f77e536a 100644 --- a/gen/cloudmonitoring2_beta2-cli/Cargo.toml +++ b/gen/cloudmonitoring2_beta2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudmonitoring2_beta2-cli" -version = "3.0.0+20170501" +version = "3.1.0+20170501" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Monitoring (protocol v2beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudmonitoring2_beta2-cli" @@ -20,12 +20,12 @@ name = "cloudmonitoring2-beta2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudmonitoring2_beta2] path = "../cloudmonitoring2_beta2" -version = "3.0.0+20170501" +version = "3.1.0+20170501" diff --git a/gen/cloudmonitoring2_beta2-cli/README.md b/gen/cloudmonitoring2_beta2-cli/README.md index fb54630578..8228a139ce 100644 --- a/gen/cloudmonitoring2_beta2-cli/README.md +++ b/gen/cloudmonitoring2_beta2-cli/README.md @@ -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 *Cloud Monitoring* API at revision *20170501*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Monitoring* API at revision *20170501*. The CLI is at version *3.1.0*. ```bash cloudmonitoring2-beta2 [options] diff --git a/gen/cloudmonitoring2_beta2-cli/mkdocs.yml b/gen/cloudmonitoring2_beta2-cli/mkdocs.yml index 1f6701ea9a..fa8c9f3e23 100644 --- a/gen/cloudmonitoring2_beta2-cli/mkdocs.yml +++ b/gen/cloudmonitoring2_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Monitoring v3.0.0+20170501 +site_name: Cloud Monitoring v3.1.0+20170501 site_url: http://byron.github.io/google-apis-rs/google-cloudmonitoring2_beta2-cli site_description: A complete library to interact with Cloud Monitoring (protocol v2beta2) diff --git a/gen/cloudmonitoring2_beta2-cli/src/main.rs b/gen/cloudmonitoring2_beta2-cli/src/main.rs index 9abe7f56a9..152a47dc19 100644 --- a/gen/cloudmonitoring2_beta2-cli/src/main.rs +++ b/gen/cloudmonitoring2_beta2-cli/src/main.rs @@ -658,7 +658,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/cloudmonitoring2-beta2", 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::CloudMonitoring::new(client, auth), @@ -895,7 +901,7 @@ async fn main() { let mut app = App::new("cloudmonitoring2-beta2") .author("Sebastian Thiel ") - .version("3.0.0+20170501") + .version("3.1.0+20170501") .about("Accesses Google Cloud Monitoring data.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudmonitoring2_beta2_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudmonitoring2_beta2/Cargo.toml b/gen/cloudmonitoring2_beta2/Cargo.toml index 085cca5614..1e3b1d9583 100644 --- a/gen/cloudmonitoring2_beta2/Cargo.toml +++ b/gen/cloudmonitoring2_beta2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudmonitoring2_beta2" -version = "3.0.0+20170501" +version = "3.1.0+20170501" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Monitoring (protocol v2beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudmonitoring2_beta2" homepage = "https://cloud.google.com/monitoring/v2beta2/" -documentation = "https://docs.rs/google-cloudmonitoring2_beta2/3.0.0+20170501" +documentation = "https://docs.rs/google-cloudmonitoring2_beta2/3.1.0+20170501" license = "MIT" keywords = ["cloudmonitoring", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/cloudmonitoring2_beta2/README.md b/gen/cloudmonitoring2_beta2/README.md index 59506f656c..9bfb8d454e 100644 --- a/gen/cloudmonitoring2_beta2/README.md +++ b/gen/cloudmonitoring2_beta2/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-cloudmonitoring2_beta2` library allows access to all features of the *Google Cloud Monitoring* service. -This documentation was generated from *Cloud Monitoring* crate version *3.0.0+20170501*, where *20170501* is the exact revision of the *cloudmonitoring:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Monitoring* crate version *3.1.0+20170501*, where *20170501* is the exact revision of the *cloudmonitoring:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Monitoring* *v2_beta2* API can be found at the [official documentation site](https://cloud.google.com/monitoring/v2beta2/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudmonitoring2_beta2/3.0.0+20170501/google_cloudmonitoring2_beta2/CloudMonitoring) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudmonitoring2_beta2/3.1.0+20170501/google_cloudmonitoring2_beta2/CloudMonitoring) ... -* [metric descriptors](https://docs.rs/google-cloudmonitoring2_beta2/3.0.0+20170501/google_cloudmonitoring2_beta2/api::MetricDescriptor) - * [*create*](https://docs.rs/google-cloudmonitoring2_beta2/3.0.0+20170501/google_cloudmonitoring2_beta2/api::MetricDescriptorCreateCall), [*delete*](https://docs.rs/google-cloudmonitoring2_beta2/3.0.0+20170501/google_cloudmonitoring2_beta2/api::MetricDescriptorDeleteCall) and [*list*](https://docs.rs/google-cloudmonitoring2_beta2/3.0.0+20170501/google_cloudmonitoring2_beta2/api::MetricDescriptorListCall) +* [metric descriptors](https://docs.rs/google-cloudmonitoring2_beta2/3.1.0+20170501/google_cloudmonitoring2_beta2/api::MetricDescriptor) + * [*create*](https://docs.rs/google-cloudmonitoring2_beta2/3.1.0+20170501/google_cloudmonitoring2_beta2/api::MetricDescriptorCreateCall), [*delete*](https://docs.rs/google-cloudmonitoring2_beta2/3.1.0+20170501/google_cloudmonitoring2_beta2/api::MetricDescriptorDeleteCall) and [*list*](https://docs.rs/google-cloudmonitoring2_beta2/3.1.0+20170501/google_cloudmonitoring2_beta2/api::MetricDescriptorListCall) * timeseries - * [*list*](https://docs.rs/google-cloudmonitoring2_beta2/3.0.0+20170501/google_cloudmonitoring2_beta2/api::TimeseryListCall) and [*write*](https://docs.rs/google-cloudmonitoring2_beta2/3.0.0+20170501/google_cloudmonitoring2_beta2/api::TimeseryWriteCall) -* [timeseries descriptors](https://docs.rs/google-cloudmonitoring2_beta2/3.0.0+20170501/google_cloudmonitoring2_beta2/api::TimeseriesDescriptor) - * [*list*](https://docs.rs/google-cloudmonitoring2_beta2/3.0.0+20170501/google_cloudmonitoring2_beta2/api::TimeseriesDescriptorListCall) + * [*list*](https://docs.rs/google-cloudmonitoring2_beta2/3.1.0+20170501/google_cloudmonitoring2_beta2/api::TimeseryListCall) and [*write*](https://docs.rs/google-cloudmonitoring2_beta2/3.1.0+20170501/google_cloudmonitoring2_beta2/api::TimeseryWriteCall) +* [timeseries descriptors](https://docs.rs/google-cloudmonitoring2_beta2/3.1.0+20170501/google_cloudmonitoring2_beta2/api::TimeseriesDescriptor) + * [*list*](https://docs.rs/google-cloudmonitoring2_beta2/3.1.0+20170501/google_cloudmonitoring2_beta2/api::TimeseriesDescriptorListCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudmonitoring2_beta2/3.0.0+20170501/google_cloudmonitoring2_beta2/CloudMonitoring)** +* **[Hub](https://docs.rs/google-cloudmonitoring2_beta2/3.1.0+20170501/google_cloudmonitoring2_beta2/CloudMonitoring)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudmonitoring2_beta2/3.0.0+20170501/google_cloudmonitoring2_beta2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudmonitoring2_beta2/3.0.0+20170501/google_cloudmonitoring2_beta2/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudmonitoring2_beta2/3.0.0+20170501/google_cloudmonitoring2_beta2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudmonitoring2_beta2/3.1.0+20170501/google_cloudmonitoring2_beta2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudmonitoring2_beta2/3.1.0+20170501/google_cloudmonitoring2_beta2/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudmonitoring2_beta2/3.1.0+20170501/google_cloudmonitoring2_beta2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudmonitoring2_beta2/3.0.0+20170501/google_cloudmonitoring2_beta2/client::Part)** + * **[Parts](https://docs.rs/google-cloudmonitoring2_beta2/3.1.0+20170501/google_cloudmonitoring2_beta2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudmonitoring2_beta2/3.0.0+20170501/google_cloudmonitoring2_beta2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudmonitoring2_beta2/3.1.0+20170501/google_cloudmonitoring2_beta2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -97,7 +97,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudMonitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudMonitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -133,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudmonitoring2_beta2/3.0.0+20170501/google_cloudmonitoring2_beta2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudmonitoring2_beta2/3.1.0+20170501/google_cloudmonitoring2_beta2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudmonitoring2_beta2/3.0.0+20170501/google_cloudmonitoring2_beta2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudmonitoring2_beta2/3.1.0+20170501/google_cloudmonitoring2_beta2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudmonitoring2_beta2/3.0.0+20170501/google_cloudmonitoring2_beta2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudmonitoring2_beta2/3.1.0+20170501/google_cloudmonitoring2_beta2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudmonitoring2_beta2/3.0.0+20170501/google_cloudmonitoring2_beta2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudmonitoring2_beta2/3.1.0+20170501/google_cloudmonitoring2_beta2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -153,29 +153,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudmonitoring2_beta2/3.0.0+20170501/google_cloudmonitoring2_beta2/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudmonitoring2_beta2/3.0.0+20170501/google_cloudmonitoring2_beta2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudmonitoring2_beta2/3.1.0+20170501/google_cloudmonitoring2_beta2/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudmonitoring2_beta2/3.1.0+20170501/google_cloudmonitoring2_beta2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-cloudmonitoring2_beta2/3.0.0+20170501/google_cloudmonitoring2_beta2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudmonitoring2_beta2/3.1.0+20170501/google_cloudmonitoring2_beta2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudmonitoring2_beta2/3.0.0+20170501/google_cloudmonitoring2_beta2/client::RequestValue) and -[decodable](https://docs.rs/google-cloudmonitoring2_beta2/3.0.0+20170501/google_cloudmonitoring2_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudmonitoring2_beta2/3.1.0+20170501/google_cloudmonitoring2_beta2/client::RequestValue) and +[decodable](https://docs.rs/google-cloudmonitoring2_beta2/3.1.0+20170501/google_cloudmonitoring2_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudmonitoring2_beta2/3.0.0+20170501/google_cloudmonitoring2_beta2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudmonitoring2_beta2/3.1.0+20170501/google_cloudmonitoring2_beta2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-cloudmonitoring2_beta2/3.0.0+20170501/google_cloudmonitoring2_beta2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudmonitoring2_beta2/3.1.0+20170501/google_cloudmonitoring2_beta2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-cloudmonitoring2_beta2/3.0.0+20170501/google_cloudmonitoring2_beta2/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudmonitoring2_beta2/3.1.0+20170501/google_cloudmonitoring2_beta2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudmonitoring2_beta2/src/api.rs b/gen/cloudmonitoring2_beta2/src/api.rs index eab0abdaca..0a09cf5de1 100644 --- a/gen/cloudmonitoring2_beta2/src/api.rs +++ b/gen/cloudmonitoring2_beta2/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudMonitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudMonitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -126,7 +126,7 @@ impl<'a, > CloudMonitoring<> { CloudMonitoring { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/cloudmonitoring/v2beta2/projects/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -143,7 +143,7 @@ impl<'a, > CloudMonitoring<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -602,7 +602,7 @@ impl client::ResponseResult for WriteTimeseriesResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudMonitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudMonitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)` and `list(...)` /// // to build up your call. @@ -703,7 +703,7 @@ impl<'a> MetricDescriptorMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudMonitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudMonitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` and `write(...)` /// // to build up your call. @@ -793,7 +793,7 @@ impl<'a> TimeseryMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudMonitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudMonitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -872,7 +872,7 @@ impl<'a> TimeseriesDescriptorMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMonitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMonitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1149,7 +1149,7 @@ impl<'a> MetricDescriptorCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMonitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMonitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1410,7 +1410,7 @@ impl<'a> MetricDescriptorDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMonitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMonitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1724,7 +1724,7 @@ impl<'a> MetricDescriptorListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMonitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMonitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2129,7 +2129,7 @@ impl<'a> TimeseryListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMonitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMonitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2407,7 +2407,7 @@ impl<'a> TimeseryWriteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMonitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMonitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/cloudmonitoring2_beta2/src/lib.rs b/gen/cloudmonitoring2_beta2/src/lib.rs index f29466adfa..bdaa2ccdf9 100644 --- a/gen/cloudmonitoring2_beta2/src/lib.rs +++ b/gen/cloudmonitoring2_beta2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Monitoring* crate version *3.0.0+20170501*, where *20170501* is the exact revision of the *cloudmonitoring:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Monitoring* crate version *3.1.0+20170501*, where *20170501* is the exact revision of the *cloudmonitoring:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Monitoring* *v2_beta2* API can be found at the //! [official documentation site](https://cloud.google.com/monitoring/v2beta2/). @@ -98,7 +98,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudMonitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudMonitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/cloudprivatecatalog1_beta1-cli/Cargo.toml b/gen/cloudprivatecatalog1_beta1-cli/Cargo.toml index 41a42650b1..8f81218e96 100644 --- a/gen/cloudprivatecatalog1_beta1-cli/Cargo.toml +++ b/gen/cloudprivatecatalog1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudprivatecatalog1_beta1-cli" -version = "3.0.0+20200405" +version = "3.1.0+20200405" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Private Catalog (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudprivatecatalog1_beta1-cli" @@ -20,12 +20,12 @@ name = "cloudprivatecatalog1-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudprivatecatalog1_beta1] path = "../cloudprivatecatalog1_beta1" -version = "3.0.0+20200405" +version = "3.1.0+20200405" diff --git a/gen/cloudprivatecatalog1_beta1-cli/README.md b/gen/cloudprivatecatalog1_beta1-cli/README.md index 2b186934dc..a9a1249bcc 100644 --- a/gen/cloudprivatecatalog1_beta1-cli/README.md +++ b/gen/cloudprivatecatalog1_beta1-cli/README.md @@ -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 *Cloud Private Catalog* API at revision *20200405*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Private Catalog* API at revision *20200405*. The CLI is at version *3.1.0*. ```bash cloudprivatecatalog1-beta1 [options] diff --git a/gen/cloudprivatecatalog1_beta1-cli/mkdocs.yml b/gen/cloudprivatecatalog1_beta1-cli/mkdocs.yml index b7b3df46b7..e405b65090 100644 --- a/gen/cloudprivatecatalog1_beta1-cli/mkdocs.yml +++ b/gen/cloudprivatecatalog1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Private Catalog v3.0.0+20200405 +site_name: Cloud Private Catalog v3.1.0+20200405 site_url: http://byron.github.io/google-apis-rs/google-cloudprivatecatalog1_beta1-cli site_description: A complete library to interact with Cloud Private Catalog (protocol v1beta1) diff --git a/gen/cloudprivatecatalog1_beta1-cli/src/main.rs b/gen/cloudprivatecatalog1_beta1-cli/src/main.rs index 876145f6a8..f32998f4b2 100644 --- a/gen/cloudprivatecatalog1_beta1-cli/src/main.rs +++ b/gen/cloudprivatecatalog1_beta1-cli/src/main.rs @@ -690,7 +690,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/cloudprivatecatalog1-beta1", 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::CloudPrivateCatalog::new(client, auth), @@ -963,7 +969,7 @@ async fn main() { let mut app = App::new("cloudprivatecatalog1-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20200405") + .version("3.1.0+20200405") .about("Enable cloud users to discover enterprise catalogs and products in their organizations.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudprivatecatalog1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudprivatecatalog1_beta1/Cargo.toml b/gen/cloudprivatecatalog1_beta1/Cargo.toml index 755a584d07..f4834581d0 100644 --- a/gen/cloudprivatecatalog1_beta1/Cargo.toml +++ b/gen/cloudprivatecatalog1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudprivatecatalog1_beta1" -version = "3.0.0+20200405" +version = "3.1.0+20200405" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Private Catalog (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudprivatecatalog1_beta1" homepage = "https://cloud.google.com/private-catalog/" -documentation = "https://docs.rs/google-cloudprivatecatalog1_beta1/3.0.0+20200405" +documentation = "https://docs.rs/google-cloudprivatecatalog1_beta1/3.1.0+20200405" license = "MIT" keywords = ["cloudprivatecatalog", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/cloudprivatecatalog1_beta1/README.md b/gen/cloudprivatecatalog1_beta1/README.md index fed4bbf8e9..1b71531961 100644 --- a/gen/cloudprivatecatalog1_beta1/README.md +++ b/gen/cloudprivatecatalog1_beta1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-cloudprivatecatalog1_beta1` library allows access to all features of the *Google Cloud Private Catalog* service. -This documentation was generated from *Cloud Private Catalog* crate version *3.0.0+20200405*, where *20200405* is the exact revision of the *cloudprivatecatalog:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Private Catalog* crate version *3.1.0+20200405*, where *20200405* is the exact revision of the *cloudprivatecatalog:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Private Catalog* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/private-catalog/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudprivatecatalog1_beta1/3.0.0+20200405/google_cloudprivatecatalog1_beta1/CloudPrivateCatalog) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudprivatecatalog1_beta1/3.1.0+20200405/google_cloudprivatecatalog1_beta1/CloudPrivateCatalog) ... * folders - * [*catalogs search*](https://docs.rs/google-cloudprivatecatalog1_beta1/3.0.0+20200405/google_cloudprivatecatalog1_beta1/api::FolderCatalogSearchCall), [*products search*](https://docs.rs/google-cloudprivatecatalog1_beta1/3.0.0+20200405/google_cloudprivatecatalog1_beta1/api::FolderProductSearchCall) and [*versions search*](https://docs.rs/google-cloudprivatecatalog1_beta1/3.0.0+20200405/google_cloudprivatecatalog1_beta1/api::FolderVersionSearchCall) + * [*catalogs search*](https://docs.rs/google-cloudprivatecatalog1_beta1/3.1.0+20200405/google_cloudprivatecatalog1_beta1/api::FolderCatalogSearchCall), [*products search*](https://docs.rs/google-cloudprivatecatalog1_beta1/3.1.0+20200405/google_cloudprivatecatalog1_beta1/api::FolderProductSearchCall) and [*versions search*](https://docs.rs/google-cloudprivatecatalog1_beta1/3.1.0+20200405/google_cloudprivatecatalog1_beta1/api::FolderVersionSearchCall) * organizations - * [*catalogs search*](https://docs.rs/google-cloudprivatecatalog1_beta1/3.0.0+20200405/google_cloudprivatecatalog1_beta1/api::OrganizationCatalogSearchCall), [*products search*](https://docs.rs/google-cloudprivatecatalog1_beta1/3.0.0+20200405/google_cloudprivatecatalog1_beta1/api::OrganizationProductSearchCall) and [*versions search*](https://docs.rs/google-cloudprivatecatalog1_beta1/3.0.0+20200405/google_cloudprivatecatalog1_beta1/api::OrganizationVersionSearchCall) + * [*catalogs search*](https://docs.rs/google-cloudprivatecatalog1_beta1/3.1.0+20200405/google_cloudprivatecatalog1_beta1/api::OrganizationCatalogSearchCall), [*products search*](https://docs.rs/google-cloudprivatecatalog1_beta1/3.1.0+20200405/google_cloudprivatecatalog1_beta1/api::OrganizationProductSearchCall) and [*versions search*](https://docs.rs/google-cloudprivatecatalog1_beta1/3.1.0+20200405/google_cloudprivatecatalog1_beta1/api::OrganizationVersionSearchCall) * projects - * [*catalogs search*](https://docs.rs/google-cloudprivatecatalog1_beta1/3.0.0+20200405/google_cloudprivatecatalog1_beta1/api::ProjectCatalogSearchCall), [*products search*](https://docs.rs/google-cloudprivatecatalog1_beta1/3.0.0+20200405/google_cloudprivatecatalog1_beta1/api::ProjectProductSearchCall) and [*versions search*](https://docs.rs/google-cloudprivatecatalog1_beta1/3.0.0+20200405/google_cloudprivatecatalog1_beta1/api::ProjectVersionSearchCall) + * [*catalogs search*](https://docs.rs/google-cloudprivatecatalog1_beta1/3.1.0+20200405/google_cloudprivatecatalog1_beta1/api::ProjectCatalogSearchCall), [*products search*](https://docs.rs/google-cloudprivatecatalog1_beta1/3.1.0+20200405/google_cloudprivatecatalog1_beta1/api::ProjectProductSearchCall) and [*versions search*](https://docs.rs/google-cloudprivatecatalog1_beta1/3.1.0+20200405/google_cloudprivatecatalog1_beta1/api::ProjectVersionSearchCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudprivatecatalog1_beta1/3.0.0+20200405/google_cloudprivatecatalog1_beta1/CloudPrivateCatalog)** +* **[Hub](https://docs.rs/google-cloudprivatecatalog1_beta1/3.1.0+20200405/google_cloudprivatecatalog1_beta1/CloudPrivateCatalog)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudprivatecatalog1_beta1/3.0.0+20200405/google_cloudprivatecatalog1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudprivatecatalog1_beta1/3.0.0+20200405/google_cloudprivatecatalog1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudprivatecatalog1_beta1/3.0.0+20200405/google_cloudprivatecatalog1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudprivatecatalog1_beta1/3.1.0+20200405/google_cloudprivatecatalog1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudprivatecatalog1_beta1/3.1.0+20200405/google_cloudprivatecatalog1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudprivatecatalog1_beta1/3.1.0+20200405/google_cloudprivatecatalog1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudprivatecatalog1_beta1/3.0.0+20200405/google_cloudprivatecatalog1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-cloudprivatecatalog1_beta1/3.1.0+20200405/google_cloudprivatecatalog1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudprivatecatalog1_beta1/3.0.0+20200405/google_cloudprivatecatalog1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudprivatecatalog1_beta1/3.1.0+20200405/google_cloudprivatecatalog1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -96,7 +96,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudPrivateCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudPrivateCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -127,17 +127,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudprivatecatalog1_beta1/3.0.0+20200405/google_cloudprivatecatalog1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudprivatecatalog1_beta1/3.1.0+20200405/google_cloudprivatecatalog1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudprivatecatalog1_beta1/3.0.0+20200405/google_cloudprivatecatalog1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudprivatecatalog1_beta1/3.1.0+20200405/google_cloudprivatecatalog1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudprivatecatalog1_beta1/3.0.0+20200405/google_cloudprivatecatalog1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudprivatecatalog1_beta1/3.1.0+20200405/google_cloudprivatecatalog1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudprivatecatalog1_beta1/3.0.0+20200405/google_cloudprivatecatalog1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudprivatecatalog1_beta1/3.1.0+20200405/google_cloudprivatecatalog1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -147,29 +147,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudprivatecatalog1_beta1/3.0.0+20200405/google_cloudprivatecatalog1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudprivatecatalog1_beta1/3.0.0+20200405/google_cloudprivatecatalog1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudprivatecatalog1_beta1/3.1.0+20200405/google_cloudprivatecatalog1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudprivatecatalog1_beta1/3.1.0+20200405/google_cloudprivatecatalog1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-cloudprivatecatalog1_beta1/3.0.0+20200405/google_cloudprivatecatalog1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudprivatecatalog1_beta1/3.1.0+20200405/google_cloudprivatecatalog1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudprivatecatalog1_beta1/3.0.0+20200405/google_cloudprivatecatalog1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudprivatecatalog1_beta1/3.0.0+20200405/google_cloudprivatecatalog1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudprivatecatalog1_beta1/3.1.0+20200405/google_cloudprivatecatalog1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-cloudprivatecatalog1_beta1/3.1.0+20200405/google_cloudprivatecatalog1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudprivatecatalog1_beta1/3.0.0+20200405/google_cloudprivatecatalog1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudprivatecatalog1_beta1/3.1.0+20200405/google_cloudprivatecatalog1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-cloudprivatecatalog1_beta1/3.0.0+20200405/google_cloudprivatecatalog1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudprivatecatalog1_beta1/3.1.0+20200405/google_cloudprivatecatalog1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-cloudprivatecatalog1_beta1/3.0.0+20200405/google_cloudprivatecatalog1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudprivatecatalog1_beta1/3.1.0+20200405/google_cloudprivatecatalog1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudprivatecatalog1_beta1/src/api.rs b/gen/cloudprivatecatalog1_beta1/src/api.rs index 528e810d50..2e8e7acc57 100644 --- a/gen/cloudprivatecatalog1_beta1/src/api.rs +++ b/gen/cloudprivatecatalog1_beta1/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudPrivateCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudPrivateCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -116,7 +116,7 @@ impl<'a, > CloudPrivateCatalog<> { CloudPrivateCatalog { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://cloudprivatecatalog.googleapis.com/".to_string(), _root_url: "https://cloudprivatecatalog.googleapis.com/".to_string(), } @@ -133,7 +133,7 @@ impl<'a, > CloudPrivateCatalog<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -460,7 +460,7 @@ impl client::Part for GoogleCloudPrivatecatalogV1beta1Version {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudPrivateCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudPrivateCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `catalogs_search(...)`, `products_search(...)` and `versions_search(...)` /// // to build up your call. @@ -569,7 +569,7 @@ impl<'a> FolderMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudPrivateCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudPrivateCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `catalogs_search(...)`, `products_search(...)` and `versions_search(...)` /// // to build up your call. @@ -678,7 +678,7 @@ impl<'a> OrganizationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudPrivateCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudPrivateCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `catalogs_search(...)`, `products_search(...)` and `versions_search(...)` /// // to build up your call. @@ -795,7 +795,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudPrivateCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudPrivateCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1096,7 +1096,7 @@ impl<'a> FolderCatalogSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudPrivateCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudPrivateCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1398,7 +1398,7 @@ impl<'a> FolderProductSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudPrivateCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudPrivateCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1700,7 +1700,7 @@ impl<'a> FolderVersionSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudPrivateCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudPrivateCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2001,7 +2001,7 @@ impl<'a> OrganizationCatalogSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudPrivateCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudPrivateCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2303,7 +2303,7 @@ impl<'a> OrganizationProductSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudPrivateCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudPrivateCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2605,7 +2605,7 @@ impl<'a> OrganizationVersionSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudPrivateCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudPrivateCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2906,7 +2906,7 @@ impl<'a> ProjectCatalogSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudPrivateCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudPrivateCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3208,7 +3208,7 @@ impl<'a> ProjectProductSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudPrivateCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudPrivateCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/cloudprivatecatalog1_beta1/src/lib.rs b/gen/cloudprivatecatalog1_beta1/src/lib.rs index 3f0b0bdf53..be4f44f7e8 100644 --- a/gen/cloudprivatecatalog1_beta1/src/lib.rs +++ b/gen/cloudprivatecatalog1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Private Catalog* crate version *3.0.0+20200405*, where *20200405* is the exact revision of the *cloudprivatecatalog:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Private Catalog* crate version *3.1.0+20200405*, where *20200405* is the exact revision of the *cloudprivatecatalog:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Private Catalog* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/private-catalog/). @@ -97,7 +97,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudPrivateCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudPrivateCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/cloudprivatecatalogproducer1_beta1-cli/Cargo.toml b/gen/cloudprivatecatalogproducer1_beta1-cli/Cargo.toml index 4eea51db8b..b0c6985d77 100644 --- a/gen/cloudprivatecatalogproducer1_beta1-cli/Cargo.toml +++ b/gen/cloudprivatecatalogproducer1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudprivatecatalogproducer1_beta1-cli" -version = "3.0.0+20200405" +version = "3.1.0+20200405" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud PrivateCatalog Producer (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudprivatecatalogproducer1_beta1-cli" @@ -20,12 +20,12 @@ name = "cloudprivatecatalogproducer1-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudprivatecatalogproducer1_beta1] path = "../cloudprivatecatalogproducer1_beta1" -version = "3.0.0+20200405" +version = "3.1.0+20200405" diff --git a/gen/cloudprivatecatalogproducer1_beta1-cli/README.md b/gen/cloudprivatecatalogproducer1_beta1-cli/README.md index 16c877de1b..6e0c976661 100644 --- a/gen/cloudprivatecatalogproducer1_beta1-cli/README.md +++ b/gen/cloudprivatecatalogproducer1_beta1-cli/README.md @@ -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 *Cloud PrivateCatalog Producer* API at revision *20200405*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud PrivateCatalog Producer* API at revision *20200405*. The CLI is at version *3.1.0*. ```bash cloudprivatecatalogproducer1-beta1 [options] diff --git a/gen/cloudprivatecatalogproducer1_beta1-cli/mkdocs.yml b/gen/cloudprivatecatalogproducer1_beta1-cli/mkdocs.yml index 6659402cf0..c55850fd05 100644 --- a/gen/cloudprivatecatalogproducer1_beta1-cli/mkdocs.yml +++ b/gen/cloudprivatecatalogproducer1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud PrivateCatalog Producer v3.0.0+20200405 +site_name: Cloud PrivateCatalog Producer v3.1.0+20200405 site_url: http://byron.github.io/google-apis-rs/google-cloudprivatecatalogproducer1_beta1-cli site_description: A complete library to interact with Cloud PrivateCatalog Producer (protocol v1beta1) diff --git a/gen/cloudprivatecatalogproducer1_beta1-cli/src/main.rs b/gen/cloudprivatecatalogproducer1_beta1-cli/src/main.rs index b17e4ae829..51d2a86db4 100644 --- a/gen/cloudprivatecatalogproducer1_beta1-cli/src/main.rs +++ b/gen/cloudprivatecatalogproducer1_beta1-cli/src/main.rs @@ -2214,7 +2214,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/cloudprivatecatalogproducer1-beta1", 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::CloudPrivateCatalogProducer::new(client, auth), @@ -3010,7 +3016,7 @@ async fn main() { let mut app = App::new("cloudprivatecatalogproducer1-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20200405") + .version("3.1.0+20200405") .about("Enables cloud users to manage and share enterprise catalogs intheir organizations.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudprivatecatalogproducer1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudprivatecatalogproducer1_beta1/Cargo.toml b/gen/cloudprivatecatalogproducer1_beta1/Cargo.toml index 7cd419db01..beaed730c5 100644 --- a/gen/cloudprivatecatalogproducer1_beta1/Cargo.toml +++ b/gen/cloudprivatecatalogproducer1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudprivatecatalogproducer1_beta1" -version = "3.0.0+20200405" +version = "3.1.0+20200405" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud PrivateCatalog Producer (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudprivatecatalogproducer1_beta1" homepage = "https://cloud.google.com/private-catalog/" -documentation = "https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405" +documentation = "https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405" license = "MIT" keywords = ["cloudprivatecatalogp", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/cloudprivatecatalogproducer1_beta1/README.md b/gen/cloudprivatecatalogproducer1_beta1/README.md index 11caed63d2..2ccb6cd049 100644 --- a/gen/cloudprivatecatalogproducer1_beta1/README.md +++ b/gen/cloudprivatecatalogproducer1_beta1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-cloudprivatecatalogproducer1_beta1` library allows access to all features of the *Google Cloud PrivateCatalog Producer* service. -This documentation was generated from *Cloud PrivateCatalog Producer* crate version *3.0.0+20200405*, where *20200405* is the exact revision of the *cloudprivatecatalogproducer:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud PrivateCatalog Producer* crate version *3.1.0+20200405*, where *20200405* is the exact revision of the *cloudprivatecatalogproducer:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud PrivateCatalog Producer* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/private-catalog/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/CloudPrivateCatalogProducer) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/CloudPrivateCatalogProducer) ... * catalogs - * [*associations create*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogAssociationCreateCall), [*associations delete*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogAssociationDeleteCall), [*associations get*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogAssociationGetCall), [*associations list*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogAssociationListCall), [*create*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogCreateCall), [*delete*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogDeleteCall), [*get*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogGetCall), [*get iam policy*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogGetIamPolicyCall), [*list*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogListCall), [*patch*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogPatchCall), [*products copy*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductCopyCall), [*products create*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductCreateCall), [*products delete*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductDeleteCall), [*products get*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductGetCall), [*products icons upload*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductIconUploadCall), [*products list*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductListCall), [*products patch*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductPatchCall), [*products versions create*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductVersionCreateCall), [*products versions delete*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductVersionDeleteCall), [*products versions get*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductVersionGetCall), [*products versions list*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductVersionListCall), [*products versions patch*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductVersionPatchCall), [*set iam policy*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogTestIamPermissionCall) and [*undelete*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogUndeleteCall) + * [*associations create*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogAssociationCreateCall), [*associations delete*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogAssociationDeleteCall), [*associations get*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogAssociationGetCall), [*associations list*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogAssociationListCall), [*create*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogCreateCall), [*delete*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogDeleteCall), [*get*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogGetCall), [*get iam policy*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogGetIamPolicyCall), [*list*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogListCall), [*patch*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogPatchCall), [*products copy*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductCopyCall), [*products create*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductCreateCall), [*products delete*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductDeleteCall), [*products get*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductGetCall), [*products icons upload*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductIconUploadCall), [*products list*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductListCall), [*products patch*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductPatchCall), [*products versions create*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductVersionCreateCall), [*products versions delete*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductVersionDeleteCall), [*products versions get*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductVersionGetCall), [*products versions list*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductVersionListCall), [*products versions patch*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogProductVersionPatchCall), [*set iam policy*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogTestIamPermissionCall) and [*undelete*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::CatalogUndeleteCall) * operations - * [*cancel*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::OperationCancelCall), [*delete*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::OperationDeleteCall), [*get*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::OperationGetCall) and [*list*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::OperationListCall) + * [*cancel*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::OperationCancelCall), [*delete*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::OperationDeleteCall), [*get*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::OperationGetCall) and [*list*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/api::OperationListCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/CloudPrivateCatalogProducer)** +* **[Hub](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/CloudPrivateCatalogProducer)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -98,7 +98,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -131,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -151,29 +151,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.0.0+20200405/google_cloudprivatecatalogproducer1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudprivatecatalogproducer1_beta1/3.1.0+20200405/google_cloudprivatecatalogproducer1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudprivatecatalogproducer1_beta1/src/api.rs b/gen/cloudprivatecatalogproducer1_beta1/src/api.rs index 5567070d10..b48e412b44 100644 --- a/gen/cloudprivatecatalogproducer1_beta1/src/api.rs +++ b/gen/cloudprivatecatalogproducer1_beta1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > CloudPrivateCatalogProducer<> { CloudPrivateCatalogProducer { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://cloudprivatecatalogproducer.googleapis.com/".to_string(), _root_url: "https://cloudprivatecatalogproducer.googleapis.com/".to_string(), } @@ -133,7 +133,7 @@ impl<'a, > CloudPrivateCatalogProducer<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1243,7 +1243,7 @@ impl client::Part for GoogleTypeExpr {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `associations_create(...)`, `associations_delete(...)`, `associations_get(...)`, `associations_list(...)`, `create(...)`, `delete(...)`, `get(...)`, `get_iam_policy(...)`, `list(...)`, `patch(...)`, `products_copy(...)`, `products_create(...)`, `products_delete(...)`, `products_get(...)`, `products_icons_upload(...)`, `products_list(...)`, `products_patch(...)`, `products_versions_create(...)`, `products_versions_delete(...)`, `products_versions_get(...)`, `products_versions_list(...)`, `products_versions_patch(...)`, `set_iam_policy(...)`, `test_iam_permissions(...)` and `undelete(...)` /// // to build up your call. @@ -1768,7 +1768,7 @@ impl<'a> CatalogMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `cancel(...)`, `delete(...)`, `get(...)` and `list(...)` /// // to build up your call. @@ -1909,7 +1909,7 @@ impl<'a> OperationMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2194,7 +2194,7 @@ impl<'a> CatalogAssociationCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2450,7 +2450,7 @@ impl<'a> CatalogAssociationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2706,7 +2706,7 @@ impl<'a> CatalogAssociationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2994,7 +2994,7 @@ impl<'a> CatalogAssociationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3280,7 +3280,7 @@ impl<'a> CatalogProductIconUploadCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3565,7 +3565,7 @@ impl<'a> CatalogProductVersionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3821,7 +3821,7 @@ impl<'a> CatalogProductVersionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4078,7 +4078,7 @@ impl<'a> CatalogProductVersionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4361,7 +4361,7 @@ impl<'a> CatalogProductVersionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4664,7 +4664,7 @@ impl<'a> CatalogProductVersionPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4950,7 +4950,7 @@ impl<'a> CatalogProductCopyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5235,7 +5235,7 @@ impl<'a> CatalogProductCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5491,7 +5491,7 @@ impl<'a> CatalogProductDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5748,7 +5748,7 @@ impl<'a> CatalogProductGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6044,7 +6044,7 @@ impl<'a> CatalogProductListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6347,7 +6347,7 @@ impl<'a> CatalogProductPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6599,7 +6599,7 @@ impl<'a> CatalogCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6869,7 +6869,7 @@ impl<'a> CatalogDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7125,7 +7125,7 @@ impl<'a> CatalogGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7402,7 +7402,7 @@ impl<'a> CatalogGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7660,7 +7660,7 @@ impl<'a> CatalogListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7962,7 +7962,7 @@ impl<'a> CatalogPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8249,7 +8249,7 @@ impl<'a> CatalogSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8536,7 +8536,7 @@ impl<'a> CatalogTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8831,7 +8831,7 @@ impl<'a> CatalogUndeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9119,7 +9119,7 @@ impl<'a> OperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9377,7 +9377,7 @@ impl<'a> OperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9642,7 +9642,7 @@ impl<'a> OperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/cloudprivatecatalogproducer1_beta1/src/lib.rs b/gen/cloudprivatecatalogproducer1_beta1/src/lib.rs index 6c4fe70ba4..bf92b5ce4e 100644 --- a/gen/cloudprivatecatalogproducer1_beta1/src/lib.rs +++ b/gen/cloudprivatecatalogproducer1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud PrivateCatalog Producer* crate version *3.0.0+20200405*, where *20200405* is the exact revision of the *cloudprivatecatalogproducer:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud PrivateCatalog Producer* crate version *3.1.0+20200405*, where *20200405* is the exact revision of the *cloudprivatecatalogproducer:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud PrivateCatalog Producer* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/private-catalog/). @@ -99,7 +99,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudPrivateCatalogProducer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/cloudprofiler2-cli/Cargo.toml b/gen/cloudprofiler2-cli/Cargo.toml index a89bb6d83f..4cef24cbc7 100644 --- a/gen/cloudprofiler2-cli/Cargo.toml +++ b/gen/cloudprofiler2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudprofiler2-cli" -version = "3.0.0+20220228" +version = "3.1.0+20220228" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Profiler (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudprofiler2-cli" @@ -20,12 +20,12 @@ name = "cloudprofiler2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudprofiler2] path = "../cloudprofiler2" -version = "3.0.0+20220228" +version = "3.1.0+20220228" diff --git a/gen/cloudprofiler2-cli/README.md b/gen/cloudprofiler2-cli/README.md index 06b793ed9b..0aebf39b3a 100644 --- a/gen/cloudprofiler2-cli/README.md +++ b/gen/cloudprofiler2-cli/README.md @@ -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 *Cloud Profiler* API at revision *20220228*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Profiler* API at revision *20220228*. The CLI is at version *3.1.0*. ```bash cloudprofiler2 [options] diff --git a/gen/cloudprofiler2-cli/mkdocs.yml b/gen/cloudprofiler2-cli/mkdocs.yml index d062b16367..04bdd808e0 100644 --- a/gen/cloudprofiler2-cli/mkdocs.yml +++ b/gen/cloudprofiler2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Profiler v3.0.0+20220228 +site_name: Cloud Profiler v3.1.0+20220228 site_url: http://byron.github.io/google-apis-rs/google-cloudprofiler2-cli site_description: A complete library to interact with Cloud Profiler (protocol v2) diff --git a/gen/cloudprofiler2-cli/src/main.rs b/gen/cloudprofiler2-cli/src/main.rs index 82376b7b45..f23e9735b9 100644 --- a/gen/cloudprofiler2-cli/src/main.rs +++ b/gen/cloudprofiler2-cli/src/main.rs @@ -374,7 +374,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/cloudprofiler2", 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::CloudProfiler::new(client, auth), @@ -500,7 +506,7 @@ async fn main() { let mut app = App::new("cloudprofiler2") .author("Sebastian Thiel ") - .version("3.0.0+20220228") + .version("3.1.0+20220228") .about("Manages continuous profiling information.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudprofiler2_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudprofiler2/Cargo.toml b/gen/cloudprofiler2/Cargo.toml index cff2276b1f..6cfb654515 100644 --- a/gen/cloudprofiler2/Cargo.toml +++ b/gen/cloudprofiler2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudprofiler2" -version = "3.0.0+20220228" +version = "3.1.0+20220228" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Profiler (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudprofiler2" homepage = "https://cloud.google.com/profiler/" -documentation = "https://docs.rs/google-cloudprofiler2/3.0.0+20220228" +documentation = "https://docs.rs/google-cloudprofiler2/3.1.0+20220228" license = "MIT" keywords = ["cloudprofiler", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/cloudprofiler2/README.md b/gen/cloudprofiler2/README.md index 0b32c67456..f383d873b4 100644 --- a/gen/cloudprofiler2/README.md +++ b/gen/cloudprofiler2/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-cloudprofiler2` library allows access to all features of the *Google Cloud Profiler* service. -This documentation was generated from *Cloud Profiler* crate version *3.0.0+20220228*, where *20220228* is the exact revision of the *cloudprofiler:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Profiler* crate version *3.1.0+20220228*, where *20220228* is the exact revision of the *cloudprofiler:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Profiler* *v2* API can be found at the [official documentation site](https://cloud.google.com/profiler/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudprofiler2/3.0.0+20220228/google_cloudprofiler2/CloudProfiler) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudprofiler2/3.1.0+20220228/google_cloudprofiler2/CloudProfiler) ... * projects - * [*profiles create*](https://docs.rs/google-cloudprofiler2/3.0.0+20220228/google_cloudprofiler2/api::ProjectProfileCreateCall), [*profiles create offline*](https://docs.rs/google-cloudprofiler2/3.0.0+20220228/google_cloudprofiler2/api::ProjectProfileCreateOfflineCall) and [*profiles patch*](https://docs.rs/google-cloudprofiler2/3.0.0+20220228/google_cloudprofiler2/api::ProjectProfilePatchCall) + * [*profiles create*](https://docs.rs/google-cloudprofiler2/3.1.0+20220228/google_cloudprofiler2/api::ProjectProfileCreateCall), [*profiles create offline*](https://docs.rs/google-cloudprofiler2/3.1.0+20220228/google_cloudprofiler2/api::ProjectProfileCreateOfflineCall) and [*profiles patch*](https://docs.rs/google-cloudprofiler2/3.1.0+20220228/google_cloudprofiler2/api::ProjectProfilePatchCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudprofiler2/3.0.0+20220228/google_cloudprofiler2/CloudProfiler)** +* **[Hub](https://docs.rs/google-cloudprofiler2/3.1.0+20220228/google_cloudprofiler2/CloudProfiler)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudprofiler2/3.0.0+20220228/google_cloudprofiler2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudprofiler2/3.0.0+20220228/google_cloudprofiler2/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudprofiler2/3.0.0+20220228/google_cloudprofiler2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudprofiler2/3.1.0+20220228/google_cloudprofiler2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudprofiler2/3.1.0+20220228/google_cloudprofiler2/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudprofiler2/3.1.0+20220228/google_cloudprofiler2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudprofiler2/3.0.0+20220228/google_cloudprofiler2/client::Part)** + * **[Parts](https://docs.rs/google-cloudprofiler2/3.1.0+20220228/google_cloudprofiler2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudprofiler2/3.0.0+20220228/google_cloudprofiler2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudprofiler2/3.1.0+20220228/google_cloudprofiler2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -93,7 +93,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudProfiler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudProfiler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -127,17 +127,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudprofiler2/3.0.0+20220228/google_cloudprofiler2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudprofiler2/3.1.0+20220228/google_cloudprofiler2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudprofiler2/3.0.0+20220228/google_cloudprofiler2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudprofiler2/3.1.0+20220228/google_cloudprofiler2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudprofiler2/3.0.0+20220228/google_cloudprofiler2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudprofiler2/3.1.0+20220228/google_cloudprofiler2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudprofiler2/3.0.0+20220228/google_cloudprofiler2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudprofiler2/3.1.0+20220228/google_cloudprofiler2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -147,29 +147,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudprofiler2/3.0.0+20220228/google_cloudprofiler2/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudprofiler2/3.0.0+20220228/google_cloudprofiler2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudprofiler2/3.1.0+20220228/google_cloudprofiler2/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudprofiler2/3.1.0+20220228/google_cloudprofiler2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-cloudprofiler2/3.0.0+20220228/google_cloudprofiler2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudprofiler2/3.1.0+20220228/google_cloudprofiler2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudprofiler2/3.0.0+20220228/google_cloudprofiler2/client::RequestValue) and -[decodable](https://docs.rs/google-cloudprofiler2/3.0.0+20220228/google_cloudprofiler2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudprofiler2/3.1.0+20220228/google_cloudprofiler2/client::RequestValue) and +[decodable](https://docs.rs/google-cloudprofiler2/3.1.0+20220228/google_cloudprofiler2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudprofiler2/3.0.0+20220228/google_cloudprofiler2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudprofiler2/3.1.0+20220228/google_cloudprofiler2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-cloudprofiler2/3.0.0+20220228/google_cloudprofiler2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudprofiler2/3.1.0+20220228/google_cloudprofiler2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-cloudprofiler2/3.0.0+20220228/google_cloudprofiler2/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudprofiler2/3.1.0+20220228/google_cloudprofiler2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudprofiler2/src/api.rs b/gen/cloudprofiler2/src/api.rs index ce5389cd39..5d0bd0cb46 100644 --- a/gen/cloudprofiler2/src/api.rs +++ b/gen/cloudprofiler2/src/api.rs @@ -79,7 +79,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudProfiler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudProfiler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -128,7 +128,7 @@ impl<'a, > CloudProfiler<> { CloudProfiler { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://cloudprofiler.googleapis.com/".to_string(), _root_url: "https://cloudprofiler.googleapis.com/".to_string(), } @@ -139,7 +139,7 @@ impl<'a, > CloudProfiler<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -265,7 +265,7 @@ impl client::ResponseResult for Profile {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudProfiler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudProfiler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `profiles_create(...)`, `profiles_create_offline(...)` and `profiles_patch(...)` /// // to build up your call. @@ -372,7 +372,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudProfiler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudProfiler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -658,7 +658,7 @@ impl<'a> ProjectProfileCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudProfiler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudProfiler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -944,7 +944,7 @@ impl<'a> ProjectProfileCreateOfflineCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudProfiler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudProfiler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/cloudprofiler2/src/lib.rs b/gen/cloudprofiler2/src/lib.rs index e87eb2153e..8fa99de0df 100644 --- a/gen/cloudprofiler2/src/lib.rs +++ b/gen/cloudprofiler2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Profiler* crate version *3.0.0+20220228*, where *20220228* is the exact revision of the *cloudprofiler:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Profiler* crate version *3.1.0+20220228*, where *20220228* is the exact revision of the *cloudprofiler:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Profiler* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/profiler/). @@ -94,7 +94,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudProfiler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudProfiler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/cloudresourcemanager1-cli/Cargo.toml b/gen/cloudresourcemanager1-cli/Cargo.toml index 585ed5dd87..937a628bad 100644 --- a/gen/cloudresourcemanager1-cli/Cargo.toml +++ b/gen/cloudresourcemanager1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudresourcemanager1-cli" -version = "3.0.0+20220306" +version = "3.1.0+20220306" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Resource Manager (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudresourcemanager1-cli" @@ -20,12 +20,12 @@ name = "cloudresourcemanager1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudresourcemanager1] path = "../cloudresourcemanager1" -version = "3.0.0+20220306" +version = "3.1.0+20220306" diff --git a/gen/cloudresourcemanager1-cli/README.md b/gen/cloudresourcemanager1-cli/README.md index 8cbcc7d6a8..cd54c203f3 100644 --- a/gen/cloudresourcemanager1-cli/README.md +++ b/gen/cloudresourcemanager1-cli/README.md @@ -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 *Cloud Resource Manager* API at revision *20220306*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Resource Manager* API at revision *20220306*. The CLI is at version *3.1.0*. ```bash cloudresourcemanager1 [options] diff --git a/gen/cloudresourcemanager1-cli/mkdocs.yml b/gen/cloudresourcemanager1-cli/mkdocs.yml index 57258fb083..f8afd48899 100644 --- a/gen/cloudresourcemanager1-cli/mkdocs.yml +++ b/gen/cloudresourcemanager1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Resource Manager v3.0.0+20220306 +site_name: Cloud Resource Manager v3.1.0+20220306 site_url: http://byron.github.io/google-apis-rs/google-cloudresourcemanager1-cli site_description: A complete library to interact with Cloud Resource Manager (protocol v1) diff --git a/gen/cloudresourcemanager1-cli/src/main.rs b/gen/cloudresourcemanager1-cli/src/main.rs index 433e5f623d..02df7420e5 100644 --- a/gen/cloudresourcemanager1-cli/src/main.rs +++ b/gen/cloudresourcemanager1-cli/src/main.rs @@ -3280,7 +3280,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/cloudresourcemanager1", 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::CloudResourceManager::new(client, auth), @@ -4320,7 +4326,7 @@ async fn main() { let mut app = App::new("cloudresourcemanager1") .author("Sebastian Thiel ") - .version("3.0.0+20220306") + .version("3.1.0+20220306") .about("Creates, reads, and updates metadata for Google Cloud Platform resource containers.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudresourcemanager1_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudresourcemanager1/Cargo.toml b/gen/cloudresourcemanager1/Cargo.toml index 62aec76d5b..aabaebc05f 100644 --- a/gen/cloudresourcemanager1/Cargo.toml +++ b/gen/cloudresourcemanager1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudresourcemanager1" -version = "3.0.0+20220306" +version = "3.1.0+20220306" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Resource Manager (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudresourcemanager1" homepage = "https://cloud.google.com/resource-manager" -documentation = "https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306" +documentation = "https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306" license = "MIT" keywords = ["cloudresourcemanager", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/cloudresourcemanager1/README.md b/gen/cloudresourcemanager1/README.md index 7de23f54ff..6a234f21b1 100644 --- a/gen/cloudresourcemanager1/README.md +++ b/gen/cloudresourcemanager1/README.md @@ -5,24 +5,24 @@ DO NOT EDIT ! --> The `google-cloudresourcemanager1` library allows access to all features of the *Google Cloud Resource Manager* service. -This documentation was generated from *Cloud Resource Manager* crate version *3.0.0+20220306*, where *20220306* is the exact revision of the *cloudresourcemanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Resource Manager* crate version *3.1.0+20220306*, where *20220306* is the exact revision of the *cloudresourcemanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Resource Manager* *v1* API can be found at the [official documentation site](https://cloud.google.com/resource-manager). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/CloudResourceManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/CloudResourceManager) ... * folders - * [*clear org policy*](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/api::FolderClearOrgPolicyCall), [*get effective org policy*](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/api::FolderGetEffectiveOrgPolicyCall), [*get org policy*](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/api::FolderGetOrgPolicyCall), [*list available org policy constraints*](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/api::FolderListAvailableOrgPolicyConstraintCall), [*list org policies*](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/api::FolderListOrgPolicyCall) and [*set org policy*](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/api::FolderSetOrgPolicyCall) -* [liens](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/api::Lien) - * [*create*](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/api::LienCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/api::LienDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/api::LienGetCall) and [*list*](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/api::LienListCall) -* [operations](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/api::Operation) - * [*get*](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/api::OperationGetCall) -* [organizations](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/api::Organization) - * [*clear org policy*](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/api::OrganizationClearOrgPolicyCall), [*get*](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/api::OrganizationGetCall), [*get effective org policy*](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/api::OrganizationGetEffectiveOrgPolicyCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/api::OrganizationGetIamPolicyCall), [*get org policy*](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/api::OrganizationGetOrgPolicyCall), [*list available org policy constraints*](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/api::OrganizationListAvailableOrgPolicyConstraintCall), [*list org policies*](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/api::OrganizationListOrgPolicyCall), [*search*](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/api::OrganizationSearchCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/api::OrganizationSetIamPolicyCall), [*set org policy*](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/api::OrganizationSetOrgPolicyCall) and [*test iam permissions*](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/api::OrganizationTestIamPermissionCall) -* [projects](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/api::Project) - * [*clear org policy*](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/api::ProjectClearOrgPolicyCall), [*create*](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/api::ProjectCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/api::ProjectDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/api::ProjectGetCall), [*get ancestry*](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/api::ProjectGetAncestryCall), [*get effective org policy*](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/api::ProjectGetEffectiveOrgPolicyCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/api::ProjectGetIamPolicyCall), [*get org policy*](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/api::ProjectGetOrgPolicyCall), [*list*](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/api::ProjectListCall), [*list available org policy constraints*](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/api::ProjectListAvailableOrgPolicyConstraintCall), [*list org policies*](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/api::ProjectListOrgPolicyCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/api::ProjectSetIamPolicyCall), [*set org policy*](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/api::ProjectSetOrgPolicyCall), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/api::ProjectTestIamPermissionCall), [*undelete*](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/api::ProjectUndeleteCall) and [*update*](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/api::ProjectUpdateCall) + * [*clear org policy*](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/api::FolderClearOrgPolicyCall), [*get effective org policy*](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/api::FolderGetEffectiveOrgPolicyCall), [*get org policy*](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/api::FolderGetOrgPolicyCall), [*list available org policy constraints*](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/api::FolderListAvailableOrgPolicyConstraintCall), [*list org policies*](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/api::FolderListOrgPolicyCall) and [*set org policy*](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/api::FolderSetOrgPolicyCall) +* [liens](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/api::Lien) + * [*create*](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/api::LienCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/api::LienDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/api::LienGetCall) and [*list*](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/api::LienListCall) +* [operations](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/api::Operation) + * [*get*](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/api::OperationGetCall) +* [organizations](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/api::Organization) + * [*clear org policy*](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/api::OrganizationClearOrgPolicyCall), [*get*](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/api::OrganizationGetCall), [*get effective org policy*](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/api::OrganizationGetEffectiveOrgPolicyCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/api::OrganizationGetIamPolicyCall), [*get org policy*](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/api::OrganizationGetOrgPolicyCall), [*list available org policy constraints*](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/api::OrganizationListAvailableOrgPolicyConstraintCall), [*list org policies*](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/api::OrganizationListOrgPolicyCall), [*search*](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/api::OrganizationSearchCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/api::OrganizationSetIamPolicyCall), [*set org policy*](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/api::OrganizationSetOrgPolicyCall) and [*test iam permissions*](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/api::OrganizationTestIamPermissionCall) +* [projects](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/api::Project) + * [*clear org policy*](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/api::ProjectClearOrgPolicyCall), [*create*](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/api::ProjectCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/api::ProjectDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/api::ProjectGetCall), [*get ancestry*](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/api::ProjectGetAncestryCall), [*get effective org policy*](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/api::ProjectGetEffectiveOrgPolicyCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/api::ProjectGetIamPolicyCall), [*get org policy*](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/api::ProjectGetOrgPolicyCall), [*list*](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/api::ProjectListCall), [*list available org policy constraints*](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/api::ProjectListAvailableOrgPolicyConstraintCall), [*list org policies*](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/api::ProjectListOrgPolicyCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/api::ProjectSetIamPolicyCall), [*set org policy*](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/api::ProjectSetOrgPolicyCall), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/api::ProjectTestIamPermissionCall), [*undelete*](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/api::ProjectUndeleteCall) and [*update*](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/api::ProjectUpdateCall) @@ -31,17 +31,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/CloudResourceManager)** +* **[Hub](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/CloudResourceManager)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/client::Part)** + * **[Parts](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -113,7 +113,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -144,17 +144,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -164,29 +164,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/client::RequestValue) and +[decodable](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-cloudresourcemanager1/3.0.0+20220306/google_cloudresourcemanager1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudresourcemanager1/3.1.0+20220306/google_cloudresourcemanager1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudresourcemanager1/src/api.rs b/gen/cloudresourcemanager1/src/api.rs index 442922e5f5..cbc8b35601 100644 --- a/gen/cloudresourcemanager1/src/api.rs +++ b/gen/cloudresourcemanager1/src/api.rs @@ -74,7 +74,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > CloudResourceManager<> { CloudResourceManager { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://cloudresourcemanager.googleapis.com/".to_string(), _root_url: "https://cloudresourcemanager.googleapis.com/".to_string(), } @@ -143,7 +143,7 @@ impl<'a, > CloudResourceManager<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1079,7 +1079,7 @@ impl client::RequestValue for UndeleteProjectRequest {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `clear_org_policy(...)`, `get_effective_org_policy(...)`, `get_org_policy(...)`, `list_available_org_policy_constraints(...)`, `list_org_policies(...)` and `set_org_policy(...)` /// // to build up your call. @@ -1234,7 +1234,7 @@ impl<'a> FolderMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)`, `get(...)` and `list(...)` /// // to build up your call. @@ -1341,7 +1341,7 @@ impl<'a> LienMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -1399,7 +1399,7 @@ impl<'a> OperationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `clear_org_policy(...)`, `get(...)`, `get_effective_org_policy(...)`, `get_iam_policy(...)`, `get_org_policy(...)`, `list_available_org_policy_constraints(...)`, `list_org_policies(...)`, `search(...)`, `set_iam_policy(...)`, `set_org_policy(...)` and `test_iam_permissions(...)` /// // to build up your call. @@ -1645,7 +1645,7 @@ impl<'a> OrganizationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `clear_org_policy(...)`, `create(...)`, `delete(...)`, `get(...)`, `get_ancestry(...)`, `get_effective_org_policy(...)`, `get_iam_policy(...)`, `get_org_policy(...)`, `list(...)`, `list_available_org_policy_constraints(...)`, `list_org_policies(...)`, `set_iam_policy(...)`, `set_org_policy(...)`, `test_iam_permissions(...)`, `undelete(...)` and `update(...)` /// // to build up your call. @@ -1988,7 +1988,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2274,7 +2274,7 @@ impl<'a> FolderClearOrgPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2560,7 +2560,7 @@ impl<'a> FolderGetEffectiveOrgPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2846,7 +2846,7 @@ impl<'a> FolderGetOrgPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3132,7 +3132,7 @@ impl<'a> FolderListAvailableOrgPolicyConstraintCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3418,7 +3418,7 @@ impl<'a> FolderListOrgPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3704,7 +3704,7 @@ impl<'a> FolderSetOrgPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3952,7 +3952,7 @@ impl<'a> LienCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4208,7 +4208,7 @@ impl<'a> LienDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4464,7 +4464,7 @@ impl<'a> LienGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4719,7 +4719,7 @@ impl<'a> LienListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4976,7 +4976,7 @@ impl<'a> OperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5261,7 +5261,7 @@ impl<'a> OrganizationClearOrgPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5518,7 +5518,7 @@ impl<'a> OrganizationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5804,7 +5804,7 @@ impl<'a> OrganizationGetEffectiveOrgPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6090,7 +6090,7 @@ impl<'a> OrganizationGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6376,7 +6376,7 @@ impl<'a> OrganizationGetOrgPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6662,7 +6662,7 @@ impl<'a> OrganizationListAvailableOrgPolicyConstraintCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6948,7 +6948,7 @@ impl<'a> OrganizationListOrgPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7197,7 +7197,7 @@ impl<'a> OrganizationSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7483,7 +7483,7 @@ impl<'a> OrganizationSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7769,7 +7769,7 @@ impl<'a> OrganizationSetOrgPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8055,7 +8055,7 @@ impl<'a> OrganizationTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8341,7 +8341,7 @@ impl<'a> ProjectClearOrgPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8589,7 +8589,7 @@ impl<'a> ProjectCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8841,7 +8841,7 @@ impl<'a> ProjectDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9094,7 +9094,7 @@ impl<'a> ProjectGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9376,7 +9376,7 @@ impl<'a> ProjectGetAncestryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9662,7 +9662,7 @@ impl<'a> ProjectGetEffectiveOrgPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9944,7 +9944,7 @@ impl<'a> ProjectGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10229,7 +10229,7 @@ impl<'a> ProjectGetOrgPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10485,7 +10485,7 @@ impl<'a> ProjectListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10771,7 +10771,7 @@ impl<'a> ProjectListAvailableOrgPolicyConstraintCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11057,7 +11057,7 @@ impl<'a> ProjectListOrgPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11339,7 +11339,7 @@ impl<'a> ProjectSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11625,7 +11625,7 @@ impl<'a> ProjectSetOrgPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11907,7 +11907,7 @@ impl<'a> ProjectTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12189,7 +12189,7 @@ impl<'a> ProjectUndeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/cloudresourcemanager1/src/lib.rs b/gen/cloudresourcemanager1/src/lib.rs index d7e1f69ec5..a2ee8d7ddb 100644 --- a/gen/cloudresourcemanager1/src/lib.rs +++ b/gen/cloudresourcemanager1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Resource Manager* crate version *3.0.0+20220306*, where *20220306* is the exact revision of the *cloudresourcemanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Resource Manager* crate version *3.1.0+20220306*, where *20220306* is the exact revision of the *cloudresourcemanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Resource Manager* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/resource-manager). @@ -114,7 +114,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/cloudresourcemanager1_beta1-cli/Cargo.toml b/gen/cloudresourcemanager1_beta1-cli/Cargo.toml index bad7da0d83..abb5e606bc 100644 --- a/gen/cloudresourcemanager1_beta1-cli/Cargo.toml +++ b/gen/cloudresourcemanager1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudresourcemanager1_beta1-cli" -version = "3.0.0+20220306" +version = "3.1.0+20220306" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Resource Manager (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudresourcemanager1_beta1-cli" @@ -20,12 +20,12 @@ name = "cloudresourcemanager1-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudresourcemanager1_beta1] path = "../cloudresourcemanager1_beta1" -version = "3.0.0+20220306" +version = "3.1.0+20220306" diff --git a/gen/cloudresourcemanager1_beta1-cli/README.md b/gen/cloudresourcemanager1_beta1-cli/README.md index 1e5581c69b..56df68a66b 100644 --- a/gen/cloudresourcemanager1_beta1-cli/README.md +++ b/gen/cloudresourcemanager1_beta1-cli/README.md @@ -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 *Cloud Resource Manager* API at revision *20220306*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Resource Manager* API at revision *20220306*. The CLI is at version *3.1.0*. ```bash cloudresourcemanager1-beta1 [options] diff --git a/gen/cloudresourcemanager1_beta1-cli/mkdocs.yml b/gen/cloudresourcemanager1_beta1-cli/mkdocs.yml index 4530f71ea1..9ad043cbcc 100644 --- a/gen/cloudresourcemanager1_beta1-cli/mkdocs.yml +++ b/gen/cloudresourcemanager1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Resource Manager v3.0.0+20220306 +site_name: Cloud Resource Manager v3.1.0+20220306 site_url: http://byron.github.io/google-apis-rs/google-cloudresourcemanager1_beta1-cli site_description: A complete library to interact with Cloud Resource Manager (protocol v1beta1) diff --git a/gen/cloudresourcemanager1_beta1-cli/src/main.rs b/gen/cloudresourcemanager1_beta1-cli/src/main.rs index 2ddf7b476f..a4bc31d4a9 100644 --- a/gen/cloudresourcemanager1_beta1-cli/src/main.rs +++ b/gen/cloudresourcemanager1_beta1-cli/src/main.rs @@ -1389,7 +1389,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/cloudresourcemanager1-beta1", 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::CloudResourceManager::new(client, auth), @@ -1834,7 +1840,7 @@ async fn main() { let mut app = App::new("cloudresourcemanager1-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20220306") + .version("3.1.0+20220306") .about("Creates, reads, and updates metadata for Google Cloud Platform resource containers.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudresourcemanager1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudresourcemanager1_beta1/Cargo.toml b/gen/cloudresourcemanager1_beta1/Cargo.toml index 9ba90dbc02..a277ec5875 100644 --- a/gen/cloudresourcemanager1_beta1/Cargo.toml +++ b/gen/cloudresourcemanager1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudresourcemanager1_beta1" -version = "3.0.0+20220306" +version = "3.1.0+20220306" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Resource Manager (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudresourcemanager1_beta1" homepage = "https://cloud.google.com/resource-manager" -documentation = "https://docs.rs/google-cloudresourcemanager1_beta1/3.0.0+20220306" +documentation = "https://docs.rs/google-cloudresourcemanager1_beta1/3.1.0+20220306" license = "MIT" keywords = ["cloudresourcemanager", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/cloudresourcemanager1_beta1/README.md b/gen/cloudresourcemanager1_beta1/README.md index 2314bbfd5b..2fddf0196d 100644 --- a/gen/cloudresourcemanager1_beta1/README.md +++ b/gen/cloudresourcemanager1_beta1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-cloudresourcemanager1_beta1` library allows access to all features of the *Google Cloud Resource Manager* service. -This documentation was generated from *Cloud Resource Manager* crate version *3.0.0+20220306*, where *20220306* is the exact revision of the *cloudresourcemanager:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Resource Manager* crate version *3.1.0+20220306*, where *20220306* is the exact revision of the *cloudresourcemanager:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Resource Manager* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/resource-manager). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudresourcemanager1_beta1/3.0.0+20220306/google_cloudresourcemanager1_beta1/CloudResourceManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudresourcemanager1_beta1/3.1.0+20220306/google_cloudresourcemanager1_beta1/CloudResourceManager) ... -* [organizations](https://docs.rs/google-cloudresourcemanager1_beta1/3.0.0+20220306/google_cloudresourcemanager1_beta1/api::Organization) - * [*get*](https://docs.rs/google-cloudresourcemanager1_beta1/3.0.0+20220306/google_cloudresourcemanager1_beta1/api::OrganizationGetCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager1_beta1/3.0.0+20220306/google_cloudresourcemanager1_beta1/api::OrganizationGetIamPolicyCall), [*list*](https://docs.rs/google-cloudresourcemanager1_beta1/3.0.0+20220306/google_cloudresourcemanager1_beta1/api::OrganizationListCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager1_beta1/3.0.0+20220306/google_cloudresourcemanager1_beta1/api::OrganizationSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager1_beta1/3.0.0+20220306/google_cloudresourcemanager1_beta1/api::OrganizationTestIamPermissionCall) and [*update*](https://docs.rs/google-cloudresourcemanager1_beta1/3.0.0+20220306/google_cloudresourcemanager1_beta1/api::OrganizationUpdateCall) -* [projects](https://docs.rs/google-cloudresourcemanager1_beta1/3.0.0+20220306/google_cloudresourcemanager1_beta1/api::Project) - * [*create*](https://docs.rs/google-cloudresourcemanager1_beta1/3.0.0+20220306/google_cloudresourcemanager1_beta1/api::ProjectCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager1_beta1/3.0.0+20220306/google_cloudresourcemanager1_beta1/api::ProjectDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager1_beta1/3.0.0+20220306/google_cloudresourcemanager1_beta1/api::ProjectGetCall), [*get ancestry*](https://docs.rs/google-cloudresourcemanager1_beta1/3.0.0+20220306/google_cloudresourcemanager1_beta1/api::ProjectGetAncestryCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager1_beta1/3.0.0+20220306/google_cloudresourcemanager1_beta1/api::ProjectGetIamPolicyCall), [*list*](https://docs.rs/google-cloudresourcemanager1_beta1/3.0.0+20220306/google_cloudresourcemanager1_beta1/api::ProjectListCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager1_beta1/3.0.0+20220306/google_cloudresourcemanager1_beta1/api::ProjectSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager1_beta1/3.0.0+20220306/google_cloudresourcemanager1_beta1/api::ProjectTestIamPermissionCall), [*undelete*](https://docs.rs/google-cloudresourcemanager1_beta1/3.0.0+20220306/google_cloudresourcemanager1_beta1/api::ProjectUndeleteCall) and [*update*](https://docs.rs/google-cloudresourcemanager1_beta1/3.0.0+20220306/google_cloudresourcemanager1_beta1/api::ProjectUpdateCall) +* [organizations](https://docs.rs/google-cloudresourcemanager1_beta1/3.1.0+20220306/google_cloudresourcemanager1_beta1/api::Organization) + * [*get*](https://docs.rs/google-cloudresourcemanager1_beta1/3.1.0+20220306/google_cloudresourcemanager1_beta1/api::OrganizationGetCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager1_beta1/3.1.0+20220306/google_cloudresourcemanager1_beta1/api::OrganizationGetIamPolicyCall), [*list*](https://docs.rs/google-cloudresourcemanager1_beta1/3.1.0+20220306/google_cloudresourcemanager1_beta1/api::OrganizationListCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager1_beta1/3.1.0+20220306/google_cloudresourcemanager1_beta1/api::OrganizationSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager1_beta1/3.1.0+20220306/google_cloudresourcemanager1_beta1/api::OrganizationTestIamPermissionCall) and [*update*](https://docs.rs/google-cloudresourcemanager1_beta1/3.1.0+20220306/google_cloudresourcemanager1_beta1/api::OrganizationUpdateCall) +* [projects](https://docs.rs/google-cloudresourcemanager1_beta1/3.1.0+20220306/google_cloudresourcemanager1_beta1/api::Project) + * [*create*](https://docs.rs/google-cloudresourcemanager1_beta1/3.1.0+20220306/google_cloudresourcemanager1_beta1/api::ProjectCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager1_beta1/3.1.0+20220306/google_cloudresourcemanager1_beta1/api::ProjectDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager1_beta1/3.1.0+20220306/google_cloudresourcemanager1_beta1/api::ProjectGetCall), [*get ancestry*](https://docs.rs/google-cloudresourcemanager1_beta1/3.1.0+20220306/google_cloudresourcemanager1_beta1/api::ProjectGetAncestryCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager1_beta1/3.1.0+20220306/google_cloudresourcemanager1_beta1/api::ProjectGetIamPolicyCall), [*list*](https://docs.rs/google-cloudresourcemanager1_beta1/3.1.0+20220306/google_cloudresourcemanager1_beta1/api::ProjectListCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager1_beta1/3.1.0+20220306/google_cloudresourcemanager1_beta1/api::ProjectSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager1_beta1/3.1.0+20220306/google_cloudresourcemanager1_beta1/api::ProjectTestIamPermissionCall), [*undelete*](https://docs.rs/google-cloudresourcemanager1_beta1/3.1.0+20220306/google_cloudresourcemanager1_beta1/api::ProjectUndeleteCall) and [*update*](https://docs.rs/google-cloudresourcemanager1_beta1/3.1.0+20220306/google_cloudresourcemanager1_beta1/api::ProjectUpdateCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudresourcemanager1_beta1/3.0.0+20220306/google_cloudresourcemanager1_beta1/CloudResourceManager)** +* **[Hub](https://docs.rs/google-cloudresourcemanager1_beta1/3.1.0+20220306/google_cloudresourcemanager1_beta1/CloudResourceManager)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudresourcemanager1_beta1/3.0.0+20220306/google_cloudresourcemanager1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudresourcemanager1_beta1/3.0.0+20220306/google_cloudresourcemanager1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudresourcemanager1_beta1/3.0.0+20220306/google_cloudresourcemanager1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudresourcemanager1_beta1/3.1.0+20220306/google_cloudresourcemanager1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudresourcemanager1_beta1/3.1.0+20220306/google_cloudresourcemanager1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudresourcemanager1_beta1/3.1.0+20220306/google_cloudresourcemanager1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudresourcemanager1_beta1/3.0.0+20220306/google_cloudresourcemanager1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-cloudresourcemanager1_beta1/3.1.0+20220306/google_cloudresourcemanager1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudresourcemanager1_beta1/3.0.0+20220306/google_cloudresourcemanager1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudresourcemanager1_beta1/3.1.0+20220306/google_cloudresourcemanager1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -101,7 +101,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudresourcemanager1_beta1/3.0.0+20220306/google_cloudresourcemanager1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudresourcemanager1_beta1/3.1.0+20220306/google_cloudresourcemanager1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudresourcemanager1_beta1/3.0.0+20220306/google_cloudresourcemanager1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudresourcemanager1_beta1/3.1.0+20220306/google_cloudresourcemanager1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudresourcemanager1_beta1/3.0.0+20220306/google_cloudresourcemanager1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudresourcemanager1_beta1/3.1.0+20220306/google_cloudresourcemanager1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudresourcemanager1_beta1/3.0.0+20220306/google_cloudresourcemanager1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudresourcemanager1_beta1/3.1.0+20220306/google_cloudresourcemanager1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -152,29 +152,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudresourcemanager1_beta1/3.0.0+20220306/google_cloudresourcemanager1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudresourcemanager1_beta1/3.0.0+20220306/google_cloudresourcemanager1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudresourcemanager1_beta1/3.1.0+20220306/google_cloudresourcemanager1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudresourcemanager1_beta1/3.1.0+20220306/google_cloudresourcemanager1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-cloudresourcemanager1_beta1/3.0.0+20220306/google_cloudresourcemanager1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudresourcemanager1_beta1/3.1.0+20220306/google_cloudresourcemanager1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudresourcemanager1_beta1/3.0.0+20220306/google_cloudresourcemanager1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudresourcemanager1_beta1/3.0.0+20220306/google_cloudresourcemanager1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudresourcemanager1_beta1/3.1.0+20220306/google_cloudresourcemanager1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-cloudresourcemanager1_beta1/3.1.0+20220306/google_cloudresourcemanager1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudresourcemanager1_beta1/3.0.0+20220306/google_cloudresourcemanager1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudresourcemanager1_beta1/3.1.0+20220306/google_cloudresourcemanager1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-cloudresourcemanager1_beta1/3.0.0+20220306/google_cloudresourcemanager1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudresourcemanager1_beta1/3.1.0+20220306/google_cloudresourcemanager1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-cloudresourcemanager1_beta1/3.0.0+20220306/google_cloudresourcemanager1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudresourcemanager1_beta1/3.1.0+20220306/google_cloudresourcemanager1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudresourcemanager1_beta1/src/api.rs b/gen/cloudresourcemanager1_beta1/src/api.rs index 3d0d9da02d..c2989c944c 100644 --- a/gen/cloudresourcemanager1_beta1/src/api.rs +++ b/gen/cloudresourcemanager1_beta1/src/api.rs @@ -74,7 +74,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > CloudResourceManager<> { CloudResourceManager { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://cloudresourcemanager.googleapis.com/".to_string(), _root_url: "https://cloudresourcemanager.googleapis.com/".to_string(), } @@ -134,7 +134,7 @@ impl<'a, > CloudResourceManager<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -612,7 +612,7 @@ impl client::RequestValue for UndeleteProjectRequest {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `get_iam_policy(...)`, `list(...)`, `set_iam_policy(...)`, `test_iam_permissions(...)` and `update(...)` /// // to build up your call. @@ -762,7 +762,7 @@ impl<'a> OrganizationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)`, `get(...)`, `get_ancestry(...)`, `get_iam_policy(...)`, `list(...)`, `set_iam_policy(...)`, `test_iam_permissions(...)`, `undelete(...)` and `update(...)` /// // to build up your call. @@ -991,7 +991,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1260,7 +1260,7 @@ impl<'a> OrganizationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1545,7 +1545,7 @@ impl<'a> OrganizationGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1801,7 +1801,7 @@ impl<'a> OrganizationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2087,7 +2087,7 @@ impl<'a> OrganizationSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2373,7 +2373,7 @@ impl<'a> OrganizationTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2659,7 +2659,7 @@ impl<'a> OrganizationUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2919,7 +2919,7 @@ impl<'a> ProjectCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3171,7 +3171,7 @@ impl<'a> ProjectDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3424,7 +3424,7 @@ impl<'a> ProjectGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3706,7 +3706,7 @@ impl<'a> ProjectGetAncestryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3987,7 +3987,7 @@ impl<'a> ProjectGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4243,7 +4243,7 @@ impl<'a> ProjectListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4525,7 +4525,7 @@ impl<'a> ProjectSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4807,7 +4807,7 @@ impl<'a> ProjectTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5089,7 +5089,7 @@ impl<'a> ProjectUndeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/cloudresourcemanager1_beta1/src/lib.rs b/gen/cloudresourcemanager1_beta1/src/lib.rs index 5066fbd494..255f9991cb 100644 --- a/gen/cloudresourcemanager1_beta1/src/lib.rs +++ b/gen/cloudresourcemanager1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Resource Manager* crate version *3.0.0+20220306*, where *20220306* is the exact revision of the *cloudresourcemanager:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Resource Manager* crate version *3.1.0+20220306*, where *20220306* is the exact revision of the *cloudresourcemanager:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Resource Manager* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/resource-manager). @@ -102,7 +102,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/cloudresourcemanager2-cli/Cargo.toml b/gen/cloudresourcemanager2-cli/Cargo.toml index be2e883787..256bab7598 100644 --- a/gen/cloudresourcemanager2-cli/Cargo.toml +++ b/gen/cloudresourcemanager2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudresourcemanager2-cli" -version = "3.0.0+20220306" +version = "3.1.0+20220306" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Resource Manager (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudresourcemanager2-cli" @@ -20,12 +20,12 @@ name = "cloudresourcemanager2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudresourcemanager2] path = "../cloudresourcemanager2" -version = "3.0.0+20220306" +version = "3.1.0+20220306" diff --git a/gen/cloudresourcemanager2-cli/README.md b/gen/cloudresourcemanager2-cli/README.md index 50c66265a8..4d12bbb6e0 100644 --- a/gen/cloudresourcemanager2-cli/README.md +++ b/gen/cloudresourcemanager2-cli/README.md @@ -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 *Cloud Resource Manager* API at revision *20220306*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Resource Manager* API at revision *20220306*. The CLI is at version *3.1.0*. ```bash cloudresourcemanager2 [options] diff --git a/gen/cloudresourcemanager2-cli/mkdocs.yml b/gen/cloudresourcemanager2-cli/mkdocs.yml index 833eda8eaa..a69ddfdad7 100644 --- a/gen/cloudresourcemanager2-cli/mkdocs.yml +++ b/gen/cloudresourcemanager2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Resource Manager v3.0.0+20220306 +site_name: Cloud Resource Manager v3.1.0+20220306 site_url: http://byron.github.io/google-apis-rs/google-cloudresourcemanager2-cli site_description: A complete library to interact with Cloud Resource Manager (protocol v2) diff --git a/gen/cloudresourcemanager2-cli/src/main.rs b/gen/cloudresourcemanager2-cli/src/main.rs index 3930260408..403c510f70 100644 --- a/gen/cloudresourcemanager2-cli/src/main.rs +++ b/gen/cloudresourcemanager2-cli/src/main.rs @@ -1053,7 +1053,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/cloudresourcemanager2", 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::CloudResourceManager::new(client, auth), @@ -1392,7 +1398,7 @@ async fn main() { let mut app = App::new("cloudresourcemanager2") .author("Sebastian Thiel ") - .version("3.0.0+20220306") + .version("3.1.0+20220306") .about("Creates, reads, and updates metadata for Google Cloud Platform resource containers.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudresourcemanager2_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudresourcemanager2/Cargo.toml b/gen/cloudresourcemanager2/Cargo.toml index dfc9f0bbf3..1b6335e3ca 100644 --- a/gen/cloudresourcemanager2/Cargo.toml +++ b/gen/cloudresourcemanager2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudresourcemanager2" -version = "3.0.0+20220306" +version = "3.1.0+20220306" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Resource Manager (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudresourcemanager2" homepage = "https://cloud.google.com/resource-manager" -documentation = "https://docs.rs/google-cloudresourcemanager2/3.0.0+20220306" +documentation = "https://docs.rs/google-cloudresourcemanager2/3.1.0+20220306" license = "MIT" keywords = ["cloudresourcemanager", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/cloudresourcemanager2/README.md b/gen/cloudresourcemanager2/README.md index 38a7a85f4e..bbdde5b42e 100644 --- a/gen/cloudresourcemanager2/README.md +++ b/gen/cloudresourcemanager2/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-cloudresourcemanager2` library allows access to all features of the *Google Cloud Resource Manager* service. -This documentation was generated from *Cloud Resource Manager* crate version *3.0.0+20220306*, where *20220306* is the exact revision of the *cloudresourcemanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Resource Manager* crate version *3.1.0+20220306*, where *20220306* is the exact revision of the *cloudresourcemanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Resource Manager* *v2* API can be found at the [official documentation site](https://cloud.google.com/resource-manager). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudresourcemanager2/3.0.0+20220306/google_cloudresourcemanager2/CloudResourceManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudresourcemanager2/3.1.0+20220306/google_cloudresourcemanager2/CloudResourceManager) ... -* [folders](https://docs.rs/google-cloudresourcemanager2/3.0.0+20220306/google_cloudresourcemanager2/api::Folder) - * [*create*](https://docs.rs/google-cloudresourcemanager2/3.0.0+20220306/google_cloudresourcemanager2/api::FolderCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager2/3.0.0+20220306/google_cloudresourcemanager2/api::FolderDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager2/3.0.0+20220306/google_cloudresourcemanager2/api::FolderGetCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager2/3.0.0+20220306/google_cloudresourcemanager2/api::FolderGetIamPolicyCall), [*list*](https://docs.rs/google-cloudresourcemanager2/3.0.0+20220306/google_cloudresourcemanager2/api::FolderListCall), [*move*](https://docs.rs/google-cloudresourcemanager2/3.0.0+20220306/google_cloudresourcemanager2/api::FolderMoveCall), [*patch*](https://docs.rs/google-cloudresourcemanager2/3.0.0+20220306/google_cloudresourcemanager2/api::FolderPatchCall), [*search*](https://docs.rs/google-cloudresourcemanager2/3.0.0+20220306/google_cloudresourcemanager2/api::FolderSearchCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager2/3.0.0+20220306/google_cloudresourcemanager2/api::FolderSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager2/3.0.0+20220306/google_cloudresourcemanager2/api::FolderTestIamPermissionCall) and [*undelete*](https://docs.rs/google-cloudresourcemanager2/3.0.0+20220306/google_cloudresourcemanager2/api::FolderUndeleteCall) -* [operations](https://docs.rs/google-cloudresourcemanager2/3.0.0+20220306/google_cloudresourcemanager2/api::Operation) - * [*get*](https://docs.rs/google-cloudresourcemanager2/3.0.0+20220306/google_cloudresourcemanager2/api::OperationGetCall) +* [folders](https://docs.rs/google-cloudresourcemanager2/3.1.0+20220306/google_cloudresourcemanager2/api::Folder) + * [*create*](https://docs.rs/google-cloudresourcemanager2/3.1.0+20220306/google_cloudresourcemanager2/api::FolderCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager2/3.1.0+20220306/google_cloudresourcemanager2/api::FolderDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager2/3.1.0+20220306/google_cloudresourcemanager2/api::FolderGetCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager2/3.1.0+20220306/google_cloudresourcemanager2/api::FolderGetIamPolicyCall), [*list*](https://docs.rs/google-cloudresourcemanager2/3.1.0+20220306/google_cloudresourcemanager2/api::FolderListCall), [*move*](https://docs.rs/google-cloudresourcemanager2/3.1.0+20220306/google_cloudresourcemanager2/api::FolderMoveCall), [*patch*](https://docs.rs/google-cloudresourcemanager2/3.1.0+20220306/google_cloudresourcemanager2/api::FolderPatchCall), [*search*](https://docs.rs/google-cloudresourcemanager2/3.1.0+20220306/google_cloudresourcemanager2/api::FolderSearchCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager2/3.1.0+20220306/google_cloudresourcemanager2/api::FolderSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager2/3.1.0+20220306/google_cloudresourcemanager2/api::FolderTestIamPermissionCall) and [*undelete*](https://docs.rs/google-cloudresourcemanager2/3.1.0+20220306/google_cloudresourcemanager2/api::FolderUndeleteCall) +* [operations](https://docs.rs/google-cloudresourcemanager2/3.1.0+20220306/google_cloudresourcemanager2/api::Operation) + * [*get*](https://docs.rs/google-cloudresourcemanager2/3.1.0+20220306/google_cloudresourcemanager2/api::OperationGetCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudresourcemanager2/3.0.0+20220306/google_cloudresourcemanager2/CloudResourceManager)** +* **[Hub](https://docs.rs/google-cloudresourcemanager2/3.1.0+20220306/google_cloudresourcemanager2/CloudResourceManager)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudresourcemanager2/3.0.0+20220306/google_cloudresourcemanager2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudresourcemanager2/3.0.0+20220306/google_cloudresourcemanager2/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudresourcemanager2/3.0.0+20220306/google_cloudresourcemanager2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudresourcemanager2/3.1.0+20220306/google_cloudresourcemanager2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudresourcemanager2/3.1.0+20220306/google_cloudresourcemanager2/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudresourcemanager2/3.1.0+20220306/google_cloudresourcemanager2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudresourcemanager2/3.0.0+20220306/google_cloudresourcemanager2/client::Part)** + * **[Parts](https://docs.rs/google-cloudresourcemanager2/3.1.0+20220306/google_cloudresourcemanager2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudresourcemanager2/3.0.0+20220306/google_cloudresourcemanager2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudresourcemanager2/3.1.0+20220306/google_cloudresourcemanager2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -102,7 +102,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudresourcemanager2/3.0.0+20220306/google_cloudresourcemanager2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudresourcemanager2/3.1.0+20220306/google_cloudresourcemanager2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudresourcemanager2/3.0.0+20220306/google_cloudresourcemanager2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudresourcemanager2/3.1.0+20220306/google_cloudresourcemanager2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudresourcemanager2/3.0.0+20220306/google_cloudresourcemanager2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudresourcemanager2/3.1.0+20220306/google_cloudresourcemanager2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudresourcemanager2/3.0.0+20220306/google_cloudresourcemanager2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudresourcemanager2/3.1.0+20220306/google_cloudresourcemanager2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -154,29 +154,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudresourcemanager2/3.0.0+20220306/google_cloudresourcemanager2/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudresourcemanager2/3.0.0+20220306/google_cloudresourcemanager2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudresourcemanager2/3.1.0+20220306/google_cloudresourcemanager2/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudresourcemanager2/3.1.0+20220306/google_cloudresourcemanager2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-cloudresourcemanager2/3.0.0+20220306/google_cloudresourcemanager2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudresourcemanager2/3.1.0+20220306/google_cloudresourcemanager2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudresourcemanager2/3.0.0+20220306/google_cloudresourcemanager2/client::RequestValue) and -[decodable](https://docs.rs/google-cloudresourcemanager2/3.0.0+20220306/google_cloudresourcemanager2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudresourcemanager2/3.1.0+20220306/google_cloudresourcemanager2/client::RequestValue) and +[decodable](https://docs.rs/google-cloudresourcemanager2/3.1.0+20220306/google_cloudresourcemanager2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudresourcemanager2/3.0.0+20220306/google_cloudresourcemanager2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudresourcemanager2/3.1.0+20220306/google_cloudresourcemanager2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-cloudresourcemanager2/3.0.0+20220306/google_cloudresourcemanager2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudresourcemanager2/3.1.0+20220306/google_cloudresourcemanager2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-cloudresourcemanager2/3.0.0+20220306/google_cloudresourcemanager2/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudresourcemanager2/3.1.0+20220306/google_cloudresourcemanager2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudresourcemanager2/src/api.rs b/gen/cloudresourcemanager2/src/api.rs index 5365a7610a..67cced8f7a 100644 --- a/gen/cloudresourcemanager2/src/api.rs +++ b/gen/cloudresourcemanager2/src/api.rs @@ -74,7 +74,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -121,7 +121,7 @@ impl<'a, > CloudResourceManager<> { CloudResourceManager { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://cloudresourcemanager.googleapis.com/".to_string(), _root_url: "https://cloudresourcemanager.googleapis.com/".to_string(), } @@ -135,7 +135,7 @@ impl<'a, > CloudResourceManager<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -560,7 +560,7 @@ impl client::RequestValue for UndeleteFolderRequest {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)`, `get(...)`, `get_iam_policy(...)`, `list(...)`, `move_(...)`, `patch(...)`, `search(...)`, `set_iam_policy(...)`, `test_iam_permissions(...)` and `undelete(...)` /// // to build up your call. @@ -801,7 +801,7 @@ impl<'a> FolderMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -867,7 +867,7 @@ impl<'a> OperationMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1127,7 +1127,7 @@ impl<'a> FolderCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1383,7 +1383,7 @@ impl<'a> FolderDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1640,7 +1640,7 @@ impl<'a> FolderGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1925,7 +1925,7 @@ impl<'a> FolderGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2193,7 +2193,7 @@ impl<'a> FolderListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2479,7 +2479,7 @@ impl<'a> FolderMoveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2777,7 +2777,7 @@ impl<'a> FolderPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3026,7 +3026,7 @@ impl<'a> FolderSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3312,7 +3312,7 @@ impl<'a> FolderSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3598,7 +3598,7 @@ impl<'a> FolderTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3883,7 +3883,7 @@ impl<'a> FolderUndeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/cloudresourcemanager2/src/lib.rs b/gen/cloudresourcemanager2/src/lib.rs index 7737222725..c7c105caf4 100644 --- a/gen/cloudresourcemanager2/src/lib.rs +++ b/gen/cloudresourcemanager2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Resource Manager* crate version *3.0.0+20220306*, where *20220306* is the exact revision of the *cloudresourcemanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Resource Manager* crate version *3.1.0+20220306*, where *20220306* is the exact revision of the *cloudresourcemanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Resource Manager* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/resource-manager). @@ -103,7 +103,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/cloudresourcemanager3-cli/Cargo.toml b/gen/cloudresourcemanager3-cli/Cargo.toml index 4d39ccc6b1..8211d5e960 100644 --- a/gen/cloudresourcemanager3-cli/Cargo.toml +++ b/gen/cloudresourcemanager3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudresourcemanager3-cli" -version = "3.0.0+20220306" +version = "3.1.0+20220306" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Resource Manager (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudresourcemanager3-cli" @@ -20,12 +20,12 @@ name = "cloudresourcemanager3" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudresourcemanager3] path = "../cloudresourcemanager3" -version = "3.0.0+20220306" +version = "3.1.0+20220306" diff --git a/gen/cloudresourcemanager3-cli/README.md b/gen/cloudresourcemanager3-cli/README.md index a54a5fb685..7d429b64d0 100644 --- a/gen/cloudresourcemanager3-cli/README.md +++ b/gen/cloudresourcemanager3-cli/README.md @@ -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 *Cloud Resource Manager* API at revision *20220306*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Resource Manager* API at revision *20220306*. The CLI is at version *3.1.0*. ```bash cloudresourcemanager3 [options] diff --git a/gen/cloudresourcemanager3-cli/mkdocs.yml b/gen/cloudresourcemanager3-cli/mkdocs.yml index bbdd7d4ad1..b0c1041277 100644 --- a/gen/cloudresourcemanager3-cli/mkdocs.yml +++ b/gen/cloudresourcemanager3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Resource Manager v3.0.0+20220306 +site_name: Cloud Resource Manager v3.1.0+20220306 site_url: http://byron.github.io/google-apis-rs/google-cloudresourcemanager3-cli site_description: A complete library to interact with Cloud Resource Manager (protocol v3) diff --git a/gen/cloudresourcemanager3-cli/src/main.rs b/gen/cloudresourcemanager3-cli/src/main.rs index 50fdeca817..2e383378c8 100644 --- a/gen/cloudresourcemanager3-cli/src/main.rs +++ b/gen/cloudresourcemanager3-cli/src/main.rs @@ -4126,7 +4126,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/cloudresourcemanager3", 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::CloudResourceManager::new(client, auth), @@ -5395,7 +5401,7 @@ async fn main() { let mut app = App::new("cloudresourcemanager3") .author("Sebastian Thiel ") - .version("3.0.0+20220306") + .version("3.1.0+20220306") .about("Creates, reads, and updates metadata for Google Cloud Platform resource containers.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudresourcemanager3_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudresourcemanager3/Cargo.toml b/gen/cloudresourcemanager3/Cargo.toml index e273e14442..51488feb5b 100644 --- a/gen/cloudresourcemanager3/Cargo.toml +++ b/gen/cloudresourcemanager3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudresourcemanager3" -version = "3.0.0+20220306" +version = "3.1.0+20220306" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Resource Manager (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudresourcemanager3" homepage = "https://cloud.google.com/resource-manager" -documentation = "https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306" +documentation = "https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306" license = "MIT" keywords = ["cloudresourcemanager", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/cloudresourcemanager3/README.md b/gen/cloudresourcemanager3/README.md index d86834c58c..8c023ffc48 100644 --- a/gen/cloudresourcemanager3/README.md +++ b/gen/cloudresourcemanager3/README.md @@ -5,30 +5,30 @@ DO NOT EDIT ! --> The `google-cloudresourcemanager3` library allows access to all features of the *Google Cloud Resource Manager* service. -This documentation was generated from *Cloud Resource Manager* crate version *3.0.0+20220306*, where *20220306* is the exact revision of the *cloudresourcemanager:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Resource Manager* crate version *3.1.0+20220306*, where *20220306* is the exact revision of the *cloudresourcemanager:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Resource Manager* *v3* API can be found at the [official documentation site](https://cloud.google.com/resource-manager). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/CloudResourceManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/CloudResourceManager) ... -* [folders](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::Folder) - * [*create*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::FolderCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::FolderDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::FolderGetCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::FolderGetIamPolicyCall), [*list*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::FolderListCall), [*move*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::FolderMoveCall), [*patch*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::FolderPatchCall), [*search*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::FolderSearchCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::FolderSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::FolderTestIamPermissionCall) and [*undelete*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::FolderUndeleteCall) -* [liens](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::Lien) - * [*create*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::LienCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::LienDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::LienGetCall) and [*list*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::LienListCall) -* [operations](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::Operation) - * [*get*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::OperationGetCall) -* [organizations](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::Organization) - * [*get*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::OrganizationGetCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::OrganizationGetIamPolicyCall), [*search*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::OrganizationSearchCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::OrganizationSetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::OrganizationTestIamPermissionCall) -* [projects](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::Project) - * [*create*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::ProjectCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::ProjectDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::ProjectGetCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::ProjectGetIamPolicyCall), [*list*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::ProjectListCall), [*move*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::ProjectMoveCall), [*patch*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::ProjectPatchCall), [*search*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::ProjectSearchCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::ProjectSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::ProjectTestIamPermissionCall) and [*undelete*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::ProjectUndeleteCall) -* [tag bindings](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::TagBinding) - * [*create*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::TagBindingCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::TagBindingDeleteCall) and [*list*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::TagBindingListCall) -* [tag keys](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::TagKey) - * [*create*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::TagKeyCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::TagKeyDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::TagKeyGetCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::TagKeyGetIamPolicyCall), [*list*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::TagKeyListCall), [*patch*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::TagKeyPatchCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::TagKeySetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::TagKeyTestIamPermissionCall) -* [tag values](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::TagValue) - * [*create*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::TagValueCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::TagValueDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::TagValueGetCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::TagValueGetIamPolicyCall), [*list*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::TagValueListCall), [*patch*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::TagValuePatchCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::TagValueSetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/api::TagValueTestIamPermissionCall) +* [folders](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::Folder) + * [*create*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::FolderCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::FolderDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::FolderGetCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::FolderGetIamPolicyCall), [*list*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::FolderListCall), [*move*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::FolderMoveCall), [*patch*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::FolderPatchCall), [*search*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::FolderSearchCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::FolderSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::FolderTestIamPermissionCall) and [*undelete*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::FolderUndeleteCall) +* [liens](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::Lien) + * [*create*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::LienCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::LienDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::LienGetCall) and [*list*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::LienListCall) +* [operations](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::Operation) + * [*get*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::OperationGetCall) +* [organizations](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::Organization) + * [*get*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::OrganizationGetCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::OrganizationGetIamPolicyCall), [*search*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::OrganizationSearchCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::OrganizationSetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::OrganizationTestIamPermissionCall) +* [projects](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::Project) + * [*create*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::ProjectCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::ProjectDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::ProjectGetCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::ProjectGetIamPolicyCall), [*list*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::ProjectListCall), [*move*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::ProjectMoveCall), [*patch*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::ProjectPatchCall), [*search*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::ProjectSearchCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::ProjectSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::ProjectTestIamPermissionCall) and [*undelete*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::ProjectUndeleteCall) +* [tag bindings](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::TagBinding) + * [*create*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::TagBindingCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::TagBindingDeleteCall) and [*list*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::TagBindingListCall) +* [tag keys](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::TagKey) + * [*create*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::TagKeyCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::TagKeyDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::TagKeyGetCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::TagKeyGetIamPolicyCall), [*list*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::TagKeyListCall), [*patch*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::TagKeyPatchCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::TagKeySetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::TagKeyTestIamPermissionCall) +* [tag values](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::TagValue) + * [*create*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::TagValueCreateCall), [*delete*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::TagValueDeleteCall), [*get*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::TagValueGetCall), [*get iam policy*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::TagValueGetIamPolicyCall), [*list*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::TagValueListCall), [*patch*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::TagValuePatchCall), [*set iam policy*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::TagValueSetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/api::TagValueTestIamPermissionCall) @@ -37,17 +37,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/CloudResourceManager)** +* **[Hub](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/CloudResourceManager)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/client::Part)** + * **[Parts](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -123,7 +123,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -158,17 +158,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -178,29 +178,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/client::RequestValue) and -[decodable](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/client::RequestValue) and +[decodable](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-cloudresourcemanager3/3.0.0+20220306/google_cloudresourcemanager3/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudresourcemanager3/3.1.0+20220306/google_cloudresourcemanager3/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudresourcemanager3/src/api.rs b/gen/cloudresourcemanager3/src/api.rs index c6eb19e7e9..a261a031af 100644 --- a/gen/cloudresourcemanager3/src/api.rs +++ b/gen/cloudresourcemanager3/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -125,7 +125,7 @@ impl<'a, > CloudResourceManager<> { CloudResourceManager { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://cloudresourcemanager.googleapis.com/".to_string(), _root_url: "https://cloudresourcemanager.googleapis.com/".to_string(), } @@ -157,7 +157,7 @@ impl<'a, > CloudResourceManager<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1049,7 +1049,7 @@ impl client::RequestValue for UndeleteProjectRequest {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)`, `get(...)`, `get_iam_policy(...)`, `list(...)`, `move_(...)`, `patch(...)`, `search(...)`, `set_iam_policy(...)`, `test_iam_permissions(...)` and `undelete(...)` /// // to build up your call. @@ -1287,7 +1287,7 @@ impl<'a> FolderMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)`, `get(...)` and `list(...)` /// // to build up your call. @@ -1394,7 +1394,7 @@ impl<'a> LienMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -1452,7 +1452,7 @@ impl<'a> OperationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `get_iam_policy(...)`, `search(...)`, `set_iam_policy(...)` and `test_iam_permissions(...)` /// // to build up your call. @@ -1582,7 +1582,7 @@ impl<'a> OrganizationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)`, `get(...)`, `get_iam_policy(...)`, `list(...)`, `move_(...)`, `patch(...)`, `search(...)`, `set_iam_policy(...)`, `test_iam_permissions(...)` and `undelete(...)` /// // to build up your call. @@ -1820,7 +1820,7 @@ impl<'a> ProjectMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)` and `list(...)` /// // to build up your call. @@ -1911,7 +1911,7 @@ impl<'a> TagBindingMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)`, `get(...)`, `get_iam_policy(...)`, `list(...)`, `patch(...)`, `set_iam_policy(...)` and `test_iam_permissions(...)` /// // to build up your call. @@ -2099,7 +2099,7 @@ impl<'a> TagKeyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)`, `get(...)`, `get_iam_policy(...)`, `list(...)`, `patch(...)`, `set_iam_policy(...)` and `test_iam_permissions(...)` /// // to build up your call. @@ -2295,7 +2295,7 @@ impl<'a> TagValueMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2543,7 +2543,7 @@ impl<'a> FolderCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2799,7 +2799,7 @@ impl<'a> FolderDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3056,7 +3056,7 @@ impl<'a> FolderGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3341,7 +3341,7 @@ impl<'a> FolderGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3609,7 +3609,7 @@ impl<'a> FolderListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3895,7 +3895,7 @@ impl<'a> FolderMoveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4192,7 +4192,7 @@ impl<'a> FolderPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4448,7 +4448,7 @@ impl<'a> FolderSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4734,7 +4734,7 @@ impl<'a> FolderSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5020,7 +5020,7 @@ impl<'a> FolderTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5306,7 +5306,7 @@ impl<'a> FolderUndeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5554,7 +5554,7 @@ impl<'a> LienCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5810,7 +5810,7 @@ impl<'a> LienDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6066,7 +6066,7 @@ impl<'a> LienGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6321,7 +6321,7 @@ impl<'a> LienListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6577,7 +6577,7 @@ impl<'a> OperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6834,7 +6834,7 @@ impl<'a> OrganizationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7119,7 +7119,7 @@ impl<'a> OrganizationGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7375,7 +7375,7 @@ impl<'a> OrganizationSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7661,7 +7661,7 @@ impl<'a> OrganizationSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7947,7 +7947,7 @@ impl<'a> OrganizationTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8195,7 +8195,7 @@ impl<'a> ProjectCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8451,7 +8451,7 @@ impl<'a> ProjectDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8708,7 +8708,7 @@ impl<'a> ProjectGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8993,7 +8993,7 @@ impl<'a> ProjectGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9261,7 +9261,7 @@ impl<'a> ProjectListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9547,7 +9547,7 @@ impl<'a> ProjectMoveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9844,7 +9844,7 @@ impl<'a> ProjectPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10100,7 +10100,7 @@ impl<'a> ProjectSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10386,7 +10386,7 @@ impl<'a> ProjectSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10672,7 +10672,7 @@ impl<'a> ProjectTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10958,7 +10958,7 @@ impl<'a> ProjectUndeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11218,7 +11218,7 @@ impl<'a> TagBindingCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11474,7 +11474,7 @@ impl<'a> TagBindingDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11730,7 +11730,7 @@ impl<'a> TagBindingListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11990,7 +11990,7 @@ impl<'a> TagKeyCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12270,7 +12270,7 @@ impl<'a> TagKeyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12527,7 +12527,7 @@ impl<'a> TagKeyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12812,7 +12812,7 @@ impl<'a> TagKeyGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13068,7 +13068,7 @@ impl<'a> TagKeyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13378,7 +13378,7 @@ impl<'a> TagKeyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13664,7 +13664,7 @@ impl<'a> TagKeySetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13950,7 +13950,7 @@ impl<'a> TagKeyTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14210,7 +14210,7 @@ impl<'a> TagValueCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14490,7 +14490,7 @@ impl<'a> TagValueDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14747,7 +14747,7 @@ impl<'a> TagValueGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15032,7 +15032,7 @@ impl<'a> TagValueGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15288,7 +15288,7 @@ impl<'a> TagValueListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15598,7 +15598,7 @@ impl<'a> TagValuePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15884,7 +15884,7 @@ impl<'a> TagValueSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/cloudresourcemanager3/src/lib.rs b/gen/cloudresourcemanager3/src/lib.rs index 0abd694801..ec3bbd9b25 100644 --- a/gen/cloudresourcemanager3/src/lib.rs +++ b/gen/cloudresourcemanager3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Resource Manager* crate version *3.0.0+20220306*, where *20220306* is the exact revision of the *cloudresourcemanager:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Resource Manager* crate version *3.1.0+20220306*, where *20220306* is the exact revision of the *cloudresourcemanager:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Resource Manager* *v3* API can be found at the //! [official documentation site](https://cloud.google.com/resource-manager). @@ -124,7 +124,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudResourceManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/cloudscheduler1-cli/Cargo.toml b/gen/cloudscheduler1-cli/Cargo.toml index d8ff9d1435..9aad4a7c35 100644 --- a/gen/cloudscheduler1-cli/Cargo.toml +++ b/gen/cloudscheduler1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudscheduler1-cli" -version = "3.0.0+20220212" +version = "3.1.0+20220212" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Scheduler (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudscheduler1-cli" @@ -20,12 +20,12 @@ name = "cloudscheduler1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudscheduler1] path = "../cloudscheduler1" -version = "3.0.0+20220212" +version = "3.1.0+20220212" diff --git a/gen/cloudscheduler1-cli/README.md b/gen/cloudscheduler1-cli/README.md index 75f2d8ec21..131a4425e4 100644 --- a/gen/cloudscheduler1-cli/README.md +++ b/gen/cloudscheduler1-cli/README.md @@ -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 *Cloud Scheduler* API at revision *20220212*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Scheduler* API at revision *20220212*. The CLI is at version *3.1.0*. ```bash cloudscheduler1 [options] diff --git a/gen/cloudscheduler1-cli/mkdocs.yml b/gen/cloudscheduler1-cli/mkdocs.yml index c586c2c01c..14865b0aeb 100644 --- a/gen/cloudscheduler1-cli/mkdocs.yml +++ b/gen/cloudscheduler1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Scheduler v3.0.0+20220212 +site_name: Cloud Scheduler v3.1.0+20220212 site_url: http://byron.github.io/google-apis-rs/google-cloudscheduler1-cli site_description: A complete library to interact with Cloud Scheduler (protocol v1) diff --git a/gen/cloudscheduler1-cli/src/main.rs b/gen/cloudscheduler1-cli/src/main.rs index f30b6a49d4..19fa528838 100644 --- a/gen/cloudscheduler1-cli/src/main.rs +++ b/gen/cloudscheduler1-cli/src/main.rs @@ -890,7 +890,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/cloudscheduler1", 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::CloudScheduler::new(client, auth), @@ -1182,7 +1188,7 @@ async fn main() { let mut app = App::new("cloudscheduler1") .author("Sebastian Thiel ") - .version("3.0.0+20220212") + .version("3.1.0+20220212") .about("Creates and manages jobs run on a regular recurring schedule.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudscheduler1_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudscheduler1/Cargo.toml b/gen/cloudscheduler1/Cargo.toml index 0dbb366242..51866fb6d7 100644 --- a/gen/cloudscheduler1/Cargo.toml +++ b/gen/cloudscheduler1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudscheduler1" -version = "3.0.0+20220212" +version = "3.1.0+20220212" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Scheduler (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudscheduler1" homepage = "https://cloud.google.com/scheduler/" -documentation = "https://docs.rs/google-cloudscheduler1/3.0.0+20220212" +documentation = "https://docs.rs/google-cloudscheduler1/3.1.0+20220212" license = "MIT" keywords = ["cloudscheduler", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/cloudscheduler1/README.md b/gen/cloudscheduler1/README.md index a40d558949..51a3048e1a 100644 --- a/gen/cloudscheduler1/README.md +++ b/gen/cloudscheduler1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-cloudscheduler1` library allows access to all features of the *Google Cloud Scheduler* service. -This documentation was generated from *Cloud Scheduler* crate version *3.0.0+20220212*, where *20220212* is the exact revision of the *cloudscheduler:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Scheduler* crate version *3.1.0+20220212*, where *20220212* is the exact revision of the *cloudscheduler:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Scheduler* *v1* API can be found at the [official documentation site](https://cloud.google.com/scheduler/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudscheduler1/3.0.0+20220212/google_cloudscheduler1/CloudScheduler) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudscheduler1/3.1.0+20220212/google_cloudscheduler1/CloudScheduler) ... * projects - * [*locations get*](https://docs.rs/google-cloudscheduler1/3.0.0+20220212/google_cloudscheduler1/api::ProjectLocationGetCall), [*locations jobs create*](https://docs.rs/google-cloudscheduler1/3.0.0+20220212/google_cloudscheduler1/api::ProjectLocationJobCreateCall), [*locations jobs delete*](https://docs.rs/google-cloudscheduler1/3.0.0+20220212/google_cloudscheduler1/api::ProjectLocationJobDeleteCall), [*locations jobs get*](https://docs.rs/google-cloudscheduler1/3.0.0+20220212/google_cloudscheduler1/api::ProjectLocationJobGetCall), [*locations jobs list*](https://docs.rs/google-cloudscheduler1/3.0.0+20220212/google_cloudscheduler1/api::ProjectLocationJobListCall), [*locations jobs patch*](https://docs.rs/google-cloudscheduler1/3.0.0+20220212/google_cloudscheduler1/api::ProjectLocationJobPatchCall), [*locations jobs pause*](https://docs.rs/google-cloudscheduler1/3.0.0+20220212/google_cloudscheduler1/api::ProjectLocationJobPauseCall), [*locations jobs resume*](https://docs.rs/google-cloudscheduler1/3.0.0+20220212/google_cloudscheduler1/api::ProjectLocationJobResumeCall), [*locations jobs run*](https://docs.rs/google-cloudscheduler1/3.0.0+20220212/google_cloudscheduler1/api::ProjectLocationJobRunCall) and [*locations list*](https://docs.rs/google-cloudscheduler1/3.0.0+20220212/google_cloudscheduler1/api::ProjectLocationListCall) + * [*locations get*](https://docs.rs/google-cloudscheduler1/3.1.0+20220212/google_cloudscheduler1/api::ProjectLocationGetCall), [*locations jobs create*](https://docs.rs/google-cloudscheduler1/3.1.0+20220212/google_cloudscheduler1/api::ProjectLocationJobCreateCall), [*locations jobs delete*](https://docs.rs/google-cloudscheduler1/3.1.0+20220212/google_cloudscheduler1/api::ProjectLocationJobDeleteCall), [*locations jobs get*](https://docs.rs/google-cloudscheduler1/3.1.0+20220212/google_cloudscheduler1/api::ProjectLocationJobGetCall), [*locations jobs list*](https://docs.rs/google-cloudscheduler1/3.1.0+20220212/google_cloudscheduler1/api::ProjectLocationJobListCall), [*locations jobs patch*](https://docs.rs/google-cloudscheduler1/3.1.0+20220212/google_cloudscheduler1/api::ProjectLocationJobPatchCall), [*locations jobs pause*](https://docs.rs/google-cloudscheduler1/3.1.0+20220212/google_cloudscheduler1/api::ProjectLocationJobPauseCall), [*locations jobs resume*](https://docs.rs/google-cloudscheduler1/3.1.0+20220212/google_cloudscheduler1/api::ProjectLocationJobResumeCall), [*locations jobs run*](https://docs.rs/google-cloudscheduler1/3.1.0+20220212/google_cloudscheduler1/api::ProjectLocationJobRunCall) and [*locations list*](https://docs.rs/google-cloudscheduler1/3.1.0+20220212/google_cloudscheduler1/api::ProjectLocationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudscheduler1/3.0.0+20220212/google_cloudscheduler1/CloudScheduler)** +* **[Hub](https://docs.rs/google-cloudscheduler1/3.1.0+20220212/google_cloudscheduler1/CloudScheduler)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudscheduler1/3.0.0+20220212/google_cloudscheduler1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudscheduler1/3.0.0+20220212/google_cloudscheduler1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudscheduler1/3.0.0+20220212/google_cloudscheduler1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudscheduler1/3.1.0+20220212/google_cloudscheduler1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudscheduler1/3.1.0+20220212/google_cloudscheduler1/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudscheduler1/3.1.0+20220212/google_cloudscheduler1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudscheduler1/3.0.0+20220212/google_cloudscheduler1/client::Part)** + * **[Parts](https://docs.rs/google-cloudscheduler1/3.1.0+20220212/google_cloudscheduler1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudscheduler1/3.0.0+20220212/google_cloudscheduler1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudscheduler1/3.1.0+20220212/google_cloudscheduler1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -96,7 +96,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -130,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudscheduler1/3.0.0+20220212/google_cloudscheduler1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudscheduler1/3.1.0+20220212/google_cloudscheduler1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudscheduler1/3.0.0+20220212/google_cloudscheduler1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudscheduler1/3.1.0+20220212/google_cloudscheduler1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudscheduler1/3.0.0+20220212/google_cloudscheduler1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudscheduler1/3.1.0+20220212/google_cloudscheduler1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudscheduler1/3.0.0+20220212/google_cloudscheduler1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudscheduler1/3.1.0+20220212/google_cloudscheduler1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -150,29 +150,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudscheduler1/3.0.0+20220212/google_cloudscheduler1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudscheduler1/3.0.0+20220212/google_cloudscheduler1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudscheduler1/3.1.0+20220212/google_cloudscheduler1/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudscheduler1/3.1.0+20220212/google_cloudscheduler1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-cloudscheduler1/3.0.0+20220212/google_cloudscheduler1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudscheduler1/3.1.0+20220212/google_cloudscheduler1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudscheduler1/3.0.0+20220212/google_cloudscheduler1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudscheduler1/3.0.0+20220212/google_cloudscheduler1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudscheduler1/3.1.0+20220212/google_cloudscheduler1/client::RequestValue) and +[decodable](https://docs.rs/google-cloudscheduler1/3.1.0+20220212/google_cloudscheduler1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudscheduler1/3.0.0+20220212/google_cloudscheduler1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudscheduler1/3.1.0+20220212/google_cloudscheduler1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-cloudscheduler1/3.0.0+20220212/google_cloudscheduler1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudscheduler1/3.1.0+20220212/google_cloudscheduler1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-cloudscheduler1/3.0.0+20220212/google_cloudscheduler1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudscheduler1/3.1.0+20220212/google_cloudscheduler1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudscheduler1/src/api.rs b/gen/cloudscheduler1/src/api.rs index b809ac30d6..b64451b414 100644 --- a/gen/cloudscheduler1/src/api.rs +++ b/gen/cloudscheduler1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > CloudScheduler<> { CloudScheduler { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://cloudscheduler.googleapis.com/".to_string(), _root_url: "https://cloudscheduler.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > CloudScheduler<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -536,7 +536,7 @@ impl client::Part for Status {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_get(...)`, `locations_jobs_create(...)`, `locations_jobs_delete(...)`, `locations_jobs_get(...)`, `locations_jobs_list(...)`, `locations_jobs_patch(...)`, `locations_jobs_pause(...)`, `locations_jobs_resume(...)`, `locations_jobs_run(...)` and `locations_list(...)` /// // to build up your call. @@ -771,7 +771,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1056,7 +1056,7 @@ impl<'a> ProjectLocationJobCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1312,7 +1312,7 @@ impl<'a> ProjectLocationJobDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1568,7 +1568,7 @@ impl<'a> ProjectLocationJobGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1849,7 +1849,7 @@ impl<'a> ProjectLocationJobListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2147,7 +2147,7 @@ impl<'a> ProjectLocationJobPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2433,7 +2433,7 @@ impl<'a> ProjectLocationJobPauseCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2719,7 +2719,7 @@ impl<'a> ProjectLocationJobResumeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3004,7 +3004,7 @@ impl<'a> ProjectLocationJobRunCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3260,7 +3260,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/cloudscheduler1/src/lib.rs b/gen/cloudscheduler1/src/lib.rs index 6eb489879c..1508172dd1 100644 --- a/gen/cloudscheduler1/src/lib.rs +++ b/gen/cloudscheduler1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Scheduler* crate version *3.0.0+20220212*, where *20220212* is the exact revision of the *cloudscheduler:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Scheduler* crate version *3.1.0+20220212*, where *20220212* is the exact revision of the *cloudscheduler:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Scheduler* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/scheduler/). @@ -97,7 +97,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/cloudscheduler1_beta1-cli/Cargo.toml b/gen/cloudscheduler1_beta1-cli/Cargo.toml index f1cbc9f9cf..035175ae59 100644 --- a/gen/cloudscheduler1_beta1-cli/Cargo.toml +++ b/gen/cloudscheduler1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudscheduler1_beta1-cli" -version = "3.0.0+20220212" +version = "3.1.0+20220212" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Scheduler (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudscheduler1_beta1-cli" @@ -20,12 +20,12 @@ name = "cloudscheduler1-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudscheduler1_beta1] path = "../cloudscheduler1_beta1" -version = "3.0.0+20220212" +version = "3.1.0+20220212" diff --git a/gen/cloudscheduler1_beta1-cli/README.md b/gen/cloudscheduler1_beta1-cli/README.md index a606ddf631..af0c7af7cf 100644 --- a/gen/cloudscheduler1_beta1-cli/README.md +++ b/gen/cloudscheduler1_beta1-cli/README.md @@ -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 *Cloud Scheduler* API at revision *20220212*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Scheduler* API at revision *20220212*. The CLI is at version *3.1.0*. ```bash cloudscheduler1-beta1 [options] diff --git a/gen/cloudscheduler1_beta1-cli/mkdocs.yml b/gen/cloudscheduler1_beta1-cli/mkdocs.yml index d6a1c22142..7b97a67fef 100644 --- a/gen/cloudscheduler1_beta1-cli/mkdocs.yml +++ b/gen/cloudscheduler1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Scheduler v3.0.0+20220212 +site_name: Cloud Scheduler v3.1.0+20220212 site_url: http://byron.github.io/google-apis-rs/google-cloudscheduler1_beta1-cli site_description: A complete library to interact with Cloud Scheduler (protocol v1beta1) diff --git a/gen/cloudscheduler1_beta1-cli/src/main.rs b/gen/cloudscheduler1_beta1-cli/src/main.rs index d7a86f93d3..d478dbfb12 100644 --- a/gen/cloudscheduler1_beta1-cli/src/main.rs +++ b/gen/cloudscheduler1_beta1-cli/src/main.rs @@ -903,7 +903,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/cloudscheduler1-beta1", 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::CloudScheduler::new(client, auth), @@ -1195,7 +1201,7 @@ async fn main() { let mut app = App::new("cloudscheduler1-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20220212") + .version("3.1.0+20220212") .about("Creates and manages jobs run on a regular recurring schedule.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudscheduler1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudscheduler1_beta1/Cargo.toml b/gen/cloudscheduler1_beta1/Cargo.toml index 5859902081..731970bcf2 100644 --- a/gen/cloudscheduler1_beta1/Cargo.toml +++ b/gen/cloudscheduler1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudscheduler1_beta1" -version = "3.0.0+20220212" +version = "3.1.0+20220212" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Scheduler (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudscheduler1_beta1" homepage = "https://cloud.google.com/scheduler/" -documentation = "https://docs.rs/google-cloudscheduler1_beta1/3.0.0+20220212" +documentation = "https://docs.rs/google-cloudscheduler1_beta1/3.1.0+20220212" license = "MIT" keywords = ["cloudscheduler", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/cloudscheduler1_beta1/README.md b/gen/cloudscheduler1_beta1/README.md index e32c5fea62..8eb1e7c69f 100644 --- a/gen/cloudscheduler1_beta1/README.md +++ b/gen/cloudscheduler1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-cloudscheduler1_beta1` library allows access to all features of the *Google Cloud Scheduler* service. -This documentation was generated from *Cloud Scheduler* crate version *3.0.0+20220212*, where *20220212* is the exact revision of the *cloudscheduler:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Scheduler* crate version *3.1.0+20220212*, where *20220212* is the exact revision of the *cloudscheduler:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Scheduler* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/scheduler/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudscheduler1_beta1/3.0.0+20220212/google_cloudscheduler1_beta1/CloudScheduler) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudscheduler1_beta1/3.1.0+20220212/google_cloudscheduler1_beta1/CloudScheduler) ... * projects - * [*locations get*](https://docs.rs/google-cloudscheduler1_beta1/3.0.0+20220212/google_cloudscheduler1_beta1/api::ProjectLocationGetCall), [*locations jobs create*](https://docs.rs/google-cloudscheduler1_beta1/3.0.0+20220212/google_cloudscheduler1_beta1/api::ProjectLocationJobCreateCall), [*locations jobs delete*](https://docs.rs/google-cloudscheduler1_beta1/3.0.0+20220212/google_cloudscheduler1_beta1/api::ProjectLocationJobDeleteCall), [*locations jobs get*](https://docs.rs/google-cloudscheduler1_beta1/3.0.0+20220212/google_cloudscheduler1_beta1/api::ProjectLocationJobGetCall), [*locations jobs list*](https://docs.rs/google-cloudscheduler1_beta1/3.0.0+20220212/google_cloudscheduler1_beta1/api::ProjectLocationJobListCall), [*locations jobs patch*](https://docs.rs/google-cloudscheduler1_beta1/3.0.0+20220212/google_cloudscheduler1_beta1/api::ProjectLocationJobPatchCall), [*locations jobs pause*](https://docs.rs/google-cloudscheduler1_beta1/3.0.0+20220212/google_cloudscheduler1_beta1/api::ProjectLocationJobPauseCall), [*locations jobs resume*](https://docs.rs/google-cloudscheduler1_beta1/3.0.0+20220212/google_cloudscheduler1_beta1/api::ProjectLocationJobResumeCall), [*locations jobs run*](https://docs.rs/google-cloudscheduler1_beta1/3.0.0+20220212/google_cloudscheduler1_beta1/api::ProjectLocationJobRunCall) and [*locations list*](https://docs.rs/google-cloudscheduler1_beta1/3.0.0+20220212/google_cloudscheduler1_beta1/api::ProjectLocationListCall) + * [*locations get*](https://docs.rs/google-cloudscheduler1_beta1/3.1.0+20220212/google_cloudscheduler1_beta1/api::ProjectLocationGetCall), [*locations jobs create*](https://docs.rs/google-cloudscheduler1_beta1/3.1.0+20220212/google_cloudscheduler1_beta1/api::ProjectLocationJobCreateCall), [*locations jobs delete*](https://docs.rs/google-cloudscheduler1_beta1/3.1.0+20220212/google_cloudscheduler1_beta1/api::ProjectLocationJobDeleteCall), [*locations jobs get*](https://docs.rs/google-cloudscheduler1_beta1/3.1.0+20220212/google_cloudscheduler1_beta1/api::ProjectLocationJobGetCall), [*locations jobs list*](https://docs.rs/google-cloudscheduler1_beta1/3.1.0+20220212/google_cloudscheduler1_beta1/api::ProjectLocationJobListCall), [*locations jobs patch*](https://docs.rs/google-cloudscheduler1_beta1/3.1.0+20220212/google_cloudscheduler1_beta1/api::ProjectLocationJobPatchCall), [*locations jobs pause*](https://docs.rs/google-cloudscheduler1_beta1/3.1.0+20220212/google_cloudscheduler1_beta1/api::ProjectLocationJobPauseCall), [*locations jobs resume*](https://docs.rs/google-cloudscheduler1_beta1/3.1.0+20220212/google_cloudscheduler1_beta1/api::ProjectLocationJobResumeCall), [*locations jobs run*](https://docs.rs/google-cloudscheduler1_beta1/3.1.0+20220212/google_cloudscheduler1_beta1/api::ProjectLocationJobRunCall) and [*locations list*](https://docs.rs/google-cloudscheduler1_beta1/3.1.0+20220212/google_cloudscheduler1_beta1/api::ProjectLocationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudscheduler1_beta1/3.0.0+20220212/google_cloudscheduler1_beta1/CloudScheduler)** +* **[Hub](https://docs.rs/google-cloudscheduler1_beta1/3.1.0+20220212/google_cloudscheduler1_beta1/CloudScheduler)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudscheduler1_beta1/3.0.0+20220212/google_cloudscheduler1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudscheduler1_beta1/3.0.0+20220212/google_cloudscheduler1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudscheduler1_beta1/3.0.0+20220212/google_cloudscheduler1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudscheduler1_beta1/3.1.0+20220212/google_cloudscheduler1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudscheduler1_beta1/3.1.0+20220212/google_cloudscheduler1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudscheduler1_beta1/3.1.0+20220212/google_cloudscheduler1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudscheduler1_beta1/3.0.0+20220212/google_cloudscheduler1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-cloudscheduler1_beta1/3.1.0+20220212/google_cloudscheduler1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudscheduler1_beta1/3.0.0+20220212/google_cloudscheduler1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudscheduler1_beta1/3.1.0+20220212/google_cloudscheduler1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -96,7 +96,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -130,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudscheduler1_beta1/3.0.0+20220212/google_cloudscheduler1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudscheduler1_beta1/3.1.0+20220212/google_cloudscheduler1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudscheduler1_beta1/3.0.0+20220212/google_cloudscheduler1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudscheduler1_beta1/3.1.0+20220212/google_cloudscheduler1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudscheduler1_beta1/3.0.0+20220212/google_cloudscheduler1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudscheduler1_beta1/3.1.0+20220212/google_cloudscheduler1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudscheduler1_beta1/3.0.0+20220212/google_cloudscheduler1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudscheduler1_beta1/3.1.0+20220212/google_cloudscheduler1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -150,29 +150,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudscheduler1_beta1/3.0.0+20220212/google_cloudscheduler1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudscheduler1_beta1/3.0.0+20220212/google_cloudscheduler1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudscheduler1_beta1/3.1.0+20220212/google_cloudscheduler1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudscheduler1_beta1/3.1.0+20220212/google_cloudscheduler1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-cloudscheduler1_beta1/3.0.0+20220212/google_cloudscheduler1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudscheduler1_beta1/3.1.0+20220212/google_cloudscheduler1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudscheduler1_beta1/3.0.0+20220212/google_cloudscheduler1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudscheduler1_beta1/3.0.0+20220212/google_cloudscheduler1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudscheduler1_beta1/3.1.0+20220212/google_cloudscheduler1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-cloudscheduler1_beta1/3.1.0+20220212/google_cloudscheduler1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudscheduler1_beta1/3.0.0+20220212/google_cloudscheduler1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudscheduler1_beta1/3.1.0+20220212/google_cloudscheduler1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-cloudscheduler1_beta1/3.0.0+20220212/google_cloudscheduler1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudscheduler1_beta1/3.1.0+20220212/google_cloudscheduler1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-cloudscheduler1_beta1/3.0.0+20220212/google_cloudscheduler1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudscheduler1_beta1/3.1.0+20220212/google_cloudscheduler1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudscheduler1_beta1/src/api.rs b/gen/cloudscheduler1_beta1/src/api.rs index 94bf961428..e352c6ae8d 100644 --- a/gen/cloudscheduler1_beta1/src/api.rs +++ b/gen/cloudscheduler1_beta1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > CloudScheduler<> { CloudScheduler { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://cloudscheduler.googleapis.com/".to_string(), _root_url: "https://cloudscheduler.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > CloudScheduler<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -543,7 +543,7 @@ impl client::Part for Status {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_get(...)`, `locations_jobs_create(...)`, `locations_jobs_delete(...)`, `locations_jobs_get(...)`, `locations_jobs_list(...)`, `locations_jobs_patch(...)`, `locations_jobs_pause(...)`, `locations_jobs_resume(...)`, `locations_jobs_run(...)` and `locations_list(...)` /// // to build up your call. @@ -781,7 +781,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1066,7 +1066,7 @@ impl<'a> ProjectLocationJobCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1334,7 +1334,7 @@ impl<'a> ProjectLocationJobDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1590,7 +1590,7 @@ impl<'a> ProjectLocationJobGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1895,7 +1895,7 @@ impl<'a> ProjectLocationJobListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2193,7 +2193,7 @@ impl<'a> ProjectLocationJobPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2479,7 +2479,7 @@ impl<'a> ProjectLocationJobPauseCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2765,7 +2765,7 @@ impl<'a> ProjectLocationJobResumeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3050,7 +3050,7 @@ impl<'a> ProjectLocationJobRunCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3306,7 +3306,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/cloudscheduler1_beta1/src/lib.rs b/gen/cloudscheduler1_beta1/src/lib.rs index 9e654e686a..21d6fb4950 100644 --- a/gen/cloudscheduler1_beta1/src/lib.rs +++ b/gen/cloudscheduler1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Scheduler* crate version *3.0.0+20220212*, where *20220212* is the exact revision of the *cloudscheduler:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Scheduler* crate version *3.1.0+20220212*, where *20220212* is the exact revision of the *cloudscheduler:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Scheduler* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/scheduler/). @@ -97,7 +97,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudScheduler::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/cloudshell1-cli/Cargo.toml b/gen/cloudshell1-cli/Cargo.toml index e9bf63dce5..0dd64945cf 100644 --- a/gen/cloudshell1-cli/Cargo.toml +++ b/gen/cloudshell1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudshell1-cli" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Shell (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudshell1-cli" @@ -20,12 +20,12 @@ name = "cloudshell1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudshell1] path = "../cloudshell1" -version = "3.0.0+20220301" +version = "3.1.0+20220301" diff --git a/gen/cloudshell1-cli/README.md b/gen/cloudshell1-cli/README.md index ab6f255087..6d8d6d5471 100644 --- a/gen/cloudshell1-cli/README.md +++ b/gen/cloudshell1-cli/README.md @@ -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 *Cloud Shell* API at revision *20220301*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Shell* API at revision *20220301*. The CLI is at version *3.1.0*. ```bash cloudshell1 [options] diff --git a/gen/cloudshell1-cli/mkdocs.yml b/gen/cloudshell1-cli/mkdocs.yml index b4f5079021..0d0bfe8d6d 100644 --- a/gen/cloudshell1-cli/mkdocs.yml +++ b/gen/cloudshell1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Shell v3.0.0+20220301 +site_name: Cloud Shell v3.1.0+20220301 site_url: http://byron.github.io/google-apis-rs/google-cloudshell1-cli site_description: A complete library to interact with Cloud Shell (protocol v1) diff --git a/gen/cloudshell1-cli/src/main.rs b/gen/cloudshell1-cli/src/main.rs index f7c44582ba..e87a58e99f 100644 --- a/gen/cloudshell1-cli/src/main.rs +++ b/gen/cloudshell1-cli/src/main.rs @@ -769,7 +769,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/cloudshell1", 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::CloudShell::new(client, auth), @@ -1042,7 +1048,7 @@ async fn main() { let mut app = App::new("cloudshell1") .author("Sebastian Thiel ") - .version("3.0.0+20220301") + .version("3.1.0+20220301") .about("Allows users to start, configure, and connect to interactive shell sessions running in the cloud. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudshell1_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudshell1/Cargo.toml b/gen/cloudshell1/Cargo.toml index 6079aa85af..69f1f585b3 100644 --- a/gen/cloudshell1/Cargo.toml +++ b/gen/cloudshell1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudshell1" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Shell (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudshell1" homepage = "https://cloud.google.com/shell/docs/" -documentation = "https://docs.rs/google-cloudshell1/3.0.0+20220301" +documentation = "https://docs.rs/google-cloudshell1/3.1.0+20220301" license = "MIT" keywords = ["cloudshell", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/cloudshell1/README.md b/gen/cloudshell1/README.md index 090f1ba730..deb5299707 100644 --- a/gen/cloudshell1/README.md +++ b/gen/cloudshell1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-cloudshell1` library allows access to all features of the *Google Cloud Shell* service. -This documentation was generated from *Cloud Shell* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *cloudshell:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Shell* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *cloudshell:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Shell* *v1* API can be found at the [official documentation site](https://cloud.google.com/shell/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudshell1/3.0.0+20220301/google_cloudshell1/CloudShell) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudshell1/3.1.0+20220301/google_cloudshell1/CloudShell) ... -* [operations](https://docs.rs/google-cloudshell1/3.0.0+20220301/google_cloudshell1/api::Operation) - * [*cancel*](https://docs.rs/google-cloudshell1/3.0.0+20220301/google_cloudshell1/api::OperationCancelCall), [*delete*](https://docs.rs/google-cloudshell1/3.0.0+20220301/google_cloudshell1/api::OperationDeleteCall), [*get*](https://docs.rs/google-cloudshell1/3.0.0+20220301/google_cloudshell1/api::OperationGetCall) and [*list*](https://docs.rs/google-cloudshell1/3.0.0+20220301/google_cloudshell1/api::OperationListCall) +* [operations](https://docs.rs/google-cloudshell1/3.1.0+20220301/google_cloudshell1/api::Operation) + * [*cancel*](https://docs.rs/google-cloudshell1/3.1.0+20220301/google_cloudshell1/api::OperationCancelCall), [*delete*](https://docs.rs/google-cloudshell1/3.1.0+20220301/google_cloudshell1/api::OperationDeleteCall), [*get*](https://docs.rs/google-cloudshell1/3.1.0+20220301/google_cloudshell1/api::OperationGetCall) and [*list*](https://docs.rs/google-cloudshell1/3.1.0+20220301/google_cloudshell1/api::OperationListCall) * users - * [*environments add public key*](https://docs.rs/google-cloudshell1/3.0.0+20220301/google_cloudshell1/api::UserEnvironmentAddPublicKeyCall), [*environments authorize*](https://docs.rs/google-cloudshell1/3.0.0+20220301/google_cloudshell1/api::UserEnvironmentAuthorizeCall), [*environments get*](https://docs.rs/google-cloudshell1/3.0.0+20220301/google_cloudshell1/api::UserEnvironmentGetCall), [*environments remove public key*](https://docs.rs/google-cloudshell1/3.0.0+20220301/google_cloudshell1/api::UserEnvironmentRemovePublicKeyCall) and [*environments start*](https://docs.rs/google-cloudshell1/3.0.0+20220301/google_cloudshell1/api::UserEnvironmentStartCall) + * [*environments add public key*](https://docs.rs/google-cloudshell1/3.1.0+20220301/google_cloudshell1/api::UserEnvironmentAddPublicKeyCall), [*environments authorize*](https://docs.rs/google-cloudshell1/3.1.0+20220301/google_cloudshell1/api::UserEnvironmentAuthorizeCall), [*environments get*](https://docs.rs/google-cloudshell1/3.1.0+20220301/google_cloudshell1/api::UserEnvironmentGetCall), [*environments remove public key*](https://docs.rs/google-cloudshell1/3.1.0+20220301/google_cloudshell1/api::UserEnvironmentRemovePublicKeyCall) and [*environments start*](https://docs.rs/google-cloudshell1/3.1.0+20220301/google_cloudshell1/api::UserEnvironmentStartCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudshell1/3.0.0+20220301/google_cloudshell1/CloudShell)** +* **[Hub](https://docs.rs/google-cloudshell1/3.1.0+20220301/google_cloudshell1/CloudShell)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudshell1/3.0.0+20220301/google_cloudshell1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudshell1/3.0.0+20220301/google_cloudshell1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudshell1/3.0.0+20220301/google_cloudshell1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudshell1/3.1.0+20220301/google_cloudshell1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudshell1/3.1.0+20220301/google_cloudshell1/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudshell1/3.1.0+20220301/google_cloudshell1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudshell1/3.0.0+20220301/google_cloudshell1/client::Part)** + * **[Parts](https://docs.rs/google-cloudshell1/3.1.0+20220301/google_cloudshell1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudshell1/3.0.0+20220301/google_cloudshell1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudshell1/3.1.0+20220301/google_cloudshell1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -99,7 +99,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudShell::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudShell::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -130,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudshell1/3.0.0+20220301/google_cloudshell1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudshell1/3.1.0+20220301/google_cloudshell1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudshell1/3.0.0+20220301/google_cloudshell1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudshell1/3.1.0+20220301/google_cloudshell1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudshell1/3.0.0+20220301/google_cloudshell1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudshell1/3.1.0+20220301/google_cloudshell1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudshell1/3.0.0+20220301/google_cloudshell1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudshell1/3.1.0+20220301/google_cloudshell1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -150,29 +150,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudshell1/3.0.0+20220301/google_cloudshell1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudshell1/3.0.0+20220301/google_cloudshell1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudshell1/3.1.0+20220301/google_cloudshell1/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudshell1/3.1.0+20220301/google_cloudshell1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-cloudshell1/3.0.0+20220301/google_cloudshell1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudshell1/3.1.0+20220301/google_cloudshell1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudshell1/3.0.0+20220301/google_cloudshell1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudshell1/3.0.0+20220301/google_cloudshell1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudshell1/3.1.0+20220301/google_cloudshell1/client::RequestValue) and +[decodable](https://docs.rs/google-cloudshell1/3.1.0+20220301/google_cloudshell1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudshell1/3.0.0+20220301/google_cloudshell1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudshell1/3.1.0+20220301/google_cloudshell1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-cloudshell1/3.0.0+20220301/google_cloudshell1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudshell1/3.1.0+20220301/google_cloudshell1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-cloudshell1/3.0.0+20220301/google_cloudshell1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudshell1/3.1.0+20220301/google_cloudshell1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudshell1/src/api.rs b/gen/cloudshell1/src/api.rs index 9114d95560..d6971de977 100644 --- a/gen/cloudshell1/src/api.rs +++ b/gen/cloudshell1/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudShell::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudShell::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -116,7 +116,7 @@ impl<'a, > CloudShell<> { CloudShell { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://cloudshell.googleapis.com/".to_string(), _root_url: "https://cloudshell.googleapis.com/".to_string(), } @@ -130,7 +130,7 @@ impl<'a, > CloudShell<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -410,7 +410,7 @@ impl client::Part for Status {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudShell::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudShell::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `cancel(...)`, `delete(...)`, `get(...)` and `list(...)` /// // to build up your call. @@ -524,7 +524,7 @@ impl<'a> OperationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudShell::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudShell::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `environments_add_public_key(...)`, `environments_authorize(...)`, `environments_get(...)`, `environments_remove_public_key(...)` and `environments_start(...)` /// // to build up your call. @@ -666,7 +666,7 @@ impl<'a> UserMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudShell::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudShell::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -951,7 +951,7 @@ impl<'a> OperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudShell::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudShell::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1207,7 +1207,7 @@ impl<'a> OperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudShell::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudShell::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1463,7 +1463,7 @@ impl<'a> OperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudShell::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudShell::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1756,7 +1756,7 @@ impl<'a> OperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudShell::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudShell::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2042,7 +2042,7 @@ impl<'a> UserEnvironmentAddPublicKeyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudShell::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudShell::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2327,7 +2327,7 @@ impl<'a> UserEnvironmentAuthorizeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudShell::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudShell::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2584,7 +2584,7 @@ impl<'a> UserEnvironmentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudShell::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudShell::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2870,7 +2870,7 @@ impl<'a> UserEnvironmentRemovePublicKeyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudShell::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudShell::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/cloudshell1/src/lib.rs b/gen/cloudshell1/src/lib.rs index c2bc3b3f4f..73686987c9 100644 --- a/gen/cloudshell1/src/lib.rs +++ b/gen/cloudshell1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Shell* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *cloudshell:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Shell* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *cloudshell:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Shell* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/shell/docs/). @@ -100,7 +100,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudShell::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudShell::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/cloudsupport2_beta-cli/Cargo.toml b/gen/cloudsupport2_beta-cli/Cargo.toml index d9e5c35d54..99e0320498 100644 --- a/gen/cloudsupport2_beta-cli/Cargo.toml +++ b/gen/cloudsupport2_beta-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudsupport2_beta-cli" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Support (protocol v2beta)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudsupport2_beta-cli" @@ -20,12 +20,12 @@ name = "cloudsupport2-beta" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudsupport2_beta] path = "../cloudsupport2_beta" -version = "3.0.0+20220305" +version = "3.1.0+20220305" diff --git a/gen/cloudsupport2_beta-cli/README.md b/gen/cloudsupport2_beta-cli/README.md index 2d1cce3f97..ef6fe1d137 100644 --- a/gen/cloudsupport2_beta-cli/README.md +++ b/gen/cloudsupport2_beta-cli/README.md @@ -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 *Cloud Support* API at revision *20220305*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Support* API at revision *20220305*. The CLI is at version *3.1.0*. ```bash cloudsupport2-beta [options] diff --git a/gen/cloudsupport2_beta-cli/mkdocs.yml b/gen/cloudsupport2_beta-cli/mkdocs.yml index 3d3f890fcd..3bb9e5bd82 100644 --- a/gen/cloudsupport2_beta-cli/mkdocs.yml +++ b/gen/cloudsupport2_beta-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Support v3.0.0+20220305 +site_name: Cloud Support v3.1.0+20220305 site_url: http://byron.github.io/google-apis-rs/google-cloudsupport2_beta-cli site_description: A complete library to interact with Cloud Support (protocol v2beta) diff --git a/gen/cloudsupport2_beta-cli/src/main.rs b/gen/cloudsupport2_beta-cli/src/main.rs index cac8e95d00..343d9b64fa 100644 --- a/gen/cloudsupport2_beta-cli/src/main.rs +++ b/gen/cloudsupport2_beta-cli/src/main.rs @@ -1227,7 +1227,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/cloudsupport2-beta", 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::CloudSupport::new(client, auth), @@ -1623,7 +1629,7 @@ async fn main() { let mut app = App::new("cloudsupport2-beta") .author("Sebastian Thiel ") - .version("3.0.0+20220305") + .version("3.1.0+20220305") .about("Manages Google Cloud technical support cases for Customer Care support offerings. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudsupport2_beta_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudsupport2_beta/Cargo.toml b/gen/cloudsupport2_beta/Cargo.toml index 0353cbc8b7..aecbf1aa30 100644 --- a/gen/cloudsupport2_beta/Cargo.toml +++ b/gen/cloudsupport2_beta/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudsupport2_beta" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Support (protocol v2beta)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudsupport2_beta" homepage = "https://cloud.google.com/support/docs/apis" -documentation = "https://docs.rs/google-cloudsupport2_beta/3.0.0+20220305" +documentation = "https://docs.rs/google-cloudsupport2_beta/3.1.0+20220305" license = "MIT" keywords = ["cloudsupport", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/cloudsupport2_beta/README.md b/gen/cloudsupport2_beta/README.md index 4dffffafe3..e5365e3a37 100644 --- a/gen/cloudsupport2_beta/README.md +++ b/gen/cloudsupport2_beta/README.md @@ -5,31 +5,31 @@ DO NOT EDIT ! --> The `google-cloudsupport2_beta` library allows access to all features of the *Google Cloud Support* service. -This documentation was generated from *Cloud Support* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *cloudsupport:v2beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Support* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *cloudsupport:v2beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Support* *v2_beta* API can be found at the [official documentation site](https://cloud.google.com/support/docs/apis). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudsupport2_beta/3.0.0+20220305/google_cloudsupport2_beta/CloudSupport) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudsupport2_beta/3.1.0+20220305/google_cloudsupport2_beta/CloudSupport) ... -* [attachments](https://docs.rs/google-cloudsupport2_beta/3.0.0+20220305/google_cloudsupport2_beta/api::Attachment) - * [*create*](https://docs.rs/google-cloudsupport2_beta/3.0.0+20220305/google_cloudsupport2_beta/api::AttachmentCreateCall) -* [case classifications](https://docs.rs/google-cloudsupport2_beta/3.0.0+20220305/google_cloudsupport2_beta/api::CaseClassification) - * [*search*](https://docs.rs/google-cloudsupport2_beta/3.0.0+20220305/google_cloudsupport2_beta/api::CaseClassificationSearchCall) -* [cases](https://docs.rs/google-cloudsupport2_beta/3.0.0+20220305/google_cloudsupport2_beta/api::Case) - * [*attachments list*](https://docs.rs/google-cloudsupport2_beta/3.0.0+20220305/google_cloudsupport2_beta/api::CaseAttachmentListCall), [*close*](https://docs.rs/google-cloudsupport2_beta/3.0.0+20220305/google_cloudsupport2_beta/api::CaseCloseCall), [*comments create*](https://docs.rs/google-cloudsupport2_beta/3.0.0+20220305/google_cloudsupport2_beta/api::CaseCommentCreateCall), [*comments list*](https://docs.rs/google-cloudsupport2_beta/3.0.0+20220305/google_cloudsupport2_beta/api::CaseCommentListCall), [*create*](https://docs.rs/google-cloudsupport2_beta/3.0.0+20220305/google_cloudsupport2_beta/api::CaseCreateCall), [*escalate*](https://docs.rs/google-cloudsupport2_beta/3.0.0+20220305/google_cloudsupport2_beta/api::CaseEscalateCall), [*get*](https://docs.rs/google-cloudsupport2_beta/3.0.0+20220305/google_cloudsupport2_beta/api::CaseGetCall), [*list*](https://docs.rs/google-cloudsupport2_beta/3.0.0+20220305/google_cloudsupport2_beta/api::CaseListCall), [*patch*](https://docs.rs/google-cloudsupport2_beta/3.0.0+20220305/google_cloudsupport2_beta/api::CasePatchCall) and [*search*](https://docs.rs/google-cloudsupport2_beta/3.0.0+20220305/google_cloudsupport2_beta/api::CaseSearchCall) -* [media](https://docs.rs/google-cloudsupport2_beta/3.0.0+20220305/google_cloudsupport2_beta/api::Media) - * [*download*](https://docs.rs/google-cloudsupport2_beta/3.0.0+20220305/google_cloudsupport2_beta/api::MediaDownloadCall) and [*upload*](https://docs.rs/google-cloudsupport2_beta/3.0.0+20220305/google_cloudsupport2_beta/api::MediaUploadCall) +* [attachments](https://docs.rs/google-cloudsupport2_beta/3.1.0+20220305/google_cloudsupport2_beta/api::Attachment) + * [*create*](https://docs.rs/google-cloudsupport2_beta/3.1.0+20220305/google_cloudsupport2_beta/api::AttachmentCreateCall) +* [case classifications](https://docs.rs/google-cloudsupport2_beta/3.1.0+20220305/google_cloudsupport2_beta/api::CaseClassification) + * [*search*](https://docs.rs/google-cloudsupport2_beta/3.1.0+20220305/google_cloudsupport2_beta/api::CaseClassificationSearchCall) +* [cases](https://docs.rs/google-cloudsupport2_beta/3.1.0+20220305/google_cloudsupport2_beta/api::Case) + * [*attachments list*](https://docs.rs/google-cloudsupport2_beta/3.1.0+20220305/google_cloudsupport2_beta/api::CaseAttachmentListCall), [*close*](https://docs.rs/google-cloudsupport2_beta/3.1.0+20220305/google_cloudsupport2_beta/api::CaseCloseCall), [*comments create*](https://docs.rs/google-cloudsupport2_beta/3.1.0+20220305/google_cloudsupport2_beta/api::CaseCommentCreateCall), [*comments list*](https://docs.rs/google-cloudsupport2_beta/3.1.0+20220305/google_cloudsupport2_beta/api::CaseCommentListCall), [*create*](https://docs.rs/google-cloudsupport2_beta/3.1.0+20220305/google_cloudsupport2_beta/api::CaseCreateCall), [*escalate*](https://docs.rs/google-cloudsupport2_beta/3.1.0+20220305/google_cloudsupport2_beta/api::CaseEscalateCall), [*get*](https://docs.rs/google-cloudsupport2_beta/3.1.0+20220305/google_cloudsupport2_beta/api::CaseGetCall), [*list*](https://docs.rs/google-cloudsupport2_beta/3.1.0+20220305/google_cloudsupport2_beta/api::CaseListCall), [*patch*](https://docs.rs/google-cloudsupport2_beta/3.1.0+20220305/google_cloudsupport2_beta/api::CasePatchCall) and [*search*](https://docs.rs/google-cloudsupport2_beta/3.1.0+20220305/google_cloudsupport2_beta/api::CaseSearchCall) +* [media](https://docs.rs/google-cloudsupport2_beta/3.1.0+20220305/google_cloudsupport2_beta/api::Media) + * [*download*](https://docs.rs/google-cloudsupport2_beta/3.1.0+20220305/google_cloudsupport2_beta/api::MediaDownloadCall) and [*upload*](https://docs.rs/google-cloudsupport2_beta/3.1.0+20220305/google_cloudsupport2_beta/api::MediaUploadCall) Upload supported by ... -* [*upload media*](https://docs.rs/google-cloudsupport2_beta/3.0.0+20220305/google_cloudsupport2_beta/api::MediaUploadCall) +* [*upload media*](https://docs.rs/google-cloudsupport2_beta/3.1.0+20220305/google_cloudsupport2_beta/api::MediaUploadCall) Download supported by ... -* [*download media*](https://docs.rs/google-cloudsupport2_beta/3.0.0+20220305/google_cloudsupport2_beta/api::MediaDownloadCall) +* [*download media*](https://docs.rs/google-cloudsupport2_beta/3.1.0+20220305/google_cloudsupport2_beta/api::MediaDownloadCall) @@ -37,17 +37,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudsupport2_beta/3.0.0+20220305/google_cloudsupport2_beta/CloudSupport)** +* **[Hub](https://docs.rs/google-cloudsupport2_beta/3.1.0+20220305/google_cloudsupport2_beta/CloudSupport)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudsupport2_beta/3.0.0+20220305/google_cloudsupport2_beta/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudsupport2_beta/3.0.0+20220305/google_cloudsupport2_beta/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudsupport2_beta/3.0.0+20220305/google_cloudsupport2_beta/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudsupport2_beta/3.1.0+20220305/google_cloudsupport2_beta/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudsupport2_beta/3.1.0+20220305/google_cloudsupport2_beta/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudsupport2_beta/3.1.0+20220305/google_cloudsupport2_beta/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudsupport2_beta/3.0.0+20220305/google_cloudsupport2_beta/client::Part)** + * **[Parts](https://docs.rs/google-cloudsupport2_beta/3.1.0+20220305/google_cloudsupport2_beta/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudsupport2_beta/3.0.0+20220305/google_cloudsupport2_beta/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudsupport2_beta/3.1.0+20220305/google_cloudsupport2_beta/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -113,7 +113,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudSupport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudSupport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -144,17 +144,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudsupport2_beta/3.0.0+20220305/google_cloudsupport2_beta/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudsupport2_beta/3.1.0+20220305/google_cloudsupport2_beta/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudsupport2_beta/3.0.0+20220305/google_cloudsupport2_beta/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudsupport2_beta/3.1.0+20220305/google_cloudsupport2_beta/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudsupport2_beta/3.0.0+20220305/google_cloudsupport2_beta/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudsupport2_beta/3.1.0+20220305/google_cloudsupport2_beta/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudsupport2_beta/3.0.0+20220305/google_cloudsupport2_beta/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudsupport2_beta/3.1.0+20220305/google_cloudsupport2_beta/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -164,29 +164,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudsupport2_beta/3.0.0+20220305/google_cloudsupport2_beta/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudsupport2_beta/3.0.0+20220305/google_cloudsupport2_beta/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudsupport2_beta/3.1.0+20220305/google_cloudsupport2_beta/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudsupport2_beta/3.1.0+20220305/google_cloudsupport2_beta/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-cloudsupport2_beta/3.0.0+20220305/google_cloudsupport2_beta/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudsupport2_beta/3.1.0+20220305/google_cloudsupport2_beta/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudsupport2_beta/3.0.0+20220305/google_cloudsupport2_beta/client::RequestValue) and -[decodable](https://docs.rs/google-cloudsupport2_beta/3.0.0+20220305/google_cloudsupport2_beta/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudsupport2_beta/3.1.0+20220305/google_cloudsupport2_beta/client::RequestValue) and +[decodable](https://docs.rs/google-cloudsupport2_beta/3.1.0+20220305/google_cloudsupport2_beta/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudsupport2_beta/3.0.0+20220305/google_cloudsupport2_beta/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudsupport2_beta/3.1.0+20220305/google_cloudsupport2_beta/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-cloudsupport2_beta/3.0.0+20220305/google_cloudsupport2_beta/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudsupport2_beta/3.1.0+20220305/google_cloudsupport2_beta/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-cloudsupport2_beta/3.0.0+20220305/google_cloudsupport2_beta/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudsupport2_beta/3.1.0+20220305/google_cloudsupport2_beta/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudsupport2_beta/src/api.rs b/gen/cloudsupport2_beta/src/api.rs index e7720440d4..1cb38f744d 100644 --- a/gen/cloudsupport2_beta/src/api.rs +++ b/gen/cloudsupport2_beta/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudSupport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudSupport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -116,7 +116,7 @@ impl<'a, > CloudSupport<> { CloudSupport { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://cloudsupport.googleapis.com/".to_string(), _root_url: "https://cloudsupport.googleapis.com/".to_string(), } @@ -136,7 +136,7 @@ impl<'a, > CloudSupport<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -847,7 +847,7 @@ impl client::ResponseResult for SearchCasesResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudSupport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudSupport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)` /// // to build up your call. @@ -907,7 +907,7 @@ impl<'a> AttachmentMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudSupport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudSupport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `search(...)` /// // to build up your call. @@ -963,7 +963,7 @@ impl<'a> CaseClassificationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudSupport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudSupport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `attachments_list(...)`, `close(...)`, `comments_create(...)`, `comments_list(...)`, `create(...)`, `escalate(...)`, `get(...)`, `list(...)`, `patch(...)` and `search(...)` /// // to build up your call. @@ -1190,7 +1190,7 @@ impl<'a> CaseMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudSupport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudSupport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `download(...)` and `upload(...)` /// // to build up your call. @@ -1275,7 +1275,7 @@ impl<'a> MediaMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudSupport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudSupport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1560,7 +1560,7 @@ impl<'a> AttachmentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudSupport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudSupport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1815,7 +1815,7 @@ impl<'a> CaseClassificationSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudSupport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudSupport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2096,7 +2096,7 @@ impl<'a> CaseAttachmentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudSupport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudSupport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2381,7 +2381,7 @@ impl<'a> CaseCommentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudSupport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudSupport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2662,7 +2662,7 @@ impl<'a> CaseCommentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudSupport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudSupport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2948,7 +2948,7 @@ impl<'a> CaseCloseCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudSupport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudSupport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3234,7 +3234,7 @@ impl<'a> CaseCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudSupport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudSupport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3519,7 +3519,7 @@ impl<'a> CaseEscalateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudSupport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudSupport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3775,7 +3775,7 @@ impl<'a> CaseGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudSupport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudSupport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4068,7 +4068,7 @@ impl<'a> CaseListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudSupport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudSupport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4365,7 +4365,7 @@ impl<'a> CasePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudSupport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudSupport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4625,7 +4625,7 @@ impl<'a> CaseSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudSupport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudSupport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4899,7 +4899,7 @@ impl<'a> MediaDownloadCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudSupport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudSupport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/cloudsupport2_beta/src/lib.rs b/gen/cloudsupport2_beta/src/lib.rs index 7309690966..3550bc603d 100644 --- a/gen/cloudsupport2_beta/src/lib.rs +++ b/gen/cloudsupport2_beta/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Support* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *cloudsupport:v2beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Support* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *cloudsupport:v2beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Support* *v2_beta* API can be found at the //! [official documentation site](https://cloud.google.com/support/docs/apis). @@ -114,7 +114,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudSupport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudSupport::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/cloudtasks2-cli/Cargo.toml b/gen/cloudtasks2-cli/Cargo.toml index f1ac69d3be..d051524620 100644 --- a/gen/cloudtasks2-cli/Cargo.toml +++ b/gen/cloudtasks2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudtasks2-cli" -version = "3.0.0+20220212" +version = "3.1.0+20220212" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Tasks (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudtasks2-cli" @@ -20,12 +20,12 @@ name = "cloudtasks2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudtasks2] path = "../cloudtasks2" -version = "3.0.0+20220212" +version = "3.1.0+20220212" diff --git a/gen/cloudtasks2-cli/README.md b/gen/cloudtasks2-cli/README.md index 737fef8aa5..86e41b02aa 100644 --- a/gen/cloudtasks2-cli/README.md +++ b/gen/cloudtasks2-cli/README.md @@ -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 *Cloud Tasks* API at revision *20220212*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Tasks* API at revision *20220212*. The CLI is at version *3.1.0*. ```bash cloudtasks2 [options] diff --git a/gen/cloudtasks2-cli/mkdocs.yml b/gen/cloudtasks2-cli/mkdocs.yml index 52cf7d51fe..ded7663558 100644 --- a/gen/cloudtasks2-cli/mkdocs.yml +++ b/gen/cloudtasks2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Tasks v3.0.0+20220212 +site_name: Cloud Tasks v3.1.0+20220212 site_url: http://byron.github.io/google-apis-rs/google-cloudtasks2-cli site_description: A complete library to interact with Cloud Tasks (protocol v2) diff --git a/gen/cloudtasks2-cli/src/main.rs b/gen/cloudtasks2-cli/src/main.rs index 67bbebd4f1..86682a4798 100644 --- a/gen/cloudtasks2-cli/src/main.rs +++ b/gen/cloudtasks2-cli/src/main.rs @@ -1508,7 +1508,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/cloudtasks2", 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::CloudTasks::new(client, auth), @@ -2006,7 +2012,7 @@ async fn main() { let mut app = App::new("cloudtasks2") .author("Sebastian Thiel ") - .version("3.0.0+20220212") + .version("3.1.0+20220212") .about("Manages the execution of large numbers of distributed requests.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudtasks2_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudtasks2/Cargo.toml b/gen/cloudtasks2/Cargo.toml index 81b0684923..6e57d00a17 100644 --- a/gen/cloudtasks2/Cargo.toml +++ b/gen/cloudtasks2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudtasks2" -version = "3.0.0+20220212" +version = "3.1.0+20220212" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Tasks (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudtasks2" homepage = "https://cloud.google.com/tasks/" -documentation = "https://docs.rs/google-cloudtasks2/3.0.0+20220212" +documentation = "https://docs.rs/google-cloudtasks2/3.1.0+20220212" license = "MIT" keywords = ["cloudtasks", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/cloudtasks2/README.md b/gen/cloudtasks2/README.md index 9e2843395f..ffb3d0057b 100644 --- a/gen/cloudtasks2/README.md +++ b/gen/cloudtasks2/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-cloudtasks2` library allows access to all features of the *Google Cloud Tasks* service. -This documentation was generated from *Cloud Tasks* crate version *3.0.0+20220212*, where *20220212* is the exact revision of the *cloudtasks:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Tasks* crate version *3.1.0+20220212*, where *20220212* is the exact revision of the *cloudtasks:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Tasks* *v2* API can be found at the [official documentation site](https://cloud.google.com/tasks/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudtasks2/3.0.0+20220212/google_cloudtasks2/CloudTasks) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudtasks2/3.1.0+20220212/google_cloudtasks2/CloudTasks) ... * projects - * [*locations get*](https://docs.rs/google-cloudtasks2/3.0.0+20220212/google_cloudtasks2/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-cloudtasks2/3.0.0+20220212/google_cloudtasks2/api::ProjectLocationListCall), [*locations queues create*](https://docs.rs/google-cloudtasks2/3.0.0+20220212/google_cloudtasks2/api::ProjectLocationQueueCreateCall), [*locations queues delete*](https://docs.rs/google-cloudtasks2/3.0.0+20220212/google_cloudtasks2/api::ProjectLocationQueueDeleteCall), [*locations queues get*](https://docs.rs/google-cloudtasks2/3.0.0+20220212/google_cloudtasks2/api::ProjectLocationQueueGetCall), [*locations queues get iam policy*](https://docs.rs/google-cloudtasks2/3.0.0+20220212/google_cloudtasks2/api::ProjectLocationQueueGetIamPolicyCall), [*locations queues list*](https://docs.rs/google-cloudtasks2/3.0.0+20220212/google_cloudtasks2/api::ProjectLocationQueueListCall), [*locations queues patch*](https://docs.rs/google-cloudtasks2/3.0.0+20220212/google_cloudtasks2/api::ProjectLocationQueuePatchCall), [*locations queues pause*](https://docs.rs/google-cloudtasks2/3.0.0+20220212/google_cloudtasks2/api::ProjectLocationQueuePauseCall), [*locations queues purge*](https://docs.rs/google-cloudtasks2/3.0.0+20220212/google_cloudtasks2/api::ProjectLocationQueuePurgeCall), [*locations queues resume*](https://docs.rs/google-cloudtasks2/3.0.0+20220212/google_cloudtasks2/api::ProjectLocationQueueResumeCall), [*locations queues set iam policy*](https://docs.rs/google-cloudtasks2/3.0.0+20220212/google_cloudtasks2/api::ProjectLocationQueueSetIamPolicyCall), [*locations queues tasks create*](https://docs.rs/google-cloudtasks2/3.0.0+20220212/google_cloudtasks2/api::ProjectLocationQueueTaskCreateCall), [*locations queues tasks delete*](https://docs.rs/google-cloudtasks2/3.0.0+20220212/google_cloudtasks2/api::ProjectLocationQueueTaskDeleteCall), [*locations queues tasks get*](https://docs.rs/google-cloudtasks2/3.0.0+20220212/google_cloudtasks2/api::ProjectLocationQueueTaskGetCall), [*locations queues tasks list*](https://docs.rs/google-cloudtasks2/3.0.0+20220212/google_cloudtasks2/api::ProjectLocationQueueTaskListCall), [*locations queues tasks run*](https://docs.rs/google-cloudtasks2/3.0.0+20220212/google_cloudtasks2/api::ProjectLocationQueueTaskRunCall) and [*locations queues test iam permissions*](https://docs.rs/google-cloudtasks2/3.0.0+20220212/google_cloudtasks2/api::ProjectLocationQueueTestIamPermissionCall) + * [*locations get*](https://docs.rs/google-cloudtasks2/3.1.0+20220212/google_cloudtasks2/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-cloudtasks2/3.1.0+20220212/google_cloudtasks2/api::ProjectLocationListCall), [*locations queues create*](https://docs.rs/google-cloudtasks2/3.1.0+20220212/google_cloudtasks2/api::ProjectLocationQueueCreateCall), [*locations queues delete*](https://docs.rs/google-cloudtasks2/3.1.0+20220212/google_cloudtasks2/api::ProjectLocationQueueDeleteCall), [*locations queues get*](https://docs.rs/google-cloudtasks2/3.1.0+20220212/google_cloudtasks2/api::ProjectLocationQueueGetCall), [*locations queues get iam policy*](https://docs.rs/google-cloudtasks2/3.1.0+20220212/google_cloudtasks2/api::ProjectLocationQueueGetIamPolicyCall), [*locations queues list*](https://docs.rs/google-cloudtasks2/3.1.0+20220212/google_cloudtasks2/api::ProjectLocationQueueListCall), [*locations queues patch*](https://docs.rs/google-cloudtasks2/3.1.0+20220212/google_cloudtasks2/api::ProjectLocationQueuePatchCall), [*locations queues pause*](https://docs.rs/google-cloudtasks2/3.1.0+20220212/google_cloudtasks2/api::ProjectLocationQueuePauseCall), [*locations queues purge*](https://docs.rs/google-cloudtasks2/3.1.0+20220212/google_cloudtasks2/api::ProjectLocationQueuePurgeCall), [*locations queues resume*](https://docs.rs/google-cloudtasks2/3.1.0+20220212/google_cloudtasks2/api::ProjectLocationQueueResumeCall), [*locations queues set iam policy*](https://docs.rs/google-cloudtasks2/3.1.0+20220212/google_cloudtasks2/api::ProjectLocationQueueSetIamPolicyCall), [*locations queues tasks create*](https://docs.rs/google-cloudtasks2/3.1.0+20220212/google_cloudtasks2/api::ProjectLocationQueueTaskCreateCall), [*locations queues tasks delete*](https://docs.rs/google-cloudtasks2/3.1.0+20220212/google_cloudtasks2/api::ProjectLocationQueueTaskDeleteCall), [*locations queues tasks get*](https://docs.rs/google-cloudtasks2/3.1.0+20220212/google_cloudtasks2/api::ProjectLocationQueueTaskGetCall), [*locations queues tasks list*](https://docs.rs/google-cloudtasks2/3.1.0+20220212/google_cloudtasks2/api::ProjectLocationQueueTaskListCall), [*locations queues tasks run*](https://docs.rs/google-cloudtasks2/3.1.0+20220212/google_cloudtasks2/api::ProjectLocationQueueTaskRunCall) and [*locations queues test iam permissions*](https://docs.rs/google-cloudtasks2/3.1.0+20220212/google_cloudtasks2/api::ProjectLocationQueueTestIamPermissionCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudtasks2/3.0.0+20220212/google_cloudtasks2/CloudTasks)** +* **[Hub](https://docs.rs/google-cloudtasks2/3.1.0+20220212/google_cloudtasks2/CloudTasks)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudtasks2/3.0.0+20220212/google_cloudtasks2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudtasks2/3.0.0+20220212/google_cloudtasks2/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudtasks2/3.0.0+20220212/google_cloudtasks2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudtasks2/3.1.0+20220212/google_cloudtasks2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudtasks2/3.1.0+20220212/google_cloudtasks2/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudtasks2/3.1.0+20220212/google_cloudtasks2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudtasks2/3.0.0+20220212/google_cloudtasks2/client::Part)** + * **[Parts](https://docs.rs/google-cloudtasks2/3.1.0+20220212/google_cloudtasks2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudtasks2/3.0.0+20220212/google_cloudtasks2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudtasks2/3.1.0+20220212/google_cloudtasks2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -96,7 +96,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -130,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudtasks2/3.0.0+20220212/google_cloudtasks2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudtasks2/3.1.0+20220212/google_cloudtasks2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudtasks2/3.0.0+20220212/google_cloudtasks2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudtasks2/3.1.0+20220212/google_cloudtasks2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudtasks2/3.0.0+20220212/google_cloudtasks2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudtasks2/3.1.0+20220212/google_cloudtasks2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudtasks2/3.0.0+20220212/google_cloudtasks2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudtasks2/3.1.0+20220212/google_cloudtasks2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -150,29 +150,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudtasks2/3.0.0+20220212/google_cloudtasks2/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudtasks2/3.0.0+20220212/google_cloudtasks2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudtasks2/3.1.0+20220212/google_cloudtasks2/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudtasks2/3.1.0+20220212/google_cloudtasks2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-cloudtasks2/3.0.0+20220212/google_cloudtasks2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudtasks2/3.1.0+20220212/google_cloudtasks2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudtasks2/3.0.0+20220212/google_cloudtasks2/client::RequestValue) and -[decodable](https://docs.rs/google-cloudtasks2/3.0.0+20220212/google_cloudtasks2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudtasks2/3.1.0+20220212/google_cloudtasks2/client::RequestValue) and +[decodable](https://docs.rs/google-cloudtasks2/3.1.0+20220212/google_cloudtasks2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudtasks2/3.0.0+20220212/google_cloudtasks2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudtasks2/3.1.0+20220212/google_cloudtasks2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-cloudtasks2/3.0.0+20220212/google_cloudtasks2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudtasks2/3.1.0+20220212/google_cloudtasks2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-cloudtasks2/3.0.0+20220212/google_cloudtasks2/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudtasks2/3.1.0+20220212/google_cloudtasks2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudtasks2/src/api.rs b/gen/cloudtasks2/src/api.rs index ef31cdc811..6757c13ab2 100644 --- a/gen/cloudtasks2/src/api.rs +++ b/gen/cloudtasks2/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > CloudTasks<> { CloudTasks { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://cloudtasks.googleapis.com/".to_string(), _root_url: "https://cloudtasks.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > CloudTasks<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -813,7 +813,7 @@ impl client::ResponseResult for TestIamPermissionsResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_get(...)`, `locations_list(...)`, `locations_queues_create(...)`, `locations_queues_delete(...)`, `locations_queues_get(...)`, `locations_queues_get_iam_policy(...)`, `locations_queues_list(...)`, `locations_queues_patch(...)`, `locations_queues_pause(...)`, `locations_queues_purge(...)`, `locations_queues_resume(...)`, `locations_queues_set_iam_policy(...)`, `locations_queues_tasks_create(...)`, `locations_queues_tasks_delete(...)`, `locations_queues_tasks_get(...)`, `locations_queues_tasks_list(...)`, `locations_queues_tasks_run(...)` and `locations_queues_test_iam_permissions(...)` /// // to build up your call. @@ -1199,7 +1199,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1484,7 +1484,7 @@ impl<'a> ProjectLocationQueueTaskCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1740,7 +1740,7 @@ impl<'a> ProjectLocationQueueTaskDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2008,7 +2008,7 @@ impl<'a> ProjectLocationQueueTaskGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2301,7 +2301,7 @@ impl<'a> ProjectLocationQueueTaskListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2587,7 +2587,7 @@ impl<'a> ProjectLocationQueueTaskRunCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2872,7 +2872,7 @@ impl<'a> ProjectLocationQueueCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3128,7 +3128,7 @@ impl<'a> ProjectLocationQueueDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3385,7 +3385,7 @@ impl<'a> ProjectLocationQueueGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3670,7 +3670,7 @@ impl<'a> ProjectLocationQueueGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3963,7 +3963,7 @@ impl<'a> ProjectLocationQueueListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4261,7 +4261,7 @@ impl<'a> ProjectLocationQueuePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4547,7 +4547,7 @@ impl<'a> ProjectLocationQueuePauseCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4833,7 +4833,7 @@ impl<'a> ProjectLocationQueuePurgeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5119,7 +5119,7 @@ impl<'a> ProjectLocationQueueResumeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5405,7 +5405,7 @@ impl<'a> ProjectLocationQueueSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5690,7 +5690,7 @@ impl<'a> ProjectLocationQueueTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5946,7 +5946,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/cloudtasks2/src/lib.rs b/gen/cloudtasks2/src/lib.rs index 420aa8ab22..17189467b6 100644 --- a/gen/cloudtasks2/src/lib.rs +++ b/gen/cloudtasks2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Tasks* crate version *3.0.0+20220212*, where *20220212* is the exact revision of the *cloudtasks:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Tasks* crate version *3.1.0+20220212*, where *20220212* is the exact revision of the *cloudtasks:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Tasks* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/tasks/). @@ -97,7 +97,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/cloudtasks2_beta2-cli/Cargo.toml b/gen/cloudtasks2_beta2-cli/Cargo.toml index f4d7db4637..7c34f15a60 100644 --- a/gen/cloudtasks2_beta2-cli/Cargo.toml +++ b/gen/cloudtasks2_beta2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudtasks2_beta2-cli" -version = "3.0.0+20220212" +version = "3.1.0+20220212" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Tasks (protocol v2beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudtasks2_beta2-cli" @@ -20,12 +20,12 @@ name = "cloudtasks2-beta2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudtasks2_beta2] path = "../cloudtasks2_beta2" -version = "3.0.0+20220212" +version = "3.1.0+20220212" diff --git a/gen/cloudtasks2_beta2-cli/README.md b/gen/cloudtasks2_beta2-cli/README.md index 1368cd78d0..c286642576 100644 --- a/gen/cloudtasks2_beta2-cli/README.md +++ b/gen/cloudtasks2_beta2-cli/README.md @@ -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 *Cloud Tasks* API at revision *20220212*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Tasks* API at revision *20220212*. The CLI is at version *3.1.0*. ```bash cloudtasks2-beta2 [options] diff --git a/gen/cloudtasks2_beta2-cli/mkdocs.yml b/gen/cloudtasks2_beta2-cli/mkdocs.yml index 5b7d1aa43d..2d01fbfea6 100644 --- a/gen/cloudtasks2_beta2-cli/mkdocs.yml +++ b/gen/cloudtasks2_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Tasks v3.0.0+20220212 +site_name: Cloud Tasks v3.1.0+20220212 site_url: http://byron.github.io/google-apis-rs/google-cloudtasks2_beta2-cli site_description: A complete library to interact with Cloud Tasks (protocol v2beta2) diff --git a/gen/cloudtasks2_beta2-cli/src/main.rs b/gen/cloudtasks2_beta2-cli/src/main.rs index e186aa3502..2529920a37 100644 --- a/gen/cloudtasks2_beta2-cli/src/main.rs +++ b/gen/cloudtasks2_beta2-cli/src/main.rs @@ -1880,7 +1880,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/cloudtasks2-beta2", 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::CloudTasks::new(client, auth), @@ -2490,7 +2496,7 @@ async fn main() { let mut app = App::new("cloudtasks2-beta2") .author("Sebastian Thiel ") - .version("3.0.0+20220212") + .version("3.1.0+20220212") .about("Manages the execution of large numbers of distributed requests.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudtasks2_beta2_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudtasks2_beta2/Cargo.toml b/gen/cloudtasks2_beta2/Cargo.toml index 260cb3746c..c756b6199c 100644 --- a/gen/cloudtasks2_beta2/Cargo.toml +++ b/gen/cloudtasks2_beta2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudtasks2_beta2" -version = "3.0.0+20220212" +version = "3.1.0+20220212" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Tasks (protocol v2beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudtasks2_beta2" homepage = "https://cloud.google.com/tasks/" -documentation = "https://docs.rs/google-cloudtasks2_beta2/3.0.0+20220212" +documentation = "https://docs.rs/google-cloudtasks2_beta2/3.1.0+20220212" license = "MIT" keywords = ["cloudtasks", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/cloudtasks2_beta2/README.md b/gen/cloudtasks2_beta2/README.md index 5652fdb793..65c4726cf2 100644 --- a/gen/cloudtasks2_beta2/README.md +++ b/gen/cloudtasks2_beta2/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-cloudtasks2_beta2` library allows access to all features of the *Google Cloud Tasks* service. -This documentation was generated from *Cloud Tasks* crate version *3.0.0+20220212*, where *20220212* is the exact revision of the *cloudtasks:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Tasks* crate version *3.1.0+20220212*, where *20220212* is the exact revision of the *cloudtasks:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Tasks* *v2_beta2* API can be found at the [official documentation site](https://cloud.google.com/tasks/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudtasks2_beta2/3.0.0+20220212/google_cloudtasks2_beta2/CloudTasks) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudtasks2_beta2/3.1.0+20220212/google_cloudtasks2_beta2/CloudTasks) ... * projects - * [*locations get*](https://docs.rs/google-cloudtasks2_beta2/3.0.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-cloudtasks2_beta2/3.0.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationListCall), [*locations queues create*](https://docs.rs/google-cloudtasks2_beta2/3.0.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationQueueCreateCall), [*locations queues delete*](https://docs.rs/google-cloudtasks2_beta2/3.0.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationQueueDeleteCall), [*locations queues get*](https://docs.rs/google-cloudtasks2_beta2/3.0.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationQueueGetCall), [*locations queues get iam policy*](https://docs.rs/google-cloudtasks2_beta2/3.0.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationQueueGetIamPolicyCall), [*locations queues list*](https://docs.rs/google-cloudtasks2_beta2/3.0.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationQueueListCall), [*locations queues patch*](https://docs.rs/google-cloudtasks2_beta2/3.0.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationQueuePatchCall), [*locations queues pause*](https://docs.rs/google-cloudtasks2_beta2/3.0.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationQueuePauseCall), [*locations queues purge*](https://docs.rs/google-cloudtasks2_beta2/3.0.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationQueuePurgeCall), [*locations queues resume*](https://docs.rs/google-cloudtasks2_beta2/3.0.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationQueueResumeCall), [*locations queues set iam policy*](https://docs.rs/google-cloudtasks2_beta2/3.0.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationQueueSetIamPolicyCall), [*locations queues tasks acknowledge*](https://docs.rs/google-cloudtasks2_beta2/3.0.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskAcknowledgeCall), [*locations queues tasks cancel lease*](https://docs.rs/google-cloudtasks2_beta2/3.0.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskCancelLeaseCall), [*locations queues tasks create*](https://docs.rs/google-cloudtasks2_beta2/3.0.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskCreateCall), [*locations queues tasks delete*](https://docs.rs/google-cloudtasks2_beta2/3.0.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskDeleteCall), [*locations queues tasks get*](https://docs.rs/google-cloudtasks2_beta2/3.0.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskGetCall), [*locations queues tasks lease*](https://docs.rs/google-cloudtasks2_beta2/3.0.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskLeaseCall), [*locations queues tasks list*](https://docs.rs/google-cloudtasks2_beta2/3.0.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskListCall), [*locations queues tasks renew lease*](https://docs.rs/google-cloudtasks2_beta2/3.0.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskRenewLeaseCall), [*locations queues tasks run*](https://docs.rs/google-cloudtasks2_beta2/3.0.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskRunCall) and [*locations queues test iam permissions*](https://docs.rs/google-cloudtasks2_beta2/3.0.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationQueueTestIamPermissionCall) + * [*locations get*](https://docs.rs/google-cloudtasks2_beta2/3.1.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-cloudtasks2_beta2/3.1.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationListCall), [*locations queues create*](https://docs.rs/google-cloudtasks2_beta2/3.1.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationQueueCreateCall), [*locations queues delete*](https://docs.rs/google-cloudtasks2_beta2/3.1.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationQueueDeleteCall), [*locations queues get*](https://docs.rs/google-cloudtasks2_beta2/3.1.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationQueueGetCall), [*locations queues get iam policy*](https://docs.rs/google-cloudtasks2_beta2/3.1.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationQueueGetIamPolicyCall), [*locations queues list*](https://docs.rs/google-cloudtasks2_beta2/3.1.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationQueueListCall), [*locations queues patch*](https://docs.rs/google-cloudtasks2_beta2/3.1.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationQueuePatchCall), [*locations queues pause*](https://docs.rs/google-cloudtasks2_beta2/3.1.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationQueuePauseCall), [*locations queues purge*](https://docs.rs/google-cloudtasks2_beta2/3.1.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationQueuePurgeCall), [*locations queues resume*](https://docs.rs/google-cloudtasks2_beta2/3.1.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationQueueResumeCall), [*locations queues set iam policy*](https://docs.rs/google-cloudtasks2_beta2/3.1.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationQueueSetIamPolicyCall), [*locations queues tasks acknowledge*](https://docs.rs/google-cloudtasks2_beta2/3.1.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskAcknowledgeCall), [*locations queues tasks cancel lease*](https://docs.rs/google-cloudtasks2_beta2/3.1.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskCancelLeaseCall), [*locations queues tasks create*](https://docs.rs/google-cloudtasks2_beta2/3.1.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskCreateCall), [*locations queues tasks delete*](https://docs.rs/google-cloudtasks2_beta2/3.1.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskDeleteCall), [*locations queues tasks get*](https://docs.rs/google-cloudtasks2_beta2/3.1.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskGetCall), [*locations queues tasks lease*](https://docs.rs/google-cloudtasks2_beta2/3.1.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskLeaseCall), [*locations queues tasks list*](https://docs.rs/google-cloudtasks2_beta2/3.1.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskListCall), [*locations queues tasks renew lease*](https://docs.rs/google-cloudtasks2_beta2/3.1.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskRenewLeaseCall), [*locations queues tasks run*](https://docs.rs/google-cloudtasks2_beta2/3.1.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationQueueTaskRunCall) and [*locations queues test iam permissions*](https://docs.rs/google-cloudtasks2_beta2/3.1.0+20220212/google_cloudtasks2_beta2/api::ProjectLocationQueueTestIamPermissionCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudtasks2_beta2/3.0.0+20220212/google_cloudtasks2_beta2/CloudTasks)** +* **[Hub](https://docs.rs/google-cloudtasks2_beta2/3.1.0+20220212/google_cloudtasks2_beta2/CloudTasks)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudtasks2_beta2/3.0.0+20220212/google_cloudtasks2_beta2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudtasks2_beta2/3.0.0+20220212/google_cloudtasks2_beta2/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudtasks2_beta2/3.0.0+20220212/google_cloudtasks2_beta2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudtasks2_beta2/3.1.0+20220212/google_cloudtasks2_beta2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudtasks2_beta2/3.1.0+20220212/google_cloudtasks2_beta2/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudtasks2_beta2/3.1.0+20220212/google_cloudtasks2_beta2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudtasks2_beta2/3.0.0+20220212/google_cloudtasks2_beta2/client::Part)** + * **[Parts](https://docs.rs/google-cloudtasks2_beta2/3.1.0+20220212/google_cloudtasks2_beta2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudtasks2_beta2/3.0.0+20220212/google_cloudtasks2_beta2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudtasks2_beta2/3.1.0+20220212/google_cloudtasks2_beta2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -96,7 +96,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -130,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudtasks2_beta2/3.0.0+20220212/google_cloudtasks2_beta2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudtasks2_beta2/3.1.0+20220212/google_cloudtasks2_beta2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudtasks2_beta2/3.0.0+20220212/google_cloudtasks2_beta2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudtasks2_beta2/3.1.0+20220212/google_cloudtasks2_beta2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudtasks2_beta2/3.0.0+20220212/google_cloudtasks2_beta2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudtasks2_beta2/3.1.0+20220212/google_cloudtasks2_beta2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudtasks2_beta2/3.0.0+20220212/google_cloudtasks2_beta2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudtasks2_beta2/3.1.0+20220212/google_cloudtasks2_beta2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -150,29 +150,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudtasks2_beta2/3.0.0+20220212/google_cloudtasks2_beta2/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudtasks2_beta2/3.0.0+20220212/google_cloudtasks2_beta2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudtasks2_beta2/3.1.0+20220212/google_cloudtasks2_beta2/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudtasks2_beta2/3.1.0+20220212/google_cloudtasks2_beta2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-cloudtasks2_beta2/3.0.0+20220212/google_cloudtasks2_beta2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudtasks2_beta2/3.1.0+20220212/google_cloudtasks2_beta2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudtasks2_beta2/3.0.0+20220212/google_cloudtasks2_beta2/client::RequestValue) and -[decodable](https://docs.rs/google-cloudtasks2_beta2/3.0.0+20220212/google_cloudtasks2_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudtasks2_beta2/3.1.0+20220212/google_cloudtasks2_beta2/client::RequestValue) and +[decodable](https://docs.rs/google-cloudtasks2_beta2/3.1.0+20220212/google_cloudtasks2_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudtasks2_beta2/3.0.0+20220212/google_cloudtasks2_beta2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudtasks2_beta2/3.1.0+20220212/google_cloudtasks2_beta2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-cloudtasks2_beta2/3.0.0+20220212/google_cloudtasks2_beta2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudtasks2_beta2/3.1.0+20220212/google_cloudtasks2_beta2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-cloudtasks2_beta2/3.0.0+20220212/google_cloudtasks2_beta2/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudtasks2_beta2/3.1.0+20220212/google_cloudtasks2_beta2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudtasks2_beta2/src/api.rs b/gen/cloudtasks2_beta2/src/api.rs index b8b06adfa6..85912e7e91 100644 --- a/gen/cloudtasks2_beta2/src/api.rs +++ b/gen/cloudtasks2_beta2/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > CloudTasks<> { CloudTasks { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://cloudtasks.googleapis.com/".to_string(), _root_url: "https://cloudtasks.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > CloudTasks<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -941,7 +941,7 @@ impl client::ResponseResult for TestIamPermissionsResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_get(...)`, `locations_list(...)`, `locations_queues_create(...)`, `locations_queues_delete(...)`, `locations_queues_get(...)`, `locations_queues_get_iam_policy(...)`, `locations_queues_list(...)`, `locations_queues_patch(...)`, `locations_queues_pause(...)`, `locations_queues_purge(...)`, `locations_queues_resume(...)`, `locations_queues_set_iam_policy(...)`, `locations_queues_tasks_acknowledge(...)`, `locations_queues_tasks_cancel_lease(...)`, `locations_queues_tasks_create(...)`, `locations_queues_tasks_delete(...)`, `locations_queues_tasks_get(...)`, `locations_queues_tasks_lease(...)`, `locations_queues_tasks_list(...)`, `locations_queues_tasks_renew_lease(...)`, `locations_queues_tasks_run(...)` and `locations_queues_test_iam_permissions(...)` /// // to build up your call. @@ -1405,7 +1405,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1691,7 +1691,7 @@ impl<'a> ProjectLocationQueueTaskAcknowledgeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1977,7 +1977,7 @@ impl<'a> ProjectLocationQueueTaskCancelLeaseCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2262,7 +2262,7 @@ impl<'a> ProjectLocationQueueTaskCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2518,7 +2518,7 @@ impl<'a> ProjectLocationQueueTaskDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2787,7 +2787,7 @@ impl<'a> ProjectLocationQueueTaskGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3072,7 +3072,7 @@ impl<'a> ProjectLocationQueueTaskLeaseCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3365,7 +3365,7 @@ impl<'a> ProjectLocationQueueTaskListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3651,7 +3651,7 @@ impl<'a> ProjectLocationQueueTaskRenewLeaseCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3937,7 +3937,7 @@ impl<'a> ProjectLocationQueueTaskRunCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4222,7 +4222,7 @@ impl<'a> ProjectLocationQueueCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4478,7 +4478,7 @@ impl<'a> ProjectLocationQueueDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4747,7 +4747,7 @@ impl<'a> ProjectLocationQueueGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5032,7 +5032,7 @@ impl<'a> ProjectLocationQueueGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5337,7 +5337,7 @@ impl<'a> ProjectLocationQueueListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5635,7 +5635,7 @@ impl<'a> ProjectLocationQueuePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5921,7 +5921,7 @@ impl<'a> ProjectLocationQueuePauseCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6207,7 +6207,7 @@ impl<'a> ProjectLocationQueuePurgeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6493,7 +6493,7 @@ impl<'a> ProjectLocationQueueResumeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6779,7 +6779,7 @@ impl<'a> ProjectLocationQueueSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7064,7 +7064,7 @@ impl<'a> ProjectLocationQueueTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7320,7 +7320,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/cloudtasks2_beta2/src/lib.rs b/gen/cloudtasks2_beta2/src/lib.rs index 7167191288..3109515cbf 100644 --- a/gen/cloudtasks2_beta2/src/lib.rs +++ b/gen/cloudtasks2_beta2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Tasks* crate version *3.0.0+20220212*, where *20220212* is the exact revision of the *cloudtasks:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Tasks* crate version *3.1.0+20220212*, where *20220212* is the exact revision of the *cloudtasks:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Tasks* *v2_beta2* API can be found at the //! [official documentation site](https://cloud.google.com/tasks/). @@ -97,7 +97,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/cloudtasks2_beta3-cli/Cargo.toml b/gen/cloudtasks2_beta3-cli/Cargo.toml index 3db80401f8..262bb49a1e 100644 --- a/gen/cloudtasks2_beta3-cli/Cargo.toml +++ b/gen/cloudtasks2_beta3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudtasks2_beta3-cli" -version = "3.0.0+20220212" +version = "3.1.0+20220212" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Tasks (protocol v2beta3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudtasks2_beta3-cli" @@ -20,12 +20,12 @@ name = "cloudtasks2-beta3" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudtasks2_beta3] path = "../cloudtasks2_beta3" -version = "3.0.0+20220212" +version = "3.1.0+20220212" diff --git a/gen/cloudtasks2_beta3-cli/README.md b/gen/cloudtasks2_beta3-cli/README.md index 6504ccaf77..e560e61545 100644 --- a/gen/cloudtasks2_beta3-cli/README.md +++ b/gen/cloudtasks2_beta3-cli/README.md @@ -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 *Cloud Tasks* API at revision *20220212*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Tasks* API at revision *20220212*. The CLI is at version *3.1.0*. ```bash cloudtasks2-beta3 [options] diff --git a/gen/cloudtasks2_beta3-cli/mkdocs.yml b/gen/cloudtasks2_beta3-cli/mkdocs.yml index bed811a8af..933a83e36e 100644 --- a/gen/cloudtasks2_beta3-cli/mkdocs.yml +++ b/gen/cloudtasks2_beta3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Tasks v3.0.0+20220212 +site_name: Cloud Tasks v3.1.0+20220212 site_url: http://byron.github.io/google-apis-rs/google-cloudtasks2_beta3-cli site_description: A complete library to interact with Cloud Tasks (protocol v2beta3) diff --git a/gen/cloudtasks2_beta3-cli/src/main.rs b/gen/cloudtasks2_beta3-cli/src/main.rs index 39ddd46fc4..4ca1df35a4 100644 --- a/gen/cloudtasks2_beta3-cli/src/main.rs +++ b/gen/cloudtasks2_beta3-cli/src/main.rs @@ -1533,7 +1533,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/cloudtasks2-beta3", 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::CloudTasks::new(client, auth), @@ -2031,7 +2037,7 @@ async fn main() { let mut app = App::new("cloudtasks2-beta3") .author("Sebastian Thiel ") - .version("3.0.0+20220212") + .version("3.1.0+20220212") .about("Manages the execution of large numbers of distributed requests.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudtasks2_beta3_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudtasks2_beta3/Cargo.toml b/gen/cloudtasks2_beta3/Cargo.toml index 2117593089..143206545f 100644 --- a/gen/cloudtasks2_beta3/Cargo.toml +++ b/gen/cloudtasks2_beta3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudtasks2_beta3" -version = "3.0.0+20220212" +version = "3.1.0+20220212" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Tasks (protocol v2beta3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudtasks2_beta3" homepage = "https://cloud.google.com/tasks/" -documentation = "https://docs.rs/google-cloudtasks2_beta3/3.0.0+20220212" +documentation = "https://docs.rs/google-cloudtasks2_beta3/3.1.0+20220212" license = "MIT" keywords = ["cloudtasks", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/cloudtasks2_beta3/README.md b/gen/cloudtasks2_beta3/README.md index c1dc9b6ab9..3b8b134382 100644 --- a/gen/cloudtasks2_beta3/README.md +++ b/gen/cloudtasks2_beta3/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-cloudtasks2_beta3` library allows access to all features of the *Google Cloud Tasks* service. -This documentation was generated from *Cloud Tasks* crate version *3.0.0+20220212*, where *20220212* is the exact revision of the *cloudtasks:v2beta3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Tasks* crate version *3.1.0+20220212*, where *20220212* is the exact revision of the *cloudtasks:v2beta3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Tasks* *v2_beta3* API can be found at the [official documentation site](https://cloud.google.com/tasks/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudtasks2_beta3/3.0.0+20220212/google_cloudtasks2_beta3/CloudTasks) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudtasks2_beta3/3.1.0+20220212/google_cloudtasks2_beta3/CloudTasks) ... * projects - * [*locations get*](https://docs.rs/google-cloudtasks2_beta3/3.0.0+20220212/google_cloudtasks2_beta3/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-cloudtasks2_beta3/3.0.0+20220212/google_cloudtasks2_beta3/api::ProjectLocationListCall), [*locations queues create*](https://docs.rs/google-cloudtasks2_beta3/3.0.0+20220212/google_cloudtasks2_beta3/api::ProjectLocationQueueCreateCall), [*locations queues delete*](https://docs.rs/google-cloudtasks2_beta3/3.0.0+20220212/google_cloudtasks2_beta3/api::ProjectLocationQueueDeleteCall), [*locations queues get*](https://docs.rs/google-cloudtasks2_beta3/3.0.0+20220212/google_cloudtasks2_beta3/api::ProjectLocationQueueGetCall), [*locations queues get iam policy*](https://docs.rs/google-cloudtasks2_beta3/3.0.0+20220212/google_cloudtasks2_beta3/api::ProjectLocationQueueGetIamPolicyCall), [*locations queues list*](https://docs.rs/google-cloudtasks2_beta3/3.0.0+20220212/google_cloudtasks2_beta3/api::ProjectLocationQueueListCall), [*locations queues patch*](https://docs.rs/google-cloudtasks2_beta3/3.0.0+20220212/google_cloudtasks2_beta3/api::ProjectLocationQueuePatchCall), [*locations queues pause*](https://docs.rs/google-cloudtasks2_beta3/3.0.0+20220212/google_cloudtasks2_beta3/api::ProjectLocationQueuePauseCall), [*locations queues purge*](https://docs.rs/google-cloudtasks2_beta3/3.0.0+20220212/google_cloudtasks2_beta3/api::ProjectLocationQueuePurgeCall), [*locations queues resume*](https://docs.rs/google-cloudtasks2_beta3/3.0.0+20220212/google_cloudtasks2_beta3/api::ProjectLocationQueueResumeCall), [*locations queues set iam policy*](https://docs.rs/google-cloudtasks2_beta3/3.0.0+20220212/google_cloudtasks2_beta3/api::ProjectLocationQueueSetIamPolicyCall), [*locations queues tasks create*](https://docs.rs/google-cloudtasks2_beta3/3.0.0+20220212/google_cloudtasks2_beta3/api::ProjectLocationQueueTaskCreateCall), [*locations queues tasks delete*](https://docs.rs/google-cloudtasks2_beta3/3.0.0+20220212/google_cloudtasks2_beta3/api::ProjectLocationQueueTaskDeleteCall), [*locations queues tasks get*](https://docs.rs/google-cloudtasks2_beta3/3.0.0+20220212/google_cloudtasks2_beta3/api::ProjectLocationQueueTaskGetCall), [*locations queues tasks list*](https://docs.rs/google-cloudtasks2_beta3/3.0.0+20220212/google_cloudtasks2_beta3/api::ProjectLocationQueueTaskListCall), [*locations queues tasks run*](https://docs.rs/google-cloudtasks2_beta3/3.0.0+20220212/google_cloudtasks2_beta3/api::ProjectLocationQueueTaskRunCall) and [*locations queues test iam permissions*](https://docs.rs/google-cloudtasks2_beta3/3.0.0+20220212/google_cloudtasks2_beta3/api::ProjectLocationQueueTestIamPermissionCall) + * [*locations get*](https://docs.rs/google-cloudtasks2_beta3/3.1.0+20220212/google_cloudtasks2_beta3/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-cloudtasks2_beta3/3.1.0+20220212/google_cloudtasks2_beta3/api::ProjectLocationListCall), [*locations queues create*](https://docs.rs/google-cloudtasks2_beta3/3.1.0+20220212/google_cloudtasks2_beta3/api::ProjectLocationQueueCreateCall), [*locations queues delete*](https://docs.rs/google-cloudtasks2_beta3/3.1.0+20220212/google_cloudtasks2_beta3/api::ProjectLocationQueueDeleteCall), [*locations queues get*](https://docs.rs/google-cloudtasks2_beta3/3.1.0+20220212/google_cloudtasks2_beta3/api::ProjectLocationQueueGetCall), [*locations queues get iam policy*](https://docs.rs/google-cloudtasks2_beta3/3.1.0+20220212/google_cloudtasks2_beta3/api::ProjectLocationQueueGetIamPolicyCall), [*locations queues list*](https://docs.rs/google-cloudtasks2_beta3/3.1.0+20220212/google_cloudtasks2_beta3/api::ProjectLocationQueueListCall), [*locations queues patch*](https://docs.rs/google-cloudtasks2_beta3/3.1.0+20220212/google_cloudtasks2_beta3/api::ProjectLocationQueuePatchCall), [*locations queues pause*](https://docs.rs/google-cloudtasks2_beta3/3.1.0+20220212/google_cloudtasks2_beta3/api::ProjectLocationQueuePauseCall), [*locations queues purge*](https://docs.rs/google-cloudtasks2_beta3/3.1.0+20220212/google_cloudtasks2_beta3/api::ProjectLocationQueuePurgeCall), [*locations queues resume*](https://docs.rs/google-cloudtasks2_beta3/3.1.0+20220212/google_cloudtasks2_beta3/api::ProjectLocationQueueResumeCall), [*locations queues set iam policy*](https://docs.rs/google-cloudtasks2_beta3/3.1.0+20220212/google_cloudtasks2_beta3/api::ProjectLocationQueueSetIamPolicyCall), [*locations queues tasks create*](https://docs.rs/google-cloudtasks2_beta3/3.1.0+20220212/google_cloudtasks2_beta3/api::ProjectLocationQueueTaskCreateCall), [*locations queues tasks delete*](https://docs.rs/google-cloudtasks2_beta3/3.1.0+20220212/google_cloudtasks2_beta3/api::ProjectLocationQueueTaskDeleteCall), [*locations queues tasks get*](https://docs.rs/google-cloudtasks2_beta3/3.1.0+20220212/google_cloudtasks2_beta3/api::ProjectLocationQueueTaskGetCall), [*locations queues tasks list*](https://docs.rs/google-cloudtasks2_beta3/3.1.0+20220212/google_cloudtasks2_beta3/api::ProjectLocationQueueTaskListCall), [*locations queues tasks run*](https://docs.rs/google-cloudtasks2_beta3/3.1.0+20220212/google_cloudtasks2_beta3/api::ProjectLocationQueueTaskRunCall) and [*locations queues test iam permissions*](https://docs.rs/google-cloudtasks2_beta3/3.1.0+20220212/google_cloudtasks2_beta3/api::ProjectLocationQueueTestIamPermissionCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudtasks2_beta3/3.0.0+20220212/google_cloudtasks2_beta3/CloudTasks)** +* **[Hub](https://docs.rs/google-cloudtasks2_beta3/3.1.0+20220212/google_cloudtasks2_beta3/CloudTasks)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudtasks2_beta3/3.0.0+20220212/google_cloudtasks2_beta3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudtasks2_beta3/3.0.0+20220212/google_cloudtasks2_beta3/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudtasks2_beta3/3.0.0+20220212/google_cloudtasks2_beta3/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudtasks2_beta3/3.1.0+20220212/google_cloudtasks2_beta3/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudtasks2_beta3/3.1.0+20220212/google_cloudtasks2_beta3/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudtasks2_beta3/3.1.0+20220212/google_cloudtasks2_beta3/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudtasks2_beta3/3.0.0+20220212/google_cloudtasks2_beta3/client::Part)** + * **[Parts](https://docs.rs/google-cloudtasks2_beta3/3.1.0+20220212/google_cloudtasks2_beta3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudtasks2_beta3/3.0.0+20220212/google_cloudtasks2_beta3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudtasks2_beta3/3.1.0+20220212/google_cloudtasks2_beta3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -96,7 +96,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -130,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudtasks2_beta3/3.0.0+20220212/google_cloudtasks2_beta3/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudtasks2_beta3/3.1.0+20220212/google_cloudtasks2_beta3/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudtasks2_beta3/3.0.0+20220212/google_cloudtasks2_beta3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudtasks2_beta3/3.1.0+20220212/google_cloudtasks2_beta3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudtasks2_beta3/3.0.0+20220212/google_cloudtasks2_beta3/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudtasks2_beta3/3.1.0+20220212/google_cloudtasks2_beta3/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudtasks2_beta3/3.0.0+20220212/google_cloudtasks2_beta3/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudtasks2_beta3/3.1.0+20220212/google_cloudtasks2_beta3/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -150,29 +150,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudtasks2_beta3/3.0.0+20220212/google_cloudtasks2_beta3/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudtasks2_beta3/3.0.0+20220212/google_cloudtasks2_beta3/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudtasks2_beta3/3.1.0+20220212/google_cloudtasks2_beta3/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudtasks2_beta3/3.1.0+20220212/google_cloudtasks2_beta3/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-cloudtasks2_beta3/3.0.0+20220212/google_cloudtasks2_beta3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudtasks2_beta3/3.1.0+20220212/google_cloudtasks2_beta3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudtasks2_beta3/3.0.0+20220212/google_cloudtasks2_beta3/client::RequestValue) and -[decodable](https://docs.rs/google-cloudtasks2_beta3/3.0.0+20220212/google_cloudtasks2_beta3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudtasks2_beta3/3.1.0+20220212/google_cloudtasks2_beta3/client::RequestValue) and +[decodable](https://docs.rs/google-cloudtasks2_beta3/3.1.0+20220212/google_cloudtasks2_beta3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudtasks2_beta3/3.0.0+20220212/google_cloudtasks2_beta3/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudtasks2_beta3/3.1.0+20220212/google_cloudtasks2_beta3/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-cloudtasks2_beta3/3.0.0+20220212/google_cloudtasks2_beta3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudtasks2_beta3/3.1.0+20220212/google_cloudtasks2_beta3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-cloudtasks2_beta3/3.0.0+20220212/google_cloudtasks2_beta3/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudtasks2_beta3/3.1.0+20220212/google_cloudtasks2_beta3/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudtasks2_beta3/src/api.rs b/gen/cloudtasks2_beta3/src/api.rs index b05c04fe92..43db8f168a 100644 --- a/gen/cloudtasks2_beta3/src/api.rs +++ b/gen/cloudtasks2_beta3/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > CloudTasks<> { CloudTasks { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://cloudtasks.googleapis.com/".to_string(), _root_url: "https://cloudtasks.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > CloudTasks<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -882,7 +882,7 @@ impl client::ResponseResult for TestIamPermissionsResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_get(...)`, `locations_list(...)`, `locations_queues_create(...)`, `locations_queues_delete(...)`, `locations_queues_get(...)`, `locations_queues_get_iam_policy(...)`, `locations_queues_list(...)`, `locations_queues_patch(...)`, `locations_queues_pause(...)`, `locations_queues_purge(...)`, `locations_queues_resume(...)`, `locations_queues_set_iam_policy(...)`, `locations_queues_tasks_create(...)`, `locations_queues_tasks_delete(...)`, `locations_queues_tasks_get(...)`, `locations_queues_tasks_list(...)`, `locations_queues_tasks_run(...)` and `locations_queues_test_iam_permissions(...)` /// // to build up your call. @@ -1270,7 +1270,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1555,7 +1555,7 @@ impl<'a> ProjectLocationQueueTaskCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1811,7 +1811,7 @@ impl<'a> ProjectLocationQueueTaskDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2079,7 +2079,7 @@ impl<'a> ProjectLocationQueueTaskGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2372,7 +2372,7 @@ impl<'a> ProjectLocationQueueTaskListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2658,7 +2658,7 @@ impl<'a> ProjectLocationQueueTaskRunCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2943,7 +2943,7 @@ impl<'a> ProjectLocationQueueCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3199,7 +3199,7 @@ impl<'a> ProjectLocationQueueDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3468,7 +3468,7 @@ impl<'a> ProjectLocationQueueGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3753,7 +3753,7 @@ impl<'a> ProjectLocationQueueGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4058,7 +4058,7 @@ impl<'a> ProjectLocationQueueListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4356,7 +4356,7 @@ impl<'a> ProjectLocationQueuePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4642,7 +4642,7 @@ impl<'a> ProjectLocationQueuePauseCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4928,7 +4928,7 @@ impl<'a> ProjectLocationQueuePurgeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5214,7 +5214,7 @@ impl<'a> ProjectLocationQueueResumeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5500,7 +5500,7 @@ impl<'a> ProjectLocationQueueSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5785,7 +5785,7 @@ impl<'a> ProjectLocationQueueTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6041,7 +6041,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/cloudtasks2_beta3/src/lib.rs b/gen/cloudtasks2_beta3/src/lib.rs index b281f9a45b..ba0e63c63d 100644 --- a/gen/cloudtasks2_beta3/src/lib.rs +++ b/gen/cloudtasks2_beta3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Tasks* crate version *3.0.0+20220212*, where *20220212* is the exact revision of the *cloudtasks:v2beta3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Tasks* crate version *3.1.0+20220212*, where *20220212* is the exact revision of the *cloudtasks:v2beta3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Tasks* *v2_beta3* API can be found at the //! [official documentation site](https://cloud.google.com/tasks/). @@ -97,7 +97,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudTasks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/cloudtrace1-cli/Cargo.toml b/gen/cloudtrace1-cli/Cargo.toml index 2aa401f8f8..22ae2898a8 100644 --- a/gen/cloudtrace1-cli/Cargo.toml +++ b/gen/cloudtrace1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudtrace1-cli" -version = "3.0.0+20220224" +version = "3.1.0+20220224" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Trace (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudtrace1-cli" @@ -20,12 +20,12 @@ name = "cloudtrace1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudtrace1] path = "../cloudtrace1" -version = "3.0.0+20220224" +version = "3.1.0+20220224" diff --git a/gen/cloudtrace1-cli/README.md b/gen/cloudtrace1-cli/README.md index 5a388f6c68..3608ac2817 100644 --- a/gen/cloudtrace1-cli/README.md +++ b/gen/cloudtrace1-cli/README.md @@ -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 *Cloud Trace* API at revision *20220224*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Trace* API at revision *20220224*. The CLI is at version *3.1.0*. ```bash cloudtrace1 [options] diff --git a/gen/cloudtrace1-cli/mkdocs.yml b/gen/cloudtrace1-cli/mkdocs.yml index 8ddc473e9f..8572014936 100644 --- a/gen/cloudtrace1-cli/mkdocs.yml +++ b/gen/cloudtrace1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Trace v3.0.0+20220224 +site_name: Cloud Trace v3.1.0+20220224 site_url: http://byron.github.io/google-apis-rs/google-cloudtrace1-cli site_description: A complete library to interact with Cloud Trace (protocol v1) diff --git a/gen/cloudtrace1-cli/src/main.rs b/gen/cloudtrace1-cli/src/main.rs index 2205629702..02093c71c7 100644 --- a/gen/cloudtrace1-cli/src/main.rs +++ b/gen/cloudtrace1-cli/src/main.rs @@ -308,7 +308,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/cloudtrace1", 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::CloudTrace::new(client, auth), @@ -428,7 +434,7 @@ async fn main() { let mut app = App::new("cloudtrace1") .author("Sebastian Thiel ") - .version("3.0.0+20220224") + .version("3.1.0+20220224") .about("Sends application trace data to Cloud Trace for viewing. Trace data is collected for all App Engine applications by default. Trace data from other applications can be provided using this API. This library is used to interact with the Cloud Trace API directly. If you are looking to instrument your application for Cloud Trace, we recommend using OpenTelemetry. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudtrace1_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudtrace1/Cargo.toml b/gen/cloudtrace1/Cargo.toml index 1c8a7221fa..6ad9d9b716 100644 --- a/gen/cloudtrace1/Cargo.toml +++ b/gen/cloudtrace1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudtrace1" -version = "3.0.0+20220224" +version = "3.1.0+20220224" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Trace (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudtrace1" homepage = "https://cloud.google.com/trace" -documentation = "https://docs.rs/google-cloudtrace1/3.0.0+20220224" +documentation = "https://docs.rs/google-cloudtrace1/3.1.0+20220224" license = "MIT" keywords = ["cloudtrace", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/cloudtrace1/README.md b/gen/cloudtrace1/README.md index 5e32bb04e8..57f4d5606e 100644 --- a/gen/cloudtrace1/README.md +++ b/gen/cloudtrace1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-cloudtrace1` library allows access to all features of the *Google Cloud Trace* service. -This documentation was generated from *Cloud Trace* crate version *3.0.0+20220224*, where *20220224* is the exact revision of the *cloudtrace:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Trace* crate version *3.1.0+20220224*, where *20220224* is the exact revision of the *cloudtrace:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Trace* *v1* API can be found at the [official documentation site](https://cloud.google.com/trace). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudtrace1/3.0.0+20220224/google_cloudtrace1/CloudTrace) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudtrace1/3.1.0+20220224/google_cloudtrace1/CloudTrace) ... * projects - * [*patch traces*](https://docs.rs/google-cloudtrace1/3.0.0+20220224/google_cloudtrace1/api::ProjectPatchTraceCall), [*traces get*](https://docs.rs/google-cloudtrace1/3.0.0+20220224/google_cloudtrace1/api::ProjectTraceGetCall) and [*traces list*](https://docs.rs/google-cloudtrace1/3.0.0+20220224/google_cloudtrace1/api::ProjectTraceListCall) + * [*patch traces*](https://docs.rs/google-cloudtrace1/3.1.0+20220224/google_cloudtrace1/api::ProjectPatchTraceCall), [*traces get*](https://docs.rs/google-cloudtrace1/3.1.0+20220224/google_cloudtrace1/api::ProjectTraceGetCall) and [*traces list*](https://docs.rs/google-cloudtrace1/3.1.0+20220224/google_cloudtrace1/api::ProjectTraceListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudtrace1/3.0.0+20220224/google_cloudtrace1/CloudTrace)** +* **[Hub](https://docs.rs/google-cloudtrace1/3.1.0+20220224/google_cloudtrace1/CloudTrace)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudtrace1/3.0.0+20220224/google_cloudtrace1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudtrace1/3.0.0+20220224/google_cloudtrace1/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudtrace1/3.0.0+20220224/google_cloudtrace1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudtrace1/3.1.0+20220224/google_cloudtrace1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudtrace1/3.1.0+20220224/google_cloudtrace1/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudtrace1/3.1.0+20220224/google_cloudtrace1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudtrace1/3.0.0+20220224/google_cloudtrace1/client::Part)** + * **[Parts](https://docs.rs/google-cloudtrace1/3.1.0+20220224/google_cloudtrace1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudtrace1/3.0.0+20220224/google_cloudtrace1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudtrace1/3.1.0+20220224/google_cloudtrace1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -90,7 +90,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudTrace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudTrace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -118,17 +118,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudtrace1/3.0.0+20220224/google_cloudtrace1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudtrace1/3.1.0+20220224/google_cloudtrace1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudtrace1/3.0.0+20220224/google_cloudtrace1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudtrace1/3.1.0+20220224/google_cloudtrace1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudtrace1/3.0.0+20220224/google_cloudtrace1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudtrace1/3.1.0+20220224/google_cloudtrace1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudtrace1/3.0.0+20220224/google_cloudtrace1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudtrace1/3.1.0+20220224/google_cloudtrace1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -138,29 +138,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudtrace1/3.0.0+20220224/google_cloudtrace1/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudtrace1/3.0.0+20220224/google_cloudtrace1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudtrace1/3.1.0+20220224/google_cloudtrace1/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudtrace1/3.1.0+20220224/google_cloudtrace1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-cloudtrace1/3.0.0+20220224/google_cloudtrace1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudtrace1/3.1.0+20220224/google_cloudtrace1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudtrace1/3.0.0+20220224/google_cloudtrace1/client::RequestValue) and -[decodable](https://docs.rs/google-cloudtrace1/3.0.0+20220224/google_cloudtrace1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudtrace1/3.1.0+20220224/google_cloudtrace1/client::RequestValue) and +[decodable](https://docs.rs/google-cloudtrace1/3.1.0+20220224/google_cloudtrace1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudtrace1/3.0.0+20220224/google_cloudtrace1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudtrace1/3.1.0+20220224/google_cloudtrace1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-cloudtrace1/3.0.0+20220224/google_cloudtrace1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudtrace1/3.1.0+20220224/google_cloudtrace1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-cloudtrace1/3.0.0+20220224/google_cloudtrace1/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudtrace1/3.1.0+20220224/google_cloudtrace1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudtrace1/src/api.rs b/gen/cloudtrace1/src/api.rs index 972b6ec7df..1e60f63883 100644 --- a/gen/cloudtrace1/src/api.rs +++ b/gen/cloudtrace1/src/api.rs @@ -78,7 +78,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudTrace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudTrace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -121,7 +121,7 @@ impl<'a, > CloudTrace<> { CloudTrace { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://cloudtrace.googleapis.com/".to_string(), _root_url: "https://cloudtrace.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > CloudTrace<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -293,7 +293,7 @@ impl client::RequestValue for Traces {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudTrace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudTrace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `patch_traces(...)`, `traces_get(...)` and `traces_list(...)` /// // to build up your call. @@ -403,7 +403,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTrace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTrace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -667,7 +667,7 @@ impl<'a> ProjectTraceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTrace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTrace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1004,7 +1004,7 @@ impl<'a> ProjectTraceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTrace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTrace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/cloudtrace1/src/lib.rs b/gen/cloudtrace1/src/lib.rs index 91171eca6b..ab60f1e3a9 100644 --- a/gen/cloudtrace1/src/lib.rs +++ b/gen/cloudtrace1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Trace* crate version *3.0.0+20220224*, where *20220224* is the exact revision of the *cloudtrace:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Trace* crate version *3.1.0+20220224*, where *20220224* is the exact revision of the *cloudtrace:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Trace* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/trace). @@ -91,7 +91,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudTrace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudTrace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/cloudtrace2-cli/Cargo.toml b/gen/cloudtrace2-cli/Cargo.toml index ddd1029ca6..fddf680974 100644 --- a/gen/cloudtrace2-cli/Cargo.toml +++ b/gen/cloudtrace2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudtrace2-cli" -version = "3.0.0+20220224" +version = "3.1.0+20220224" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Trace (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudtrace2-cli" @@ -20,12 +20,12 @@ name = "cloudtrace2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-cloudtrace2] path = "../cloudtrace2" -version = "3.0.0+20220224" +version = "3.1.0+20220224" diff --git a/gen/cloudtrace2-cli/README.md b/gen/cloudtrace2-cli/README.md index 18a3a67e0b..78ef68f07d 100644 --- a/gen/cloudtrace2-cli/README.md +++ b/gen/cloudtrace2-cli/README.md @@ -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 *Cloud Trace* API at revision *20220224*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Trace* API at revision *20220224*. The CLI is at version *3.1.0*. ```bash cloudtrace2 [options] diff --git a/gen/cloudtrace2-cli/mkdocs.yml b/gen/cloudtrace2-cli/mkdocs.yml index 0846cbf94d..d2f37cca2d 100644 --- a/gen/cloudtrace2-cli/mkdocs.yml +++ b/gen/cloudtrace2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Trace v3.0.0+20220224 +site_name: Cloud Trace v3.1.0+20220224 site_url: http://byron.github.io/google-apis-rs/google-cloudtrace2-cli site_description: A complete library to interact with Cloud Trace (protocol v2) diff --git a/gen/cloudtrace2-cli/src/main.rs b/gen/cloudtrace2-cli/src/main.rs index 411ed5674b..86a9466144 100644 --- a/gen/cloudtrace2-cli/src/main.rs +++ b/gen/cloudtrace2-cli/src/main.rs @@ -281,7 +281,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/cloudtrace2", 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::CloudTrace::new(client, auth), @@ -379,7 +385,7 @@ async fn main() { let mut app = App::new("cloudtrace2") .author("Sebastian Thiel ") - .version("3.0.0+20220224") + .version("3.1.0+20220224") .about("Sends application trace data to Cloud Trace for viewing. Trace data is collected for all App Engine applications by default. Trace data from other applications can be provided using this API. This library is used to interact with the Cloud Trace API directly. If you are looking to instrument your application for Cloud Trace, we recommend using OpenTelemetry. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudtrace2_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudtrace2/Cargo.toml b/gen/cloudtrace2/Cargo.toml index 05593a7c78..b250e5b5f9 100644 --- a/gen/cloudtrace2/Cargo.toml +++ b/gen/cloudtrace2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-cloudtrace2" -version = "3.0.0+20220224" +version = "3.1.0+20220224" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Trace (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/cloudtrace2" homepage = "https://cloud.google.com/trace" -documentation = "https://docs.rs/google-cloudtrace2/3.0.0+20220224" +documentation = "https://docs.rs/google-cloudtrace2/3.1.0+20220224" license = "MIT" keywords = ["cloudtrace", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/cloudtrace2/README.md b/gen/cloudtrace2/README.md index 3d31b4c56c..9d3d0e91b5 100644 --- a/gen/cloudtrace2/README.md +++ b/gen/cloudtrace2/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-cloudtrace2` library allows access to all features of the *Google Cloud Trace* service. -This documentation was generated from *Cloud Trace* crate version *3.0.0+20220224*, where *20220224* is the exact revision of the *cloudtrace:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Trace* crate version *3.1.0+20220224*, where *20220224* is the exact revision of the *cloudtrace:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Trace* *v2* API can be found at the [official documentation site](https://cloud.google.com/trace). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudtrace2/3.0.0+20220224/google_cloudtrace2/CloudTrace) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudtrace2/3.1.0+20220224/google_cloudtrace2/CloudTrace) ... * projects - * [*traces batch write*](https://docs.rs/google-cloudtrace2/3.0.0+20220224/google_cloudtrace2/api::ProjectTraceBatchWriteCall) and [*traces spans create span*](https://docs.rs/google-cloudtrace2/3.0.0+20220224/google_cloudtrace2/api::ProjectTraceSpanCreateSpanCall) + * [*traces batch write*](https://docs.rs/google-cloudtrace2/3.1.0+20220224/google_cloudtrace2/api::ProjectTraceBatchWriteCall) and [*traces spans create span*](https://docs.rs/google-cloudtrace2/3.1.0+20220224/google_cloudtrace2/api::ProjectTraceSpanCreateSpanCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-cloudtrace2/3.0.0+20220224/google_cloudtrace2/CloudTrace)** +* **[Hub](https://docs.rs/google-cloudtrace2/3.1.0+20220224/google_cloudtrace2/CloudTrace)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudtrace2/3.0.0+20220224/google_cloudtrace2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudtrace2/3.0.0+20220224/google_cloudtrace2/client::CallBuilder) -* **[Resources](https://docs.rs/google-cloudtrace2/3.0.0+20220224/google_cloudtrace2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-cloudtrace2/3.1.0+20220224/google_cloudtrace2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudtrace2/3.1.0+20220224/google_cloudtrace2/client::CallBuilder) +* **[Resources](https://docs.rs/google-cloudtrace2/3.1.0+20220224/google_cloudtrace2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudtrace2/3.0.0+20220224/google_cloudtrace2/client::Part)** + * **[Parts](https://docs.rs/google-cloudtrace2/3.1.0+20220224/google_cloudtrace2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudtrace2/3.0.0+20220224/google_cloudtrace2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-cloudtrace2/3.1.0+20220224/google_cloudtrace2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -91,7 +91,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudTrace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudTrace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -124,17 +124,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudtrace2/3.0.0+20220224/google_cloudtrace2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudtrace2/3.1.0+20220224/google_cloudtrace2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-cloudtrace2/3.0.0+20220224/google_cloudtrace2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudtrace2/3.1.0+20220224/google_cloudtrace2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudtrace2/3.0.0+20220224/google_cloudtrace2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudtrace2/3.1.0+20220224/google_cloudtrace2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-cloudtrace2/3.0.0+20220224/google_cloudtrace2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudtrace2/3.1.0+20220224/google_cloudtrace2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -144,29 +144,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudtrace2/3.0.0+20220224/google_cloudtrace2/client::Delegate) to the -[Method Builder](https://docs.rs/google-cloudtrace2/3.0.0+20220224/google_cloudtrace2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-cloudtrace2/3.1.0+20220224/google_cloudtrace2/client::Delegate) to the +[Method Builder](https://docs.rs/google-cloudtrace2/3.1.0+20220224/google_cloudtrace2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-cloudtrace2/3.0.0+20220224/google_cloudtrace2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudtrace2/3.1.0+20220224/google_cloudtrace2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudtrace2/3.0.0+20220224/google_cloudtrace2/client::RequestValue) and -[decodable](https://docs.rs/google-cloudtrace2/3.0.0+20220224/google_cloudtrace2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-cloudtrace2/3.1.0+20220224/google_cloudtrace2/client::RequestValue) and +[decodable](https://docs.rs/google-cloudtrace2/3.1.0+20220224/google_cloudtrace2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-cloudtrace2/3.0.0+20220224/google_cloudtrace2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudtrace2/3.1.0+20220224/google_cloudtrace2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-cloudtrace2/3.0.0+20220224/google_cloudtrace2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudtrace2/3.1.0+20220224/google_cloudtrace2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-cloudtrace2/3.0.0+20220224/google_cloudtrace2/client::RequestValue) are moved +* [request values](https://docs.rs/google-cloudtrace2/3.1.0+20220224/google_cloudtrace2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudtrace2/src/api.rs b/gen/cloudtrace2/src/api.rs index 75dc2321f1..34bb8837d1 100644 --- a/gen/cloudtrace2/src/api.rs +++ b/gen/cloudtrace2/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudTrace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudTrace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -123,7 +123,7 @@ impl<'a, > CloudTrace<> { CloudTrace { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://cloudtrace.googleapis.com/".to_string(), _root_url: "https://cloudtrace.googleapis.com/".to_string(), } @@ -134,7 +134,7 @@ impl<'a, > CloudTrace<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -540,7 +540,7 @@ impl client::Part for TruncatableString {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudTrace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudTrace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `traces_batch_write(...)` and `traces_spans_create_span(...)` /// // to build up your call. @@ -627,7 +627,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTrace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTrace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -913,7 +913,7 @@ impl<'a> ProjectTraceSpanCreateSpanCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTrace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTrace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/cloudtrace2/src/lib.rs b/gen/cloudtrace2/src/lib.rs index 388fdbd92b..c9d318db7a 100644 --- a/gen/cloudtrace2/src/lib.rs +++ b/gen/cloudtrace2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Trace* crate version *3.0.0+20220224*, where *20220224* is the exact revision of the *cloudtrace:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Trace* crate version *3.1.0+20220224*, where *20220224* is the exact revision of the *cloudtrace:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Trace* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/trace). @@ -92,7 +92,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudTrace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudTrace::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/clouduseraccountsvm_beta-cli/Cargo.toml b/gen/clouduseraccountsvm_beta-cli/Cargo.toml index c73aa31e0d..311e7d9904 100644 --- a/gen/clouduseraccountsvm_beta-cli/Cargo.toml +++ b/gen/clouduseraccountsvm_beta-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-clouduseraccountsvm_beta-cli" -version = "3.0.0+20160316" +version = "3.1.0+20160316" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud User Accounts (protocol vm_beta)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/clouduseraccountsvm_beta-cli" @@ -20,12 +20,12 @@ name = "clouduseraccountsvm-beta" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-clouduseraccountsvm_beta] path = "../clouduseraccountsvm_beta" -version = "3.0.0+20160316" +version = "3.1.0+20160316" diff --git a/gen/clouduseraccountsvm_beta-cli/README.md b/gen/clouduseraccountsvm_beta-cli/README.md index dab63c1ebe..51b583f227 100644 --- a/gen/clouduseraccountsvm_beta-cli/README.md +++ b/gen/clouduseraccountsvm_beta-cli/README.md @@ -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 *Cloud User Accounts* API at revision *20160316*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud User Accounts* API at revision *20160316*. The CLI is at version *3.1.0*. ```bash clouduseraccountsvm-beta [options] diff --git a/gen/clouduseraccountsvm_beta-cli/mkdocs.yml b/gen/clouduseraccountsvm_beta-cli/mkdocs.yml index c0b25fe53a..448f33a445 100644 --- a/gen/clouduseraccountsvm_beta-cli/mkdocs.yml +++ b/gen/clouduseraccountsvm_beta-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud User Accounts v3.0.0+20160316 +site_name: Cloud User Accounts v3.1.0+20160316 site_url: http://byron.github.io/google-apis-rs/google-clouduseraccountsvm_beta-cli site_description: A complete library to interact with Cloud User Accounts (protocol vm_beta) diff --git a/gen/clouduseraccountsvm_beta-cli/src/main.rs b/gen/clouduseraccountsvm_beta-cli/src/main.rs index 2b7f7d3c93..8c7c3cb1a5 100644 --- a/gen/clouduseraccountsvm_beta-cli/src/main.rs +++ b/gen/clouduseraccountsvm_beta-cli/src/main.rs @@ -1278,7 +1278,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/clouduseraccountsvm-beta", 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::CloudUserAccounts::new(client, auth), @@ -1820,7 +1826,7 @@ async fn main() { let mut app = App::new("clouduseraccountsvm-beta") .author("Sebastian Thiel ") - .version("3.0.0+20160316") + .version("3.1.0+20160316") .about("Creates and manages users and groups for accessing Google Compute Engine virtual machines.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_clouduseraccountsvm_beta_cli") .arg(Arg::with_name("url") diff --git a/gen/clouduseraccountsvm_beta/Cargo.toml b/gen/clouduseraccountsvm_beta/Cargo.toml index b951accd8e..a4e048fda8 100644 --- a/gen/clouduseraccountsvm_beta/Cargo.toml +++ b/gen/clouduseraccountsvm_beta/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-clouduseraccountsvm_beta" -version = "3.0.0+20160316" +version = "3.1.0+20160316" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud User Accounts (protocol vm_beta)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/clouduseraccountsvm_beta" homepage = "https://cloud.google.com/compute/docs/access/user-accounts/api/latest/" -documentation = "https://docs.rs/google-clouduseraccountsvm_beta/3.0.0+20160316" +documentation = "https://docs.rs/google-clouduseraccountsvm_beta/3.1.0+20160316" license = "MIT" keywords = ["clouduseraccounts", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/clouduseraccountsvm_beta/README.md b/gen/clouduseraccountsvm_beta/README.md index 8da6c2c249..709c1d043d 100644 --- a/gen/clouduseraccountsvm_beta/README.md +++ b/gen/clouduseraccountsvm_beta/README.md @@ -5,22 +5,22 @@ DO NOT EDIT ! --> The `google-clouduseraccountsvm_beta` library allows access to all features of the *Google Cloud User Accounts* service. -This documentation was generated from *Cloud User Accounts* crate version *3.0.0+20160316*, where *20160316* is the exact revision of the *clouduseraccounts:vm_beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud User Accounts* crate version *3.1.0+20160316*, where *20160316* is the exact revision of the *clouduseraccounts:vm_beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud User Accounts* *vm_beta* API can be found at the [official documentation site](https://cloud.google.com/compute/docs/access/user-accounts/api/latest/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-clouduseraccountsvm_beta/3.0.0+20160316/google_clouduseraccountsvm_beta/CloudUserAccounts) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-clouduseraccountsvm_beta/3.1.0+20160316/google_clouduseraccountsvm_beta/CloudUserAccounts) ... * global accounts operations - * [*delete*](https://docs.rs/google-clouduseraccountsvm_beta/3.0.0+20160316/google_clouduseraccountsvm_beta/api::GlobalAccountsOperationDeleteCall), [*get*](https://docs.rs/google-clouduseraccountsvm_beta/3.0.0+20160316/google_clouduseraccountsvm_beta/api::GlobalAccountsOperationGetCall) and [*list*](https://docs.rs/google-clouduseraccountsvm_beta/3.0.0+20160316/google_clouduseraccountsvm_beta/api::GlobalAccountsOperationListCall) -* [groups](https://docs.rs/google-clouduseraccountsvm_beta/3.0.0+20160316/google_clouduseraccountsvm_beta/api::Group) - * [*add member*](https://docs.rs/google-clouduseraccountsvm_beta/3.0.0+20160316/google_clouduseraccountsvm_beta/api::GroupAddMemberCall), [*delete*](https://docs.rs/google-clouduseraccountsvm_beta/3.0.0+20160316/google_clouduseraccountsvm_beta/api::GroupDeleteCall), [*get*](https://docs.rs/google-clouduseraccountsvm_beta/3.0.0+20160316/google_clouduseraccountsvm_beta/api::GroupGetCall), [*insert*](https://docs.rs/google-clouduseraccountsvm_beta/3.0.0+20160316/google_clouduseraccountsvm_beta/api::GroupInsertCall), [*list*](https://docs.rs/google-clouduseraccountsvm_beta/3.0.0+20160316/google_clouduseraccountsvm_beta/api::GroupListCall) and [*remove member*](https://docs.rs/google-clouduseraccountsvm_beta/3.0.0+20160316/google_clouduseraccountsvm_beta/api::GroupRemoveMemberCall) + * [*delete*](https://docs.rs/google-clouduseraccountsvm_beta/3.1.0+20160316/google_clouduseraccountsvm_beta/api::GlobalAccountsOperationDeleteCall), [*get*](https://docs.rs/google-clouduseraccountsvm_beta/3.1.0+20160316/google_clouduseraccountsvm_beta/api::GlobalAccountsOperationGetCall) and [*list*](https://docs.rs/google-clouduseraccountsvm_beta/3.1.0+20160316/google_clouduseraccountsvm_beta/api::GlobalAccountsOperationListCall) +* [groups](https://docs.rs/google-clouduseraccountsvm_beta/3.1.0+20160316/google_clouduseraccountsvm_beta/api::Group) + * [*add member*](https://docs.rs/google-clouduseraccountsvm_beta/3.1.0+20160316/google_clouduseraccountsvm_beta/api::GroupAddMemberCall), [*delete*](https://docs.rs/google-clouduseraccountsvm_beta/3.1.0+20160316/google_clouduseraccountsvm_beta/api::GroupDeleteCall), [*get*](https://docs.rs/google-clouduseraccountsvm_beta/3.1.0+20160316/google_clouduseraccountsvm_beta/api::GroupGetCall), [*insert*](https://docs.rs/google-clouduseraccountsvm_beta/3.1.0+20160316/google_clouduseraccountsvm_beta/api::GroupInsertCall), [*list*](https://docs.rs/google-clouduseraccountsvm_beta/3.1.0+20160316/google_clouduseraccountsvm_beta/api::GroupListCall) and [*remove member*](https://docs.rs/google-clouduseraccountsvm_beta/3.1.0+20160316/google_clouduseraccountsvm_beta/api::GroupRemoveMemberCall) * linux - * [*get authorized keys view*](https://docs.rs/google-clouduseraccountsvm_beta/3.0.0+20160316/google_clouduseraccountsvm_beta/api::LinuxGetAuthorizedKeysViewCall) and [*get linux account views*](https://docs.rs/google-clouduseraccountsvm_beta/3.0.0+20160316/google_clouduseraccountsvm_beta/api::LinuxGetLinuxAccountViewCall) -* [users](https://docs.rs/google-clouduseraccountsvm_beta/3.0.0+20160316/google_clouduseraccountsvm_beta/api::User) - * [*add public key*](https://docs.rs/google-clouduseraccountsvm_beta/3.0.0+20160316/google_clouduseraccountsvm_beta/api::UserAddPublicKeyCall), [*delete*](https://docs.rs/google-clouduseraccountsvm_beta/3.0.0+20160316/google_clouduseraccountsvm_beta/api::UserDeleteCall), [*get*](https://docs.rs/google-clouduseraccountsvm_beta/3.0.0+20160316/google_clouduseraccountsvm_beta/api::UserGetCall), [*insert*](https://docs.rs/google-clouduseraccountsvm_beta/3.0.0+20160316/google_clouduseraccountsvm_beta/api::UserInsertCall), [*list*](https://docs.rs/google-clouduseraccountsvm_beta/3.0.0+20160316/google_clouduseraccountsvm_beta/api::UserListCall) and [*remove public key*](https://docs.rs/google-clouduseraccountsvm_beta/3.0.0+20160316/google_clouduseraccountsvm_beta/api::UserRemovePublicKeyCall) + * [*get authorized keys view*](https://docs.rs/google-clouduseraccountsvm_beta/3.1.0+20160316/google_clouduseraccountsvm_beta/api::LinuxGetAuthorizedKeysViewCall) and [*get linux account views*](https://docs.rs/google-clouduseraccountsvm_beta/3.1.0+20160316/google_clouduseraccountsvm_beta/api::LinuxGetLinuxAccountViewCall) +* [users](https://docs.rs/google-clouduseraccountsvm_beta/3.1.0+20160316/google_clouduseraccountsvm_beta/api::User) + * [*add public key*](https://docs.rs/google-clouduseraccountsvm_beta/3.1.0+20160316/google_clouduseraccountsvm_beta/api::UserAddPublicKeyCall), [*delete*](https://docs.rs/google-clouduseraccountsvm_beta/3.1.0+20160316/google_clouduseraccountsvm_beta/api::UserDeleteCall), [*get*](https://docs.rs/google-clouduseraccountsvm_beta/3.1.0+20160316/google_clouduseraccountsvm_beta/api::UserGetCall), [*insert*](https://docs.rs/google-clouduseraccountsvm_beta/3.1.0+20160316/google_clouduseraccountsvm_beta/api::UserInsertCall), [*list*](https://docs.rs/google-clouduseraccountsvm_beta/3.1.0+20160316/google_clouduseraccountsvm_beta/api::UserListCall) and [*remove public key*](https://docs.rs/google-clouduseraccountsvm_beta/3.1.0+20160316/google_clouduseraccountsvm_beta/api::UserRemovePublicKeyCall) @@ -29,17 +29,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-clouduseraccountsvm_beta/3.0.0+20160316/google_clouduseraccountsvm_beta/CloudUserAccounts)** +* **[Hub](https://docs.rs/google-clouduseraccountsvm_beta/3.1.0+20160316/google_clouduseraccountsvm_beta/CloudUserAccounts)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-clouduseraccountsvm_beta/3.0.0+20160316/google_clouduseraccountsvm_beta/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-clouduseraccountsvm_beta/3.0.0+20160316/google_clouduseraccountsvm_beta/client::CallBuilder) -* **[Resources](https://docs.rs/google-clouduseraccountsvm_beta/3.0.0+20160316/google_clouduseraccountsvm_beta/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-clouduseraccountsvm_beta/3.1.0+20160316/google_clouduseraccountsvm_beta/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-clouduseraccountsvm_beta/3.1.0+20160316/google_clouduseraccountsvm_beta/client::CallBuilder) +* **[Resources](https://docs.rs/google-clouduseraccountsvm_beta/3.1.0+20160316/google_clouduseraccountsvm_beta/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-clouduseraccountsvm_beta/3.0.0+20160316/google_clouduseraccountsvm_beta/client::Part)** + * **[Parts](https://docs.rs/google-clouduseraccountsvm_beta/3.1.0+20160316/google_clouduseraccountsvm_beta/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-clouduseraccountsvm_beta/3.0.0+20160316/google_clouduseraccountsvm_beta/client::CallBuilder)** +* **[Activities](https://docs.rs/google-clouduseraccountsvm_beta/3.1.0+20160316/google_clouduseraccountsvm_beta/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -105,7 +105,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -138,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-clouduseraccountsvm_beta/3.0.0+20160316/google_clouduseraccountsvm_beta/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-clouduseraccountsvm_beta/3.1.0+20160316/google_clouduseraccountsvm_beta/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-clouduseraccountsvm_beta/3.0.0+20160316/google_clouduseraccountsvm_beta/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-clouduseraccountsvm_beta/3.1.0+20160316/google_clouduseraccountsvm_beta/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-clouduseraccountsvm_beta/3.0.0+20160316/google_clouduseraccountsvm_beta/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-clouduseraccountsvm_beta/3.1.0+20160316/google_clouduseraccountsvm_beta/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-clouduseraccountsvm_beta/3.0.0+20160316/google_clouduseraccountsvm_beta/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-clouduseraccountsvm_beta/3.1.0+20160316/google_clouduseraccountsvm_beta/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -158,29 +158,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-clouduseraccountsvm_beta/3.0.0+20160316/google_clouduseraccountsvm_beta/client::Delegate) to the -[Method Builder](https://docs.rs/google-clouduseraccountsvm_beta/3.0.0+20160316/google_clouduseraccountsvm_beta/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-clouduseraccountsvm_beta/3.1.0+20160316/google_clouduseraccountsvm_beta/client::Delegate) to the +[Method Builder](https://docs.rs/google-clouduseraccountsvm_beta/3.1.0+20160316/google_clouduseraccountsvm_beta/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-clouduseraccountsvm_beta/3.0.0+20160316/google_clouduseraccountsvm_beta/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-clouduseraccountsvm_beta/3.1.0+20160316/google_clouduseraccountsvm_beta/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-clouduseraccountsvm_beta/3.0.0+20160316/google_clouduseraccountsvm_beta/client::RequestValue) and -[decodable](https://docs.rs/google-clouduseraccountsvm_beta/3.0.0+20160316/google_clouduseraccountsvm_beta/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-clouduseraccountsvm_beta/3.1.0+20160316/google_clouduseraccountsvm_beta/client::RequestValue) and +[decodable](https://docs.rs/google-clouduseraccountsvm_beta/3.1.0+20160316/google_clouduseraccountsvm_beta/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-clouduseraccountsvm_beta/3.0.0+20160316/google_clouduseraccountsvm_beta/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-clouduseraccountsvm_beta/3.1.0+20160316/google_clouduseraccountsvm_beta/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-clouduseraccountsvm_beta/3.0.0+20160316/google_clouduseraccountsvm_beta/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-clouduseraccountsvm_beta/3.1.0+20160316/google_clouduseraccountsvm_beta/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-clouduseraccountsvm_beta/3.0.0+20160316/google_clouduseraccountsvm_beta/client::RequestValue) are moved +* [request values](https://docs.rs/google-clouduseraccountsvm_beta/3.1.0+20160316/google_clouduseraccountsvm_beta/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/clouduseraccountsvm_beta/src/api.rs b/gen/clouduseraccountsvm_beta/src/api.rs index bad2cb99b6..d2db2461d0 100644 --- a/gen/clouduseraccountsvm_beta/src/api.rs +++ b/gen/clouduseraccountsvm_beta/src/api.rs @@ -83,7 +83,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -131,7 +131,7 @@ impl<'a, > CloudUserAccounts<> { CloudUserAccounts { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/clouduseraccounts/vm_beta/projects/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -151,7 +151,7 @@ impl<'a, > CloudUserAccounts<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -698,7 +698,7 @@ impl client::Part for OperationWarningsData {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)` and `list(...)` /// // to build up your call. @@ -798,7 +798,7 @@ impl<'a> GlobalAccountsOperationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `add_member(...)`, `delete(...)`, `get(...)`, `insert(...)`, `list(...)` and `remove_member(...)` /// // to build up your call. @@ -959,7 +959,7 @@ impl<'a> GroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get_authorized_keys_view(...)` and `get_linux_account_views(...)` /// // to build up your call. @@ -1049,7 +1049,7 @@ impl<'a> LinuxMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `add_public_key(...)`, `delete(...)`, `get(...)`, `insert(...)`, `list(...)` and `remove_public_key(...)` /// // to build up your call. @@ -1217,7 +1217,7 @@ impl<'a> UserMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1466,7 +1466,7 @@ impl<'a> GlobalAccountsOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1726,7 +1726,7 @@ impl<'a> GlobalAccountsOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2035,7 +2035,7 @@ impl<'a> GlobalAccountsOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2324,7 +2324,7 @@ impl<'a> GroupAddMemberCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2584,7 +2584,7 @@ impl<'a> GroupDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2845,7 +2845,7 @@ impl<'a> GroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3122,7 +3122,7 @@ impl<'a> GroupInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3431,7 +3431,7 @@ impl<'a> GroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3720,7 +3720,7 @@ impl<'a> GroupRemoveMemberCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4016,7 +4016,7 @@ impl<'a> LinuxGetAuthorizedKeysViewCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4349,7 +4349,7 @@ impl<'a> LinuxGetLinuxAccountViewCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4638,7 +4638,7 @@ impl<'a> UserAddPublicKeyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4898,7 +4898,7 @@ impl<'a> UserDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5159,7 +5159,7 @@ impl<'a> UserGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5436,7 +5436,7 @@ impl<'a> UserInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5744,7 +5744,7 @@ impl<'a> UserListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/clouduseraccountsvm_beta/src/lib.rs b/gen/clouduseraccountsvm_beta/src/lib.rs index 6cf9cdaab1..11fa8b73ab 100644 --- a/gen/clouduseraccountsvm_beta/src/lib.rs +++ b/gen/clouduseraccountsvm_beta/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud User Accounts* crate version *3.0.0+20160316*, where *20160316* is the exact revision of the *clouduseraccounts:vm_beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud User Accounts* crate version *3.1.0+20160316*, where *20160316* is the exact revision of the *clouduseraccounts:vm_beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud User Accounts* *vm_beta* API can be found at the //! [official documentation site](https://cloud.google.com/compute/docs/access/user-accounts/api/latest/). @@ -106,7 +106,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudUserAccounts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/commentanalyzer1_alpha1-cli/Cargo.toml b/gen/commentanalyzer1_alpha1-cli/Cargo.toml index c12461c3a2..6613c07b03 100644 --- a/gen/commentanalyzer1_alpha1-cli/Cargo.toml +++ b/gen/commentanalyzer1_alpha1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-commentanalyzer1_alpha1-cli" -version = "3.0.0+20200405" +version = "3.1.0+20200405" authors = ["Sebastian Thiel "] description = "A complete library to interact with Comment Analyzer (protocol v1alpha1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/commentanalyzer1_alpha1-cli" @@ -20,12 +20,12 @@ name = "commentanalyzer1-alpha1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-commentanalyzer1_alpha1] path = "../commentanalyzer1_alpha1" -version = "3.0.0+20200405" +version = "3.1.0+20200405" diff --git a/gen/commentanalyzer1_alpha1-cli/README.md b/gen/commentanalyzer1_alpha1-cli/README.md index b041aee148..e68f9e268c 100644 --- a/gen/commentanalyzer1_alpha1-cli/README.md +++ b/gen/commentanalyzer1_alpha1-cli/README.md @@ -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 *Comment Analyzer* API at revision *20200405*. The CLI is at version *3.0.0*. +This documentation was generated from the *Comment Analyzer* API at revision *20200405*. The CLI is at version *3.1.0*. ```bash commentanalyzer1-alpha1 [options] diff --git a/gen/commentanalyzer1_alpha1-cli/mkdocs.yml b/gen/commentanalyzer1_alpha1-cli/mkdocs.yml index 162b9df454..41ba7bc558 100644 --- a/gen/commentanalyzer1_alpha1-cli/mkdocs.yml +++ b/gen/commentanalyzer1_alpha1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Comment Analyzer v3.0.0+20200405 +site_name: Comment Analyzer v3.1.0+20200405 site_url: http://byron.github.io/google-apis-rs/google-commentanalyzer1_alpha1-cli site_description: A complete library to interact with Comment Analyzer (protocol v1alpha1) diff --git a/gen/commentanalyzer1_alpha1-cli/src/main.rs b/gen/commentanalyzer1_alpha1-cli/src/main.rs index d51abaf857..0ee73b02aa 100644 --- a/gen/commentanalyzer1_alpha1-cli/src/main.rs +++ b/gen/commentanalyzer1_alpha1-cli/src/main.rs @@ -285,7 +285,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/commentanalyzer1-alpha1", 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::CommentAnalyzer::new(client, auth), @@ -371,7 +377,7 @@ async fn main() { let mut app = App::new("commentanalyzer1-alpha1") .author("Sebastian Thiel ") - .version("3.0.0+20200405") + .version("3.1.0+20200405") .about("The Perspective Comment Analyzer API provides information about the potential impact of a comment on a conversation (e.g. it can provide a score for the \"toxicity\" of a comment). Users can leverage the \"SuggestCommentScore\" method to submit corrections to improve Perspective over time. Users can set the \"doNotStore\" flag to ensure that all submitted comments are automatically deleted after scores are returned.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_commentanalyzer1_alpha1_cli") .arg(Arg::with_name("url") diff --git a/gen/commentanalyzer1_alpha1/Cargo.toml b/gen/commentanalyzer1_alpha1/Cargo.toml index 07febab771..e5bb473197 100644 --- a/gen/commentanalyzer1_alpha1/Cargo.toml +++ b/gen/commentanalyzer1_alpha1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-commentanalyzer1_alpha1" -version = "3.0.0+20200405" +version = "3.1.0+20200405" authors = ["Sebastian Thiel "] description = "A complete library to interact with Comment Analyzer (protocol v1alpha1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/commentanalyzer1_alpha1" homepage = "https://github.com/conversationai/perspectiveapi/blob/master/README.md" -documentation = "https://docs.rs/google-commentanalyzer1_alpha1/3.0.0+20200405" +documentation = "https://docs.rs/google-commentanalyzer1_alpha1/3.1.0+20200405" license = "MIT" keywords = ["commentanalyzer", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/commentanalyzer1_alpha1/README.md b/gen/commentanalyzer1_alpha1/README.md index b6c54be814..482bb1df78 100644 --- a/gen/commentanalyzer1_alpha1/README.md +++ b/gen/commentanalyzer1_alpha1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-commentanalyzer1_alpha1` library allows access to all features of the *Google Comment Analyzer* service. -This documentation was generated from *Comment Analyzer* crate version *3.0.0+20200405*, where *20200405* is the exact revision of the *commentanalyzer:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Comment Analyzer* crate version *3.1.0+20200405*, where *20200405* is the exact revision of the *commentanalyzer:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Comment Analyzer* *v1_alpha1* API can be found at the [official documentation site](https://github.com/conversationai/perspectiveapi/blob/master/README.md). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-commentanalyzer1_alpha1/3.0.0+20200405/google_commentanalyzer1_alpha1/CommentAnalyzer) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-commentanalyzer1_alpha1/3.1.0+20200405/google_commentanalyzer1_alpha1/CommentAnalyzer) ... * comments - * [*analyze*](https://docs.rs/google-commentanalyzer1_alpha1/3.0.0+20200405/google_commentanalyzer1_alpha1/api::CommentAnalyzeCall) and [*suggestscore*](https://docs.rs/google-commentanalyzer1_alpha1/3.0.0+20200405/google_commentanalyzer1_alpha1/api::CommentSuggestscoreCall) + * [*analyze*](https://docs.rs/google-commentanalyzer1_alpha1/3.1.0+20200405/google_commentanalyzer1_alpha1/api::CommentAnalyzeCall) and [*suggestscore*](https://docs.rs/google-commentanalyzer1_alpha1/3.1.0+20200405/google_commentanalyzer1_alpha1/api::CommentSuggestscoreCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-commentanalyzer1_alpha1/3.0.0+20200405/google_commentanalyzer1_alpha1/CommentAnalyzer)** +* **[Hub](https://docs.rs/google-commentanalyzer1_alpha1/3.1.0+20200405/google_commentanalyzer1_alpha1/CommentAnalyzer)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-commentanalyzer1_alpha1/3.0.0+20200405/google_commentanalyzer1_alpha1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-commentanalyzer1_alpha1/3.0.0+20200405/google_commentanalyzer1_alpha1/client::CallBuilder) -* **[Resources](https://docs.rs/google-commentanalyzer1_alpha1/3.0.0+20200405/google_commentanalyzer1_alpha1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-commentanalyzer1_alpha1/3.1.0+20200405/google_commentanalyzer1_alpha1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-commentanalyzer1_alpha1/3.1.0+20200405/google_commentanalyzer1_alpha1/client::CallBuilder) +* **[Resources](https://docs.rs/google-commentanalyzer1_alpha1/3.1.0+20200405/google_commentanalyzer1_alpha1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-commentanalyzer1_alpha1/3.0.0+20200405/google_commentanalyzer1_alpha1/client::Part)** + * **[Parts](https://docs.rs/google-commentanalyzer1_alpha1/3.1.0+20200405/google_commentanalyzer1_alpha1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-commentanalyzer1_alpha1/3.0.0+20200405/google_commentanalyzer1_alpha1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-commentanalyzer1_alpha1/3.1.0+20200405/google_commentanalyzer1_alpha1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -91,7 +91,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CommentAnalyzer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CommentAnalyzer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -124,17 +124,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-commentanalyzer1_alpha1/3.0.0+20200405/google_commentanalyzer1_alpha1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-commentanalyzer1_alpha1/3.1.0+20200405/google_commentanalyzer1_alpha1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-commentanalyzer1_alpha1/3.0.0+20200405/google_commentanalyzer1_alpha1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-commentanalyzer1_alpha1/3.1.0+20200405/google_commentanalyzer1_alpha1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-commentanalyzer1_alpha1/3.0.0+20200405/google_commentanalyzer1_alpha1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-commentanalyzer1_alpha1/3.1.0+20200405/google_commentanalyzer1_alpha1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-commentanalyzer1_alpha1/3.0.0+20200405/google_commentanalyzer1_alpha1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-commentanalyzer1_alpha1/3.1.0+20200405/google_commentanalyzer1_alpha1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -144,29 +144,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-commentanalyzer1_alpha1/3.0.0+20200405/google_commentanalyzer1_alpha1/client::Delegate) to the -[Method Builder](https://docs.rs/google-commentanalyzer1_alpha1/3.0.0+20200405/google_commentanalyzer1_alpha1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-commentanalyzer1_alpha1/3.1.0+20200405/google_commentanalyzer1_alpha1/client::Delegate) to the +[Method Builder](https://docs.rs/google-commentanalyzer1_alpha1/3.1.0+20200405/google_commentanalyzer1_alpha1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-commentanalyzer1_alpha1/3.0.0+20200405/google_commentanalyzer1_alpha1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-commentanalyzer1_alpha1/3.1.0+20200405/google_commentanalyzer1_alpha1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-commentanalyzer1_alpha1/3.0.0+20200405/google_commentanalyzer1_alpha1/client::RequestValue) and -[decodable](https://docs.rs/google-commentanalyzer1_alpha1/3.0.0+20200405/google_commentanalyzer1_alpha1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-commentanalyzer1_alpha1/3.1.0+20200405/google_commentanalyzer1_alpha1/client::RequestValue) and +[decodable](https://docs.rs/google-commentanalyzer1_alpha1/3.1.0+20200405/google_commentanalyzer1_alpha1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-commentanalyzer1_alpha1/3.0.0+20200405/google_commentanalyzer1_alpha1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-commentanalyzer1_alpha1/3.1.0+20200405/google_commentanalyzer1_alpha1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-commentanalyzer1_alpha1/3.0.0+20200405/google_commentanalyzer1_alpha1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-commentanalyzer1_alpha1/3.1.0+20200405/google_commentanalyzer1_alpha1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-commentanalyzer1_alpha1/3.0.0+20200405/google_commentanalyzer1_alpha1/client::RequestValue) are moved +* [request values](https://docs.rs/google-commentanalyzer1_alpha1/3.1.0+20200405/google_commentanalyzer1_alpha1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/commentanalyzer1_alpha1/src/api.rs b/gen/commentanalyzer1_alpha1/src/api.rs index 4cff75c568..706b3d6b3a 100644 --- a/gen/commentanalyzer1_alpha1/src/api.rs +++ b/gen/commentanalyzer1_alpha1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CommentAnalyzer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CommentAnalyzer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > CommentAnalyzer<> { CommentAnalyzer { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://commentanalyzer.googleapis.com/".to_string(), _root_url: "https://commentanalyzer.googleapis.com/".to_string(), } @@ -130,7 +130,7 @@ impl<'a, > CommentAnalyzer<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -503,7 +503,7 @@ impl client::Part for TextEntry {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CommentAnalyzer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CommentAnalyzer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `analyze(...)` and `suggestscore(...)` /// // to build up your call. @@ -586,7 +586,7 @@ impl<'a> CommentMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CommentAnalyzer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CommentAnalyzer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -835,7 +835,7 @@ impl<'a> CommentAnalyzeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CommentAnalyzer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CommentAnalyzer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/commentanalyzer1_alpha1/src/lib.rs b/gen/commentanalyzer1_alpha1/src/lib.rs index fc97fe28fa..25acd0f5ce 100644 --- a/gen/commentanalyzer1_alpha1/src/lib.rs +++ b/gen/commentanalyzer1_alpha1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Comment Analyzer* crate version *3.0.0+20200405*, where *20200405* is the exact revision of the *commentanalyzer:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Comment Analyzer* crate version *3.1.0+20200405*, where *20200405* is the exact revision of the *commentanalyzer:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Comment Analyzer* *v1_alpha1* API can be found at the //! [official documentation site](https://github.com/conversationai/perspectiveapi/blob/master/README.md). @@ -92,7 +92,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CommentAnalyzer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CommentAnalyzer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/composer1-cli/Cargo.toml b/gen/composer1-cli/Cargo.toml index 4490d07777..ecab229090 100644 --- a/gen/composer1-cli/Cargo.toml +++ b/gen/composer1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-composer1-cli" -version = "3.0.0+20220224" +version = "3.1.0+20220224" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Composer (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/composer1-cli" @@ -20,12 +20,12 @@ name = "composer1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-composer1] path = "../composer1" -version = "3.0.0+20220224" +version = "3.1.0+20220224" diff --git a/gen/composer1-cli/README.md b/gen/composer1-cli/README.md index d01ac36c17..ca91fd1fd8 100644 --- a/gen/composer1-cli/README.md +++ b/gen/composer1-cli/README.md @@ -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 *Cloud Composer* API at revision *20220224*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Composer* API at revision *20220224*. The CLI is at version *3.1.0*. ```bash composer1 [options] diff --git a/gen/composer1-cli/mkdocs.yml b/gen/composer1-cli/mkdocs.yml index 43da7e2687..bba7cfcad5 100644 --- a/gen/composer1-cli/mkdocs.yml +++ b/gen/composer1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Composer v3.0.0+20220224 +site_name: Cloud Composer v3.1.0+20220224 site_url: http://byron.github.io/google-apis-rs/google-composer1-cli site_description: A complete library to interact with Cloud Composer (protocol v1) diff --git a/gen/composer1-cli/src/main.rs b/gen/composer1-cli/src/main.rs index 68865642fb..0e323cec12 100644 --- a/gen/composer1-cli/src/main.rs +++ b/gen/composer1-cli/src/main.rs @@ -795,7 +795,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/composer1", 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::CloudComposer::new(client, auth), @@ -1047,7 +1053,7 @@ async fn main() { let mut app = App::new("composer1") .author("Sebastian Thiel ") - .version("3.0.0+20220224") + .version("3.1.0+20220224") .about("Manages Apache Airflow environments on Google Cloud Platform.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_composer1_cli") .arg(Arg::with_name("url") diff --git a/gen/composer1/Cargo.toml b/gen/composer1/Cargo.toml index ff5362f12a..6a478f8ae1 100644 --- a/gen/composer1/Cargo.toml +++ b/gen/composer1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-composer1" -version = "3.0.0+20220224" +version = "3.1.0+20220224" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Composer (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/composer1" homepage = "https://cloud.google.com/composer/" -documentation = "https://docs.rs/google-composer1/3.0.0+20220224" +documentation = "https://docs.rs/google-composer1/3.1.0+20220224" license = "MIT" keywords = ["composer", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/composer1/README.md b/gen/composer1/README.md index d9a8b8269e..d3c37e6cdb 100644 --- a/gen/composer1/README.md +++ b/gen/composer1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-composer1` library allows access to all features of the *Google Cloud Composer* service. -This documentation was generated from *Cloud Composer* crate version *3.0.0+20220224*, where *20220224* is the exact revision of the *composer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Composer* crate version *3.1.0+20220224*, where *20220224* is the exact revision of the *composer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Composer* *v1* API can be found at the [official documentation site](https://cloud.google.com/composer/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-composer1/3.0.0+20220224/google_composer1/CloudComposer) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-composer1/3.1.0+20220224/google_composer1/CloudComposer) ... * projects - * [*locations environments create*](https://docs.rs/google-composer1/3.0.0+20220224/google_composer1/api::ProjectLocationEnvironmentCreateCall), [*locations environments delete*](https://docs.rs/google-composer1/3.0.0+20220224/google_composer1/api::ProjectLocationEnvironmentDeleteCall), [*locations environments get*](https://docs.rs/google-composer1/3.0.0+20220224/google_composer1/api::ProjectLocationEnvironmentGetCall), [*locations environments list*](https://docs.rs/google-composer1/3.0.0+20220224/google_composer1/api::ProjectLocationEnvironmentListCall), [*locations environments patch*](https://docs.rs/google-composer1/3.0.0+20220224/google_composer1/api::ProjectLocationEnvironmentPatchCall), [*locations image versions list*](https://docs.rs/google-composer1/3.0.0+20220224/google_composer1/api::ProjectLocationImageVersionListCall), [*locations operations delete*](https://docs.rs/google-composer1/3.0.0+20220224/google_composer1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-composer1/3.0.0+20220224/google_composer1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-composer1/3.0.0+20220224/google_composer1/api::ProjectLocationOperationListCall) + * [*locations environments create*](https://docs.rs/google-composer1/3.1.0+20220224/google_composer1/api::ProjectLocationEnvironmentCreateCall), [*locations environments delete*](https://docs.rs/google-composer1/3.1.0+20220224/google_composer1/api::ProjectLocationEnvironmentDeleteCall), [*locations environments get*](https://docs.rs/google-composer1/3.1.0+20220224/google_composer1/api::ProjectLocationEnvironmentGetCall), [*locations environments list*](https://docs.rs/google-composer1/3.1.0+20220224/google_composer1/api::ProjectLocationEnvironmentListCall), [*locations environments patch*](https://docs.rs/google-composer1/3.1.0+20220224/google_composer1/api::ProjectLocationEnvironmentPatchCall), [*locations image versions list*](https://docs.rs/google-composer1/3.1.0+20220224/google_composer1/api::ProjectLocationImageVersionListCall), [*locations operations delete*](https://docs.rs/google-composer1/3.1.0+20220224/google_composer1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-composer1/3.1.0+20220224/google_composer1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-composer1/3.1.0+20220224/google_composer1/api::ProjectLocationOperationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-composer1/3.0.0+20220224/google_composer1/CloudComposer)** +* **[Hub](https://docs.rs/google-composer1/3.1.0+20220224/google_composer1/CloudComposer)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-composer1/3.0.0+20220224/google_composer1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-composer1/3.0.0+20220224/google_composer1/client::CallBuilder) -* **[Resources](https://docs.rs/google-composer1/3.0.0+20220224/google_composer1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-composer1/3.1.0+20220224/google_composer1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-composer1/3.1.0+20220224/google_composer1/client::CallBuilder) +* **[Resources](https://docs.rs/google-composer1/3.1.0+20220224/google_composer1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-composer1/3.0.0+20220224/google_composer1/client::Part)** + * **[Parts](https://docs.rs/google-composer1/3.1.0+20220224/google_composer1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-composer1/3.0.0+20220224/google_composer1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-composer1/3.1.0+20220224/google_composer1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -94,7 +94,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudComposer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudComposer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -128,17 +128,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-composer1/3.0.0+20220224/google_composer1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-composer1/3.1.0+20220224/google_composer1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-composer1/3.0.0+20220224/google_composer1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-composer1/3.1.0+20220224/google_composer1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-composer1/3.0.0+20220224/google_composer1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-composer1/3.1.0+20220224/google_composer1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-composer1/3.0.0+20220224/google_composer1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-composer1/3.1.0+20220224/google_composer1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -148,29 +148,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-composer1/3.0.0+20220224/google_composer1/client::Delegate) to the -[Method Builder](https://docs.rs/google-composer1/3.0.0+20220224/google_composer1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-composer1/3.1.0+20220224/google_composer1/client::Delegate) to the +[Method Builder](https://docs.rs/google-composer1/3.1.0+20220224/google_composer1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-composer1/3.0.0+20220224/google_composer1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-composer1/3.1.0+20220224/google_composer1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-composer1/3.0.0+20220224/google_composer1/client::RequestValue) and -[decodable](https://docs.rs/google-composer1/3.0.0+20220224/google_composer1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-composer1/3.1.0+20220224/google_composer1/client::RequestValue) and +[decodable](https://docs.rs/google-composer1/3.1.0+20220224/google_composer1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-composer1/3.0.0+20220224/google_composer1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-composer1/3.1.0+20220224/google_composer1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-composer1/3.0.0+20220224/google_composer1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-composer1/3.1.0+20220224/google_composer1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-composer1/3.0.0+20220224/google_composer1/client::RequestValue) are moved +* [request values](https://docs.rs/google-composer1/3.1.0+20220224/google_composer1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/composer1/src/api.rs b/gen/composer1/src/api.rs index 38ce098f41..e69f6a43ce 100644 --- a/gen/composer1/src/api.rs +++ b/gen/composer1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudComposer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudComposer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > CloudComposer<> { CloudComposer { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://composer.googleapis.com/".to_string(), _root_url: "https://composer.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > CloudComposer<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -761,7 +761,7 @@ impl client::Part for WorkloadsConfig {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudComposer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudComposer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_environments_create(...)`, `locations_environments_delete(...)`, `locations_environments_get(...)`, `locations_environments_list(...)`, `locations_environments_patch(...)`, `locations_image_versions_list(...)`, `locations_operations_delete(...)`, `locations_operations_get(...)` and `locations_operations_list(...)` /// // to build up your call. @@ -976,7 +976,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudComposer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudComposer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1261,7 +1261,7 @@ impl<'a> ProjectLocationEnvironmentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudComposer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudComposer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1517,7 +1517,7 @@ impl<'a> ProjectLocationEnvironmentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudComposer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudComposer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1773,7 +1773,7 @@ impl<'a> ProjectLocationEnvironmentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudComposer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudComposer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2054,7 +2054,7 @@ impl<'a> ProjectLocationEnvironmentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudComposer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudComposer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2351,7 +2351,7 @@ impl<'a> ProjectLocationEnvironmentPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudComposer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudComposer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2643,7 +2643,7 @@ impl<'a> ProjectLocationImageVersionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudComposer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudComposer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2899,7 +2899,7 @@ impl<'a> ProjectLocationOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudComposer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudComposer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3155,7 +3155,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudComposer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudComposer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/composer1/src/lib.rs b/gen/composer1/src/lib.rs index a27f4ebbdd..98b868e482 100644 --- a/gen/composer1/src/lib.rs +++ b/gen/composer1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Composer* crate version *3.0.0+20220224*, where *20220224* is the exact revision of the *composer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Composer* crate version *3.1.0+20220224*, where *20220224* is the exact revision of the *composer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Composer* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/composer/). @@ -95,7 +95,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudComposer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudComposer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/compute1-cli/Cargo.toml b/gen/compute1-cli/Cargo.toml index 6689a75e6a..9cc722e39b 100644 --- a/gen/compute1-cli/Cargo.toml +++ b/gen/compute1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-compute1-cli" -version = "3.0.0+20220224" +version = "3.1.0+20220224" authors = ["Sebastian Thiel "] description = "A complete library to interact with compute (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/compute1-cli" @@ -20,12 +20,12 @@ name = "compute1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-compute1] path = "../compute1" -version = "3.0.0+20220224" +version = "3.1.0+20220224" diff --git a/gen/compute1-cli/README.md b/gen/compute1-cli/README.md index d7362d4514..5588b51554 100644 --- a/gen/compute1-cli/README.md +++ b/gen/compute1-cli/README.md @@ -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 *compute* API at revision *20220224*. The CLI is at version *3.0.0*. +This documentation was generated from the *compute* API at revision *20220224*. The CLI is at version *3.1.0*. ```bash compute1 [options] diff --git a/gen/compute1-cli/mkdocs.yml b/gen/compute1-cli/mkdocs.yml index 545b46e8e3..1450843058 100644 --- a/gen/compute1-cli/mkdocs.yml +++ b/gen/compute1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: compute v3.0.0+20220224 +site_name: compute v3.1.0+20220224 site_url: http://byron.github.io/google-apis-rs/google-compute1-cli site_description: A complete library to interact with compute (protocol v1) diff --git a/gen/compute1-cli/src/main.rs b/gen/compute1-cli/src/main.rs index 38abf37766..ce6bd1ffad 100644 --- a/gen/compute1-cli/src/main.rs +++ b/gen/compute1-cli/src/main.rs @@ -53048,7 +53048,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/compute1", 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::Compute::new(client, auth), @@ -73865,7 +73871,7 @@ async fn main() { let mut app = App::new("compute1") .author("Sebastian Thiel ") - .version("3.0.0+20220224") + .version("3.1.0+20220224") .about("Creates and runs virtual machines on Google Cloud Platform. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_compute1_cli") .arg(Arg::with_name("url") diff --git a/gen/compute1/Cargo.toml b/gen/compute1/Cargo.toml index ad63999234..ec37d18d8c 100644 --- a/gen/compute1/Cargo.toml +++ b/gen/compute1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-compute1" -version = "3.0.0+20220224" +version = "3.1.0+20220224" authors = ["Sebastian Thiel "] description = "A complete library to interact with compute (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/compute1" homepage = "https://cloud.google.com/compute/" -documentation = "https://docs.rs/google-compute1/3.0.0+20220224" +documentation = "https://docs.rs/google-compute1/3.1.0+20220224" license = "MIT" keywords = ["compute", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/compute1/README.md b/gen/compute1/README.md index 19c9f4bbf4..b4fc0779bf 100644 --- a/gen/compute1/README.md +++ b/gen/compute1/README.md @@ -5,184 +5,184 @@ DO NOT EDIT ! --> The `google-compute1` library allows access to all features of the *Google compute* service. -This documentation was generated from *compute* crate version *3.0.0+20220224*, where *20220224* is the exact revision of the *compute:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *compute* crate version *3.1.0+20220224*, where *20220224* is the exact revision of the *compute:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *compute* *v1* API can be found at the [official documentation site](https://cloud.google.com/compute/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/Compute) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/Compute) ... -* [accelerator types](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::AcceleratorType) - * [*aggregated list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::AcceleratorTypeAggregatedListCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::AcceleratorTypeGetCall) and [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::AcceleratorTypeListCall) +* [accelerator types](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::AcceleratorType) + * [*aggregated list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::AcceleratorTypeAggregatedListCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::AcceleratorTypeGetCall) and [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::AcceleratorTypeListCall) * addresses - * [*aggregated list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::AddresseAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::AddresseDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::AddresseGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::AddresseInsertCall) and [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::AddresseListCall) -* [autoscalers](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::Autoscaler) - * [*aggregated list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::AutoscalerAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::AutoscalerDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::AutoscalerGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::AutoscalerInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::AutoscalerListCall), [*patch*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::AutoscalerPatchCall) and [*update*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::AutoscalerUpdateCall) -* [backend buckets](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::BackendBucket) - * [*add signed url key*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::BackendBucketAddSignedUrlKeyCall), [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::BackendBucketDeleteCall), [*delete signed url key*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::BackendBucketDeleteSignedUrlKeyCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::BackendBucketGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::BackendBucketInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::BackendBucketListCall), [*patch*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::BackendBucketPatchCall), [*set edge security policy*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::BackendBucketSetEdgeSecurityPolicyCall) and [*update*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::BackendBucketUpdateCall) -* [backend services](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::BackendService) - * [*add signed url key*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::BackendServiceAddSignedUrlKeyCall), [*aggregated list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::BackendServiceAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::BackendServiceDeleteCall), [*delete signed url key*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::BackendServiceDeleteSignedUrlKeyCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::BackendServiceGetCall), [*get health*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::BackendServiceGetHealthCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::BackendServiceInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::BackendServiceListCall), [*patch*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::BackendServicePatchCall), [*set edge security policy*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::BackendServiceSetEdgeSecurityPolicyCall), [*set security policy*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::BackendServiceSetSecurityPolicyCall) and [*update*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::BackendServiceUpdateCall) -* [disk types](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::DiskType) - * [*aggregated list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::DiskTypeAggregatedListCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::DiskTypeGetCall) and [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::DiskTypeListCall) -* [disks](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::Disk) - * [*add resource policies*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::DiskAddResourcePolicyCall), [*aggregated list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::DiskAggregatedListCall), [*create snapshot*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::DiskCreateSnapshotCall), [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::DiskDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::DiskGetCall), [*get iam policy*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::DiskGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::DiskInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::DiskListCall), [*remove resource policies*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::DiskRemoveResourcePolicyCall), [*resize*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::DiskResizeCall), [*set iam policy*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::DiskSetIamPolicyCall), [*set labels*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::DiskSetLabelCall) and [*test iam permissions*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::DiskTestIamPermissionCall) -* [external vpn gateways](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ExternalVpnGateway) - * [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ExternalVpnGatewayDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ExternalVpnGatewayGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ExternalVpnGatewayInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ExternalVpnGatewayListCall), [*set labels*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ExternalVpnGatewaySetLabelCall) and [*test iam permissions*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ExternalVpnGatewayTestIamPermissionCall) -* [firewall policies](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::FirewallPolicy) - * [*add association*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::FirewallPolicyAddAssociationCall), [*add rule*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::FirewallPolicyAddRuleCall), [*clone rules*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::FirewallPolicyCloneRuleCall), [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::FirewallPolicyDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::FirewallPolicyGetCall), [*get association*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::FirewallPolicyGetAssociationCall), [*get iam policy*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::FirewallPolicyGetIamPolicyCall), [*get rule*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::FirewallPolicyGetRuleCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::FirewallPolicyInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::FirewallPolicyListCall), [*list associations*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::FirewallPolicyListAssociationCall), [*move*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::FirewallPolicyMoveCall), [*patch*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::FirewallPolicyPatchCall), [*patch rule*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::FirewallPolicyPatchRuleCall), [*remove association*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::FirewallPolicyRemoveAssociationCall), [*remove rule*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::FirewallPolicyRemoveRuleCall), [*set iam policy*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::FirewallPolicySetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::FirewallPolicyTestIamPermissionCall) -* [firewalls](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::Firewall) - * [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::FirewallDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::FirewallGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::FirewallInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::FirewallListCall), [*patch*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::FirewallPatchCall) and [*update*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::FirewallUpdateCall) -* [forwarding rules](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ForwardingRule) - * [*aggregated list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ForwardingRuleAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ForwardingRuleDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ForwardingRuleGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ForwardingRuleInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ForwardingRuleListCall), [*patch*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ForwardingRulePatchCall), [*set labels*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ForwardingRuleSetLabelCall) and [*set target*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ForwardingRuleSetTargetCall) + * [*aggregated list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::AddresseAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::AddresseDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::AddresseGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::AddresseInsertCall) and [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::AddresseListCall) +* [autoscalers](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::Autoscaler) + * [*aggregated list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::AutoscalerAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::AutoscalerDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::AutoscalerGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::AutoscalerInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::AutoscalerListCall), [*patch*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::AutoscalerPatchCall) and [*update*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::AutoscalerUpdateCall) +* [backend buckets](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::BackendBucket) + * [*add signed url key*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::BackendBucketAddSignedUrlKeyCall), [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::BackendBucketDeleteCall), [*delete signed url key*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::BackendBucketDeleteSignedUrlKeyCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::BackendBucketGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::BackendBucketInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::BackendBucketListCall), [*patch*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::BackendBucketPatchCall), [*set edge security policy*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::BackendBucketSetEdgeSecurityPolicyCall) and [*update*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::BackendBucketUpdateCall) +* [backend services](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::BackendService) + * [*add signed url key*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::BackendServiceAddSignedUrlKeyCall), [*aggregated list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::BackendServiceAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::BackendServiceDeleteCall), [*delete signed url key*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::BackendServiceDeleteSignedUrlKeyCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::BackendServiceGetCall), [*get health*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::BackendServiceGetHealthCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::BackendServiceInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::BackendServiceListCall), [*patch*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::BackendServicePatchCall), [*set edge security policy*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::BackendServiceSetEdgeSecurityPolicyCall), [*set security policy*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::BackendServiceSetSecurityPolicyCall) and [*update*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::BackendServiceUpdateCall) +* [disk types](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::DiskType) + * [*aggregated list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::DiskTypeAggregatedListCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::DiskTypeGetCall) and [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::DiskTypeListCall) +* [disks](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::Disk) + * [*add resource policies*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::DiskAddResourcePolicyCall), [*aggregated list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::DiskAggregatedListCall), [*create snapshot*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::DiskCreateSnapshotCall), [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::DiskDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::DiskGetCall), [*get iam policy*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::DiskGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::DiskInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::DiskListCall), [*remove resource policies*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::DiskRemoveResourcePolicyCall), [*resize*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::DiskResizeCall), [*set iam policy*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::DiskSetIamPolicyCall), [*set labels*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::DiskSetLabelCall) and [*test iam permissions*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::DiskTestIamPermissionCall) +* [external vpn gateways](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ExternalVpnGateway) + * [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ExternalVpnGatewayDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ExternalVpnGatewayGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ExternalVpnGatewayInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ExternalVpnGatewayListCall), [*set labels*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ExternalVpnGatewaySetLabelCall) and [*test iam permissions*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ExternalVpnGatewayTestIamPermissionCall) +* [firewall policies](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::FirewallPolicy) + * [*add association*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::FirewallPolicyAddAssociationCall), [*add rule*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::FirewallPolicyAddRuleCall), [*clone rules*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::FirewallPolicyCloneRuleCall), [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::FirewallPolicyDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::FirewallPolicyGetCall), [*get association*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::FirewallPolicyGetAssociationCall), [*get iam policy*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::FirewallPolicyGetIamPolicyCall), [*get rule*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::FirewallPolicyGetRuleCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::FirewallPolicyInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::FirewallPolicyListCall), [*list associations*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::FirewallPolicyListAssociationCall), [*move*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::FirewallPolicyMoveCall), [*patch*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::FirewallPolicyPatchCall), [*patch rule*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::FirewallPolicyPatchRuleCall), [*remove association*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::FirewallPolicyRemoveAssociationCall), [*remove rule*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::FirewallPolicyRemoveRuleCall), [*set iam policy*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::FirewallPolicySetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::FirewallPolicyTestIamPermissionCall) +* [firewalls](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::Firewall) + * [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::FirewallDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::FirewallGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::FirewallInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::FirewallListCall), [*patch*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::FirewallPatchCall) and [*update*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::FirewallUpdateCall) +* [forwarding rules](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ForwardingRule) + * [*aggregated list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ForwardingRuleAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ForwardingRuleDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ForwardingRuleGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ForwardingRuleInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ForwardingRuleListCall), [*patch*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ForwardingRulePatchCall), [*set labels*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ForwardingRuleSetLabelCall) and [*set target*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ForwardingRuleSetTargetCall) * global addresses - * [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::GlobalAddresseDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::GlobalAddresseGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::GlobalAddresseInsertCall) and [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::GlobalAddresseListCall) + * [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::GlobalAddresseDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::GlobalAddresseGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::GlobalAddresseInsertCall) and [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::GlobalAddresseListCall) * global forwarding rules - * [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::GlobalForwardingRuleDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::GlobalForwardingRuleGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::GlobalForwardingRuleInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::GlobalForwardingRuleListCall), [*patch*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::GlobalForwardingRulePatchCall), [*set labels*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::GlobalForwardingRuleSetLabelCall) and [*set target*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::GlobalForwardingRuleSetTargetCall) + * [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::GlobalForwardingRuleDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::GlobalForwardingRuleGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::GlobalForwardingRuleInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::GlobalForwardingRuleListCall), [*patch*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::GlobalForwardingRulePatchCall), [*set labels*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::GlobalForwardingRuleSetLabelCall) and [*set target*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::GlobalForwardingRuleSetTargetCall) * global network endpoint groups - * [*attach network endpoints*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::GlobalNetworkEndpointGroupAttachNetworkEndpointCall), [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::GlobalNetworkEndpointGroupDeleteCall), [*detach network endpoints*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::GlobalNetworkEndpointGroupDetachNetworkEndpointCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::GlobalNetworkEndpointGroupGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::GlobalNetworkEndpointGroupInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::GlobalNetworkEndpointGroupListCall) and [*list network endpoints*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::GlobalNetworkEndpointGroupListNetworkEndpointCall) + * [*attach network endpoints*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::GlobalNetworkEndpointGroupAttachNetworkEndpointCall), [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::GlobalNetworkEndpointGroupDeleteCall), [*detach network endpoints*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::GlobalNetworkEndpointGroupDetachNetworkEndpointCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::GlobalNetworkEndpointGroupGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::GlobalNetworkEndpointGroupInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::GlobalNetworkEndpointGroupListCall) and [*list network endpoints*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::GlobalNetworkEndpointGroupListNetworkEndpointCall) * global operations - * [*aggregated list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::GlobalOperationAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::GlobalOperationDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::GlobalOperationGetCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::GlobalOperationListCall) and [*wait*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::GlobalOperationWaitCall) + * [*aggregated list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::GlobalOperationAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::GlobalOperationDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::GlobalOperationGetCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::GlobalOperationListCall) and [*wait*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::GlobalOperationWaitCall) * global organization operations - * [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::GlobalOrganizationOperationDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::GlobalOrganizationOperationGetCall) and [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::GlobalOrganizationOperationListCall) + * [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::GlobalOrganizationOperationDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::GlobalOrganizationOperationGetCall) and [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::GlobalOrganizationOperationListCall) * global public delegated prefixes - * [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::GlobalPublicDelegatedPrefixeDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::GlobalPublicDelegatedPrefixeGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::GlobalPublicDelegatedPrefixeInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::GlobalPublicDelegatedPrefixeListCall) and [*patch*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::GlobalPublicDelegatedPrefixePatchCall) -* [health checks](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::HealthCheck) - * [*aggregated list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::HealthCheckAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::HealthCheckDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::HealthCheckGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::HealthCheckInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::HealthCheckListCall), [*patch*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::HealthCheckPatchCall) and [*update*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::HealthCheckUpdateCall) -* [http health checks](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::HttpHealthCheck) - * [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::HttpHealthCheckDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::HttpHealthCheckGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::HttpHealthCheckInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::HttpHealthCheckListCall), [*patch*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::HttpHealthCheckPatchCall) and [*update*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::HttpHealthCheckUpdateCall) -* [https health checks](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::HttpsHealthCheck) - * [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::HttpsHealthCheckDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::HttpsHealthCheckGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::HttpsHealthCheckInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::HttpsHealthCheckListCall), [*patch*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::HttpsHealthCheckPatchCall) and [*update*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::HttpsHealthCheckUpdateCall) -* [image family views](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ImageFamilyView) - * [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ImageFamilyViewGetCall) -* [images](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::Image) - * [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ImageDeleteCall), [*deprecate*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ImageDeprecateCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ImageGetCall), [*get from family*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ImageGetFromFamilyCall), [*get iam policy*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ImageGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ImageInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ImageListCall), [*patch*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ImagePatchCall), [*set iam policy*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ImageSetIamPolicyCall), [*set labels*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ImageSetLabelCall) and [*test iam permissions*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ImageTestIamPermissionCall) -* [instance group managers](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceGroupManager) - * [*abandon instances*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceGroupManagerAbandonInstanceCall), [*aggregated list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceGroupManagerAggregatedListCall), [*apply updates to instances*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceGroupManagerApplyUpdatesToInstanceCall), [*create instances*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceGroupManagerCreateInstanceCall), [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceGroupManagerDeleteCall), [*delete instances*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceGroupManagerDeleteInstanceCall), [*delete per instance configs*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceGroupManagerDeletePerInstanceConfigCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceGroupManagerGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceGroupManagerInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceGroupManagerListCall), [*list errors*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceGroupManagerListErrorCall), [*list managed instances*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceGroupManagerListManagedInstanceCall), [*list per instance configs*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceGroupManagerListPerInstanceConfigCall), [*patch*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceGroupManagerPatchCall), [*patch per instance configs*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceGroupManagerPatchPerInstanceConfigCall), [*recreate instances*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceGroupManagerRecreateInstanceCall), [*resize*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceGroupManagerResizeCall), [*set instance template*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceGroupManagerSetInstanceTemplateCall), [*set target pools*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceGroupManagerSetTargetPoolCall) and [*update per instance configs*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceGroupManagerUpdatePerInstanceConfigCall) -* [instance groups](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceGroup) - * [*add instances*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceGroupAddInstanceCall), [*aggregated list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceGroupAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceGroupDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceGroupGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceGroupInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceGroupListCall), [*list instances*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceGroupListInstanceCall), [*remove instances*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceGroupRemoveInstanceCall) and [*set named ports*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceGroupSetNamedPortCall) -* [instance templates](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceTemplate) - * [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceTemplateDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceTemplateGetCall), [*get iam policy*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceTemplateGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceTemplateInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceTemplateListCall), [*set iam policy*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceTemplateSetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceTemplateTestIamPermissionCall) -* [instances](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::Instance) - * [*add access config*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceAddAccessConfigCall), [*add resource policies*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceAddResourcePolicyCall), [*aggregated list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceAggregatedListCall), [*attach disk*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceAttachDiskCall), [*bulk insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceBulkInsertCall), [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceDeleteCall), [*delete access config*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceDeleteAccessConfigCall), [*detach disk*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceDetachDiskCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceGetCall), [*get effective firewalls*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceGetEffectiveFirewallCall), [*get guest attributes*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceGetGuestAttributeCall), [*get iam policy*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceGetIamPolicyCall), [*get screenshot*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceGetScreenshotCall), [*get serial port output*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceGetSerialPortOutputCall), [*get shielded instance identity*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceGetShieldedInstanceIdentityCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceListCall), [*list referrers*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceListReferrerCall), [*remove resource policies*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceRemoveResourcePolicyCall), [*reset*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceResetCall), [*resume*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceResumeCall), [*send diagnostic interrupt*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceSendDiagnosticInterruptCall), [*set deletion protection*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceSetDeletionProtectionCall), [*set disk auto delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceSetDiskAutoDeleteCall), [*set iam policy*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceSetIamPolicyCall), [*set labels*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceSetLabelCall), [*set machine resources*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceSetMachineResourceCall), [*set machine type*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceSetMachineTypeCall), [*set metadata*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceSetMetadataCall), [*set min cpu platform*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceSetMinCpuPlatformCall), [*set scheduling*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceSetSchedulingCall), [*set service account*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceSetServiceAccountCall), [*set shielded instance integrity policy*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceSetShieldedInstanceIntegrityPolicyCall), [*set tags*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceSetTagCall), [*simulate maintenance event*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceSimulateMaintenanceEventCall), [*start*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceStartCall), [*start with encryption key*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceStartWithEncryptionKeyCall), [*stop*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceStopCall), [*suspend*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceSuspendCall), [*test iam permissions*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceTestIamPermissionCall), [*update*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceUpdateCall), [*update access config*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceUpdateAccessConfigCall), [*update display device*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceUpdateDisplayDeviceCall), [*update network interface*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceUpdateNetworkInterfaceCall) and [*update shielded instance config*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InstanceUpdateShieldedInstanceConfigCall) -* [interconnect attachments](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InterconnectAttachment) - * [*aggregated list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InterconnectAttachmentAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InterconnectAttachmentDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InterconnectAttachmentGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InterconnectAttachmentInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InterconnectAttachmentListCall) and [*patch*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InterconnectAttachmentPatchCall) -* [interconnect locations](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InterconnectLocation) - * [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InterconnectLocationGetCall) and [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InterconnectLocationListCall) -* [interconnects](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::Interconnect) - * [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InterconnectDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InterconnectGetCall), [*get diagnostics*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InterconnectGetDiagnosticCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InterconnectInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InterconnectListCall) and [*patch*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::InterconnectPatchCall) -* [license codes](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::LicenseCode) - * [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::LicenseCodeGetCall) and [*test iam permissions*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::LicenseCodeTestIamPermissionCall) -* [licenses](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::License) - * [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::LicenseDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::LicenseGetCall), [*get iam policy*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::LicenseGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::LicenseInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::LicenseListCall), [*set iam policy*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::LicenseSetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::LicenseTestIamPermissionCall) -* [machine images](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::MachineImage) - * [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::MachineImageDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::MachineImageGetCall), [*get iam policy*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::MachineImageGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::MachineImageInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::MachineImageListCall), [*set iam policy*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::MachineImageSetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::MachineImageTestIamPermissionCall) -* [machine types](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::MachineType) - * [*aggregated list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::MachineTypeAggregatedListCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::MachineTypeGetCall) and [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::MachineTypeListCall) -* [network endpoint groups](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NetworkEndpointGroup) - * [*aggregated list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NetworkEndpointGroupAggregatedListCall), [*attach network endpoints*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NetworkEndpointGroupAttachNetworkEndpointCall), [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NetworkEndpointGroupDeleteCall), [*detach network endpoints*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NetworkEndpointGroupDetachNetworkEndpointCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NetworkEndpointGroupGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NetworkEndpointGroupInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NetworkEndpointGroupListCall), [*list network endpoints*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NetworkEndpointGroupListNetworkEndpointCall) and [*test iam permissions*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NetworkEndpointGroupTestIamPermissionCall) + * [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::GlobalPublicDelegatedPrefixeDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::GlobalPublicDelegatedPrefixeGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::GlobalPublicDelegatedPrefixeInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::GlobalPublicDelegatedPrefixeListCall) and [*patch*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::GlobalPublicDelegatedPrefixePatchCall) +* [health checks](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::HealthCheck) + * [*aggregated list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::HealthCheckAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::HealthCheckDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::HealthCheckGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::HealthCheckInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::HealthCheckListCall), [*patch*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::HealthCheckPatchCall) and [*update*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::HealthCheckUpdateCall) +* [http health checks](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::HttpHealthCheck) + * [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::HttpHealthCheckDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::HttpHealthCheckGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::HttpHealthCheckInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::HttpHealthCheckListCall), [*patch*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::HttpHealthCheckPatchCall) and [*update*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::HttpHealthCheckUpdateCall) +* [https health checks](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::HttpsHealthCheck) + * [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::HttpsHealthCheckDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::HttpsHealthCheckGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::HttpsHealthCheckInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::HttpsHealthCheckListCall), [*patch*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::HttpsHealthCheckPatchCall) and [*update*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::HttpsHealthCheckUpdateCall) +* [image family views](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ImageFamilyView) + * [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ImageFamilyViewGetCall) +* [images](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::Image) + * [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ImageDeleteCall), [*deprecate*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ImageDeprecateCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ImageGetCall), [*get from family*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ImageGetFromFamilyCall), [*get iam policy*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ImageGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ImageInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ImageListCall), [*patch*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ImagePatchCall), [*set iam policy*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ImageSetIamPolicyCall), [*set labels*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ImageSetLabelCall) and [*test iam permissions*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ImageTestIamPermissionCall) +* [instance group managers](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceGroupManager) + * [*abandon instances*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceGroupManagerAbandonInstanceCall), [*aggregated list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceGroupManagerAggregatedListCall), [*apply updates to instances*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceGroupManagerApplyUpdatesToInstanceCall), [*create instances*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceGroupManagerCreateInstanceCall), [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceGroupManagerDeleteCall), [*delete instances*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceGroupManagerDeleteInstanceCall), [*delete per instance configs*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceGroupManagerDeletePerInstanceConfigCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceGroupManagerGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceGroupManagerInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceGroupManagerListCall), [*list errors*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceGroupManagerListErrorCall), [*list managed instances*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceGroupManagerListManagedInstanceCall), [*list per instance configs*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceGroupManagerListPerInstanceConfigCall), [*patch*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceGroupManagerPatchCall), [*patch per instance configs*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceGroupManagerPatchPerInstanceConfigCall), [*recreate instances*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceGroupManagerRecreateInstanceCall), [*resize*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceGroupManagerResizeCall), [*set instance template*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceGroupManagerSetInstanceTemplateCall), [*set target pools*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceGroupManagerSetTargetPoolCall) and [*update per instance configs*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceGroupManagerUpdatePerInstanceConfigCall) +* [instance groups](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceGroup) + * [*add instances*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceGroupAddInstanceCall), [*aggregated list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceGroupAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceGroupDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceGroupGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceGroupInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceGroupListCall), [*list instances*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceGroupListInstanceCall), [*remove instances*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceGroupRemoveInstanceCall) and [*set named ports*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceGroupSetNamedPortCall) +* [instance templates](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceTemplate) + * [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceTemplateDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceTemplateGetCall), [*get iam policy*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceTemplateGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceTemplateInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceTemplateListCall), [*set iam policy*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceTemplateSetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceTemplateTestIamPermissionCall) +* [instances](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::Instance) + * [*add access config*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceAddAccessConfigCall), [*add resource policies*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceAddResourcePolicyCall), [*aggregated list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceAggregatedListCall), [*attach disk*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceAttachDiskCall), [*bulk insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceBulkInsertCall), [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceDeleteCall), [*delete access config*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceDeleteAccessConfigCall), [*detach disk*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceDetachDiskCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceGetCall), [*get effective firewalls*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceGetEffectiveFirewallCall), [*get guest attributes*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceGetGuestAttributeCall), [*get iam policy*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceGetIamPolicyCall), [*get screenshot*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceGetScreenshotCall), [*get serial port output*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceGetSerialPortOutputCall), [*get shielded instance identity*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceGetShieldedInstanceIdentityCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceListCall), [*list referrers*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceListReferrerCall), [*remove resource policies*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceRemoveResourcePolicyCall), [*reset*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceResetCall), [*resume*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceResumeCall), [*send diagnostic interrupt*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceSendDiagnosticInterruptCall), [*set deletion protection*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceSetDeletionProtectionCall), [*set disk auto delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceSetDiskAutoDeleteCall), [*set iam policy*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceSetIamPolicyCall), [*set labels*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceSetLabelCall), [*set machine resources*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceSetMachineResourceCall), [*set machine type*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceSetMachineTypeCall), [*set metadata*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceSetMetadataCall), [*set min cpu platform*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceSetMinCpuPlatformCall), [*set scheduling*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceSetSchedulingCall), [*set service account*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceSetServiceAccountCall), [*set shielded instance integrity policy*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceSetShieldedInstanceIntegrityPolicyCall), [*set tags*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceSetTagCall), [*simulate maintenance event*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceSimulateMaintenanceEventCall), [*start*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceStartCall), [*start with encryption key*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceStartWithEncryptionKeyCall), [*stop*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceStopCall), [*suspend*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceSuspendCall), [*test iam permissions*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceTestIamPermissionCall), [*update*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceUpdateCall), [*update access config*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceUpdateAccessConfigCall), [*update display device*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceUpdateDisplayDeviceCall), [*update network interface*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceUpdateNetworkInterfaceCall) and [*update shielded instance config*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InstanceUpdateShieldedInstanceConfigCall) +* [interconnect attachments](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InterconnectAttachment) + * [*aggregated list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InterconnectAttachmentAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InterconnectAttachmentDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InterconnectAttachmentGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InterconnectAttachmentInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InterconnectAttachmentListCall) and [*patch*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InterconnectAttachmentPatchCall) +* [interconnect locations](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InterconnectLocation) + * [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InterconnectLocationGetCall) and [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InterconnectLocationListCall) +* [interconnects](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::Interconnect) + * [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InterconnectDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InterconnectGetCall), [*get diagnostics*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InterconnectGetDiagnosticCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InterconnectInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InterconnectListCall) and [*patch*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::InterconnectPatchCall) +* [license codes](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::LicenseCode) + * [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::LicenseCodeGetCall) and [*test iam permissions*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::LicenseCodeTestIamPermissionCall) +* [licenses](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::License) + * [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::LicenseDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::LicenseGetCall), [*get iam policy*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::LicenseGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::LicenseInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::LicenseListCall), [*set iam policy*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::LicenseSetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::LicenseTestIamPermissionCall) +* [machine images](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::MachineImage) + * [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::MachineImageDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::MachineImageGetCall), [*get iam policy*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::MachineImageGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::MachineImageInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::MachineImageListCall), [*set iam policy*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::MachineImageSetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::MachineImageTestIamPermissionCall) +* [machine types](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::MachineType) + * [*aggregated list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::MachineTypeAggregatedListCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::MachineTypeGetCall) and [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::MachineTypeListCall) +* [network endpoint groups](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NetworkEndpointGroup) + * [*aggregated list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NetworkEndpointGroupAggregatedListCall), [*attach network endpoints*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NetworkEndpointGroupAttachNetworkEndpointCall), [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NetworkEndpointGroupDeleteCall), [*detach network endpoints*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NetworkEndpointGroupDetachNetworkEndpointCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NetworkEndpointGroupGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NetworkEndpointGroupInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NetworkEndpointGroupListCall), [*list network endpoints*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NetworkEndpointGroupListNetworkEndpointCall) and [*test iam permissions*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NetworkEndpointGroupTestIamPermissionCall) * network firewall policies - * [*add association*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NetworkFirewallPolicyAddAssociationCall), [*add rule*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NetworkFirewallPolicyAddRuleCall), [*clone rules*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NetworkFirewallPolicyCloneRuleCall), [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NetworkFirewallPolicyDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NetworkFirewallPolicyGetCall), [*get association*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NetworkFirewallPolicyGetAssociationCall), [*get iam policy*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NetworkFirewallPolicyGetIamPolicyCall), [*get rule*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NetworkFirewallPolicyGetRuleCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NetworkFirewallPolicyInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NetworkFirewallPolicyListCall), [*patch*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NetworkFirewallPolicyPatchCall), [*patch rule*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NetworkFirewallPolicyPatchRuleCall), [*remove association*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NetworkFirewallPolicyRemoveAssociationCall), [*remove rule*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NetworkFirewallPolicyRemoveRuleCall), [*set iam policy*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NetworkFirewallPolicySetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NetworkFirewallPolicyTestIamPermissionCall) -* [networks](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::Network) - * [*add peering*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NetworkAddPeeringCall), [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NetworkDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NetworkGetCall), [*get effective firewalls*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NetworkGetEffectiveFirewallCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NetworkInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NetworkListCall), [*list peering routes*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NetworkListPeeringRouteCall), [*patch*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NetworkPatchCall), [*remove peering*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NetworkRemovePeeringCall), [*switch to custom mode*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NetworkSwitchToCustomModeCall) and [*update peering*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NetworkUpdatePeeringCall) -* [node groups](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NodeGroup) - * [*add nodes*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NodeGroupAddNodeCall), [*aggregated list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NodeGroupAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NodeGroupDeleteCall), [*delete nodes*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NodeGroupDeleteNodeCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NodeGroupGetCall), [*get iam policy*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NodeGroupGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NodeGroupInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NodeGroupListCall), [*list nodes*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NodeGroupListNodeCall), [*patch*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NodeGroupPatchCall), [*set iam policy*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NodeGroupSetIamPolicyCall), [*set node template*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NodeGroupSetNodeTemplateCall) and [*test iam permissions*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NodeGroupTestIamPermissionCall) -* [node templates](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NodeTemplate) - * [*aggregated list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NodeTemplateAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NodeTemplateDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NodeTemplateGetCall), [*get iam policy*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NodeTemplateGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NodeTemplateInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NodeTemplateListCall), [*set iam policy*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NodeTemplateSetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NodeTemplateTestIamPermissionCall) -* [node types](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NodeType) - * [*aggregated list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NodeTypeAggregatedListCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NodeTypeGetCall) and [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::NodeTypeListCall) -* [packet mirrorings](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::PacketMirroring) - * [*aggregated list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::PacketMirroringAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::PacketMirroringDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::PacketMirroringGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::PacketMirroringInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::PacketMirroringListCall), [*patch*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::PacketMirroringPatchCall) and [*test iam permissions*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::PacketMirroringTestIamPermissionCall) -* [projects](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::Project) - * [*disable xpn host*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ProjectDisableXpnHostCall), [*disable xpn resource*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ProjectDisableXpnResourceCall), [*enable xpn host*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ProjectEnableXpnHostCall), [*enable xpn resource*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ProjectEnableXpnResourceCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ProjectGetCall), [*get xpn host*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ProjectGetXpnHostCall), [*get xpn resources*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ProjectGetXpnResourceCall), [*list xpn hosts*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ProjectListXpnHostCall), [*move disk*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ProjectMoveDiskCall), [*move instance*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ProjectMoveInstanceCall), [*set common instance metadata*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ProjectSetCommonInstanceMetadataCall), [*set default network tier*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ProjectSetDefaultNetworkTierCall) and [*set usage export bucket*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ProjectSetUsageExportBucketCall) + * [*add association*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NetworkFirewallPolicyAddAssociationCall), [*add rule*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NetworkFirewallPolicyAddRuleCall), [*clone rules*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NetworkFirewallPolicyCloneRuleCall), [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NetworkFirewallPolicyDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NetworkFirewallPolicyGetCall), [*get association*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NetworkFirewallPolicyGetAssociationCall), [*get iam policy*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NetworkFirewallPolicyGetIamPolicyCall), [*get rule*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NetworkFirewallPolicyGetRuleCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NetworkFirewallPolicyInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NetworkFirewallPolicyListCall), [*patch*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NetworkFirewallPolicyPatchCall), [*patch rule*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NetworkFirewallPolicyPatchRuleCall), [*remove association*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NetworkFirewallPolicyRemoveAssociationCall), [*remove rule*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NetworkFirewallPolicyRemoveRuleCall), [*set iam policy*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NetworkFirewallPolicySetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NetworkFirewallPolicyTestIamPermissionCall) +* [networks](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::Network) + * [*add peering*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NetworkAddPeeringCall), [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NetworkDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NetworkGetCall), [*get effective firewalls*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NetworkGetEffectiveFirewallCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NetworkInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NetworkListCall), [*list peering routes*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NetworkListPeeringRouteCall), [*patch*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NetworkPatchCall), [*remove peering*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NetworkRemovePeeringCall), [*switch to custom mode*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NetworkSwitchToCustomModeCall) and [*update peering*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NetworkUpdatePeeringCall) +* [node groups](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NodeGroup) + * [*add nodes*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NodeGroupAddNodeCall), [*aggregated list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NodeGroupAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NodeGroupDeleteCall), [*delete nodes*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NodeGroupDeleteNodeCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NodeGroupGetCall), [*get iam policy*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NodeGroupGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NodeGroupInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NodeGroupListCall), [*list nodes*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NodeGroupListNodeCall), [*patch*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NodeGroupPatchCall), [*set iam policy*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NodeGroupSetIamPolicyCall), [*set node template*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NodeGroupSetNodeTemplateCall) and [*test iam permissions*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NodeGroupTestIamPermissionCall) +* [node templates](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NodeTemplate) + * [*aggregated list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NodeTemplateAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NodeTemplateDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NodeTemplateGetCall), [*get iam policy*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NodeTemplateGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NodeTemplateInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NodeTemplateListCall), [*set iam policy*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NodeTemplateSetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NodeTemplateTestIamPermissionCall) +* [node types](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NodeType) + * [*aggregated list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NodeTypeAggregatedListCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NodeTypeGetCall) and [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::NodeTypeListCall) +* [packet mirrorings](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::PacketMirroring) + * [*aggregated list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::PacketMirroringAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::PacketMirroringDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::PacketMirroringGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::PacketMirroringInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::PacketMirroringListCall), [*patch*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::PacketMirroringPatchCall) and [*test iam permissions*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::PacketMirroringTestIamPermissionCall) +* [projects](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::Project) + * [*disable xpn host*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ProjectDisableXpnHostCall), [*disable xpn resource*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ProjectDisableXpnResourceCall), [*enable xpn host*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ProjectEnableXpnHostCall), [*enable xpn resource*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ProjectEnableXpnResourceCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ProjectGetCall), [*get xpn host*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ProjectGetXpnHostCall), [*get xpn resources*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ProjectGetXpnResourceCall), [*list xpn hosts*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ProjectListXpnHostCall), [*move disk*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ProjectMoveDiskCall), [*move instance*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ProjectMoveInstanceCall), [*set common instance metadata*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ProjectSetCommonInstanceMetadataCall), [*set default network tier*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ProjectSetDefaultNetworkTierCall) and [*set usage export bucket*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ProjectSetUsageExportBucketCall) * public advertised prefixes - * [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::PublicAdvertisedPrefixeDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::PublicAdvertisedPrefixeGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::PublicAdvertisedPrefixeInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::PublicAdvertisedPrefixeListCall) and [*patch*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::PublicAdvertisedPrefixePatchCall) + * [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::PublicAdvertisedPrefixeDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::PublicAdvertisedPrefixeGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::PublicAdvertisedPrefixeInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::PublicAdvertisedPrefixeListCall) and [*patch*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::PublicAdvertisedPrefixePatchCall) * public delegated prefixes - * [*aggregated list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::PublicDelegatedPrefixeAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::PublicDelegatedPrefixeDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::PublicDelegatedPrefixeGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::PublicDelegatedPrefixeInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::PublicDelegatedPrefixeListCall) and [*patch*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::PublicDelegatedPrefixePatchCall) + * [*aggregated list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::PublicDelegatedPrefixeAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::PublicDelegatedPrefixeDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::PublicDelegatedPrefixeGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::PublicDelegatedPrefixeInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::PublicDelegatedPrefixeListCall) and [*patch*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::PublicDelegatedPrefixePatchCall) * region autoscalers - * [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionAutoscalerDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionAutoscalerGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionAutoscalerInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionAutoscalerListCall), [*patch*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionAutoscalerPatchCall) and [*update*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionAutoscalerUpdateCall) + * [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionAutoscalerDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionAutoscalerGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionAutoscalerInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionAutoscalerListCall), [*patch*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionAutoscalerPatchCall) and [*update*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionAutoscalerUpdateCall) * region backend services - * [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionBackendServiceDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionBackendServiceGetCall), [*get health*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionBackendServiceGetHealthCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionBackendServiceInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionBackendServiceListCall), [*patch*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionBackendServicePatchCall) and [*update*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionBackendServiceUpdateCall) + * [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionBackendServiceDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionBackendServiceGetCall), [*get health*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionBackendServiceGetHealthCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionBackendServiceInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionBackendServiceListCall), [*patch*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionBackendServicePatchCall) and [*update*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionBackendServiceUpdateCall) * region commitments - * [*aggregated list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionCommitmentAggregatedListCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionCommitmentGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionCommitmentInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionCommitmentListCall) and [*update*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionCommitmentUpdateCall) + * [*aggregated list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionCommitmentAggregatedListCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionCommitmentGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionCommitmentInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionCommitmentListCall) and [*update*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionCommitmentUpdateCall) * region disk types - * [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionDiskTypeGetCall) and [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionDiskTypeListCall) + * [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionDiskTypeGetCall) and [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionDiskTypeListCall) * region disks - * [*add resource policies*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionDiskAddResourcePolicyCall), [*create snapshot*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionDiskCreateSnapshotCall), [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionDiskDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionDiskGetCall), [*get iam policy*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionDiskGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionDiskInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionDiskListCall), [*remove resource policies*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionDiskRemoveResourcePolicyCall), [*resize*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionDiskResizeCall), [*set iam policy*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionDiskSetIamPolicyCall), [*set labels*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionDiskSetLabelCall) and [*test iam permissions*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionDiskTestIamPermissionCall) + * [*add resource policies*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionDiskAddResourcePolicyCall), [*create snapshot*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionDiskCreateSnapshotCall), [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionDiskDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionDiskGetCall), [*get iam policy*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionDiskGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionDiskInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionDiskListCall), [*remove resource policies*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionDiskRemoveResourcePolicyCall), [*resize*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionDiskResizeCall), [*set iam policy*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionDiskSetIamPolicyCall), [*set labels*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionDiskSetLabelCall) and [*test iam permissions*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionDiskTestIamPermissionCall) * region health check services - * [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionHealthCheckServiceDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionHealthCheckServiceGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionHealthCheckServiceInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionHealthCheckServiceListCall) and [*patch*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionHealthCheckServicePatchCall) + * [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionHealthCheckServiceDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionHealthCheckServiceGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionHealthCheckServiceInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionHealthCheckServiceListCall) and [*patch*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionHealthCheckServicePatchCall) * region health checks - * [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionHealthCheckDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionHealthCheckGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionHealthCheckInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionHealthCheckListCall), [*patch*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionHealthCheckPatchCall) and [*update*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionHealthCheckUpdateCall) + * [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionHealthCheckDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionHealthCheckGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionHealthCheckInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionHealthCheckListCall), [*patch*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionHealthCheckPatchCall) and [*update*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionHealthCheckUpdateCall) * region instance group managers - * [*abandon instances*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionInstanceGroupManagerAbandonInstanceCall), [*apply updates to instances*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionInstanceGroupManagerApplyUpdatesToInstanceCall), [*create instances*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionInstanceGroupManagerCreateInstanceCall), [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionInstanceGroupManagerDeleteCall), [*delete instances*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionInstanceGroupManagerDeleteInstanceCall), [*delete per instance configs*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionInstanceGroupManagerDeletePerInstanceConfigCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionInstanceGroupManagerGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionInstanceGroupManagerInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionInstanceGroupManagerListCall), [*list errors*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionInstanceGroupManagerListErrorCall), [*list managed instances*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionInstanceGroupManagerListManagedInstanceCall), [*list per instance configs*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionInstanceGroupManagerListPerInstanceConfigCall), [*patch*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionInstanceGroupManagerPatchCall), [*patch per instance configs*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionInstanceGroupManagerPatchPerInstanceConfigCall), [*recreate instances*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionInstanceGroupManagerRecreateInstanceCall), [*resize*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionInstanceGroupManagerResizeCall), [*set instance template*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionInstanceGroupManagerSetInstanceTemplateCall), [*set target pools*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionInstanceGroupManagerSetTargetPoolCall) and [*update per instance configs*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionInstanceGroupManagerUpdatePerInstanceConfigCall) + * [*abandon instances*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionInstanceGroupManagerAbandonInstanceCall), [*apply updates to instances*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionInstanceGroupManagerApplyUpdatesToInstanceCall), [*create instances*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionInstanceGroupManagerCreateInstanceCall), [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionInstanceGroupManagerDeleteCall), [*delete instances*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionInstanceGroupManagerDeleteInstanceCall), [*delete per instance configs*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionInstanceGroupManagerDeletePerInstanceConfigCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionInstanceGroupManagerGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionInstanceGroupManagerInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionInstanceGroupManagerListCall), [*list errors*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionInstanceGroupManagerListErrorCall), [*list managed instances*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionInstanceGroupManagerListManagedInstanceCall), [*list per instance configs*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionInstanceGroupManagerListPerInstanceConfigCall), [*patch*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionInstanceGroupManagerPatchCall), [*patch per instance configs*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionInstanceGroupManagerPatchPerInstanceConfigCall), [*recreate instances*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionInstanceGroupManagerRecreateInstanceCall), [*resize*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionInstanceGroupManagerResizeCall), [*set instance template*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionInstanceGroupManagerSetInstanceTemplateCall), [*set target pools*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionInstanceGroupManagerSetTargetPoolCall) and [*update per instance configs*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionInstanceGroupManagerUpdatePerInstanceConfigCall) * region instance groups - * [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionInstanceGroupGetCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionInstanceGroupListCall), [*list instances*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionInstanceGroupListInstanceCall) and [*set named ports*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionInstanceGroupSetNamedPortCall) + * [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionInstanceGroupGetCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionInstanceGroupListCall), [*list instances*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionInstanceGroupListInstanceCall) and [*set named ports*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionInstanceGroupSetNamedPortCall) * region instances - * [*bulk insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionInstanceBulkInsertCall) + * [*bulk insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionInstanceBulkInsertCall) * region network endpoint groups - * [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionNetworkEndpointGroupDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionNetworkEndpointGroupGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionNetworkEndpointGroupInsertCall) and [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionNetworkEndpointGroupListCall) + * [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionNetworkEndpointGroupDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionNetworkEndpointGroupGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionNetworkEndpointGroupInsertCall) and [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionNetworkEndpointGroupListCall) * region network firewall policies - * [*add association*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionNetworkFirewallPolicyAddAssociationCall), [*add rule*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionNetworkFirewallPolicyAddRuleCall), [*clone rules*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionNetworkFirewallPolicyCloneRuleCall), [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionNetworkFirewallPolicyDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionNetworkFirewallPolicyGetCall), [*get association*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionNetworkFirewallPolicyGetAssociationCall), [*get effective firewalls*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionNetworkFirewallPolicyGetEffectiveFirewallCall), [*get iam policy*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionNetworkFirewallPolicyGetIamPolicyCall), [*get rule*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionNetworkFirewallPolicyGetRuleCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionNetworkFirewallPolicyInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionNetworkFirewallPolicyListCall), [*patch*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionNetworkFirewallPolicyPatchCall), [*patch rule*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionNetworkFirewallPolicyPatchRuleCall), [*remove association*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionNetworkFirewallPolicyRemoveAssociationCall), [*remove rule*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionNetworkFirewallPolicyRemoveRuleCall), [*set iam policy*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionNetworkFirewallPolicySetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionNetworkFirewallPolicyTestIamPermissionCall) + * [*add association*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionNetworkFirewallPolicyAddAssociationCall), [*add rule*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionNetworkFirewallPolicyAddRuleCall), [*clone rules*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionNetworkFirewallPolicyCloneRuleCall), [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionNetworkFirewallPolicyDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionNetworkFirewallPolicyGetCall), [*get association*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionNetworkFirewallPolicyGetAssociationCall), [*get effective firewalls*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionNetworkFirewallPolicyGetEffectiveFirewallCall), [*get iam policy*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionNetworkFirewallPolicyGetIamPolicyCall), [*get rule*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionNetworkFirewallPolicyGetRuleCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionNetworkFirewallPolicyInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionNetworkFirewallPolicyListCall), [*patch*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionNetworkFirewallPolicyPatchCall), [*patch rule*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionNetworkFirewallPolicyPatchRuleCall), [*remove association*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionNetworkFirewallPolicyRemoveAssociationCall), [*remove rule*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionNetworkFirewallPolicyRemoveRuleCall), [*set iam policy*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionNetworkFirewallPolicySetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionNetworkFirewallPolicyTestIamPermissionCall) * region notification endpoints - * [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionNotificationEndpointDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionNotificationEndpointGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionNotificationEndpointInsertCall) and [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionNotificationEndpointListCall) + * [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionNotificationEndpointDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionNotificationEndpointGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionNotificationEndpointInsertCall) and [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionNotificationEndpointListCall) * region operations - * [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionOperationDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionOperationGetCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionOperationListCall) and [*wait*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionOperationWaitCall) + * [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionOperationDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionOperationGetCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionOperationListCall) and [*wait*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionOperationWaitCall) * region ssl certificates - * [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionSslCertificateDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionSslCertificateGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionSslCertificateInsertCall) and [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionSslCertificateListCall) + * [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionSslCertificateDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionSslCertificateGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionSslCertificateInsertCall) and [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionSslCertificateListCall) * region target http proxies - * [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionTargetHttpProxyDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionTargetHttpProxyGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionTargetHttpProxyInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionTargetHttpProxyListCall) and [*set url map*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionTargetHttpProxySetUrlMapCall) + * [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionTargetHttpProxyDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionTargetHttpProxyGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionTargetHttpProxyInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionTargetHttpProxyListCall) and [*set url map*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionTargetHttpProxySetUrlMapCall) * region target https proxies - * [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionTargetHttpsProxyDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionTargetHttpsProxyGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionTargetHttpsProxyInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionTargetHttpsProxyListCall), [*set ssl certificates*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionTargetHttpsProxySetSslCertificateCall) and [*set url map*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionTargetHttpsProxySetUrlMapCall) + * [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionTargetHttpsProxyDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionTargetHttpsProxyGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionTargetHttpsProxyInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionTargetHttpsProxyListCall), [*set ssl certificates*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionTargetHttpsProxySetSslCertificateCall) and [*set url map*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionTargetHttpsProxySetUrlMapCall) * region url maps - * [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionUrlMapDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionUrlMapGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionUrlMapInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionUrlMapListCall), [*patch*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionUrlMapPatchCall), [*update*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionUrlMapUpdateCall) and [*validate*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionUrlMapValidateCall) -* [regions](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::Region) - * [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionGetCall) and [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RegionListCall) -* [reservations](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::Reservation) - * [*aggregated list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ReservationAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ReservationDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ReservationGetCall), [*get iam policy*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ReservationGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ReservationInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ReservationListCall), [*resize*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ReservationResizeCall), [*set iam policy*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ReservationSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ReservationTestIamPermissionCall) and [*update*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ReservationUpdateCall) -* [resource policies](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ResourcePolicy) - * [*aggregated list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ResourcePolicyAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ResourcePolicyDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ResourcePolicyGetCall), [*get iam policy*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ResourcePolicyGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ResourcePolicyInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ResourcePolicyListCall), [*set iam policy*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ResourcePolicySetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ResourcePolicyTestIamPermissionCall) -* [routers](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::Router) - * [*aggregated list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RouterAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RouterDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RouterGetCall), [*get nat mapping info*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RouterGetNatMappingInfoCall), [*get router status*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RouterGetRouterStatuCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RouterInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RouterListCall), [*patch*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RouterPatchCall), [*preview*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RouterPreviewCall) and [*update*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RouterUpdateCall) -* [routes](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::Route) - * [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RouteDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RouteGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RouteInsertCall) and [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::RouteListCall) -* [security policies](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SecurityPolicy) - * [*add rule*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SecurityPolicyAddRuleCall), [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SecurityPolicyDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SecurityPolicyGetCall), [*get rule*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SecurityPolicyGetRuleCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SecurityPolicyInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SecurityPolicyListCall), [*list preconfigured expression sets*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SecurityPolicyListPreconfiguredExpressionSetCall), [*patch*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SecurityPolicyPatchCall), [*patch rule*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SecurityPolicyPatchRuleCall) and [*remove rule*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SecurityPolicyRemoveRuleCall) -* [service attachments](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ServiceAttachment) - * [*aggregated list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ServiceAttachmentAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ServiceAttachmentDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ServiceAttachmentGetCall), [*get iam policy*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ServiceAttachmentGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ServiceAttachmentInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ServiceAttachmentListCall), [*patch*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ServiceAttachmentPatchCall), [*set iam policy*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ServiceAttachmentSetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ServiceAttachmentTestIamPermissionCall) -* [snapshots](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::Snapshot) - * [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SnapshotDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SnapshotGetCall), [*get iam policy*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SnapshotGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SnapshotInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SnapshotListCall), [*set iam policy*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SnapshotSetIamPolicyCall), [*set labels*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SnapshotSetLabelCall) and [*test iam permissions*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SnapshotTestIamPermissionCall) -* [ssl certificates](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SslCertificate) - * [*aggregated list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SslCertificateAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SslCertificateDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SslCertificateGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SslCertificateInsertCall) and [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SslCertificateListCall) -* [ssl policies](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SslPolicy) - * [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SslPolicyDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SslPolicyGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SslPolicyInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SslPolicyListCall), [*list available features*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SslPolicyListAvailableFeatureCall) and [*patch*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SslPolicyPatchCall) -* [subnetworks](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::Subnetwork) - * [*aggregated list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SubnetworkAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SubnetworkDeleteCall), [*expand ip cidr range*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SubnetworkExpandIpCidrRangeCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SubnetworkGetCall), [*get iam policy*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SubnetworkGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SubnetworkInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SubnetworkListCall), [*list usable*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SubnetworkListUsableCall), [*patch*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SubnetworkPatchCall), [*set iam policy*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SubnetworkSetIamPolicyCall), [*set private ip google access*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SubnetworkSetPrivateIpGoogleAccesCall) and [*test iam permissions*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::SubnetworkTestIamPermissionCall) -* [target grpc proxies](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetGrpcProxy) - * [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetGrpcProxyDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetGrpcProxyGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetGrpcProxyInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetGrpcProxyListCall) and [*patch*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetGrpcProxyPatchCall) -* [target http proxies](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetHttpProxy) - * [*aggregated list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetHttpProxyAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetHttpProxyDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetHttpProxyGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetHttpProxyInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetHttpProxyListCall), [*patch*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetHttpProxyPatchCall) and [*set url map*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetHttpProxySetUrlMapCall) -* [target https proxies](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetHttpsProxy) - * [*aggregated list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetHttpsProxyAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetHttpsProxyDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetHttpsProxyGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetHttpsProxyInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetHttpsProxyListCall), [*patch*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetHttpsProxyPatchCall), [*set quic override*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetHttpsProxySetQuicOverrideCall), [*set ssl certificates*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetHttpsProxySetSslCertificateCall), [*set ssl policy*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetHttpsProxySetSslPolicyCall) and [*set url map*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetHttpsProxySetUrlMapCall) -* [target instances](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetInstance) - * [*aggregated list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetInstanceAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetInstanceDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetInstanceGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetInstanceInsertCall) and [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetInstanceListCall) -* [target pools](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetPool) - * [*add health check*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetPoolAddHealthCheckCall), [*add instance*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetPoolAddInstanceCall), [*aggregated list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetPoolAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetPoolDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetPoolGetCall), [*get health*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetPoolGetHealthCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetPoolInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetPoolListCall), [*remove health check*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetPoolRemoveHealthCheckCall), [*remove instance*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetPoolRemoveInstanceCall) and [*set backup*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetPoolSetBackupCall) -* [target ssl proxies](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetSslProxy) - * [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetSslProxyDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetSslProxyGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetSslProxyInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetSslProxyListCall), [*set backend service*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetSslProxySetBackendServiceCall), [*set proxy header*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetSslProxySetProxyHeaderCall), [*set ssl certificates*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetSslProxySetSslCertificateCall) and [*set ssl policy*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetSslProxySetSslPolicyCall) -* [target tcp proxies](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetTcpProxy) - * [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetTcpProxyDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetTcpProxyGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetTcpProxyInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetTcpProxyListCall), [*set backend service*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetTcpProxySetBackendServiceCall) and [*set proxy header*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetTcpProxySetProxyHeaderCall) -* [target vpn gateways](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetVpnGateway) - * [*aggregated list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetVpnGatewayAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetVpnGatewayDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetVpnGatewayGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetVpnGatewayInsertCall) and [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::TargetVpnGatewayListCall) -* [url maps](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::UrlMap) - * [*aggregated list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::UrlMapAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::UrlMapDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::UrlMapGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::UrlMapInsertCall), [*invalidate cache*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::UrlMapInvalidateCacheCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::UrlMapListCall), [*patch*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::UrlMapPatchCall), [*update*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::UrlMapUpdateCall) and [*validate*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::UrlMapValidateCall) -* [vpn gateways](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::VpnGateway) - * [*aggregated list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::VpnGatewayAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::VpnGatewayDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::VpnGatewayGetCall), [*get status*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::VpnGatewayGetStatuCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::VpnGatewayInsertCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::VpnGatewayListCall), [*set labels*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::VpnGatewaySetLabelCall) and [*test iam permissions*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::VpnGatewayTestIamPermissionCall) -* [vpn tunnels](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::VpnTunnel) - * [*aggregated list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::VpnTunnelAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::VpnTunnelDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::VpnTunnelGetCall), [*insert*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::VpnTunnelInsertCall) and [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::VpnTunnelListCall) + * [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionUrlMapDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionUrlMapGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionUrlMapInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionUrlMapListCall), [*patch*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionUrlMapPatchCall), [*update*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionUrlMapUpdateCall) and [*validate*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionUrlMapValidateCall) +* [regions](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::Region) + * [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionGetCall) and [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RegionListCall) +* [reservations](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::Reservation) + * [*aggregated list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ReservationAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ReservationDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ReservationGetCall), [*get iam policy*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ReservationGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ReservationInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ReservationListCall), [*resize*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ReservationResizeCall), [*set iam policy*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ReservationSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ReservationTestIamPermissionCall) and [*update*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ReservationUpdateCall) +* [resource policies](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ResourcePolicy) + * [*aggregated list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ResourcePolicyAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ResourcePolicyDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ResourcePolicyGetCall), [*get iam policy*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ResourcePolicyGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ResourcePolicyInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ResourcePolicyListCall), [*set iam policy*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ResourcePolicySetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ResourcePolicyTestIamPermissionCall) +* [routers](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::Router) + * [*aggregated list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RouterAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RouterDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RouterGetCall), [*get nat mapping info*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RouterGetNatMappingInfoCall), [*get router status*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RouterGetRouterStatuCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RouterInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RouterListCall), [*patch*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RouterPatchCall), [*preview*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RouterPreviewCall) and [*update*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RouterUpdateCall) +* [routes](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::Route) + * [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RouteDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RouteGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RouteInsertCall) and [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::RouteListCall) +* [security policies](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SecurityPolicy) + * [*add rule*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SecurityPolicyAddRuleCall), [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SecurityPolicyDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SecurityPolicyGetCall), [*get rule*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SecurityPolicyGetRuleCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SecurityPolicyInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SecurityPolicyListCall), [*list preconfigured expression sets*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SecurityPolicyListPreconfiguredExpressionSetCall), [*patch*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SecurityPolicyPatchCall), [*patch rule*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SecurityPolicyPatchRuleCall) and [*remove rule*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SecurityPolicyRemoveRuleCall) +* [service attachments](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ServiceAttachment) + * [*aggregated list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ServiceAttachmentAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ServiceAttachmentDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ServiceAttachmentGetCall), [*get iam policy*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ServiceAttachmentGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ServiceAttachmentInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ServiceAttachmentListCall), [*patch*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ServiceAttachmentPatchCall), [*set iam policy*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ServiceAttachmentSetIamPolicyCall) and [*test iam permissions*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ServiceAttachmentTestIamPermissionCall) +* [snapshots](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::Snapshot) + * [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SnapshotDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SnapshotGetCall), [*get iam policy*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SnapshotGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SnapshotInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SnapshotListCall), [*set iam policy*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SnapshotSetIamPolicyCall), [*set labels*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SnapshotSetLabelCall) and [*test iam permissions*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SnapshotTestIamPermissionCall) +* [ssl certificates](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SslCertificate) + * [*aggregated list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SslCertificateAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SslCertificateDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SslCertificateGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SslCertificateInsertCall) and [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SslCertificateListCall) +* [ssl policies](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SslPolicy) + * [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SslPolicyDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SslPolicyGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SslPolicyInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SslPolicyListCall), [*list available features*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SslPolicyListAvailableFeatureCall) and [*patch*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SslPolicyPatchCall) +* [subnetworks](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::Subnetwork) + * [*aggregated list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SubnetworkAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SubnetworkDeleteCall), [*expand ip cidr range*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SubnetworkExpandIpCidrRangeCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SubnetworkGetCall), [*get iam policy*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SubnetworkGetIamPolicyCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SubnetworkInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SubnetworkListCall), [*list usable*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SubnetworkListUsableCall), [*patch*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SubnetworkPatchCall), [*set iam policy*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SubnetworkSetIamPolicyCall), [*set private ip google access*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SubnetworkSetPrivateIpGoogleAccesCall) and [*test iam permissions*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::SubnetworkTestIamPermissionCall) +* [target grpc proxies](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetGrpcProxy) + * [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetGrpcProxyDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetGrpcProxyGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetGrpcProxyInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetGrpcProxyListCall) and [*patch*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetGrpcProxyPatchCall) +* [target http proxies](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetHttpProxy) + * [*aggregated list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetHttpProxyAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetHttpProxyDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetHttpProxyGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetHttpProxyInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetHttpProxyListCall), [*patch*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetHttpProxyPatchCall) and [*set url map*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetHttpProxySetUrlMapCall) +* [target https proxies](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetHttpsProxy) + * [*aggregated list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetHttpsProxyAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetHttpsProxyDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetHttpsProxyGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetHttpsProxyInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetHttpsProxyListCall), [*patch*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetHttpsProxyPatchCall), [*set quic override*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetHttpsProxySetQuicOverrideCall), [*set ssl certificates*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetHttpsProxySetSslCertificateCall), [*set ssl policy*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetHttpsProxySetSslPolicyCall) and [*set url map*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetHttpsProxySetUrlMapCall) +* [target instances](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetInstance) + * [*aggregated list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetInstanceAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetInstanceDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetInstanceGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetInstanceInsertCall) and [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetInstanceListCall) +* [target pools](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetPool) + * [*add health check*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetPoolAddHealthCheckCall), [*add instance*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetPoolAddInstanceCall), [*aggregated list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetPoolAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetPoolDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetPoolGetCall), [*get health*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetPoolGetHealthCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetPoolInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetPoolListCall), [*remove health check*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetPoolRemoveHealthCheckCall), [*remove instance*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetPoolRemoveInstanceCall) and [*set backup*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetPoolSetBackupCall) +* [target ssl proxies](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetSslProxy) + * [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetSslProxyDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetSslProxyGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetSslProxyInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetSslProxyListCall), [*set backend service*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetSslProxySetBackendServiceCall), [*set proxy header*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetSslProxySetProxyHeaderCall), [*set ssl certificates*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetSslProxySetSslCertificateCall) and [*set ssl policy*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetSslProxySetSslPolicyCall) +* [target tcp proxies](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetTcpProxy) + * [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetTcpProxyDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetTcpProxyGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetTcpProxyInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetTcpProxyListCall), [*set backend service*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetTcpProxySetBackendServiceCall) and [*set proxy header*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetTcpProxySetProxyHeaderCall) +* [target vpn gateways](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetVpnGateway) + * [*aggregated list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetVpnGatewayAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetVpnGatewayDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetVpnGatewayGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetVpnGatewayInsertCall) and [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::TargetVpnGatewayListCall) +* [url maps](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::UrlMap) + * [*aggregated list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::UrlMapAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::UrlMapDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::UrlMapGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::UrlMapInsertCall), [*invalidate cache*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::UrlMapInvalidateCacheCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::UrlMapListCall), [*patch*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::UrlMapPatchCall), [*update*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::UrlMapUpdateCall) and [*validate*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::UrlMapValidateCall) +* [vpn gateways](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::VpnGateway) + * [*aggregated list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::VpnGatewayAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::VpnGatewayDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::VpnGatewayGetCall), [*get status*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::VpnGatewayGetStatuCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::VpnGatewayInsertCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::VpnGatewayListCall), [*set labels*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::VpnGatewaySetLabelCall) and [*test iam permissions*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::VpnGatewayTestIamPermissionCall) +* [vpn tunnels](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::VpnTunnel) + * [*aggregated list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::VpnTunnelAggregatedListCall), [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::VpnTunnelDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::VpnTunnelGetCall), [*insert*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::VpnTunnelInsertCall) and [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::VpnTunnelListCall) * zone operations - * [*delete*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ZoneOperationDeleteCall), [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ZoneOperationGetCall), [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ZoneOperationListCall) and [*wait*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ZoneOperationWaitCall) -* [zones](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::Zone) - * [*get*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ZoneGetCall) and [*list*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/api::ZoneListCall) + * [*delete*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ZoneOperationDeleteCall), [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ZoneOperationGetCall), [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ZoneOperationListCall) and [*wait*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ZoneOperationWaitCall) +* [zones](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::Zone) + * [*get*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ZoneGetCall) and [*list*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/api::ZoneListCall) @@ -191,17 +191,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/Compute)** +* **[Hub](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/Compute)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/client::CallBuilder) -* **[Resources](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/client::CallBuilder) +* **[Resources](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/client::Part)** + * **[Parts](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -600,7 +600,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -636,17 +636,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -656,29 +656,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/client::Delegate) to the -[Method Builder](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/client::Delegate) to the +[Method Builder](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/client::RequestValue) and -[decodable](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/client::RequestValue) and +[decodable](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-compute1/3.0.0+20220224/google_compute1/client::RequestValue) are moved +* [request values](https://docs.rs/google-compute1/3.1.0+20220224/google_compute1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/compute1/src/api.rs b/gen/compute1/src/api.rs index b7e314338f..d2525d640d 100644 --- a/gen/compute1/src/api.rs +++ b/gen/compute1/src/api.rs @@ -91,7 +91,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -142,7 +142,7 @@ impl<'a, > Compute<> { Compute { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://compute.googleapis.com/compute/v1/".to_string(), _root_url: "https://compute.googleapis.com/".to_string(), } @@ -405,7 +405,7 @@ impl<'a, > Compute<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -22121,7 +22121,7 @@ impl client::Part for ZoneListWarningData {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `aggregated_list(...)`, `get(...)` and `list(...)` /// // to build up your call. @@ -22230,7 +22230,7 @@ impl<'a> AcceleratorTypeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `aggregated_list(...)`, `delete(...)`, `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -22383,7 +22383,7 @@ impl<'a> AddresseMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `aggregated_list(...)`, `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -22582,7 +22582,7 @@ impl<'a> AutoscalerMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `add_signed_url_key(...)`, `delete(...)`, `delete_signed_url_key(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)`, `set_edge_security_policy(...)` and `update(...)` /// // to build up your call. @@ -22814,7 +22814,7 @@ impl<'a> BackendBucketMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `add_signed_url_key(...)`, `aggregated_list(...)`, `delete(...)`, `delete_signed_url_key(...)`, `get(...)`, `get_health(...)`, `insert(...)`, `list(...)`, `patch(...)`, `set_edge_security_policy(...)`, `set_security_policy(...)` and `update(...)` /// // to build up your call. @@ -23112,7 +23112,7 @@ impl<'a> BackendServiceMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `aggregated_list(...)`, `get(...)` and `list(...)` /// // to build up your call. @@ -23221,7 +23221,7 @@ impl<'a> DiskTypeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `add_resource_policies(...)`, `aggregated_list(...)`, `create_snapshot(...)`, `delete(...)`, `get(...)`, `get_iam_policy(...)`, `insert(...)`, `list(...)`, `remove_resource_policies(...)`, `resize(...)`, `set_iam_policy(...)`, `set_labels(...)` and `test_iam_permissions(...)` /// // to build up your call. @@ -23564,7 +23564,7 @@ impl<'a> DiskMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `set_labels(...)` and `test_iam_permissions(...)` /// // to build up your call. @@ -23728,7 +23728,7 @@ impl<'a> ExternalVpnGatewayMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `add_association(...)`, `add_rule(...)`, `clone_rules(...)`, `delete(...)`, `get(...)`, `get_association(...)`, `get_iam_policy(...)`, `get_rule(...)`, `insert(...)`, `list(...)`, `list_associations(...)`, `move_(...)`, `patch(...)`, `patch_rule(...)`, `remove_association(...)`, `remove_rule(...)`, `set_iam_policy(...)` and `test_iam_permissions(...)` /// // to build up your call. @@ -24104,7 +24104,7 @@ impl<'a> FirewallPolicyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -24270,7 +24270,7 @@ impl<'a> FirewallMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `aggregated_list(...)`, `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)`, `set_labels(...)` and `set_target(...)` /// // to build up your call. @@ -24495,7 +24495,7 @@ impl<'a> ForwardingRuleMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -24617,7 +24617,7 @@ impl<'a> GlobalAddresseMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)`, `set_labels(...)` and `set_target(...)` /// // to build up your call. @@ -24804,7 +24804,7 @@ impl<'a> GlobalForwardingRuleMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `attach_network_endpoints(...)`, `delete(...)`, `detach_network_endpoints(...)`, `get(...)`, `insert(...)`, `list(...)` and `list_network_endpoints(...)` /// // to build up your call. @@ -24994,7 +24994,7 @@ impl<'a> GlobalNetworkEndpointGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `aggregated_list(...)`, `delete(...)`, `get(...)`, `list(...)` and `wait(...)` /// // to build up your call. @@ -25137,7 +25137,7 @@ impl<'a> GlobalOperationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)` and `list(...)` /// // to build up your call. @@ -25232,7 +25232,7 @@ impl<'a> GlobalOrganizationOperationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)` and `patch(...)` /// // to build up your call. @@ -25376,7 +25376,7 @@ impl<'a> GlobalPublicDelegatedPrefixeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `aggregated_list(...)`, `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -25565,7 +25565,7 @@ impl<'a> HealthCheckMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -25731,7 +25731,7 @@ impl<'a> HttpHealthCheckMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -25897,7 +25897,7 @@ impl<'a> HttpsHealthCheckMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -25959,7 +25959,7 @@ impl<'a> ImageFamilyViewMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `deprecate(...)`, `get(...)`, `get_from_family(...)`, `get_iam_policy(...)`, `insert(...)`, `list(...)`, `patch(...)`, `set_iam_policy(...)`, `set_labels(...)` and `test_iam_permissions(...)` /// // to build up your call. @@ -26228,7 +26228,7 @@ impl<'a> ImageMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `abandon_instances(...)`, `aggregated_list(...)`, `apply_updates_to_instances(...)`, `create_instances(...)`, `delete(...)`, `delete_instances(...)`, `delete_per_instance_configs(...)`, `get(...)`, `insert(...)`, `list(...)`, `list_errors(...)`, `list_managed_instances(...)`, `list_per_instance_configs(...)`, `patch(...)`, `patch_per_instance_configs(...)`, `recreate_instances(...)`, `resize(...)`, `set_instance_template(...)`, `set_target_pools(...)` and `update_per_instance_configs(...)` /// // to build up your call. @@ -26745,7 +26745,7 @@ impl<'a> InstanceGroupManagerMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `add_instances(...)`, `aggregated_list(...)`, `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `list_instances(...)`, `remove_instances(...)` and `set_named_ports(...)` /// // to build up your call. @@ -26998,7 +26998,7 @@ impl<'a> InstanceGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `get_iam_policy(...)`, `insert(...)`, `list(...)`, `set_iam_policy(...)` and `test_iam_permissions(...)` /// // to build up your call. @@ -27182,7 +27182,7 @@ impl<'a> InstanceTemplateMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `add_access_config(...)`, `add_resource_policies(...)`, `aggregated_list(...)`, `attach_disk(...)`, `bulk_insert(...)`, `delete(...)`, `delete_access_config(...)`, `detach_disk(...)`, `get(...)`, `get_effective_firewalls(...)`, `get_guest_attributes(...)`, `get_iam_policy(...)`, `get_screenshot(...)`, `get_serial_port_output(...)`, `get_shielded_instance_identity(...)`, `insert(...)`, `list(...)`, `list_referrers(...)`, `remove_resource_policies(...)`, `reset(...)`, `resume(...)`, `send_diagnostic_interrupt(...)`, `set_deletion_protection(...)`, `set_disk_auto_delete(...)`, `set_iam_policy(...)`, `set_labels(...)`, `set_machine_resources(...)`, `set_machine_type(...)`, `set_metadata(...)`, `set_min_cpu_platform(...)`, `set_scheduling(...)`, `set_service_account(...)`, `set_shielded_instance_integrity_policy(...)`, `set_tags(...)`, `simulate_maintenance_event(...)`, `start(...)`, `start_with_encryption_key(...)`, `stop(...)`, `suspend(...)`, `test_iam_permissions(...)`, `update(...)`, `update_access_config(...)`, `update_display_device(...)`, `update_network_interface(...)` and `update_shielded_instance_config(...)` /// // to build up your call. @@ -28280,7 +28280,7 @@ impl<'a> InstanceMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `aggregated_list(...)`, `delete(...)`, `get(...)`, `insert(...)`, `list(...)` and `patch(...)` /// // to build up your call. @@ -28458,7 +28458,7 @@ impl<'a> InterconnectAttachmentMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -28540,7 +28540,7 @@ impl<'a> InterconnectLocationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `get_diagnostics(...)`, `insert(...)`, `list(...)` and `patch(...)` /// // to build up your call. @@ -28703,7 +28703,7 @@ impl<'a> InterconnectMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `test_iam_permissions(...)` /// // to build up your call. @@ -28784,7 +28784,7 @@ impl<'a> LicenseCodeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `get_iam_policy(...)`, `insert(...)`, `list(...)`, `set_iam_policy(...)` and `test_iam_permissions(...)` /// // to build up your call. @@ -28968,7 +28968,7 @@ impl<'a> LicenseMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `get_iam_policy(...)`, `insert(...)`, `list(...)`, `set_iam_policy(...)` and `test_iam_permissions(...)` /// // to build up your call. @@ -29153,7 +29153,7 @@ impl<'a> MachineImageMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `aggregated_list(...)`, `get(...)` and `list(...)` /// // to build up your call. @@ -29262,7 +29262,7 @@ impl<'a> MachineTypeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `aggregated_list(...)`, `attach_network_endpoints(...)`, `delete(...)`, `detach_network_endpoints(...)`, `get(...)`, `insert(...)`, `list(...)`, `list_network_endpoints(...)` and `test_iam_permissions(...)` /// // to build up your call. @@ -29514,7 +29514,7 @@ impl<'a> NetworkEndpointGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `add_association(...)`, `add_rule(...)`, `clone_rules(...)`, `delete(...)`, `get(...)`, `get_association(...)`, `get_iam_policy(...)`, `get_rule(...)`, `insert(...)`, `list(...)`, `patch(...)`, `patch_rule(...)`, `remove_association(...)`, `remove_rule(...)`, `set_iam_policy(...)` and `test_iam_permissions(...)` /// // to build up your call. @@ -29893,7 +29893,7 @@ impl<'a> NetworkFirewallPolicyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `add_peering(...)`, `delete(...)`, `get(...)`, `get_effective_firewalls(...)`, `insert(...)`, `list(...)`, `list_peering_routes(...)`, `patch(...)`, `remove_peering(...)`, `switch_to_custom_mode(...)` and `update_peering(...)` /// // to build up your call. @@ -30169,7 +30169,7 @@ impl<'a> NetworkMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `add_nodes(...)`, `aggregated_list(...)`, `delete(...)`, `delete_nodes(...)`, `get(...)`, `get_iam_policy(...)`, `insert(...)`, `list(...)`, `list_nodes(...)`, `patch(...)`, `set_iam_policy(...)`, `set_node_template(...)` and `test_iam_permissions(...)` /// // to build up your call. @@ -30514,7 +30514,7 @@ impl<'a> NodeGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `aggregated_list(...)`, `delete(...)`, `get(...)`, `get_iam_policy(...)`, `insert(...)`, `list(...)`, `set_iam_policy(...)` and `test_iam_permissions(...)` /// // to build up your call. @@ -30735,7 +30735,7 @@ impl<'a> NodeTemplateMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `aggregated_list(...)`, `get(...)` and `list(...)` /// // to build up your call. @@ -30844,7 +30844,7 @@ impl<'a> NodeTypeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `aggregated_list(...)`, `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `test_iam_permissions(...)` /// // to build up your call. @@ -31044,7 +31044,7 @@ impl<'a> PacketMirroringMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `disable_xpn_host(...)`, `disable_xpn_resource(...)`, `enable_xpn_host(...)`, `enable_xpn_resource(...)`, `get(...)`, `get_xpn_host(...)`, `get_xpn_resources(...)`, `list_xpn_hosts(...)`, `move_disk(...)`, `move_instance(...)`, `set_common_instance_metadata(...)`, `set_default_network_tier(...)` and `set_usage_export_bucket(...)` /// // to build up your call. @@ -31341,7 +31341,7 @@ impl<'a> ProjectMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)` and `patch(...)` /// // to build up your call. @@ -31485,7 +31485,7 @@ impl<'a> PublicAdvertisedPrefixeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `aggregated_list(...)`, `delete(...)`, `get(...)`, `insert(...)`, `list(...)` and `patch(...)` /// // to build up your call. @@ -31662,7 +31662,7 @@ impl<'a> PublicDelegatedPrefixeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -31838,7 +31838,7 @@ impl<'a> RegionAutoscalerMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `get_health(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -32039,7 +32039,7 @@ impl<'a> RegionBackendServiceMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `aggregated_list(...)`, `get(...)`, `insert(...)`, `list(...)` and `update(...)` /// // to build up your call. @@ -32196,7 +32196,7 @@ impl<'a> RegionCommitmentMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -32282,7 +32282,7 @@ impl<'a> RegionDiskTypeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `add_resource_policies(...)`, `create_snapshot(...)`, `delete(...)`, `get(...)`, `get_iam_policy(...)`, `insert(...)`, `list(...)`, `remove_resource_policies(...)`, `resize(...)`, `set_iam_policy(...)`, `set_labels(...)` and `test_iam_permissions(...)` /// // to build up your call. @@ -32601,7 +32601,7 @@ impl<'a> RegionDiskMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)` and `patch(...)` /// // to build up your call. @@ -32755,7 +32755,7 @@ impl<'a> RegionHealthCheckServiceMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -32933,7 +32933,7 @@ impl<'a> RegionHealthCheckMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `abandon_instances(...)`, `apply_updates_to_instances(...)`, `create_instances(...)`, `delete(...)`, `delete_instances(...)`, `delete_per_instance_configs(...)`, `get(...)`, `insert(...)`, `list(...)`, `list_errors(...)`, `list_managed_instances(...)`, `list_per_instance_configs(...)`, `patch(...)`, `patch_per_instance_configs(...)`, `recreate_instances(...)`, `resize(...)`, `set_instance_template(...)`, `set_target_pools(...)` and `update_per_instance_configs(...)` /// // to build up your call. @@ -33427,7 +33427,7 @@ impl<'a> RegionInstanceGroupManagerMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)`, `list_instances(...)` and `set_named_ports(...)` /// // to build up your call. @@ -33565,7 +33565,7 @@ impl<'a> RegionInstanceGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `bulk_insert(...)` /// // to build up your call. @@ -33628,7 +33628,7 @@ impl<'a> RegionInstanceMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -33758,7 +33758,7 @@ impl<'a> RegionNetworkEndpointGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `add_association(...)`, `add_rule(...)`, `clone_rules(...)`, `delete(...)`, `get(...)`, `get_association(...)`, `get_effective_firewalls(...)`, `get_iam_policy(...)`, `get_rule(...)`, `insert(...)`, `list(...)`, `patch(...)`, `patch_rule(...)`, `remove_association(...)`, `remove_rule(...)`, `set_iam_policy(...)` and `test_iam_permissions(...)` /// // to build up your call. @@ -34190,7 +34190,7 @@ impl<'a> RegionNetworkFirewallPolicyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -34320,7 +34320,7 @@ impl<'a> RegionNotificationEndpointMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `list(...)` and `wait(...)` /// // to build up your call. @@ -34448,7 +34448,7 @@ impl<'a> RegionOperationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -34578,7 +34578,7 @@ impl<'a> RegionSslCertificateMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)` and `set_url_map(...)` /// // to build up your call. @@ -34732,7 +34732,7 @@ impl<'a> RegionTargetHttpProxyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `set_ssl_certificates(...)` and `set_url_map(...)` /// // to build up your call. @@ -34910,7 +34910,7 @@ impl<'a> RegionTargetHttpsProxyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)`, `update(...)` and `validate(...)` /// // to build up your call. @@ -35111,7 +35111,7 @@ impl<'a> RegionUrlMapMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -35193,7 +35193,7 @@ impl<'a> RegionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `aggregated_list(...)`, `delete(...)`, `get(...)`, `get_iam_policy(...)`, `insert(...)`, `list(...)`, `resize(...)`, `set_iam_policy(...)`, `test_iam_permissions(...)` and `update(...)` /// // to build up your call. @@ -35464,7 +35464,7 @@ impl<'a> ReservationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `aggregated_list(...)`, `delete(...)`, `get(...)`, `get_iam_policy(...)`, `insert(...)`, `list(...)`, `set_iam_policy(...)` and `test_iam_permissions(...)` /// // to build up your call. @@ -35685,7 +35685,7 @@ impl<'a> ResourcePolicyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `aggregated_list(...)`, `delete(...)`, `get(...)`, `get_nat_mapping_info(...)`, `get_router_status(...)`, `insert(...)`, `list(...)`, `patch(...)`, `preview(...)` and `update(...)` /// // to build up your call. @@ -35956,7 +35956,7 @@ impl<'a> RouterMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -36078,7 +36078,7 @@ impl<'a> RouteMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `add_rule(...)`, `delete(...)`, `get(...)`, `get_rule(...)`, `insert(...)`, `list(...)`, `list_preconfigured_expression_sets(...)`, `patch(...)`, `patch_rule(...)` and `remove_rule(...)` /// // to build up your call. @@ -36327,7 +36327,7 @@ impl<'a> SecurityPolicyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `aggregated_list(...)`, `delete(...)`, `get(...)`, `get_iam_policy(...)`, `insert(...)`, `list(...)`, `patch(...)`, `set_iam_policy(...)` and `test_iam_permissions(...)` /// // to build up your call. @@ -36572,7 +36572,7 @@ impl<'a> ServiceAttachmentMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `get_iam_policy(...)`, `insert(...)`, `list(...)`, `set_iam_policy(...)`, `set_labels(...)` and `test_iam_permissions(...)` /// // to build up your call. @@ -36777,7 +36777,7 @@ impl<'a> SnapshotMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `aggregated_list(...)`, `delete(...)`, `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -36922,7 +36922,7 @@ impl<'a> SslCertificateMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `list_available_features(...)` and `patch(...)` /// // to build up your call. @@ -37088,7 +37088,7 @@ impl<'a> SslPolicyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `aggregated_list(...)`, `delete(...)`, `expand_ip_cidr_range(...)`, `get(...)`, `get_iam_policy(...)`, `insert(...)`, `list(...)`, `list_usable(...)`, `patch(...)`, `set_iam_policy(...)`, `set_private_ip_google_access(...)` and `test_iam_permissions(...)` /// // to build up your call. @@ -37404,7 +37404,7 @@ impl<'a> SubnetworkMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)` and `patch(...)` /// // to build up your call. @@ -37548,7 +37548,7 @@ impl<'a> TargetGrpcProxyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `aggregated_list(...)`, `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `set_url_map(...)` /// // to build up your call. @@ -37737,7 +37737,7 @@ impl<'a> TargetHttpProxyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `aggregated_list(...)`, `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)`, `set_quic_override(...)`, `set_ssl_certificates(...)`, `set_ssl_policy(...)` and `set_url_map(...)` /// // to build up your call. @@ -37992,7 +37992,7 @@ impl<'a> TargetHttpsProxyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `aggregated_list(...)`, `delete(...)`, `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -38145,7 +38145,7 @@ impl<'a> TargetInstanceMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `add_health_check(...)`, `add_instance(...)`, `aggregated_list(...)`, `delete(...)`, `get(...)`, `get_health(...)`, `insert(...)`, `list(...)`, `remove_health_check(...)`, `remove_instance(...)` and `set_backup(...)` /// // to build up your call. @@ -38442,7 +38442,7 @@ impl<'a> TargetPoolMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `set_backend_service(...)`, `set_proxy_header(...)`, `set_ssl_certificates(...)` and `set_ssl_policy(...)` /// // to build up your call. @@ -38652,7 +38652,7 @@ impl<'a> TargetSslProxyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `set_backend_service(...)` and `set_proxy_header(...)` /// // to build up your call. @@ -38818,7 +38818,7 @@ impl<'a> TargetTcpProxyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `aggregated_list(...)`, `delete(...)`, `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -38971,7 +38971,7 @@ impl<'a> TargetVpnGatewayMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `aggregated_list(...)`, `delete(...)`, `get(...)`, `insert(...)`, `invalidate_cache(...)`, `list(...)`, `patch(...)`, `update(...)` and `validate(...)` /// // to build up your call. @@ -39203,7 +39203,7 @@ impl<'a> UrlMapMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `aggregated_list(...)`, `delete(...)`, `get(...)`, `get_status(...)`, `insert(...)`, `list(...)`, `set_labels(...)` and `test_iam_permissions(...)` /// // to build up your call. @@ -39424,7 +39424,7 @@ impl<'a> VpnGatewayMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `aggregated_list(...)`, `delete(...)`, `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -39577,7 +39577,7 @@ impl<'a> VpnTunnelMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `list(...)` and `wait(...)` /// // to build up your call. @@ -39705,7 +39705,7 @@ impl<'a> ZoneOperationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -39794,7 +39794,7 @@ impl<'a> ZoneMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -40119,7 +40119,7 @@ impl<'a> AcceleratorTypeAggregatedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -40396,7 +40396,7 @@ impl<'a> AcceleratorTypeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -40721,7 +40721,7 @@ impl<'a> AcceleratorTypeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -41046,7 +41046,7 @@ impl<'a> AddresseAggregatedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -41335,7 +41335,7 @@ impl<'a> AddresseDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -41613,7 +41613,7 @@ impl<'a> AddresseGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -41919,7 +41919,7 @@ impl<'a> AddresseInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -42244,7 +42244,7 @@ impl<'a> AddresseListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -42569,7 +42569,7 @@ impl<'a> AutoscalerAggregatedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -42858,7 +42858,7 @@ impl<'a> AutoscalerDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -43136,7 +43136,7 @@ impl<'a> AutoscalerGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -43442,7 +43442,7 @@ impl<'a> AutoscalerInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -43768,7 +43768,7 @@ impl<'a> AutoscalerListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -44087,7 +44087,7 @@ impl<'a> AutoscalerPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -44406,7 +44406,7 @@ impl<'a> AutoscalerUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -44712,7 +44712,7 @@ impl<'a> BackendBucketAddSignedUrlKeyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44989,7 +44989,7 @@ impl<'a> BackendBucketDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -45278,7 +45278,7 @@ impl<'a> BackendBucketDeleteSignedUrlKeyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -45544,7 +45544,7 @@ impl<'a> BackendBucketGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -45838,7 +45838,7 @@ impl<'a> BackendBucketInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46152,7 +46152,7 @@ impl<'a> BackendBucketListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -46459,7 +46459,7 @@ impl<'a> BackendBucketPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -46766,7 +46766,7 @@ impl<'a> BackendBucketSetEdgeSecurityPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -47073,7 +47073,7 @@ impl<'a> BackendBucketUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -47379,7 +47379,7 @@ impl<'a> BackendServiceAddSignedUrlKeyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47704,7 +47704,7 @@ impl<'a> BackendServiceAggregatedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47981,7 +47981,7 @@ impl<'a> BackendServiceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48270,7 +48270,7 @@ impl<'a> BackendServiceDeleteSignedUrlKeyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48536,7 +48536,7 @@ impl<'a> BackendServiceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -48830,7 +48830,7 @@ impl<'a> BackendServiceGetHealthCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -49124,7 +49124,7 @@ impl<'a> BackendServiceInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49438,7 +49438,7 @@ impl<'a> BackendServiceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -49745,7 +49745,7 @@ impl<'a> BackendServicePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -50052,7 +50052,7 @@ impl<'a> BackendServiceSetEdgeSecurityPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -50359,7 +50359,7 @@ impl<'a> BackendServiceSetSecurityPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -50665,7 +50665,7 @@ impl<'a> BackendServiceUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -50990,7 +50990,7 @@ impl<'a> DiskTypeAggregatedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -51267,7 +51267,7 @@ impl<'a> DiskTypeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -51593,7 +51593,7 @@ impl<'a> DiskTypeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -51911,7 +51911,7 @@ impl<'a> DiskAddResourcePolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -52237,7 +52237,7 @@ impl<'a> DiskAggregatedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -52567,7 +52567,7 @@ impl<'a> DiskCreateSnapshotCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -52856,7 +52856,7 @@ impl<'a> DiskDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -53133,7 +53133,7 @@ impl<'a> DiskGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -53423,7 +53423,7 @@ impl<'a> DiskGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -53741,7 +53741,7 @@ impl<'a> DiskInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -54067,7 +54067,7 @@ impl<'a> DiskListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -54386,7 +54386,7 @@ impl<'a> DiskRemoveResourcePolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -54705,7 +54705,7 @@ impl<'a> DiskResizeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -55012,7 +55012,7 @@ impl<'a> DiskSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -55331,7 +55331,7 @@ impl<'a> DiskSetLabelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -55637,7 +55637,7 @@ impl<'a> DiskTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -55914,7 +55914,7 @@ impl<'a> ExternalVpnGatewayDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -56180,7 +56180,7 @@ impl<'a> ExternalVpnGatewayGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -56474,7 +56474,7 @@ impl<'a> ExternalVpnGatewayInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -56788,7 +56788,7 @@ impl<'a> ExternalVpnGatewayListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -57083,7 +57083,7 @@ impl<'a> ExternalVpnGatewaySetLabelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -57378,7 +57378,7 @@ impl<'a> ExternalVpnGatewayTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -57685,7 +57685,7 @@ impl<'a> FirewallPolicyAddAssociationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -57979,7 +57979,7 @@ impl<'a> FirewallPolicyAddRuleCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58256,7 +58256,7 @@ impl<'a> FirewallPolicyCloneRuleCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58521,7 +58521,7 @@ impl<'a> FirewallPolicyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58774,7 +58774,7 @@ impl<'a> FirewallPolicyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -59039,7 +59039,7 @@ impl<'a> FirewallPolicyGetAssociationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -59304,7 +59304,7 @@ impl<'a> FirewallPolicyGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -59570,7 +59570,7 @@ impl<'a> FirewallPolicyGetRuleCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -59843,7 +59843,7 @@ impl<'a> FirewallPolicyInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -60135,7 +60135,7 @@ impl<'a> FirewallPolicyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -60367,7 +60367,7 @@ impl<'a> FirewallPolicyListAssociationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -60645,7 +60645,7 @@ impl<'a> FirewallPolicyMoveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -60940,7 +60940,7 @@ impl<'a> FirewallPolicyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -61246,7 +61246,7 @@ impl<'a> FirewallPolicyPatchRuleCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -61523,7 +61523,7 @@ impl<'a> FirewallPolicyRemoveAssociationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -61801,7 +61801,7 @@ impl<'a> FirewallPolicyRemoveRuleCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -62084,7 +62084,7 @@ impl<'a> FirewallPolicySetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -62366,7 +62366,7 @@ impl<'a> FirewallPolicyTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -62643,7 +62643,7 @@ impl<'a> FirewallDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -62909,7 +62909,7 @@ impl<'a> FirewallGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -63203,7 +63203,7 @@ impl<'a> FirewallInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63517,7 +63517,7 @@ impl<'a> FirewallListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -63824,7 +63824,7 @@ impl<'a> FirewallPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -64130,7 +64130,7 @@ impl<'a> FirewallUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -64455,7 +64455,7 @@ impl<'a> ForwardingRuleAggregatedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -64744,7 +64744,7 @@ impl<'a> ForwardingRuleDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -65022,7 +65022,7 @@ impl<'a> ForwardingRuleGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -65328,7 +65328,7 @@ impl<'a> ForwardingRuleInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -65654,7 +65654,7 @@ impl<'a> ForwardingRuleListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -65973,7 +65973,7 @@ impl<'a> ForwardingRulePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -66292,7 +66292,7 @@ impl<'a> ForwardingRuleSetLabelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -66610,7 +66610,7 @@ impl<'a> ForwardingRuleSetTargetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -66887,7 +66887,7 @@ impl<'a> GlobalAddresseDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -67153,7 +67153,7 @@ impl<'a> GlobalAddresseGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -67447,7 +67447,7 @@ impl<'a> GlobalAddresseInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -67760,7 +67760,7 @@ impl<'a> GlobalAddresseListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -68037,7 +68037,7 @@ impl<'a> GlobalForwardingRuleDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -68303,7 +68303,7 @@ impl<'a> GlobalForwardingRuleGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -68597,7 +68597,7 @@ impl<'a> GlobalForwardingRuleInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -68911,7 +68911,7 @@ impl<'a> GlobalForwardingRuleListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -69218,7 +69218,7 @@ impl<'a> GlobalForwardingRulePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -69513,7 +69513,7 @@ impl<'a> GlobalForwardingRuleSetLabelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -69820,7 +69820,7 @@ impl<'a> GlobalForwardingRuleSetTargetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -70126,7 +70126,7 @@ impl<'a> GlobalNetworkEndpointGroupAttachNetworkEndpointCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -70404,7 +70404,7 @@ impl<'a> GlobalNetworkEndpointGroupDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -70710,7 +70710,7 @@ impl<'a> GlobalNetworkEndpointGroupDetachNetworkEndpointCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -70976,7 +70976,7 @@ impl<'a> GlobalNetworkEndpointGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -71270,7 +71270,7 @@ impl<'a> GlobalNetworkEndpointGroupInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -71583,7 +71583,7 @@ impl<'a> GlobalNetworkEndpointGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -71908,7 +71908,7 @@ impl<'a> GlobalNetworkEndpointGroupListNetworkEndpointCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -72233,7 +72233,7 @@ impl<'a> GlobalOperationAggregatedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -72487,7 +72487,7 @@ impl<'a> GlobalOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -72752,7 +72752,7 @@ impl<'a> GlobalOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -73065,7 +73065,7 @@ impl<'a> GlobalOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -73330,7 +73330,7 @@ impl<'a> GlobalOperationWaitCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -73584,7 +73584,7 @@ impl<'a> GlobalOrganizationOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -73849,7 +73849,7 @@ impl<'a> GlobalOrganizationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -74141,7 +74141,7 @@ impl<'a> GlobalOrganizationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -74418,7 +74418,7 @@ impl<'a> GlobalPublicDelegatedPrefixeDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -74684,7 +74684,7 @@ impl<'a> GlobalPublicDelegatedPrefixeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -74978,7 +74978,7 @@ impl<'a> GlobalPublicDelegatedPrefixeInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -75292,7 +75292,7 @@ impl<'a> GlobalPublicDelegatedPrefixeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -75598,7 +75598,7 @@ impl<'a> GlobalPublicDelegatedPrefixePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -75923,7 +75923,7 @@ impl<'a> HealthCheckAggregatedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -76200,7 +76200,7 @@ impl<'a> HealthCheckDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -76466,7 +76466,7 @@ impl<'a> HealthCheckGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -76760,7 +76760,7 @@ impl<'a> HealthCheckInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -77074,7 +77074,7 @@ impl<'a> HealthCheckListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -77381,7 +77381,7 @@ impl<'a> HealthCheckPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -77687,7 +77687,7 @@ impl<'a> HealthCheckUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -77964,7 +77964,7 @@ impl<'a> HttpHealthCheckDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -78230,7 +78230,7 @@ impl<'a> HttpHealthCheckGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -78524,7 +78524,7 @@ impl<'a> HttpHealthCheckInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -78838,7 +78838,7 @@ impl<'a> HttpHealthCheckListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -79145,7 +79145,7 @@ impl<'a> HttpHealthCheckPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -79451,7 +79451,7 @@ impl<'a> HttpHealthCheckUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -79728,7 +79728,7 @@ impl<'a> HttpsHealthCheckDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -79994,7 +79994,7 @@ impl<'a> HttpsHealthCheckGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -80288,7 +80288,7 @@ impl<'a> HttpsHealthCheckInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -80602,7 +80602,7 @@ impl<'a> HttpsHealthCheckListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -80909,7 +80909,7 @@ impl<'a> HttpsHealthCheckPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -81215,7 +81215,7 @@ impl<'a> HttpsHealthCheckUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -81492,7 +81492,7 @@ impl<'a> ImageFamilyViewGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -81770,7 +81770,7 @@ impl<'a> ImageDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -82076,7 +82076,7 @@ impl<'a> ImageDeprecateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -82341,7 +82341,7 @@ impl<'a> ImageGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -82606,7 +82606,7 @@ impl<'a> ImageGetFromFamilyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -82884,7 +82884,7 @@ impl<'a> ImageGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -83190,7 +83190,7 @@ impl<'a> ImageInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -83504,7 +83504,7 @@ impl<'a> ImageListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -83811,7 +83811,7 @@ impl<'a> ImagePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -84106,7 +84106,7 @@ impl<'a> ImageSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -84401,7 +84401,7 @@ impl<'a> ImageSetLabelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -84696,7 +84696,7 @@ impl<'a> ImageTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -85014,7 +85014,7 @@ impl<'a> InstanceGroupManagerAbandonInstanceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -85340,7 +85340,7 @@ impl<'a> InstanceGroupManagerAggregatedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -85647,7 +85647,7 @@ impl<'a> InstanceGroupManagerApplyUpdatesToInstanceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -85965,7 +85965,7 @@ impl<'a> InstanceGroupManagerCreateInstanceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -86255,7 +86255,7 @@ impl<'a> InstanceGroupManagerDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -86574,7 +86574,7 @@ impl<'a> InstanceGroupManagerDeleteInstanceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -86880,7 +86880,7 @@ impl<'a> InstanceGroupManagerDeletePerInstanceConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -87158,7 +87158,7 @@ impl<'a> InstanceGroupManagerGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -87464,7 +87464,7 @@ impl<'a> InstanceGroupManagerInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -87789,7 +87789,7 @@ impl<'a> InstanceGroupManagerListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -88126,7 +88126,7 @@ impl<'a> InstanceGroupManagerListErrorCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -88463,7 +88463,7 @@ impl<'a> InstanceGroupManagerListManagedInstanceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -88801,7 +88801,7 @@ impl<'a> InstanceGroupManagerListPerInstanceConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -89120,7 +89120,7 @@ impl<'a> InstanceGroupManagerPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -89439,7 +89439,7 @@ impl<'a> InstanceGroupManagerPatchPerInstanceConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -89757,7 +89757,7 @@ impl<'a> InstanceGroupManagerRecreateInstanceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -90059,7 +90059,7 @@ impl<'a> InstanceGroupManagerResizeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -90378,7 +90378,7 @@ impl<'a> InstanceGroupManagerSetInstanceTemplateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -90697,7 +90697,7 @@ impl<'a> InstanceGroupManagerSetTargetPoolCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -91016,7 +91016,7 @@ impl<'a> InstanceGroupManagerUpdatePerInstanceConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -91334,7 +91334,7 @@ impl<'a> InstanceGroupAddInstanceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -91659,7 +91659,7 @@ impl<'a> InstanceGroupAggregatedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -91948,7 +91948,7 @@ impl<'a> InstanceGroupDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -92226,7 +92226,7 @@ impl<'a> InstanceGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -92532,7 +92532,7 @@ impl<'a> InstanceGroupInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -92858,7 +92858,7 @@ impl<'a> InstanceGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -93225,7 +93225,7 @@ impl<'a> InstanceGroupListInstanceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -93544,7 +93544,7 @@ impl<'a> InstanceGroupRemoveInstanceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -93862,7 +93862,7 @@ impl<'a> InstanceGroupSetNamedPortCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -94139,7 +94139,7 @@ impl<'a> InstanceTemplateDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -94404,7 +94404,7 @@ impl<'a> InstanceTemplateGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -94682,7 +94682,7 @@ impl<'a> InstanceTemplateGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -94976,7 +94976,7 @@ impl<'a> InstanceTemplateInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -95290,7 +95290,7 @@ impl<'a> InstanceTemplateListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -95585,7 +95585,7 @@ impl<'a> InstanceTemplateSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -95880,7 +95880,7 @@ impl<'a> InstanceTemplateTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -96211,7 +96211,7 @@ impl<'a> InstanceAddAccessConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -96529,7 +96529,7 @@ impl<'a> InstanceAddResourcePolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -96855,7 +96855,7 @@ impl<'a> InstanceAggregatedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -97186,7 +97186,7 @@ impl<'a> InstanceAttachDiskCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -97492,7 +97492,7 @@ impl<'a> InstanceBulkInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -97781,7 +97781,7 @@ impl<'a> InstanceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -98094,7 +98094,7 @@ impl<'a> InstanceDeleteAccessConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -98395,7 +98395,7 @@ impl<'a> InstanceDetachDiskCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -98672,7 +98672,7 @@ impl<'a> InstanceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -98961,7 +98961,7 @@ impl<'a> InstanceGetEffectiveFirewallCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -99262,7 +99262,7 @@ impl<'a> InstanceGetGuestAttributeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -99551,7 +99551,7 @@ impl<'a> InstanceGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -99828,7 +99828,7 @@ impl<'a> InstanceGetScreenshotCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -100129,7 +100129,7 @@ impl<'a> InstanceGetSerialPortOutputCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -100407,7 +100407,7 @@ impl<'a> InstanceGetShieldedInstanceIdentityCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -100737,7 +100737,7 @@ impl<'a> InstanceInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -101062,7 +101062,7 @@ impl<'a> InstanceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -101400,7 +101400,7 @@ impl<'a> InstanceListReferrerCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -101718,7 +101718,7 @@ impl<'a> InstanceRemoveResourcePolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -102007,7 +102007,7 @@ impl<'a> InstanceResetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -102296,7 +102296,7 @@ impl<'a> InstanceResumeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -102562,7 +102562,7 @@ impl<'a> InstanceSendDiagnosticInterruptCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -102863,7 +102863,7 @@ impl<'a> InstanceSetDeletionProtectionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -103177,7 +103177,7 @@ impl<'a> InstanceSetDiskAutoDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -103484,7 +103484,7 @@ impl<'a> InstanceSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -103803,7 +103803,7 @@ impl<'a> InstanceSetLabelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -104122,7 +104122,7 @@ impl<'a> InstanceSetMachineResourceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -104441,7 +104441,7 @@ impl<'a> InstanceSetMachineTypeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -104760,7 +104760,7 @@ impl<'a> InstanceSetMetadataCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -105079,7 +105079,7 @@ impl<'a> InstanceSetMinCpuPlatformCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -105398,7 +105398,7 @@ impl<'a> InstanceSetSchedulingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -105717,7 +105717,7 @@ impl<'a> InstanceSetServiceAccountCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -106036,7 +106036,7 @@ impl<'a> InstanceSetShieldedInstanceIntegrityPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -106354,7 +106354,7 @@ impl<'a> InstanceSetTagCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -106631,7 +106631,7 @@ impl<'a> InstanceSimulateMaintenanceEventCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -106921,7 +106921,7 @@ impl<'a> InstanceStartCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -107239,7 +107239,7 @@ impl<'a> InstanceStartWithEncryptionKeyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -107528,7 +107528,7 @@ impl<'a> InstanceStopCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -107818,7 +107818,7 @@ impl<'a> InstanceSuspendCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -108125,7 +108125,7 @@ impl<'a> InstanceTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -108468,7 +108468,7 @@ impl<'a> InstanceUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -108799,7 +108799,7 @@ impl<'a> InstanceUpdateAccessConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -109118,7 +109118,7 @@ impl<'a> InstanceUpdateDisplayDeviceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -109449,7 +109449,7 @@ impl<'a> InstanceUpdateNetworkInterfaceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -109767,7 +109767,7 @@ impl<'a> InstanceUpdateShieldedInstanceConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -110092,7 +110092,7 @@ impl<'a> InterconnectAttachmentAggregatedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -110381,7 +110381,7 @@ impl<'a> InterconnectAttachmentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -110659,7 +110659,7 @@ impl<'a> InterconnectAttachmentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -110977,7 +110977,7 @@ impl<'a> InterconnectAttachmentInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -111303,7 +111303,7 @@ impl<'a> InterconnectAttachmentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -111621,7 +111621,7 @@ impl<'a> InterconnectAttachmentPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -111886,7 +111886,7 @@ impl<'a> InterconnectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -112199,7 +112199,7 @@ impl<'a> InterconnectLocationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -112476,7 +112476,7 @@ impl<'a> InterconnectDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -112741,7 +112741,7 @@ impl<'a> InterconnectGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -113007,7 +113007,7 @@ impl<'a> InterconnectGetDiagnosticCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -113301,7 +113301,7 @@ impl<'a> InterconnectInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -113615,7 +113615,7 @@ impl<'a> InterconnectListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -113921,7 +113921,7 @@ impl<'a> InterconnectPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -114187,7 +114187,7 @@ impl<'a> LicenseCodeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -114481,7 +114481,7 @@ impl<'a> LicenseCodeTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -114758,7 +114758,7 @@ impl<'a> LicenseDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -115023,7 +115023,7 @@ impl<'a> LicenseGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -115301,7 +115301,7 @@ impl<'a> LicenseGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -115595,7 +115595,7 @@ impl<'a> LicenseInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -115909,7 +115909,7 @@ impl<'a> LicenseListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -116204,7 +116204,7 @@ impl<'a> LicenseSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -116498,7 +116498,7 @@ impl<'a> LicenseTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -116775,7 +116775,7 @@ impl<'a> MachineImageDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -117040,7 +117040,7 @@ impl<'a> MachineImageGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -117318,7 +117318,7 @@ impl<'a> MachineImageGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -117624,7 +117624,7 @@ impl<'a> MachineImageInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -117938,7 +117938,7 @@ impl<'a> MachineImageListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -118233,7 +118233,7 @@ impl<'a> MachineImageSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -118527,7 +118527,7 @@ impl<'a> MachineImageTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -118852,7 +118852,7 @@ impl<'a> MachineTypeAggregatedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -119129,7 +119129,7 @@ impl<'a> MachineTypeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -119454,7 +119454,7 @@ impl<'a> MachineTypeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -119780,7 +119780,7 @@ impl<'a> NetworkEndpointGroupAggregatedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120098,7 +120098,7 @@ impl<'a> NetworkEndpointGroupAttachNetworkEndpointCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -120388,7 +120388,7 @@ impl<'a> NetworkEndpointGroupDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120706,7 +120706,7 @@ impl<'a> NetworkEndpointGroupDetachNetworkEndpointCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -120984,7 +120984,7 @@ impl<'a> NetworkEndpointGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -121290,7 +121290,7 @@ impl<'a> NetworkEndpointGroupInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -121616,7 +121616,7 @@ impl<'a> NetworkEndpointGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -121983,7 +121983,7 @@ impl<'a> NetworkEndpointGroupListNetworkEndpointCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -122290,7 +122290,7 @@ impl<'a> NetworkEndpointGroupTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -122609,7 +122609,7 @@ impl<'a> NetworkFirewallPolicyAddAssociationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -122939,7 +122939,7 @@ impl<'a> NetworkFirewallPolicyAddRuleCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -123228,7 +123228,7 @@ impl<'a> NetworkFirewallPolicyCloneRuleCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -123505,7 +123505,7 @@ impl<'a> NetworkFirewallPolicyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -123770,7 +123770,7 @@ impl<'a> NetworkFirewallPolicyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -124047,7 +124047,7 @@ impl<'a> NetworkFirewallPolicyGetAssociationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -124324,7 +124324,7 @@ impl<'a> NetworkFirewallPolicyGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -124602,7 +124602,7 @@ impl<'a> NetworkFirewallPolicyGetRuleCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -124896,7 +124896,7 @@ impl<'a> NetworkFirewallPolicyInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -125210,7 +125210,7 @@ impl<'a> NetworkFirewallPolicyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -125517,7 +125517,7 @@ impl<'a> NetworkFirewallPolicyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -125835,7 +125835,7 @@ impl<'a> NetworkFirewallPolicyPatchRuleCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -126124,7 +126124,7 @@ impl<'a> NetworkFirewallPolicyRemoveAssociationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -126414,7 +126414,7 @@ impl<'a> NetworkFirewallPolicyRemoveRuleCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -126709,7 +126709,7 @@ impl<'a> NetworkFirewallPolicySetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -127004,7 +127004,7 @@ impl<'a> NetworkFirewallPolicyTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -127310,7 +127310,7 @@ impl<'a> NetworkAddPeeringCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -127587,7 +127587,7 @@ impl<'a> NetworkDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -127852,7 +127852,7 @@ impl<'a> NetworkGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -128118,7 +128118,7 @@ impl<'a> NetworkGetEffectiveFirewallCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -128412,7 +128412,7 @@ impl<'a> NetworkInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -128725,7 +128725,7 @@ impl<'a> NetworkListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -129087,7 +129087,7 @@ impl<'a> NetworkListPeeringRouteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -129394,7 +129394,7 @@ impl<'a> NetworkPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -129700,7 +129700,7 @@ impl<'a> NetworkRemovePeeringCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -129978,7 +129978,7 @@ impl<'a> NetworkSwitchToCustomModeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -130285,7 +130285,7 @@ impl<'a> NetworkUpdatePeeringCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -130603,7 +130603,7 @@ impl<'a> NodeGroupAddNodeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -130928,7 +130928,7 @@ impl<'a> NodeGroupAggregatedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -131218,7 +131218,7 @@ impl<'a> NodeGroupDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -131536,7 +131536,7 @@ impl<'a> NodeGroupDeleteNodeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -131813,7 +131813,7 @@ impl<'a> NodeGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -132103,7 +132103,7 @@ impl<'a> NodeGroupGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -132421,7 +132421,7 @@ impl<'a> NodeGroupInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -132746,7 +132746,7 @@ impl<'a> NodeGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -133084,7 +133084,7 @@ impl<'a> NodeGroupListNodeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -133403,7 +133403,7 @@ impl<'a> NodeGroupPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -133710,7 +133710,7 @@ impl<'a> NodeGroupSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -134029,7 +134029,7 @@ impl<'a> NodeGroupSetNodeTemplateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -134335,7 +134335,7 @@ impl<'a> NodeGroupTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -134660,7 +134660,7 @@ impl<'a> NodeTemplateAggregatedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -134949,7 +134949,7 @@ impl<'a> NodeTemplateDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -135226,7 +135226,7 @@ impl<'a> NodeTemplateGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -135516,7 +135516,7 @@ impl<'a> NodeTemplateGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -135822,7 +135822,7 @@ impl<'a> NodeTemplateInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -136148,7 +136148,7 @@ impl<'a> NodeTemplateListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -136455,7 +136455,7 @@ impl<'a> NodeTemplateSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -136761,7 +136761,7 @@ impl<'a> NodeTemplateTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -137086,7 +137086,7 @@ impl<'a> NodeTypeAggregatedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -137363,7 +137363,7 @@ impl<'a> NodeTypeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -137688,7 +137688,7 @@ impl<'a> NodeTypeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -138013,7 +138013,7 @@ impl<'a> PacketMirroringAggregatedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -138302,7 +138302,7 @@ impl<'a> PacketMirroringDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -138580,7 +138580,7 @@ impl<'a> PacketMirroringGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -138886,7 +138886,7 @@ impl<'a> PacketMirroringInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -139212,7 +139212,7 @@ impl<'a> PacketMirroringListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -139531,7 +139531,7 @@ impl<'a> PacketMirroringPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -139837,7 +139837,7 @@ impl<'a> PacketMirroringTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -140103,7 +140103,7 @@ impl<'a> ProjectDisableXpnHostCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -140397,7 +140397,7 @@ impl<'a> ProjectDisableXpnResourceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -140663,7 +140663,7 @@ impl<'a> ProjectEnableXpnHostCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -140957,7 +140957,7 @@ impl<'a> ProjectEnableXpnResourceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -141210,7 +141210,7 @@ impl<'a> ProjectGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -141463,7 +141463,7 @@ impl<'a> ProjectGetXpnHostCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -141777,7 +141777,7 @@ impl<'a> ProjectGetXpnResourceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -142120,7 +142120,7 @@ impl<'a> ProjectListXpnHostCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -142415,7 +142415,7 @@ impl<'a> ProjectMoveDiskCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -142710,7 +142710,7 @@ impl<'a> ProjectMoveInstanceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -143005,7 +143005,7 @@ impl<'a> ProjectSetCommonInstanceMetadataCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -143300,7 +143300,7 @@ impl<'a> ProjectSetDefaultNetworkTierCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -143594,7 +143594,7 @@ impl<'a> ProjectSetUsageExportBucketCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -143871,7 +143871,7 @@ impl<'a> PublicAdvertisedPrefixeDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -144137,7 +144137,7 @@ impl<'a> PublicAdvertisedPrefixeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -144431,7 +144431,7 @@ impl<'a> PublicAdvertisedPrefixeInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -144745,7 +144745,7 @@ impl<'a> PublicAdvertisedPrefixeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -145051,7 +145051,7 @@ impl<'a> PublicAdvertisedPrefixePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -145376,7 +145376,7 @@ impl<'a> PublicDelegatedPrefixeAggregatedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -145665,7 +145665,7 @@ impl<'a> PublicDelegatedPrefixeDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -145943,7 +145943,7 @@ impl<'a> PublicDelegatedPrefixeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -146249,7 +146249,7 @@ impl<'a> PublicDelegatedPrefixeInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -146575,7 +146575,7 @@ impl<'a> PublicDelegatedPrefixeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -146893,7 +146893,7 @@ impl<'a> PublicDelegatedPrefixePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -147182,7 +147182,7 @@ impl<'a> RegionAutoscalerDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -147460,7 +147460,7 @@ impl<'a> RegionAutoscalerGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -147766,7 +147766,7 @@ impl<'a> RegionAutoscalerInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -148092,7 +148092,7 @@ impl<'a> RegionAutoscalerListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -148411,7 +148411,7 @@ impl<'a> RegionAutoscalerPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -148729,7 +148729,7 @@ impl<'a> RegionAutoscalerUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -149018,7 +149018,7 @@ impl<'a> RegionBackendServiceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -149296,7 +149296,7 @@ impl<'a> RegionBackendServiceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -149602,7 +149602,7 @@ impl<'a> RegionBackendServiceGetHealthCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -149908,7 +149908,7 @@ impl<'a> RegionBackendServiceInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -150234,7 +150234,7 @@ impl<'a> RegionBackendServiceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -150553,7 +150553,7 @@ impl<'a> RegionBackendServicePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -150871,7 +150871,7 @@ impl<'a> RegionBackendServiceUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -151196,7 +151196,7 @@ impl<'a> RegionCommitmentAggregatedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -151474,7 +151474,7 @@ impl<'a> RegionCommitmentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -151780,7 +151780,7 @@ impl<'a> RegionCommitmentInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -152106,7 +152106,7 @@ impl<'a> RegionCommitmentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -152450,7 +152450,7 @@ impl<'a> RegionCommitmentUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -152727,7 +152727,7 @@ impl<'a> RegionDiskTypeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -153053,7 +153053,7 @@ impl<'a> RegionDiskTypeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -153372,7 +153372,7 @@ impl<'a> RegionDiskAddResourcePolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -153690,7 +153690,7 @@ impl<'a> RegionDiskCreateSnapshotCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -153979,7 +153979,7 @@ impl<'a> RegionDiskDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -154256,7 +154256,7 @@ impl<'a> RegionDiskGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -154546,7 +154546,7 @@ impl<'a> RegionDiskGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -154864,7 +154864,7 @@ impl<'a> RegionDiskInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -155190,7 +155190,7 @@ impl<'a> RegionDiskListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -155509,7 +155509,7 @@ impl<'a> RegionDiskRemoveResourcePolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -155828,7 +155828,7 @@ impl<'a> RegionDiskResizeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -156135,7 +156135,7 @@ impl<'a> RegionDiskSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -156454,7 +156454,7 @@ impl<'a> RegionDiskSetLabelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -156760,7 +156760,7 @@ impl<'a> RegionDiskTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -157049,7 +157049,7 @@ impl<'a> RegionHealthCheckServiceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -157327,7 +157327,7 @@ impl<'a> RegionHealthCheckServiceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -157633,7 +157633,7 @@ impl<'a> RegionHealthCheckServiceInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -157959,7 +157959,7 @@ impl<'a> RegionHealthCheckServiceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -158277,7 +158277,7 @@ impl<'a> RegionHealthCheckServicePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -158566,7 +158566,7 @@ impl<'a> RegionHealthCheckDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -158844,7 +158844,7 @@ impl<'a> RegionHealthCheckGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -159150,7 +159150,7 @@ impl<'a> RegionHealthCheckInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -159476,7 +159476,7 @@ impl<'a> RegionHealthCheckListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -159795,7 +159795,7 @@ impl<'a> RegionHealthCheckPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -160114,7 +160114,7 @@ impl<'a> RegionHealthCheckUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -160433,7 +160433,7 @@ impl<'a> RegionInstanceGroupManagerAbandonInstanceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -160740,7 +160740,7 @@ impl<'a> RegionInstanceGroupManagerApplyUpdatesToInstanceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -161058,7 +161058,7 @@ impl<'a> RegionInstanceGroupManagerCreateInstanceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -161348,7 +161348,7 @@ impl<'a> RegionInstanceGroupManagerDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -161667,7 +161667,7 @@ impl<'a> RegionInstanceGroupManagerDeleteInstanceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -161973,7 +161973,7 @@ impl<'a> RegionInstanceGroupManagerDeletePerInstanceConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -162251,7 +162251,7 @@ impl<'a> RegionInstanceGroupManagerGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -162557,7 +162557,7 @@ impl<'a> RegionInstanceGroupManagerInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -162882,7 +162882,7 @@ impl<'a> RegionInstanceGroupManagerListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -163219,7 +163219,7 @@ impl<'a> RegionInstanceGroupManagerListErrorCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -163556,7 +163556,7 @@ impl<'a> RegionInstanceGroupManagerListManagedInstanceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -163894,7 +163894,7 @@ impl<'a> RegionInstanceGroupManagerListPerInstanceConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -164213,7 +164213,7 @@ impl<'a> RegionInstanceGroupManagerPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -164532,7 +164532,7 @@ impl<'a> RegionInstanceGroupManagerPatchPerInstanceConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -164850,7 +164850,7 @@ impl<'a> RegionInstanceGroupManagerRecreateInstanceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -165152,7 +165152,7 @@ impl<'a> RegionInstanceGroupManagerResizeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -165471,7 +165471,7 @@ impl<'a> RegionInstanceGroupManagerSetInstanceTemplateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -165790,7 +165790,7 @@ impl<'a> RegionInstanceGroupManagerSetTargetPoolCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -166108,7 +166108,7 @@ impl<'a> RegionInstanceGroupManagerUpdatePerInstanceConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -166385,7 +166385,7 @@ impl<'a> RegionInstanceGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -166711,7 +166711,7 @@ impl<'a> RegionInstanceGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -167078,7 +167078,7 @@ impl<'a> RegionInstanceGroupListInstanceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -167397,7 +167397,7 @@ impl<'a> RegionInstanceGroupSetNamedPortCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -167703,7 +167703,7 @@ impl<'a> RegionInstanceBulkInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -167992,7 +167992,7 @@ impl<'a> RegionNetworkEndpointGroupDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -168270,7 +168270,7 @@ impl<'a> RegionNetworkEndpointGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -168576,7 +168576,7 @@ impl<'a> RegionNetworkEndpointGroupInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -168902,7 +168902,7 @@ impl<'a> RegionNetworkEndpointGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -169233,7 +169233,7 @@ impl<'a> RegionNetworkFirewallPolicyAddAssociationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -169575,7 +169575,7 @@ impl<'a> RegionNetworkFirewallPolicyAddRuleCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -169876,7 +169876,7 @@ impl<'a> RegionNetworkFirewallPolicyCloneRuleCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -170165,7 +170165,7 @@ impl<'a> RegionNetworkFirewallPolicyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -170442,7 +170442,7 @@ impl<'a> RegionNetworkFirewallPolicyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -170731,7 +170731,7 @@ impl<'a> RegionNetworkFirewallPolicyGetAssociationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -171008,7 +171008,7 @@ impl<'a> RegionNetworkFirewallPolicyGetEffectiveFirewallCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -171297,7 +171297,7 @@ impl<'a> RegionNetworkFirewallPolicyGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -171587,7 +171587,7 @@ impl<'a> RegionNetworkFirewallPolicyGetRuleCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -171893,7 +171893,7 @@ impl<'a> RegionNetworkFirewallPolicyInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -172219,7 +172219,7 @@ impl<'a> RegionNetworkFirewallPolicyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -172538,7 +172538,7 @@ impl<'a> RegionNetworkFirewallPolicyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -172868,7 +172868,7 @@ impl<'a> RegionNetworkFirewallPolicyPatchRuleCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -173169,7 +173169,7 @@ impl<'a> RegionNetworkFirewallPolicyRemoveAssociationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -173471,7 +173471,7 @@ impl<'a> RegionNetworkFirewallPolicyRemoveRuleCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -173778,7 +173778,7 @@ impl<'a> RegionNetworkFirewallPolicySetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -174084,7 +174084,7 @@ impl<'a> RegionNetworkFirewallPolicyTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -174373,7 +174373,7 @@ impl<'a> RegionNotificationEndpointDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -174651,7 +174651,7 @@ impl<'a> RegionNotificationEndpointGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -174957,7 +174957,7 @@ impl<'a> RegionNotificationEndpointInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -175282,7 +175282,7 @@ impl<'a> RegionNotificationEndpointListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -175548,7 +175548,7 @@ impl<'a> RegionOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -175825,7 +175825,7 @@ impl<'a> RegionOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -176150,7 +176150,7 @@ impl<'a> RegionOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -176427,7 +176427,7 @@ impl<'a> RegionOperationWaitCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -176716,7 +176716,7 @@ impl<'a> RegionSslCertificateDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -176994,7 +176994,7 @@ impl<'a> RegionSslCertificateGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -177300,7 +177300,7 @@ impl<'a> RegionSslCertificateInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -177625,7 +177625,7 @@ impl<'a> RegionSslCertificateListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -177914,7 +177914,7 @@ impl<'a> RegionTargetHttpProxyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -178192,7 +178192,7 @@ impl<'a> RegionTargetHttpProxyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -178498,7 +178498,7 @@ impl<'a> RegionTargetHttpProxyInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -178824,7 +178824,7 @@ impl<'a> RegionTargetHttpProxyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -179142,7 +179142,7 @@ impl<'a> RegionTargetHttpProxySetUrlMapCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -179431,7 +179431,7 @@ impl<'a> RegionTargetHttpsProxyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -179709,7 +179709,7 @@ impl<'a> RegionTargetHttpsProxyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -180015,7 +180015,7 @@ impl<'a> RegionTargetHttpsProxyInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -180341,7 +180341,7 @@ impl<'a> RegionTargetHttpsProxyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -180660,7 +180660,7 @@ impl<'a> RegionTargetHttpsProxySetSslCertificateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -180978,7 +180978,7 @@ impl<'a> RegionTargetHttpsProxySetUrlMapCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -181267,7 +181267,7 @@ impl<'a> RegionUrlMapDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -181545,7 +181545,7 @@ impl<'a> RegionUrlMapGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -181851,7 +181851,7 @@ impl<'a> RegionUrlMapInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -182177,7 +182177,7 @@ impl<'a> RegionUrlMapListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -182496,7 +182496,7 @@ impl<'a> RegionUrlMapPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -182815,7 +182815,7 @@ impl<'a> RegionUrlMapUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -183121,7 +183121,7 @@ impl<'a> RegionUrlMapValidateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -183386,7 +183386,7 @@ impl<'a> RegionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -183699,7 +183699,7 @@ impl<'a> RegionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -184024,7 +184024,7 @@ impl<'a> ReservationAggregatedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -184313,7 +184313,7 @@ impl<'a> ReservationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -184590,7 +184590,7 @@ impl<'a> ReservationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -184880,7 +184880,7 @@ impl<'a> ReservationGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -185186,7 +185186,7 @@ impl<'a> ReservationInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -185512,7 +185512,7 @@ impl<'a> ReservationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -185831,7 +185831,7 @@ impl<'a> ReservationResizeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -186138,7 +186138,7 @@ impl<'a> ReservationSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -186445,7 +186445,7 @@ impl<'a> ReservationTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -186789,7 +186789,7 @@ impl<'a> ReservationUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -187114,7 +187114,7 @@ impl<'a> ResourcePolicyAggregatedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -187403,7 +187403,7 @@ impl<'a> ResourcePolicyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -187680,7 +187680,7 @@ impl<'a> ResourcePolicyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -187970,7 +187970,7 @@ impl<'a> ResourcePolicyGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -188276,7 +188276,7 @@ impl<'a> ResourcePolicyInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -188602,7 +188602,7 @@ impl<'a> ResourcePolicyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -188909,7 +188909,7 @@ impl<'a> ResourcePolicySetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -189215,7 +189215,7 @@ impl<'a> ResourcePolicyTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -189540,7 +189540,7 @@ impl<'a> RouterAggregatedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -189829,7 +189829,7 @@ impl<'a> RouterDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -190106,7 +190106,7 @@ impl<'a> RouterGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -190443,7 +190443,7 @@ impl<'a> RouterGetNatMappingInfoCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -190721,7 +190721,7 @@ impl<'a> RouterGetRouterStatuCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -191027,7 +191027,7 @@ impl<'a> RouterInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -191353,7 +191353,7 @@ impl<'a> RouterListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -191672,7 +191672,7 @@ impl<'a> RouterPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -191979,7 +191979,7 @@ impl<'a> RouterPreviewCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -192297,7 +192297,7 @@ impl<'a> RouterUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -192574,7 +192574,7 @@ impl<'a> RouteDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -192840,7 +192840,7 @@ impl<'a> RouteGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -193134,7 +193134,7 @@ impl<'a> RouteInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -193448,7 +193448,7 @@ impl<'a> RouteListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -193742,7 +193742,7 @@ impl<'a> SecurityPolicyAddRuleCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -194019,7 +194019,7 @@ impl<'a> SecurityPolicyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -194284,7 +194284,7 @@ impl<'a> SecurityPolicyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -194562,7 +194562,7 @@ impl<'a> SecurityPolicyGetRuleCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -194856,7 +194856,7 @@ impl<'a> SecurityPolicyInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -195169,7 +195169,7 @@ impl<'a> SecurityPolicyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -195483,7 +195483,7 @@ impl<'a> SecurityPolicyListPreconfiguredExpressionSetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -195790,7 +195790,7 @@ impl<'a> SecurityPolicyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -196096,7 +196096,7 @@ impl<'a> SecurityPolicyPatchRuleCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -196373,7 +196373,7 @@ impl<'a> SecurityPolicyRemoveRuleCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -196698,7 +196698,7 @@ impl<'a> ServiceAttachmentAggregatedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -196987,7 +196987,7 @@ impl<'a> ServiceAttachmentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -197264,7 +197264,7 @@ impl<'a> ServiceAttachmentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -197554,7 +197554,7 @@ impl<'a> ServiceAttachmentGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -197860,7 +197860,7 @@ impl<'a> ServiceAttachmentInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -198186,7 +198186,7 @@ impl<'a> ServiceAttachmentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -198505,7 +198505,7 @@ impl<'a> ServiceAttachmentPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -198812,7 +198812,7 @@ impl<'a> ServiceAttachmentSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -199118,7 +199118,7 @@ impl<'a> ServiceAttachmentTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -199395,7 +199395,7 @@ impl<'a> SnapshotDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -199660,7 +199660,7 @@ impl<'a> SnapshotGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -199938,7 +199938,7 @@ impl<'a> SnapshotGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -200232,7 +200232,7 @@ impl<'a> SnapshotInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -200546,7 +200546,7 @@ impl<'a> SnapshotListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -200841,7 +200841,7 @@ impl<'a> SnapshotSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -201136,7 +201136,7 @@ impl<'a> SnapshotSetLabelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -201430,7 +201430,7 @@ impl<'a> SnapshotTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -201755,7 +201755,7 @@ impl<'a> SslCertificateAggregatedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -202032,7 +202032,7 @@ impl<'a> SslCertificateDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -202298,7 +202298,7 @@ impl<'a> SslCertificateGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -202592,7 +202592,7 @@ impl<'a> SslCertificateInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -202905,7 +202905,7 @@ impl<'a> SslCertificateListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -203182,7 +203182,7 @@ impl<'a> SslPolicyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -203448,7 +203448,7 @@ impl<'a> SslPolicyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -203742,7 +203742,7 @@ impl<'a> SslPolicyInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -204055,7 +204055,7 @@ impl<'a> SslPolicyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -204369,7 +204369,7 @@ impl<'a> SslPolicyListAvailableFeatureCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -204675,7 +204675,7 @@ impl<'a> SslPolicyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -205000,7 +205000,7 @@ impl<'a> SubnetworkAggregatedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -205290,7 +205290,7 @@ impl<'a> SubnetworkDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -205608,7 +205608,7 @@ impl<'a> SubnetworkExpandIpCidrRangeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -205885,7 +205885,7 @@ impl<'a> SubnetworkGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -206175,7 +206175,7 @@ impl<'a> SubnetworkGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -206481,7 +206481,7 @@ impl<'a> SubnetworkInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -206806,7 +206806,7 @@ impl<'a> SubnetworkListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -207120,7 +207120,7 @@ impl<'a> SubnetworkListUsableCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -207451,7 +207451,7 @@ impl<'a> SubnetworkPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -207758,7 +207758,7 @@ impl<'a> SubnetworkSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -208077,7 +208077,7 @@ impl<'a> SubnetworkSetPrivateIpGoogleAccesCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -208383,7 +208383,7 @@ impl<'a> SubnetworkTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -208660,7 +208660,7 @@ impl<'a> TargetGrpcProxyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -208926,7 +208926,7 @@ impl<'a> TargetGrpcProxyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -209220,7 +209220,7 @@ impl<'a> TargetGrpcProxyInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -209534,7 +209534,7 @@ impl<'a> TargetGrpcProxyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -209840,7 +209840,7 @@ impl<'a> TargetGrpcProxyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -210165,7 +210165,7 @@ impl<'a> TargetHttpProxyAggregatedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -210442,7 +210442,7 @@ impl<'a> TargetHttpProxyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -210708,7 +210708,7 @@ impl<'a> TargetHttpProxyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -211002,7 +211002,7 @@ impl<'a> TargetHttpProxyInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -211316,7 +211316,7 @@ impl<'a> TargetHttpProxyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -211623,7 +211623,7 @@ impl<'a> TargetHttpProxyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -211929,7 +211929,7 @@ impl<'a> TargetHttpProxySetUrlMapCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -212254,7 +212254,7 @@ impl<'a> TargetHttpsProxyAggregatedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -212531,7 +212531,7 @@ impl<'a> TargetHttpsProxyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -212797,7 +212797,7 @@ impl<'a> TargetHttpsProxyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -213091,7 +213091,7 @@ impl<'a> TargetHttpsProxyInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -213405,7 +213405,7 @@ impl<'a> TargetHttpsProxyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -213712,7 +213712,7 @@ impl<'a> TargetHttpsProxyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -214019,7 +214019,7 @@ impl<'a> TargetHttpsProxySetQuicOverrideCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -214326,7 +214326,7 @@ impl<'a> TargetHttpsProxySetSslCertificateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -214633,7 +214633,7 @@ impl<'a> TargetHttpsProxySetSslPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -214939,7 +214939,7 @@ impl<'a> TargetHttpsProxySetUrlMapCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -215264,7 +215264,7 @@ impl<'a> TargetInstanceAggregatedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -215553,7 +215553,7 @@ impl<'a> TargetInstanceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -215831,7 +215831,7 @@ impl<'a> TargetInstanceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -216137,7 +216137,7 @@ impl<'a> TargetInstanceInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -216463,7 +216463,7 @@ impl<'a> TargetInstanceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -216782,7 +216782,7 @@ impl<'a> TargetPoolAddHealthCheckCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -217100,7 +217100,7 @@ impl<'a> TargetPoolAddInstanceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -217425,7 +217425,7 @@ impl<'a> TargetPoolAggregatedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -217714,7 +217714,7 @@ impl<'a> TargetPoolDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -217992,7 +217992,7 @@ impl<'a> TargetPoolGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -218299,7 +218299,7 @@ impl<'a> TargetPoolGetHealthCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -218605,7 +218605,7 @@ impl<'a> TargetPoolInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -218931,7 +218931,7 @@ impl<'a> TargetPoolListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -219250,7 +219250,7 @@ impl<'a> TargetPoolRemoveHealthCheckCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -219569,7 +219569,7 @@ impl<'a> TargetPoolRemoveInstanceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -219899,7 +219899,7 @@ impl<'a> TargetPoolSetBackupCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -220176,7 +220176,7 @@ impl<'a> TargetSslProxyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -220442,7 +220442,7 @@ impl<'a> TargetSslProxyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -220736,7 +220736,7 @@ impl<'a> TargetSslProxyInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -221050,7 +221050,7 @@ impl<'a> TargetSslProxyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -221357,7 +221357,7 @@ impl<'a> TargetSslProxySetBackendServiceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -221664,7 +221664,7 @@ impl<'a> TargetSslProxySetProxyHeaderCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -221971,7 +221971,7 @@ impl<'a> TargetSslProxySetSslCertificateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -222277,7 +222277,7 @@ impl<'a> TargetSslProxySetSslPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -222554,7 +222554,7 @@ impl<'a> TargetTcpProxyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -222820,7 +222820,7 @@ impl<'a> TargetTcpProxyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -223114,7 +223114,7 @@ impl<'a> TargetTcpProxyInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -223428,7 +223428,7 @@ impl<'a> TargetTcpProxyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -223735,7 +223735,7 @@ impl<'a> TargetTcpProxySetBackendServiceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -224041,7 +224041,7 @@ impl<'a> TargetTcpProxySetProxyHeaderCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -224366,7 +224366,7 @@ impl<'a> TargetVpnGatewayAggregatedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -224655,7 +224655,7 @@ impl<'a> TargetVpnGatewayDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -224933,7 +224933,7 @@ impl<'a> TargetVpnGatewayGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -225239,7 +225239,7 @@ impl<'a> TargetVpnGatewayInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -225564,7 +225564,7 @@ impl<'a> TargetVpnGatewayListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -225889,7 +225889,7 @@ impl<'a> UrlMapAggregatedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -226166,7 +226166,7 @@ impl<'a> UrlMapDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -226432,7 +226432,7 @@ impl<'a> UrlMapGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -226727,7 +226727,7 @@ impl<'a> UrlMapInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -227033,7 +227033,7 @@ impl<'a> UrlMapInvalidateCacheCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -227347,7 +227347,7 @@ impl<'a> UrlMapListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -227654,7 +227654,7 @@ impl<'a> UrlMapPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -227961,7 +227961,7 @@ impl<'a> UrlMapUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -228255,7 +228255,7 @@ impl<'a> UrlMapValidateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -228580,7 +228580,7 @@ impl<'a> VpnGatewayAggregatedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -228869,7 +228869,7 @@ impl<'a> VpnGatewayDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -229146,7 +229146,7 @@ impl<'a> VpnGatewayGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -229424,7 +229424,7 @@ impl<'a> VpnGatewayGetStatuCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -229730,7 +229730,7 @@ impl<'a> VpnGatewayInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -230056,7 +230056,7 @@ impl<'a> VpnGatewayListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -230375,7 +230375,7 @@ impl<'a> VpnGatewaySetLabelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -230681,7 +230681,7 @@ impl<'a> VpnGatewayTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -231006,7 +231006,7 @@ impl<'a> VpnTunnelAggregatedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -231295,7 +231295,7 @@ impl<'a> VpnTunnelDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -231573,7 +231573,7 @@ impl<'a> VpnTunnelGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -231879,7 +231879,7 @@ impl<'a> VpnTunnelInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -232204,7 +232204,7 @@ impl<'a> VpnTunnelListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -232470,7 +232470,7 @@ impl<'a> ZoneOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -232747,7 +232747,7 @@ impl<'a> ZoneOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -233072,7 +233072,7 @@ impl<'a> ZoneOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -233349,7 +233349,7 @@ impl<'a> ZoneOperationWaitCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -233614,7 +233614,7 @@ impl<'a> ZoneGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/compute1/src/lib.rs b/gen/compute1/src/lib.rs index 8bde0cd144..c9219d5d8f 100644 --- a/gen/compute1/src/lib.rs +++ b/gen/compute1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *compute* crate version *3.0.0+20220224*, where *20220224* is the exact revision of the *compute:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *compute* crate version *3.1.0+20220224*, where *20220224* is the exact revision of the *compute:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *compute* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/compute/). @@ -601,7 +601,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Compute::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/connectors1-cli/Cargo.toml b/gen/connectors1-cli/Cargo.toml index 3bba5be1c1..9885baa0a8 100644 --- a/gen/connectors1-cli/Cargo.toml +++ b/gen/connectors1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-connectors1-cli" -version = "3.0.0+20220214" +version = "3.1.0+20220214" authors = ["Sebastian Thiel "] description = "A complete library to interact with Connectors (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/connectors1-cli" @@ -20,12 +20,12 @@ name = "connectors1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-connectors1] path = "../connectors1" -version = "3.0.0+20220214" +version = "3.1.0+20220214" diff --git a/gen/connectors1-cli/README.md b/gen/connectors1-cli/README.md index 42c319dafe..f0a53f0065 100644 --- a/gen/connectors1-cli/README.md +++ b/gen/connectors1-cli/README.md @@ -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 *Connectors* API at revision *20220214*. The CLI is at version *3.0.0*. +This documentation was generated from the *Connectors* API at revision *20220214*. The CLI is at version *3.1.0*. ```bash connectors1 [options] diff --git a/gen/connectors1-cli/mkdocs.yml b/gen/connectors1-cli/mkdocs.yml index 9001e2eff5..d4484a5ae0 100644 --- a/gen/connectors1-cli/mkdocs.yml +++ b/gen/connectors1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Connectors v3.0.0+20220214 +site_name: Connectors v3.1.0+20220214 site_url: http://byron.github.io/google-apis-rs/google-connectors1-cli site_description: A complete library to interact with Connectors (protocol v1) diff --git a/gen/connectors1-cli/src/main.rs b/gen/connectors1-cli/src/main.rs index 3d6b8a70bb..2661eb4b31 100644 --- a/gen/connectors1-cli/src/main.rs +++ b/gen/connectors1-cli/src/main.rs @@ -1962,7 +1962,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/connectors1", 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::Connectors::new(client, auth), @@ -2640,7 +2646,7 @@ async fn main() { let mut app = App::new("connectors1") .author("Sebastian Thiel ") - .version("3.0.0+20220214") + .version("3.1.0+20220214") .about("Enables users to create and manage connections to Google Cloud services and third-party business applications using the Connectors interface.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_connectors1_cli") .arg(Arg::with_name("url") diff --git a/gen/connectors1/Cargo.toml b/gen/connectors1/Cargo.toml index 56441adede..288d6dbd01 100644 --- a/gen/connectors1/Cargo.toml +++ b/gen/connectors1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-connectors1" -version = "3.0.0+20220214" +version = "3.1.0+20220214" authors = ["Sebastian Thiel "] description = "A complete library to interact with Connectors (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/connectors1" homepage = "https://cloud.google.com/apigee/docs/api-platform/connectors/about-connectors" -documentation = "https://docs.rs/google-connectors1/3.0.0+20220214" +documentation = "https://docs.rs/google-connectors1/3.1.0+20220214" license = "MIT" keywords = ["connectors", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/connectors1/README.md b/gen/connectors1/README.md index e1675b1188..973be40baa 100644 --- a/gen/connectors1/README.md +++ b/gen/connectors1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-connectors1` library allows access to all features of the *Google Connectors* service. -This documentation was generated from *Connectors* crate version *3.0.0+20220214*, where *20220214* is the exact revision of the *connectors:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Connectors* crate version *3.1.0+20220214*, where *20220214* is the exact revision of the *connectors:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Connectors* *v1* API can be found at the [official documentation site](https://cloud.google.com/apigee/docs/api-platform/connectors/about-connectors). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/Connectors) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/Connectors) ... * projects - * [*locations connections create*](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/api::ProjectLocationConnectionCreateCall), [*locations connections delete*](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/api::ProjectLocationConnectionDeleteCall), [*locations connections get*](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/api::ProjectLocationConnectionGetCall), [*locations connections get connection schema metadata*](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/api::ProjectLocationConnectionGetConnectionSchemaMetadataCall), [*locations connections get iam policy*](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/api::ProjectLocationConnectionGetIamPolicyCall), [*locations connections list*](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/api::ProjectLocationConnectionListCall), [*locations connections patch*](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/api::ProjectLocationConnectionPatchCall), [*locations connections runtime action schemas list*](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/api::ProjectLocationConnectionRuntimeActionSchemaListCall), [*locations connections runtime entity schemas list*](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/api::ProjectLocationConnectionRuntimeEntitySchemaListCall), [*locations connections set iam policy*](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/api::ProjectLocationConnectionSetIamPolicyCall), [*locations connections test iam permissions*](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/api::ProjectLocationConnectionTestIamPermissionCall), [*locations get*](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/api::ProjectLocationGetCall), [*locations get runtime config*](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/api::ProjectLocationGetRuntimeConfigCall), [*locations global providers connectors get*](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/api::ProjectLocationGlobalProviderConnectorGetCall), [*locations global providers connectors list*](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/api::ProjectLocationGlobalProviderConnectorListCall), [*locations global providers connectors versions get*](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/api::ProjectLocationGlobalProviderConnectorVersionGetCall), [*locations global providers connectors versions list*](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/api::ProjectLocationGlobalProviderConnectorVersionListCall), [*locations global providers get*](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/api::ProjectLocationGlobalProviderGetCall), [*locations global providers list*](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/api::ProjectLocationGlobalProviderListCall), [*locations list*](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/api::ProjectLocationOperationListCall), [*locations providers get iam policy*](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/api::ProjectLocationProviderGetIamPolicyCall), [*locations providers set iam policy*](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/api::ProjectLocationProviderSetIamPolicyCall) and [*locations providers test iam permissions*](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/api::ProjectLocationProviderTestIamPermissionCall) + * [*locations connections create*](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/api::ProjectLocationConnectionCreateCall), [*locations connections delete*](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/api::ProjectLocationConnectionDeleteCall), [*locations connections get*](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/api::ProjectLocationConnectionGetCall), [*locations connections get connection schema metadata*](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/api::ProjectLocationConnectionGetConnectionSchemaMetadataCall), [*locations connections get iam policy*](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/api::ProjectLocationConnectionGetIamPolicyCall), [*locations connections list*](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/api::ProjectLocationConnectionListCall), [*locations connections patch*](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/api::ProjectLocationConnectionPatchCall), [*locations connections runtime action schemas list*](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/api::ProjectLocationConnectionRuntimeActionSchemaListCall), [*locations connections runtime entity schemas list*](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/api::ProjectLocationConnectionRuntimeEntitySchemaListCall), [*locations connections set iam policy*](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/api::ProjectLocationConnectionSetIamPolicyCall), [*locations connections test iam permissions*](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/api::ProjectLocationConnectionTestIamPermissionCall), [*locations get*](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/api::ProjectLocationGetCall), [*locations get runtime config*](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/api::ProjectLocationGetRuntimeConfigCall), [*locations global providers connectors get*](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/api::ProjectLocationGlobalProviderConnectorGetCall), [*locations global providers connectors list*](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/api::ProjectLocationGlobalProviderConnectorListCall), [*locations global providers connectors versions get*](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/api::ProjectLocationGlobalProviderConnectorVersionGetCall), [*locations global providers connectors versions list*](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/api::ProjectLocationGlobalProviderConnectorVersionListCall), [*locations global providers get*](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/api::ProjectLocationGlobalProviderGetCall), [*locations global providers list*](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/api::ProjectLocationGlobalProviderListCall), [*locations list*](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/api::ProjectLocationOperationListCall), [*locations providers get iam policy*](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/api::ProjectLocationProviderGetIamPolicyCall), [*locations providers set iam policy*](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/api::ProjectLocationProviderSetIamPolicyCall) and [*locations providers test iam permissions*](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/api::ProjectLocationProviderTestIamPermissionCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/Connectors)** +* **[Hub](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/Connectors)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/client::CallBuilder) -* **[Resources](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/client::CallBuilder) +* **[Resources](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/client::Part)** + * **[Parts](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -94,7 +94,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -128,17 +128,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -148,29 +148,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/client::Delegate) to the -[Method Builder](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/client::Delegate) to the +[Method Builder](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/client::RequestValue) and -[decodable](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/client::RequestValue) and +[decodable](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-connectors1/3.0.0+20220214/google_connectors1/client::RequestValue) are moved +* [request values](https://docs.rs/google-connectors1/3.1.0+20220214/google_connectors1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/connectors1/src/api.rs b/gen/connectors1/src/api.rs index 8229569fa4..206bd3def2 100644 --- a/gen/connectors1/src/api.rs +++ b/gen/connectors1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > Connectors<> { Connectors { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://connectors.googleapis.com/".to_string(), _root_url: "https://connectors.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > Connectors<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1323,7 +1323,7 @@ impl client::Part for UserPassword {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_connections_create(...)`, `locations_connections_delete(...)`, `locations_connections_get(...)`, `locations_connections_get_connection_schema_metadata(...)`, `locations_connections_get_iam_policy(...)`, `locations_connections_list(...)`, `locations_connections_patch(...)`, `locations_connections_runtime_action_schemas_list(...)`, `locations_connections_runtime_entity_schemas_list(...)`, `locations_connections_set_iam_policy(...)`, `locations_connections_test_iam_permissions(...)`, `locations_get(...)`, `locations_get_runtime_config(...)`, `locations_global_providers_connectors_get(...)`, `locations_global_providers_connectors_list(...)`, `locations_global_providers_connectors_versions_get(...)`, `locations_global_providers_connectors_versions_list(...)`, `locations_global_providers_get(...)`, `locations_global_providers_list(...)`, `locations_list(...)`, `locations_operations_cancel(...)`, `locations_operations_delete(...)`, `locations_operations_get(...)`, `locations_operations_list(...)`, `locations_providers_get_iam_policy(...)`, `locations_providers_set_iam_policy(...)` and `locations_providers_test_iam_permissions(...)` /// // to build up your call. @@ -1874,7 +1874,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2166,7 +2166,7 @@ impl<'a> ProjectLocationConnectionRuntimeActionSchemaListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2459,7 +2459,7 @@ impl<'a> ProjectLocationConnectionRuntimeEntitySchemaListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2756,7 +2756,7 @@ impl<'a> ProjectLocationConnectionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3012,7 +3012,7 @@ impl<'a> ProjectLocationConnectionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3280,7 +3280,7 @@ impl<'a> ProjectLocationConnectionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3536,7 +3536,7 @@ impl<'a> ProjectLocationConnectionGetConnectionSchemaMetadataCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3804,7 +3804,7 @@ impl<'a> ProjectLocationConnectionGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4121,7 +4121,7 @@ impl<'a> ProjectLocationConnectionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4419,7 +4419,7 @@ impl<'a> ProjectLocationConnectionPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4705,7 +4705,7 @@ impl<'a> ProjectLocationConnectionSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4990,7 +4990,7 @@ impl<'a> ProjectLocationConnectionTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5258,7 +5258,7 @@ impl<'a> ProjectLocationGlobalProviderConnectorVersionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5550,7 +5550,7 @@ impl<'a> ProjectLocationGlobalProviderConnectorVersionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5806,7 +5806,7 @@ impl<'a> ProjectLocationGlobalProviderConnectorGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6086,7 +6086,7 @@ impl<'a> ProjectLocationGlobalProviderConnectorListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6342,7 +6342,7 @@ impl<'a> ProjectLocationGlobalProviderGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6623,7 +6623,7 @@ impl<'a> ProjectLocationGlobalProviderListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6908,7 +6908,7 @@ impl<'a> ProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7164,7 +7164,7 @@ impl<'a> ProjectLocationOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7420,7 +7420,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7712,7 +7712,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7981,7 +7981,7 @@ impl<'a> ProjectLocationProviderGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8267,7 +8267,7 @@ impl<'a> ProjectLocationProviderSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8552,7 +8552,7 @@ impl<'a> ProjectLocationProviderTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8808,7 +8808,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9064,7 +9064,7 @@ impl<'a> ProjectLocationGetRuntimeConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/connectors1/src/lib.rs b/gen/connectors1/src/lib.rs index 13df8fe67a..ca9696294c 100644 --- a/gen/connectors1/src/lib.rs +++ b/gen/connectors1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Connectors* crate version *3.0.0+20220214*, where *20220214* is the exact revision of the *connectors:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Connectors* crate version *3.1.0+20220214*, where *20220214* is the exact revision of the *connectors:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Connectors* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/apigee/docs/api-platform/connectors/about-connectors). @@ -95,7 +95,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Connectors::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/consumersurveys2-cli/Cargo.toml b/gen/consumersurveys2-cli/Cargo.toml index 40a21737fd..992226d59f 100644 --- a/gen/consumersurveys2-cli/Cargo.toml +++ b/gen/consumersurveys2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-consumersurveys2-cli" -version = "3.0.0+20170407" +version = "3.1.0+20170407" authors = ["Sebastian Thiel "] description = "A complete library to interact with Consumer Surveys (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/consumersurveys2-cli" @@ -19,12 +19,12 @@ name = "consumersurveys2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -36,4 +36,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-consumersurveys2] path = "../consumersurveys2" -version = "3.0.0+20170407" +version = "3.1.0+20170407" diff --git a/gen/consumersurveys2-cli/README.md b/gen/consumersurveys2-cli/README.md index b09bfb6f7e..825df29ae3 100644 --- a/gen/consumersurveys2-cli/README.md +++ b/gen/consumersurveys2-cli/README.md @@ -22,7 +22,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Consumer Surveys* API at revision *20170407*. The CLI is at version *3.0.0*. +This documentation was generated from the *Consumer Surveys* API at revision *20170407*. The CLI is at version *3.1.0*. ```bash consumersurveys2 [options] diff --git a/gen/consumersurveys2-cli/mkdocs.yml b/gen/consumersurveys2-cli/mkdocs.yml index 433e24bfe3..9eb96a2dab 100644 --- a/gen/consumersurveys2-cli/mkdocs.yml +++ b/gen/consumersurveys2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Consumer Surveys v3.0.0+20170407 +site_name: Consumer Surveys v3.1.0+20170407 site_url: http://byron.github.io/google-apis-rs/google-consumersurveys2-cli site_description: A complete library to interact with Consumer Surveys (protocol v2) diff --git a/gen/consumersurveys2-cli/src/main.rs b/gen/consumersurveys2-cli/src/main.rs index f02244b197..618f7f71ae 100644 --- a/gen/consumersurveys2-cli/src/main.rs +++ b/gen/consumersurveys2-cli/src/main.rs @@ -948,7 +948,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/consumersurveys2", 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::ConsumerSurveys::new(client, auth), @@ -1247,7 +1253,7 @@ async fn main() { let mut app = App::new("consumersurveys2") .author("Sebastian Thiel ") - .version("3.0.0+20170407") + .version("3.1.0+20170407") .about("Creates and conducts surveys, lists the surveys that an authenticated user owns, and retrieves survey results and information about specified surveys.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_consumersurveys2_cli") .arg(Arg::with_name("url") diff --git a/gen/consumersurveys2/Cargo.toml b/gen/consumersurveys2/Cargo.toml index ee2b78b14b..7327eaf166 100644 --- a/gen/consumersurveys2/Cargo.toml +++ b/gen/consumersurveys2/Cargo.toml @@ -4,11 +4,11 @@ [package] name = "google-consumersurveys2" -version = "3.0.0+20170407" +version = "3.1.0+20170407" authors = ["Sebastian Thiel "] description = "A complete library to interact with Consumer Surveys (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/consumersurveys2" -documentation = "https://docs.rs/google-consumersurveys2/3.0.0+20170407" +documentation = "https://docs.rs/google-consumersurveys2/3.1.0+20170407" license = "MIT" keywords = ["consumersurveys", "google", "protocol", "web", "api"] autobins = false @@ -16,12 +16,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/consumersurveys2/README.md b/gen/consumersurveys2/README.md index 31772592b5..9a68a687ae 100644 --- a/gen/consumersurveys2/README.md +++ b/gen/consumersurveys2/README.md @@ -5,22 +5,22 @@ DO NOT EDIT ! --> The `google-consumersurveys2` library allows access to all features of the *Google Consumer Surveys* service. -This documentation was generated from *Consumer Surveys* crate version *3.0.0+20170407*, where *20170407* is the exact revision of the *consumersurveys:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Consumer Surveys* crate version *3.1.0+20170407*, where *20170407* is the exact revision of the *consumersurveys:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-consumersurveys2/3.0.0+20170407/google_consumersurveys2/ConsumerSurveys) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-consumersurveys2/3.1.0+20170407/google_consumersurveys2/ConsumerSurveys) ... * mobileapppanels - * [*get*](https://docs.rs/google-consumersurveys2/3.0.0+20170407/google_consumersurveys2/api::MobileapppanelGetCall), [*list*](https://docs.rs/google-consumersurveys2/3.0.0+20170407/google_consumersurveys2/api::MobileapppanelListCall) and [*update*](https://docs.rs/google-consumersurveys2/3.0.0+20170407/google_consumersurveys2/api::MobileapppanelUpdateCall) + * [*get*](https://docs.rs/google-consumersurveys2/3.1.0+20170407/google_consumersurveys2/api::MobileapppanelGetCall), [*list*](https://docs.rs/google-consumersurveys2/3.1.0+20170407/google_consumersurveys2/api::MobileapppanelListCall) and [*update*](https://docs.rs/google-consumersurveys2/3.1.0+20170407/google_consumersurveys2/api::MobileapppanelUpdateCall) * results - * [*get*](https://docs.rs/google-consumersurveys2/3.0.0+20170407/google_consumersurveys2/api::ResultGetCall) -* [surveys](https://docs.rs/google-consumersurveys2/3.0.0+20170407/google_consumersurveys2/api::Survey) - * [*delete*](https://docs.rs/google-consumersurveys2/3.0.0+20170407/google_consumersurveys2/api::SurveyDeleteCall), [*get*](https://docs.rs/google-consumersurveys2/3.0.0+20170407/google_consumersurveys2/api::SurveyGetCall), [*insert*](https://docs.rs/google-consumersurveys2/3.0.0+20170407/google_consumersurveys2/api::SurveyInsertCall), [*list*](https://docs.rs/google-consumersurveys2/3.0.0+20170407/google_consumersurveys2/api::SurveyListCall), [*start*](https://docs.rs/google-consumersurveys2/3.0.0+20170407/google_consumersurveys2/api::SurveyStartCall), [*stop*](https://docs.rs/google-consumersurveys2/3.0.0+20170407/google_consumersurveys2/api::SurveyStopCall) and [*update*](https://docs.rs/google-consumersurveys2/3.0.0+20170407/google_consumersurveys2/api::SurveyUpdateCall) + * [*get*](https://docs.rs/google-consumersurveys2/3.1.0+20170407/google_consumersurveys2/api::ResultGetCall) +* [surveys](https://docs.rs/google-consumersurveys2/3.1.0+20170407/google_consumersurveys2/api::Survey) + * [*delete*](https://docs.rs/google-consumersurveys2/3.1.0+20170407/google_consumersurveys2/api::SurveyDeleteCall), [*get*](https://docs.rs/google-consumersurveys2/3.1.0+20170407/google_consumersurveys2/api::SurveyGetCall), [*insert*](https://docs.rs/google-consumersurveys2/3.1.0+20170407/google_consumersurveys2/api::SurveyInsertCall), [*list*](https://docs.rs/google-consumersurveys2/3.1.0+20170407/google_consumersurveys2/api::SurveyListCall), [*start*](https://docs.rs/google-consumersurveys2/3.1.0+20170407/google_consumersurveys2/api::SurveyStartCall), [*stop*](https://docs.rs/google-consumersurveys2/3.1.0+20170407/google_consumersurveys2/api::SurveyStopCall) and [*update*](https://docs.rs/google-consumersurveys2/3.1.0+20170407/google_consumersurveys2/api::SurveyUpdateCall) Download supported by ... -* [*get results*](https://docs.rs/google-consumersurveys2/3.0.0+20170407/google_consumersurveys2/api::ResultGetCall) +* [*get results*](https://docs.rs/google-consumersurveys2/3.1.0+20170407/google_consumersurveys2/api::ResultGetCall) @@ -28,17 +28,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-consumersurveys2/3.0.0+20170407/google_consumersurveys2/ConsumerSurveys)** +* **[Hub](https://docs.rs/google-consumersurveys2/3.1.0+20170407/google_consumersurveys2/ConsumerSurveys)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-consumersurveys2/3.0.0+20170407/google_consumersurveys2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-consumersurveys2/3.0.0+20170407/google_consumersurveys2/client::CallBuilder) -* **[Resources](https://docs.rs/google-consumersurveys2/3.0.0+20170407/google_consumersurveys2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-consumersurveys2/3.1.0+20170407/google_consumersurveys2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-consumersurveys2/3.1.0+20170407/google_consumersurveys2/client::CallBuilder) +* **[Resources](https://docs.rs/google-consumersurveys2/3.1.0+20170407/google_consumersurveys2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-consumersurveys2/3.0.0+20170407/google_consumersurveys2/client::Part)** + * **[Parts](https://docs.rs/google-consumersurveys2/3.1.0+20170407/google_consumersurveys2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-consumersurveys2/3.0.0+20170407/google_consumersurveys2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-consumersurveys2/3.1.0+20170407/google_consumersurveys2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -101,7 +101,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = ConsumerSurveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = ConsumerSurveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-consumersurveys2/3.0.0+20170407/google_consumersurveys2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-consumersurveys2/3.1.0+20170407/google_consumersurveys2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-consumersurveys2/3.0.0+20170407/google_consumersurveys2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-consumersurveys2/3.1.0+20170407/google_consumersurveys2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-consumersurveys2/3.0.0+20170407/google_consumersurveys2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-consumersurveys2/3.1.0+20170407/google_consumersurveys2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-consumersurveys2/3.0.0+20170407/google_consumersurveys2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-consumersurveys2/3.1.0+20170407/google_consumersurveys2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -152,29 +152,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-consumersurveys2/3.0.0+20170407/google_consumersurveys2/client::Delegate) to the -[Method Builder](https://docs.rs/google-consumersurveys2/3.0.0+20170407/google_consumersurveys2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-consumersurveys2/3.1.0+20170407/google_consumersurveys2/client::Delegate) to the +[Method Builder](https://docs.rs/google-consumersurveys2/3.1.0+20170407/google_consumersurveys2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-consumersurveys2/3.0.0+20170407/google_consumersurveys2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-consumersurveys2/3.1.0+20170407/google_consumersurveys2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-consumersurveys2/3.0.0+20170407/google_consumersurveys2/client::RequestValue) and -[decodable](https://docs.rs/google-consumersurveys2/3.0.0+20170407/google_consumersurveys2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-consumersurveys2/3.1.0+20170407/google_consumersurveys2/client::RequestValue) and +[decodable](https://docs.rs/google-consumersurveys2/3.1.0+20170407/google_consumersurveys2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-consumersurveys2/3.0.0+20170407/google_consumersurveys2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-consumersurveys2/3.1.0+20170407/google_consumersurveys2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-consumersurveys2/3.0.0+20170407/google_consumersurveys2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-consumersurveys2/3.1.0+20170407/google_consumersurveys2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-consumersurveys2/3.0.0+20170407/google_consumersurveys2/client::RequestValue) are moved +* [request values](https://docs.rs/google-consumersurveys2/3.1.0+20170407/google_consumersurveys2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/consumersurveys2/src/api.rs b/gen/consumersurveys2/src/api.rs index b3263a509d..86c872198a 100644 --- a/gen/consumersurveys2/src/api.rs +++ b/gen/consumersurveys2/src/api.rs @@ -78,7 +78,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ConsumerSurveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ConsumerSurveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -124,7 +124,7 @@ impl<'a, > ConsumerSurveys<> { ConsumerSurveys { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/consumersurveys/v2/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -141,7 +141,7 @@ impl<'a, > ConsumerSurveys<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -661,7 +661,7 @@ impl client::Part for TokenPagination {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ConsumerSurveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ConsumerSurveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)` and `update(...)` /// // to build up your call. @@ -753,7 +753,7 @@ impl<'a> MobileapppanelMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ConsumerSurveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ConsumerSurveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -813,7 +813,7 @@ impl<'a> ResultMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ConsumerSurveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ConsumerSurveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `start(...)`, `stop(...)` and `update(...)` /// // to build up your call. @@ -982,7 +982,7 @@ impl<'a> SurveyMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ConsumerSurveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ConsumerSurveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1230,7 +1230,7 @@ impl<'a> MobileapppanelGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ConsumerSurveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ConsumerSurveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1479,7 +1479,7 @@ impl<'a> MobileapppanelListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ConsumerSurveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ConsumerSurveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1762,7 +1762,7 @@ impl<'a> MobileapppanelUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ConsumerSurveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ConsumerSurveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2055,7 +2055,7 @@ impl<'a> ResultGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ConsumerSurveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ConsumerSurveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2303,7 +2303,7 @@ impl<'a> SurveyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ConsumerSurveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ConsumerSurveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2552,7 +2552,7 @@ impl<'a> SurveyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ConsumerSurveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ConsumerSurveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2796,7 +2796,7 @@ impl<'a> SurveyInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ConsumerSurveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ConsumerSurveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3045,7 +3045,7 @@ impl<'a> SurveyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ConsumerSurveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ConsumerSurveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3321,7 +3321,7 @@ impl<'a> SurveyStartCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ConsumerSurveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ConsumerSurveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3569,7 +3569,7 @@ impl<'a> SurveyStopCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ConsumerSurveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ConsumerSurveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/consumersurveys2/src/lib.rs b/gen/consumersurveys2/src/lib.rs index ddfb61d668..a2f7c918a9 100644 --- a/gen/consumersurveys2/src/lib.rs +++ b/gen/consumersurveys2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Consumer Surveys* crate version *3.0.0+20170407*, where *20170407* is the exact revision of the *consumersurveys:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Consumer Surveys* crate version *3.1.0+20170407*, where *20170407* is the exact revision of the *consumersurveys:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! The original source code is [on github](https://github.com/Byron/google-apis-rs/tree/main/gen/consumersurveys2). //! # Features //! @@ -102,7 +102,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = ConsumerSurveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = ConsumerSurveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/contactcenterinsights1-cli/Cargo.toml b/gen/contactcenterinsights1-cli/Cargo.toml index 8913d51511..fc0e45f13a 100644 --- a/gen/contactcenterinsights1-cli/Cargo.toml +++ b/gen/contactcenterinsights1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-contactcenterinsights1-cli" -version = "3.0.0+20220227" +version = "3.1.0+20220227" authors = ["Sebastian Thiel "] description = "A complete library to interact with Contactcenterinsights (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/contactcenterinsights1-cli" @@ -20,12 +20,12 @@ name = "contactcenterinsights1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-contactcenterinsights1] path = "../contactcenterinsights1" -version = "3.0.0+20220227" +version = "3.1.0+20220227" diff --git a/gen/contactcenterinsights1-cli/README.md b/gen/contactcenterinsights1-cli/README.md index 2cc54589dc..7c95ea578f 100644 --- a/gen/contactcenterinsights1-cli/README.md +++ b/gen/contactcenterinsights1-cli/README.md @@ -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 *Contactcenterinsights* API at revision *20220227*. The CLI is at version *3.0.0*. +This documentation was generated from the *Contactcenterinsights* API at revision *20220227*. The CLI is at version *3.1.0*. ```bash contactcenterinsights1 [options] diff --git a/gen/contactcenterinsights1-cli/mkdocs.yml b/gen/contactcenterinsights1-cli/mkdocs.yml index fc62ce4152..06120cd6ee 100644 --- a/gen/contactcenterinsights1-cli/mkdocs.yml +++ b/gen/contactcenterinsights1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Contactcenterinsights v3.0.0+20220227 +site_name: Contactcenterinsights v3.1.0+20220227 site_url: http://byron.github.io/google-apis-rs/google-contactcenterinsights1-cli site_description: A complete library to interact with Contactcenterinsights (protocol v1) diff --git a/gen/contactcenterinsights1-cli/src/main.rs b/gen/contactcenterinsights1-cli/src/main.rs index 8ad28c1fbc..2f5ce7469b 100644 --- a/gen/contactcenterinsights1-cli/src/main.rs +++ b/gen/contactcenterinsights1-cli/src/main.rs @@ -2785,7 +2785,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/contactcenterinsights1", 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::Contactcenterinsights::new(client, auth), @@ -3725,7 +3731,7 @@ async fn main() { let mut app = App::new("contactcenterinsights1") .author("Sebastian Thiel ") - .version("3.0.0+20220227") + .version("3.1.0+20220227") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_contactcenterinsights1_cli") .arg(Arg::with_name("url") diff --git a/gen/contactcenterinsights1/Cargo.toml b/gen/contactcenterinsights1/Cargo.toml index c7fe046468..a7f6d07da5 100644 --- a/gen/contactcenterinsights1/Cargo.toml +++ b/gen/contactcenterinsights1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-contactcenterinsights1" -version = "3.0.0+20220227" +version = "3.1.0+20220227" authors = ["Sebastian Thiel "] description = "A complete library to interact with Contactcenterinsights (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/contactcenterinsights1" homepage = "https://cloud.google.com/contact-center/insights/docs" -documentation = "https://docs.rs/google-contactcenterinsights1/3.0.0+20220227" +documentation = "https://docs.rs/google-contactcenterinsights1/3.1.0+20220227" license = "MIT" keywords = ["contactcenterinsight", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/contactcenterinsights1/README.md b/gen/contactcenterinsights1/README.md index 15f533e517..cf867f3f5f 100644 --- a/gen/contactcenterinsights1/README.md +++ b/gen/contactcenterinsights1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-contactcenterinsights1` library allows access to all features of the *Google Contactcenterinsights* service. -This documentation was generated from *Contactcenterinsights* crate version *3.0.0+20220227*, where *20220227* is the exact revision of the *contactcenterinsights:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Contactcenterinsights* crate version *3.1.0+20220227*, where *20220227* is the exact revision of the *contactcenterinsights:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Contactcenterinsights* *v1* API can be found at the [official documentation site](https://cloud.google.com/contact-center/insights/docs). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/Contactcenterinsights) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/Contactcenterinsights) ... * projects - * [*locations conversations analyses create*](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/api::ProjectLocationConversationAnalyseCreateCall), [*locations conversations analyses delete*](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/api::ProjectLocationConversationAnalyseDeleteCall), [*locations conversations analyses get*](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/api::ProjectLocationConversationAnalyseGetCall), [*locations conversations analyses list*](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/api::ProjectLocationConversationAnalyseListCall), [*locations conversations calculate stats*](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/api::ProjectLocationConversationCalculateStatCall), [*locations conversations create*](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/api::ProjectLocationConversationCreateCall), [*locations conversations delete*](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/api::ProjectLocationConversationDeleteCall), [*locations conversations get*](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/api::ProjectLocationConversationGetCall), [*locations conversations list*](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/api::ProjectLocationConversationListCall), [*locations conversations patch*](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/api::ProjectLocationConversationPatchCall), [*locations get settings*](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/api::ProjectLocationGetSettingCall), [*locations insightsdata export*](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/api::ProjectLocationInsightsdataExportCall), [*locations issue models calculate issue model stats*](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/api::ProjectLocationIssueModelCalculateIssueModelStatCall), [*locations issue models create*](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/api::ProjectLocationIssueModelCreateCall), [*locations issue models delete*](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/api::ProjectLocationIssueModelDeleteCall), [*locations issue models deploy*](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/api::ProjectLocationIssueModelDeployCall), [*locations issue models get*](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/api::ProjectLocationIssueModelGetCall), [*locations issue models issues get*](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/api::ProjectLocationIssueModelIssueGetCall), [*locations issue models issues list*](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/api::ProjectLocationIssueModelIssueListCall), [*locations issue models issues patch*](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/api::ProjectLocationIssueModelIssuePatchCall), [*locations issue models list*](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/api::ProjectLocationIssueModelListCall), [*locations issue models patch*](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/api::ProjectLocationIssueModelPatchCall), [*locations issue models undeploy*](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/api::ProjectLocationIssueModelUndeployCall), [*locations operations cancel*](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/api::ProjectLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/api::ProjectLocationOperationListCall), [*locations phrase matchers create*](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/api::ProjectLocationPhraseMatcherCreateCall), [*locations phrase matchers delete*](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/api::ProjectLocationPhraseMatcherDeleteCall), [*locations phrase matchers get*](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/api::ProjectLocationPhraseMatcherGetCall), [*locations phrase matchers list*](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/api::ProjectLocationPhraseMatcherListCall), [*locations phrase matchers patch*](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/api::ProjectLocationPhraseMatcherPatchCall), [*locations update settings*](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/api::ProjectLocationUpdateSettingCall), [*locations views create*](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/api::ProjectLocationViewCreateCall), [*locations views delete*](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/api::ProjectLocationViewDeleteCall), [*locations views get*](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/api::ProjectLocationViewGetCall), [*locations views list*](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/api::ProjectLocationViewListCall) and [*locations views patch*](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/api::ProjectLocationViewPatchCall) + * [*locations conversations analyses create*](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/api::ProjectLocationConversationAnalyseCreateCall), [*locations conversations analyses delete*](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/api::ProjectLocationConversationAnalyseDeleteCall), [*locations conversations analyses get*](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/api::ProjectLocationConversationAnalyseGetCall), [*locations conversations analyses list*](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/api::ProjectLocationConversationAnalyseListCall), [*locations conversations calculate stats*](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/api::ProjectLocationConversationCalculateStatCall), [*locations conversations create*](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/api::ProjectLocationConversationCreateCall), [*locations conversations delete*](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/api::ProjectLocationConversationDeleteCall), [*locations conversations get*](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/api::ProjectLocationConversationGetCall), [*locations conversations list*](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/api::ProjectLocationConversationListCall), [*locations conversations patch*](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/api::ProjectLocationConversationPatchCall), [*locations get settings*](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/api::ProjectLocationGetSettingCall), [*locations insightsdata export*](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/api::ProjectLocationInsightsdataExportCall), [*locations issue models calculate issue model stats*](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/api::ProjectLocationIssueModelCalculateIssueModelStatCall), [*locations issue models create*](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/api::ProjectLocationIssueModelCreateCall), [*locations issue models delete*](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/api::ProjectLocationIssueModelDeleteCall), [*locations issue models deploy*](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/api::ProjectLocationIssueModelDeployCall), [*locations issue models get*](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/api::ProjectLocationIssueModelGetCall), [*locations issue models issues get*](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/api::ProjectLocationIssueModelIssueGetCall), [*locations issue models issues list*](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/api::ProjectLocationIssueModelIssueListCall), [*locations issue models issues patch*](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/api::ProjectLocationIssueModelIssuePatchCall), [*locations issue models list*](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/api::ProjectLocationIssueModelListCall), [*locations issue models patch*](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/api::ProjectLocationIssueModelPatchCall), [*locations issue models undeploy*](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/api::ProjectLocationIssueModelUndeployCall), [*locations operations cancel*](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/api::ProjectLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/api::ProjectLocationOperationListCall), [*locations phrase matchers create*](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/api::ProjectLocationPhraseMatcherCreateCall), [*locations phrase matchers delete*](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/api::ProjectLocationPhraseMatcherDeleteCall), [*locations phrase matchers get*](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/api::ProjectLocationPhraseMatcherGetCall), [*locations phrase matchers list*](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/api::ProjectLocationPhraseMatcherListCall), [*locations phrase matchers patch*](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/api::ProjectLocationPhraseMatcherPatchCall), [*locations update settings*](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/api::ProjectLocationUpdateSettingCall), [*locations views create*](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/api::ProjectLocationViewCreateCall), [*locations views delete*](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/api::ProjectLocationViewDeleteCall), [*locations views get*](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/api::ProjectLocationViewGetCall), [*locations views list*](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/api::ProjectLocationViewListCall) and [*locations views patch*](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/api::ProjectLocationViewPatchCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/Contactcenterinsights)** +* **[Hub](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/Contactcenterinsights)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/client::CallBuilder) -* **[Resources](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/client::CallBuilder) +* **[Resources](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/client::Part)** + * **[Parts](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -97,7 +97,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -130,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -150,29 +150,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/client::Delegate) to the -[Method Builder](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/client::Delegate) to the +[Method Builder](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/client::RequestValue) and -[decodable](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/client::RequestValue) and +[decodable](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-contactcenterinsights1/3.0.0+20220227/google_contactcenterinsights1/client::RequestValue) are moved +* [request values](https://docs.rs/google-contactcenterinsights1/3.1.0+20220227/google_contactcenterinsights1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/contactcenterinsights1/src/api.rs b/gen/contactcenterinsights1/src/api.rs index 3ec822d604..05c7e95c5f 100644 --- a/gen/contactcenterinsights1/src/api.rs +++ b/gen/contactcenterinsights1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > Contactcenterinsights<> { Contactcenterinsights { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://contactcenterinsights.googleapis.com/".to_string(), _root_url: "https://contactcenterinsights.googleapis.com/".to_string(), } @@ -130,7 +130,7 @@ impl<'a, > Contactcenterinsights<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1631,7 +1631,7 @@ impl client::Part for GoogleRpcStatus {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_conversations_analyses_create(...)`, `locations_conversations_analyses_delete(...)`, `locations_conversations_analyses_get(...)`, `locations_conversations_analyses_list(...)`, `locations_conversations_calculate_stats(...)`, `locations_conversations_create(...)`, `locations_conversations_delete(...)`, `locations_conversations_get(...)`, `locations_conversations_list(...)`, `locations_conversations_patch(...)`, `locations_get_settings(...)`, `locations_insightsdata_export(...)`, `locations_issue_models_calculate_issue_model_stats(...)`, `locations_issue_models_create(...)`, `locations_issue_models_delete(...)`, `locations_issue_models_deploy(...)`, `locations_issue_models_get(...)`, `locations_issue_models_issues_get(...)`, `locations_issue_models_issues_list(...)`, `locations_issue_models_issues_patch(...)`, `locations_issue_models_list(...)`, `locations_issue_models_patch(...)`, `locations_issue_models_undeploy(...)`, `locations_operations_cancel(...)`, `locations_operations_get(...)`, `locations_operations_list(...)`, `locations_phrase_matchers_create(...)`, `locations_phrase_matchers_delete(...)`, `locations_phrase_matchers_get(...)`, `locations_phrase_matchers_list(...)`, `locations_phrase_matchers_patch(...)`, `locations_update_settings(...)`, `locations_views_create(...)`, `locations_views_delete(...)`, `locations_views_get(...)`, `locations_views_list(...)` and `locations_views_patch(...)` /// // to build up your call. @@ -2362,7 +2362,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2647,7 +2647,7 @@ impl<'a> ProjectLocationConversationAnalyseCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2903,7 +2903,7 @@ impl<'a> ProjectLocationConversationAnalyseDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3159,7 +3159,7 @@ impl<'a> ProjectLocationConversationAnalyseGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3451,7 +3451,7 @@ impl<'a> ProjectLocationConversationAnalyseListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3720,7 +3720,7 @@ impl<'a> ProjectLocationConversationCalculateStatCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4017,7 +4017,7 @@ impl<'a> ProjectLocationConversationCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4285,7 +4285,7 @@ impl<'a> ProjectLocationConversationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4553,7 +4553,7 @@ impl<'a> ProjectLocationConversationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4858,7 +4858,7 @@ impl<'a> ProjectLocationConversationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5156,7 +5156,7 @@ impl<'a> ProjectLocationConversationPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5441,7 +5441,7 @@ impl<'a> ProjectLocationInsightsdataExportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5697,7 +5697,7 @@ impl<'a> ProjectLocationIssueModelIssueGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5954,7 +5954,7 @@ impl<'a> ProjectLocationIssueModelIssueListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6251,7 +6251,7 @@ impl<'a> ProjectLocationIssueModelIssuePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6508,7 +6508,7 @@ impl<'a> ProjectLocationIssueModelCalculateIssueModelStatCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6793,7 +6793,7 @@ impl<'a> ProjectLocationIssueModelCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7050,7 +7050,7 @@ impl<'a> ProjectLocationIssueModelDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7335,7 +7335,7 @@ impl<'a> ProjectLocationIssueModelDeployCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7591,7 +7591,7 @@ impl<'a> ProjectLocationIssueModelGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7848,7 +7848,7 @@ impl<'a> ProjectLocationIssueModelListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8146,7 +8146,7 @@ impl<'a> ProjectLocationIssueModelPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8431,7 +8431,7 @@ impl<'a> ProjectLocationIssueModelUndeployCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8687,7 +8687,7 @@ impl<'a> ProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8943,7 +8943,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9236,7 +9236,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9521,7 +9521,7 @@ impl<'a> ProjectLocationPhraseMatcherCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9777,7 +9777,7 @@ impl<'a> ProjectLocationPhraseMatcherDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10033,7 +10033,7 @@ impl<'a> ProjectLocationPhraseMatcherGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10326,7 +10326,7 @@ impl<'a> ProjectLocationPhraseMatcherListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10624,7 +10624,7 @@ impl<'a> ProjectLocationPhraseMatcherPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10909,7 +10909,7 @@ impl<'a> ProjectLocationViewCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11165,7 +11165,7 @@ impl<'a> ProjectLocationViewDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11421,7 +11421,7 @@ impl<'a> ProjectLocationViewGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11702,7 +11702,7 @@ impl<'a> ProjectLocationViewListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11999,7 +11999,7 @@ impl<'a> ProjectLocationViewPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12256,7 +12256,7 @@ impl<'a> ProjectLocationGetSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/contactcenterinsights1/src/lib.rs b/gen/contactcenterinsights1/src/lib.rs index a7e3fe2fe7..a55b8e7fb5 100644 --- a/gen/contactcenterinsights1/src/lib.rs +++ b/gen/contactcenterinsights1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Contactcenterinsights* crate version *3.0.0+20220227*, where *20220227* is the exact revision of the *contactcenterinsights:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Contactcenterinsights* crate version *3.1.0+20220227*, where *20220227* is the exact revision of the *contactcenterinsights:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Contactcenterinsights* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/contact-center/insights/docs). @@ -98,7 +98,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Contactcenterinsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/container1-cli/Cargo.toml b/gen/container1-cli/Cargo.toml index 884eea6b26..bae975492e 100644 --- a/gen/container1-cli/Cargo.toml +++ b/gen/container1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-container1-cli" -version = "3.0.0+20220215" +version = "3.1.0+20220215" authors = ["Sebastian Thiel "] description = "A complete library to interact with Container (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/container1-cli" @@ -20,12 +20,12 @@ name = "container1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-container1] path = "../container1" -version = "3.0.0+20220215" +version = "3.1.0+20220215" diff --git a/gen/container1-cli/README.md b/gen/container1-cli/README.md index 3f38e5c965..f619d790b1 100644 --- a/gen/container1-cli/README.md +++ b/gen/container1-cli/README.md @@ -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 *Container* API at revision *20220215*. The CLI is at version *3.0.0*. +This documentation was generated from the *Container* API at revision *20220215*. The CLI is at version *3.1.0*. ```bash container1 [options] diff --git a/gen/container1-cli/mkdocs.yml b/gen/container1-cli/mkdocs.yml index bc26ce7361..78d27f2d33 100644 --- a/gen/container1-cli/mkdocs.yml +++ b/gen/container1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Container v3.0.0+20220215 +site_name: Container v3.1.0+20220215 site_url: http://byron.github.io/google-apis-rs/google-container1-cli site_description: A complete library to interact with Container (protocol v1) diff --git a/gen/container1-cli/src/main.rs b/gen/container1-cli/src/main.rs index 40e1ff9419..fd973601a4 100644 --- a/gen/container1-cli/src/main.rs +++ b/gen/container1-cli/src/main.rs @@ -5887,7 +5887,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/container1", 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::Container::new(client, auth), @@ -7945,7 +7951,7 @@ async fn main() { let mut app = App::new("container1") .author("Sebastian Thiel ") - .version("3.0.0+20220215") + .version("3.1.0+20220215") .about("Builds and manages container-based applications, powered by the open source Kubernetes technology.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_container1_cli") .arg(Arg::with_name("url") diff --git a/gen/container1/Cargo.toml b/gen/container1/Cargo.toml index 3c29a80653..b521ccbcb2 100644 --- a/gen/container1/Cargo.toml +++ b/gen/container1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-container1" -version = "3.0.0+20220215" +version = "3.1.0+20220215" authors = ["Sebastian Thiel "] description = "A complete library to interact with Container (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/container1" homepage = "https://cloud.google.com/container-engine/" -documentation = "https://docs.rs/google-container1/3.0.0+20220215" +documentation = "https://docs.rs/google-container1/3.1.0+20220215" license = "MIT" keywords = ["container", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/container1/README.md b/gen/container1/README.md index c8745bdc71..b7e9cbb97f 100644 --- a/gen/container1/README.md +++ b/gen/container1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-container1` library allows access to all features of the *Google Container* service. -This documentation was generated from *Container* crate version *3.0.0+20220215*, where *20220215* is the exact revision of the *container:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Container* crate version *3.1.0+20220215*, where *20220215* is the exact revision of the *container:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Container* *v1* API can be found at the [official documentation site](https://cloud.google.com/container-engine/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-container1/3.0.0+20220215/google_container1/Container) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-container1/3.1.0+20220215/google_container1/Container) ... * projects - * [*aggregated usable subnetworks list*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectAggregatedUsableSubnetworkListCall), [*locations clusters complete ip rotation*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectLocationClusterCompleteIpRotationCall), [*locations clusters create*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectLocationClusterCreateCall), [*locations clusters delete*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectLocationClusterDeleteCall), [*locations clusters get*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectLocationClusterGetCall), [*locations clusters get jwks*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectLocationClusterGetJwkCall), [*locations clusters list*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectLocationClusterListCall), [*locations clusters node pools create*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectLocationClusterNodePoolCreateCall), [*locations clusters node pools delete*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectLocationClusterNodePoolDeleteCall), [*locations clusters node pools get*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectLocationClusterNodePoolGetCall), [*locations clusters node pools list*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectLocationClusterNodePoolListCall), [*locations clusters node pools rollback*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectLocationClusterNodePoolRollbackCall), [*locations clusters node pools set autoscaling*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectLocationClusterNodePoolSetAutoscalingCall), [*locations clusters node pools set management*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectLocationClusterNodePoolSetManagementCall), [*locations clusters node pools set size*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectLocationClusterNodePoolSetSizeCall), [*locations clusters node pools update*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectLocationClusterNodePoolUpdateCall), [*locations clusters set addons*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectLocationClusterSetAddonCall), [*locations clusters set legacy abac*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectLocationClusterSetLegacyAbacCall), [*locations clusters set locations*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectLocationClusterSetLocationCall), [*locations clusters set logging*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectLocationClusterSetLoggingCall), [*locations clusters set maintenance policy*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectLocationClusterSetMaintenancePolicyCall), [*locations clusters set master auth*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectLocationClusterSetMasterAuthCall), [*locations clusters set monitoring*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectLocationClusterSetMonitoringCall), [*locations clusters set network policy*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectLocationClusterSetNetworkPolicyCall), [*locations clusters set resource labels*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectLocationClusterSetResourceLabelCall), [*locations clusters start ip rotation*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectLocationClusterStartIpRotationCall), [*locations clusters update*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectLocationClusterUpdateCall), [*locations clusters update master*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectLocationClusterUpdateMasterCall), [*locations clusters well-known get openid-configuration*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectLocationClusterWellKnownGetOpenidConfigurationCall), [*locations get server config*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectLocationGetServerConfigCall), [*locations operations cancel*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectLocationOperationListCall), [*zones clusters addons*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectZoneClusterAddonCall), [*zones clusters complete ip rotation*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectZoneClusterCompleteIpRotationCall), [*zones clusters create*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectZoneClusterCreateCall), [*zones clusters delete*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectZoneClusterDeleteCall), [*zones clusters get*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectZoneClusterGetCall), [*zones clusters legacy abac*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectZoneClusterLegacyAbacCall), [*zones clusters list*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectZoneClusterListCall), [*zones clusters locations*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectZoneClusterLocationCall), [*zones clusters logging*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectZoneClusterLoggingCall), [*zones clusters master*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectZoneClusterMasterCall), [*zones clusters monitoring*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectZoneClusterMonitoringCall), [*zones clusters node pools autoscaling*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectZoneClusterNodePoolAutoscalingCall), [*zones clusters node pools create*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectZoneClusterNodePoolCreateCall), [*zones clusters node pools delete*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectZoneClusterNodePoolDeleteCall), [*zones clusters node pools get*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectZoneClusterNodePoolGetCall), [*zones clusters node pools list*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectZoneClusterNodePoolListCall), [*zones clusters node pools rollback*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectZoneClusterNodePoolRollbackCall), [*zones clusters node pools set management*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectZoneClusterNodePoolSetManagementCall), [*zones clusters node pools set size*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectZoneClusterNodePoolSetSizeCall), [*zones clusters node pools update*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectZoneClusterNodePoolUpdateCall), [*zones clusters resource labels*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectZoneClusterResourceLabelCall), [*zones clusters set maintenance policy*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectZoneClusterSetMaintenancePolicyCall), [*zones clusters set master auth*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectZoneClusterSetMasterAuthCall), [*zones clusters set network policy*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectZoneClusterSetNetworkPolicyCall), [*zones clusters start ip rotation*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectZoneClusterStartIpRotationCall), [*zones clusters update*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectZoneClusterUpdateCall), [*zones get serverconfig*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectZoneGetServerconfigCall), [*zones operations cancel*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectZoneOperationCancelCall), [*zones operations get*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectZoneOperationGetCall) and [*zones operations list*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/api::ProjectZoneOperationListCall) + * [*aggregated usable subnetworks list*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectAggregatedUsableSubnetworkListCall), [*locations clusters complete ip rotation*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectLocationClusterCompleteIpRotationCall), [*locations clusters create*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectLocationClusterCreateCall), [*locations clusters delete*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectLocationClusterDeleteCall), [*locations clusters get*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectLocationClusterGetCall), [*locations clusters get jwks*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectLocationClusterGetJwkCall), [*locations clusters list*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectLocationClusterListCall), [*locations clusters node pools create*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectLocationClusterNodePoolCreateCall), [*locations clusters node pools delete*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectLocationClusterNodePoolDeleteCall), [*locations clusters node pools get*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectLocationClusterNodePoolGetCall), [*locations clusters node pools list*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectLocationClusterNodePoolListCall), [*locations clusters node pools rollback*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectLocationClusterNodePoolRollbackCall), [*locations clusters node pools set autoscaling*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectLocationClusterNodePoolSetAutoscalingCall), [*locations clusters node pools set management*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectLocationClusterNodePoolSetManagementCall), [*locations clusters node pools set size*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectLocationClusterNodePoolSetSizeCall), [*locations clusters node pools update*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectLocationClusterNodePoolUpdateCall), [*locations clusters set addons*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectLocationClusterSetAddonCall), [*locations clusters set legacy abac*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectLocationClusterSetLegacyAbacCall), [*locations clusters set locations*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectLocationClusterSetLocationCall), [*locations clusters set logging*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectLocationClusterSetLoggingCall), [*locations clusters set maintenance policy*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectLocationClusterSetMaintenancePolicyCall), [*locations clusters set master auth*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectLocationClusterSetMasterAuthCall), [*locations clusters set monitoring*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectLocationClusterSetMonitoringCall), [*locations clusters set network policy*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectLocationClusterSetNetworkPolicyCall), [*locations clusters set resource labels*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectLocationClusterSetResourceLabelCall), [*locations clusters start ip rotation*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectLocationClusterStartIpRotationCall), [*locations clusters update*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectLocationClusterUpdateCall), [*locations clusters update master*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectLocationClusterUpdateMasterCall), [*locations clusters well-known get openid-configuration*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectLocationClusterWellKnownGetOpenidConfigurationCall), [*locations get server config*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectLocationGetServerConfigCall), [*locations operations cancel*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectLocationOperationListCall), [*zones clusters addons*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectZoneClusterAddonCall), [*zones clusters complete ip rotation*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectZoneClusterCompleteIpRotationCall), [*zones clusters create*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectZoneClusterCreateCall), [*zones clusters delete*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectZoneClusterDeleteCall), [*zones clusters get*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectZoneClusterGetCall), [*zones clusters legacy abac*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectZoneClusterLegacyAbacCall), [*zones clusters list*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectZoneClusterListCall), [*zones clusters locations*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectZoneClusterLocationCall), [*zones clusters logging*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectZoneClusterLoggingCall), [*zones clusters master*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectZoneClusterMasterCall), [*zones clusters monitoring*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectZoneClusterMonitoringCall), [*zones clusters node pools autoscaling*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectZoneClusterNodePoolAutoscalingCall), [*zones clusters node pools create*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectZoneClusterNodePoolCreateCall), [*zones clusters node pools delete*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectZoneClusterNodePoolDeleteCall), [*zones clusters node pools get*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectZoneClusterNodePoolGetCall), [*zones clusters node pools list*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectZoneClusterNodePoolListCall), [*zones clusters node pools rollback*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectZoneClusterNodePoolRollbackCall), [*zones clusters node pools set management*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectZoneClusterNodePoolSetManagementCall), [*zones clusters node pools set size*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectZoneClusterNodePoolSetSizeCall), [*zones clusters node pools update*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectZoneClusterNodePoolUpdateCall), [*zones clusters resource labels*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectZoneClusterResourceLabelCall), [*zones clusters set maintenance policy*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectZoneClusterSetMaintenancePolicyCall), [*zones clusters set master auth*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectZoneClusterSetMasterAuthCall), [*zones clusters set network policy*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectZoneClusterSetNetworkPolicyCall), [*zones clusters start ip rotation*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectZoneClusterStartIpRotationCall), [*zones clusters update*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectZoneClusterUpdateCall), [*zones get serverconfig*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectZoneGetServerconfigCall), [*zones operations cancel*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectZoneOperationCancelCall), [*zones operations get*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectZoneOperationGetCall) and [*zones operations list*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/api::ProjectZoneOperationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-container1/3.0.0+20220215/google_container1/Container)** +* **[Hub](https://docs.rs/google-container1/3.1.0+20220215/google_container1/Container)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-container1/3.0.0+20220215/google_container1/client::CallBuilder) -* **[Resources](https://docs.rs/google-container1/3.0.0+20220215/google_container1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-container1/3.1.0+20220215/google_container1/client::CallBuilder) +* **[Resources](https://docs.rs/google-container1/3.1.0+20220215/google_container1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-container1/3.0.0+20220215/google_container1/client::Part)** + * **[Parts](https://docs.rs/google-container1/3.1.0+20220215/google_container1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-container1/3.0.0+20220215/google_container1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-container1/3.1.0+20220215/google_container1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -135,7 +135,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -167,17 +167,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-container1/3.0.0+20220215/google_container1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-container1/3.1.0+20220215/google_container1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-container1/3.0.0+20220215/google_container1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-container1/3.1.0+20220215/google_container1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-container1/3.0.0+20220215/google_container1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-container1/3.1.0+20220215/google_container1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-container1/3.0.0+20220215/google_container1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-container1/3.1.0+20220215/google_container1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -187,29 +187,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-container1/3.0.0+20220215/google_container1/client::Delegate) to the -[Method Builder](https://docs.rs/google-container1/3.0.0+20220215/google_container1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-container1/3.1.0+20220215/google_container1/client::Delegate) to the +[Method Builder](https://docs.rs/google-container1/3.1.0+20220215/google_container1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-container1/3.0.0+20220215/google_container1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-container1/3.1.0+20220215/google_container1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-container1/3.0.0+20220215/google_container1/client::RequestValue) and -[decodable](https://docs.rs/google-container1/3.0.0+20220215/google_container1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-container1/3.1.0+20220215/google_container1/client::RequestValue) and +[decodable](https://docs.rs/google-container1/3.1.0+20220215/google_container1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-container1/3.0.0+20220215/google_container1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-container1/3.1.0+20220215/google_container1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-container1/3.0.0+20220215/google_container1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-container1/3.1.0+20220215/google_container1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-container1/3.0.0+20220215/google_container1/client::RequestValue) are moved +* [request values](https://docs.rs/google-container1/3.1.0+20220215/google_container1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/container1/src/api.rs b/gen/container1/src/api.rs index 8d5932358c..a7d48e50f5 100644 --- a/gen/container1/src/api.rs +++ b/gen/container1/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -117,7 +117,7 @@ impl<'a, > Container<> { Container { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://container.googleapis.com/".to_string(), _root_url: "https://container.googleapis.com/".to_string(), } @@ -128,7 +128,7 @@ impl<'a, > Container<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -3026,7 +3026,7 @@ impl client::Part for WorkloadMetadataConfig {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `aggregated_usable_subnetworks_list(...)`, `locations_clusters_complete_ip_rotation(...)`, `locations_clusters_create(...)`, `locations_clusters_delete(...)`, `locations_clusters_get(...)`, `locations_clusters_get_jwks(...)`, `locations_clusters_list(...)`, `locations_clusters_node_pools_create(...)`, `locations_clusters_node_pools_delete(...)`, `locations_clusters_node_pools_get(...)`, `locations_clusters_node_pools_list(...)`, `locations_clusters_node_pools_rollback(...)`, `locations_clusters_node_pools_set_autoscaling(...)`, `locations_clusters_node_pools_set_management(...)`, `locations_clusters_node_pools_set_size(...)`, `locations_clusters_node_pools_update(...)`, `locations_clusters_set_addons(...)`, `locations_clusters_set_legacy_abac(...)`, `locations_clusters_set_locations(...)`, `locations_clusters_set_logging(...)`, `locations_clusters_set_maintenance_policy(...)`, `locations_clusters_set_master_auth(...)`, `locations_clusters_set_monitoring(...)`, `locations_clusters_set_network_policy(...)`, `locations_clusters_set_resource_labels(...)`, `locations_clusters_start_ip_rotation(...)`, `locations_clusters_update(...)`, `locations_clusters_update_master(...)`, `locations_clusters_well_known_get_openid_configuration(...)`, `locations_get_server_config(...)`, `locations_operations_cancel(...)`, `locations_operations_get(...)`, `locations_operations_list(...)`, `zones_clusters_addons(...)`, `zones_clusters_complete_ip_rotation(...)`, `zones_clusters_create(...)`, `zones_clusters_delete(...)`, `zones_clusters_get(...)`, `zones_clusters_legacy_abac(...)`, `zones_clusters_list(...)`, `zones_clusters_locations(...)`, `zones_clusters_logging(...)`, `zones_clusters_master(...)`, `zones_clusters_monitoring(...)`, `zones_clusters_node_pools_autoscaling(...)`, `zones_clusters_node_pools_create(...)`, `zones_clusters_node_pools_delete(...)`, `zones_clusters_node_pools_get(...)`, `zones_clusters_node_pools_list(...)`, `zones_clusters_node_pools_rollback(...)`, `zones_clusters_node_pools_set_management(...)`, `zones_clusters_node_pools_set_size(...)`, `zones_clusters_node_pools_update(...)`, `zones_clusters_resource_labels(...)`, `zones_clusters_set_maintenance_policy(...)`, `zones_clusters_set_master_auth(...)`, `zones_clusters_set_network_policy(...)`, `zones_clusters_start_ip_rotation(...)`, `zones_clusters_update(...)`, `zones_get_serverconfig(...)`, `zones_operations_cancel(...)`, `zones_operations_get(...)` and `zones_operations_list(...)` /// // to build up your call. @@ -4391,7 +4391,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4684,7 +4684,7 @@ impl<'a> ProjectAggregatedUsableSubnetworkListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4969,7 +4969,7 @@ impl<'a> ProjectLocationClusterNodePoolCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5273,7 +5273,7 @@ impl<'a> ProjectLocationClusterNodePoolDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5577,7 +5577,7 @@ impl<'a> ProjectLocationClusterNodePoolGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5870,7 +5870,7 @@ impl<'a> ProjectLocationClusterNodePoolListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6156,7 +6156,7 @@ impl<'a> ProjectLocationClusterNodePoolRollbackCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6442,7 +6442,7 @@ impl<'a> ProjectLocationClusterNodePoolSetAutoscalingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6728,7 +6728,7 @@ impl<'a> ProjectLocationClusterNodePoolSetManagementCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7014,7 +7014,7 @@ impl<'a> ProjectLocationClusterNodePoolSetSizeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7299,7 +7299,7 @@ impl<'a> ProjectLocationClusterNodePoolUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7526,7 +7526,7 @@ impl<'a> ProjectLocationClusterWellKnownGetOpenidConfigurationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7812,7 +7812,7 @@ impl<'a> ProjectLocationClusterCompleteIpRotationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8097,7 +8097,7 @@ impl<'a> ProjectLocationClusterCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8389,7 +8389,7 @@ impl<'a> ProjectLocationClusterDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8681,7 +8681,7 @@ impl<'a> ProjectLocationClusterGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8907,7 +8907,7 @@ impl<'a> ProjectLocationClusterGetJwkCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9188,7 +9188,7 @@ impl<'a> ProjectLocationClusterListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9474,7 +9474,7 @@ impl<'a> ProjectLocationClusterSetAddonCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9760,7 +9760,7 @@ impl<'a> ProjectLocationClusterSetLegacyAbacCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10046,7 +10046,7 @@ impl<'a> ProjectLocationClusterSetLocationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10332,7 +10332,7 @@ impl<'a> ProjectLocationClusterSetLoggingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10618,7 +10618,7 @@ impl<'a> ProjectLocationClusterSetMaintenancePolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10904,7 +10904,7 @@ impl<'a> ProjectLocationClusterSetMasterAuthCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11190,7 +11190,7 @@ impl<'a> ProjectLocationClusterSetMonitoringCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11476,7 +11476,7 @@ impl<'a> ProjectLocationClusterSetNetworkPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11762,7 +11762,7 @@ impl<'a> ProjectLocationClusterSetResourceLabelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12048,7 +12048,7 @@ impl<'a> ProjectLocationClusterStartIpRotationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12334,7 +12334,7 @@ impl<'a> ProjectLocationClusterUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12620,7 +12620,7 @@ impl<'a> ProjectLocationClusterUpdateMasterCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12905,7 +12905,7 @@ impl<'a> ProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13197,7 +13197,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13477,7 +13477,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13758,7 +13758,7 @@ impl<'a> ProjectLocationGetServerConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14076,7 +14076,7 @@ impl<'a> ProjectZoneClusterNodePoolAutoscalingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14381,7 +14381,7 @@ impl<'a> ProjectZoneClusterNodePoolCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14681,7 +14681,7 @@ impl<'a> ProjectZoneClusterNodePoolDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14981,7 +14981,7 @@ impl<'a> ProjectZoneClusterNodePoolGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15270,7 +15270,7 @@ impl<'a> ProjectZoneClusterNodePoolListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15588,7 +15588,7 @@ impl<'a> ProjectZoneClusterNodePoolRollbackCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15906,7 +15906,7 @@ impl<'a> ProjectZoneClusterNodePoolSetManagementCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16224,7 +16224,7 @@ impl<'a> ProjectZoneClusterNodePoolSetSizeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16542,7 +16542,7 @@ impl<'a> ProjectZoneClusterNodePoolUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16848,7 +16848,7 @@ impl<'a> ProjectZoneClusterAddonCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17154,7 +17154,7 @@ impl<'a> ProjectZoneClusterCompleteIpRotationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17447,7 +17447,7 @@ impl<'a> ProjectZoneClusterCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17735,7 +17735,7 @@ impl<'a> ProjectZoneClusterDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18024,7 +18024,7 @@ impl<'a> ProjectZoneClusterGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18329,7 +18329,7 @@ impl<'a> ProjectZoneClusterLegacyAbacCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18606,7 +18606,7 @@ impl<'a> ProjectZoneClusterListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18912,7 +18912,7 @@ impl<'a> ProjectZoneClusterLocationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19218,7 +19218,7 @@ impl<'a> ProjectZoneClusterLoggingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19524,7 +19524,7 @@ impl<'a> ProjectZoneClusterMasterCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19830,7 +19830,7 @@ impl<'a> ProjectZoneClusterMonitoringCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20136,7 +20136,7 @@ impl<'a> ProjectZoneClusterResourceLabelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20442,7 +20442,7 @@ impl<'a> ProjectZoneClusterSetMaintenancePolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20748,7 +20748,7 @@ impl<'a> ProjectZoneClusterSetMasterAuthCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21054,7 +21054,7 @@ impl<'a> ProjectZoneClusterSetNetworkPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21360,7 +21360,7 @@ impl<'a> ProjectZoneClusterStartIpRotationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21666,7 +21666,7 @@ impl<'a> ProjectZoneClusterUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21971,7 +21971,7 @@ impl<'a> ProjectZoneOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22259,7 +22259,7 @@ impl<'a> ProjectZoneOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22535,7 +22535,7 @@ impl<'a> ProjectZoneOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/container1/src/lib.rs b/gen/container1/src/lib.rs index 7caca54934..f7288262a0 100644 --- a/gen/container1/src/lib.rs +++ b/gen/container1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Container* crate version *3.0.0+20220215*, where *20220215* is the exact revision of the *container:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Container* crate version *3.1.0+20220215*, where *20220215* is the exact revision of the *container:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Container* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/container-engine/). @@ -136,7 +136,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Container::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/containeranalysis1-cli/Cargo.toml b/gen/containeranalysis1-cli/Cargo.toml index 3056f85433..1cc9b7c961 100644 --- a/gen/containeranalysis1-cli/Cargo.toml +++ b/gen/containeranalysis1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-containeranalysis1-cli" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with Container Analysis (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/containeranalysis1-cli" @@ -20,12 +20,12 @@ name = "containeranalysis1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-containeranalysis1] path = "../containeranalysis1" -version = "3.0.0+20220225" +version = "3.1.0+20220225" diff --git a/gen/containeranalysis1-cli/README.md b/gen/containeranalysis1-cli/README.md index 50701d722b..34ec4b8045 100644 --- a/gen/containeranalysis1-cli/README.md +++ b/gen/containeranalysis1-cli/README.md @@ -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 *Container Analysis* API at revision *20220225*. The CLI is at version *3.0.0*. +This documentation was generated from the *Container Analysis* API at revision *20220225*. The CLI is at version *3.1.0*. ```bash containeranalysis1 [options] diff --git a/gen/containeranalysis1-cli/mkdocs.yml b/gen/containeranalysis1-cli/mkdocs.yml index 85bdf0ea25..74963b0814 100644 --- a/gen/containeranalysis1-cli/mkdocs.yml +++ b/gen/containeranalysis1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Container Analysis v3.0.0+20220225 +site_name: Container Analysis v3.1.0+20220225 site_url: http://byron.github.io/google-apis-rs/google-containeranalysis1-cli site_description: A complete library to interact with Container Analysis (protocol v1) diff --git a/gen/containeranalysis1-cli/src/main.rs b/gen/containeranalysis1-cli/src/main.rs index cbd962e188..c6a5b023fe 100644 --- a/gen/containeranalysis1-cli/src/main.rs +++ b/gen/containeranalysis1-cli/src/main.rs @@ -2104,7 +2104,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/containeranalysis1", 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::ContainerAnalysis::new(client, auth), @@ -2680,7 +2686,7 @@ async fn main() { let mut app = App::new("containeranalysis1") .author("Sebastian Thiel ") - .version("3.0.0+20220225") + .version("3.1.0+20220225") .about("An implementation of the Grafeas API, which stores, and enables querying and retrieval of critical metadata about all of your software artifacts.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_containeranalysis1_cli") .arg(Arg::with_name("url") diff --git a/gen/containeranalysis1/Cargo.toml b/gen/containeranalysis1/Cargo.toml index 2f61ededa0..b8f939e9cf 100644 --- a/gen/containeranalysis1/Cargo.toml +++ b/gen/containeranalysis1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-containeranalysis1" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with Container Analysis (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/containeranalysis1" homepage = "https://cloud.google.com/container-analysis/api/reference/rest/" -documentation = "https://docs.rs/google-containeranalysis1/3.0.0+20220225" +documentation = "https://docs.rs/google-containeranalysis1/3.1.0+20220225" license = "MIT" keywords = ["containeranalysis", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/containeranalysis1/README.md b/gen/containeranalysis1/README.md index e90364afac..be198319d7 100644 --- a/gen/containeranalysis1/README.md +++ b/gen/containeranalysis1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-containeranalysis1` library allows access to all features of the *Google Container Analysis* service. -This documentation was generated from *Container Analysis* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *containeranalysis:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Container Analysis* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *containeranalysis:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Container Analysis* *v1* API can be found at the [official documentation site](https://cloud.google.com/container-analysis/api/reference/rest/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-containeranalysis1/3.0.0+20220225/google_containeranalysis1/ContainerAnalysis) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-containeranalysis1/3.1.0+20220225/google_containeranalysis1/ContainerAnalysis) ... * projects - * [*notes batch create*](https://docs.rs/google-containeranalysis1/3.0.0+20220225/google_containeranalysis1/api::ProjectNoteBatchCreateCall), [*notes create*](https://docs.rs/google-containeranalysis1/3.0.0+20220225/google_containeranalysis1/api::ProjectNoteCreateCall), [*notes delete*](https://docs.rs/google-containeranalysis1/3.0.0+20220225/google_containeranalysis1/api::ProjectNoteDeleteCall), [*notes get*](https://docs.rs/google-containeranalysis1/3.0.0+20220225/google_containeranalysis1/api::ProjectNoteGetCall), [*notes get iam policy*](https://docs.rs/google-containeranalysis1/3.0.0+20220225/google_containeranalysis1/api::ProjectNoteGetIamPolicyCall), [*notes list*](https://docs.rs/google-containeranalysis1/3.0.0+20220225/google_containeranalysis1/api::ProjectNoteListCall), [*notes occurrences list*](https://docs.rs/google-containeranalysis1/3.0.0+20220225/google_containeranalysis1/api::ProjectNoteOccurrenceListCall), [*notes patch*](https://docs.rs/google-containeranalysis1/3.0.0+20220225/google_containeranalysis1/api::ProjectNotePatchCall), [*notes set iam policy*](https://docs.rs/google-containeranalysis1/3.0.0+20220225/google_containeranalysis1/api::ProjectNoteSetIamPolicyCall), [*notes test iam permissions*](https://docs.rs/google-containeranalysis1/3.0.0+20220225/google_containeranalysis1/api::ProjectNoteTestIamPermissionCall), [*occurrences batch create*](https://docs.rs/google-containeranalysis1/3.0.0+20220225/google_containeranalysis1/api::ProjectOccurrenceBatchCreateCall), [*occurrences create*](https://docs.rs/google-containeranalysis1/3.0.0+20220225/google_containeranalysis1/api::ProjectOccurrenceCreateCall), [*occurrences delete*](https://docs.rs/google-containeranalysis1/3.0.0+20220225/google_containeranalysis1/api::ProjectOccurrenceDeleteCall), [*occurrences get*](https://docs.rs/google-containeranalysis1/3.0.0+20220225/google_containeranalysis1/api::ProjectOccurrenceGetCall), [*occurrences get iam policy*](https://docs.rs/google-containeranalysis1/3.0.0+20220225/google_containeranalysis1/api::ProjectOccurrenceGetIamPolicyCall), [*occurrences get notes*](https://docs.rs/google-containeranalysis1/3.0.0+20220225/google_containeranalysis1/api::ProjectOccurrenceGetNoteCall), [*occurrences get vulnerability summary*](https://docs.rs/google-containeranalysis1/3.0.0+20220225/google_containeranalysis1/api::ProjectOccurrenceGetVulnerabilitySummaryCall), [*occurrences list*](https://docs.rs/google-containeranalysis1/3.0.0+20220225/google_containeranalysis1/api::ProjectOccurrenceListCall), [*occurrences patch*](https://docs.rs/google-containeranalysis1/3.0.0+20220225/google_containeranalysis1/api::ProjectOccurrencePatchCall), [*occurrences set iam policy*](https://docs.rs/google-containeranalysis1/3.0.0+20220225/google_containeranalysis1/api::ProjectOccurrenceSetIamPolicyCall) and [*occurrences test iam permissions*](https://docs.rs/google-containeranalysis1/3.0.0+20220225/google_containeranalysis1/api::ProjectOccurrenceTestIamPermissionCall) + * [*notes batch create*](https://docs.rs/google-containeranalysis1/3.1.0+20220225/google_containeranalysis1/api::ProjectNoteBatchCreateCall), [*notes create*](https://docs.rs/google-containeranalysis1/3.1.0+20220225/google_containeranalysis1/api::ProjectNoteCreateCall), [*notes delete*](https://docs.rs/google-containeranalysis1/3.1.0+20220225/google_containeranalysis1/api::ProjectNoteDeleteCall), [*notes get*](https://docs.rs/google-containeranalysis1/3.1.0+20220225/google_containeranalysis1/api::ProjectNoteGetCall), [*notes get iam policy*](https://docs.rs/google-containeranalysis1/3.1.0+20220225/google_containeranalysis1/api::ProjectNoteGetIamPolicyCall), [*notes list*](https://docs.rs/google-containeranalysis1/3.1.0+20220225/google_containeranalysis1/api::ProjectNoteListCall), [*notes occurrences list*](https://docs.rs/google-containeranalysis1/3.1.0+20220225/google_containeranalysis1/api::ProjectNoteOccurrenceListCall), [*notes patch*](https://docs.rs/google-containeranalysis1/3.1.0+20220225/google_containeranalysis1/api::ProjectNotePatchCall), [*notes set iam policy*](https://docs.rs/google-containeranalysis1/3.1.0+20220225/google_containeranalysis1/api::ProjectNoteSetIamPolicyCall), [*notes test iam permissions*](https://docs.rs/google-containeranalysis1/3.1.0+20220225/google_containeranalysis1/api::ProjectNoteTestIamPermissionCall), [*occurrences batch create*](https://docs.rs/google-containeranalysis1/3.1.0+20220225/google_containeranalysis1/api::ProjectOccurrenceBatchCreateCall), [*occurrences create*](https://docs.rs/google-containeranalysis1/3.1.0+20220225/google_containeranalysis1/api::ProjectOccurrenceCreateCall), [*occurrences delete*](https://docs.rs/google-containeranalysis1/3.1.0+20220225/google_containeranalysis1/api::ProjectOccurrenceDeleteCall), [*occurrences get*](https://docs.rs/google-containeranalysis1/3.1.0+20220225/google_containeranalysis1/api::ProjectOccurrenceGetCall), [*occurrences get iam policy*](https://docs.rs/google-containeranalysis1/3.1.0+20220225/google_containeranalysis1/api::ProjectOccurrenceGetIamPolicyCall), [*occurrences get notes*](https://docs.rs/google-containeranalysis1/3.1.0+20220225/google_containeranalysis1/api::ProjectOccurrenceGetNoteCall), [*occurrences get vulnerability summary*](https://docs.rs/google-containeranalysis1/3.1.0+20220225/google_containeranalysis1/api::ProjectOccurrenceGetVulnerabilitySummaryCall), [*occurrences list*](https://docs.rs/google-containeranalysis1/3.1.0+20220225/google_containeranalysis1/api::ProjectOccurrenceListCall), [*occurrences patch*](https://docs.rs/google-containeranalysis1/3.1.0+20220225/google_containeranalysis1/api::ProjectOccurrencePatchCall), [*occurrences set iam policy*](https://docs.rs/google-containeranalysis1/3.1.0+20220225/google_containeranalysis1/api::ProjectOccurrenceSetIamPolicyCall) and [*occurrences test iam permissions*](https://docs.rs/google-containeranalysis1/3.1.0+20220225/google_containeranalysis1/api::ProjectOccurrenceTestIamPermissionCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-containeranalysis1/3.0.0+20220225/google_containeranalysis1/ContainerAnalysis)** +* **[Hub](https://docs.rs/google-containeranalysis1/3.1.0+20220225/google_containeranalysis1/ContainerAnalysis)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-containeranalysis1/3.0.0+20220225/google_containeranalysis1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-containeranalysis1/3.0.0+20220225/google_containeranalysis1/client::CallBuilder) -* **[Resources](https://docs.rs/google-containeranalysis1/3.0.0+20220225/google_containeranalysis1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-containeranalysis1/3.1.0+20220225/google_containeranalysis1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-containeranalysis1/3.1.0+20220225/google_containeranalysis1/client::CallBuilder) +* **[Resources](https://docs.rs/google-containeranalysis1/3.1.0+20220225/google_containeranalysis1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-containeranalysis1/3.0.0+20220225/google_containeranalysis1/client::Part)** + * **[Parts](https://docs.rs/google-containeranalysis1/3.1.0+20220225/google_containeranalysis1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-containeranalysis1/3.0.0+20220225/google_containeranalysis1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-containeranalysis1/3.1.0+20220225/google_containeranalysis1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -94,7 +94,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -128,17 +128,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-containeranalysis1/3.0.0+20220225/google_containeranalysis1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-containeranalysis1/3.1.0+20220225/google_containeranalysis1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-containeranalysis1/3.0.0+20220225/google_containeranalysis1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-containeranalysis1/3.1.0+20220225/google_containeranalysis1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-containeranalysis1/3.0.0+20220225/google_containeranalysis1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-containeranalysis1/3.1.0+20220225/google_containeranalysis1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-containeranalysis1/3.0.0+20220225/google_containeranalysis1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-containeranalysis1/3.1.0+20220225/google_containeranalysis1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -148,29 +148,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-containeranalysis1/3.0.0+20220225/google_containeranalysis1/client::Delegate) to the -[Method Builder](https://docs.rs/google-containeranalysis1/3.0.0+20220225/google_containeranalysis1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-containeranalysis1/3.1.0+20220225/google_containeranalysis1/client::Delegate) to the +[Method Builder](https://docs.rs/google-containeranalysis1/3.1.0+20220225/google_containeranalysis1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-containeranalysis1/3.0.0+20220225/google_containeranalysis1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-containeranalysis1/3.1.0+20220225/google_containeranalysis1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-containeranalysis1/3.0.0+20220225/google_containeranalysis1/client::RequestValue) and -[decodable](https://docs.rs/google-containeranalysis1/3.0.0+20220225/google_containeranalysis1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-containeranalysis1/3.1.0+20220225/google_containeranalysis1/client::RequestValue) and +[decodable](https://docs.rs/google-containeranalysis1/3.1.0+20220225/google_containeranalysis1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-containeranalysis1/3.0.0+20220225/google_containeranalysis1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-containeranalysis1/3.1.0+20220225/google_containeranalysis1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-containeranalysis1/3.0.0+20220225/google_containeranalysis1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-containeranalysis1/3.1.0+20220225/google_containeranalysis1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-containeranalysis1/3.0.0+20220225/google_containeranalysis1/client::RequestValue) are moved +* [request values](https://docs.rs/google-containeranalysis1/3.1.0+20220225/google_containeranalysis1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/containeranalysis1/src/api.rs b/gen/containeranalysis1/src/api.rs index 79a7038b9d..abf2583c7e 100644 --- a/gen/containeranalysis1/src/api.rs +++ b/gen/containeranalysis1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > ContainerAnalysis<> { ContainerAnalysis { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://containeranalysis.googleapis.com/".to_string(), _root_url: "https://containeranalysis.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > ContainerAnalysis<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -2133,7 +2133,7 @@ impl client::Part for WindowsUpdate {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `notes_batch_create(...)`, `notes_create(...)`, `notes_delete(...)`, `notes_get(...)`, `notes_get_iam_policy(...)`, `notes_list(...)`, `notes_occurrences_list(...)`, `notes_patch(...)`, `notes_set_iam_policy(...)`, `notes_test_iam_permissions(...)`, `occurrences_batch_create(...)`, `occurrences_create(...)`, `occurrences_delete(...)`, `occurrences_get(...)`, `occurrences_get_iam_policy(...)`, `occurrences_get_notes(...)`, `occurrences_get_vulnerability_summary(...)`, `occurrences_list(...)`, `occurrences_patch(...)`, `occurrences_set_iam_policy(...)` and `occurrences_test_iam_permissions(...)` /// // to build up your call. @@ -2575,7 +2575,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2868,7 +2868,7 @@ impl<'a> ProjectNoteOccurrenceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3154,7 +3154,7 @@ impl<'a> ProjectNoteBatchCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3451,7 +3451,7 @@ impl<'a> ProjectNoteCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3707,7 +3707,7 @@ impl<'a> ProjectNoteDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3964,7 +3964,7 @@ impl<'a> ProjectNoteGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4249,7 +4249,7 @@ impl<'a> ProjectNoteGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4542,7 +4542,7 @@ impl<'a> ProjectNoteListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4840,7 +4840,7 @@ impl<'a> ProjectNotePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5126,7 +5126,7 @@ impl<'a> ProjectNoteSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5412,7 +5412,7 @@ impl<'a> ProjectNoteTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5698,7 +5698,7 @@ impl<'a> ProjectOccurrenceBatchCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5983,7 +5983,7 @@ impl<'a> ProjectOccurrenceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6239,7 +6239,7 @@ impl<'a> ProjectOccurrenceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6496,7 +6496,7 @@ impl<'a> ProjectOccurrenceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6781,7 +6781,7 @@ impl<'a> ProjectOccurrenceGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7037,7 +7037,7 @@ impl<'a> ProjectOccurrenceGetNoteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7305,7 +7305,7 @@ impl<'a> ProjectOccurrenceGetVulnerabilitySummaryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7598,7 +7598,7 @@ impl<'a> ProjectOccurrenceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7896,7 +7896,7 @@ impl<'a> ProjectOccurrencePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8182,7 +8182,7 @@ impl<'a> ProjectOccurrenceSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/containeranalysis1/src/lib.rs b/gen/containeranalysis1/src/lib.rs index 6ff22e70da..de8a5c0c37 100644 --- a/gen/containeranalysis1/src/lib.rs +++ b/gen/containeranalysis1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Container Analysis* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *containeranalysis:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Container Analysis* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *containeranalysis:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Container Analysis* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/container-analysis/api/reference/rest/). @@ -95,7 +95,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/containeranalysis1_beta1-cli/Cargo.toml b/gen/containeranalysis1_beta1-cli/Cargo.toml index 83dce36b25..ae9a9e4447 100644 --- a/gen/containeranalysis1_beta1-cli/Cargo.toml +++ b/gen/containeranalysis1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-containeranalysis1_beta1-cli" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with Container Analysis (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/containeranalysis1_beta1-cli" @@ -20,12 +20,12 @@ name = "containeranalysis1-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-containeranalysis1_beta1] path = "../containeranalysis1_beta1" -version = "3.0.0+20220225" +version = "3.1.0+20220225" diff --git a/gen/containeranalysis1_beta1-cli/README.md b/gen/containeranalysis1_beta1-cli/README.md index d3c3b78048..f3e4b377e4 100644 --- a/gen/containeranalysis1_beta1-cli/README.md +++ b/gen/containeranalysis1_beta1-cli/README.md @@ -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 *Container Analysis* API at revision *20220225*. The CLI is at version *3.0.0*. +This documentation was generated from the *Container Analysis* API at revision *20220225*. The CLI is at version *3.1.0*. ```bash containeranalysis1-beta1 [options] diff --git a/gen/containeranalysis1_beta1-cli/mkdocs.yml b/gen/containeranalysis1_beta1-cli/mkdocs.yml index abc488e8dc..71accf9658 100644 --- a/gen/containeranalysis1_beta1-cli/mkdocs.yml +++ b/gen/containeranalysis1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Container Analysis v3.0.0+20220225 +site_name: Container Analysis v3.1.0+20220225 site_url: http://byron.github.io/google-apis-rs/google-containeranalysis1_beta1-cli site_description: A complete library to interact with Container Analysis (protocol v1beta1) diff --git a/gen/containeranalysis1_beta1-cli/src/main.rs b/gen/containeranalysis1_beta1-cli/src/main.rs index 1cad58054e..2077a59ce4 100644 --- a/gen/containeranalysis1_beta1-cli/src/main.rs +++ b/gen/containeranalysis1_beta1-cli/src/main.rs @@ -2218,7 +2218,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/containeranalysis1-beta1", 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::ContainerAnalysis::new(client, auth), @@ -2866,7 +2872,7 @@ async fn main() { let mut app = App::new("containeranalysis1-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20220225") + .version("3.1.0+20220225") .about("An implementation of the Grafeas API, which stores, and enables querying and retrieval of critical metadata about all of your software artifacts.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_containeranalysis1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/containeranalysis1_beta1/Cargo.toml b/gen/containeranalysis1_beta1/Cargo.toml index 860fa38600..3001f82047 100644 --- a/gen/containeranalysis1_beta1/Cargo.toml +++ b/gen/containeranalysis1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-containeranalysis1_beta1" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with Container Analysis (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/containeranalysis1_beta1" homepage = "https://cloud.google.com/container-analysis/api/reference/rest/" -documentation = "https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225" +documentation = "https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225" license = "MIT" keywords = ["containeranalysis", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/containeranalysis1_beta1/README.md b/gen/containeranalysis1_beta1/README.md index 597af663cc..9c1bd1ca51 100644 --- a/gen/containeranalysis1_beta1/README.md +++ b/gen/containeranalysis1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-containeranalysis1_beta1` library allows access to all features of the *Google Container Analysis* service. -This documentation was generated from *Container Analysis* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *containeranalysis:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Container Analysis* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *containeranalysis:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Container Analysis* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/container-analysis/api/reference/rest/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/ContainerAnalysis) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/ContainerAnalysis) ... * projects - * [*notes batch create*](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/api::ProjectNoteBatchCreateCall), [*notes create*](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/api::ProjectNoteCreateCall), [*notes delete*](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/api::ProjectNoteDeleteCall), [*notes get*](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/api::ProjectNoteGetCall), [*notes get iam policy*](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/api::ProjectNoteGetIamPolicyCall), [*notes list*](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/api::ProjectNoteListCall), [*notes occurrences list*](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/api::ProjectNoteOccurrenceListCall), [*notes patch*](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/api::ProjectNotePatchCall), [*notes set iam policy*](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/api::ProjectNoteSetIamPolicyCall), [*notes test iam permissions*](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/api::ProjectNoteTestIamPermissionCall), [*occurrences batch create*](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/api::ProjectOccurrenceBatchCreateCall), [*occurrences create*](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/api::ProjectOccurrenceCreateCall), [*occurrences delete*](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/api::ProjectOccurrenceDeleteCall), [*occurrences get*](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/api::ProjectOccurrenceGetCall), [*occurrences get iam policy*](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/api::ProjectOccurrenceGetIamPolicyCall), [*occurrences get notes*](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/api::ProjectOccurrenceGetNoteCall), [*occurrences get vulnerability summary*](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/api::ProjectOccurrenceGetVulnerabilitySummaryCall), [*occurrences list*](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/api::ProjectOccurrenceListCall), [*occurrences patch*](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/api::ProjectOccurrencePatchCall), [*occurrences set iam policy*](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/api::ProjectOccurrenceSetIamPolicyCall), [*occurrences test iam permissions*](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/api::ProjectOccurrenceTestIamPermissionCall), [*scan configs get*](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/api::ProjectScanConfigGetCall), [*scan configs list*](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/api::ProjectScanConfigListCall) and [*scan configs update*](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/api::ProjectScanConfigUpdateCall) + * [*notes batch create*](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/api::ProjectNoteBatchCreateCall), [*notes create*](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/api::ProjectNoteCreateCall), [*notes delete*](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/api::ProjectNoteDeleteCall), [*notes get*](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/api::ProjectNoteGetCall), [*notes get iam policy*](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/api::ProjectNoteGetIamPolicyCall), [*notes list*](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/api::ProjectNoteListCall), [*notes occurrences list*](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/api::ProjectNoteOccurrenceListCall), [*notes patch*](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/api::ProjectNotePatchCall), [*notes set iam policy*](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/api::ProjectNoteSetIamPolicyCall), [*notes test iam permissions*](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/api::ProjectNoteTestIamPermissionCall), [*occurrences batch create*](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/api::ProjectOccurrenceBatchCreateCall), [*occurrences create*](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/api::ProjectOccurrenceCreateCall), [*occurrences delete*](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/api::ProjectOccurrenceDeleteCall), [*occurrences get*](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/api::ProjectOccurrenceGetCall), [*occurrences get iam policy*](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/api::ProjectOccurrenceGetIamPolicyCall), [*occurrences get notes*](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/api::ProjectOccurrenceGetNoteCall), [*occurrences get vulnerability summary*](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/api::ProjectOccurrenceGetVulnerabilitySummaryCall), [*occurrences list*](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/api::ProjectOccurrenceListCall), [*occurrences patch*](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/api::ProjectOccurrencePatchCall), [*occurrences set iam policy*](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/api::ProjectOccurrenceSetIamPolicyCall), [*occurrences test iam permissions*](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/api::ProjectOccurrenceTestIamPermissionCall), [*scan configs get*](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/api::ProjectScanConfigGetCall), [*scan configs list*](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/api::ProjectScanConfigListCall) and [*scan configs update*](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/api::ProjectScanConfigUpdateCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/ContainerAnalysis)** +* **[Hub](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/ContainerAnalysis)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -94,7 +94,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -128,17 +128,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -148,29 +148,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-containeranalysis1_beta1/3.0.0+20220225/google_containeranalysis1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-containeranalysis1_beta1/3.1.0+20220225/google_containeranalysis1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/containeranalysis1_beta1/src/api.rs b/gen/containeranalysis1_beta1/src/api.rs index fca45de50f..cf959305fa 100644 --- a/gen/containeranalysis1_beta1/src/api.rs +++ b/gen/containeranalysis1_beta1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > ContainerAnalysis<> { ContainerAnalysis { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://containeranalysis.googleapis.com/".to_string(), _root_url: "https://containeranalysis.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > ContainerAnalysis<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -2154,7 +2154,7 @@ impl client::Part for WindowsDetail {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `notes_batch_create(...)`, `notes_create(...)`, `notes_delete(...)`, `notes_get(...)`, `notes_get_iam_policy(...)`, `notes_list(...)`, `notes_occurrences_list(...)`, `notes_patch(...)`, `notes_set_iam_policy(...)`, `notes_test_iam_permissions(...)`, `occurrences_batch_create(...)`, `occurrences_create(...)`, `occurrences_delete(...)`, `occurrences_get(...)`, `occurrences_get_iam_policy(...)`, `occurrences_get_notes(...)`, `occurrences_get_vulnerability_summary(...)`, `occurrences_list(...)`, `occurrences_patch(...)`, `occurrences_set_iam_policy(...)`, `occurrences_test_iam_permissions(...)`, `scan_configs_get(...)`, `scan_configs_list(...)` and `scan_configs_update(...)` /// // to build up your call. @@ -2652,7 +2652,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2945,7 +2945,7 @@ impl<'a> ProjectNoteOccurrenceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3231,7 +3231,7 @@ impl<'a> ProjectNoteBatchCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3528,7 +3528,7 @@ impl<'a> ProjectNoteCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3784,7 +3784,7 @@ impl<'a> ProjectNoteDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4041,7 +4041,7 @@ impl<'a> ProjectNoteGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4326,7 +4326,7 @@ impl<'a> ProjectNoteGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4619,7 +4619,7 @@ impl<'a> ProjectNoteListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4917,7 +4917,7 @@ impl<'a> ProjectNotePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5203,7 +5203,7 @@ impl<'a> ProjectNoteSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5489,7 +5489,7 @@ impl<'a> ProjectNoteTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5775,7 +5775,7 @@ impl<'a> ProjectOccurrenceBatchCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6060,7 +6060,7 @@ impl<'a> ProjectOccurrenceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6316,7 +6316,7 @@ impl<'a> ProjectOccurrenceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6573,7 +6573,7 @@ impl<'a> ProjectOccurrenceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6858,7 +6858,7 @@ impl<'a> ProjectOccurrenceGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7114,7 +7114,7 @@ impl<'a> ProjectOccurrenceGetNoteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7382,7 +7382,7 @@ impl<'a> ProjectOccurrenceGetVulnerabilitySummaryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7675,7 +7675,7 @@ impl<'a> ProjectOccurrenceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7973,7 +7973,7 @@ impl<'a> ProjectOccurrencePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8259,7 +8259,7 @@ impl<'a> ProjectOccurrenceSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8544,7 +8544,7 @@ impl<'a> ProjectOccurrenceTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8800,7 +8800,7 @@ impl<'a> ProjectScanConfigGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9093,7 +9093,7 @@ impl<'a> ProjectScanConfigListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/containeranalysis1_beta1/src/lib.rs b/gen/containeranalysis1_beta1/src/lib.rs index f1f1b1c0fd..fd3ca0231e 100644 --- a/gen/containeranalysis1_beta1/src/lib.rs +++ b/gen/containeranalysis1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Container Analysis* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *containeranalysis:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Container Analysis* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *containeranalysis:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Container Analysis* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/container-analysis/api/reference/rest/). @@ -95,7 +95,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = ContainerAnalysis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/content2-cli/Cargo.toml b/gen/content2-cli/Cargo.toml index 145c434e38..2328433284 100644 --- a/gen/content2-cli/Cargo.toml +++ b/gen/content2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-content2-cli" -version = "3.0.0+20220303" +version = "3.1.0+20220303" authors = ["Sebastian Thiel "] description = "A complete library to interact with Shopping Content (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/content2-cli" @@ -20,12 +20,12 @@ name = "content2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-content2] path = "../content2" -version = "3.0.0+20220303" +version = "3.1.0+20220303" diff --git a/gen/content2-cli/README.md b/gen/content2-cli/README.md index d47b26ab5b..e780bd1bfc 100644 --- a/gen/content2-cli/README.md +++ b/gen/content2-cli/README.md @@ -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 *Shopping Content* API at revision *20220303*. The CLI is at version *3.0.0*. +This documentation was generated from the *Shopping Content* API at revision *20220303*. The CLI is at version *3.1.0*. ```bash content2 [options] diff --git a/gen/content2-cli/mkdocs.yml b/gen/content2-cli/mkdocs.yml index b2eed9b303..d20cdc4490 100644 --- a/gen/content2-cli/mkdocs.yml +++ b/gen/content2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Shopping Content v3.0.0+20220303 +site_name: Shopping Content v3.1.0+20220303 site_url: http://byron.github.io/google-apis-rs/google-content2-cli site_description: A complete library to interact with Shopping Content (protocol v2) diff --git a/gen/content2-cli/src/main.rs b/gen/content2-cli/src/main.rs index 127d8023fe..ef92e5fb4f 100644 --- a/gen/content2-cli/src/main.rs +++ b/gen/content2-cli/src/main.rs @@ -7015,7 +7015,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/content2", 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::ShoppingContent::new(client, auth), @@ -9575,7 +9581,7 @@ async fn main() { let mut app = App::new("content2") .author("Sebastian Thiel ") - .version("3.0.0+20220303") + .version("3.1.0+20220303") .about("Manage your product listings and accounts for Google Shopping") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_content2_cli") .arg(Arg::with_name("url") diff --git a/gen/content2/Cargo.toml b/gen/content2/Cargo.toml index bed07d2915..71b61e11c5 100644 --- a/gen/content2/Cargo.toml +++ b/gen/content2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-content2" -version = "3.0.0+20220303" +version = "3.1.0+20220303" authors = ["Sebastian Thiel "] description = "A complete library to interact with Shopping Content (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/content2" homepage = "https://developers.google.com/shopping-content/v2/" -documentation = "https://docs.rs/google-content2/3.0.0+20220303" +documentation = "https://docs.rs/google-content2/3.1.0+20220303" license = "MIT" keywords = ["content", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/content2/README.md b/gen/content2/README.md index 8cd4c6e385..65c6cd2928 100644 --- a/gen/content2/README.md +++ b/gen/content2/README.md @@ -5,44 +5,44 @@ DO NOT EDIT ! --> The `google-content2` library allows access to all features of the *Google Shopping Content* service. -This documentation was generated from *Shopping Content* crate version *3.0.0+20220303*, where *20220303* is the exact revision of the *content:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Shopping Content* crate version *3.1.0+20220303*, where *20220303* is the exact revision of the *content:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Shopping Content* *v2* API can be found at the [official documentation site](https://developers.google.com/shopping-content/v2/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-content2/3.0.0+20220303/google_content2/ShoppingContent) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-content2/3.1.0+20220303/google_content2/ShoppingContent) ... -* [accounts](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::Account) - * [*authinfo*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::AccountAuthinfoCall), [*claimwebsite*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::AccountClaimwebsiteCall), [*custombatch*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::AccountCustombatchCall), [*delete*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::AccountDeleteCall), [*get*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::AccountGetCall), [*insert*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::AccountInsertCall), [*link*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::AccountLinkCall), [*list*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::AccountListCall) and [*update*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::AccountUpdateCall) +* [accounts](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::Account) + * [*authinfo*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::AccountAuthinfoCall), [*claimwebsite*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::AccountClaimwebsiteCall), [*custombatch*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::AccountCustombatchCall), [*delete*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::AccountDeleteCall), [*get*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::AccountGetCall), [*insert*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::AccountInsertCall), [*link*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::AccountLinkCall), [*list*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::AccountListCall) and [*update*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::AccountUpdateCall) * accountstatuses - * [*custombatch*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::AccountstatuseCustombatchCall), [*get*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::AccountstatuseGetCall) and [*list*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::AccountstatuseListCall) + * [*custombatch*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::AccountstatuseCustombatchCall), [*get*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::AccountstatuseGetCall) and [*list*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::AccountstatuseListCall) * accounttax - * [*custombatch*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::AccounttaxCustombatchCall), [*get*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::AccounttaxGetCall), [*list*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::AccounttaxListCall) and [*update*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::AccounttaxUpdateCall) -* [datafeeds](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::Datafeed) - * [*custombatch*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::DatafeedCustombatchCall), [*delete*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::DatafeedDeleteCall), [*fetchnow*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::DatafeedFetchnowCall), [*get*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::DatafeedGetCall), [*insert*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::DatafeedInsertCall), [*list*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::DatafeedListCall) and [*update*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::DatafeedUpdateCall) + * [*custombatch*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::AccounttaxCustombatchCall), [*get*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::AccounttaxGetCall), [*list*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::AccounttaxListCall) and [*update*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::AccounttaxUpdateCall) +* [datafeeds](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::Datafeed) + * [*custombatch*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::DatafeedCustombatchCall), [*delete*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::DatafeedDeleteCall), [*fetchnow*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::DatafeedFetchnowCall), [*get*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::DatafeedGetCall), [*insert*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::DatafeedInsertCall), [*list*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::DatafeedListCall) and [*update*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::DatafeedUpdateCall) * datafeedstatuses - * [*custombatch*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::DatafeedstatuseCustombatchCall), [*get*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::DatafeedstatuseGetCall) and [*list*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::DatafeedstatuseListCall) -* [inventory](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::Inventory) - * [*custombatch*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::InventoryCustombatchCall) and [*set*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::InventorySetCall) + * [*custombatch*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::DatafeedstatuseCustombatchCall), [*get*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::DatafeedstatuseGetCall) and [*list*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::DatafeedstatuseListCall) +* [inventory](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::Inventory) + * [*custombatch*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::InventoryCustombatchCall) and [*set*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::InventorySetCall) * liasettings - * [*custombatch*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::LiasettingCustombatchCall), [*get*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::LiasettingGetCall), [*getaccessiblegmbaccounts*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::LiasettingGetaccessiblegmbaccountCall), [*list*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::LiasettingListCall), [*listposdataproviders*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::LiasettingListposdataproviderCall), [*requestgmbaccess*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::LiasettingRequestgmbaccesCall), [*requestinventoryverification*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::LiasettingRequestinventoryverificationCall), [*setinventoryverificationcontact*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::LiasettingSetinventoryverificationcontactCall), [*setposdataprovider*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::LiasettingSetposdataproviderCall) and [*update*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::LiasettingUpdateCall) + * [*custombatch*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::LiasettingCustombatchCall), [*get*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::LiasettingGetCall), [*getaccessiblegmbaccounts*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::LiasettingGetaccessiblegmbaccountCall), [*list*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::LiasettingListCall), [*listposdataproviders*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::LiasettingListposdataproviderCall), [*requestgmbaccess*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::LiasettingRequestgmbaccesCall), [*requestinventoryverification*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::LiasettingRequestinventoryverificationCall), [*setinventoryverificationcontact*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::LiasettingSetinventoryverificationcontactCall), [*setposdataprovider*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::LiasettingSetposdataproviderCall) and [*update*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::LiasettingUpdateCall) * orderinvoices - * [*createchargeinvoice*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::OrderinvoiceCreatechargeinvoiceCall) and [*createrefundinvoice*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::OrderinvoiceCreaterefundinvoiceCall) + * [*createchargeinvoice*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::OrderinvoiceCreatechargeinvoiceCall) and [*createrefundinvoice*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::OrderinvoiceCreaterefundinvoiceCall) * orderreports - * [*listdisbursements*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::OrderreportListdisbursementCall) and [*listtransactions*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::OrderreportListtransactionCall) + * [*listdisbursements*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::OrderreportListdisbursementCall) and [*listtransactions*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::OrderreportListtransactionCall) * orderreturns - * [*get*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::OrderreturnGetCall) and [*list*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::OrderreturnListCall) -* [orders](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::Order) - * [*acknowledge*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::OrderAcknowledgeCall), [*advancetestorder*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::OrderAdvancetestorderCall), [*cancel*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::OrderCancelCall), [*cancellineitem*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::OrderCancellineitemCall), [*canceltestorderbycustomer*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::OrderCanceltestorderbycustomerCall), [*createtestorder*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::OrderCreatetestorderCall), [*createtestreturn*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::OrderCreatetestreturnCall), [*custombatch*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::OrderCustombatchCall), [*get*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::OrderGetCall), [*getbymerchantorderid*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::OrderGetbymerchantorderidCall), [*gettestordertemplate*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::OrderGettestordertemplateCall), [*instorerefundlineitem*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::OrderInstorerefundlineitemCall), [*list*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::OrderListCall), [*refund*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::OrderRefundCall), [*rejectreturnlineitem*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::OrderRejectreturnlineitemCall), [*returnlineitem*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::OrderReturnlineitemCall), [*returnrefundlineitem*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::OrderReturnrefundlineitemCall), [*setlineitemmetadata*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::OrderSetlineitemmetadataCall), [*shiplineitems*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::OrderShiplineitemCall), [*updatelineitemshippingdetails*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::OrderUpdatelineitemshippingdetailCall), [*updatemerchantorderid*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::OrderUpdatemerchantorderidCall) and [*updateshipment*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::OrderUpdateshipmentCall) + * [*get*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::OrderreturnGetCall) and [*list*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::OrderreturnListCall) +* [orders](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::Order) + * [*acknowledge*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::OrderAcknowledgeCall), [*advancetestorder*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::OrderAdvancetestorderCall), [*cancel*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::OrderCancelCall), [*cancellineitem*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::OrderCancellineitemCall), [*canceltestorderbycustomer*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::OrderCanceltestorderbycustomerCall), [*createtestorder*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::OrderCreatetestorderCall), [*createtestreturn*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::OrderCreatetestreturnCall), [*custombatch*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::OrderCustombatchCall), [*get*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::OrderGetCall), [*getbymerchantorderid*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::OrderGetbymerchantorderidCall), [*gettestordertemplate*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::OrderGettestordertemplateCall), [*instorerefundlineitem*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::OrderInstorerefundlineitemCall), [*list*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::OrderListCall), [*refund*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::OrderRefundCall), [*rejectreturnlineitem*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::OrderRejectreturnlineitemCall), [*returnlineitem*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::OrderReturnlineitemCall), [*returnrefundlineitem*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::OrderReturnrefundlineitemCall), [*setlineitemmetadata*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::OrderSetlineitemmetadataCall), [*shiplineitems*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::OrderShiplineitemCall), [*updatelineitemshippingdetails*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::OrderUpdatelineitemshippingdetailCall), [*updatemerchantorderid*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::OrderUpdatemerchantorderidCall) and [*updateshipment*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::OrderUpdateshipmentCall) * pos - * [*custombatch*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::PoCustombatchCall), [*delete*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::PoDeleteCall), [*get*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::PoGetCall), [*insert*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::PoInsertCall), [*inventory*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::PoInventoryCall), [*list*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::PoListCall) and [*sale*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::PoSaleCall) -* [products](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::Product) - * [*custombatch*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::ProductCustombatchCall), [*delete*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::ProductDeleteCall), [*get*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::ProductGetCall), [*insert*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::ProductInsertCall) and [*list*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::ProductListCall) + * [*custombatch*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::PoCustombatchCall), [*delete*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::PoDeleteCall), [*get*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::PoGetCall), [*insert*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::PoInsertCall), [*inventory*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::PoInventoryCall), [*list*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::PoListCall) and [*sale*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::PoSaleCall) +* [products](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::Product) + * [*custombatch*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::ProductCustombatchCall), [*delete*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::ProductDeleteCall), [*get*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::ProductGetCall), [*insert*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::ProductInsertCall) and [*list*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::ProductListCall) * productstatuses - * [*custombatch*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::ProductstatuseCustombatchCall), [*get*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::ProductstatuseGetCall) and [*list*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::ProductstatuseListCall) + * [*custombatch*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::ProductstatuseCustombatchCall), [*get*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::ProductstatuseGetCall) and [*list*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::ProductstatuseListCall) * shippingsettings - * [*custombatch*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::ShippingsettingCustombatchCall), [*get*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::ShippingsettingGetCall), [*getsupportedcarriers*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::ShippingsettingGetsupportedcarrierCall), [*getsupportedholidays*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::ShippingsettingGetsupportedholidayCall), [*getsupportedpickupservices*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::ShippingsettingGetsupportedpickupserviceCall), [*list*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::ShippingsettingListCall) and [*update*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/api::ShippingsettingUpdateCall) + * [*custombatch*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::ShippingsettingCustombatchCall), [*get*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::ShippingsettingGetCall), [*getsupportedcarriers*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::ShippingsettingGetsupportedcarrierCall), [*getsupportedholidays*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::ShippingsettingGetsupportedholidayCall), [*getsupportedpickupservices*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::ShippingsettingGetsupportedpickupserviceCall), [*list*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::ShippingsettingListCall) and [*update*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/api::ShippingsettingUpdateCall) @@ -51,17 +51,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-content2/3.0.0+20220303/google_content2/ShoppingContent)** +* **[Hub](https://docs.rs/google-content2/3.1.0+20220303/google_content2/ShoppingContent)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-content2/3.0.0+20220303/google_content2/client::CallBuilder) -* **[Resources](https://docs.rs/google-content2/3.0.0+20220303/google_content2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-content2/3.1.0+20220303/google_content2/client::CallBuilder) +* **[Resources](https://docs.rs/google-content2/3.1.0+20220303/google_content2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-content2/3.0.0+20220303/google_content2/client::Part)** + * **[Parts](https://docs.rs/google-content2/3.1.0+20220303/google_content2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-content2/3.0.0+20220303/google_content2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-content2/3.1.0+20220303/google_content2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -139,7 +139,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -174,17 +174,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-content2/3.0.0+20220303/google_content2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-content2/3.1.0+20220303/google_content2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-content2/3.0.0+20220303/google_content2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-content2/3.1.0+20220303/google_content2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-content2/3.0.0+20220303/google_content2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-content2/3.1.0+20220303/google_content2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-content2/3.0.0+20220303/google_content2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-content2/3.1.0+20220303/google_content2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -194,29 +194,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-content2/3.0.0+20220303/google_content2/client::Delegate) to the -[Method Builder](https://docs.rs/google-content2/3.0.0+20220303/google_content2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-content2/3.1.0+20220303/google_content2/client::Delegate) to the +[Method Builder](https://docs.rs/google-content2/3.1.0+20220303/google_content2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-content2/3.0.0+20220303/google_content2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-content2/3.1.0+20220303/google_content2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-content2/3.0.0+20220303/google_content2/client::RequestValue) and -[decodable](https://docs.rs/google-content2/3.0.0+20220303/google_content2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-content2/3.1.0+20220303/google_content2/client::RequestValue) and +[decodable](https://docs.rs/google-content2/3.1.0+20220303/google_content2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-content2/3.0.0+20220303/google_content2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-content2/3.1.0+20220303/google_content2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-content2/3.0.0+20220303/google_content2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-content2/3.1.0+20220303/google_content2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-content2/3.0.0+20220303/google_content2/client::RequestValue) are moved +* [request values](https://docs.rs/google-content2/3.1.0+20220303/google_content2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/content2/src/api.rs b/gen/content2/src/api.rs index b97ba908da..2ec0ce25b8 100644 --- a/gen/content2/src/api.rs +++ b/gen/content2/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > ShoppingContent<> { ShoppingContent { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://shoppingcontent.googleapis.com/content/v2/".to_string(), _root_url: "https://shoppingcontent.googleapis.com/".to_string(), } @@ -173,7 +173,7 @@ impl<'a, > ShoppingContent<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -6977,7 +6977,7 @@ impl client::Part for Weight {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `authinfo(...)`, `claimwebsite(...)`, `custombatch(...)`, `delete(...)`, `get(...)`, `insert(...)`, `link(...)`, `list(...)` and `update(...)` /// // to build up your call. @@ -7190,7 +7190,7 @@ impl<'a> AccountMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `custombatch(...)`, `get(...)` and `list(...)` /// // to build up your call. @@ -7288,7 +7288,7 @@ impl<'a> AccountstatuseMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `custombatch(...)`, `get(...)`, `list(...)` and `update(...)` /// // to build up your call. @@ -7407,7 +7407,7 @@ impl<'a> AccounttaxMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `custombatch(...)`, `delete(...)`, `fetchnow(...)`, `get(...)`, `insert(...)`, `list(...)` and `update(...)` /// // to build up your call. @@ -7586,7 +7586,7 @@ impl<'a> DatafeedMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `custombatch(...)`, `get(...)` and `list(...)` /// // to build up your call. @@ -7684,7 +7684,7 @@ impl<'a> DatafeedstatuseMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `custombatch(...)` and `set(...)` /// // to build up your call. @@ -7767,7 +7767,7 @@ impl<'a> InventoryMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `custombatch(...)`, `get(...)`, `getaccessiblegmbaccounts(...)`, `list(...)`, `listposdataproviders(...)`, `requestgmbaccess(...)`, `requestinventoryverification(...)`, `setinventoryverificationcontact(...)`, `setposdataprovider(...)` and `update(...)` /// // to build up your call. @@ -8009,7 +8009,7 @@ impl<'a> LiasettingMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `createchargeinvoice(...)` and `createrefundinvoice(...)` /// // to build up your call. @@ -8092,7 +8092,7 @@ impl<'a> OrderinvoiceMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `listdisbursements(...)` and `listtransactions(...)` /// // to build up your call. @@ -8177,7 +8177,7 @@ impl<'a> OrderreportMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -8259,7 +8259,7 @@ impl<'a> OrderreturnMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `acknowledge(...)`, `advancetestorder(...)`, `cancel(...)`, `cancellineitem(...)`, `canceltestorderbycustomer(...)`, `createtestorder(...)`, `createtestreturn(...)`, `custombatch(...)`, `get(...)`, `getbymerchantorderid(...)`, `gettestordertemplate(...)`, `instorerefundlineitem(...)`, `list(...)`, `refund(...)`, `rejectreturnlineitem(...)`, `returnlineitem(...)`, `returnrefundlineitem(...)`, `setlineitemmetadata(...)`, `shiplineitems(...)`, `updatelineitemshippingdetails(...)`, `updatemerchantorderid(...)` and `updateshipment(...)` /// // to build up your call. @@ -8752,7 +8752,7 @@ impl<'a> OrderMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `custombatch(...)`, `delete(...)`, `get(...)`, `insert(...)`, `inventory(...)`, `list(...)` and `sale(...)` /// // to build up your call. @@ -8939,7 +8939,7 @@ impl<'a> PoMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `custombatch(...)`, `delete(...)`, `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -9077,7 +9077,7 @@ impl<'a> ProductMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `custombatch(...)`, `get(...)` and `list(...)` /// // to build up your call. @@ -9179,7 +9179,7 @@ impl<'a> ProductstatuseMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `custombatch(...)`, `get(...)`, `getsupportedcarriers(...)`, `getsupportedholidays(...)`, `getsupportedpickupservices(...)`, `list(...)` and `update(...)` /// // to build up your call. @@ -9356,7 +9356,7 @@ impl<'a> ShippingsettingMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9575,7 +9575,7 @@ impl<'a> AccountAuthinfoCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9852,7 +9852,7 @@ impl<'a> AccountClaimwebsiteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10112,7 +10112,7 @@ impl<'a> AccountCustombatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10389,7 +10389,7 @@ impl<'a> AccountDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10654,7 +10654,7 @@ impl<'a> AccountGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10948,7 +10948,7 @@ impl<'a> AccountInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11241,7 +11241,7 @@ impl<'a> AccountLinkCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11518,7 +11518,7 @@ impl<'a> AccountListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11824,7 +11824,7 @@ impl<'a> AccountUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12072,7 +12072,7 @@ impl<'a> AccountstatuseCustombatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12351,7 +12351,7 @@ impl<'a> AccountstatuseGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12643,7 +12643,7 @@ impl<'a> AccountstatuseListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12903,7 +12903,7 @@ impl<'a> AccounttaxCustombatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13167,7 +13167,7 @@ impl<'a> AccounttaxGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13444,7 +13444,7 @@ impl<'a> AccounttaxListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13750,7 +13750,7 @@ impl<'a> AccounttaxUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14010,7 +14010,7 @@ impl<'a> DatafeedCustombatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14275,7 +14275,7 @@ impl<'a> DatafeedDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14551,7 +14551,7 @@ impl<'a> DatafeedFetchnowCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14816,7 +14816,7 @@ impl<'a> DatafeedGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15109,7 +15109,7 @@ impl<'a> DatafeedInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15386,7 +15386,7 @@ impl<'a> DatafeedListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15692,7 +15692,7 @@ impl<'a> DatafeedUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15940,7 +15940,7 @@ impl<'a> DatafeedstatuseCustombatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16228,7 +16228,7 @@ impl<'a> DatafeedstatuseGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16505,7 +16505,7 @@ impl<'a> DatafeedstatuseListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16766,7 +16766,7 @@ impl<'a> InventoryCustombatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17084,7 +17084,7 @@ impl<'a> InventorySetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17344,7 +17344,7 @@ impl<'a> LiasettingCustombatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17608,7 +17608,7 @@ impl<'a> LiasettingGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17872,7 +17872,7 @@ impl<'a> LiasettingGetaccessiblegmbaccountCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18148,7 +18148,7 @@ impl<'a> LiasettingListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18367,7 +18367,7 @@ impl<'a> LiasettingListposdataproviderCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18643,7 +18643,7 @@ impl<'a> LiasettingRequestgmbaccesCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18919,7 +18919,7 @@ impl<'a> LiasettingRequestinventoryverificationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19231,7 +19231,7 @@ impl<'a> LiasettingSetinventoryverificationcontactCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19532,7 +19532,7 @@ impl<'a> LiasettingSetposdataproviderCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19838,7 +19838,7 @@ impl<'a> LiasettingUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20132,7 +20132,7 @@ impl<'a> OrderinvoiceCreatechargeinvoiceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20425,7 +20425,7 @@ impl<'a> OrderinvoiceCreaterefundinvoiceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20725,7 +20725,7 @@ impl<'a> OrderreportListdisbursementCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21037,7 +21037,7 @@ impl<'a> OrderreportListtransactionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21301,7 +21301,7 @@ impl<'a> OrderreturnGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21614,7 +21614,7 @@ impl<'a> OrderreturnListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21907,7 +21907,7 @@ impl<'a> OrderAcknowledgeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22172,7 +22172,7 @@ impl<'a> OrderAdvancetestorderCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22466,7 +22466,7 @@ impl<'a> OrderCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22760,7 +22760,7 @@ impl<'a> OrderCancellineitemCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23054,7 +23054,7 @@ impl<'a> OrderCanceltestorderbycustomerCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23336,7 +23336,7 @@ impl<'a> OrderCreatetestorderCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23630,7 +23630,7 @@ impl<'a> OrderCreatetestreturnCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23878,7 +23878,7 @@ impl<'a> OrderCustombatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24142,7 +24142,7 @@ impl<'a> OrderGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24406,7 +24406,7 @@ impl<'a> OrderGetbymerchantorderidCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24683,7 +24683,7 @@ impl<'a> OrderGettestordertemplateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24976,7 +24976,7 @@ impl<'a> OrderInstorerefundlineitemCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25316,7 +25316,7 @@ impl<'a> OrderListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25610,7 +25610,7 @@ impl<'a> OrderRefundCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25904,7 +25904,7 @@ impl<'a> OrderRejectreturnlineitemCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26198,7 +26198,7 @@ impl<'a> OrderReturnlineitemCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26492,7 +26492,7 @@ impl<'a> OrderReturnrefundlineitemCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26786,7 +26786,7 @@ impl<'a> OrderSetlineitemmetadataCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27080,7 +27080,7 @@ impl<'a> OrderShiplineitemCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27374,7 +27374,7 @@ impl<'a> OrderUpdatelineitemshippingdetailCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27668,7 +27668,7 @@ impl<'a> OrderUpdatemerchantorderidCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27962,7 +27962,7 @@ impl<'a> OrderUpdateshipmentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -28222,7 +28222,7 @@ impl<'a> PoCustombatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28499,7 +28499,7 @@ impl<'a> PoDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28776,7 +28776,7 @@ impl<'a> PoGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29082,7 +29082,7 @@ impl<'a> PoInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29387,7 +29387,7 @@ impl<'a> PoInventoryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29652,7 +29652,7 @@ impl<'a> PoListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29958,7 +29958,7 @@ impl<'a> PoSaleCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -30218,7 +30218,7 @@ impl<'a> ProductCustombatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30483,7 +30483,7 @@ impl<'a> ProductDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30748,7 +30748,7 @@ impl<'a> ProductGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -31041,7 +31041,7 @@ impl<'a> ProductInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31330,7 +31330,7 @@ impl<'a> ProductListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -31590,7 +31590,7 @@ impl<'a> ProductstatuseCustombatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31881,7 +31881,7 @@ impl<'a> ProductstatuseGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32197,7 +32197,7 @@ impl<'a> ProductstatuseListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -32457,7 +32457,7 @@ impl<'a> ShippingsettingCustombatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32721,7 +32721,7 @@ impl<'a> ShippingsettingGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32973,7 +32973,7 @@ impl<'a> ShippingsettingGetsupportedcarrierCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33225,7 +33225,7 @@ impl<'a> ShippingsettingGetsupportedholidayCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33477,7 +33477,7 @@ impl<'a> ShippingsettingGetsupportedpickupserviceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33754,7 +33754,7 @@ impl<'a> ShippingsettingListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/content2/src/lib.rs b/gen/content2/src/lib.rs index 1e8c6ec6fc..ef3241ad8d 100644 --- a/gen/content2/src/lib.rs +++ b/gen/content2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Shopping Content* crate version *3.0.0+20220303*, where *20220303* is the exact revision of the *content:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Shopping Content* crate version *3.1.0+20220303*, where *20220303* is the exact revision of the *content:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Shopping Content* *v2* API can be found at the //! [official documentation site](https://developers.google.com/shopping-content/v2/). @@ -140,7 +140,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/content2_sandbox-cli/Cargo.toml b/gen/content2_sandbox-cli/Cargo.toml index 5a52548c40..4f3a372643 100644 --- a/gen/content2_sandbox-cli/Cargo.toml +++ b/gen/content2_sandbox-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-content2_sandbox-cli" -version = "3.0.0+20181009" +version = "3.1.0+20181009" authors = ["Sebastian Thiel "] description = "A complete library to interact with Shopping Content (protocol v2sandbox)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/content2_sandbox-cli" @@ -20,12 +20,12 @@ name = "content2-sandbox" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-content2_sandbox] path = "../content2_sandbox" -version = "3.0.0+20181009" +version = "3.1.0+20181009" diff --git a/gen/content2_sandbox-cli/README.md b/gen/content2_sandbox-cli/README.md index ea456a5ba8..e33683b230 100644 --- a/gen/content2_sandbox-cli/README.md +++ b/gen/content2_sandbox-cli/README.md @@ -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 *Shopping Content* API at revision *20181009*. The CLI is at version *3.0.0*. +This documentation was generated from the *Shopping Content* API at revision *20181009*. The CLI is at version *3.1.0*. ```bash content2-sandbox [options] diff --git a/gen/content2_sandbox-cli/mkdocs.yml b/gen/content2_sandbox-cli/mkdocs.yml index 76051e59bb..7812c531cc 100644 --- a/gen/content2_sandbox-cli/mkdocs.yml +++ b/gen/content2_sandbox-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Shopping Content v3.0.0+20181009 +site_name: Shopping Content v3.1.0+20181009 site_url: http://byron.github.io/google-apis-rs/google-content2_sandbox-cli site_description: A complete library to interact with Shopping Content (protocol v2sandbox) diff --git a/gen/content2_sandbox-cli/src/main.rs b/gen/content2_sandbox-cli/src/main.rs index 71868cda49..9912efd580 100644 --- a/gen/content2_sandbox-cli/src/main.rs +++ b/gen/content2_sandbox-cli/src/main.rs @@ -2677,7 +2677,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/content2-sandbox", 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::ShoppingContent::new(client, auth), @@ -3673,7 +3679,7 @@ async fn main() { let mut app = App::new("content2-sandbox") .author("Sebastian Thiel ") - .version("3.0.0+20181009") + .version("3.1.0+20181009") .about("Manages product items, inventory, and Merchant Center accounts for Google Shopping.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_content2_sandbox_cli") .arg(Arg::with_name("url") diff --git a/gen/content2_sandbox/Cargo.toml b/gen/content2_sandbox/Cargo.toml index 4116256dda..128ab76bb8 100644 --- a/gen/content2_sandbox/Cargo.toml +++ b/gen/content2_sandbox/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-content2_sandbox" -version = "3.0.0+20181009" +version = "3.1.0+20181009" authors = ["Sebastian Thiel "] description = "A complete library to interact with Shopping Content (protocol v2sandbox)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/content2_sandbox" homepage = "https://developers.google.com/shopping-content" -documentation = "https://docs.rs/google-content2_sandbox/3.0.0+20181009" +documentation = "https://docs.rs/google-content2_sandbox/3.1.0+20181009" license = "MIT" keywords = ["content", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/content2_sandbox/README.md b/gen/content2_sandbox/README.md index 836f2c0374..c8d9b09b0c 100644 --- a/gen/content2_sandbox/README.md +++ b/gen/content2_sandbox/README.md @@ -5,22 +5,22 @@ DO NOT EDIT ! --> The `google-content2_sandbox` library allows access to all features of the *Google Shopping Content* service. -This documentation was generated from *Shopping Content* crate version *3.0.0+20181009*, where *20181009* is the exact revision of the *content:v2sandbox* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Shopping Content* crate version *3.1.0+20181009*, where *20181009* is the exact revision of the *content:v2sandbox* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Shopping Content* *v2_sandbox* API can be found at the [official documentation site](https://developers.google.com/shopping-content). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/ShoppingContent) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/ShoppingContent) ... * orderinvoices - * [*createchargeinvoice*](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/api::OrderinvoiceCreatechargeinvoiceCall) and [*createrefundinvoice*](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/api::OrderinvoiceCreaterefundinvoiceCall) + * [*createchargeinvoice*](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/api::OrderinvoiceCreatechargeinvoiceCall) and [*createrefundinvoice*](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/api::OrderinvoiceCreaterefundinvoiceCall) * orderpayments - * [*notifyauthapproved*](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/api::OrderpaymentNotifyauthapprovedCall), [*notifyauthdeclined*](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/api::OrderpaymentNotifyauthdeclinedCall), [*notifycharge*](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/api::OrderpaymentNotifychargeCall) and [*notifyrefund*](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/api::OrderpaymentNotifyrefundCall) + * [*notifyauthapproved*](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/api::OrderpaymentNotifyauthapprovedCall), [*notifyauthdeclined*](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/api::OrderpaymentNotifyauthdeclinedCall), [*notifycharge*](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/api::OrderpaymentNotifychargeCall) and [*notifyrefund*](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/api::OrderpaymentNotifyrefundCall) * orderreturns - * [*get*](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/api::OrderreturnGetCall) and [*list*](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/api::OrderreturnListCall) -* [orders](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/api::Order) - * [*acknowledge*](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/api::OrderAcknowledgeCall), [*advancetestorder*](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/api::OrderAdvancetestorderCall), [*cancel*](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/api::OrderCancelCall), [*cancellineitem*](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/api::OrderCancellineitemCall), [*canceltestorderbycustomer*](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/api::OrderCanceltestorderbycustomerCall), [*createtestorder*](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/api::OrderCreatetestorderCall), [*createtestreturn*](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/api::OrderCreatetestreturnCall), [*custombatch*](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/api::OrderCustombatchCall), [*get*](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/api::OrderGetCall), [*getbymerchantorderid*](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/api::OrderGetbymerchantorderidCall), [*gettestordertemplate*](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/api::OrderGettestordertemplateCall), [*instorerefundlineitem*](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/api::OrderInstorerefundlineitemCall), [*list*](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/api::OrderListCall), [*refund*](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/api::OrderRefundCall), [*rejectreturnlineitem*](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/api::OrderRejectreturnlineitemCall), [*returnlineitem*](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/api::OrderReturnlineitemCall), [*returnrefundlineitem*](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/api::OrderReturnrefundlineitemCall), [*setlineitemmetadata*](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/api::OrderSetlineitemmetadataCall), [*shiplineitems*](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/api::OrderShiplineitemCall), [*updatelineitemshippingdetails*](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/api::OrderUpdatelineitemshippingdetailCall), [*updatemerchantorderid*](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/api::OrderUpdatemerchantorderidCall) and [*updateshipment*](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/api::OrderUpdateshipmentCall) + * [*get*](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/api::OrderreturnGetCall) and [*list*](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/api::OrderreturnListCall) +* [orders](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/api::Order) + * [*acknowledge*](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/api::OrderAcknowledgeCall), [*advancetestorder*](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/api::OrderAdvancetestorderCall), [*cancel*](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/api::OrderCancelCall), [*cancellineitem*](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/api::OrderCancellineitemCall), [*canceltestorderbycustomer*](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/api::OrderCanceltestorderbycustomerCall), [*createtestorder*](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/api::OrderCreatetestorderCall), [*createtestreturn*](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/api::OrderCreatetestreturnCall), [*custombatch*](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/api::OrderCustombatchCall), [*get*](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/api::OrderGetCall), [*getbymerchantorderid*](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/api::OrderGetbymerchantorderidCall), [*gettestordertemplate*](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/api::OrderGettestordertemplateCall), [*instorerefundlineitem*](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/api::OrderInstorerefundlineitemCall), [*list*](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/api::OrderListCall), [*refund*](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/api::OrderRefundCall), [*rejectreturnlineitem*](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/api::OrderRejectreturnlineitemCall), [*returnlineitem*](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/api::OrderReturnlineitemCall), [*returnrefundlineitem*](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/api::OrderReturnrefundlineitemCall), [*setlineitemmetadata*](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/api::OrderSetlineitemmetadataCall), [*shiplineitems*](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/api::OrderShiplineitemCall), [*updatelineitemshippingdetails*](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/api::OrderUpdatelineitemshippingdetailCall), [*updatemerchantorderid*](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/api::OrderUpdatemerchantorderidCall) and [*updateshipment*](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/api::OrderUpdateshipmentCall) @@ -29,17 +29,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/ShoppingContent)** +* **[Hub](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/ShoppingContent)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/client::CallBuilder) -* **[Resources](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/client::CallBuilder) +* **[Resources](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/client::Part)** + * **[Parts](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/client::CallBuilder)** +* **[Activities](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -117,7 +117,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -152,17 +152,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -172,29 +172,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/client::Delegate) to the -[Method Builder](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/client::Delegate) to the +[Method Builder](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/client::RequestValue) and -[decodable](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/client::RequestValue) and +[decodable](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-content2_sandbox/3.0.0+20181009/google_content2_sandbox/client::RequestValue) are moved +* [request values](https://docs.rs/google-content2_sandbox/3.1.0+20181009/google_content2_sandbox/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/content2_sandbox/src/api.rs b/gen/content2_sandbox/src/api.rs index 3e42d8d416..529d1f5b03 100644 --- a/gen/content2_sandbox/src/api.rs +++ b/gen/content2_sandbox/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > ShoppingContent<> { ShoppingContent { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/content/v2sandbox/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -140,7 +140,7 @@ impl<'a, > ShoppingContent<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -2979,7 +2979,7 @@ impl client::Part for UnitInvoiceTaxLine {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `createchargeinvoice(...)` and `createrefundinvoice(...)` /// // to build up your call. @@ -3062,7 +3062,7 @@ impl<'a> OrderinvoiceMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `notifyauthapproved(...)`, `notifyauthdeclined(...)`, `notifycharge(...)` and `notifyrefund(...)` /// // to build up your call. @@ -3187,7 +3187,7 @@ impl<'a> OrderpaymentMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -3269,7 +3269,7 @@ impl<'a> OrderreturnMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `acknowledge(...)`, `advancetestorder(...)`, `cancel(...)`, `cancellineitem(...)`, `canceltestorderbycustomer(...)`, `createtestorder(...)`, `createtestreturn(...)`, `custombatch(...)`, `get(...)`, `getbymerchantorderid(...)`, `gettestordertemplate(...)`, `instorerefundlineitem(...)`, `list(...)`, `refund(...)`, `rejectreturnlineitem(...)`, `returnlineitem(...)`, `returnrefundlineitem(...)`, `setlineitemmetadata(...)`, `shiplineitems(...)`, `updatelineitemshippingdetails(...)`, `updatemerchantorderid(...)` and `updateshipment(...)` /// // to build up your call. @@ -3770,7 +3770,7 @@ impl<'a> OrderMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4060,7 +4060,7 @@ impl<'a> OrderinvoiceCreatechargeinvoiceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4350,7 +4350,7 @@ impl<'a> OrderinvoiceCreaterefundinvoiceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4640,7 +4640,7 @@ impl<'a> OrderpaymentNotifyauthapprovedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4930,7 +4930,7 @@ impl<'a> OrderpaymentNotifyauthdeclinedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5220,7 +5220,7 @@ impl<'a> OrderpaymentNotifychargeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5509,7 +5509,7 @@ impl<'a> OrderpaymentNotifyrefundCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5769,7 +5769,7 @@ impl<'a> OrderreturnGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6078,7 +6078,7 @@ impl<'a> OrderreturnListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6367,7 +6367,7 @@ impl<'a> OrderAcknowledgeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6628,7 +6628,7 @@ impl<'a> OrderAdvancetestorderCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6918,7 +6918,7 @@ impl<'a> OrderCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7208,7 +7208,7 @@ impl<'a> OrderCancellineitemCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7498,7 +7498,7 @@ impl<'a> OrderCanceltestorderbycustomerCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7776,7 +7776,7 @@ impl<'a> OrderCreatetestorderCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8066,7 +8066,7 @@ impl<'a> OrderCreatetestreturnCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8310,7 +8310,7 @@ impl<'a> OrderCustombatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8570,7 +8570,7 @@ impl<'a> OrderGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8830,7 +8830,7 @@ impl<'a> OrderGetbymerchantorderidCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9103,7 +9103,7 @@ impl<'a> OrderGettestordertemplateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9392,7 +9392,7 @@ impl<'a> OrderInstorerefundlineitemCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9730,7 +9730,7 @@ impl<'a> OrderListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10020,7 +10020,7 @@ impl<'a> OrderRefundCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10310,7 +10310,7 @@ impl<'a> OrderRejectreturnlineitemCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10600,7 +10600,7 @@ impl<'a> OrderReturnlineitemCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10890,7 +10890,7 @@ impl<'a> OrderReturnrefundlineitemCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11180,7 +11180,7 @@ impl<'a> OrderSetlineitemmetadataCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11470,7 +11470,7 @@ impl<'a> OrderShiplineitemCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11760,7 +11760,7 @@ impl<'a> OrderUpdatelineitemshippingdetailCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12050,7 +12050,7 @@ impl<'a> OrderUpdatemerchantorderidCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/content2_sandbox/src/lib.rs b/gen/content2_sandbox/src/lib.rs index a29ccfb5a7..ad944aca4b 100644 --- a/gen/content2_sandbox/src/lib.rs +++ b/gen/content2_sandbox/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Shopping Content* crate version *3.0.0+20181009*, where *20181009* is the exact revision of the *content:v2sandbox* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Shopping Content* crate version *3.1.0+20181009*, where *20181009* is the exact revision of the *content:v2sandbox* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Shopping Content* *v2_sandbox* API can be found at the //! [official documentation site](https://developers.google.com/shopping-content). @@ -118,7 +118,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = ShoppingContent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/coordinate1-cli/Cargo.toml b/gen/coordinate1-cli/Cargo.toml index c0871a7329..ee65c09b07 100644 --- a/gen/coordinate1-cli/Cargo.toml +++ b/gen/coordinate1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-coordinate1-cli" -version = "3.0.0+20150811" +version = "3.1.0+20150811" authors = ["Sebastian Thiel "] description = "A complete library to interact with coordinate (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/coordinate1-cli" @@ -20,12 +20,12 @@ name = "coordinate1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-coordinate1] path = "../coordinate1" -version = "3.0.0+20150811" +version = "3.1.0+20150811" diff --git a/gen/coordinate1-cli/README.md b/gen/coordinate1-cli/README.md index 5deefc3cdd..aecdd0e206 100644 --- a/gen/coordinate1-cli/README.md +++ b/gen/coordinate1-cli/README.md @@ -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 *coordinate* API at revision *20150811*. The CLI is at version *3.0.0*. +This documentation was generated from the *coordinate* API at revision *20150811*. The CLI is at version *3.1.0*. ```bash coordinate1 [options] diff --git a/gen/coordinate1-cli/mkdocs.yml b/gen/coordinate1-cli/mkdocs.yml index 6e52ed659b..50caa287b0 100644 --- a/gen/coordinate1-cli/mkdocs.yml +++ b/gen/coordinate1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: coordinate v3.0.0+20150811 +site_name: coordinate v3.1.0+20150811 site_url: http://byron.github.io/google-apis-rs/google-coordinate1-cli site_description: A complete library to interact with coordinate (protocol v1) diff --git a/gen/coordinate1-cli/src/main.rs b/gen/coordinate1-cli/src/main.rs index d732a55c1d..71a28d6846 100644 --- a/gen/coordinate1-cli/src/main.rs +++ b/gen/coordinate1-cli/src/main.rs @@ -1137,7 +1137,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/coordinate1", 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::Coordinate::new(client, auth), @@ -1551,7 +1557,7 @@ async fn main() { let mut app = App::new("coordinate1") .author("Sebastian Thiel ") - .version("3.0.0+20150811") + .version("3.1.0+20150811") .about("Lets you view and manage jobs in a Coordinate team.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_coordinate1_cli") .arg(Arg::with_name("url") diff --git a/gen/coordinate1/Cargo.toml b/gen/coordinate1/Cargo.toml index d9dd881e13..096cc91267 100644 --- a/gen/coordinate1/Cargo.toml +++ b/gen/coordinate1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-coordinate1" -version = "3.0.0+20150811" +version = "3.1.0+20150811" authors = ["Sebastian Thiel "] description = "A complete library to interact with coordinate (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/coordinate1" homepage = "https://developers.google.com/coordinate/" -documentation = "https://docs.rs/google-coordinate1/3.0.0+20150811" +documentation = "https://docs.rs/google-coordinate1/3.1.0+20150811" license = "MIT" keywords = ["coordinate", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/coordinate1/README.md b/gen/coordinate1/README.md index 2b26c8536f..7f2294e80a 100644 --- a/gen/coordinate1/README.md +++ b/gen/coordinate1/README.md @@ -5,26 +5,26 @@ DO NOT EDIT ! --> The `google-coordinate1` library allows access to all features of the *Google coordinate* service. -This documentation was generated from *coordinate* crate version *3.0.0+20150811*, where *20150811* is the exact revision of the *coordinate:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *coordinate* crate version *3.1.0+20150811*, where *20150811* is the exact revision of the *coordinate:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *coordinate* *v1* API can be found at the [official documentation site](https://developers.google.com/coordinate/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-coordinate1/3.0.0+20150811/google_coordinate1/Coordinate) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-coordinate1/3.1.0+20150811/google_coordinate1/Coordinate) ... -* [custom field def](https://docs.rs/google-coordinate1/3.0.0+20150811/google_coordinate1/api::CustomFieldDef) - * [*list*](https://docs.rs/google-coordinate1/3.0.0+20150811/google_coordinate1/api::CustomFieldDefListCall) -* [jobs](https://docs.rs/google-coordinate1/3.0.0+20150811/google_coordinate1/api::Job) - * [*get*](https://docs.rs/google-coordinate1/3.0.0+20150811/google_coordinate1/api::JobGetCall), [*insert*](https://docs.rs/google-coordinate1/3.0.0+20150811/google_coordinate1/api::JobInsertCall), [*list*](https://docs.rs/google-coordinate1/3.0.0+20150811/google_coordinate1/api::JobListCall), [*patch*](https://docs.rs/google-coordinate1/3.0.0+20150811/google_coordinate1/api::JobPatchCall) and [*update*](https://docs.rs/google-coordinate1/3.0.0+20150811/google_coordinate1/api::JobUpdateCall) -* [location](https://docs.rs/google-coordinate1/3.0.0+20150811/google_coordinate1/api::Location) - * [*list*](https://docs.rs/google-coordinate1/3.0.0+20150811/google_coordinate1/api::LocationListCall) -* [schedule](https://docs.rs/google-coordinate1/3.0.0+20150811/google_coordinate1/api::Schedule) - * [*get*](https://docs.rs/google-coordinate1/3.0.0+20150811/google_coordinate1/api::ScheduleGetCall), [*patch*](https://docs.rs/google-coordinate1/3.0.0+20150811/google_coordinate1/api::SchedulePatchCall) and [*update*](https://docs.rs/google-coordinate1/3.0.0+20150811/google_coordinate1/api::ScheduleUpdateCall) -* [team](https://docs.rs/google-coordinate1/3.0.0+20150811/google_coordinate1/api::Team) - * [*list*](https://docs.rs/google-coordinate1/3.0.0+20150811/google_coordinate1/api::TeamListCall) -* [worker](https://docs.rs/google-coordinate1/3.0.0+20150811/google_coordinate1/api::Worker) - * [*list*](https://docs.rs/google-coordinate1/3.0.0+20150811/google_coordinate1/api::WorkerListCall) +* [custom field def](https://docs.rs/google-coordinate1/3.1.0+20150811/google_coordinate1/api::CustomFieldDef) + * [*list*](https://docs.rs/google-coordinate1/3.1.0+20150811/google_coordinate1/api::CustomFieldDefListCall) +* [jobs](https://docs.rs/google-coordinate1/3.1.0+20150811/google_coordinate1/api::Job) + * [*get*](https://docs.rs/google-coordinate1/3.1.0+20150811/google_coordinate1/api::JobGetCall), [*insert*](https://docs.rs/google-coordinate1/3.1.0+20150811/google_coordinate1/api::JobInsertCall), [*list*](https://docs.rs/google-coordinate1/3.1.0+20150811/google_coordinate1/api::JobListCall), [*patch*](https://docs.rs/google-coordinate1/3.1.0+20150811/google_coordinate1/api::JobPatchCall) and [*update*](https://docs.rs/google-coordinate1/3.1.0+20150811/google_coordinate1/api::JobUpdateCall) +* [location](https://docs.rs/google-coordinate1/3.1.0+20150811/google_coordinate1/api::Location) + * [*list*](https://docs.rs/google-coordinate1/3.1.0+20150811/google_coordinate1/api::LocationListCall) +* [schedule](https://docs.rs/google-coordinate1/3.1.0+20150811/google_coordinate1/api::Schedule) + * [*get*](https://docs.rs/google-coordinate1/3.1.0+20150811/google_coordinate1/api::ScheduleGetCall), [*patch*](https://docs.rs/google-coordinate1/3.1.0+20150811/google_coordinate1/api::SchedulePatchCall) and [*update*](https://docs.rs/google-coordinate1/3.1.0+20150811/google_coordinate1/api::ScheduleUpdateCall) +* [team](https://docs.rs/google-coordinate1/3.1.0+20150811/google_coordinate1/api::Team) + * [*list*](https://docs.rs/google-coordinate1/3.1.0+20150811/google_coordinate1/api::TeamListCall) +* [worker](https://docs.rs/google-coordinate1/3.1.0+20150811/google_coordinate1/api::Worker) + * [*list*](https://docs.rs/google-coordinate1/3.1.0+20150811/google_coordinate1/api::WorkerListCall) @@ -33,17 +33,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-coordinate1/3.0.0+20150811/google_coordinate1/Coordinate)** +* **[Hub](https://docs.rs/google-coordinate1/3.1.0+20150811/google_coordinate1/Coordinate)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-coordinate1/3.0.0+20150811/google_coordinate1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-coordinate1/3.0.0+20150811/google_coordinate1/client::CallBuilder) -* **[Resources](https://docs.rs/google-coordinate1/3.0.0+20150811/google_coordinate1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-coordinate1/3.1.0+20150811/google_coordinate1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-coordinate1/3.1.0+20150811/google_coordinate1/client::CallBuilder) +* **[Resources](https://docs.rs/google-coordinate1/3.1.0+20150811/google_coordinate1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-coordinate1/3.0.0+20150811/google_coordinate1/client::Part)** + * **[Parts](https://docs.rs/google-coordinate1/3.1.0+20150811/google_coordinate1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-coordinate1/3.0.0+20150811/google_coordinate1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-coordinate1/3.1.0+20150811/google_coordinate1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -105,7 +105,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Coordinate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Coordinate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -148,17 +148,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-coordinate1/3.0.0+20150811/google_coordinate1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-coordinate1/3.1.0+20150811/google_coordinate1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-coordinate1/3.0.0+20150811/google_coordinate1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-coordinate1/3.1.0+20150811/google_coordinate1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-coordinate1/3.0.0+20150811/google_coordinate1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-coordinate1/3.1.0+20150811/google_coordinate1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-coordinate1/3.0.0+20150811/google_coordinate1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-coordinate1/3.1.0+20150811/google_coordinate1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -168,29 +168,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-coordinate1/3.0.0+20150811/google_coordinate1/client::Delegate) to the -[Method Builder](https://docs.rs/google-coordinate1/3.0.0+20150811/google_coordinate1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-coordinate1/3.1.0+20150811/google_coordinate1/client::Delegate) to the +[Method Builder](https://docs.rs/google-coordinate1/3.1.0+20150811/google_coordinate1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-coordinate1/3.0.0+20150811/google_coordinate1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-coordinate1/3.1.0+20150811/google_coordinate1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-coordinate1/3.0.0+20150811/google_coordinate1/client::RequestValue) and -[decodable](https://docs.rs/google-coordinate1/3.0.0+20150811/google_coordinate1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-coordinate1/3.1.0+20150811/google_coordinate1/client::RequestValue) and +[decodable](https://docs.rs/google-coordinate1/3.1.0+20150811/google_coordinate1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-coordinate1/3.0.0+20150811/google_coordinate1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-coordinate1/3.1.0+20150811/google_coordinate1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-coordinate1/3.0.0+20150811/google_coordinate1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-coordinate1/3.1.0+20150811/google_coordinate1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-coordinate1/3.0.0+20150811/google_coordinate1/client::RequestValue) are moved +* [request values](https://docs.rs/google-coordinate1/3.1.0+20150811/google_coordinate1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/coordinate1/src/api.rs b/gen/coordinate1/src/api.rs index 850852fbca..2626d56f35 100644 --- a/gen/coordinate1/src/api.rs +++ b/gen/coordinate1/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Coordinate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Coordinate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -133,7 +133,7 @@ impl<'a, > Coordinate<> { Coordinate { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/coordinate/v1/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -159,7 +159,7 @@ impl<'a, > Coordinate<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -606,7 +606,7 @@ impl client::ResponseResult for WorkerListResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Coordinate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Coordinate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -664,7 +664,7 @@ impl<'a> CustomFieldDefMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Coordinate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Coordinate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -839,7 +839,7 @@ impl<'a> JobMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Coordinate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Coordinate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -903,7 +903,7 @@ impl<'a> LocationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Coordinate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Coordinate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -1013,7 +1013,7 @@ impl<'a> ScheduleMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Coordinate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Coordinate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -1069,7 +1069,7 @@ impl<'a> TeamMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Coordinate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Coordinate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -1134,7 +1134,7 @@ impl<'a> WorkerMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Coordinate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Coordinate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1382,7 +1382,7 @@ impl<'a> CustomFieldDefListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Coordinate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Coordinate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1643,7 +1643,7 @@ impl<'a> JobGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Coordinate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Coordinate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2031,7 +2031,7 @@ impl<'a> JobInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Coordinate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Coordinate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2328,7 +2328,7 @@ impl<'a> JobListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Coordinate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Coordinate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2741,7 +2741,7 @@ impl<'a> JobPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Coordinate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Coordinate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3153,7 +3153,7 @@ impl<'a> JobUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Coordinate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Coordinate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3449,7 +3449,7 @@ impl<'a> LocationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Coordinate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Coordinate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3710,7 +3710,7 @@ impl<'a> ScheduleGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Coordinate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Coordinate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4048,7 +4048,7 @@ impl<'a> SchedulePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Coordinate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Coordinate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4385,7 +4385,7 @@ impl<'a> ScheduleUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Coordinate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Coordinate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4636,7 +4636,7 @@ impl<'a> TeamListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Coordinate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Coordinate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/coordinate1/src/lib.rs b/gen/coordinate1/src/lib.rs index 584269437b..c16de67548 100644 --- a/gen/coordinate1/src/lib.rs +++ b/gen/coordinate1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *coordinate* crate version *3.0.0+20150811*, where *20150811* is the exact revision of the *coordinate:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *coordinate* crate version *3.1.0+20150811*, where *20150811* is the exact revision of the *coordinate:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *coordinate* *v1* API can be found at the //! [official documentation site](https://developers.google.com/coordinate/). @@ -106,7 +106,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Coordinate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Coordinate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/customsearch1-cli/Cargo.toml b/gen/customsearch1-cli/Cargo.toml index a05302ed70..810120fab1 100644 --- a/gen/customsearch1-cli/Cargo.toml +++ b/gen/customsearch1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-customsearch1-cli" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with CustomSearch API (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/customsearch1-cli" @@ -20,12 +20,12 @@ name = "customsearch1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-customsearch1] path = "../customsearch1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" diff --git a/gen/customsearch1-cli/README.md b/gen/customsearch1-cli/README.md index 463a2f7919..1c8bf94563 100644 --- a/gen/customsearch1-cli/README.md +++ b/gen/customsearch1-cli/README.md @@ -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 *CustomSearch API* API at revision *20220305*. The CLI is at version *3.0.0*. +This documentation was generated from the *CustomSearch API* API at revision *20220305*. The CLI is at version *3.1.0*. ```bash customsearch1 [options] diff --git a/gen/customsearch1-cli/mkdocs.yml b/gen/customsearch1-cli/mkdocs.yml index bb0bbdce0b..bcaedc567a 100644 --- a/gen/customsearch1-cli/mkdocs.yml +++ b/gen/customsearch1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: CustomSearch API v3.0.0+20220305 +site_name: CustomSearch API v3.1.0+20220305 site_url: http://byron.github.io/google-apis-rs/google-customsearch1-cli site_description: A complete library to interact with CustomSearch API (protocol v1) diff --git a/gen/customsearch1-cli/src/main.rs b/gen/customsearch1-cli/src/main.rs index e1f27af413..b58b791db3 100644 --- a/gen/customsearch1-cli/src/main.rs +++ b/gen/customsearch1-cli/src/main.rs @@ -381,7 +381,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/customsearch1", 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::CustomSearchAPI::new(client, auth), @@ -455,7 +461,7 @@ async fn main() { let mut app = App::new("customsearch1") .author("Sebastian Thiel ") - .version("3.0.0+20220305") + .version("3.1.0+20220305") .about("Searches over a website or collection of websites") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_customsearch1_cli") .arg(Arg::with_name("folder") diff --git a/gen/customsearch1/Cargo.toml b/gen/customsearch1/Cargo.toml index c7885c75a4..bb6bfca381 100644 --- a/gen/customsearch1/Cargo.toml +++ b/gen/customsearch1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-customsearch1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with CustomSearch API (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/customsearch1" homepage = "https://developers.google.com/custom-search/v1/introduction" -documentation = "https://docs.rs/google-customsearch1/3.0.0+20220305" +documentation = "https://docs.rs/google-customsearch1/3.1.0+20220305" license = "MIT" keywords = ["customsearch", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/customsearch1/README.md b/gen/customsearch1/README.md index 664409ea8e..5c3885dc6b 100644 --- a/gen/customsearch1/README.md +++ b/gen/customsearch1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-customsearch1` library allows access to all features of the *Google CustomSearch API* service. -This documentation was generated from *CustomSearch API* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *customsearch:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *CustomSearch API* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *customsearch:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *CustomSearch API* *v1* API can be found at the [official documentation site](https://developers.google.com/custom-search/v1/introduction). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-customsearch1/3.0.0+20220305/google_customsearch1/CustomSearchAPI) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-customsearch1/3.1.0+20220305/google_customsearch1/CustomSearchAPI) ... * cse - * [*list*](https://docs.rs/google-customsearch1/3.0.0+20220305/google_customsearch1/api::CseListCall) and [*siterestrict list*](https://docs.rs/google-customsearch1/3.0.0+20220305/google_customsearch1/api::CseSiterestrictListCall) + * [*list*](https://docs.rs/google-customsearch1/3.1.0+20220305/google_customsearch1/api::CseListCall) and [*siterestrict list*](https://docs.rs/google-customsearch1/3.1.0+20220305/google_customsearch1/api::CseSiterestrictListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-customsearch1/3.0.0+20220305/google_customsearch1/CustomSearchAPI)** +* **[Hub](https://docs.rs/google-customsearch1/3.1.0+20220305/google_customsearch1/CustomSearchAPI)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-customsearch1/3.0.0+20220305/google_customsearch1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-customsearch1/3.0.0+20220305/google_customsearch1/client::CallBuilder) -* **[Resources](https://docs.rs/google-customsearch1/3.0.0+20220305/google_customsearch1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-customsearch1/3.1.0+20220305/google_customsearch1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-customsearch1/3.1.0+20220305/google_customsearch1/client::CallBuilder) +* **[Resources](https://docs.rs/google-customsearch1/3.1.0+20220305/google_customsearch1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-customsearch1/3.0.0+20220305/google_customsearch1/client::Part)** + * **[Parts](https://docs.rs/google-customsearch1/3.1.0+20220305/google_customsearch1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-customsearch1/3.0.0+20220305/google_customsearch1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-customsearch1/3.1.0+20220305/google_customsearch1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -91,7 +91,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CustomSearchAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CustomSearchAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -150,17 +150,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-customsearch1/3.0.0+20220305/google_customsearch1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-customsearch1/3.1.0+20220305/google_customsearch1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-customsearch1/3.0.0+20220305/google_customsearch1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-customsearch1/3.1.0+20220305/google_customsearch1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-customsearch1/3.0.0+20220305/google_customsearch1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-customsearch1/3.1.0+20220305/google_customsearch1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-customsearch1/3.0.0+20220305/google_customsearch1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-customsearch1/3.1.0+20220305/google_customsearch1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -170,29 +170,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-customsearch1/3.0.0+20220305/google_customsearch1/client::Delegate) to the -[Method Builder](https://docs.rs/google-customsearch1/3.0.0+20220305/google_customsearch1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-customsearch1/3.1.0+20220305/google_customsearch1/client::Delegate) to the +[Method Builder](https://docs.rs/google-customsearch1/3.1.0+20220305/google_customsearch1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-customsearch1/3.0.0+20220305/google_customsearch1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-customsearch1/3.1.0+20220305/google_customsearch1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-customsearch1/3.0.0+20220305/google_customsearch1/client::RequestValue) and -[decodable](https://docs.rs/google-customsearch1/3.0.0+20220305/google_customsearch1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-customsearch1/3.1.0+20220305/google_customsearch1/client::RequestValue) and +[decodable](https://docs.rs/google-customsearch1/3.1.0+20220305/google_customsearch1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-customsearch1/3.0.0+20220305/google_customsearch1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-customsearch1/3.1.0+20220305/google_customsearch1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-customsearch1/3.0.0+20220305/google_customsearch1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-customsearch1/3.1.0+20220305/google_customsearch1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-customsearch1/3.0.0+20220305/google_customsearch1/client::RequestValue) are moved +* [request values](https://docs.rs/google-customsearch1/3.1.0+20220305/google_customsearch1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/customsearch1/src/api.rs b/gen/customsearch1/src/api.rs index f2eb5a6f00..011bddd712 100644 --- a/gen/customsearch1/src/api.rs +++ b/gen/customsearch1/src/api.rs @@ -48,7 +48,7 @@ use crate::client; /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CustomSearchAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CustomSearchAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -122,7 +122,7 @@ impl<'a, > CustomSearchAPI<> { CustomSearchAPI { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://customsearch.googleapis.com/".to_string(), _root_url: "https://customsearch.googleapis.com/".to_string(), } @@ -133,7 +133,7 @@ impl<'a, > CustomSearchAPI<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -787,7 +787,7 @@ impl client::Part for SearchUrl {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CustomSearchAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CustomSearchAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` and `siterestrict_list(...)` /// // to build up your call. @@ -919,7 +919,7 @@ impl<'a> CseMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CustomSearchAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CustomSearchAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1480,7 +1480,7 @@ impl<'a> CseSiterestrictListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CustomSearchAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CustomSearchAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/customsearch1/src/lib.rs b/gen/customsearch1/src/lib.rs index 8916ed5600..129929fe28 100644 --- a/gen/customsearch1/src/lib.rs +++ b/gen/customsearch1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *CustomSearch API* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *customsearch:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *CustomSearch API* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *customsearch:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *CustomSearch API* *v1* API can be found at the //! [official documentation site](https://developers.google.com/custom-search/v1/introduction). @@ -92,7 +92,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CustomSearchAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CustomSearchAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/datacatalog1-cli/Cargo.toml b/gen/datacatalog1-cli/Cargo.toml index 415f293ffb..84106e3af1 100644 --- a/gen/datacatalog1-cli/Cargo.toml +++ b/gen/datacatalog1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-datacatalog1-cli" -version = "3.0.0+20220224" +version = "3.1.0+20220224" authors = ["Sebastian Thiel "] description = "A complete library to interact with Data Catalog (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/datacatalog1-cli" @@ -20,12 +20,12 @@ name = "datacatalog1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-datacatalog1] path = "../datacatalog1" -version = "3.0.0+20220224" +version = "3.1.0+20220224" diff --git a/gen/datacatalog1-cli/README.md b/gen/datacatalog1-cli/README.md index 690ba0b9db..c9e6b8a7c4 100644 --- a/gen/datacatalog1-cli/README.md +++ b/gen/datacatalog1-cli/README.md @@ -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 *Data Catalog* API at revision *20220224*. The CLI is at version *3.0.0*. +This documentation was generated from the *Data Catalog* API at revision *20220224*. The CLI is at version *3.1.0*. ```bash datacatalog1 [options] diff --git a/gen/datacatalog1-cli/mkdocs.yml b/gen/datacatalog1-cli/mkdocs.yml index 76344104f2..f08230d1fe 100644 --- a/gen/datacatalog1-cli/mkdocs.yml +++ b/gen/datacatalog1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Data Catalog v3.0.0+20220224 +site_name: Data Catalog v3.1.0+20220224 site_url: http://byron.github.io/google-apis-rs/google-datacatalog1-cli site_description: A complete library to interact with Data Catalog (protocol v1) diff --git a/gen/datacatalog1-cli/src/main.rs b/gen/datacatalog1-cli/src/main.rs index 495a3610dd..d3773d35d3 100644 --- a/gen/datacatalog1-cli/src/main.rs +++ b/gen/datacatalog1-cli/src/main.rs @@ -4994,7 +4994,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/datacatalog1", 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::DataCatalog::new(client, auth), @@ -6584,7 +6590,7 @@ async fn main() { let mut app = App::new("datacatalog1") .author("Sebastian Thiel ") - .version("3.0.0+20220224") + .version("3.1.0+20220224") .about("A fully managed and highly scalable data discovery and metadata management service. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_datacatalog1_cli") .arg(Arg::with_name("url") diff --git a/gen/datacatalog1/Cargo.toml b/gen/datacatalog1/Cargo.toml index 4443969b7a..e81ecd6d70 100644 --- a/gen/datacatalog1/Cargo.toml +++ b/gen/datacatalog1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-datacatalog1" -version = "3.0.0+20220224" +version = "3.1.0+20220224" authors = ["Sebastian Thiel "] description = "A complete library to interact with Data Catalog (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/datacatalog1" homepage = "https://cloud.google.com/data-catalog/docs/" -documentation = "https://docs.rs/google-datacatalog1/3.0.0+20220224" +documentation = "https://docs.rs/google-datacatalog1/3.1.0+20220224" license = "MIT" keywords = ["datacatalog", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/datacatalog1/README.md b/gen/datacatalog1/README.md index dda1a06d6a..ab109b390a 100644 --- a/gen/datacatalog1/README.md +++ b/gen/datacatalog1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-datacatalog1` library allows access to all features of the *Google Data Catalog* service. -This documentation was generated from *Data Catalog* crate version *3.0.0+20220224*, where *20220224* is the exact revision of the *datacatalog:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Data Catalog* crate version *3.1.0+20220224*, where *20220224* is the exact revision of the *datacatalog:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Data Catalog* *v1* API can be found at the [official documentation site](https://cloud.google.com/data-catalog/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/DataCatalog) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/DataCatalog) ... * catalog - * [*search*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::CatalogSearchCall) + * [*search*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::CatalogSearchCall) * entries - * [*lookup*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::EntryLookupCall) + * [*lookup*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::EntryLookupCall) * projects - * [*locations entry groups create*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupCreateCall), [*locations entry groups delete*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupDeleteCall), [*locations entry groups entries create*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupEntryCreateCall), [*locations entry groups entries delete*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupEntryDeleteCall), [*locations entry groups entries get*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupEntryGetCall), [*locations entry groups entries get iam policy*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupEntryGetIamPolicyCall), [*locations entry groups entries list*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupEntryListCall), [*locations entry groups entries modify entry contacts*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupEntryModifyEntryContactCall), [*locations entry groups entries modify entry overview*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupEntryModifyEntryOverviewCall), [*locations entry groups entries patch*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupEntryPatchCall), [*locations entry groups entries star*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupEntryStarCall), [*locations entry groups entries tags create*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupEntryTagCreateCall), [*locations entry groups entries tags delete*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupEntryTagDeleteCall), [*locations entry groups entries tags list*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupEntryTagListCall), [*locations entry groups entries tags patch*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupEntryTagPatchCall), [*locations entry groups entries test iam permissions*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupEntryTestIamPermissionCall), [*locations entry groups entries unstar*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupEntryUnstarCall), [*locations entry groups get*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupGetCall), [*locations entry groups get iam policy*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupGetIamPolicyCall), [*locations entry groups list*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupListCall), [*locations entry groups patch*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupPatchCall), [*locations entry groups set iam policy*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupSetIamPolicyCall), [*locations entry groups tags create*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupTagCreateCall), [*locations entry groups tags delete*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupTagDeleteCall), [*locations entry groups tags list*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupTagListCall), [*locations entry groups tags patch*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupTagPatchCall), [*locations entry groups test iam permissions*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupTestIamPermissionCall), [*locations tag templates create*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationTagTemplateCreateCall), [*locations tag templates delete*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationTagTemplateDeleteCall), [*locations tag templates fields create*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationTagTemplateFieldCreateCall), [*locations tag templates fields delete*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationTagTemplateFieldDeleteCall), [*locations tag templates fields enum values rename*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationTagTemplateFieldEnumValueRenameCall), [*locations tag templates fields patch*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationTagTemplateFieldPatchCall), [*locations tag templates fields rename*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationTagTemplateFieldRenameCall), [*locations tag templates get*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationTagTemplateGetCall), [*locations tag templates get iam policy*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationTagTemplateGetIamPolicyCall), [*locations tag templates patch*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationTagTemplatePatchCall), [*locations tag templates set iam policy*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationTagTemplateSetIamPolicyCall), [*locations tag templates test iam permissions*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationTagTemplateTestIamPermissionCall), [*locations taxonomies create*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationTaxonomyCreateCall), [*locations taxonomies delete*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationTaxonomyDeleteCall), [*locations taxonomies export*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationTaxonomyExportCall), [*locations taxonomies get*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationTaxonomyGetCall), [*locations taxonomies get iam policy*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationTaxonomyGetIamPolicyCall), [*locations taxonomies import*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationTaxonomyImportCall), [*locations taxonomies list*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationTaxonomyListCall), [*locations taxonomies patch*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationTaxonomyPatchCall), [*locations taxonomies policy tags create*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationTaxonomyPolicyTagCreateCall), [*locations taxonomies policy tags delete*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationTaxonomyPolicyTagDeleteCall), [*locations taxonomies policy tags get*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationTaxonomyPolicyTagGetCall), [*locations taxonomies policy tags get iam policy*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationTaxonomyPolicyTagGetIamPolicyCall), [*locations taxonomies policy tags list*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationTaxonomyPolicyTagListCall), [*locations taxonomies policy tags patch*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationTaxonomyPolicyTagPatchCall), [*locations taxonomies policy tags set iam policy*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationTaxonomyPolicyTagSetIamPolicyCall), [*locations taxonomies policy tags test iam permissions*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationTaxonomyPolicyTagTestIamPermissionCall), [*locations taxonomies replace*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationTaxonomyReplaceCall), [*locations taxonomies set iam policy*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationTaxonomySetIamPolicyCall) and [*locations taxonomies test iam permissions*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/api::ProjectLocationTaxonomyTestIamPermissionCall) + * [*locations entry groups create*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupCreateCall), [*locations entry groups delete*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupDeleteCall), [*locations entry groups entries create*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupEntryCreateCall), [*locations entry groups entries delete*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupEntryDeleteCall), [*locations entry groups entries get*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupEntryGetCall), [*locations entry groups entries get iam policy*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupEntryGetIamPolicyCall), [*locations entry groups entries list*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupEntryListCall), [*locations entry groups entries modify entry contacts*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupEntryModifyEntryContactCall), [*locations entry groups entries modify entry overview*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupEntryModifyEntryOverviewCall), [*locations entry groups entries patch*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupEntryPatchCall), [*locations entry groups entries star*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupEntryStarCall), [*locations entry groups entries tags create*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupEntryTagCreateCall), [*locations entry groups entries tags delete*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupEntryTagDeleteCall), [*locations entry groups entries tags list*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupEntryTagListCall), [*locations entry groups entries tags patch*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupEntryTagPatchCall), [*locations entry groups entries test iam permissions*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupEntryTestIamPermissionCall), [*locations entry groups entries unstar*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupEntryUnstarCall), [*locations entry groups get*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupGetCall), [*locations entry groups get iam policy*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupGetIamPolicyCall), [*locations entry groups list*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupListCall), [*locations entry groups patch*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupPatchCall), [*locations entry groups set iam policy*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupSetIamPolicyCall), [*locations entry groups tags create*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupTagCreateCall), [*locations entry groups tags delete*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupTagDeleteCall), [*locations entry groups tags list*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupTagListCall), [*locations entry groups tags patch*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupTagPatchCall), [*locations entry groups test iam permissions*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationEntryGroupTestIamPermissionCall), [*locations tag templates create*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationTagTemplateCreateCall), [*locations tag templates delete*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationTagTemplateDeleteCall), [*locations tag templates fields create*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationTagTemplateFieldCreateCall), [*locations tag templates fields delete*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationTagTemplateFieldDeleteCall), [*locations tag templates fields enum values rename*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationTagTemplateFieldEnumValueRenameCall), [*locations tag templates fields patch*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationTagTemplateFieldPatchCall), [*locations tag templates fields rename*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationTagTemplateFieldRenameCall), [*locations tag templates get*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationTagTemplateGetCall), [*locations tag templates get iam policy*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationTagTemplateGetIamPolicyCall), [*locations tag templates patch*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationTagTemplatePatchCall), [*locations tag templates set iam policy*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationTagTemplateSetIamPolicyCall), [*locations tag templates test iam permissions*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationTagTemplateTestIamPermissionCall), [*locations taxonomies create*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationTaxonomyCreateCall), [*locations taxonomies delete*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationTaxonomyDeleteCall), [*locations taxonomies export*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationTaxonomyExportCall), [*locations taxonomies get*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationTaxonomyGetCall), [*locations taxonomies get iam policy*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationTaxonomyGetIamPolicyCall), [*locations taxonomies import*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationTaxonomyImportCall), [*locations taxonomies list*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationTaxonomyListCall), [*locations taxonomies patch*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationTaxonomyPatchCall), [*locations taxonomies policy tags create*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationTaxonomyPolicyTagCreateCall), [*locations taxonomies policy tags delete*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationTaxonomyPolicyTagDeleteCall), [*locations taxonomies policy tags get*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationTaxonomyPolicyTagGetCall), [*locations taxonomies policy tags get iam policy*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationTaxonomyPolicyTagGetIamPolicyCall), [*locations taxonomies policy tags list*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationTaxonomyPolicyTagListCall), [*locations taxonomies policy tags patch*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationTaxonomyPolicyTagPatchCall), [*locations taxonomies policy tags set iam policy*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationTaxonomyPolicyTagSetIamPolicyCall), [*locations taxonomies policy tags test iam permissions*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationTaxonomyPolicyTagTestIamPermissionCall), [*locations taxonomies replace*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationTaxonomyReplaceCall), [*locations taxonomies set iam policy*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationTaxonomySetIamPolicyCall) and [*locations taxonomies test iam permissions*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/api::ProjectLocationTaxonomyTestIamPermissionCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/DataCatalog)** +* **[Hub](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/DataCatalog)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/client::CallBuilder) -* **[Resources](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/client::CallBuilder) +* **[Resources](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/client::Part)** + * **[Parts](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -103,7 +103,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -156,29 +156,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/client::Delegate) to the -[Method Builder](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/client::Delegate) to the +[Method Builder](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/client::RequestValue) and -[decodable](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/client::RequestValue) and +[decodable](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-datacatalog1/3.0.0+20220224/google_datacatalog1/client::RequestValue) are moved +* [request values](https://docs.rs/google-datacatalog1/3.1.0+20220224/google_datacatalog1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/datacatalog1/src/api.rs b/gen/datacatalog1/src/api.rs index 8343dfe1b9..800fdbb850 100644 --- a/gen/datacatalog1/src/api.rs +++ b/gen/datacatalog1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > DataCatalog<> { DataCatalog { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://datacatalog.googleapis.com/".to_string(), _root_url: "https://datacatalog.googleapis.com/".to_string(), } @@ -136,7 +136,7 @@ impl<'a, > DataCatalog<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1897,7 +1897,7 @@ impl client::ResponseResult for TestIamPermissionsResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `search(...)` /// // to build up your call. @@ -1955,7 +1955,7 @@ impl<'a> CatalogMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `lookup(...)` /// // to build up your call. @@ -2011,7 +2011,7 @@ impl<'a> EntryMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_entry_groups_create(...)`, `locations_entry_groups_delete(...)`, `locations_entry_groups_entries_create(...)`, `locations_entry_groups_entries_delete(...)`, `locations_entry_groups_entries_get(...)`, `locations_entry_groups_entries_get_iam_policy(...)`, `locations_entry_groups_entries_list(...)`, `locations_entry_groups_entries_modify_entry_contacts(...)`, `locations_entry_groups_entries_modify_entry_overview(...)`, `locations_entry_groups_entries_patch(...)`, `locations_entry_groups_entries_star(...)`, `locations_entry_groups_entries_tags_create(...)`, `locations_entry_groups_entries_tags_delete(...)`, `locations_entry_groups_entries_tags_list(...)`, `locations_entry_groups_entries_tags_patch(...)`, `locations_entry_groups_entries_test_iam_permissions(...)`, `locations_entry_groups_entries_unstar(...)`, `locations_entry_groups_get(...)`, `locations_entry_groups_get_iam_policy(...)`, `locations_entry_groups_list(...)`, `locations_entry_groups_patch(...)`, `locations_entry_groups_set_iam_policy(...)`, `locations_entry_groups_tags_create(...)`, `locations_entry_groups_tags_delete(...)`, `locations_entry_groups_tags_list(...)`, `locations_entry_groups_tags_patch(...)`, `locations_entry_groups_test_iam_permissions(...)`, `locations_tag_templates_create(...)`, `locations_tag_templates_delete(...)`, `locations_tag_templates_fields_create(...)`, `locations_tag_templates_fields_delete(...)`, `locations_tag_templates_fields_enum_values_rename(...)`, `locations_tag_templates_fields_patch(...)`, `locations_tag_templates_fields_rename(...)`, `locations_tag_templates_get(...)`, `locations_tag_templates_get_iam_policy(...)`, `locations_tag_templates_patch(...)`, `locations_tag_templates_set_iam_policy(...)`, `locations_tag_templates_test_iam_permissions(...)`, `locations_taxonomies_create(...)`, `locations_taxonomies_delete(...)`, `locations_taxonomies_export(...)`, `locations_taxonomies_get(...)`, `locations_taxonomies_get_iam_policy(...)`, `locations_taxonomies_import(...)`, `locations_taxonomies_list(...)`, `locations_taxonomies_patch(...)`, `locations_taxonomies_policy_tags_create(...)`, `locations_taxonomies_policy_tags_delete(...)`, `locations_taxonomies_policy_tags_get(...)`, `locations_taxonomies_policy_tags_get_iam_policy(...)`, `locations_taxonomies_policy_tags_list(...)`, `locations_taxonomies_policy_tags_patch(...)`, `locations_taxonomies_policy_tags_set_iam_policy(...)`, `locations_taxonomies_policy_tags_test_iam_permissions(...)`, `locations_taxonomies_replace(...)`, `locations_taxonomies_set_iam_policy(...)` and `locations_taxonomies_test_iam_permissions(...)` /// // to build up your call. @@ -3153,7 +3153,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3401,7 +3401,7 @@ impl<'a> CatalogSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3657,7 +3657,7 @@ impl<'a> EntryLookupCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3942,7 +3942,7 @@ impl<'a> ProjectLocationEntryGroupEntryTagCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4198,7 +4198,7 @@ impl<'a> ProjectLocationEntryGroupEntryTagDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4479,7 +4479,7 @@ impl<'a> ProjectLocationEntryGroupEntryTagListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4777,7 +4777,7 @@ impl<'a> ProjectLocationEntryGroupEntryTagPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5074,7 +5074,7 @@ impl<'a> ProjectLocationEntryGroupEntryCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5330,7 +5330,7 @@ impl<'a> ProjectLocationEntryGroupEntryDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5587,7 +5587,7 @@ impl<'a> ProjectLocationEntryGroupEntryGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5872,7 +5872,7 @@ impl<'a> ProjectLocationEntryGroupEntryGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6165,7 +6165,7 @@ impl<'a> ProjectLocationEntryGroupEntryListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6451,7 +6451,7 @@ impl<'a> ProjectLocationEntryGroupEntryModifyEntryContactCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6737,7 +6737,7 @@ impl<'a> ProjectLocationEntryGroupEntryModifyEntryOverviewCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7035,7 +7035,7 @@ impl<'a> ProjectLocationEntryGroupEntryPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7321,7 +7321,7 @@ impl<'a> ProjectLocationEntryGroupEntryStarCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7607,7 +7607,7 @@ impl<'a> ProjectLocationEntryGroupEntryTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7893,7 +7893,7 @@ impl<'a> ProjectLocationEntryGroupEntryUnstarCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8178,7 +8178,7 @@ impl<'a> ProjectLocationEntryGroupTagCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8434,7 +8434,7 @@ impl<'a> ProjectLocationEntryGroupTagDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8715,7 +8715,7 @@ impl<'a> ProjectLocationEntryGroupTagListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9013,7 +9013,7 @@ impl<'a> ProjectLocationEntryGroupTagPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9310,7 +9310,7 @@ impl<'a> ProjectLocationEntryGroupCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9578,7 +9578,7 @@ impl<'a> ProjectLocationEntryGroupDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9847,7 +9847,7 @@ impl<'a> ProjectLocationEntryGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10132,7 +10132,7 @@ impl<'a> ProjectLocationEntryGroupGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10413,7 +10413,7 @@ impl<'a> ProjectLocationEntryGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10711,7 +10711,7 @@ impl<'a> ProjectLocationEntryGroupPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10997,7 +10997,7 @@ impl<'a> ProjectLocationEntryGroupSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11283,7 +11283,7 @@ impl<'a> ProjectLocationEntryGroupTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11569,7 +11569,7 @@ impl<'a> ProjectLocationTagTemplateFieldEnumValueRenameCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11866,7 +11866,7 @@ impl<'a> ProjectLocationTagTemplateFieldCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12135,7 +12135,7 @@ impl<'a> ProjectLocationTagTemplateFieldDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12433,7 +12433,7 @@ impl<'a> ProjectLocationTagTemplateFieldPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12719,7 +12719,7 @@ impl<'a> ProjectLocationTagTemplateFieldRenameCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13016,7 +13016,7 @@ impl<'a> ProjectLocationTagTemplateCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13284,7 +13284,7 @@ impl<'a> ProjectLocationTagTemplateDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13541,7 +13541,7 @@ impl<'a> ProjectLocationTagTemplateGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13827,7 +13827,7 @@ impl<'a> ProjectLocationTagTemplateGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14125,7 +14125,7 @@ impl<'a> ProjectLocationTagTemplatePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14411,7 +14411,7 @@ impl<'a> ProjectLocationTagTemplateSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14697,7 +14697,7 @@ impl<'a> ProjectLocationTagTemplateTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14982,7 +14982,7 @@ impl<'a> ProjectLocationTaxonomyPolicyTagCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15238,7 +15238,7 @@ impl<'a> ProjectLocationTaxonomyPolicyTagDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15495,7 +15495,7 @@ impl<'a> ProjectLocationTaxonomyPolicyTagGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15780,7 +15780,7 @@ impl<'a> ProjectLocationTaxonomyPolicyTagGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16061,7 +16061,7 @@ impl<'a> ProjectLocationTaxonomyPolicyTagListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16359,7 +16359,7 @@ impl<'a> ProjectLocationTaxonomyPolicyTagPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16645,7 +16645,7 @@ impl<'a> ProjectLocationTaxonomyPolicyTagSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16931,7 +16931,7 @@ impl<'a> ProjectLocationTaxonomyPolicyTagTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17216,7 +17216,7 @@ impl<'a> ProjectLocationTaxonomyCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17472,7 +17472,7 @@ impl<'a> ProjectLocationTaxonomyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17755,7 +17755,7 @@ impl<'a> ProjectLocationTaxonomyExportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18012,7 +18012,7 @@ impl<'a> ProjectLocationTaxonomyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18298,7 +18298,7 @@ impl<'a> ProjectLocationTaxonomyGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18583,7 +18583,7 @@ impl<'a> ProjectLocationTaxonomyImportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18864,7 +18864,7 @@ impl<'a> ProjectLocationTaxonomyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19162,7 +19162,7 @@ impl<'a> ProjectLocationTaxonomyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19448,7 +19448,7 @@ impl<'a> ProjectLocationTaxonomyReplaceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19734,7 +19734,7 @@ impl<'a> ProjectLocationTaxonomySetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/datacatalog1/src/lib.rs b/gen/datacatalog1/src/lib.rs index 9827d4ff20..5d94832261 100644 --- a/gen/datacatalog1/src/lib.rs +++ b/gen/datacatalog1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Data Catalog* crate version *3.0.0+20220224*, where *20220224* is the exact revision of the *datacatalog:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Data Catalog* crate version *3.1.0+20220224*, where *20220224* is the exact revision of the *datacatalog:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Data Catalog* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/data-catalog/docs/). @@ -104,7 +104,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/datacatalog1_beta1-cli/Cargo.toml b/gen/datacatalog1_beta1-cli/Cargo.toml index f661cbfd6e..aa4bf5bb50 100644 --- a/gen/datacatalog1_beta1-cli/Cargo.toml +++ b/gen/datacatalog1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-datacatalog1_beta1-cli" -version = "3.0.0+20220224" +version = "3.1.0+20220224" authors = ["Sebastian Thiel "] description = "A complete library to interact with Data Catalog (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/datacatalog1_beta1-cli" @@ -20,12 +20,12 @@ name = "datacatalog1-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-datacatalog1_beta1] path = "../datacatalog1_beta1" -version = "3.0.0+20220224" +version = "3.1.0+20220224" diff --git a/gen/datacatalog1_beta1-cli/README.md b/gen/datacatalog1_beta1-cli/README.md index 035f94dc50..0587783455 100644 --- a/gen/datacatalog1_beta1-cli/README.md +++ b/gen/datacatalog1_beta1-cli/README.md @@ -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 *Data Catalog* API at revision *20220224*. The CLI is at version *3.0.0*. +This documentation was generated from the *Data Catalog* API at revision *20220224*. The CLI is at version *3.1.0*. ```bash datacatalog1-beta1 [options] diff --git a/gen/datacatalog1_beta1-cli/mkdocs.yml b/gen/datacatalog1_beta1-cli/mkdocs.yml index 7a720251b5..b870f08e49 100644 --- a/gen/datacatalog1_beta1-cli/mkdocs.yml +++ b/gen/datacatalog1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Data Catalog v3.0.0+20220224 +site_name: Data Catalog v3.1.0+20220224 site_url: http://byron.github.io/google-apis-rs/google-datacatalog1_beta1-cli site_description: A complete library to interact with Data Catalog (protocol v1beta1) diff --git a/gen/datacatalog1_beta1-cli/src/main.rs b/gen/datacatalog1_beta1-cli/src/main.rs index 03ceb0bc75..e266882612 100644 --- a/gen/datacatalog1_beta1-cli/src/main.rs +++ b/gen/datacatalog1_beta1-cli/src/main.rs @@ -4477,7 +4477,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/datacatalog1-beta1", 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::DataCatalog::new(client, auth), @@ -5927,7 +5933,7 @@ async fn main() { let mut app = App::new("datacatalog1-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20220224") + .version("3.1.0+20220224") .about("A fully managed and highly scalable data discovery and metadata management service. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_datacatalog1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/datacatalog1_beta1/Cargo.toml b/gen/datacatalog1_beta1/Cargo.toml index a523f38d60..6c041c86ae 100644 --- a/gen/datacatalog1_beta1/Cargo.toml +++ b/gen/datacatalog1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-datacatalog1_beta1" -version = "3.0.0+20220224" +version = "3.1.0+20220224" authors = ["Sebastian Thiel "] description = "A complete library to interact with Data Catalog (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/datacatalog1_beta1" homepage = "https://cloud.google.com/data-catalog/docs/" -documentation = "https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224" +documentation = "https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224" license = "MIT" keywords = ["datacatalog", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/datacatalog1_beta1/README.md b/gen/datacatalog1_beta1/README.md index 13f1781f43..b0ee74f2bb 100644 --- a/gen/datacatalog1_beta1/README.md +++ b/gen/datacatalog1_beta1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-datacatalog1_beta1` library allows access to all features of the *Google Data Catalog* service. -This documentation was generated from *Data Catalog* crate version *3.0.0+20220224*, where *20220224* is the exact revision of the *datacatalog:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Data Catalog* crate version *3.1.0+20220224*, where *20220224* is the exact revision of the *datacatalog:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Data Catalog* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/data-catalog/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/DataCatalog) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/DataCatalog) ... * catalog - * [*search*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::CatalogSearchCall) + * [*search*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::CatalogSearchCall) * entries - * [*lookup*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::EntryLookupCall) + * [*lookup*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::EntryLookupCall) * projects - * [*locations entry groups create*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupCreateCall), [*locations entry groups delete*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupDeleteCall), [*locations entry groups entries create*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryCreateCall), [*locations entry groups entries delete*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryDeleteCall), [*locations entry groups entries get*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryGetCall), [*locations entry groups entries get iam policy*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryGetIamPolicyCall), [*locations entry groups entries list*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryListCall), [*locations entry groups entries patch*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryPatchCall), [*locations entry groups entries tags create*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryTagCreateCall), [*locations entry groups entries tags delete*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryTagDeleteCall), [*locations entry groups entries tags list*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryTagListCall), [*locations entry groups entries tags patch*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryTagPatchCall), [*locations entry groups entries test iam permissions*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryTestIamPermissionCall), [*locations entry groups get*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupGetCall), [*locations entry groups get iam policy*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupGetIamPolicyCall), [*locations entry groups list*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupListCall), [*locations entry groups patch*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupPatchCall), [*locations entry groups set iam policy*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupSetIamPolicyCall), [*locations entry groups tags create*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupTagCreateCall), [*locations entry groups tags delete*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupTagDeleteCall), [*locations entry groups tags list*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupTagListCall), [*locations entry groups tags patch*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupTagPatchCall), [*locations entry groups test iam permissions*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupTestIamPermissionCall), [*locations tag templates create*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTagTemplateCreateCall), [*locations tag templates delete*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTagTemplateDeleteCall), [*locations tag templates fields create*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTagTemplateFieldCreateCall), [*locations tag templates fields delete*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTagTemplateFieldDeleteCall), [*locations tag templates fields enum values rename*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTagTemplateFieldEnumValueRenameCall), [*locations tag templates fields patch*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTagTemplateFieldPatchCall), [*locations tag templates fields rename*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTagTemplateFieldRenameCall), [*locations tag templates get*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTagTemplateGetCall), [*locations tag templates get iam policy*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTagTemplateGetIamPolicyCall), [*locations tag templates patch*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTagTemplatePatchCall), [*locations tag templates set iam policy*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTagTemplateSetIamPolicyCall), [*locations tag templates test iam permissions*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTagTemplateTestIamPermissionCall), [*locations taxonomies create*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTaxonomyCreateCall), [*locations taxonomies delete*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTaxonomyDeleteCall), [*locations taxonomies export*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTaxonomyExportCall), [*locations taxonomies get*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTaxonomyGetCall), [*locations taxonomies get iam policy*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTaxonomyGetIamPolicyCall), [*locations taxonomies import*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTaxonomyImportCall), [*locations taxonomies list*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTaxonomyListCall), [*locations taxonomies patch*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPatchCall), [*locations taxonomies policy tags create*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPolicyTagCreateCall), [*locations taxonomies policy tags delete*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPolicyTagDeleteCall), [*locations taxonomies policy tags get*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPolicyTagGetCall), [*locations taxonomies policy tags get iam policy*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPolicyTagGetIamPolicyCall), [*locations taxonomies policy tags list*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPolicyTagListCall), [*locations taxonomies policy tags patch*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPolicyTagPatchCall), [*locations taxonomies policy tags set iam policy*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPolicyTagSetIamPolicyCall), [*locations taxonomies policy tags test iam permissions*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPolicyTagTestIamPermissionCall), [*locations taxonomies set iam policy*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTaxonomySetIamPolicyCall) and [*locations taxonomies test iam permissions*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTaxonomyTestIamPermissionCall) + * [*locations entry groups create*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupCreateCall), [*locations entry groups delete*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupDeleteCall), [*locations entry groups entries create*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryCreateCall), [*locations entry groups entries delete*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryDeleteCall), [*locations entry groups entries get*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryGetCall), [*locations entry groups entries get iam policy*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryGetIamPolicyCall), [*locations entry groups entries list*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryListCall), [*locations entry groups entries patch*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryPatchCall), [*locations entry groups entries tags create*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryTagCreateCall), [*locations entry groups entries tags delete*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryTagDeleteCall), [*locations entry groups entries tags list*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryTagListCall), [*locations entry groups entries tags patch*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryTagPatchCall), [*locations entry groups entries test iam permissions*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupEntryTestIamPermissionCall), [*locations entry groups get*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupGetCall), [*locations entry groups get iam policy*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupGetIamPolicyCall), [*locations entry groups list*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupListCall), [*locations entry groups patch*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupPatchCall), [*locations entry groups set iam policy*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupSetIamPolicyCall), [*locations entry groups tags create*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupTagCreateCall), [*locations entry groups tags delete*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupTagDeleteCall), [*locations entry groups tags list*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupTagListCall), [*locations entry groups tags patch*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupTagPatchCall), [*locations entry groups test iam permissions*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationEntryGroupTestIamPermissionCall), [*locations tag templates create*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTagTemplateCreateCall), [*locations tag templates delete*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTagTemplateDeleteCall), [*locations tag templates fields create*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTagTemplateFieldCreateCall), [*locations tag templates fields delete*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTagTemplateFieldDeleteCall), [*locations tag templates fields enum values rename*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTagTemplateFieldEnumValueRenameCall), [*locations tag templates fields patch*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTagTemplateFieldPatchCall), [*locations tag templates fields rename*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTagTemplateFieldRenameCall), [*locations tag templates get*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTagTemplateGetCall), [*locations tag templates get iam policy*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTagTemplateGetIamPolicyCall), [*locations tag templates patch*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTagTemplatePatchCall), [*locations tag templates set iam policy*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTagTemplateSetIamPolicyCall), [*locations tag templates test iam permissions*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTagTemplateTestIamPermissionCall), [*locations taxonomies create*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTaxonomyCreateCall), [*locations taxonomies delete*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTaxonomyDeleteCall), [*locations taxonomies export*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTaxonomyExportCall), [*locations taxonomies get*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTaxonomyGetCall), [*locations taxonomies get iam policy*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTaxonomyGetIamPolicyCall), [*locations taxonomies import*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTaxonomyImportCall), [*locations taxonomies list*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTaxonomyListCall), [*locations taxonomies patch*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPatchCall), [*locations taxonomies policy tags create*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPolicyTagCreateCall), [*locations taxonomies policy tags delete*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPolicyTagDeleteCall), [*locations taxonomies policy tags get*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPolicyTagGetCall), [*locations taxonomies policy tags get iam policy*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPolicyTagGetIamPolicyCall), [*locations taxonomies policy tags list*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPolicyTagListCall), [*locations taxonomies policy tags patch*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPolicyTagPatchCall), [*locations taxonomies policy tags set iam policy*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPolicyTagSetIamPolicyCall), [*locations taxonomies policy tags test iam permissions*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTaxonomyPolicyTagTestIamPermissionCall), [*locations taxonomies set iam policy*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTaxonomySetIamPolicyCall) and [*locations taxonomies test iam permissions*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/api::ProjectLocationTaxonomyTestIamPermissionCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/DataCatalog)** +* **[Hub](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/DataCatalog)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -103,7 +103,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -156,29 +156,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-datacatalog1_beta1/3.0.0+20220224/google_datacatalog1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-datacatalog1_beta1/3.1.0+20220224/google_datacatalog1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/datacatalog1_beta1/src/api.rs b/gen/datacatalog1_beta1/src/api.rs index 4c13804bb6..8f308c42d5 100644 --- a/gen/datacatalog1_beta1/src/api.rs +++ b/gen/datacatalog1_beta1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > DataCatalog<> { DataCatalog { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://datacatalog.googleapis.com/".to_string(), _root_url: "https://datacatalog.googleapis.com/".to_string(), } @@ -136,7 +136,7 @@ impl<'a, > DataCatalog<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1274,7 +1274,7 @@ impl client::ResponseResult for TestIamPermissionsResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `search(...)` /// // to build up your call. @@ -1332,7 +1332,7 @@ impl<'a> CatalogMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `lookup(...)` /// // to build up your call. @@ -1387,7 +1387,7 @@ impl<'a> EntryMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_entry_groups_create(...)`, `locations_entry_groups_delete(...)`, `locations_entry_groups_entries_create(...)`, `locations_entry_groups_entries_delete(...)`, `locations_entry_groups_entries_get(...)`, `locations_entry_groups_entries_get_iam_policy(...)`, `locations_entry_groups_entries_list(...)`, `locations_entry_groups_entries_patch(...)`, `locations_entry_groups_entries_tags_create(...)`, `locations_entry_groups_entries_tags_delete(...)`, `locations_entry_groups_entries_tags_list(...)`, `locations_entry_groups_entries_tags_patch(...)`, `locations_entry_groups_entries_test_iam_permissions(...)`, `locations_entry_groups_get(...)`, `locations_entry_groups_get_iam_policy(...)`, `locations_entry_groups_list(...)`, `locations_entry_groups_patch(...)`, `locations_entry_groups_set_iam_policy(...)`, `locations_entry_groups_tags_create(...)`, `locations_entry_groups_tags_delete(...)`, `locations_entry_groups_tags_list(...)`, `locations_entry_groups_tags_patch(...)`, `locations_entry_groups_test_iam_permissions(...)`, `locations_tag_templates_create(...)`, `locations_tag_templates_delete(...)`, `locations_tag_templates_fields_create(...)`, `locations_tag_templates_fields_delete(...)`, `locations_tag_templates_fields_enum_values_rename(...)`, `locations_tag_templates_fields_patch(...)`, `locations_tag_templates_fields_rename(...)`, `locations_tag_templates_get(...)`, `locations_tag_templates_get_iam_policy(...)`, `locations_tag_templates_patch(...)`, `locations_tag_templates_set_iam_policy(...)`, `locations_tag_templates_test_iam_permissions(...)`, `locations_taxonomies_create(...)`, `locations_taxonomies_delete(...)`, `locations_taxonomies_export(...)`, `locations_taxonomies_get(...)`, `locations_taxonomies_get_iam_policy(...)`, `locations_taxonomies_import(...)`, `locations_taxonomies_list(...)`, `locations_taxonomies_patch(...)`, `locations_taxonomies_policy_tags_create(...)`, `locations_taxonomies_policy_tags_delete(...)`, `locations_taxonomies_policy_tags_get(...)`, `locations_taxonomies_policy_tags_get_iam_policy(...)`, `locations_taxonomies_policy_tags_list(...)`, `locations_taxonomies_policy_tags_patch(...)`, `locations_taxonomies_policy_tags_set_iam_policy(...)`, `locations_taxonomies_policy_tags_test_iam_permissions(...)`, `locations_taxonomies_set_iam_policy(...)` and `locations_taxonomies_test_iam_permissions(...)` /// // to build up your call. @@ -2434,7 +2434,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2682,7 +2682,7 @@ impl<'a> CatalogSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2926,7 +2926,7 @@ impl<'a> EntryLookupCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3211,7 +3211,7 @@ impl<'a> ProjectLocationEntryGroupEntryTagCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3467,7 +3467,7 @@ impl<'a> ProjectLocationEntryGroupEntryTagDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3748,7 +3748,7 @@ impl<'a> ProjectLocationEntryGroupEntryTagListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4046,7 +4046,7 @@ impl<'a> ProjectLocationEntryGroupEntryTagPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4343,7 +4343,7 @@ impl<'a> ProjectLocationEntryGroupEntryCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4599,7 +4599,7 @@ impl<'a> ProjectLocationEntryGroupEntryDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4856,7 +4856,7 @@ impl<'a> ProjectLocationEntryGroupEntryGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5141,7 +5141,7 @@ impl<'a> ProjectLocationEntryGroupEntryGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5434,7 +5434,7 @@ impl<'a> ProjectLocationEntryGroupEntryListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5732,7 +5732,7 @@ impl<'a> ProjectLocationEntryGroupEntryPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6018,7 +6018,7 @@ impl<'a> ProjectLocationEntryGroupEntryTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6303,7 +6303,7 @@ impl<'a> ProjectLocationEntryGroupTagCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6559,7 +6559,7 @@ impl<'a> ProjectLocationEntryGroupTagDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6840,7 +6840,7 @@ impl<'a> ProjectLocationEntryGroupTagListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7138,7 +7138,7 @@ impl<'a> ProjectLocationEntryGroupTagPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7435,7 +7435,7 @@ impl<'a> ProjectLocationEntryGroupCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7703,7 +7703,7 @@ impl<'a> ProjectLocationEntryGroupDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7972,7 +7972,7 @@ impl<'a> ProjectLocationEntryGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8257,7 +8257,7 @@ impl<'a> ProjectLocationEntryGroupGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8538,7 +8538,7 @@ impl<'a> ProjectLocationEntryGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8836,7 +8836,7 @@ impl<'a> ProjectLocationEntryGroupPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9122,7 +9122,7 @@ impl<'a> ProjectLocationEntryGroupSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9408,7 +9408,7 @@ impl<'a> ProjectLocationEntryGroupTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9694,7 +9694,7 @@ impl<'a> ProjectLocationTagTemplateFieldEnumValueRenameCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9991,7 +9991,7 @@ impl<'a> ProjectLocationTagTemplateFieldCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10260,7 +10260,7 @@ impl<'a> ProjectLocationTagTemplateFieldDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10558,7 +10558,7 @@ impl<'a> ProjectLocationTagTemplateFieldPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10844,7 +10844,7 @@ impl<'a> ProjectLocationTagTemplateFieldRenameCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11141,7 +11141,7 @@ impl<'a> ProjectLocationTagTemplateCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11409,7 +11409,7 @@ impl<'a> ProjectLocationTagTemplateDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11666,7 +11666,7 @@ impl<'a> ProjectLocationTagTemplateGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11952,7 +11952,7 @@ impl<'a> ProjectLocationTagTemplateGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12250,7 +12250,7 @@ impl<'a> ProjectLocationTagTemplatePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12536,7 +12536,7 @@ impl<'a> ProjectLocationTagTemplateSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12822,7 +12822,7 @@ impl<'a> ProjectLocationTagTemplateTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13107,7 +13107,7 @@ impl<'a> ProjectLocationTaxonomyPolicyTagCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13363,7 +13363,7 @@ impl<'a> ProjectLocationTaxonomyPolicyTagDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13620,7 +13620,7 @@ impl<'a> ProjectLocationTaxonomyPolicyTagGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13905,7 +13905,7 @@ impl<'a> ProjectLocationTaxonomyPolicyTagGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14186,7 +14186,7 @@ impl<'a> ProjectLocationTaxonomyPolicyTagListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14484,7 +14484,7 @@ impl<'a> ProjectLocationTaxonomyPolicyTagPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14770,7 +14770,7 @@ impl<'a> ProjectLocationTaxonomyPolicyTagSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15056,7 +15056,7 @@ impl<'a> ProjectLocationTaxonomyPolicyTagTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15341,7 +15341,7 @@ impl<'a> ProjectLocationTaxonomyCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15597,7 +15597,7 @@ impl<'a> ProjectLocationTaxonomyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15880,7 +15880,7 @@ impl<'a> ProjectLocationTaxonomyExportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16137,7 +16137,7 @@ impl<'a> ProjectLocationTaxonomyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16423,7 +16423,7 @@ impl<'a> ProjectLocationTaxonomyGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16708,7 +16708,7 @@ impl<'a> ProjectLocationTaxonomyImportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16989,7 +16989,7 @@ impl<'a> ProjectLocationTaxonomyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17287,7 +17287,7 @@ impl<'a> ProjectLocationTaxonomyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17573,7 +17573,7 @@ impl<'a> ProjectLocationTaxonomySetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/datacatalog1_beta1/src/lib.rs b/gen/datacatalog1_beta1/src/lib.rs index e01fe6be38..1d744ea55f 100644 --- a/gen/datacatalog1_beta1/src/lib.rs +++ b/gen/datacatalog1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Data Catalog* crate version *3.0.0+20220224*, where *20220224* is the exact revision of the *datacatalog:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Data Catalog* crate version *3.1.0+20220224*, where *20220224* is the exact revision of the *datacatalog:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Data Catalog* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/data-catalog/docs/). @@ -104,7 +104,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = DataCatalog::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/datafusion1-cli/Cargo.toml b/gen/datafusion1-cli/Cargo.toml index 4723d2d3fa..1809ee9fed 100644 --- a/gen/datafusion1-cli/Cargo.toml +++ b/gen/datafusion1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-datafusion1-cli" -version = "3.0.0+20211028" +version = "3.1.0+20211028" authors = ["Sebastian Thiel "] description = "A complete library to interact with Data Fusion (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/datafusion1-cli" @@ -20,12 +20,12 @@ name = "datafusion1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-datafusion1] path = "../datafusion1" -version = "3.0.0+20211028" +version = "3.1.0+20211028" diff --git a/gen/datafusion1-cli/README.md b/gen/datafusion1-cli/README.md index f904ec0475..7c61fe75c9 100644 --- a/gen/datafusion1-cli/README.md +++ b/gen/datafusion1-cli/README.md @@ -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 *Data Fusion* API at revision *20211028*. The CLI is at version *3.0.0*. +This documentation was generated from the *Data Fusion* API at revision *20211028*. The CLI is at version *3.1.0*. ```bash datafusion1 [options] diff --git a/gen/datafusion1-cli/mkdocs.yml b/gen/datafusion1-cli/mkdocs.yml index 4a596334e4..c6c0c335bc 100644 --- a/gen/datafusion1-cli/mkdocs.yml +++ b/gen/datafusion1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Data Fusion v3.0.0+20211028 +site_name: Data Fusion v3.1.0+20211028 site_url: http://byron.github.io/google-apis-rs/google-datafusion1-cli site_description: A complete library to interact with Data Fusion (protocol v1) diff --git a/gen/datafusion1-cli/src/main.rs b/gen/datafusion1-cli/src/main.rs index 31ac3c02a2..6e3536d9f4 100644 --- a/gen/datafusion1-cli/src/main.rs +++ b/gen/datafusion1-cli/src/main.rs @@ -1277,7 +1277,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/datafusion1", 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::DataFusion::new(client, auth), @@ -1707,7 +1713,7 @@ async fn main() { let mut app = App::new("datafusion1") .author("Sebastian Thiel ") - .version("3.0.0+20211028") + .version("3.1.0+20211028") .about("Cloud Data Fusion is a fully-managed, cloud native, enterprise data integration service for quickly building and managing data pipelines. It provides a graphical interface to increase time efficiency and reduce complexity, and allows business users, developers, and data scientists to easily and reliably build scalable data integration solutions to cleanse, prepare, blend, transfer and transform data without having to wrestle with infrastructure.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_datafusion1_cli") .arg(Arg::with_name("url") diff --git a/gen/datafusion1/Cargo.toml b/gen/datafusion1/Cargo.toml index 4021445d4f..60618e1501 100644 --- a/gen/datafusion1/Cargo.toml +++ b/gen/datafusion1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-datafusion1" -version = "3.0.0+20211028" +version = "3.1.0+20211028" authors = ["Sebastian Thiel "] description = "A complete library to interact with Data Fusion (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/datafusion1" homepage = "https://cloud.google.com/data-fusion/docs" -documentation = "https://docs.rs/google-datafusion1/3.0.0+20211028" +documentation = "https://docs.rs/google-datafusion1/3.1.0+20211028" license = "MIT" keywords = ["datafusion", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/datafusion1/README.md b/gen/datafusion1/README.md index b5831bae34..3c7aa2964a 100644 --- a/gen/datafusion1/README.md +++ b/gen/datafusion1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-datafusion1` library allows access to all features of the *Google Data Fusion* service. -This documentation was generated from *Data Fusion* crate version *3.0.0+20211028*, where *20211028* is the exact revision of the *datafusion:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Data Fusion* crate version *3.1.0+20211028*, where *20211028* is the exact revision of the *datafusion:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Data Fusion* *v1* API can be found at the [official documentation site](https://cloud.google.com/data-fusion/docs). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datafusion1/3.0.0+20211028/google_datafusion1/DataFusion) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datafusion1/3.1.0+20211028/google_datafusion1/DataFusion) ... * projects - * [*locations get*](https://docs.rs/google-datafusion1/3.0.0+20211028/google_datafusion1/api::ProjectLocationGetCall), [*locations instances create*](https://docs.rs/google-datafusion1/3.0.0+20211028/google_datafusion1/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-datafusion1/3.0.0+20211028/google_datafusion1/api::ProjectLocationInstanceDeleteCall), [*locations instances get*](https://docs.rs/google-datafusion1/3.0.0+20211028/google_datafusion1/api::ProjectLocationInstanceGetCall), [*locations instances get iam policy*](https://docs.rs/google-datafusion1/3.0.0+20211028/google_datafusion1/api::ProjectLocationInstanceGetIamPolicyCall), [*locations instances list*](https://docs.rs/google-datafusion1/3.0.0+20211028/google_datafusion1/api::ProjectLocationInstanceListCall), [*locations instances patch*](https://docs.rs/google-datafusion1/3.0.0+20211028/google_datafusion1/api::ProjectLocationInstancePatchCall), [*locations instances restart*](https://docs.rs/google-datafusion1/3.0.0+20211028/google_datafusion1/api::ProjectLocationInstanceRestartCall), [*locations instances set iam policy*](https://docs.rs/google-datafusion1/3.0.0+20211028/google_datafusion1/api::ProjectLocationInstanceSetIamPolicyCall), [*locations instances test iam permissions*](https://docs.rs/google-datafusion1/3.0.0+20211028/google_datafusion1/api::ProjectLocationInstanceTestIamPermissionCall), [*locations list*](https://docs.rs/google-datafusion1/3.0.0+20211028/google_datafusion1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-datafusion1/3.0.0+20211028/google_datafusion1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-datafusion1/3.0.0+20211028/google_datafusion1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-datafusion1/3.0.0+20211028/google_datafusion1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-datafusion1/3.0.0+20211028/google_datafusion1/api::ProjectLocationOperationListCall) and [*locations versions list*](https://docs.rs/google-datafusion1/3.0.0+20211028/google_datafusion1/api::ProjectLocationVersionListCall) + * [*locations get*](https://docs.rs/google-datafusion1/3.1.0+20211028/google_datafusion1/api::ProjectLocationGetCall), [*locations instances create*](https://docs.rs/google-datafusion1/3.1.0+20211028/google_datafusion1/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-datafusion1/3.1.0+20211028/google_datafusion1/api::ProjectLocationInstanceDeleteCall), [*locations instances get*](https://docs.rs/google-datafusion1/3.1.0+20211028/google_datafusion1/api::ProjectLocationInstanceGetCall), [*locations instances get iam policy*](https://docs.rs/google-datafusion1/3.1.0+20211028/google_datafusion1/api::ProjectLocationInstanceGetIamPolicyCall), [*locations instances list*](https://docs.rs/google-datafusion1/3.1.0+20211028/google_datafusion1/api::ProjectLocationInstanceListCall), [*locations instances patch*](https://docs.rs/google-datafusion1/3.1.0+20211028/google_datafusion1/api::ProjectLocationInstancePatchCall), [*locations instances restart*](https://docs.rs/google-datafusion1/3.1.0+20211028/google_datafusion1/api::ProjectLocationInstanceRestartCall), [*locations instances set iam policy*](https://docs.rs/google-datafusion1/3.1.0+20211028/google_datafusion1/api::ProjectLocationInstanceSetIamPolicyCall), [*locations instances test iam permissions*](https://docs.rs/google-datafusion1/3.1.0+20211028/google_datafusion1/api::ProjectLocationInstanceTestIamPermissionCall), [*locations list*](https://docs.rs/google-datafusion1/3.1.0+20211028/google_datafusion1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-datafusion1/3.1.0+20211028/google_datafusion1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-datafusion1/3.1.0+20211028/google_datafusion1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-datafusion1/3.1.0+20211028/google_datafusion1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-datafusion1/3.1.0+20211028/google_datafusion1/api::ProjectLocationOperationListCall) and [*locations versions list*](https://docs.rs/google-datafusion1/3.1.0+20211028/google_datafusion1/api::ProjectLocationVersionListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-datafusion1/3.0.0+20211028/google_datafusion1/DataFusion)** +* **[Hub](https://docs.rs/google-datafusion1/3.1.0+20211028/google_datafusion1/DataFusion)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-datafusion1/3.0.0+20211028/google_datafusion1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-datafusion1/3.0.0+20211028/google_datafusion1/client::CallBuilder) -* **[Resources](https://docs.rs/google-datafusion1/3.0.0+20211028/google_datafusion1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-datafusion1/3.1.0+20211028/google_datafusion1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-datafusion1/3.1.0+20211028/google_datafusion1/client::CallBuilder) +* **[Resources](https://docs.rs/google-datafusion1/3.1.0+20211028/google_datafusion1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-datafusion1/3.0.0+20211028/google_datafusion1/client::Part)** + * **[Parts](https://docs.rs/google-datafusion1/3.1.0+20211028/google_datafusion1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-datafusion1/3.0.0+20211028/google_datafusion1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-datafusion1/3.1.0+20211028/google_datafusion1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -95,7 +95,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -129,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-datafusion1/3.0.0+20211028/google_datafusion1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-datafusion1/3.1.0+20211028/google_datafusion1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-datafusion1/3.0.0+20211028/google_datafusion1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-datafusion1/3.1.0+20211028/google_datafusion1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-datafusion1/3.0.0+20211028/google_datafusion1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-datafusion1/3.1.0+20211028/google_datafusion1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-datafusion1/3.0.0+20211028/google_datafusion1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-datafusion1/3.1.0+20211028/google_datafusion1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -149,29 +149,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-datafusion1/3.0.0+20211028/google_datafusion1/client::Delegate) to the -[Method Builder](https://docs.rs/google-datafusion1/3.0.0+20211028/google_datafusion1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-datafusion1/3.1.0+20211028/google_datafusion1/client::Delegate) to the +[Method Builder](https://docs.rs/google-datafusion1/3.1.0+20211028/google_datafusion1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-datafusion1/3.0.0+20211028/google_datafusion1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-datafusion1/3.1.0+20211028/google_datafusion1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-datafusion1/3.0.0+20211028/google_datafusion1/client::RequestValue) and -[decodable](https://docs.rs/google-datafusion1/3.0.0+20211028/google_datafusion1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-datafusion1/3.1.0+20211028/google_datafusion1/client::RequestValue) and +[decodable](https://docs.rs/google-datafusion1/3.1.0+20211028/google_datafusion1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-datafusion1/3.0.0+20211028/google_datafusion1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-datafusion1/3.1.0+20211028/google_datafusion1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-datafusion1/3.0.0+20211028/google_datafusion1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-datafusion1/3.1.0+20211028/google_datafusion1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-datafusion1/3.0.0+20211028/google_datafusion1/client::RequestValue) are moved +* [request values](https://docs.rs/google-datafusion1/3.1.0+20211028/google_datafusion1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/datafusion1/src/api.rs b/gen/datafusion1/src/api.rs index c2425916b7..16df244a9f 100644 --- a/gen/datafusion1/src/api.rs +++ b/gen/datafusion1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > DataFusion<> { DataFusion { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://datafusion.googleapis.com/".to_string(), _root_url: "https://datafusion.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > DataFusion<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -709,7 +709,7 @@ impl client::Part for Version {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_get(...)`, `locations_instances_create(...)`, `locations_instances_delete(...)`, `locations_instances_get(...)`, `locations_instances_get_iam_policy(...)`, `locations_instances_list(...)`, `locations_instances_patch(...)`, `locations_instances_restart(...)`, `locations_instances_set_iam_policy(...)`, `locations_instances_test_iam_permissions(...)`, `locations_list(...)`, `locations_operations_cancel(...)`, `locations_operations_delete(...)`, `locations_operations_get(...)`, `locations_operations_list(...)` and `locations_versions_list(...)` /// // to build up your call. @@ -1059,7 +1059,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1356,7 +1356,7 @@ impl<'a> ProjectLocationInstanceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1612,7 +1612,7 @@ impl<'a> ProjectLocationInstanceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1868,7 +1868,7 @@ impl<'a> ProjectLocationInstanceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2136,7 +2136,7 @@ impl<'a> ProjectLocationInstanceGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2441,7 +2441,7 @@ impl<'a> ProjectLocationInstanceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2739,7 +2739,7 @@ impl<'a> ProjectLocationInstancePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3025,7 +3025,7 @@ impl<'a> ProjectLocationInstanceRestartCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3311,7 +3311,7 @@ impl<'a> ProjectLocationInstanceSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3597,7 +3597,7 @@ impl<'a> ProjectLocationInstanceTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3882,7 +3882,7 @@ impl<'a> ProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4138,7 +4138,7 @@ impl<'a> ProjectLocationOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4394,7 +4394,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4686,7 +4686,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4978,7 +4978,7 @@ impl<'a> ProjectLocationVersionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5234,7 +5234,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/datafusion1/src/lib.rs b/gen/datafusion1/src/lib.rs index ba9f943a1c..8da95d5213 100644 --- a/gen/datafusion1/src/lib.rs +++ b/gen/datafusion1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Data Fusion* crate version *3.0.0+20211028*, where *20211028* is the exact revision of the *datafusion:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Data Fusion* crate version *3.1.0+20211028*, where *20211028* is the exact revision of the *datafusion:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Data Fusion* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/data-fusion/docs). @@ -96,7 +96,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/datafusion1_beta1-cli/Cargo.toml b/gen/datafusion1_beta1-cli/Cargo.toml index 410d9b3723..36b5347b0f 100644 --- a/gen/datafusion1_beta1-cli/Cargo.toml +++ b/gen/datafusion1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-datafusion1_beta1-cli" -version = "3.0.0+20211028" +version = "3.1.0+20211028" authors = ["Sebastian Thiel "] description = "A complete library to interact with Data Fusion (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/datafusion1_beta1-cli" @@ -20,12 +20,12 @@ name = "datafusion1-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-datafusion1_beta1] path = "../datafusion1_beta1" -version = "3.0.0+20211028" +version = "3.1.0+20211028" diff --git a/gen/datafusion1_beta1-cli/README.md b/gen/datafusion1_beta1-cli/README.md index 7507625c34..fafa50404a 100644 --- a/gen/datafusion1_beta1-cli/README.md +++ b/gen/datafusion1_beta1-cli/README.md @@ -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 *Data Fusion* API at revision *20211028*. The CLI is at version *3.0.0*. +This documentation was generated from the *Data Fusion* API at revision *20211028*. The CLI is at version *3.1.0*. ```bash datafusion1-beta1 [options] diff --git a/gen/datafusion1_beta1-cli/mkdocs.yml b/gen/datafusion1_beta1-cli/mkdocs.yml index aa5706e672..0d4545f474 100644 --- a/gen/datafusion1_beta1-cli/mkdocs.yml +++ b/gen/datafusion1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Data Fusion v3.0.0+20211028 +site_name: Data Fusion v3.1.0+20211028 site_url: http://byron.github.io/google-apis-rs/google-datafusion1_beta1-cli site_description: A complete library to interact with Data Fusion (protocol v1beta1) diff --git a/gen/datafusion1_beta1-cli/src/main.rs b/gen/datafusion1_beta1-cli/src/main.rs index c593fdb191..57cc493b83 100644 --- a/gen/datafusion1_beta1-cli/src/main.rs +++ b/gen/datafusion1_beta1-cli/src/main.rs @@ -1995,7 +1995,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/datafusion1-beta1", 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::DataFusion::new(client, auth), @@ -2659,7 +2665,7 @@ async fn main() { let mut app = App::new("datafusion1-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20211028") + .version("3.1.0+20211028") .about("Cloud Data Fusion is a fully-managed, cloud native, enterprise data integration service for quickly building and managing data pipelines. It provides a graphical interface to increase time efficiency and reduce complexity, and allows business users, developers, and data scientists to easily and reliably build scalable data integration solutions to cleanse, prepare, blend, transfer and transform data without having to wrestle with infrastructure.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_datafusion1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/datafusion1_beta1/Cargo.toml b/gen/datafusion1_beta1/Cargo.toml index 57a15bff9a..359b14f5e8 100644 --- a/gen/datafusion1_beta1/Cargo.toml +++ b/gen/datafusion1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-datafusion1_beta1" -version = "3.0.0+20211028" +version = "3.1.0+20211028" authors = ["Sebastian Thiel "] description = "A complete library to interact with Data Fusion (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/datafusion1_beta1" homepage = "https://cloud.google.com/data-fusion/docs" -documentation = "https://docs.rs/google-datafusion1_beta1/3.0.0+20211028" +documentation = "https://docs.rs/google-datafusion1_beta1/3.1.0+20211028" license = "MIT" keywords = ["datafusion", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/datafusion1_beta1/README.md b/gen/datafusion1_beta1/README.md index 3092876b6b..186aed30da 100644 --- a/gen/datafusion1_beta1/README.md +++ b/gen/datafusion1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-datafusion1_beta1` library allows access to all features of the *Google Data Fusion* service. -This documentation was generated from *Data Fusion* crate version *3.0.0+20211028*, where *20211028* is the exact revision of the *datafusion:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Data Fusion* crate version *3.1.0+20211028*, where *20211028* is the exact revision of the *datafusion:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Data Fusion* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/data-fusion/docs). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/DataFusion) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/DataFusion) ... * projects - * [*locations get*](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/api::ProjectLocationGetCall), [*locations instances create*](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/api::ProjectLocationInstanceDeleteCall), [*locations instances dns peerings add*](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/api::ProjectLocationInstanceDnsPeeringAddCall), [*locations instances dns peerings list*](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/api::ProjectLocationInstanceDnsPeeringListCall), [*locations instances dns peerings remove*](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/api::ProjectLocationInstanceDnsPeeringRemoveCall), [*locations instances get*](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/api::ProjectLocationInstanceGetCall), [*locations instances get iam policy*](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/api::ProjectLocationInstanceGetIamPolicyCall), [*locations instances list*](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/api::ProjectLocationInstanceListCall), [*locations instances namespaces get iam policy*](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/api::ProjectLocationInstanceNamespaceGetIamPolicyCall), [*locations instances namespaces list*](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/api::ProjectLocationInstanceNamespaceListCall), [*locations instances namespaces set iam policy*](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/api::ProjectLocationInstanceNamespaceSetIamPolicyCall), [*locations instances namespaces test iam permissions*](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/api::ProjectLocationInstanceNamespaceTestIamPermissionCall), [*locations instances patch*](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/api::ProjectLocationInstancePatchCall), [*locations instances restart*](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/api::ProjectLocationInstanceRestartCall), [*locations instances set iam policy*](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/api::ProjectLocationInstanceSetIamPolicyCall), [*locations instances test iam permissions*](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/api::ProjectLocationInstanceTestIamPermissionCall), [*locations instances upgrade*](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/api::ProjectLocationInstanceUpgradeCall), [*locations list*](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/api::ProjectLocationOperationListCall), [*locations remove iam policy*](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/api::ProjectLocationRemoveIamPolicyCall) and [*locations versions list*](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/api::ProjectLocationVersionListCall) + * [*locations get*](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/api::ProjectLocationGetCall), [*locations instances create*](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/api::ProjectLocationInstanceDeleteCall), [*locations instances dns peerings add*](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/api::ProjectLocationInstanceDnsPeeringAddCall), [*locations instances dns peerings list*](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/api::ProjectLocationInstanceDnsPeeringListCall), [*locations instances dns peerings remove*](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/api::ProjectLocationInstanceDnsPeeringRemoveCall), [*locations instances get*](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/api::ProjectLocationInstanceGetCall), [*locations instances get iam policy*](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/api::ProjectLocationInstanceGetIamPolicyCall), [*locations instances list*](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/api::ProjectLocationInstanceListCall), [*locations instances namespaces get iam policy*](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/api::ProjectLocationInstanceNamespaceGetIamPolicyCall), [*locations instances namespaces list*](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/api::ProjectLocationInstanceNamespaceListCall), [*locations instances namespaces set iam policy*](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/api::ProjectLocationInstanceNamespaceSetIamPolicyCall), [*locations instances namespaces test iam permissions*](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/api::ProjectLocationInstanceNamespaceTestIamPermissionCall), [*locations instances patch*](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/api::ProjectLocationInstancePatchCall), [*locations instances restart*](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/api::ProjectLocationInstanceRestartCall), [*locations instances set iam policy*](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/api::ProjectLocationInstanceSetIamPolicyCall), [*locations instances test iam permissions*](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/api::ProjectLocationInstanceTestIamPermissionCall), [*locations instances upgrade*](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/api::ProjectLocationInstanceUpgradeCall), [*locations list*](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/api::ProjectLocationOperationListCall), [*locations remove iam policy*](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/api::ProjectLocationRemoveIamPolicyCall) and [*locations versions list*](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/api::ProjectLocationVersionListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/DataFusion)** +* **[Hub](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/DataFusion)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -96,7 +96,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -130,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -150,29 +150,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-datafusion1_beta1/3.0.0+20211028/google_datafusion1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-datafusion1_beta1/3.1.0+20211028/google_datafusion1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/datafusion1_beta1/src/api.rs b/gen/datafusion1_beta1/src/api.rs index 05c57b04aa..484130c677 100644 --- a/gen/datafusion1_beta1/src/api.rs +++ b/gen/datafusion1_beta1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > DataFusion<> { DataFusion { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://datafusion.googleapis.com/".to_string(), _root_url: "https://datafusion.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > DataFusion<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -922,7 +922,7 @@ impl client::Part for Version {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_get(...)`, `locations_instances_create(...)`, `locations_instances_delete(...)`, `locations_instances_dns_peerings_add(...)`, `locations_instances_dns_peerings_list(...)`, `locations_instances_dns_peerings_remove(...)`, `locations_instances_get(...)`, `locations_instances_get_iam_policy(...)`, `locations_instances_list(...)`, `locations_instances_namespaces_get_iam_policy(...)`, `locations_instances_namespaces_list(...)`, `locations_instances_namespaces_set_iam_policy(...)`, `locations_instances_namespaces_test_iam_permissions(...)`, `locations_instances_patch(...)`, `locations_instances_restart(...)`, `locations_instances_set_iam_policy(...)`, `locations_instances_test_iam_permissions(...)`, `locations_instances_upgrade(...)`, `locations_list(...)`, `locations_operations_cancel(...)`, `locations_operations_delete(...)`, `locations_operations_get(...)`, `locations_operations_list(...)`, `locations_remove_iam_policy(...)` and `locations_versions_list(...)` /// // to build up your call. @@ -1443,7 +1443,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1728,7 +1728,7 @@ impl<'a> ProjectLocationInstanceDnsPeeringAddCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2009,7 +2009,7 @@ impl<'a> ProjectLocationInstanceDnsPeeringListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2294,7 +2294,7 @@ impl<'a> ProjectLocationInstanceDnsPeeringRemoveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2562,7 +2562,7 @@ impl<'a> ProjectLocationInstanceNamespaceGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2855,7 +2855,7 @@ impl<'a> ProjectLocationInstanceNamespaceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3141,7 +3141,7 @@ impl<'a> ProjectLocationInstanceNamespaceSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3427,7 +3427,7 @@ impl<'a> ProjectLocationInstanceNamespaceTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3724,7 +3724,7 @@ impl<'a> ProjectLocationInstanceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3980,7 +3980,7 @@ impl<'a> ProjectLocationInstanceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4236,7 +4236,7 @@ impl<'a> ProjectLocationInstanceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4504,7 +4504,7 @@ impl<'a> ProjectLocationInstanceGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4809,7 +4809,7 @@ impl<'a> ProjectLocationInstanceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5107,7 +5107,7 @@ impl<'a> ProjectLocationInstancePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5393,7 +5393,7 @@ impl<'a> ProjectLocationInstanceRestartCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5679,7 +5679,7 @@ impl<'a> ProjectLocationInstanceSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5965,7 +5965,7 @@ impl<'a> ProjectLocationInstanceTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6251,7 +6251,7 @@ impl<'a> ProjectLocationInstanceUpgradeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6536,7 +6536,7 @@ impl<'a> ProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6792,7 +6792,7 @@ impl<'a> ProjectLocationOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7048,7 +7048,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7340,7 +7340,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7632,7 +7632,7 @@ impl<'a> ProjectLocationVersionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7888,7 +7888,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8193,7 +8193,7 @@ impl<'a> ProjectLocationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/datafusion1_beta1/src/lib.rs b/gen/datafusion1_beta1/src/lib.rs index 5c6b66b319..9ec85a7e5f 100644 --- a/gen/datafusion1_beta1/src/lib.rs +++ b/gen/datafusion1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Data Fusion* crate version *3.0.0+20211028*, where *20211028* is the exact revision of the *datafusion:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Data Fusion* crate version *3.1.0+20211028*, where *20211028* is the exact revision of the *datafusion:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Data Fusion* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/data-fusion/docs). @@ -97,7 +97,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = DataFusion::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/datalabeling1_beta1-cli/Cargo.toml b/gen/datalabeling1_beta1-cli/Cargo.toml index 47e10a95c7..9835f4600a 100644 --- a/gen/datalabeling1_beta1-cli/Cargo.toml +++ b/gen/datalabeling1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-datalabeling1_beta1-cli" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with Data Labeling (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/datalabeling1_beta1-cli" @@ -20,12 +20,12 @@ name = "datalabeling1-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-datalabeling1_beta1] path = "../datalabeling1_beta1" -version = "3.0.0+20220301" +version = "3.1.0+20220301" diff --git a/gen/datalabeling1_beta1-cli/README.md b/gen/datalabeling1_beta1-cli/README.md index 42744b628b..52cf434230 100644 --- a/gen/datalabeling1_beta1-cli/README.md +++ b/gen/datalabeling1_beta1-cli/README.md @@ -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 *Data Labeling* API at revision *20220301*. The CLI is at version *3.0.0*. +This documentation was generated from the *Data Labeling* API at revision *20220301*. The CLI is at version *3.1.0*. ```bash datalabeling1-beta1 [options] diff --git a/gen/datalabeling1_beta1-cli/mkdocs.yml b/gen/datalabeling1_beta1-cli/mkdocs.yml index 746eee85c0..c6e9121878 100644 --- a/gen/datalabeling1_beta1-cli/mkdocs.yml +++ b/gen/datalabeling1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Data Labeling v3.0.0+20220301 +site_name: Data Labeling v3.1.0+20220301 site_url: http://byron.github.io/google-apis-rs/google-datalabeling1_beta1-cli site_description: A complete library to interact with Data Labeling (protocol v1beta1) diff --git a/gen/datalabeling1_beta1-cli/src/main.rs b/gen/datalabeling1_beta1-cli/src/main.rs index 46855ef1db..b3dc05287e 100644 --- a/gen/datalabeling1_beta1-cli/src/main.rs +++ b/gen/datalabeling1_beta1-cli/src/main.rs @@ -3412,7 +3412,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/datalabeling1-beta1", 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::DataLabeling::new(client, auth), @@ -4572,7 +4578,7 @@ async fn main() { let mut app = App::new("datalabeling1-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20220301") + .version("3.1.0+20220301") .about("Public API for Google Cloud AI Data Labeling Service.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_datalabeling1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/datalabeling1_beta1/Cargo.toml b/gen/datalabeling1_beta1/Cargo.toml index 42f40c21eb..51368e25c7 100644 --- a/gen/datalabeling1_beta1/Cargo.toml +++ b/gen/datalabeling1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-datalabeling1_beta1" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with Data Labeling (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/datalabeling1_beta1" homepage = "https://cloud.google.com/data-labeling/docs/" -documentation = "https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301" +documentation = "https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301" license = "MIT" keywords = ["datalabeling", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/datalabeling1_beta1/README.md b/gen/datalabeling1_beta1/README.md index 2439cb6686..9b0cfe11c4 100644 --- a/gen/datalabeling1_beta1/README.md +++ b/gen/datalabeling1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-datalabeling1_beta1` library allows access to all features of the *Google Data Labeling* service. -This documentation was generated from *Data Labeling* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *datalabeling:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Data Labeling* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *datalabeling:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Data Labeling* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/data-labeling/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/DataLabeling) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/DataLabeling) ... * projects - * [*annotation spec sets create*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectAnnotationSpecSetCreateCall), [*annotation spec sets delete*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectAnnotationSpecSetDeleteCall), [*annotation spec sets get*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectAnnotationSpecSetGetCall), [*annotation spec sets list*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectAnnotationSpecSetListCall), [*datasets annotated datasets data items get*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetDataItemGetCall), [*datasets annotated datasets data items list*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetDataItemListCall), [*datasets annotated datasets delete*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetDeleteCall), [*datasets annotated datasets examples get*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetExampleGetCall), [*datasets annotated datasets examples list*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetExampleListCall), [*datasets annotated datasets feedback threads delete*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetFeedbackThreadDeleteCall), [*datasets annotated datasets feedback threads feedback messages create*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetFeedbackThreadFeedbackMessageCreateCall), [*datasets annotated datasets feedback threads feedback messages delete*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetFeedbackThreadFeedbackMessageDeleteCall), [*datasets annotated datasets feedback threads feedback messages get*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetFeedbackThreadFeedbackMessageGetCall), [*datasets annotated datasets feedback threads feedback messages list*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetFeedbackThreadFeedbackMessageListCall), [*datasets annotated datasets feedback threads get*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetFeedbackThreadGetCall), [*datasets annotated datasets feedback threads list*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetFeedbackThreadListCall), [*datasets annotated datasets get*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetGetCall), [*datasets annotated datasets list*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetListCall), [*datasets create*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetCreateCall), [*datasets data items get*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetDataItemGetCall), [*datasets data items list*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetDataItemListCall), [*datasets delete*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetDeleteCall), [*datasets evaluations example comparisons search*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetEvaluationExampleComparisonSearchCall), [*datasets evaluations get*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetEvaluationGetCall), [*datasets export data*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetExportDataCall), [*datasets get*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetGetCall), [*datasets image label*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetImageLabelCall), [*datasets import data*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetImportDataCall), [*datasets list*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetListCall), [*datasets text label*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetTextLabelCall), [*datasets video label*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetVideoLabelCall), [*evaluation jobs create*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectEvaluationJobCreateCall), [*evaluation jobs delete*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectEvaluationJobDeleteCall), [*evaluation jobs get*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectEvaluationJobGetCall), [*evaluation jobs list*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectEvaluationJobListCall), [*evaluation jobs patch*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectEvaluationJobPatchCall), [*evaluation jobs pause*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectEvaluationJobPauseCall), [*evaluation jobs resume*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectEvaluationJobResumeCall), [*evaluations search*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectEvaluationSearchCall), [*instructions create*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectInstructionCreateCall), [*instructions delete*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectInstructionDeleteCall), [*instructions get*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectInstructionGetCall), [*instructions list*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectInstructionListCall), [*operations cancel*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectOperationCancelCall), [*operations delete*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectOperationDeleteCall), [*operations get*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectOperationGetCall) and [*operations list*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/api::ProjectOperationListCall) + * [*annotation spec sets create*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectAnnotationSpecSetCreateCall), [*annotation spec sets delete*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectAnnotationSpecSetDeleteCall), [*annotation spec sets get*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectAnnotationSpecSetGetCall), [*annotation spec sets list*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectAnnotationSpecSetListCall), [*datasets annotated datasets data items get*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetDataItemGetCall), [*datasets annotated datasets data items list*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetDataItemListCall), [*datasets annotated datasets delete*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetDeleteCall), [*datasets annotated datasets examples get*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetExampleGetCall), [*datasets annotated datasets examples list*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetExampleListCall), [*datasets annotated datasets feedback threads delete*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetFeedbackThreadDeleteCall), [*datasets annotated datasets feedback threads feedback messages create*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetFeedbackThreadFeedbackMessageCreateCall), [*datasets annotated datasets feedback threads feedback messages delete*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetFeedbackThreadFeedbackMessageDeleteCall), [*datasets annotated datasets feedback threads feedback messages get*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetFeedbackThreadFeedbackMessageGetCall), [*datasets annotated datasets feedback threads feedback messages list*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetFeedbackThreadFeedbackMessageListCall), [*datasets annotated datasets feedback threads get*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetFeedbackThreadGetCall), [*datasets annotated datasets feedback threads list*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetFeedbackThreadListCall), [*datasets annotated datasets get*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetGetCall), [*datasets annotated datasets list*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetAnnotatedDatasetListCall), [*datasets create*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetCreateCall), [*datasets data items get*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetDataItemGetCall), [*datasets data items list*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetDataItemListCall), [*datasets delete*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetDeleteCall), [*datasets evaluations example comparisons search*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetEvaluationExampleComparisonSearchCall), [*datasets evaluations get*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetEvaluationGetCall), [*datasets export data*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetExportDataCall), [*datasets get*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetGetCall), [*datasets image label*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetImageLabelCall), [*datasets import data*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetImportDataCall), [*datasets list*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetListCall), [*datasets text label*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetTextLabelCall), [*datasets video label*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectDatasetVideoLabelCall), [*evaluation jobs create*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectEvaluationJobCreateCall), [*evaluation jobs delete*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectEvaluationJobDeleteCall), [*evaluation jobs get*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectEvaluationJobGetCall), [*evaluation jobs list*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectEvaluationJobListCall), [*evaluation jobs patch*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectEvaluationJobPatchCall), [*evaluation jobs pause*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectEvaluationJobPauseCall), [*evaluation jobs resume*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectEvaluationJobResumeCall), [*evaluations search*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectEvaluationSearchCall), [*instructions create*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectInstructionCreateCall), [*instructions delete*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectInstructionDeleteCall), [*instructions get*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectInstructionGetCall), [*instructions list*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectInstructionListCall), [*operations cancel*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectOperationCancelCall), [*operations delete*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectOperationDeleteCall), [*operations get*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectOperationGetCall) and [*operations list*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/api::ProjectOperationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/DataLabeling)** +* **[Hub](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/DataLabeling)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -101,7 +101,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -154,29 +154,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-datalabeling1_beta1/3.0.0+20220301/google_datalabeling1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-datalabeling1_beta1/3.1.0+20220301/google_datalabeling1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/datalabeling1_beta1/src/api.rs b/gen/datalabeling1_beta1/src/api.rs index 7c3cd79b64..e43e63ba8c 100644 --- a/gen/datalabeling1_beta1/src/api.rs +++ b/gen/datalabeling1_beta1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > DataLabeling<> { DataLabeling { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://datalabeling.googleapis.com/".to_string(), _root_url: "https://datalabeling.googleapis.com/".to_string(), } @@ -130,7 +130,7 @@ impl<'a, > DataLabeling<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -2406,7 +2406,7 @@ impl client::Part for GoogleRpcStatus {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `annotation_spec_sets_create(...)`, `annotation_spec_sets_delete(...)`, `annotation_spec_sets_get(...)`, `annotation_spec_sets_list(...)`, `datasets_annotated_datasets_data_items_get(...)`, `datasets_annotated_datasets_data_items_list(...)`, `datasets_annotated_datasets_delete(...)`, `datasets_annotated_datasets_examples_get(...)`, `datasets_annotated_datasets_examples_list(...)`, `datasets_annotated_datasets_feedback_threads_delete(...)`, `datasets_annotated_datasets_feedback_threads_feedback_messages_create(...)`, `datasets_annotated_datasets_feedback_threads_feedback_messages_delete(...)`, `datasets_annotated_datasets_feedback_threads_feedback_messages_get(...)`, `datasets_annotated_datasets_feedback_threads_feedback_messages_list(...)`, `datasets_annotated_datasets_feedback_threads_get(...)`, `datasets_annotated_datasets_feedback_threads_list(...)`, `datasets_annotated_datasets_get(...)`, `datasets_annotated_datasets_list(...)`, `datasets_create(...)`, `datasets_data_items_get(...)`, `datasets_data_items_list(...)`, `datasets_delete(...)`, `datasets_evaluations_example_comparisons_search(...)`, `datasets_evaluations_get(...)`, `datasets_export_data(...)`, `datasets_get(...)`, `datasets_image_label(...)`, `datasets_import_data(...)`, `datasets_list(...)`, `datasets_text_label(...)`, `datasets_video_label(...)`, `evaluation_jobs_create(...)`, `evaluation_jobs_delete(...)`, `evaluation_jobs_get(...)`, `evaluation_jobs_list(...)`, `evaluation_jobs_patch(...)`, `evaluation_jobs_pause(...)`, `evaluation_jobs_resume(...)`, `evaluations_search(...)`, `instructions_create(...)`, `instructions_delete(...)`, `instructions_get(...)`, `instructions_list(...)`, `operations_cancel(...)`, `operations_delete(...)`, `operations_get(...)` and `operations_list(...)` /// // to build up your call. @@ -3318,7 +3318,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3603,7 +3603,7 @@ impl<'a> ProjectAnnotationSpecSetCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3859,7 +3859,7 @@ impl<'a> ProjectAnnotationSpecSetDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4115,7 +4115,7 @@ impl<'a> ProjectAnnotationSpecSetGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4407,7 +4407,7 @@ impl<'a> ProjectAnnotationSpecSetListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4663,7 +4663,7 @@ impl<'a> ProjectDatasetAnnotatedDatasetDataItemGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4955,7 +4955,7 @@ impl<'a> ProjectDatasetAnnotatedDatasetDataItemListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5223,7 +5223,7 @@ impl<'a> ProjectDatasetAnnotatedDatasetExampleGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5516,7 +5516,7 @@ impl<'a> ProjectDatasetAnnotatedDatasetExampleListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5801,7 +5801,7 @@ impl<'a> ProjectDatasetAnnotatedDatasetFeedbackThreadFeedbackMessageCreateCall<' /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6057,7 +6057,7 @@ impl<'a> ProjectDatasetAnnotatedDatasetFeedbackThreadFeedbackMessageDeleteCall<' /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6313,7 +6313,7 @@ impl<'a> ProjectDatasetAnnotatedDatasetFeedbackThreadFeedbackMessageGetCall<'a> /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6593,7 +6593,7 @@ impl<'a> ProjectDatasetAnnotatedDatasetFeedbackThreadFeedbackMessageListCall<'a> /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6849,7 +6849,7 @@ impl<'a> ProjectDatasetAnnotatedDatasetFeedbackThreadDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7105,7 +7105,7 @@ impl<'a> ProjectDatasetAnnotatedDatasetFeedbackThreadGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7385,7 +7385,7 @@ impl<'a> ProjectDatasetAnnotatedDatasetFeedbackThreadListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7641,7 +7641,7 @@ impl<'a> ProjectDatasetAnnotatedDatasetDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7897,7 +7897,7 @@ impl<'a> ProjectDatasetAnnotatedDatasetGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8189,7 +8189,7 @@ impl<'a> ProjectDatasetAnnotatedDatasetListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8445,7 +8445,7 @@ impl<'a> ProjectDatasetDataItemGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8738,7 +8738,7 @@ impl<'a> ProjectDatasetDataItemListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9023,7 +9023,7 @@ impl<'a> ProjectDatasetEvaluationExampleComparisonSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9280,7 +9280,7 @@ impl<'a> ProjectDatasetEvaluationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9566,7 +9566,7 @@ impl<'a> ProjectDatasetImageLabelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9852,7 +9852,7 @@ impl<'a> ProjectDatasetTextLabelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10138,7 +10138,7 @@ impl<'a> ProjectDatasetVideoLabelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10423,7 +10423,7 @@ impl<'a> ProjectDatasetCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10680,7 +10680,7 @@ impl<'a> ProjectDatasetDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10965,7 +10965,7 @@ impl<'a> ProjectDatasetExportDataCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11222,7 +11222,7 @@ impl<'a> ProjectDatasetGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11507,7 +11507,7 @@ impl<'a> ProjectDatasetImportDataCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11800,7 +11800,7 @@ impl<'a> ProjectDatasetListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12085,7 +12085,7 @@ impl<'a> ProjectEvaluationJobCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12341,7 +12341,7 @@ impl<'a> ProjectEvaluationJobDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12597,7 +12597,7 @@ impl<'a> ProjectEvaluationJobGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12890,7 +12890,7 @@ impl<'a> ProjectEvaluationJobListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13188,7 +13188,7 @@ impl<'a> ProjectEvaluationJobPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13474,7 +13474,7 @@ impl<'a> ProjectEvaluationJobPauseCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13759,7 +13759,7 @@ impl<'a> ProjectEvaluationJobResumeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14052,7 +14052,7 @@ impl<'a> ProjectEvaluationSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14337,7 +14337,7 @@ impl<'a> ProjectInstructionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14593,7 +14593,7 @@ impl<'a> ProjectInstructionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14849,7 +14849,7 @@ impl<'a> ProjectInstructionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15141,7 +15141,7 @@ impl<'a> ProjectInstructionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15397,7 +15397,7 @@ impl<'a> ProjectOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15653,7 +15653,7 @@ impl<'a> ProjectOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15909,7 +15909,7 @@ impl<'a> ProjectOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/datalabeling1_beta1/src/lib.rs b/gen/datalabeling1_beta1/src/lib.rs index daebd6fdbd..1edaa64095 100644 --- a/gen/datalabeling1_beta1/src/lib.rs +++ b/gen/datalabeling1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Data Labeling* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *datalabeling:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Data Labeling* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *datalabeling:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Data Labeling* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/data-labeling/docs/). @@ -102,7 +102,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = DataLabeling::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/datamigration1-cli/Cargo.toml b/gen/datamigration1-cli/Cargo.toml index 89ddf74e46..2b53e3dc90 100644 --- a/gen/datamigration1-cli/Cargo.toml +++ b/gen/datamigration1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-datamigration1-cli" -version = "3.0.0+20220216" +version = "3.1.0+20220216" authors = ["Sebastian Thiel "] description = "A complete library to interact with Database Migration Service (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/datamigration1-cli" @@ -20,12 +20,12 @@ name = "datamigration1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-datamigration1] path = "../datamigration1" -version = "3.0.0+20220216" +version = "3.1.0+20220216" diff --git a/gen/datamigration1-cli/README.md b/gen/datamigration1-cli/README.md index 0bc848459e..06262707d3 100644 --- a/gen/datamigration1-cli/README.md +++ b/gen/datamigration1-cli/README.md @@ -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 *Database Migration Service* API at revision *20220216*. The CLI is at version *3.0.0*. +This documentation was generated from the *Database Migration Service* API at revision *20220216*. The CLI is at version *3.1.0*. ```bash datamigration1 [options] diff --git a/gen/datamigration1-cli/mkdocs.yml b/gen/datamigration1-cli/mkdocs.yml index 39ad8507a8..94781e9bd0 100644 --- a/gen/datamigration1-cli/mkdocs.yml +++ b/gen/datamigration1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Database Migration Service v3.0.0+20220216 +site_name: Database Migration Service v3.1.0+20220216 site_url: http://byron.github.io/google-apis-rs/google-datamigration1-cli site_description: A complete library to interact with Database Migration Service (protocol v1) diff --git a/gen/datamigration1-cli/src/main.rs b/gen/datamigration1-cli/src/main.rs index 9b191c19f8..2c5f3ce89c 100644 --- a/gen/datamigration1-cli/src/main.rs +++ b/gen/datamigration1-cli/src/main.rs @@ -2454,7 +2454,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/datamigration1", 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::DatabaseMigrationService::new(client, auth), @@ -3230,7 +3236,7 @@ async fn main() { let mut app = App::new("datamigration1") .author("Sebastian Thiel ") - .version("3.0.0+20220216") + .version("3.1.0+20220216") .about("Manage Cloud Database Migration Service resources on Google Cloud Platform.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_datamigration1_cli") .arg(Arg::with_name("url") diff --git a/gen/datamigration1/Cargo.toml b/gen/datamigration1/Cargo.toml index 5387d94b66..6b0cba95f3 100644 --- a/gen/datamigration1/Cargo.toml +++ b/gen/datamigration1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-datamigration1" -version = "3.0.0+20220216" +version = "3.1.0+20220216" authors = ["Sebastian Thiel "] description = "A complete library to interact with Database Migration Service (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/datamigration1" homepage = "https://cloud.google.com/database-migration/" -documentation = "https://docs.rs/google-datamigration1/3.0.0+20220216" +documentation = "https://docs.rs/google-datamigration1/3.1.0+20220216" license = "MIT" keywords = ["datamigration", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/datamigration1/README.md b/gen/datamigration1/README.md index eadbb13a24..ab70d7f905 100644 --- a/gen/datamigration1/README.md +++ b/gen/datamigration1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-datamigration1` library allows access to all features of the *Google Database Migration Service* service. -This documentation was generated from *Database Migration Service* crate version *3.0.0+20220216*, where *20220216* is the exact revision of the *datamigration:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Database Migration Service* crate version *3.1.0+20220216*, where *20220216* is the exact revision of the *datamigration:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Database Migration Service* *v1* API can be found at the [official documentation site](https://cloud.google.com/database-migration/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/DatabaseMigrationService) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/DatabaseMigrationService) ... * projects - * [*locations connection profiles create*](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/api::ProjectLocationConnectionProfileCreateCall), [*locations connection profiles delete*](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/api::ProjectLocationConnectionProfileDeleteCall), [*locations connection profiles get*](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/api::ProjectLocationConnectionProfileGetCall), [*locations connection profiles get iam policy*](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/api::ProjectLocationConnectionProfileGetIamPolicyCall), [*locations connection profiles list*](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/api::ProjectLocationConnectionProfileListCall), [*locations connection profiles patch*](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/api::ProjectLocationConnectionProfilePatchCall), [*locations connection profiles set iam policy*](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/api::ProjectLocationConnectionProfileSetIamPolicyCall), [*locations connection profiles test iam permissions*](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/api::ProjectLocationConnectionProfileTestIamPermissionCall), [*locations get*](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/api::ProjectLocationListCall), [*locations migration jobs create*](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/api::ProjectLocationMigrationJobCreateCall), [*locations migration jobs delete*](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/api::ProjectLocationMigrationJobDeleteCall), [*locations migration jobs generate ssh script*](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/api::ProjectLocationMigrationJobGenerateSshScriptCall), [*locations migration jobs get*](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/api::ProjectLocationMigrationJobGetCall), [*locations migration jobs get iam policy*](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/api::ProjectLocationMigrationJobGetIamPolicyCall), [*locations migration jobs list*](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/api::ProjectLocationMigrationJobListCall), [*locations migration jobs patch*](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/api::ProjectLocationMigrationJobPatchCall), [*locations migration jobs promote*](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/api::ProjectLocationMigrationJobPromoteCall), [*locations migration jobs restart*](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/api::ProjectLocationMigrationJobRestartCall), [*locations migration jobs resume*](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/api::ProjectLocationMigrationJobResumeCall), [*locations migration jobs set iam policy*](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/api::ProjectLocationMigrationJobSetIamPolicyCall), [*locations migration jobs start*](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/api::ProjectLocationMigrationJobStartCall), [*locations migration jobs stop*](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/api::ProjectLocationMigrationJobStopCall), [*locations migration jobs test iam permissions*](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/api::ProjectLocationMigrationJobTestIamPermissionCall), [*locations migration jobs verify*](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/api::ProjectLocationMigrationJobVerifyCall), [*locations operations cancel*](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/api::ProjectLocationOperationListCall) + * [*locations connection profiles create*](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/api::ProjectLocationConnectionProfileCreateCall), [*locations connection profiles delete*](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/api::ProjectLocationConnectionProfileDeleteCall), [*locations connection profiles get*](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/api::ProjectLocationConnectionProfileGetCall), [*locations connection profiles get iam policy*](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/api::ProjectLocationConnectionProfileGetIamPolicyCall), [*locations connection profiles list*](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/api::ProjectLocationConnectionProfileListCall), [*locations connection profiles patch*](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/api::ProjectLocationConnectionProfilePatchCall), [*locations connection profiles set iam policy*](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/api::ProjectLocationConnectionProfileSetIamPolicyCall), [*locations connection profiles test iam permissions*](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/api::ProjectLocationConnectionProfileTestIamPermissionCall), [*locations get*](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/api::ProjectLocationListCall), [*locations migration jobs create*](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/api::ProjectLocationMigrationJobCreateCall), [*locations migration jobs delete*](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/api::ProjectLocationMigrationJobDeleteCall), [*locations migration jobs generate ssh script*](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/api::ProjectLocationMigrationJobGenerateSshScriptCall), [*locations migration jobs get*](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/api::ProjectLocationMigrationJobGetCall), [*locations migration jobs get iam policy*](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/api::ProjectLocationMigrationJobGetIamPolicyCall), [*locations migration jobs list*](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/api::ProjectLocationMigrationJobListCall), [*locations migration jobs patch*](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/api::ProjectLocationMigrationJobPatchCall), [*locations migration jobs promote*](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/api::ProjectLocationMigrationJobPromoteCall), [*locations migration jobs restart*](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/api::ProjectLocationMigrationJobRestartCall), [*locations migration jobs resume*](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/api::ProjectLocationMigrationJobResumeCall), [*locations migration jobs set iam policy*](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/api::ProjectLocationMigrationJobSetIamPolicyCall), [*locations migration jobs start*](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/api::ProjectLocationMigrationJobStartCall), [*locations migration jobs stop*](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/api::ProjectLocationMigrationJobStopCall), [*locations migration jobs test iam permissions*](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/api::ProjectLocationMigrationJobTestIamPermissionCall), [*locations migration jobs verify*](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/api::ProjectLocationMigrationJobVerifyCall), [*locations operations cancel*](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/api::ProjectLocationOperationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/DatabaseMigrationService)** +* **[Hub](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/DatabaseMigrationService)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/client::CallBuilder) -* **[Resources](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/client::CallBuilder) +* **[Resources](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/client::Part)** + * **[Parts](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -103,7 +103,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -138,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -158,29 +158,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/client::Delegate) to the -[Method Builder](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/client::Delegate) to the +[Method Builder](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/client::RequestValue) and -[decodable](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/client::RequestValue) and +[decodable](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-datamigration1/3.0.0+20220216/google_datamigration1/client::RequestValue) are moved +* [request values](https://docs.rs/google-datamigration1/3.1.0+20220216/google_datamigration1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/datamigration1/src/api.rs b/gen/datamigration1/src/api.rs index 6e4043516f..728e607729 100644 --- a/gen/datamigration1/src/api.rs +++ b/gen/datamigration1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -121,7 +121,7 @@ impl<'a, > DatabaseMigrationService<> { DatabaseMigrationService { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://datamigration.googleapis.com/".to_string(), _root_url: "https://datamigration.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > DatabaseMigrationService<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1116,7 +1116,7 @@ impl client::Part for VpcPeeringConnectivity {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_connection_profiles_create(...)`, `locations_connection_profiles_delete(...)`, `locations_connection_profiles_get(...)`, `locations_connection_profiles_get_iam_policy(...)`, `locations_connection_profiles_list(...)`, `locations_connection_profiles_patch(...)`, `locations_connection_profiles_set_iam_policy(...)`, `locations_connection_profiles_test_iam_permissions(...)`, `locations_get(...)`, `locations_list(...)`, `locations_migration_jobs_create(...)`, `locations_migration_jobs_delete(...)`, `locations_migration_jobs_generate_ssh_script(...)`, `locations_migration_jobs_get(...)`, `locations_migration_jobs_get_iam_policy(...)`, `locations_migration_jobs_list(...)`, `locations_migration_jobs_patch(...)`, `locations_migration_jobs_promote(...)`, `locations_migration_jobs_restart(...)`, `locations_migration_jobs_resume(...)`, `locations_migration_jobs_set_iam_policy(...)`, `locations_migration_jobs_start(...)`, `locations_migration_jobs_stop(...)`, `locations_migration_jobs_test_iam_permissions(...)`, `locations_migration_jobs_verify(...)`, `locations_operations_cancel(...)`, `locations_operations_delete(...)`, `locations_operations_get(...)` and `locations_operations_list(...)` /// // to build up your call. @@ -1718,7 +1718,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2027,7 +2027,7 @@ impl<'a> ProjectLocationConnectionProfileCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2307,7 +2307,7 @@ impl<'a> ProjectLocationConnectionProfileDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2563,7 +2563,7 @@ impl<'a> ProjectLocationConnectionProfileGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2831,7 +2831,7 @@ impl<'a> ProjectLocationConnectionProfileGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3136,7 +3136,7 @@ impl<'a> ProjectLocationConnectionProfileListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3446,7 +3446,7 @@ impl<'a> ProjectLocationConnectionProfilePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3732,7 +3732,7 @@ impl<'a> ProjectLocationConnectionProfileSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4018,7 +4018,7 @@ impl<'a> ProjectLocationConnectionProfileTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4327,7 +4327,7 @@ impl<'a> ProjectLocationMigrationJobCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4608,7 +4608,7 @@ impl<'a> ProjectLocationMigrationJobDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4893,7 +4893,7 @@ impl<'a> ProjectLocationMigrationJobGenerateSshScriptCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5149,7 +5149,7 @@ impl<'a> ProjectLocationMigrationJobGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5417,7 +5417,7 @@ impl<'a> ProjectLocationMigrationJobGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5722,7 +5722,7 @@ impl<'a> ProjectLocationMigrationJobListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6032,7 +6032,7 @@ impl<'a> ProjectLocationMigrationJobPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6318,7 +6318,7 @@ impl<'a> ProjectLocationMigrationJobPromoteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6604,7 +6604,7 @@ impl<'a> ProjectLocationMigrationJobRestartCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6890,7 +6890,7 @@ impl<'a> ProjectLocationMigrationJobResumeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7176,7 +7176,7 @@ impl<'a> ProjectLocationMigrationJobSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7462,7 +7462,7 @@ impl<'a> ProjectLocationMigrationJobStartCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7748,7 +7748,7 @@ impl<'a> ProjectLocationMigrationJobStopCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8034,7 +8034,7 @@ impl<'a> ProjectLocationMigrationJobTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8320,7 +8320,7 @@ impl<'a> ProjectLocationMigrationJobVerifyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8605,7 +8605,7 @@ impl<'a> ProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8861,7 +8861,7 @@ impl<'a> ProjectLocationOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9117,7 +9117,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9409,7 +9409,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9665,7 +9665,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/datamigration1/src/lib.rs b/gen/datamigration1/src/lib.rs index c771c74e60..681e11c90d 100644 --- a/gen/datamigration1/src/lib.rs +++ b/gen/datamigration1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Database Migration Service* crate version *3.0.0+20220216*, where *20220216* is the exact revision of the *datamigration:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Database Migration Service* crate version *3.1.0+20220216*, where *20220216* is the exact revision of the *datamigration:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Database Migration Service* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/database-migration/). @@ -104,7 +104,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = DatabaseMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/datapipelines1-cli/Cargo.toml b/gen/datapipelines1-cli/Cargo.toml index fa3b7a8087..58e97f27fd 100644 --- a/gen/datapipelines1-cli/Cargo.toml +++ b/gen/datapipelines1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-datapipelines1-cli" -version = "3.0.0+20220218" +version = "3.1.0+20220218" authors = ["Sebastian Thiel "] description = "A complete library to interact with Datapipelines (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/datapipelines1-cli" @@ -20,12 +20,12 @@ name = "datapipelines1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-datapipelines1] path = "../datapipelines1" -version = "3.0.0+20220218" +version = "3.1.0+20220218" diff --git a/gen/datapipelines1-cli/README.md b/gen/datapipelines1-cli/README.md index 7daee12537..082f9467e7 100644 --- a/gen/datapipelines1-cli/README.md +++ b/gen/datapipelines1-cli/README.md @@ -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 *Datapipelines* API at revision *20220218*. The CLI is at version *3.0.0*. +This documentation was generated from the *Datapipelines* API at revision *20220218*. The CLI is at version *3.1.0*. ```bash datapipelines1 [options] diff --git a/gen/datapipelines1-cli/mkdocs.yml b/gen/datapipelines1-cli/mkdocs.yml index 086abb3106..8667a2f1dc 100644 --- a/gen/datapipelines1-cli/mkdocs.yml +++ b/gen/datapipelines1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Datapipelines v3.0.0+20220218 +site_name: Datapipelines v3.1.0+20220218 site_url: http://byron.github.io/google-apis-rs/google-datapipelines1-cli site_description: A complete library to interact with Datapipelines (protocol v1) diff --git a/gen/datapipelines1-cli/src/main.rs b/gen/datapipelines1-cli/src/main.rs index 8a5fb9e9d6..c629750722 100644 --- a/gen/datapipelines1-cli/src/main.rs +++ b/gen/datapipelines1-cli/src/main.rs @@ -800,7 +800,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/datapipelines1", 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::Datapipelines::new(client, auth), @@ -1042,7 +1048,7 @@ async fn main() { let mut app = App::new("datapipelines1") .author("Sebastian Thiel ") - .version("3.0.0+20220218") + .version("3.1.0+20220218") .about("Data Pipelines provides an interface for creating, updating, and managing recurring Data Analytics jobs.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_datapipelines1_cli") .arg(Arg::with_name("url") diff --git a/gen/datapipelines1/Cargo.toml b/gen/datapipelines1/Cargo.toml index 1c6887e377..01be93851e 100644 --- a/gen/datapipelines1/Cargo.toml +++ b/gen/datapipelines1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-datapipelines1" -version = "3.0.0+20220218" +version = "3.1.0+20220218" authors = ["Sebastian Thiel "] description = "A complete library to interact with Datapipelines (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/datapipelines1" homepage = "https://cloud.google.com/dataflow/docs/guides/data-pipelines" -documentation = "https://docs.rs/google-datapipelines1/3.0.0+20220218" +documentation = "https://docs.rs/google-datapipelines1/3.1.0+20220218" license = "MIT" keywords = ["datapipelines", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/datapipelines1/README.md b/gen/datapipelines1/README.md index 514daf26e9..1dcc1b3654 100644 --- a/gen/datapipelines1/README.md +++ b/gen/datapipelines1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-datapipelines1` library allows access to all features of the *Google Datapipelines* service. -This documentation was generated from *Datapipelines* crate version *3.0.0+20220218*, where *20220218* is the exact revision of the *datapipelines:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Datapipelines* crate version *3.1.0+20220218*, where *20220218* is the exact revision of the *datapipelines:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Datapipelines* *v1* API can be found at the [official documentation site](https://cloud.google.com/dataflow/docs/guides/data-pipelines). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datapipelines1/3.0.0+20220218/google_datapipelines1/Datapipelines) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datapipelines1/3.1.0+20220218/google_datapipelines1/Datapipelines) ... * projects - * [*locations list pipelines*](https://docs.rs/google-datapipelines1/3.0.0+20220218/google_datapipelines1/api::ProjectLocationListPipelineCall), [*locations pipelines create*](https://docs.rs/google-datapipelines1/3.0.0+20220218/google_datapipelines1/api::ProjectLocationPipelineCreateCall), [*locations pipelines delete*](https://docs.rs/google-datapipelines1/3.0.0+20220218/google_datapipelines1/api::ProjectLocationPipelineDeleteCall), [*locations pipelines get*](https://docs.rs/google-datapipelines1/3.0.0+20220218/google_datapipelines1/api::ProjectLocationPipelineGetCall), [*locations pipelines jobs list*](https://docs.rs/google-datapipelines1/3.0.0+20220218/google_datapipelines1/api::ProjectLocationPipelineJobListCall), [*locations pipelines patch*](https://docs.rs/google-datapipelines1/3.0.0+20220218/google_datapipelines1/api::ProjectLocationPipelinePatchCall), [*locations pipelines run*](https://docs.rs/google-datapipelines1/3.0.0+20220218/google_datapipelines1/api::ProjectLocationPipelineRunCall) and [*locations pipelines stop*](https://docs.rs/google-datapipelines1/3.0.0+20220218/google_datapipelines1/api::ProjectLocationPipelineStopCall) + * [*locations list pipelines*](https://docs.rs/google-datapipelines1/3.1.0+20220218/google_datapipelines1/api::ProjectLocationListPipelineCall), [*locations pipelines create*](https://docs.rs/google-datapipelines1/3.1.0+20220218/google_datapipelines1/api::ProjectLocationPipelineCreateCall), [*locations pipelines delete*](https://docs.rs/google-datapipelines1/3.1.0+20220218/google_datapipelines1/api::ProjectLocationPipelineDeleteCall), [*locations pipelines get*](https://docs.rs/google-datapipelines1/3.1.0+20220218/google_datapipelines1/api::ProjectLocationPipelineGetCall), [*locations pipelines jobs list*](https://docs.rs/google-datapipelines1/3.1.0+20220218/google_datapipelines1/api::ProjectLocationPipelineJobListCall), [*locations pipelines patch*](https://docs.rs/google-datapipelines1/3.1.0+20220218/google_datapipelines1/api::ProjectLocationPipelinePatchCall), [*locations pipelines run*](https://docs.rs/google-datapipelines1/3.1.0+20220218/google_datapipelines1/api::ProjectLocationPipelineRunCall) and [*locations pipelines stop*](https://docs.rs/google-datapipelines1/3.1.0+20220218/google_datapipelines1/api::ProjectLocationPipelineStopCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-datapipelines1/3.0.0+20220218/google_datapipelines1/Datapipelines)** +* **[Hub](https://docs.rs/google-datapipelines1/3.1.0+20220218/google_datapipelines1/Datapipelines)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-datapipelines1/3.0.0+20220218/google_datapipelines1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-datapipelines1/3.0.0+20220218/google_datapipelines1/client::CallBuilder) -* **[Resources](https://docs.rs/google-datapipelines1/3.0.0+20220218/google_datapipelines1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-datapipelines1/3.1.0+20220218/google_datapipelines1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-datapipelines1/3.1.0+20220218/google_datapipelines1/client::CallBuilder) +* **[Resources](https://docs.rs/google-datapipelines1/3.1.0+20220218/google_datapipelines1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-datapipelines1/3.0.0+20220218/google_datapipelines1/client::Part)** + * **[Parts](https://docs.rs/google-datapipelines1/3.1.0+20220218/google_datapipelines1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-datapipelines1/3.0.0+20220218/google_datapipelines1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-datapipelines1/3.1.0+20220218/google_datapipelines1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -94,7 +94,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Datapipelines::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Datapipelines::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -128,17 +128,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-datapipelines1/3.0.0+20220218/google_datapipelines1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-datapipelines1/3.1.0+20220218/google_datapipelines1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-datapipelines1/3.0.0+20220218/google_datapipelines1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-datapipelines1/3.1.0+20220218/google_datapipelines1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-datapipelines1/3.0.0+20220218/google_datapipelines1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-datapipelines1/3.1.0+20220218/google_datapipelines1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-datapipelines1/3.0.0+20220218/google_datapipelines1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-datapipelines1/3.1.0+20220218/google_datapipelines1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -148,29 +148,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-datapipelines1/3.0.0+20220218/google_datapipelines1/client::Delegate) to the -[Method Builder](https://docs.rs/google-datapipelines1/3.0.0+20220218/google_datapipelines1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-datapipelines1/3.1.0+20220218/google_datapipelines1/client::Delegate) to the +[Method Builder](https://docs.rs/google-datapipelines1/3.1.0+20220218/google_datapipelines1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-datapipelines1/3.0.0+20220218/google_datapipelines1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-datapipelines1/3.1.0+20220218/google_datapipelines1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-datapipelines1/3.0.0+20220218/google_datapipelines1/client::RequestValue) and -[decodable](https://docs.rs/google-datapipelines1/3.0.0+20220218/google_datapipelines1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-datapipelines1/3.1.0+20220218/google_datapipelines1/client::RequestValue) and +[decodable](https://docs.rs/google-datapipelines1/3.1.0+20220218/google_datapipelines1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-datapipelines1/3.0.0+20220218/google_datapipelines1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-datapipelines1/3.1.0+20220218/google_datapipelines1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-datapipelines1/3.0.0+20220218/google_datapipelines1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-datapipelines1/3.1.0+20220218/google_datapipelines1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-datapipelines1/3.0.0+20220218/google_datapipelines1/client::RequestValue) are moved +* [request values](https://docs.rs/google-datapipelines1/3.1.0+20220218/google_datapipelines1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/datapipelines1/src/api.rs b/gen/datapipelines1/src/api.rs index b22cfdbb5f..b5a2644e86 100644 --- a/gen/datapipelines1/src/api.rs +++ b/gen/datapipelines1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Datapipelines::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Datapipelines::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > Datapipelines<> { Datapipelines { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://datapipelines.googleapis.com/".to_string(), _root_url: "https://datapipelines.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > Datapipelines<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -671,7 +671,7 @@ impl client::Part for GoogleRpcStatus {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Datapipelines::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Datapipelines::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_list_pipelines(...)`, `locations_pipelines_create(...)`, `locations_pipelines_delete(...)`, `locations_pipelines_get(...)`, `locations_pipelines_jobs_list(...)`, `locations_pipelines_patch(...)`, `locations_pipelines_run(...)` and `locations_pipelines_stop(...)` /// // to build up your call. @@ -869,7 +869,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datapipelines::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datapipelines::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1150,7 +1150,7 @@ impl<'a> ProjectLocationPipelineJobListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datapipelines::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datapipelines::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1435,7 +1435,7 @@ impl<'a> ProjectLocationPipelineCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datapipelines::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datapipelines::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1691,7 +1691,7 @@ impl<'a> ProjectLocationPipelineDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datapipelines::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datapipelines::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1948,7 +1948,7 @@ impl<'a> ProjectLocationPipelineGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datapipelines::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datapipelines::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2246,7 +2246,7 @@ impl<'a> ProjectLocationPipelinePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datapipelines::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datapipelines::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2532,7 +2532,7 @@ impl<'a> ProjectLocationPipelineRunCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datapipelines::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datapipelines::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2817,7 +2817,7 @@ impl<'a> ProjectLocationPipelineStopCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datapipelines::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datapipelines::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/datapipelines1/src/lib.rs b/gen/datapipelines1/src/lib.rs index fd58cc3297..43b8937263 100644 --- a/gen/datapipelines1/src/lib.rs +++ b/gen/datapipelines1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Datapipelines* crate version *3.0.0+20220218*, where *20220218* is the exact revision of the *datapipelines:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Datapipelines* crate version *3.1.0+20220218*, where *20220218* is the exact revision of the *datapipelines:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Datapipelines* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/dataflow/docs/guides/data-pipelines). @@ -95,7 +95,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Datapipelines::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Datapipelines::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/dataplex1-cli/Cargo.toml b/gen/dataplex1-cli/Cargo.toml index 5f44f8e7a5..0a168edc13 100644 --- a/gen/dataplex1-cli/Cargo.toml +++ b/gen/dataplex1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dataplex1-cli" -version = "3.0.0+20220223" +version = "3.1.0+20220223" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Dataplex (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dataplex1-cli" @@ -20,12 +20,12 @@ name = "dataplex1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-dataplex1] path = "../dataplex1" -version = "3.0.0+20220223" +version = "3.1.0+20220223" diff --git a/gen/dataplex1-cli/README.md b/gen/dataplex1-cli/README.md index f16d33d869..7dc82ae816 100644 --- a/gen/dataplex1-cli/README.md +++ b/gen/dataplex1-cli/README.md @@ -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 *Cloud Dataplex* API at revision *20220223*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Dataplex* API at revision *20220223*. The CLI is at version *3.1.0*. ```bash dataplex1 [options] diff --git a/gen/dataplex1-cli/mkdocs.yml b/gen/dataplex1-cli/mkdocs.yml index 4ebfa211f6..36e5997402 100644 --- a/gen/dataplex1-cli/mkdocs.yml +++ b/gen/dataplex1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Dataplex v3.0.0+20220223 +site_name: Cloud Dataplex v3.1.0+20220223 site_url: http://byron.github.io/google-apis-rs/google-dataplex1-cli site_description: A complete library to interact with Cloud Dataplex (protocol v1) diff --git a/gen/dataplex1-cli/src/main.rs b/gen/dataplex1-cli/src/main.rs index 07d1da333d..e3a3113e87 100644 --- a/gen/dataplex1-cli/src/main.rs +++ b/gen/dataplex1-cli/src/main.rs @@ -5507,7 +5507,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/dataplex1", 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::CloudDataplex::new(client, auth), @@ -7263,7 +7269,7 @@ async fn main() { let mut app = App::new("dataplex1") .author("Sebastian Thiel ") - .version("3.0.0+20220223") + .version("3.1.0+20220223") .about("Dataplex API is used to manage the lifecycle of data lakes.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_dataplex1_cli") .arg(Arg::with_name("url") diff --git a/gen/dataplex1/Cargo.toml b/gen/dataplex1/Cargo.toml index 60fda54bfe..8d8aca7f8f 100644 --- a/gen/dataplex1/Cargo.toml +++ b/gen/dataplex1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dataplex1" -version = "3.0.0+20220223" +version = "3.1.0+20220223" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Dataplex (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dataplex1" homepage = "https://cloud.google.com/dataplex/docs" -documentation = "https://docs.rs/google-dataplex1/3.0.0+20220223" +documentation = "https://docs.rs/google-dataplex1/3.1.0+20220223" license = "MIT" keywords = ["dataplex", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/dataplex1/README.md b/gen/dataplex1/README.md index f95cacf293..a779a99bbc 100644 --- a/gen/dataplex1/README.md +++ b/gen/dataplex1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-dataplex1` library allows access to all features of the *Google Cloud Dataplex* service. -This documentation was generated from *Cloud Dataplex* crate version *3.0.0+20220223*, where *20220223* is the exact revision of the *dataplex:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Dataplex* crate version *3.1.0+20220223*, where *20220223* is the exact revision of the *dataplex:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Dataplex* *v1* API can be found at the [official documentation site](https://cloud.google.com/dataplex/docs). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/CloudDataplex) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/CloudDataplex) ... * projects - * [*locations get*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationGetCall), [*locations lakes actions list*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeActionListCall), [*locations lakes content get iam policy*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeContentGetIamPolicyCall), [*locations lakes content set iam policy*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeContentSetIamPolicyCall), [*locations lakes content test iam permissions*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeContentTestIamPermissionCall), [*locations lakes contentitems create*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeContentitemCreateCall), [*locations lakes contentitems delete*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeContentitemDeleteCall), [*locations lakes contentitems get*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeContentitemGetCall), [*locations lakes contentitems list*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeContentitemListCall), [*locations lakes contentitems patch*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeContentitemPatchCall), [*locations lakes create*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeCreateCall), [*locations lakes delete*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeDeleteCall), [*locations lakes environments create*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeEnvironmentCreateCall), [*locations lakes environments delete*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeEnvironmentDeleteCall), [*locations lakes environments get*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeEnvironmentGetCall), [*locations lakes environments get iam policy*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeEnvironmentGetIamPolicyCall), [*locations lakes environments list*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeEnvironmentListCall), [*locations lakes environments patch*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeEnvironmentPatchCall), [*locations lakes environments sessions list*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeEnvironmentSessionListCall), [*locations lakes environments set iam policy*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeEnvironmentSetIamPolicyCall), [*locations lakes environments test iam permissions*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeEnvironmentTestIamPermissionCall), [*locations lakes get*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeGetCall), [*locations lakes get iam policy*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeGetIamPolicyCall), [*locations lakes list*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeListCall), [*locations lakes patch*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakePatchCall), [*locations lakes set iam policy*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeSetIamPolicyCall), [*locations lakes tasks create*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeTaskCreateCall), [*locations lakes tasks delete*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeTaskDeleteCall), [*locations lakes tasks get*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeTaskGetCall), [*locations lakes tasks get iam policy*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeTaskGetIamPolicyCall), [*locations lakes tasks jobs cancel*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeTaskJobCancelCall), [*locations lakes tasks jobs get*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeTaskJobGetCall), [*locations lakes tasks jobs list*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeTaskJobListCall), [*locations lakes tasks list*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeTaskListCall), [*locations lakes tasks patch*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeTaskPatchCall), [*locations lakes tasks set iam policy*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeTaskSetIamPolicyCall), [*locations lakes tasks test iam permissions*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeTaskTestIamPermissionCall), [*locations lakes test iam permissions*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeTestIamPermissionCall), [*locations lakes zones actions list*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneActionListCall), [*locations lakes zones assets actions list*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneAssetActionListCall), [*locations lakes zones assets create*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneAssetCreateCall), [*locations lakes zones assets delete*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneAssetDeleteCall), [*locations lakes zones assets get*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneAssetGetCall), [*locations lakes zones assets get iam policy*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneAssetGetIamPolicyCall), [*locations lakes zones assets list*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneAssetListCall), [*locations lakes zones assets patch*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneAssetPatchCall), [*locations lakes zones assets set iam policy*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneAssetSetIamPolicyCall), [*locations lakes zones assets test iam permissions*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneAssetTestIamPermissionCall), [*locations lakes zones create*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneCreateCall), [*locations lakes zones delete*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneDeleteCall), [*locations lakes zones entities create*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneEntityCreateCall), [*locations lakes zones entities delete*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneEntityDeleteCall), [*locations lakes zones entities get*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneEntityGetCall), [*locations lakes zones entities list*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneEntityListCall), [*locations lakes zones entities partitions create*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneEntityPartitionCreateCall), [*locations lakes zones entities partitions delete*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneEntityPartitionDeleteCall), [*locations lakes zones entities partitions get*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneEntityPartitionGetCall), [*locations lakes zones entities partitions list*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneEntityPartitionListCall), [*locations lakes zones entities update*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneEntityUpdateCall), [*locations lakes zones get*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneGetCall), [*locations lakes zones get iam policy*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneGetIamPolicyCall), [*locations lakes zones list*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneListCall), [*locations lakes zones patch*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeZonePatchCall), [*locations lakes zones set iam policy*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneSetIamPolicyCall), [*locations lakes zones test iam permissions*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneTestIamPermissionCall), [*locations list*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/api::ProjectLocationOperationListCall) + * [*locations get*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationGetCall), [*locations lakes actions list*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeActionListCall), [*locations lakes content get iam policy*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeContentGetIamPolicyCall), [*locations lakes content set iam policy*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeContentSetIamPolicyCall), [*locations lakes content test iam permissions*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeContentTestIamPermissionCall), [*locations lakes contentitems create*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeContentitemCreateCall), [*locations lakes contentitems delete*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeContentitemDeleteCall), [*locations lakes contentitems get*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeContentitemGetCall), [*locations lakes contentitems list*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeContentitemListCall), [*locations lakes contentitems patch*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeContentitemPatchCall), [*locations lakes create*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeCreateCall), [*locations lakes delete*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeDeleteCall), [*locations lakes environments create*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeEnvironmentCreateCall), [*locations lakes environments delete*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeEnvironmentDeleteCall), [*locations lakes environments get*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeEnvironmentGetCall), [*locations lakes environments get iam policy*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeEnvironmentGetIamPolicyCall), [*locations lakes environments list*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeEnvironmentListCall), [*locations lakes environments patch*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeEnvironmentPatchCall), [*locations lakes environments sessions list*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeEnvironmentSessionListCall), [*locations lakes environments set iam policy*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeEnvironmentSetIamPolicyCall), [*locations lakes environments test iam permissions*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeEnvironmentTestIamPermissionCall), [*locations lakes get*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeGetCall), [*locations lakes get iam policy*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeGetIamPolicyCall), [*locations lakes list*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeListCall), [*locations lakes patch*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakePatchCall), [*locations lakes set iam policy*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeSetIamPolicyCall), [*locations lakes tasks create*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeTaskCreateCall), [*locations lakes tasks delete*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeTaskDeleteCall), [*locations lakes tasks get*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeTaskGetCall), [*locations lakes tasks get iam policy*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeTaskGetIamPolicyCall), [*locations lakes tasks jobs cancel*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeTaskJobCancelCall), [*locations lakes tasks jobs get*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeTaskJobGetCall), [*locations lakes tasks jobs list*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeTaskJobListCall), [*locations lakes tasks list*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeTaskListCall), [*locations lakes tasks patch*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeTaskPatchCall), [*locations lakes tasks set iam policy*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeTaskSetIamPolicyCall), [*locations lakes tasks test iam permissions*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeTaskTestIamPermissionCall), [*locations lakes test iam permissions*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeTestIamPermissionCall), [*locations lakes zones actions list*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneActionListCall), [*locations lakes zones assets actions list*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneAssetActionListCall), [*locations lakes zones assets create*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneAssetCreateCall), [*locations lakes zones assets delete*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneAssetDeleteCall), [*locations lakes zones assets get*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneAssetGetCall), [*locations lakes zones assets get iam policy*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneAssetGetIamPolicyCall), [*locations lakes zones assets list*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneAssetListCall), [*locations lakes zones assets patch*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneAssetPatchCall), [*locations lakes zones assets set iam policy*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneAssetSetIamPolicyCall), [*locations lakes zones assets test iam permissions*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneAssetTestIamPermissionCall), [*locations lakes zones create*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneCreateCall), [*locations lakes zones delete*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneDeleteCall), [*locations lakes zones entities create*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneEntityCreateCall), [*locations lakes zones entities delete*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneEntityDeleteCall), [*locations lakes zones entities get*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneEntityGetCall), [*locations lakes zones entities list*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneEntityListCall), [*locations lakes zones entities partitions create*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneEntityPartitionCreateCall), [*locations lakes zones entities partitions delete*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneEntityPartitionDeleteCall), [*locations lakes zones entities partitions get*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneEntityPartitionGetCall), [*locations lakes zones entities partitions list*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneEntityPartitionListCall), [*locations lakes zones entities update*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneEntityUpdateCall), [*locations lakes zones get*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneGetCall), [*locations lakes zones get iam policy*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneGetIamPolicyCall), [*locations lakes zones list*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneListCall), [*locations lakes zones patch*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeZonePatchCall), [*locations lakes zones set iam policy*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneSetIamPolicyCall), [*locations lakes zones test iam permissions*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationLakeZoneTestIamPermissionCall), [*locations list*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/api::ProjectLocationOperationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/CloudDataplex)** +* **[Hub](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/CloudDataplex)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/client::CallBuilder) -* **[Resources](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/client::CallBuilder) +* **[Resources](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/client::Part)** + * **[Parts](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -106,7 +106,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -141,17 +141,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -161,29 +161,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/client::Delegate) to the -[Method Builder](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/client::Delegate) to the +[Method Builder](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/client::RequestValue) and -[decodable](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/client::RequestValue) and +[decodable](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-dataplex1/3.0.0+20220223/google_dataplex1/client::RequestValue) are moved +* [request values](https://docs.rs/google-dataplex1/3.1.0+20220223/google_dataplex1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/dataplex1/src/api.rs b/gen/dataplex1/src/api.rs index d3ad08bb84..d7cc509f5b 100644 --- a/gen/dataplex1/src/api.rs +++ b/gen/dataplex1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -121,7 +121,7 @@ impl<'a, > CloudDataplex<> { CloudDataplex { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://dataplex.googleapis.com/".to_string(), _root_url: "https://dataplex.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > CloudDataplex<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -2101,7 +2101,7 @@ impl client::Part for GoogleTypeExpr {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_get(...)`, `locations_lakes_actions_list(...)`, `locations_lakes_content_get_iam_policy(...)`, `locations_lakes_content_set_iam_policy(...)`, `locations_lakes_content_test_iam_permissions(...)`, `locations_lakes_contentitems_create(...)`, `locations_lakes_contentitems_delete(...)`, `locations_lakes_contentitems_get(...)`, `locations_lakes_contentitems_list(...)`, `locations_lakes_contentitems_patch(...)`, `locations_lakes_create(...)`, `locations_lakes_delete(...)`, `locations_lakes_environments_create(...)`, `locations_lakes_environments_delete(...)`, `locations_lakes_environments_get(...)`, `locations_lakes_environments_get_iam_policy(...)`, `locations_lakes_environments_list(...)`, `locations_lakes_environments_patch(...)`, `locations_lakes_environments_sessions_list(...)`, `locations_lakes_environments_set_iam_policy(...)`, `locations_lakes_environments_test_iam_permissions(...)`, `locations_lakes_get(...)`, `locations_lakes_get_iam_policy(...)`, `locations_lakes_list(...)`, `locations_lakes_patch(...)`, `locations_lakes_set_iam_policy(...)`, `locations_lakes_tasks_create(...)`, `locations_lakes_tasks_delete(...)`, `locations_lakes_tasks_get(...)`, `locations_lakes_tasks_get_iam_policy(...)`, `locations_lakes_tasks_jobs_cancel(...)`, `locations_lakes_tasks_jobs_get(...)`, `locations_lakes_tasks_jobs_list(...)`, `locations_lakes_tasks_list(...)`, `locations_lakes_tasks_patch(...)`, `locations_lakes_tasks_set_iam_policy(...)`, `locations_lakes_tasks_test_iam_permissions(...)`, `locations_lakes_test_iam_permissions(...)`, `locations_lakes_zones_actions_list(...)`, `locations_lakes_zones_assets_actions_list(...)`, `locations_lakes_zones_assets_create(...)`, `locations_lakes_zones_assets_delete(...)`, `locations_lakes_zones_assets_get(...)`, `locations_lakes_zones_assets_get_iam_policy(...)`, `locations_lakes_zones_assets_list(...)`, `locations_lakes_zones_assets_patch(...)`, `locations_lakes_zones_assets_set_iam_policy(...)`, `locations_lakes_zones_assets_test_iam_permissions(...)`, `locations_lakes_zones_create(...)`, `locations_lakes_zones_delete(...)`, `locations_lakes_zones_entities_create(...)`, `locations_lakes_zones_entities_delete(...)`, `locations_lakes_zones_entities_get(...)`, `locations_lakes_zones_entities_list(...)`, `locations_lakes_zones_entities_partitions_create(...)`, `locations_lakes_zones_entities_partitions_delete(...)`, `locations_lakes_zones_entities_partitions_get(...)`, `locations_lakes_zones_entities_partitions_list(...)`, `locations_lakes_zones_entities_update(...)`, `locations_lakes_zones_get(...)`, `locations_lakes_zones_get_iam_policy(...)`, `locations_lakes_zones_list(...)`, `locations_lakes_zones_patch(...)`, `locations_lakes_zones_set_iam_policy(...)`, `locations_lakes_zones_test_iam_permissions(...)`, `locations_list(...)`, `locations_operations_cancel(...)`, `locations_operations_delete(...)`, `locations_operations_get(...)` and `locations_operations_list(...)` /// // to build up your call. @@ -3479,7 +3479,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3759,7 +3759,7 @@ impl<'a> ProjectLocationLakeActionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4028,7 +4028,7 @@ impl<'a> ProjectLocationLakeContentGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4314,7 +4314,7 @@ impl<'a> ProjectLocationLakeContentSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4600,7 +4600,7 @@ impl<'a> ProjectLocationLakeContentTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4897,7 +4897,7 @@ impl<'a> ProjectLocationLakeContentitemCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5153,7 +5153,7 @@ impl<'a> ProjectLocationLakeContentitemDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5421,7 +5421,7 @@ impl<'a> ProjectLocationLakeContentitemGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5714,7 +5714,7 @@ impl<'a> ProjectLocationLakeContentitemListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6023,7 +6023,7 @@ impl<'a> ProjectLocationLakeContentitemPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6304,7 +6304,7 @@ impl<'a> ProjectLocationLakeEnvironmentSessionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6613,7 +6613,7 @@ impl<'a> ProjectLocationLakeEnvironmentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6869,7 +6869,7 @@ impl<'a> ProjectLocationLakeEnvironmentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7125,7 +7125,7 @@ impl<'a> ProjectLocationLakeEnvironmentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7393,7 +7393,7 @@ impl<'a> ProjectLocationLakeEnvironmentGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7698,7 +7698,7 @@ impl<'a> ProjectLocationLakeEnvironmentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8008,7 +8008,7 @@ impl<'a> ProjectLocationLakeEnvironmentPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8294,7 +8294,7 @@ impl<'a> ProjectLocationLakeEnvironmentSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8580,7 +8580,7 @@ impl<'a> ProjectLocationLakeEnvironmentTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8865,7 +8865,7 @@ impl<'a> ProjectLocationLakeTaskJobCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9121,7 +9121,7 @@ impl<'a> ProjectLocationLakeTaskJobGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9402,7 +9402,7 @@ impl<'a> ProjectLocationLakeTaskJobListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9711,7 +9711,7 @@ impl<'a> ProjectLocationLakeTaskCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9967,7 +9967,7 @@ impl<'a> ProjectLocationLakeTaskDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10223,7 +10223,7 @@ impl<'a> ProjectLocationLakeTaskGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10491,7 +10491,7 @@ impl<'a> ProjectLocationLakeTaskGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10796,7 +10796,7 @@ impl<'a> ProjectLocationLakeTaskListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11106,7 +11106,7 @@ impl<'a> ProjectLocationLakeTaskPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11392,7 +11392,7 @@ impl<'a> ProjectLocationLakeTaskSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11677,7 +11677,7 @@ impl<'a> ProjectLocationLakeTaskTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11957,7 +11957,7 @@ impl<'a> ProjectLocationLakeZoneActionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12238,7 +12238,7 @@ impl<'a> ProjectLocationLakeZoneAssetActionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12547,7 +12547,7 @@ impl<'a> ProjectLocationLakeZoneAssetCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12803,7 +12803,7 @@ impl<'a> ProjectLocationLakeZoneAssetDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13059,7 +13059,7 @@ impl<'a> ProjectLocationLakeZoneAssetGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13327,7 +13327,7 @@ impl<'a> ProjectLocationLakeZoneAssetGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13632,7 +13632,7 @@ impl<'a> ProjectLocationLakeZoneAssetListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13942,7 +13942,7 @@ impl<'a> ProjectLocationLakeZoneAssetPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14228,7 +14228,7 @@ impl<'a> ProjectLocationLakeZoneAssetSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14514,7 +14514,7 @@ impl<'a> ProjectLocationLakeZoneAssetTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14811,7 +14811,7 @@ impl<'a> ProjectLocationLakeZoneEntityPartitionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15079,7 +15079,7 @@ impl<'a> ProjectLocationLakeZoneEntityPartitionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15335,7 +15335,7 @@ impl<'a> ProjectLocationLakeZoneEntityPartitionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15628,7 +15628,7 @@ impl<'a> ProjectLocationLakeZoneEntityPartitionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15925,7 +15925,7 @@ impl<'a> ProjectLocationLakeZoneEntityCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16193,7 +16193,7 @@ impl<'a> ProjectLocationLakeZoneEntityDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16461,7 +16461,7 @@ impl<'a> ProjectLocationLakeZoneEntityGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16766,7 +16766,7 @@ impl<'a> ProjectLocationLakeZoneEntityListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17064,7 +17064,7 @@ impl<'a> ProjectLocationLakeZoneEntityUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17373,7 +17373,7 @@ impl<'a> ProjectLocationLakeZoneCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17629,7 +17629,7 @@ impl<'a> ProjectLocationLakeZoneDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17885,7 +17885,7 @@ impl<'a> ProjectLocationLakeZoneGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18153,7 +18153,7 @@ impl<'a> ProjectLocationLakeZoneGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18458,7 +18458,7 @@ impl<'a> ProjectLocationLakeZoneListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18768,7 +18768,7 @@ impl<'a> ProjectLocationLakeZonePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19054,7 +19054,7 @@ impl<'a> ProjectLocationLakeZoneSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19340,7 +19340,7 @@ impl<'a> ProjectLocationLakeZoneTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19649,7 +19649,7 @@ impl<'a> ProjectLocationLakeCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19905,7 +19905,7 @@ impl<'a> ProjectLocationLakeDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20161,7 +20161,7 @@ impl<'a> ProjectLocationLakeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20429,7 +20429,7 @@ impl<'a> ProjectLocationLakeGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20734,7 +20734,7 @@ impl<'a> ProjectLocationLakeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21044,7 +21044,7 @@ impl<'a> ProjectLocationLakePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21330,7 +21330,7 @@ impl<'a> ProjectLocationLakeSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21616,7 +21616,7 @@ impl<'a> ProjectLocationLakeTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21901,7 +21901,7 @@ impl<'a> ProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22157,7 +22157,7 @@ impl<'a> ProjectLocationOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22413,7 +22413,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22705,7 +22705,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22961,7 +22961,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/dataplex1/src/lib.rs b/gen/dataplex1/src/lib.rs index f78fe670e4..ef05de9366 100644 --- a/gen/dataplex1/src/lib.rs +++ b/gen/dataplex1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Dataplex* crate version *3.0.0+20220223*, where *20220223* is the exact revision of the *dataplex:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Dataplex* crate version *3.1.0+20220223*, where *20220223* is the exact revision of the *dataplex:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Dataplex* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/dataplex/docs). @@ -107,7 +107,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudDataplex::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/dataproc1-cli/Cargo.toml b/gen/dataproc1-cli/Cargo.toml index 6a907f16fc..a5d19bceb7 100644 --- a/gen/dataproc1-cli/Cargo.toml +++ b/gen/dataproc1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dataproc1-cli" -version = "3.0.0+20220224" +version = "3.1.0+20220224" authors = ["Sebastian Thiel "] description = "A complete library to interact with Dataproc (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dataproc1-cli" @@ -20,12 +20,12 @@ name = "dataproc1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-dataproc1] path = "../dataproc1" -version = "3.0.0+20220224" +version = "3.1.0+20220224" diff --git a/gen/dataproc1-cli/README.md b/gen/dataproc1-cli/README.md index b818a8450c..92f0f1083b 100644 --- a/gen/dataproc1-cli/README.md +++ b/gen/dataproc1-cli/README.md @@ -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 *Dataproc* API at revision *20220224*. The CLI is at version *3.0.0*. +This documentation was generated from the *Dataproc* API at revision *20220224*. The CLI is at version *3.1.0*. ```bash dataproc1 [options] diff --git a/gen/dataproc1-cli/mkdocs.yml b/gen/dataproc1-cli/mkdocs.yml index 50695a00ec..cc9cdb3b6c 100644 --- a/gen/dataproc1-cli/mkdocs.yml +++ b/gen/dataproc1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Dataproc v3.0.0+20220224 +site_name: Dataproc v3.1.0+20220224 site_url: http://byron.github.io/google-apis-rs/google-dataproc1-cli site_description: A complete library to interact with Dataproc (protocol v1) diff --git a/gen/dataproc1-cli/src/main.rs b/gen/dataproc1-cli/src/main.rs index 751c081780..ec1bbb546f 100644 --- a/gen/dataproc1-cli/src/main.rs +++ b/gen/dataproc1-cli/src/main.rs @@ -6680,7 +6680,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/dataproc1", 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::Dataproc::new(client, auth), @@ -8706,7 +8712,7 @@ async fn main() { let mut app = App::new("dataproc1") .author("Sebastian Thiel ") - .version("3.0.0+20220224") + .version("3.1.0+20220224") .about("Manages Hadoop-based clusters and jobs on Google Cloud Platform.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_dataproc1_cli") .arg(Arg::with_name("url") diff --git a/gen/dataproc1/Cargo.toml b/gen/dataproc1/Cargo.toml index 1087dfd1b0..574dd29cb8 100644 --- a/gen/dataproc1/Cargo.toml +++ b/gen/dataproc1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dataproc1" -version = "3.0.0+20220224" +version = "3.1.0+20220224" authors = ["Sebastian Thiel "] description = "A complete library to interact with Dataproc (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dataproc1" homepage = "https://cloud.google.com/dataproc/" -documentation = "https://docs.rs/google-dataproc1/3.0.0+20220224" +documentation = "https://docs.rs/google-dataproc1/3.1.0+20220224" license = "MIT" keywords = ["dataproc", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/dataproc1/README.md b/gen/dataproc1/README.md index 01e0a022a9..7ea610720c 100644 --- a/gen/dataproc1/README.md +++ b/gen/dataproc1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-dataproc1` library allows access to all features of the *Google Dataproc* service. -This documentation was generated from *Dataproc* crate version *3.0.0+20220224*, where *20220224* is the exact revision of the *dataproc:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Dataproc* crate version *3.1.0+20220224*, where *20220224* is the exact revision of the *dataproc:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Dataproc* *v1* API can be found at the [official documentation site](https://cloud.google.com/dataproc/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/Dataproc) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/Dataproc) ... * projects - * [*locations autoscaling policies create*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectLocationAutoscalingPolicyCreateCall), [*locations autoscaling policies delete*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectLocationAutoscalingPolicyDeleteCall), [*locations autoscaling policies get*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectLocationAutoscalingPolicyGetCall), [*locations autoscaling policies get iam policy*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectLocationAutoscalingPolicyGetIamPolicyCall), [*locations autoscaling policies list*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectLocationAutoscalingPolicyListCall), [*locations autoscaling policies set iam policy*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectLocationAutoscalingPolicySetIamPolicyCall), [*locations autoscaling policies test iam permissions*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectLocationAutoscalingPolicyTestIamPermissionCall), [*locations autoscaling policies update*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectLocationAutoscalingPolicyUpdateCall), [*locations batches create*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectLocationBatcheCreateCall), [*locations batches delete*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectLocationBatcheDeleteCall), [*locations batches get*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectLocationBatcheGetCall), [*locations batches list*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectLocationBatcheListCall), [*locations workflow templates create*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectLocationWorkflowTemplateCreateCall), [*locations workflow templates delete*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectLocationWorkflowTemplateDeleteCall), [*locations workflow templates get*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectLocationWorkflowTemplateGetCall), [*locations workflow templates get iam policy*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectLocationWorkflowTemplateGetIamPolicyCall), [*locations workflow templates instantiate*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectLocationWorkflowTemplateInstantiateCall), [*locations workflow templates instantiate inline*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectLocationWorkflowTemplateInstantiateInlineCall), [*locations workflow templates list*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectLocationWorkflowTemplateListCall), [*locations workflow templates set iam policy*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectLocationWorkflowTemplateSetIamPolicyCall), [*locations workflow templates test iam permissions*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectLocationWorkflowTemplateTestIamPermissionCall), [*locations workflow templates update*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectLocationWorkflowTemplateUpdateCall), [*regions autoscaling policies create*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionAutoscalingPolicyCreateCall), [*regions autoscaling policies delete*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionAutoscalingPolicyDeleteCall), [*regions autoscaling policies get*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionAutoscalingPolicyGetCall), [*regions autoscaling policies get iam policy*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionAutoscalingPolicyGetIamPolicyCall), [*regions autoscaling policies list*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionAutoscalingPolicyListCall), [*regions autoscaling policies set iam policy*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionAutoscalingPolicySetIamPolicyCall), [*regions autoscaling policies test iam permissions*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionAutoscalingPolicyTestIamPermissionCall), [*regions autoscaling policies update*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionAutoscalingPolicyUpdateCall), [*regions clusters create*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionClusterCreateCall), [*regions clusters delete*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionClusterDeleteCall), [*regions clusters diagnose*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionClusterDiagnoseCall), [*regions clusters get*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionClusterGetCall), [*regions clusters get iam policy*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionClusterGetIamPolicyCall), [*regions clusters inject credentials*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionClusterInjectCredentialCall), [*regions clusters list*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionClusterListCall), [*regions clusters patch*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionClusterPatchCall), [*regions clusters repair*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionClusterRepairCall), [*regions clusters set iam policy*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionClusterSetIamPolicyCall), [*regions clusters start*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionClusterStartCall), [*regions clusters stop*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionClusterStopCall), [*regions clusters test iam permissions*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionClusterTestIamPermissionCall), [*regions jobs cancel*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionJobCancelCall), [*regions jobs delete*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionJobDeleteCall), [*regions jobs get*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionJobGetCall), [*regions jobs get iam policy*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionJobGetIamPolicyCall), [*regions jobs list*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionJobListCall), [*regions jobs patch*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionJobPatchCall), [*regions jobs set iam policy*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionJobSetIamPolicyCall), [*regions jobs submit*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionJobSubmitCall), [*regions jobs submit as operation*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionJobSubmitAsOperationCall), [*regions jobs test iam permissions*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionJobTestIamPermissionCall), [*regions operations cancel*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionOperationCancelCall), [*regions operations delete*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionOperationDeleteCall), [*regions operations get*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionOperationGetCall), [*regions operations get iam policy*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionOperationGetIamPolicyCall), [*regions operations list*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionOperationListCall), [*regions operations set iam policy*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionOperationSetIamPolicyCall), [*regions operations test iam permissions*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionOperationTestIamPermissionCall), [*regions workflow templates create*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionWorkflowTemplateCreateCall), [*regions workflow templates delete*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionWorkflowTemplateDeleteCall), [*regions workflow templates get*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionWorkflowTemplateGetCall), [*regions workflow templates get iam policy*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionWorkflowTemplateGetIamPolicyCall), [*regions workflow templates instantiate*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionWorkflowTemplateInstantiateCall), [*regions workflow templates instantiate inline*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionWorkflowTemplateInstantiateInlineCall), [*regions workflow templates list*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionWorkflowTemplateListCall), [*regions workflow templates set iam policy*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionWorkflowTemplateSetIamPolicyCall), [*regions workflow templates test iam permissions*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionWorkflowTemplateTestIamPermissionCall) and [*regions workflow templates update*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/api::ProjectRegionWorkflowTemplateUpdateCall) + * [*locations autoscaling policies create*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectLocationAutoscalingPolicyCreateCall), [*locations autoscaling policies delete*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectLocationAutoscalingPolicyDeleteCall), [*locations autoscaling policies get*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectLocationAutoscalingPolicyGetCall), [*locations autoscaling policies get iam policy*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectLocationAutoscalingPolicyGetIamPolicyCall), [*locations autoscaling policies list*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectLocationAutoscalingPolicyListCall), [*locations autoscaling policies set iam policy*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectLocationAutoscalingPolicySetIamPolicyCall), [*locations autoscaling policies test iam permissions*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectLocationAutoscalingPolicyTestIamPermissionCall), [*locations autoscaling policies update*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectLocationAutoscalingPolicyUpdateCall), [*locations batches create*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectLocationBatcheCreateCall), [*locations batches delete*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectLocationBatcheDeleteCall), [*locations batches get*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectLocationBatcheGetCall), [*locations batches list*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectLocationBatcheListCall), [*locations workflow templates create*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectLocationWorkflowTemplateCreateCall), [*locations workflow templates delete*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectLocationWorkflowTemplateDeleteCall), [*locations workflow templates get*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectLocationWorkflowTemplateGetCall), [*locations workflow templates get iam policy*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectLocationWorkflowTemplateGetIamPolicyCall), [*locations workflow templates instantiate*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectLocationWorkflowTemplateInstantiateCall), [*locations workflow templates instantiate inline*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectLocationWorkflowTemplateInstantiateInlineCall), [*locations workflow templates list*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectLocationWorkflowTemplateListCall), [*locations workflow templates set iam policy*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectLocationWorkflowTemplateSetIamPolicyCall), [*locations workflow templates test iam permissions*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectLocationWorkflowTemplateTestIamPermissionCall), [*locations workflow templates update*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectLocationWorkflowTemplateUpdateCall), [*regions autoscaling policies create*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionAutoscalingPolicyCreateCall), [*regions autoscaling policies delete*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionAutoscalingPolicyDeleteCall), [*regions autoscaling policies get*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionAutoscalingPolicyGetCall), [*regions autoscaling policies get iam policy*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionAutoscalingPolicyGetIamPolicyCall), [*regions autoscaling policies list*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionAutoscalingPolicyListCall), [*regions autoscaling policies set iam policy*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionAutoscalingPolicySetIamPolicyCall), [*regions autoscaling policies test iam permissions*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionAutoscalingPolicyTestIamPermissionCall), [*regions autoscaling policies update*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionAutoscalingPolicyUpdateCall), [*regions clusters create*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionClusterCreateCall), [*regions clusters delete*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionClusterDeleteCall), [*regions clusters diagnose*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionClusterDiagnoseCall), [*regions clusters get*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionClusterGetCall), [*regions clusters get iam policy*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionClusterGetIamPolicyCall), [*regions clusters inject credentials*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionClusterInjectCredentialCall), [*regions clusters list*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionClusterListCall), [*regions clusters patch*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionClusterPatchCall), [*regions clusters repair*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionClusterRepairCall), [*regions clusters set iam policy*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionClusterSetIamPolicyCall), [*regions clusters start*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionClusterStartCall), [*regions clusters stop*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionClusterStopCall), [*regions clusters test iam permissions*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionClusterTestIamPermissionCall), [*regions jobs cancel*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionJobCancelCall), [*regions jobs delete*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionJobDeleteCall), [*regions jobs get*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionJobGetCall), [*regions jobs get iam policy*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionJobGetIamPolicyCall), [*regions jobs list*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionJobListCall), [*regions jobs patch*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionJobPatchCall), [*regions jobs set iam policy*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionJobSetIamPolicyCall), [*regions jobs submit*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionJobSubmitCall), [*regions jobs submit as operation*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionJobSubmitAsOperationCall), [*regions jobs test iam permissions*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionJobTestIamPermissionCall), [*regions operations cancel*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionOperationCancelCall), [*regions operations delete*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionOperationDeleteCall), [*regions operations get*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionOperationGetCall), [*regions operations get iam policy*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionOperationGetIamPolicyCall), [*regions operations list*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionOperationListCall), [*regions operations set iam policy*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionOperationSetIamPolicyCall), [*regions operations test iam permissions*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionOperationTestIamPermissionCall), [*regions workflow templates create*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionWorkflowTemplateCreateCall), [*regions workflow templates delete*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionWorkflowTemplateDeleteCall), [*regions workflow templates get*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionWorkflowTemplateGetCall), [*regions workflow templates get iam policy*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionWorkflowTemplateGetIamPolicyCall), [*regions workflow templates instantiate*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionWorkflowTemplateInstantiateCall), [*regions workflow templates instantiate inline*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionWorkflowTemplateInstantiateInlineCall), [*regions workflow templates list*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionWorkflowTemplateListCall), [*regions workflow templates set iam policy*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionWorkflowTemplateSetIamPolicyCall), [*regions workflow templates test iam permissions*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionWorkflowTemplateTestIamPermissionCall) and [*regions workflow templates update*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/api::ProjectRegionWorkflowTemplateUpdateCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/Dataproc)** +* **[Hub](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/Dataproc)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/client::CallBuilder) -* **[Resources](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/client::CallBuilder) +* **[Resources](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/client::Part)** + * **[Parts](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -105,7 +105,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -141,17 +141,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -161,29 +161,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/client::Delegate) to the -[Method Builder](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/client::Delegate) to the +[Method Builder](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/client::RequestValue) and -[decodable](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/client::RequestValue) and +[decodable](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-dataproc1/3.0.0+20220224/google_dataproc1/client::RequestValue) are moved +* [request values](https://docs.rs/google-dataproc1/3.1.0+20220224/google_dataproc1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/dataproc1/src/api.rs b/gen/dataproc1/src/api.rs index 0782a31eb0..71b1f8652c 100644 --- a/gen/dataproc1/src/api.rs +++ b/gen/dataproc1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -122,7 +122,7 @@ impl<'a, > Dataproc<> { Dataproc { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://dataproc.googleapis.com/".to_string(), _root_url: "https://dataproc.googleapis.com/".to_string(), } @@ -133,7 +133,7 @@ impl<'a, > Dataproc<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -2433,7 +2433,7 @@ impl client::Part for YarnApplication {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_autoscaling_policies_create(...)`, `locations_autoscaling_policies_delete(...)`, `locations_autoscaling_policies_get(...)`, `locations_autoscaling_policies_get_iam_policy(...)`, `locations_autoscaling_policies_list(...)`, `locations_autoscaling_policies_set_iam_policy(...)`, `locations_autoscaling_policies_test_iam_permissions(...)`, `locations_autoscaling_policies_update(...)`, `locations_batches_create(...)`, `locations_batches_delete(...)`, `locations_batches_get(...)`, `locations_batches_list(...)`, `locations_workflow_templates_create(...)`, `locations_workflow_templates_delete(...)`, `locations_workflow_templates_get(...)`, `locations_workflow_templates_get_iam_policy(...)`, `locations_workflow_templates_instantiate(...)`, `locations_workflow_templates_instantiate_inline(...)`, `locations_workflow_templates_list(...)`, `locations_workflow_templates_set_iam_policy(...)`, `locations_workflow_templates_test_iam_permissions(...)`, `locations_workflow_templates_update(...)`, `regions_autoscaling_policies_create(...)`, `regions_autoscaling_policies_delete(...)`, `regions_autoscaling_policies_get(...)`, `regions_autoscaling_policies_get_iam_policy(...)`, `regions_autoscaling_policies_list(...)`, `regions_autoscaling_policies_set_iam_policy(...)`, `regions_autoscaling_policies_test_iam_permissions(...)`, `regions_autoscaling_policies_update(...)`, `regions_clusters_create(...)`, `regions_clusters_delete(...)`, `regions_clusters_diagnose(...)`, `regions_clusters_get(...)`, `regions_clusters_get_iam_policy(...)`, `regions_clusters_inject_credentials(...)`, `regions_clusters_list(...)`, `regions_clusters_patch(...)`, `regions_clusters_repair(...)`, `regions_clusters_set_iam_policy(...)`, `regions_clusters_start(...)`, `regions_clusters_stop(...)`, `regions_clusters_test_iam_permissions(...)`, `regions_jobs_cancel(...)`, `regions_jobs_delete(...)`, `regions_jobs_get(...)`, `regions_jobs_get_iam_policy(...)`, `regions_jobs_list(...)`, `regions_jobs_patch(...)`, `regions_jobs_set_iam_policy(...)`, `regions_jobs_submit(...)`, `regions_jobs_submit_as_operation(...)`, `regions_jobs_test_iam_permissions(...)`, `regions_operations_cancel(...)`, `regions_operations_delete(...)`, `regions_operations_get(...)`, `regions_operations_get_iam_policy(...)`, `regions_operations_list(...)`, `regions_operations_set_iam_policy(...)`, `regions_operations_test_iam_permissions(...)`, `regions_workflow_templates_create(...)`, `regions_workflow_templates_delete(...)`, `regions_workflow_templates_get(...)`, `regions_workflow_templates_get_iam_policy(...)`, `regions_workflow_templates_instantiate(...)`, `regions_workflow_templates_instantiate_inline(...)`, `regions_workflow_templates_list(...)`, `regions_workflow_templates_set_iam_policy(...)`, `regions_workflow_templates_test_iam_permissions(...)` and `regions_workflow_templates_update(...)` /// // to build up your call. @@ -3857,7 +3857,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4142,7 +4142,7 @@ impl<'a> ProjectLocationAutoscalingPolicyCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4398,7 +4398,7 @@ impl<'a> ProjectLocationAutoscalingPolicyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4655,7 +4655,7 @@ impl<'a> ProjectLocationAutoscalingPolicyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4940,7 +4940,7 @@ impl<'a> ProjectLocationAutoscalingPolicyGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5221,7 +5221,7 @@ impl<'a> ProjectLocationAutoscalingPolicyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5507,7 +5507,7 @@ impl<'a> ProjectLocationAutoscalingPolicySetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5793,7 +5793,7 @@ impl<'a> ProjectLocationAutoscalingPolicyTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6079,7 +6079,7 @@ impl<'a> ProjectLocationAutoscalingPolicyUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6388,7 +6388,7 @@ impl<'a> ProjectLocationBatcheCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6644,7 +6644,7 @@ impl<'a> ProjectLocationBatcheDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6900,7 +6900,7 @@ impl<'a> ProjectLocationBatcheGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7181,7 +7181,7 @@ impl<'a> ProjectLocationBatcheListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7466,7 +7466,7 @@ impl<'a> ProjectLocationWorkflowTemplateCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7734,7 +7734,7 @@ impl<'a> ProjectLocationWorkflowTemplateDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8003,7 +8003,7 @@ impl<'a> ProjectLocationWorkflowTemplateGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8289,7 +8289,7 @@ impl<'a> ProjectLocationWorkflowTemplateGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8575,7 +8575,7 @@ impl<'a> ProjectLocationWorkflowTemplateInstantiateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8872,7 +8872,7 @@ impl<'a> ProjectLocationWorkflowTemplateInstantiateInlineCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9153,7 +9153,7 @@ impl<'a> ProjectLocationWorkflowTemplateListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9439,7 +9439,7 @@ impl<'a> ProjectLocationWorkflowTemplateSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9725,7 +9725,7 @@ impl<'a> ProjectLocationWorkflowTemplateTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10011,7 +10011,7 @@ impl<'a> ProjectLocationWorkflowTemplateUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10296,7 +10296,7 @@ impl<'a> ProjectRegionAutoscalingPolicyCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10552,7 +10552,7 @@ impl<'a> ProjectRegionAutoscalingPolicyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10809,7 +10809,7 @@ impl<'a> ProjectRegionAutoscalingPolicyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11094,7 +11094,7 @@ impl<'a> ProjectRegionAutoscalingPolicyGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11375,7 +11375,7 @@ impl<'a> ProjectRegionAutoscalingPolicyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11661,7 +11661,7 @@ impl<'a> ProjectRegionAutoscalingPolicySetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11947,7 +11947,7 @@ impl<'a> ProjectRegionAutoscalingPolicyTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12233,7 +12233,7 @@ impl<'a> ProjectRegionAutoscalingPolicyUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12550,7 +12550,7 @@ impl<'a> ProjectRegionClusterCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12851,7 +12851,7 @@ impl<'a> ProjectRegionClusterDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13156,7 +13156,7 @@ impl<'a> ProjectRegionClusterDiagnoseCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13433,7 +13433,7 @@ impl<'a> ProjectRegionClusterGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13719,7 +13719,7 @@ impl<'a> ProjectRegionClusterGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14028,7 +14028,7 @@ impl<'a> ProjectRegionClusterInjectCredentialCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14329,7 +14329,7 @@ impl<'a> ProjectRegionClusterListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14671,7 +14671,7 @@ impl<'a> ProjectRegionClusterPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14977,7 +14977,7 @@ impl<'a> ProjectRegionClusterRepairCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15263,7 +15263,7 @@ impl<'a> ProjectRegionClusterSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15569,7 +15569,7 @@ impl<'a> ProjectRegionClusterStartCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15875,7 +15875,7 @@ impl<'a> ProjectRegionClusterStopCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16161,7 +16161,7 @@ impl<'a> ProjectRegionClusterTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16466,7 +16466,7 @@ impl<'a> ProjectRegionJobCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16742,7 +16742,7 @@ impl<'a> ProjectRegionJobDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17019,7 +17019,7 @@ impl<'a> ProjectRegionJobGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17304,7 +17304,7 @@ impl<'a> ProjectRegionJobGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17629,7 +17629,7 @@ impl<'a> ProjectRegionJobListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17947,7 +17947,7 @@ impl<'a> ProjectRegionJobPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18233,7 +18233,7 @@ impl<'a> ProjectRegionJobSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18527,7 +18527,7 @@ impl<'a> ProjectRegionJobSubmitCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18821,7 +18821,7 @@ impl<'a> ProjectRegionJobSubmitAsOperationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19106,7 +19106,7 @@ impl<'a> ProjectRegionJobTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19362,7 +19362,7 @@ impl<'a> ProjectRegionOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19618,7 +19618,7 @@ impl<'a> ProjectRegionOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19875,7 +19875,7 @@ impl<'a> ProjectRegionOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20160,7 +20160,7 @@ impl<'a> ProjectRegionOperationGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20453,7 +20453,7 @@ impl<'a> ProjectRegionOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20739,7 +20739,7 @@ impl<'a> ProjectRegionOperationSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21025,7 +21025,7 @@ impl<'a> ProjectRegionOperationTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21310,7 +21310,7 @@ impl<'a> ProjectRegionWorkflowTemplateCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21578,7 +21578,7 @@ impl<'a> ProjectRegionWorkflowTemplateDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21847,7 +21847,7 @@ impl<'a> ProjectRegionWorkflowTemplateGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22133,7 +22133,7 @@ impl<'a> ProjectRegionWorkflowTemplateGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22419,7 +22419,7 @@ impl<'a> ProjectRegionWorkflowTemplateInstantiateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22716,7 +22716,7 @@ impl<'a> ProjectRegionWorkflowTemplateInstantiateInlineCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22997,7 +22997,7 @@ impl<'a> ProjectRegionWorkflowTemplateListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23283,7 +23283,7 @@ impl<'a> ProjectRegionWorkflowTemplateSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23569,7 +23569,7 @@ impl<'a> ProjectRegionWorkflowTemplateTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/dataproc1/src/lib.rs b/gen/dataproc1/src/lib.rs index eccbde44df..4b6c64340e 100644 --- a/gen/dataproc1/src/lib.rs +++ b/gen/dataproc1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Dataproc* crate version *3.0.0+20220224*, where *20220224* is the exact revision of the *dataproc:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Dataproc* crate version *3.1.0+20220224*, where *20220224* is the exact revision of the *dataproc:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Dataproc* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/dataproc/). @@ -106,7 +106,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Dataproc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/datastore1-cli/Cargo.toml b/gen/datastore1-cli/Cargo.toml index b12a6661cd..c44e65d0e4 100644 --- a/gen/datastore1-cli/Cargo.toml +++ b/gen/datastore1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-datastore1-cli" -version = "3.0.0+20220221" +version = "3.1.0+20220221" authors = ["Sebastian Thiel "] description = "A complete library to interact with datastore (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/datastore1-cli" @@ -20,12 +20,12 @@ name = "datastore1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-datastore1] path = "../datastore1" -version = "3.0.0+20220221" +version = "3.1.0+20220221" diff --git a/gen/datastore1-cli/README.md b/gen/datastore1-cli/README.md index 7ba878e272..52901dcc75 100644 --- a/gen/datastore1-cli/README.md +++ b/gen/datastore1-cli/README.md @@ -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 *datastore* API at revision *20220221*. The CLI is at version *3.0.0*. +This documentation was generated from the *datastore* API at revision *20220221*. The CLI is at version *3.1.0*. ```bash datastore1 [options] diff --git a/gen/datastore1-cli/mkdocs.yml b/gen/datastore1-cli/mkdocs.yml index 8568a4a3bf..3c84cdebf2 100644 --- a/gen/datastore1-cli/mkdocs.yml +++ b/gen/datastore1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: datastore v3.0.0+20220221 +site_name: datastore v3.1.0+20220221 site_url: http://byron.github.io/google-apis-rs/google-datastore1-cli site_description: A complete library to interact with datastore (protocol v1) diff --git a/gen/datastore1-cli/src/main.rs b/gen/datastore1-cli/src/main.rs index c41b287860..f93df1e596 100644 --- a/gen/datastore1-cli/src/main.rs +++ b/gen/datastore1-cli/src/main.rs @@ -1412,7 +1412,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/datastore1", 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::Datastore::new(client, auth), @@ -1900,7 +1906,7 @@ async fn main() { let mut app = App::new("datastore1") .author("Sebastian Thiel ") - .version("3.0.0+20220221") + .version("3.1.0+20220221") .about("Accesses the schemaless NoSQL database to provide fully managed, robust, scalable storage for your application. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_datastore1_cli") .arg(Arg::with_name("url") diff --git a/gen/datastore1/Cargo.toml b/gen/datastore1/Cargo.toml index 92580f988d..2c2f7bf2d0 100644 --- a/gen/datastore1/Cargo.toml +++ b/gen/datastore1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-datastore1" -version = "3.0.0+20220221" +version = "3.1.0+20220221" authors = ["Sebastian Thiel "] description = "A complete library to interact with datastore (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/datastore1" homepage = "https://cloud.google.com/datastore/" -documentation = "https://docs.rs/google-datastore1/3.0.0+20220221" +documentation = "https://docs.rs/google-datastore1/3.1.0+20220221" license = "MIT" keywords = ["datastore", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/datastore1/README.md b/gen/datastore1/README.md index 66354f47cb..fb269bd080 100644 --- a/gen/datastore1/README.md +++ b/gen/datastore1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-datastore1` library allows access to all features of the *Google datastore* service. -This documentation was generated from *datastore* crate version *3.0.0+20220221*, where *20220221* is the exact revision of the *datastore:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *datastore* crate version *3.1.0+20220221*, where *20220221* is the exact revision of the *datastore:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *datastore* *v1* API can be found at the [official documentation site](https://cloud.google.com/datastore/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datastore1/3.0.0+20220221/google_datastore1/Datastore) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datastore1/3.1.0+20220221/google_datastore1/Datastore) ... * projects - * [*allocate ids*](https://docs.rs/google-datastore1/3.0.0+20220221/google_datastore1/api::ProjectAllocateIdCall), [*begin transaction*](https://docs.rs/google-datastore1/3.0.0+20220221/google_datastore1/api::ProjectBeginTransactionCall), [*commit*](https://docs.rs/google-datastore1/3.0.0+20220221/google_datastore1/api::ProjectCommitCall), [*export*](https://docs.rs/google-datastore1/3.0.0+20220221/google_datastore1/api::ProjectExportCall), [*import*](https://docs.rs/google-datastore1/3.0.0+20220221/google_datastore1/api::ProjectImportCall), [*indexes create*](https://docs.rs/google-datastore1/3.0.0+20220221/google_datastore1/api::ProjectIndexeCreateCall), [*indexes delete*](https://docs.rs/google-datastore1/3.0.0+20220221/google_datastore1/api::ProjectIndexeDeleteCall), [*indexes get*](https://docs.rs/google-datastore1/3.0.0+20220221/google_datastore1/api::ProjectIndexeGetCall), [*indexes list*](https://docs.rs/google-datastore1/3.0.0+20220221/google_datastore1/api::ProjectIndexeListCall), [*lookup*](https://docs.rs/google-datastore1/3.0.0+20220221/google_datastore1/api::ProjectLookupCall), [*operations cancel*](https://docs.rs/google-datastore1/3.0.0+20220221/google_datastore1/api::ProjectOperationCancelCall), [*operations delete*](https://docs.rs/google-datastore1/3.0.0+20220221/google_datastore1/api::ProjectOperationDeleteCall), [*operations get*](https://docs.rs/google-datastore1/3.0.0+20220221/google_datastore1/api::ProjectOperationGetCall), [*operations list*](https://docs.rs/google-datastore1/3.0.0+20220221/google_datastore1/api::ProjectOperationListCall), [*reserve ids*](https://docs.rs/google-datastore1/3.0.0+20220221/google_datastore1/api::ProjectReserveIdCall), [*rollback*](https://docs.rs/google-datastore1/3.0.0+20220221/google_datastore1/api::ProjectRollbackCall) and [*run query*](https://docs.rs/google-datastore1/3.0.0+20220221/google_datastore1/api::ProjectRunQueryCall) + * [*allocate ids*](https://docs.rs/google-datastore1/3.1.0+20220221/google_datastore1/api::ProjectAllocateIdCall), [*begin transaction*](https://docs.rs/google-datastore1/3.1.0+20220221/google_datastore1/api::ProjectBeginTransactionCall), [*commit*](https://docs.rs/google-datastore1/3.1.0+20220221/google_datastore1/api::ProjectCommitCall), [*export*](https://docs.rs/google-datastore1/3.1.0+20220221/google_datastore1/api::ProjectExportCall), [*import*](https://docs.rs/google-datastore1/3.1.0+20220221/google_datastore1/api::ProjectImportCall), [*indexes create*](https://docs.rs/google-datastore1/3.1.0+20220221/google_datastore1/api::ProjectIndexeCreateCall), [*indexes delete*](https://docs.rs/google-datastore1/3.1.0+20220221/google_datastore1/api::ProjectIndexeDeleteCall), [*indexes get*](https://docs.rs/google-datastore1/3.1.0+20220221/google_datastore1/api::ProjectIndexeGetCall), [*indexes list*](https://docs.rs/google-datastore1/3.1.0+20220221/google_datastore1/api::ProjectIndexeListCall), [*lookup*](https://docs.rs/google-datastore1/3.1.0+20220221/google_datastore1/api::ProjectLookupCall), [*operations cancel*](https://docs.rs/google-datastore1/3.1.0+20220221/google_datastore1/api::ProjectOperationCancelCall), [*operations delete*](https://docs.rs/google-datastore1/3.1.0+20220221/google_datastore1/api::ProjectOperationDeleteCall), [*operations get*](https://docs.rs/google-datastore1/3.1.0+20220221/google_datastore1/api::ProjectOperationGetCall), [*operations list*](https://docs.rs/google-datastore1/3.1.0+20220221/google_datastore1/api::ProjectOperationListCall), [*reserve ids*](https://docs.rs/google-datastore1/3.1.0+20220221/google_datastore1/api::ProjectReserveIdCall), [*rollback*](https://docs.rs/google-datastore1/3.1.0+20220221/google_datastore1/api::ProjectRollbackCall) and [*run query*](https://docs.rs/google-datastore1/3.1.0+20220221/google_datastore1/api::ProjectRunQueryCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-datastore1/3.0.0+20220221/google_datastore1/Datastore)** +* **[Hub](https://docs.rs/google-datastore1/3.1.0+20220221/google_datastore1/Datastore)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-datastore1/3.0.0+20220221/google_datastore1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-datastore1/3.0.0+20220221/google_datastore1/client::CallBuilder) -* **[Resources](https://docs.rs/google-datastore1/3.0.0+20220221/google_datastore1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-datastore1/3.1.0+20220221/google_datastore1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-datastore1/3.1.0+20220221/google_datastore1/client::CallBuilder) +* **[Resources](https://docs.rs/google-datastore1/3.1.0+20220221/google_datastore1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-datastore1/3.0.0+20220221/google_datastore1/client::Part)** + * **[Parts](https://docs.rs/google-datastore1/3.1.0+20220221/google_datastore1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-datastore1/3.0.0+20220221/google_datastore1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-datastore1/3.1.0+20220221/google_datastore1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -95,7 +95,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -128,17 +128,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-datastore1/3.0.0+20220221/google_datastore1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-datastore1/3.1.0+20220221/google_datastore1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-datastore1/3.0.0+20220221/google_datastore1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-datastore1/3.1.0+20220221/google_datastore1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-datastore1/3.0.0+20220221/google_datastore1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-datastore1/3.1.0+20220221/google_datastore1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-datastore1/3.0.0+20220221/google_datastore1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-datastore1/3.1.0+20220221/google_datastore1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -148,29 +148,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-datastore1/3.0.0+20220221/google_datastore1/client::Delegate) to the -[Method Builder](https://docs.rs/google-datastore1/3.0.0+20220221/google_datastore1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-datastore1/3.1.0+20220221/google_datastore1/client::Delegate) to the +[Method Builder](https://docs.rs/google-datastore1/3.1.0+20220221/google_datastore1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-datastore1/3.0.0+20220221/google_datastore1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-datastore1/3.1.0+20220221/google_datastore1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-datastore1/3.0.0+20220221/google_datastore1/client::RequestValue) and -[decodable](https://docs.rs/google-datastore1/3.0.0+20220221/google_datastore1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-datastore1/3.1.0+20220221/google_datastore1/client::RequestValue) and +[decodable](https://docs.rs/google-datastore1/3.1.0+20220221/google_datastore1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-datastore1/3.0.0+20220221/google_datastore1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-datastore1/3.1.0+20220221/google_datastore1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-datastore1/3.0.0+20220221/google_datastore1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-datastore1/3.1.0+20220221/google_datastore1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-datastore1/3.0.0+20220221/google_datastore1/client::RequestValue) are moved +* [request values](https://docs.rs/google-datastore1/3.1.0+20220221/google_datastore1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/datastore1/src/api.rs b/gen/datastore1/src/api.rs index 46526f8415..0b8028cbbb 100644 --- a/gen/datastore1/src/api.rs +++ b/gen/datastore1/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -123,7 +123,7 @@ impl<'a, > Datastore<> { Datastore { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://datastore.googleapis.com/".to_string(), _root_url: "https://datastore.googleapis.com/".to_string(), } @@ -134,7 +134,7 @@ impl<'a, > Datastore<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1141,7 +1141,7 @@ impl client::Part for Value {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `allocate_ids(...)`, `begin_transaction(...)`, `commit(...)`, `export(...)`, `import(...)`, `indexes_create(...)`, `indexes_delete(...)`, `indexes_get(...)`, `indexes_list(...)`, `lookup(...)`, `operations_cancel(...)`, `operations_delete(...)`, `operations_get(...)`, `operations_list(...)`, `reserve_ids(...)`, `rollback(...)` and `run_query(...)` /// // to build up your call. @@ -1509,7 +1509,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1790,7 +1790,7 @@ impl<'a> ProjectIndexeCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2054,7 +2054,7 @@ impl<'a> ProjectIndexeDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2318,7 +2318,7 @@ impl<'a> ProjectIndexeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2605,7 +2605,7 @@ impl<'a> ProjectIndexeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2861,7 +2861,7 @@ impl<'a> ProjectOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3117,7 +3117,7 @@ impl<'a> ProjectOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3373,7 +3373,7 @@ impl<'a> ProjectOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3666,7 +3666,7 @@ impl<'a> ProjectOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3948,7 +3948,7 @@ impl<'a> ProjectAllocateIdCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4230,7 +4230,7 @@ impl<'a> ProjectBeginTransactionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4512,7 +4512,7 @@ impl<'a> ProjectCommitCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4794,7 +4794,7 @@ impl<'a> ProjectExportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5076,7 +5076,7 @@ impl<'a> ProjectImportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5358,7 +5358,7 @@ impl<'a> ProjectLookupCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5640,7 +5640,7 @@ impl<'a> ProjectReserveIdCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5922,7 +5922,7 @@ impl<'a> ProjectRollbackCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/datastore1/src/lib.rs b/gen/datastore1/src/lib.rs index 5b52b64918..953bb1688d 100644 --- a/gen/datastore1/src/lib.rs +++ b/gen/datastore1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *datastore* crate version *3.0.0+20220221*, where *20220221* is the exact revision of the *datastore:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *datastore* crate version *3.1.0+20220221*, where *20220221* is the exact revision of the *datastore:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *datastore* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/datastore/). @@ -96,7 +96,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/datastore1_beta3-cli/Cargo.toml b/gen/datastore1_beta3-cli/Cargo.toml index 1d9e68e8ad..886c576234 100644 --- a/gen/datastore1_beta3-cli/Cargo.toml +++ b/gen/datastore1_beta3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-datastore1_beta3-cli" -version = "3.0.0+20220221" +version = "3.1.0+20220221" authors = ["Sebastian Thiel "] description = "A complete library to interact with datastore (protocol v1beta3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/datastore1_beta3-cli" @@ -20,12 +20,12 @@ name = "datastore1-beta3" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-datastore1_beta3] path = "../datastore1_beta3" -version = "3.0.0+20220221" +version = "3.1.0+20220221" diff --git a/gen/datastore1_beta3-cli/README.md b/gen/datastore1_beta3-cli/README.md index 6b02722ab7..dd3bc8be2d 100644 --- a/gen/datastore1_beta3-cli/README.md +++ b/gen/datastore1_beta3-cli/README.md @@ -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 *datastore* API at revision *20220221*. The CLI is at version *3.0.0*. +This documentation was generated from the *datastore* API at revision *20220221*. The CLI is at version *3.1.0*. ```bash datastore1-beta3 [options] diff --git a/gen/datastore1_beta3-cli/mkdocs.yml b/gen/datastore1_beta3-cli/mkdocs.yml index 696f2b6e21..cf0921d7f1 100644 --- a/gen/datastore1_beta3-cli/mkdocs.yml +++ b/gen/datastore1_beta3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: datastore v3.0.0+20220221 +site_name: datastore v3.1.0+20220221 site_url: http://byron.github.io/google-apis-rs/google-datastore1_beta3-cli site_description: A complete library to interact with datastore (protocol v1beta3) diff --git a/gen/datastore1_beta3-cli/src/main.rs b/gen/datastore1_beta3-cli/src/main.rs index 040eb341cc..47e9a1f137 100644 --- a/gen/datastore1_beta3-cli/src/main.rs +++ b/gen/datastore1_beta3-cli/src/main.rs @@ -733,7 +733,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/datastore1-beta3", 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::Datastore::new(client, auth), @@ -971,7 +977,7 @@ async fn main() { let mut app = App::new("datastore1-beta3") .author("Sebastian Thiel ") - .version("3.0.0+20220221") + .version("3.1.0+20220221") .about("Accesses the schemaless NoSQL database to provide fully managed, robust, scalable storage for your application. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_datastore1_beta3_cli") .arg(Arg::with_name("url") diff --git a/gen/datastore1_beta3/Cargo.toml b/gen/datastore1_beta3/Cargo.toml index ae74f67fa8..18638129d1 100644 --- a/gen/datastore1_beta3/Cargo.toml +++ b/gen/datastore1_beta3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-datastore1_beta3" -version = "3.0.0+20220221" +version = "3.1.0+20220221" authors = ["Sebastian Thiel "] description = "A complete library to interact with datastore (protocol v1beta3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/datastore1_beta3" homepage = "https://cloud.google.com/datastore/" -documentation = "https://docs.rs/google-datastore1_beta3/3.0.0+20220221" +documentation = "https://docs.rs/google-datastore1_beta3/3.1.0+20220221" license = "MIT" keywords = ["datastore", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/datastore1_beta3/README.md b/gen/datastore1_beta3/README.md index 9aaa2b8eb8..f99729b3ad 100644 --- a/gen/datastore1_beta3/README.md +++ b/gen/datastore1_beta3/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-datastore1_beta3` library allows access to all features of the *Google datastore* service. -This documentation was generated from *datastore* crate version *3.0.0+20220221*, where *20220221* is the exact revision of the *datastore:v1beta3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *datastore* crate version *3.1.0+20220221*, where *20220221* is the exact revision of the *datastore:v1beta3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *datastore* *v1_beta3* API can be found at the [official documentation site](https://cloud.google.com/datastore/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datastore1_beta3/3.0.0+20220221/google_datastore1_beta3/Datastore) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datastore1_beta3/3.1.0+20220221/google_datastore1_beta3/Datastore) ... * projects - * [*allocate ids*](https://docs.rs/google-datastore1_beta3/3.0.0+20220221/google_datastore1_beta3/api::ProjectAllocateIdCall), [*begin transaction*](https://docs.rs/google-datastore1_beta3/3.0.0+20220221/google_datastore1_beta3/api::ProjectBeginTransactionCall), [*commit*](https://docs.rs/google-datastore1_beta3/3.0.0+20220221/google_datastore1_beta3/api::ProjectCommitCall), [*lookup*](https://docs.rs/google-datastore1_beta3/3.0.0+20220221/google_datastore1_beta3/api::ProjectLookupCall), [*reserve ids*](https://docs.rs/google-datastore1_beta3/3.0.0+20220221/google_datastore1_beta3/api::ProjectReserveIdCall), [*rollback*](https://docs.rs/google-datastore1_beta3/3.0.0+20220221/google_datastore1_beta3/api::ProjectRollbackCall) and [*run query*](https://docs.rs/google-datastore1_beta3/3.0.0+20220221/google_datastore1_beta3/api::ProjectRunQueryCall) + * [*allocate ids*](https://docs.rs/google-datastore1_beta3/3.1.0+20220221/google_datastore1_beta3/api::ProjectAllocateIdCall), [*begin transaction*](https://docs.rs/google-datastore1_beta3/3.1.0+20220221/google_datastore1_beta3/api::ProjectBeginTransactionCall), [*commit*](https://docs.rs/google-datastore1_beta3/3.1.0+20220221/google_datastore1_beta3/api::ProjectCommitCall), [*lookup*](https://docs.rs/google-datastore1_beta3/3.1.0+20220221/google_datastore1_beta3/api::ProjectLookupCall), [*reserve ids*](https://docs.rs/google-datastore1_beta3/3.1.0+20220221/google_datastore1_beta3/api::ProjectReserveIdCall), [*rollback*](https://docs.rs/google-datastore1_beta3/3.1.0+20220221/google_datastore1_beta3/api::ProjectRollbackCall) and [*run query*](https://docs.rs/google-datastore1_beta3/3.1.0+20220221/google_datastore1_beta3/api::ProjectRunQueryCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-datastore1_beta3/3.0.0+20220221/google_datastore1_beta3/Datastore)** +* **[Hub](https://docs.rs/google-datastore1_beta3/3.1.0+20220221/google_datastore1_beta3/Datastore)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-datastore1_beta3/3.0.0+20220221/google_datastore1_beta3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-datastore1_beta3/3.0.0+20220221/google_datastore1_beta3/client::CallBuilder) -* **[Resources](https://docs.rs/google-datastore1_beta3/3.0.0+20220221/google_datastore1_beta3/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-datastore1_beta3/3.1.0+20220221/google_datastore1_beta3/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-datastore1_beta3/3.1.0+20220221/google_datastore1_beta3/client::CallBuilder) +* **[Resources](https://docs.rs/google-datastore1_beta3/3.1.0+20220221/google_datastore1_beta3/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-datastore1_beta3/3.0.0+20220221/google_datastore1_beta3/client::Part)** + * **[Parts](https://docs.rs/google-datastore1_beta3/3.1.0+20220221/google_datastore1_beta3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-datastore1_beta3/3.0.0+20220221/google_datastore1_beta3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-datastore1_beta3/3.1.0+20220221/google_datastore1_beta3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -91,7 +91,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -124,17 +124,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-datastore1_beta3/3.0.0+20220221/google_datastore1_beta3/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-datastore1_beta3/3.1.0+20220221/google_datastore1_beta3/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-datastore1_beta3/3.0.0+20220221/google_datastore1_beta3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-datastore1_beta3/3.1.0+20220221/google_datastore1_beta3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-datastore1_beta3/3.0.0+20220221/google_datastore1_beta3/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-datastore1_beta3/3.1.0+20220221/google_datastore1_beta3/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-datastore1_beta3/3.0.0+20220221/google_datastore1_beta3/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-datastore1_beta3/3.1.0+20220221/google_datastore1_beta3/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -144,29 +144,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-datastore1_beta3/3.0.0+20220221/google_datastore1_beta3/client::Delegate) to the -[Method Builder](https://docs.rs/google-datastore1_beta3/3.0.0+20220221/google_datastore1_beta3/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-datastore1_beta3/3.1.0+20220221/google_datastore1_beta3/client::Delegate) to the +[Method Builder](https://docs.rs/google-datastore1_beta3/3.1.0+20220221/google_datastore1_beta3/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-datastore1_beta3/3.0.0+20220221/google_datastore1_beta3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-datastore1_beta3/3.1.0+20220221/google_datastore1_beta3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-datastore1_beta3/3.0.0+20220221/google_datastore1_beta3/client::RequestValue) and -[decodable](https://docs.rs/google-datastore1_beta3/3.0.0+20220221/google_datastore1_beta3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-datastore1_beta3/3.1.0+20220221/google_datastore1_beta3/client::RequestValue) and +[decodable](https://docs.rs/google-datastore1_beta3/3.1.0+20220221/google_datastore1_beta3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-datastore1_beta3/3.0.0+20220221/google_datastore1_beta3/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-datastore1_beta3/3.1.0+20220221/google_datastore1_beta3/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-datastore1_beta3/3.0.0+20220221/google_datastore1_beta3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-datastore1_beta3/3.1.0+20220221/google_datastore1_beta3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-datastore1_beta3/3.0.0+20220221/google_datastore1_beta3/client::RequestValue) are moved +* [request values](https://docs.rs/google-datastore1_beta3/3.1.0+20220221/google_datastore1_beta3/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/datastore1_beta3/src/api.rs b/gen/datastore1_beta3/src/api.rs index ae72bc91b5..e8c4b32edd 100644 --- a/gen/datastore1_beta3/src/api.rs +++ b/gen/datastore1_beta3/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -123,7 +123,7 @@ impl<'a, > Datastore<> { Datastore { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://datastore.googleapis.com/".to_string(), _root_url: "https://datastore.googleapis.com/".to_string(), } @@ -134,7 +134,7 @@ impl<'a, > Datastore<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -925,7 +925,7 @@ impl client::Part for Value {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `allocate_ids(...)`, `begin_transaction(...)`, `commit(...)`, `lookup(...)`, `reserve_ids(...)`, `rollback(...)` and `run_query(...)` /// // to build up your call. @@ -1107,7 +1107,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1389,7 +1389,7 @@ impl<'a> ProjectAllocateIdCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1671,7 +1671,7 @@ impl<'a> ProjectBeginTransactionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1953,7 +1953,7 @@ impl<'a> ProjectCommitCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2235,7 +2235,7 @@ impl<'a> ProjectLookupCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2517,7 +2517,7 @@ impl<'a> ProjectReserveIdCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2799,7 +2799,7 @@ impl<'a> ProjectRollbackCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/datastore1_beta3/src/lib.rs b/gen/datastore1_beta3/src/lib.rs index cfd69770c4..391bc96270 100644 --- a/gen/datastore1_beta3/src/lib.rs +++ b/gen/datastore1_beta3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *datastore* crate version *3.0.0+20220221*, where *20220221* is the exact revision of the *datastore:v1beta3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *datastore* crate version *3.1.0+20220221*, where *20220221* is the exact revision of the *datastore:v1beta3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *datastore* *v1_beta3* API can be found at the //! [official documentation site](https://cloud.google.com/datastore/). @@ -92,7 +92,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Datastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/datastream1-cli/Cargo.toml b/gen/datastream1-cli/Cargo.toml index 699dfd57ca..5622db6787 100644 --- a/gen/datastream1-cli/Cargo.toml +++ b/gen/datastream1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-datastream1-cli" -version = "3.0.0+20220207" +version = "3.1.0+20220207" authors = ["Sebastian Thiel "] description = "A complete library to interact with Datastream (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/datastream1-cli" @@ -20,12 +20,12 @@ name = "datastream1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-datastream1] path = "../datastream1" -version = "3.0.0+20220207" +version = "3.1.0+20220207" diff --git a/gen/datastream1-cli/README.md b/gen/datastream1-cli/README.md index 0664d5533e..c997067203 100644 --- a/gen/datastream1-cli/README.md +++ b/gen/datastream1-cli/README.md @@ -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 *Datastream* API at revision *20220207*. The CLI is at version *3.0.0*. +This documentation was generated from the *Datastream* API at revision *20220207*. The CLI is at version *3.1.0*. ```bash datastream1 [options] diff --git a/gen/datastream1-cli/mkdocs.yml b/gen/datastream1-cli/mkdocs.yml index ab2833a249..5ebf84a946 100644 --- a/gen/datastream1-cli/mkdocs.yml +++ b/gen/datastream1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Datastream v3.0.0+20220207 +site_name: Datastream v3.1.0+20220207 site_url: http://byron.github.io/google-apis-rs/google-datastream1-cli site_description: A complete library to interact with Datastream (protocol v1) diff --git a/gen/datastream1-cli/src/main.rs b/gen/datastream1-cli/src/main.rs index 456ee1bef7..39adbdbf46 100644 --- a/gen/datastream1-cli/src/main.rs +++ b/gen/datastream1-cli/src/main.rs @@ -2459,7 +2459,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/datastream1", 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::Datastream::new(client, auth), @@ -3249,7 +3255,7 @@ async fn main() { let mut app = App::new("datastream1") .author("Sebastian Thiel ") - .version("3.0.0+20220207") + .version("3.1.0+20220207") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_datastream1_cli") .arg(Arg::with_name("url") diff --git a/gen/datastream1/Cargo.toml b/gen/datastream1/Cargo.toml index 1ab60073f4..405ab6441d 100644 --- a/gen/datastream1/Cargo.toml +++ b/gen/datastream1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-datastream1" -version = "3.0.0+20220207" +version = "3.1.0+20220207" authors = ["Sebastian Thiel "] description = "A complete library to interact with Datastream (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/datastream1" homepage = "https://cloud.google.com/datastream/" -documentation = "https://docs.rs/google-datastream1/3.0.0+20220207" +documentation = "https://docs.rs/google-datastream1/3.1.0+20220207" license = "MIT" keywords = ["datastream", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/datastream1/README.md b/gen/datastream1/README.md index 293f30d6c3..ea83d29ec2 100644 --- a/gen/datastream1/README.md +++ b/gen/datastream1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-datastream1` library allows access to all features of the *Google Datastream* service. -This documentation was generated from *Datastream* crate version *3.0.0+20220207*, where *20220207* is the exact revision of the *datastream:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Datastream* crate version *3.1.0+20220207*, where *20220207* is the exact revision of the *datastream:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Datastream* *v1* API can be found at the [official documentation site](https://cloud.google.com/datastream/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/Datastream) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/Datastream) ... * projects - * [*locations connection profiles create*](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/api::ProjectLocationConnectionProfileCreateCall), [*locations connection profiles delete*](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/api::ProjectLocationConnectionProfileDeleteCall), [*locations connection profiles discover*](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/api::ProjectLocationConnectionProfileDiscoverCall), [*locations connection profiles get*](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/api::ProjectLocationConnectionProfileGetCall), [*locations connection profiles list*](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/api::ProjectLocationConnectionProfileListCall), [*locations connection profiles patch*](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/api::ProjectLocationConnectionProfilePatchCall), [*locations fetch static ips*](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/api::ProjectLocationFetchStaticIpCall), [*locations get*](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/api::ProjectLocationOperationListCall), [*locations private connections create*](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/api::ProjectLocationPrivateConnectionCreateCall), [*locations private connections delete*](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/api::ProjectLocationPrivateConnectionDeleteCall), [*locations private connections get*](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/api::ProjectLocationPrivateConnectionGetCall), [*locations private connections list*](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/api::ProjectLocationPrivateConnectionListCall), [*locations private connections routes create*](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/api::ProjectLocationPrivateConnectionRouteCreateCall), [*locations private connections routes delete*](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/api::ProjectLocationPrivateConnectionRouteDeleteCall), [*locations private connections routes get*](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/api::ProjectLocationPrivateConnectionRouteGetCall), [*locations private connections routes list*](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/api::ProjectLocationPrivateConnectionRouteListCall), [*locations streams create*](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/api::ProjectLocationStreamCreateCall), [*locations streams delete*](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/api::ProjectLocationStreamDeleteCall), [*locations streams get*](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/api::ProjectLocationStreamGetCall), [*locations streams list*](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/api::ProjectLocationStreamListCall), [*locations streams objects get*](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/api::ProjectLocationStreamObjectGetCall), [*locations streams objects list*](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/api::ProjectLocationStreamObjectListCall), [*locations streams objects lookup*](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/api::ProjectLocationStreamObjectLookupCall), [*locations streams objects start backfill job*](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/api::ProjectLocationStreamObjectStartBackfillJobCall), [*locations streams objects stop backfill job*](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/api::ProjectLocationStreamObjectStopBackfillJobCall) and [*locations streams patch*](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/api::ProjectLocationStreamPatchCall) + * [*locations connection profiles create*](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/api::ProjectLocationConnectionProfileCreateCall), [*locations connection profiles delete*](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/api::ProjectLocationConnectionProfileDeleteCall), [*locations connection profiles discover*](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/api::ProjectLocationConnectionProfileDiscoverCall), [*locations connection profiles get*](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/api::ProjectLocationConnectionProfileGetCall), [*locations connection profiles list*](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/api::ProjectLocationConnectionProfileListCall), [*locations connection profiles patch*](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/api::ProjectLocationConnectionProfilePatchCall), [*locations fetch static ips*](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/api::ProjectLocationFetchStaticIpCall), [*locations get*](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/api::ProjectLocationOperationListCall), [*locations private connections create*](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/api::ProjectLocationPrivateConnectionCreateCall), [*locations private connections delete*](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/api::ProjectLocationPrivateConnectionDeleteCall), [*locations private connections get*](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/api::ProjectLocationPrivateConnectionGetCall), [*locations private connections list*](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/api::ProjectLocationPrivateConnectionListCall), [*locations private connections routes create*](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/api::ProjectLocationPrivateConnectionRouteCreateCall), [*locations private connections routes delete*](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/api::ProjectLocationPrivateConnectionRouteDeleteCall), [*locations private connections routes get*](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/api::ProjectLocationPrivateConnectionRouteGetCall), [*locations private connections routes list*](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/api::ProjectLocationPrivateConnectionRouteListCall), [*locations streams create*](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/api::ProjectLocationStreamCreateCall), [*locations streams delete*](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/api::ProjectLocationStreamDeleteCall), [*locations streams get*](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/api::ProjectLocationStreamGetCall), [*locations streams list*](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/api::ProjectLocationStreamListCall), [*locations streams objects get*](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/api::ProjectLocationStreamObjectGetCall), [*locations streams objects list*](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/api::ProjectLocationStreamObjectListCall), [*locations streams objects lookup*](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/api::ProjectLocationStreamObjectLookupCall), [*locations streams objects start backfill job*](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/api::ProjectLocationStreamObjectStartBackfillJobCall), [*locations streams objects stop backfill job*](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/api::ProjectLocationStreamObjectStopBackfillJobCall) and [*locations streams patch*](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/api::ProjectLocationStreamPatchCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/Datastream)** +* **[Hub](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/Datastream)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/client::CallBuilder) -* **[Resources](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/client::CallBuilder) +* **[Resources](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/client::Part)** + * **[Parts](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -101,7 +101,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -138,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -158,29 +158,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/client::Delegate) to the -[Method Builder](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/client::Delegate) to the +[Method Builder](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/client::RequestValue) and -[decodable](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/client::RequestValue) and +[decodable](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-datastream1/3.0.0+20220207/google_datastream1/client::RequestValue) are moved +* [request values](https://docs.rs/google-datastream1/3.1.0+20220207/google_datastream1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/datastream1/src/api.rs b/gen/datastream1/src/api.rs index 1c8e0ab690..51b3e49e94 100644 --- a/gen/datastream1/src/api.rs +++ b/gen/datastream1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -123,7 +123,7 @@ impl<'a, > Datastream<> { Datastream { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://datastream.googleapis.com/".to_string(), _root_url: "https://datastream.googleapis.com/".to_string(), } @@ -134,7 +134,7 @@ impl<'a, > Datastream<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1380,7 +1380,7 @@ impl client::Part for VpcPeeringConfig {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_connection_profiles_create(...)`, `locations_connection_profiles_delete(...)`, `locations_connection_profiles_discover(...)`, `locations_connection_profiles_get(...)`, `locations_connection_profiles_list(...)`, `locations_connection_profiles_patch(...)`, `locations_fetch_static_ips(...)`, `locations_get(...)`, `locations_list(...)`, `locations_operations_cancel(...)`, `locations_operations_delete(...)`, `locations_operations_get(...)`, `locations_operations_list(...)`, `locations_private_connections_create(...)`, `locations_private_connections_delete(...)`, `locations_private_connections_get(...)`, `locations_private_connections_list(...)`, `locations_private_connections_routes_create(...)`, `locations_private_connections_routes_delete(...)`, `locations_private_connections_routes_get(...)`, `locations_private_connections_routes_list(...)`, `locations_streams_create(...)`, `locations_streams_delete(...)`, `locations_streams_get(...)`, `locations_streams_list(...)`, `locations_streams_objects_get(...)`, `locations_streams_objects_list(...)`, `locations_streams_objects_lookup(...)`, `locations_streams_objects_start_backfill_job(...)`, `locations_streams_objects_stop_backfill_job(...)` and `locations_streams_patch(...)` /// // to build up your call. @@ -2029,7 +2029,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2362,7 +2362,7 @@ impl<'a> ProjectLocationConnectionProfileCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2631,7 +2631,7 @@ impl<'a> ProjectLocationConnectionProfileDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2916,7 +2916,7 @@ impl<'a> ProjectLocationConnectionProfileDiscoverCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3172,7 +3172,7 @@ impl<'a> ProjectLocationConnectionProfileGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3477,7 +3477,7 @@ impl<'a> ProjectLocationConnectionProfileListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3811,7 +3811,7 @@ impl<'a> ProjectLocationConnectionProfilePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4096,7 +4096,7 @@ impl<'a> ProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4352,7 +4352,7 @@ impl<'a> ProjectLocationOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4608,7 +4608,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4901,7 +4901,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5210,7 +5210,7 @@ impl<'a> ProjectLocationPrivateConnectionRouteCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5478,7 +5478,7 @@ impl<'a> ProjectLocationPrivateConnectionRouteDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5734,7 +5734,7 @@ impl<'a> ProjectLocationPrivateConnectionRouteGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6039,7 +6039,7 @@ impl<'a> ProjectLocationPrivateConnectionRouteListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6348,7 +6348,7 @@ impl<'a> ProjectLocationPrivateConnectionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6628,7 +6628,7 @@ impl<'a> ProjectLocationPrivateConnectionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6884,7 +6884,7 @@ impl<'a> ProjectLocationPrivateConnectionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7188,7 +7188,7 @@ impl<'a> ProjectLocationPrivateConnectionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7444,7 +7444,7 @@ impl<'a> ProjectLocationStreamObjectGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7725,7 +7725,7 @@ impl<'a> ProjectLocationStreamObjectListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8011,7 +8011,7 @@ impl<'a> ProjectLocationStreamObjectLookupCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8297,7 +8297,7 @@ impl<'a> ProjectLocationStreamObjectStartBackfillJobCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8583,7 +8583,7 @@ impl<'a> ProjectLocationStreamObjectStopBackfillJobCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8916,7 +8916,7 @@ impl<'a> ProjectLocationStreamCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9184,7 +9184,7 @@ impl<'a> ProjectLocationStreamDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9440,7 +9440,7 @@ impl<'a> ProjectLocationStreamGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9745,7 +9745,7 @@ impl<'a> ProjectLocationStreamListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10078,7 +10078,7 @@ impl<'a> ProjectLocationStreamPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10358,7 +10358,7 @@ impl<'a> ProjectLocationFetchStaticIpCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10614,7 +10614,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/datastream1/src/lib.rs b/gen/datastream1/src/lib.rs index fb27380f56..532f6a86c7 100644 --- a/gen/datastream1/src/lib.rs +++ b/gen/datastream1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Datastream* crate version *3.0.0+20220207*, where *20220207* is the exact revision of the *datastream:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Datastream* crate version *3.1.0+20220207*, where *20220207* is the exact revision of the *datastream:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Datastream* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/datastream/). @@ -102,7 +102,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Datastream::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/deploymentmanager2-cli/Cargo.toml b/gen/deploymentmanager2-cli/Cargo.toml index 149ffbf3b6..38490ff247 100644 --- a/gen/deploymentmanager2-cli/Cargo.toml +++ b/gen/deploymentmanager2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-deploymentmanager2-cli" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with Deployment Manager (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/deploymentmanager2-cli" @@ -20,12 +20,12 @@ name = "deploymentmanager2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-deploymentmanager2] path = "../deploymentmanager2" -version = "3.0.0+20220225" +version = "3.1.0+20220225" diff --git a/gen/deploymentmanager2-cli/README.md b/gen/deploymentmanager2-cli/README.md index d04c78f097..901a414718 100644 --- a/gen/deploymentmanager2-cli/README.md +++ b/gen/deploymentmanager2-cli/README.md @@ -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 *Deployment Manager* API at revision *20220225*. The CLI is at version *3.0.0*. +This documentation was generated from the *Deployment Manager* API at revision *20220225*. The CLI is at version *3.1.0*. ```bash deploymentmanager2 [options] diff --git a/gen/deploymentmanager2-cli/mkdocs.yml b/gen/deploymentmanager2-cli/mkdocs.yml index f28142d835..993fce2faf 100644 --- a/gen/deploymentmanager2-cli/mkdocs.yml +++ b/gen/deploymentmanager2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Deployment Manager v3.0.0+20220225 +site_name: Deployment Manager v3.1.0+20220225 site_url: http://byron.github.io/google-apis-rs/google-deploymentmanager2-cli site_description: A complete library to interact with Deployment Manager (protocol v2) diff --git a/gen/deploymentmanager2-cli/src/main.rs b/gen/deploymentmanager2-cli/src/main.rs index 442126b580..2cef856a61 100644 --- a/gen/deploymentmanager2-cli/src/main.rs +++ b/gen/deploymentmanager2-cli/src/main.rs @@ -1540,7 +1540,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/deploymentmanager2", 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::DeploymentManager::new(client, auth), @@ -2128,7 +2134,7 @@ async fn main() { let mut app = App::new("deploymentmanager2") .author("Sebastian Thiel ") - .version("3.0.0+20220225") + .version("3.1.0+20220225") .about("The Google Cloud Deployment Manager v2 API provides services for configuring, deploying, and viewing Google Cloud services and APIs via templates which specify deployments of Cloud resources.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_deploymentmanager2_cli") .arg(Arg::with_name("url") diff --git a/gen/deploymentmanager2/Cargo.toml b/gen/deploymentmanager2/Cargo.toml index 6a8264ee6d..4cb1587450 100644 --- a/gen/deploymentmanager2/Cargo.toml +++ b/gen/deploymentmanager2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-deploymentmanager2" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with Deployment Manager (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/deploymentmanager2" homepage = "https://cloud.google.com/deployment-manager" -documentation = "https://docs.rs/google-deploymentmanager2/3.0.0+20220225" +documentation = "https://docs.rs/google-deploymentmanager2/3.1.0+20220225" license = "MIT" keywords = ["deploymentmanager", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/deploymentmanager2/README.md b/gen/deploymentmanager2/README.md index 77ee60b4de..a8338ace53 100644 --- a/gen/deploymentmanager2/README.md +++ b/gen/deploymentmanager2/README.md @@ -5,24 +5,24 @@ DO NOT EDIT ! --> The `google-deploymentmanager2` library allows access to all features of the *Google Deployment Manager* service. -This documentation was generated from *Deployment Manager* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *deploymentmanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Deployment Manager* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *deploymentmanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Deployment Manager* *v2* API can be found at the [official documentation site](https://cloud.google.com/deployment-manager). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-deploymentmanager2/3.0.0+20220225/google_deploymentmanager2/DeploymentManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-deploymentmanager2/3.1.0+20220225/google_deploymentmanager2/DeploymentManager) ... -* [deployments](https://docs.rs/google-deploymentmanager2/3.0.0+20220225/google_deploymentmanager2/api::Deployment) - * [*cancel preview*](https://docs.rs/google-deploymentmanager2/3.0.0+20220225/google_deploymentmanager2/api::DeploymentCancelPreviewCall), [*delete*](https://docs.rs/google-deploymentmanager2/3.0.0+20220225/google_deploymentmanager2/api::DeploymentDeleteCall), [*get*](https://docs.rs/google-deploymentmanager2/3.0.0+20220225/google_deploymentmanager2/api::DeploymentGetCall), [*get iam policy*](https://docs.rs/google-deploymentmanager2/3.0.0+20220225/google_deploymentmanager2/api::DeploymentGetIamPolicyCall), [*insert*](https://docs.rs/google-deploymentmanager2/3.0.0+20220225/google_deploymentmanager2/api::DeploymentInsertCall), [*list*](https://docs.rs/google-deploymentmanager2/3.0.0+20220225/google_deploymentmanager2/api::DeploymentListCall), [*patch*](https://docs.rs/google-deploymentmanager2/3.0.0+20220225/google_deploymentmanager2/api::DeploymentPatchCall), [*set iam policy*](https://docs.rs/google-deploymentmanager2/3.0.0+20220225/google_deploymentmanager2/api::DeploymentSetIamPolicyCall), [*stop*](https://docs.rs/google-deploymentmanager2/3.0.0+20220225/google_deploymentmanager2/api::DeploymentStopCall), [*test iam permissions*](https://docs.rs/google-deploymentmanager2/3.0.0+20220225/google_deploymentmanager2/api::DeploymentTestIamPermissionCall) and [*update*](https://docs.rs/google-deploymentmanager2/3.0.0+20220225/google_deploymentmanager2/api::DeploymentUpdateCall) -* [manifests](https://docs.rs/google-deploymentmanager2/3.0.0+20220225/google_deploymentmanager2/api::Manifest) - * [*get*](https://docs.rs/google-deploymentmanager2/3.0.0+20220225/google_deploymentmanager2/api::ManifestGetCall) and [*list*](https://docs.rs/google-deploymentmanager2/3.0.0+20220225/google_deploymentmanager2/api::ManifestListCall) -* [operations](https://docs.rs/google-deploymentmanager2/3.0.0+20220225/google_deploymentmanager2/api::Operation) - * [*get*](https://docs.rs/google-deploymentmanager2/3.0.0+20220225/google_deploymentmanager2/api::OperationGetCall) and [*list*](https://docs.rs/google-deploymentmanager2/3.0.0+20220225/google_deploymentmanager2/api::OperationListCall) -* [resources](https://docs.rs/google-deploymentmanager2/3.0.0+20220225/google_deploymentmanager2/api::Resource) - * [*get*](https://docs.rs/google-deploymentmanager2/3.0.0+20220225/google_deploymentmanager2/api::ResourceGetCall) and [*list*](https://docs.rs/google-deploymentmanager2/3.0.0+20220225/google_deploymentmanager2/api::ResourceListCall) -* [types](https://docs.rs/google-deploymentmanager2/3.0.0+20220225/google_deploymentmanager2/api::Type) - * [*list*](https://docs.rs/google-deploymentmanager2/3.0.0+20220225/google_deploymentmanager2/api::TypeListCall) +* [deployments](https://docs.rs/google-deploymentmanager2/3.1.0+20220225/google_deploymentmanager2/api::Deployment) + * [*cancel preview*](https://docs.rs/google-deploymentmanager2/3.1.0+20220225/google_deploymentmanager2/api::DeploymentCancelPreviewCall), [*delete*](https://docs.rs/google-deploymentmanager2/3.1.0+20220225/google_deploymentmanager2/api::DeploymentDeleteCall), [*get*](https://docs.rs/google-deploymentmanager2/3.1.0+20220225/google_deploymentmanager2/api::DeploymentGetCall), [*get iam policy*](https://docs.rs/google-deploymentmanager2/3.1.0+20220225/google_deploymentmanager2/api::DeploymentGetIamPolicyCall), [*insert*](https://docs.rs/google-deploymentmanager2/3.1.0+20220225/google_deploymentmanager2/api::DeploymentInsertCall), [*list*](https://docs.rs/google-deploymentmanager2/3.1.0+20220225/google_deploymentmanager2/api::DeploymentListCall), [*patch*](https://docs.rs/google-deploymentmanager2/3.1.0+20220225/google_deploymentmanager2/api::DeploymentPatchCall), [*set iam policy*](https://docs.rs/google-deploymentmanager2/3.1.0+20220225/google_deploymentmanager2/api::DeploymentSetIamPolicyCall), [*stop*](https://docs.rs/google-deploymentmanager2/3.1.0+20220225/google_deploymentmanager2/api::DeploymentStopCall), [*test iam permissions*](https://docs.rs/google-deploymentmanager2/3.1.0+20220225/google_deploymentmanager2/api::DeploymentTestIamPermissionCall) and [*update*](https://docs.rs/google-deploymentmanager2/3.1.0+20220225/google_deploymentmanager2/api::DeploymentUpdateCall) +* [manifests](https://docs.rs/google-deploymentmanager2/3.1.0+20220225/google_deploymentmanager2/api::Manifest) + * [*get*](https://docs.rs/google-deploymentmanager2/3.1.0+20220225/google_deploymentmanager2/api::ManifestGetCall) and [*list*](https://docs.rs/google-deploymentmanager2/3.1.0+20220225/google_deploymentmanager2/api::ManifestListCall) +* [operations](https://docs.rs/google-deploymentmanager2/3.1.0+20220225/google_deploymentmanager2/api::Operation) + * [*get*](https://docs.rs/google-deploymentmanager2/3.1.0+20220225/google_deploymentmanager2/api::OperationGetCall) and [*list*](https://docs.rs/google-deploymentmanager2/3.1.0+20220225/google_deploymentmanager2/api::OperationListCall) +* [resources](https://docs.rs/google-deploymentmanager2/3.1.0+20220225/google_deploymentmanager2/api::Resource) + * [*get*](https://docs.rs/google-deploymentmanager2/3.1.0+20220225/google_deploymentmanager2/api::ResourceGetCall) and [*list*](https://docs.rs/google-deploymentmanager2/3.1.0+20220225/google_deploymentmanager2/api::ResourceListCall) +* [types](https://docs.rs/google-deploymentmanager2/3.1.0+20220225/google_deploymentmanager2/api::Type) + * [*list*](https://docs.rs/google-deploymentmanager2/3.1.0+20220225/google_deploymentmanager2/api::TypeListCall) @@ -31,17 +31,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-deploymentmanager2/3.0.0+20220225/google_deploymentmanager2/DeploymentManager)** +* **[Hub](https://docs.rs/google-deploymentmanager2/3.1.0+20220225/google_deploymentmanager2/DeploymentManager)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-deploymentmanager2/3.0.0+20220225/google_deploymentmanager2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-deploymentmanager2/3.0.0+20220225/google_deploymentmanager2/client::CallBuilder) -* **[Resources](https://docs.rs/google-deploymentmanager2/3.0.0+20220225/google_deploymentmanager2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-deploymentmanager2/3.1.0+20220225/google_deploymentmanager2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-deploymentmanager2/3.1.0+20220225/google_deploymentmanager2/client::CallBuilder) +* **[Resources](https://docs.rs/google-deploymentmanager2/3.1.0+20220225/google_deploymentmanager2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-deploymentmanager2/3.0.0+20220225/google_deploymentmanager2/client::Part)** + * **[Parts](https://docs.rs/google-deploymentmanager2/3.1.0+20220225/google_deploymentmanager2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-deploymentmanager2/3.0.0+20220225/google_deploymentmanager2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-deploymentmanager2/3.1.0+20220225/google_deploymentmanager2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -109,7 +109,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -145,17 +145,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-deploymentmanager2/3.0.0+20220225/google_deploymentmanager2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-deploymentmanager2/3.1.0+20220225/google_deploymentmanager2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-deploymentmanager2/3.0.0+20220225/google_deploymentmanager2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-deploymentmanager2/3.1.0+20220225/google_deploymentmanager2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-deploymentmanager2/3.0.0+20220225/google_deploymentmanager2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-deploymentmanager2/3.1.0+20220225/google_deploymentmanager2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-deploymentmanager2/3.0.0+20220225/google_deploymentmanager2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-deploymentmanager2/3.1.0+20220225/google_deploymentmanager2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -165,29 +165,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-deploymentmanager2/3.0.0+20220225/google_deploymentmanager2/client::Delegate) to the -[Method Builder](https://docs.rs/google-deploymentmanager2/3.0.0+20220225/google_deploymentmanager2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-deploymentmanager2/3.1.0+20220225/google_deploymentmanager2/client::Delegate) to the +[Method Builder](https://docs.rs/google-deploymentmanager2/3.1.0+20220225/google_deploymentmanager2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-deploymentmanager2/3.0.0+20220225/google_deploymentmanager2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-deploymentmanager2/3.1.0+20220225/google_deploymentmanager2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-deploymentmanager2/3.0.0+20220225/google_deploymentmanager2/client::RequestValue) and -[decodable](https://docs.rs/google-deploymentmanager2/3.0.0+20220225/google_deploymentmanager2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-deploymentmanager2/3.1.0+20220225/google_deploymentmanager2/client::RequestValue) and +[decodable](https://docs.rs/google-deploymentmanager2/3.1.0+20220225/google_deploymentmanager2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-deploymentmanager2/3.0.0+20220225/google_deploymentmanager2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-deploymentmanager2/3.1.0+20220225/google_deploymentmanager2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-deploymentmanager2/3.0.0+20220225/google_deploymentmanager2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-deploymentmanager2/3.1.0+20220225/google_deploymentmanager2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-deploymentmanager2/3.0.0+20220225/google_deploymentmanager2/client::RequestValue) are moved +* [request values](https://docs.rs/google-deploymentmanager2/3.1.0+20220225/google_deploymentmanager2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/deploymentmanager2/src/api.rs b/gen/deploymentmanager2/src/api.rs index 0061ef23ff..adc7e3ad97 100644 --- a/gen/deploymentmanager2/src/api.rs +++ b/gen/deploymentmanager2/src/api.rs @@ -83,7 +83,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -134,7 +134,7 @@ impl<'a, > DeploymentManager<> { DeploymentManager { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://deploymentmanager.googleapis.com/".to_string(), _root_url: "https://deploymentmanager.googleapis.com/".to_string(), } @@ -157,7 +157,7 @@ impl<'a, > DeploymentManager<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1062,7 +1062,7 @@ impl client::Part for ResourceUpdateWarningsData {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `cancel_preview(...)`, `delete(...)`, `get(...)`, `get_iam_policy(...)`, `insert(...)`, `list(...)`, `patch(...)`, `set_iam_policy(...)`, `stop(...)`, `test_iam_permissions(...)` and `update(...)` /// // to build up your call. @@ -1336,7 +1336,7 @@ impl<'a> DeploymentMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -1421,7 +1421,7 @@ impl<'a> ManifestMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -1502,7 +1502,7 @@ impl<'a> OperationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -1587,7 +1587,7 @@ impl<'a> ResourceMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -1657,7 +1657,7 @@ impl<'a> TypeMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1950,7 +1950,7 @@ impl<'a> DeploymentCancelPreviewCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2226,7 +2226,7 @@ impl<'a> DeploymentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2490,7 +2490,7 @@ impl<'a> DeploymentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2767,7 +2767,7 @@ impl<'a> DeploymentGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3072,7 +3072,7 @@ impl<'a> DeploymentInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3373,7 +3373,7 @@ impl<'a> DeploymentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3703,7 +3703,7 @@ impl<'a> DeploymentPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3997,7 +3997,7 @@ impl<'a> DeploymentSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4291,7 +4291,7 @@ impl<'a> DeploymentStopCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4585,7 +4585,7 @@ impl<'a> DeploymentTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4914,7 +4914,7 @@ impl<'a> DeploymentUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5190,7 +5190,7 @@ impl<'a> ManifestGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5502,7 +5502,7 @@ impl<'a> ManifestListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5766,7 +5766,7 @@ impl<'a> OperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6066,7 +6066,7 @@ impl<'a> OperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6342,7 +6342,7 @@ impl<'a> ResourceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6654,7 +6654,7 @@ impl<'a> ResourceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/deploymentmanager2/src/lib.rs b/gen/deploymentmanager2/src/lib.rs index 26e94cd145..12599d813e 100644 --- a/gen/deploymentmanager2/src/lib.rs +++ b/gen/deploymentmanager2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Deployment Manager* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *deploymentmanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Deployment Manager* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *deploymentmanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Deployment Manager* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/deployment-manager). @@ -110,7 +110,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/deploymentmanager2_beta2-cli/Cargo.toml b/gen/deploymentmanager2_beta2-cli/Cargo.toml index 3f2af753e2..346d1c30e0 100644 --- a/gen/deploymentmanager2_beta2-cli/Cargo.toml +++ b/gen/deploymentmanager2_beta2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-deploymentmanager2_beta2-cli" -version = "3.0.0+20160201" +version = "3.1.0+20160201" authors = ["Sebastian Thiel "] description = "A complete library to interact with Deployment Manager (protocol v2beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/deploymentmanager2_beta2-cli" @@ -20,12 +20,12 @@ name = "deploymentmanager2-beta2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-deploymentmanager2_beta2] path = "../deploymentmanager2_beta2" -version = "3.0.0+20160201" +version = "3.1.0+20160201" diff --git a/gen/deploymentmanager2_beta2-cli/README.md b/gen/deploymentmanager2_beta2-cli/README.md index 528a5bb813..094eae6307 100644 --- a/gen/deploymentmanager2_beta2-cli/README.md +++ b/gen/deploymentmanager2_beta2-cli/README.md @@ -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 *Deployment Manager* API at revision *20160201*. The CLI is at version *3.0.0*. +This documentation was generated from the *Deployment Manager* API at revision *20160201*. The CLI is at version *3.1.0*. ```bash deploymentmanager2-beta2 [options] diff --git a/gen/deploymentmanager2_beta2-cli/mkdocs.yml b/gen/deploymentmanager2_beta2-cli/mkdocs.yml index 49e6671864..9f2986bb58 100644 --- a/gen/deploymentmanager2_beta2-cli/mkdocs.yml +++ b/gen/deploymentmanager2_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Deployment Manager v3.0.0+20160201 +site_name: Deployment Manager v3.1.0+20160201 site_url: http://byron.github.io/google-apis-rs/google-deploymentmanager2_beta2-cli site_description: A complete library to interact with Deployment Manager (protocol v2beta2) diff --git a/gen/deploymentmanager2_beta2-cli/src/main.rs b/gen/deploymentmanager2_beta2-cli/src/main.rs index 72141b1430..2a3b286a67 100644 --- a/gen/deploymentmanager2_beta2-cli/src/main.rs +++ b/gen/deploymentmanager2_beta2-cli/src/main.rs @@ -1038,7 +1038,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/deploymentmanager2-beta2", 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::DeploymentManager::new(client, auth), @@ -1459,7 +1465,7 @@ async fn main() { let mut app = App::new("deploymentmanager2-beta2") .author("Sebastian Thiel ") - .version("3.0.0+20160201") + .version("3.1.0+20160201") .about("The Deployment Manager API allows users to declaratively configure, deploy and run complex solutions on the Google Cloud Platform.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_deploymentmanager2_beta2_cli") .arg(Arg::with_name("url") diff --git a/gen/deploymentmanager2_beta2/Cargo.toml b/gen/deploymentmanager2_beta2/Cargo.toml index cf94876a33..3b9f35d1af 100644 --- a/gen/deploymentmanager2_beta2/Cargo.toml +++ b/gen/deploymentmanager2_beta2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-deploymentmanager2_beta2" -version = "3.0.0+20160201" +version = "3.1.0+20160201" authors = ["Sebastian Thiel "] description = "A complete library to interact with Deployment Manager (protocol v2beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/deploymentmanager2_beta2" homepage = "https://developers.google.com/deployment-manager/" -documentation = "https://docs.rs/google-deploymentmanager2_beta2/3.0.0+20160201" +documentation = "https://docs.rs/google-deploymentmanager2_beta2/3.1.0+20160201" license = "MIT" keywords = ["deploymentmanager", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/deploymentmanager2_beta2/README.md b/gen/deploymentmanager2_beta2/README.md index 45c7547694..61cb0545c8 100644 --- a/gen/deploymentmanager2_beta2/README.md +++ b/gen/deploymentmanager2_beta2/README.md @@ -5,24 +5,24 @@ DO NOT EDIT ! --> The `google-deploymentmanager2_beta2` library allows access to all features of the *Google Deployment Manager* service. -This documentation was generated from *Deployment Manager* crate version *3.0.0+20160201*, where *20160201* is the exact revision of the *deploymentmanager:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Deployment Manager* crate version *3.1.0+20160201*, where *20160201* is the exact revision of the *deploymentmanager:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Deployment Manager* *v2_beta2* API can be found at the [official documentation site](https://developers.google.com/deployment-manager/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-deploymentmanager2_beta2/3.0.0+20160201/google_deploymentmanager2_beta2/DeploymentManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-deploymentmanager2_beta2/3.1.0+20160201/google_deploymentmanager2_beta2/DeploymentManager) ... -* [deployments](https://docs.rs/google-deploymentmanager2_beta2/3.0.0+20160201/google_deploymentmanager2_beta2/api::Deployment) - * [*delete*](https://docs.rs/google-deploymentmanager2_beta2/3.0.0+20160201/google_deploymentmanager2_beta2/api::DeploymentDeleteCall), [*get*](https://docs.rs/google-deploymentmanager2_beta2/3.0.0+20160201/google_deploymentmanager2_beta2/api::DeploymentGetCall), [*insert*](https://docs.rs/google-deploymentmanager2_beta2/3.0.0+20160201/google_deploymentmanager2_beta2/api::DeploymentInsertCall), [*list*](https://docs.rs/google-deploymentmanager2_beta2/3.0.0+20160201/google_deploymentmanager2_beta2/api::DeploymentListCall), [*patch*](https://docs.rs/google-deploymentmanager2_beta2/3.0.0+20160201/google_deploymentmanager2_beta2/api::DeploymentPatchCall) and [*update*](https://docs.rs/google-deploymentmanager2_beta2/3.0.0+20160201/google_deploymentmanager2_beta2/api::DeploymentUpdateCall) -* [manifests](https://docs.rs/google-deploymentmanager2_beta2/3.0.0+20160201/google_deploymentmanager2_beta2/api::Manifest) - * [*get*](https://docs.rs/google-deploymentmanager2_beta2/3.0.0+20160201/google_deploymentmanager2_beta2/api::ManifestGetCall) and [*list*](https://docs.rs/google-deploymentmanager2_beta2/3.0.0+20160201/google_deploymentmanager2_beta2/api::ManifestListCall) -* [operations](https://docs.rs/google-deploymentmanager2_beta2/3.0.0+20160201/google_deploymentmanager2_beta2/api::Operation) - * [*get*](https://docs.rs/google-deploymentmanager2_beta2/3.0.0+20160201/google_deploymentmanager2_beta2/api::OperationGetCall) and [*list*](https://docs.rs/google-deploymentmanager2_beta2/3.0.0+20160201/google_deploymentmanager2_beta2/api::OperationListCall) -* [resources](https://docs.rs/google-deploymentmanager2_beta2/3.0.0+20160201/google_deploymentmanager2_beta2/api::Resource) - * [*get*](https://docs.rs/google-deploymentmanager2_beta2/3.0.0+20160201/google_deploymentmanager2_beta2/api::ResourceGetCall) and [*list*](https://docs.rs/google-deploymentmanager2_beta2/3.0.0+20160201/google_deploymentmanager2_beta2/api::ResourceListCall) -* [types](https://docs.rs/google-deploymentmanager2_beta2/3.0.0+20160201/google_deploymentmanager2_beta2/api::Type) - * [*list*](https://docs.rs/google-deploymentmanager2_beta2/3.0.0+20160201/google_deploymentmanager2_beta2/api::TypeListCall) +* [deployments](https://docs.rs/google-deploymentmanager2_beta2/3.1.0+20160201/google_deploymentmanager2_beta2/api::Deployment) + * [*delete*](https://docs.rs/google-deploymentmanager2_beta2/3.1.0+20160201/google_deploymentmanager2_beta2/api::DeploymentDeleteCall), [*get*](https://docs.rs/google-deploymentmanager2_beta2/3.1.0+20160201/google_deploymentmanager2_beta2/api::DeploymentGetCall), [*insert*](https://docs.rs/google-deploymentmanager2_beta2/3.1.0+20160201/google_deploymentmanager2_beta2/api::DeploymentInsertCall), [*list*](https://docs.rs/google-deploymentmanager2_beta2/3.1.0+20160201/google_deploymentmanager2_beta2/api::DeploymentListCall), [*patch*](https://docs.rs/google-deploymentmanager2_beta2/3.1.0+20160201/google_deploymentmanager2_beta2/api::DeploymentPatchCall) and [*update*](https://docs.rs/google-deploymentmanager2_beta2/3.1.0+20160201/google_deploymentmanager2_beta2/api::DeploymentUpdateCall) +* [manifests](https://docs.rs/google-deploymentmanager2_beta2/3.1.0+20160201/google_deploymentmanager2_beta2/api::Manifest) + * [*get*](https://docs.rs/google-deploymentmanager2_beta2/3.1.0+20160201/google_deploymentmanager2_beta2/api::ManifestGetCall) and [*list*](https://docs.rs/google-deploymentmanager2_beta2/3.1.0+20160201/google_deploymentmanager2_beta2/api::ManifestListCall) +* [operations](https://docs.rs/google-deploymentmanager2_beta2/3.1.0+20160201/google_deploymentmanager2_beta2/api::Operation) + * [*get*](https://docs.rs/google-deploymentmanager2_beta2/3.1.0+20160201/google_deploymentmanager2_beta2/api::OperationGetCall) and [*list*](https://docs.rs/google-deploymentmanager2_beta2/3.1.0+20160201/google_deploymentmanager2_beta2/api::OperationListCall) +* [resources](https://docs.rs/google-deploymentmanager2_beta2/3.1.0+20160201/google_deploymentmanager2_beta2/api::Resource) + * [*get*](https://docs.rs/google-deploymentmanager2_beta2/3.1.0+20160201/google_deploymentmanager2_beta2/api::ResourceGetCall) and [*list*](https://docs.rs/google-deploymentmanager2_beta2/3.1.0+20160201/google_deploymentmanager2_beta2/api::ResourceListCall) +* [types](https://docs.rs/google-deploymentmanager2_beta2/3.1.0+20160201/google_deploymentmanager2_beta2/api::Type) + * [*list*](https://docs.rs/google-deploymentmanager2_beta2/3.1.0+20160201/google_deploymentmanager2_beta2/api::TypeListCall) @@ -31,17 +31,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-deploymentmanager2_beta2/3.0.0+20160201/google_deploymentmanager2_beta2/DeploymentManager)** +* **[Hub](https://docs.rs/google-deploymentmanager2_beta2/3.1.0+20160201/google_deploymentmanager2_beta2/DeploymentManager)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-deploymentmanager2_beta2/3.0.0+20160201/google_deploymentmanager2_beta2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-deploymentmanager2_beta2/3.0.0+20160201/google_deploymentmanager2_beta2/client::CallBuilder) -* **[Resources](https://docs.rs/google-deploymentmanager2_beta2/3.0.0+20160201/google_deploymentmanager2_beta2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-deploymentmanager2_beta2/3.1.0+20160201/google_deploymentmanager2_beta2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-deploymentmanager2_beta2/3.1.0+20160201/google_deploymentmanager2_beta2/client::CallBuilder) +* **[Resources](https://docs.rs/google-deploymentmanager2_beta2/3.1.0+20160201/google_deploymentmanager2_beta2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-deploymentmanager2_beta2/3.0.0+20160201/google_deploymentmanager2_beta2/client::Part)** + * **[Parts](https://docs.rs/google-deploymentmanager2_beta2/3.1.0+20160201/google_deploymentmanager2_beta2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-deploymentmanager2_beta2/3.0.0+20160201/google_deploymentmanager2_beta2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-deploymentmanager2_beta2/3.1.0+20160201/google_deploymentmanager2_beta2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -104,7 +104,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -140,17 +140,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-deploymentmanager2_beta2/3.0.0+20160201/google_deploymentmanager2_beta2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-deploymentmanager2_beta2/3.1.0+20160201/google_deploymentmanager2_beta2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-deploymentmanager2_beta2/3.0.0+20160201/google_deploymentmanager2_beta2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-deploymentmanager2_beta2/3.1.0+20160201/google_deploymentmanager2_beta2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-deploymentmanager2_beta2/3.0.0+20160201/google_deploymentmanager2_beta2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-deploymentmanager2_beta2/3.1.0+20160201/google_deploymentmanager2_beta2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-deploymentmanager2_beta2/3.0.0+20160201/google_deploymentmanager2_beta2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-deploymentmanager2_beta2/3.1.0+20160201/google_deploymentmanager2_beta2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -160,29 +160,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-deploymentmanager2_beta2/3.0.0+20160201/google_deploymentmanager2_beta2/client::Delegate) to the -[Method Builder](https://docs.rs/google-deploymentmanager2_beta2/3.0.0+20160201/google_deploymentmanager2_beta2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-deploymentmanager2_beta2/3.1.0+20160201/google_deploymentmanager2_beta2/client::Delegate) to the +[Method Builder](https://docs.rs/google-deploymentmanager2_beta2/3.1.0+20160201/google_deploymentmanager2_beta2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-deploymentmanager2_beta2/3.0.0+20160201/google_deploymentmanager2_beta2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-deploymentmanager2_beta2/3.1.0+20160201/google_deploymentmanager2_beta2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-deploymentmanager2_beta2/3.0.0+20160201/google_deploymentmanager2_beta2/client::RequestValue) and -[decodable](https://docs.rs/google-deploymentmanager2_beta2/3.0.0+20160201/google_deploymentmanager2_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-deploymentmanager2_beta2/3.1.0+20160201/google_deploymentmanager2_beta2/client::RequestValue) and +[decodable](https://docs.rs/google-deploymentmanager2_beta2/3.1.0+20160201/google_deploymentmanager2_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-deploymentmanager2_beta2/3.0.0+20160201/google_deploymentmanager2_beta2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-deploymentmanager2_beta2/3.1.0+20160201/google_deploymentmanager2_beta2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-deploymentmanager2_beta2/3.0.0+20160201/google_deploymentmanager2_beta2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-deploymentmanager2_beta2/3.1.0+20160201/google_deploymentmanager2_beta2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-deploymentmanager2_beta2/3.0.0+20160201/google_deploymentmanager2_beta2/client::RequestValue) are moved +* [request values](https://docs.rs/google-deploymentmanager2_beta2/3.1.0+20160201/google_deploymentmanager2_beta2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/deploymentmanager2_beta2/src/api.rs b/gen/deploymentmanager2_beta2/src/api.rs index e723fb0936..f02d710e9a 100644 --- a/gen/deploymentmanager2_beta2/src/api.rs +++ b/gen/deploymentmanager2_beta2/src/api.rs @@ -83,7 +83,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -134,7 +134,7 @@ impl<'a, > DeploymentManager<> { DeploymentManager { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/deploymentmanager/v2beta2/projects/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -157,7 +157,7 @@ impl<'a, > DeploymentManager<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -691,7 +691,7 @@ impl client::Part for OperationWarningsData {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -857,7 +857,7 @@ impl<'a> DeploymentMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -941,7 +941,7 @@ impl<'a> ManifestMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -1021,7 +1021,7 @@ impl<'a> OperationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -1105,7 +1105,7 @@ impl<'a> ResourceMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -1173,7 +1173,7 @@ impl<'a> TypeMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1433,7 +1433,7 @@ impl<'a> DeploymentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1694,7 +1694,7 @@ impl<'a> DeploymentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1971,7 +1971,7 @@ impl<'a> DeploymentInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2264,7 +2264,7 @@ impl<'a> DeploymentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2590,7 +2590,7 @@ impl<'a> DeploymentPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2915,7 +2915,7 @@ impl<'a> DeploymentUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3187,7 +3187,7 @@ impl<'a> ManifestGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3491,7 +3491,7 @@ impl<'a> ManifestListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3751,7 +3751,7 @@ impl<'a> OperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4043,7 +4043,7 @@ impl<'a> OperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4315,7 +4315,7 @@ impl<'a> ResourceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4619,7 +4619,7 @@ impl<'a> ResourceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/deploymentmanager2_beta2/src/lib.rs b/gen/deploymentmanager2_beta2/src/lib.rs index 51a9f1e741..9240a0464c 100644 --- a/gen/deploymentmanager2_beta2/src/lib.rs +++ b/gen/deploymentmanager2_beta2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Deployment Manager* crate version *3.0.0+20160201*, where *20160201* is the exact revision of the *deploymentmanager:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Deployment Manager* crate version *3.1.0+20160201*, where *20160201* is the exact revision of the *deploymentmanager:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Deployment Manager* *v2_beta2* API can be found at the //! [official documentation site](https://developers.google.com/deployment-manager/). @@ -105,7 +105,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = DeploymentManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/dfareporting2d8-cli/Cargo.toml b/gen/dfareporting2d8-cli/Cargo.toml index 209f034938..6bc7fbbe42 100644 --- a/gen/dfareporting2d8-cli/Cargo.toml +++ b/gen/dfareporting2d8-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dfareporting2d8-cli" -version = "3.0.0+20180830" +version = "3.1.0+20180830" authors = ["Sebastian Thiel "] description = "A complete library to interact with dfareporting (protocol v2.8)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dfareporting2d8-cli" @@ -20,12 +20,12 @@ name = "dfareporting2d8" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-dfareporting2d8] path = "../dfareporting2d8" -version = "3.0.0+20180830" +version = "3.1.0+20180830" diff --git a/gen/dfareporting2d8-cli/README.md b/gen/dfareporting2d8-cli/README.md index 1dfe1b55c0..9382b0d49b 100644 --- a/gen/dfareporting2d8-cli/README.md +++ b/gen/dfareporting2d8-cli/README.md @@ -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 *dfareporting* API at revision *20180830*. The CLI is at version *3.0.0*. +This documentation was generated from the *dfareporting* API at revision *20180830*. The CLI is at version *3.1.0*. ```bash dfareporting2d8 [options] diff --git a/gen/dfareporting2d8-cli/mkdocs.yml b/gen/dfareporting2d8-cli/mkdocs.yml index e7017b514b..86401a054e 100644 --- a/gen/dfareporting2d8-cli/mkdocs.yml +++ b/gen/dfareporting2d8-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: dfareporting v3.0.0+20180830 +site_name: dfareporting v3.1.0+20180830 site_url: http://byron.github.io/google-apis-rs/google-dfareporting2d8-cli site_description: A complete library to interact with dfareporting (protocol v2.8) diff --git a/gen/dfareporting2d8-cli/src/main.rs b/gen/dfareporting2d8-cli/src/main.rs index 98b996a305..5a40fbc329 100644 --- a/gen/dfareporting2d8-cli/src/main.rs +++ b/gen/dfareporting2d8-cli/src/main.rs @@ -17877,7 +17877,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/dfareporting2d8", 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::Dfareporting::new(client, auth), @@ -23750,7 +23756,7 @@ async fn main() { let mut app = App::new("dfareporting2d8") .author("Sebastian Thiel ") - .version("3.0.0+20180830") + .version("3.1.0+20180830") .about("Manages your DoubleClick Campaign Manager ad campaigns and reports.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_dfareporting2d8_cli") .arg(Arg::with_name("url") diff --git a/gen/dfareporting2d8/Cargo.toml b/gen/dfareporting2d8/Cargo.toml index 88a61b489c..ec3e7f8393 100644 --- a/gen/dfareporting2d8/Cargo.toml +++ b/gen/dfareporting2d8/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dfareporting2d8" -version = "3.0.0+20180830" +version = "3.1.0+20180830" authors = ["Sebastian Thiel "] description = "A complete library to interact with dfareporting (protocol v2.8)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dfareporting2d8" homepage = "https://developers.google.com/doubleclick-advertisers/" -documentation = "https://docs.rs/google-dfareporting2d8/3.0.0+20180830" +documentation = "https://docs.rs/google-dfareporting2d8/3.1.0+20180830" license = "MIT" keywords = ["dfareporting", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/dfareporting2d8/README.md b/gen/dfareporting2d8/README.md index a0a81f0848..fe61ae00b1 100644 --- a/gen/dfareporting2d8/README.md +++ b/gen/dfareporting2d8/README.md @@ -5,144 +5,144 @@ DO NOT EDIT ! --> The `google-dfareporting2d8` library allows access to all features of the *Google dfareporting* service. -This documentation was generated from *dfareporting* crate version *3.0.0+20180830*, where *20180830* is the exact revision of the *dfareporting:v2.8* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *dfareporting* crate version *3.1.0+20180830*, where *20180830* is the exact revision of the *dfareporting:v2.8* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *dfareporting* *v2d8* API can be found at the [official documentation site](https://developers.google.com/doubleclick-advertisers/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/Dfareporting) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/Dfareporting) ... -* [account active ad summaries](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::AccountActiveAdSummary) - * [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::AccountActiveAdSummaryGetCall) -* [account permission groups](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::AccountPermissionGroup) - * [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::AccountPermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::AccountPermissionGroupListCall) -* [account permissions](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::AccountPermission) - * [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::AccountPermissionGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::AccountPermissionListCall) -* [account user profiles](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::AccountUserProfile) - * [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::AccountUserProfileGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::AccountUserProfileInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::AccountUserProfileListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::AccountUserProfilePatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::AccountUserProfileUpdateCall) -* [accounts](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::Account) - * [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::AccountGetCall), [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::AccountListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::AccountPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::AccountUpdateCall) -* [ads](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::Ad) - * [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::AdGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::AdInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::AdListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::AdPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::AdUpdateCall) -* [advertiser groups](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::AdvertiserGroup) - * [*delete*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::AdvertiserGroupDeleteCall), [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::AdvertiserGroupGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::AdvertiserGroupInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::AdvertiserGroupListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::AdvertiserGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::AdvertiserGroupUpdateCall) -* [advertisers](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::Advertiser) - * [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::AdvertiserGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::AdvertiserInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::AdvertiserListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::AdvertiserPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::AdvertiserUpdateCall) -* [browsers](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::Browser) - * [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::BrowserListCall) -* [campaign creative associations](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::CampaignCreativeAssociation) - * [*insert*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::CampaignCreativeAssociationInsertCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::CampaignCreativeAssociationListCall) -* [campaigns](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::Campaign) - * [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::CampaignGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::CampaignInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::CampaignListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::CampaignPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::CampaignUpdateCall) -* [change logs](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::ChangeLog) - * [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::ChangeLogGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::ChangeLogListCall) -* [cities](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::City) - * [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::CityListCall) -* [connection types](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::ConnectionType) - * [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::ConnectionTypeGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::ConnectionTypeListCall) -* [content categories](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::ContentCategory) - * [*delete*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::ContentCategoryDeleteCall), [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::ContentCategoryGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::ContentCategoryInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::ContentCategoryListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::ContentCategoryPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::ContentCategoryUpdateCall) -* [conversions](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::Conversion) - * [*batchinsert*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::ConversionBatchinsertCall) and [*batchupdate*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::ConversionBatchupdateCall) -* [countries](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::Country) - * [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::CountryGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::CountryListCall) -* [creative assets](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::CreativeAsset) - * [*insert*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::CreativeAssetInsertCall) -* [creative field values](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::CreativeFieldValue) - * [*delete*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::CreativeFieldValueDeleteCall), [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::CreativeFieldValueGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::CreativeFieldValueInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::CreativeFieldValueListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::CreativeFieldValuePatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::CreativeFieldValueUpdateCall) -* [creative fields](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::CreativeField) - * [*delete*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::CreativeFieldDeleteCall), [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::CreativeFieldGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::CreativeFieldInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::CreativeFieldListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::CreativeFieldPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::CreativeFieldUpdateCall) -* [creative groups](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::CreativeGroup) - * [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::CreativeGroupGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::CreativeGroupInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::CreativeGroupListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::CreativeGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::CreativeGroupUpdateCall) -* [creatives](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::Creative) - * [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::CreativeGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::CreativeInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::CreativeListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::CreativePatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::CreativeUpdateCall) -* [dimension values](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::DimensionValue) - * [*query*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::DimensionValueQueryCall) -* [directory site contacts](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::DirectorySiteContact) - * [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::DirectorySiteContactGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::DirectorySiteContactListCall) -* [directory sites](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::DirectorySite) - * [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::DirectorySiteGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::DirectorySiteInsertCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::DirectorySiteListCall) -* [dynamic targeting keys](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::DynamicTargetingKey) - * [*delete*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::DynamicTargetingKeyDeleteCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::DynamicTargetingKeyInsertCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::DynamicTargetingKeyListCall) -* [event tags](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::EventTag) - * [*delete*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::EventTagDeleteCall), [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::EventTagGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::EventTagInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::EventTagListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::EventTagPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::EventTagUpdateCall) -* [files](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::File) - * [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::FileGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::FileListCall) -* [floodlight activities](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::FloodlightActivity) - * [*delete*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::FloodlightActivityDeleteCall), [*generatetag*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::FloodlightActivityGeneratetagCall), [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::FloodlightActivityGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::FloodlightActivityInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::FloodlightActivityListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::FloodlightActivityPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::FloodlightActivityUpdateCall) -* [floodlight activity groups](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::FloodlightActivityGroup) - * [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::FloodlightActivityGroupGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::FloodlightActivityGroupInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::FloodlightActivityGroupListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::FloodlightActivityGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::FloodlightActivityGroupUpdateCall) -* [floodlight configurations](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::FloodlightConfiguration) - * [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::FloodlightConfigurationGetCall), [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::FloodlightConfigurationListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::FloodlightConfigurationPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::FloodlightConfigurationUpdateCall) -* [inventory items](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::InventoryItem) - * [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::InventoryItemGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::InventoryItemListCall) -* [landing pages](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::LandingPage) - * [*delete*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::LandingPageDeleteCall), [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::LandingPageGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::LandingPageInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::LandingPageListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::LandingPagePatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::LandingPageUpdateCall) -* [languages](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::Language) - * [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::LanguageListCall) -* [metros](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::Metro) - * [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::MetroListCall) -* [mobile carriers](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::MobileCarrier) - * [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::MobileCarrierGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::MobileCarrierListCall) -* [operating system versions](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::OperatingSystemVersion) - * [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::OperatingSystemVersionGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::OperatingSystemVersionListCall) -* [operating systems](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::OperatingSystem) - * [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::OperatingSystemGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::OperatingSystemListCall) -* [order documents](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::OrderDocument) - * [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::OrderDocumentGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::OrderDocumentListCall) -* [orders](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::Order) - * [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::OrderGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::OrderListCall) -* [placement groups](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::PlacementGroup) - * [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::PlacementGroupGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::PlacementGroupInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::PlacementGroupListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::PlacementGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::PlacementGroupUpdateCall) -* [placement strategies](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::PlacementStrategy) - * [*delete*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::PlacementStrategyDeleteCall), [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::PlacementStrategyGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::PlacementStrategyInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::PlacementStrategyListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::PlacementStrategyPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::PlacementStrategyUpdateCall) -* [placements](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::Placement) - * [*generatetags*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::PlacementGeneratetagCall), [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::PlacementGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::PlacementInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::PlacementListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::PlacementPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::PlacementUpdateCall) -* [platform types](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::PlatformType) - * [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::PlatformTypeGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::PlatformTypeListCall) -* [postal codes](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::PostalCode) - * [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::PostalCodeGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::PostalCodeListCall) -* [projects](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::Project) - * [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::ProjectGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::ProjectListCall) -* [regions](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::Region) - * [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::RegionListCall) -* [remarketing list shares](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::RemarketingListShare) - * [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::RemarketingListShareGetCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::RemarketingListSharePatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::RemarketingListShareUpdateCall) -* [remarketing lists](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::RemarketingList) - * [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::RemarketingListGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::RemarketingListInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::RemarketingListListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::RemarketingListPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::RemarketingListUpdateCall) -* [reports](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::Report) - * [*compatible fields query*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::ReportCompatibleFieldQueryCall), [*delete*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::ReportDeleteCall), [*files get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::ReportFileGetCall), [*files list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::ReportFileListCall), [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::ReportGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::ReportInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::ReportListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::ReportPatchCall), [*run*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::ReportRunCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::ReportUpdateCall) -* [sites](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::Site) - * [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::SiteGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::SiteInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::SiteListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::SitePatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::SiteUpdateCall) -* [sizes](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::Size) - * [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::SizeGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::SizeInsertCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::SizeListCall) -* [subaccounts](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::Subaccount) - * [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::SubaccountGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::SubaccountInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::SubaccountListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::SubaccountPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::SubaccountUpdateCall) -* [targetable remarketing lists](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::TargetableRemarketingList) - * [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::TargetableRemarketingListGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::TargetableRemarketingListListCall) -* [targeting templates](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::TargetingTemplate) - * [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::TargetingTemplateGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::TargetingTemplateInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::TargetingTemplateListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::TargetingTemplatePatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::TargetingTemplateUpdateCall) -* [user profiles](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::UserProfile) - * [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::UserProfileGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::UserProfileListCall) -* [user role permission groups](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::UserRolePermissionGroup) - * [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::UserRolePermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::UserRolePermissionGroupListCall) -* [user role permissions](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::UserRolePermission) - * [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::UserRolePermissionGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::UserRolePermissionListCall) -* [user roles](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::UserRole) - * [*delete*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::UserRoleDeleteCall), [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::UserRoleGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::UserRoleInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::UserRoleListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::UserRolePatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::UserRoleUpdateCall) -* [video formats](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::VideoFormat) - * [*get*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::VideoFormatGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::VideoFormatListCall) +* [account active ad summaries](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::AccountActiveAdSummary) + * [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::AccountActiveAdSummaryGetCall) +* [account permission groups](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::AccountPermissionGroup) + * [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::AccountPermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::AccountPermissionGroupListCall) +* [account permissions](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::AccountPermission) + * [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::AccountPermissionGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::AccountPermissionListCall) +* [account user profiles](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::AccountUserProfile) + * [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::AccountUserProfileGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::AccountUserProfileInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::AccountUserProfileListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::AccountUserProfilePatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::AccountUserProfileUpdateCall) +* [accounts](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::Account) + * [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::AccountGetCall), [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::AccountListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::AccountPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::AccountUpdateCall) +* [ads](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::Ad) + * [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::AdGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::AdInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::AdListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::AdPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::AdUpdateCall) +* [advertiser groups](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::AdvertiserGroup) + * [*delete*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::AdvertiserGroupDeleteCall), [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::AdvertiserGroupGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::AdvertiserGroupInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::AdvertiserGroupListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::AdvertiserGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::AdvertiserGroupUpdateCall) +* [advertisers](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::Advertiser) + * [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::AdvertiserGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::AdvertiserInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::AdvertiserListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::AdvertiserPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::AdvertiserUpdateCall) +* [browsers](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::Browser) + * [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::BrowserListCall) +* [campaign creative associations](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::CampaignCreativeAssociation) + * [*insert*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::CampaignCreativeAssociationInsertCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::CampaignCreativeAssociationListCall) +* [campaigns](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::Campaign) + * [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::CampaignGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::CampaignInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::CampaignListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::CampaignPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::CampaignUpdateCall) +* [change logs](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::ChangeLog) + * [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::ChangeLogGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::ChangeLogListCall) +* [cities](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::City) + * [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::CityListCall) +* [connection types](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::ConnectionType) + * [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::ConnectionTypeGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::ConnectionTypeListCall) +* [content categories](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::ContentCategory) + * [*delete*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::ContentCategoryDeleteCall), [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::ContentCategoryGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::ContentCategoryInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::ContentCategoryListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::ContentCategoryPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::ContentCategoryUpdateCall) +* [conversions](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::Conversion) + * [*batchinsert*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::ConversionBatchinsertCall) and [*batchupdate*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::ConversionBatchupdateCall) +* [countries](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::Country) + * [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::CountryGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::CountryListCall) +* [creative assets](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::CreativeAsset) + * [*insert*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::CreativeAssetInsertCall) +* [creative field values](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::CreativeFieldValue) + * [*delete*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::CreativeFieldValueDeleteCall), [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::CreativeFieldValueGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::CreativeFieldValueInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::CreativeFieldValueListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::CreativeFieldValuePatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::CreativeFieldValueUpdateCall) +* [creative fields](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::CreativeField) + * [*delete*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::CreativeFieldDeleteCall), [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::CreativeFieldGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::CreativeFieldInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::CreativeFieldListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::CreativeFieldPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::CreativeFieldUpdateCall) +* [creative groups](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::CreativeGroup) + * [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::CreativeGroupGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::CreativeGroupInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::CreativeGroupListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::CreativeGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::CreativeGroupUpdateCall) +* [creatives](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::Creative) + * [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::CreativeGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::CreativeInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::CreativeListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::CreativePatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::CreativeUpdateCall) +* [dimension values](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::DimensionValue) + * [*query*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::DimensionValueQueryCall) +* [directory site contacts](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::DirectorySiteContact) + * [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::DirectorySiteContactGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::DirectorySiteContactListCall) +* [directory sites](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::DirectorySite) + * [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::DirectorySiteGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::DirectorySiteInsertCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::DirectorySiteListCall) +* [dynamic targeting keys](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::DynamicTargetingKey) + * [*delete*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::DynamicTargetingKeyDeleteCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::DynamicTargetingKeyInsertCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::DynamicTargetingKeyListCall) +* [event tags](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::EventTag) + * [*delete*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::EventTagDeleteCall), [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::EventTagGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::EventTagInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::EventTagListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::EventTagPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::EventTagUpdateCall) +* [files](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::File) + * [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::FileGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::FileListCall) +* [floodlight activities](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::FloodlightActivity) + * [*delete*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::FloodlightActivityDeleteCall), [*generatetag*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::FloodlightActivityGeneratetagCall), [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::FloodlightActivityGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::FloodlightActivityInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::FloodlightActivityListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::FloodlightActivityPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::FloodlightActivityUpdateCall) +* [floodlight activity groups](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::FloodlightActivityGroup) + * [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::FloodlightActivityGroupGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::FloodlightActivityGroupInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::FloodlightActivityGroupListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::FloodlightActivityGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::FloodlightActivityGroupUpdateCall) +* [floodlight configurations](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::FloodlightConfiguration) + * [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::FloodlightConfigurationGetCall), [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::FloodlightConfigurationListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::FloodlightConfigurationPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::FloodlightConfigurationUpdateCall) +* [inventory items](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::InventoryItem) + * [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::InventoryItemGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::InventoryItemListCall) +* [landing pages](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::LandingPage) + * [*delete*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::LandingPageDeleteCall), [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::LandingPageGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::LandingPageInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::LandingPageListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::LandingPagePatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::LandingPageUpdateCall) +* [languages](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::Language) + * [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::LanguageListCall) +* [metros](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::Metro) + * [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::MetroListCall) +* [mobile carriers](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::MobileCarrier) + * [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::MobileCarrierGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::MobileCarrierListCall) +* [operating system versions](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::OperatingSystemVersion) + * [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::OperatingSystemVersionGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::OperatingSystemVersionListCall) +* [operating systems](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::OperatingSystem) + * [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::OperatingSystemGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::OperatingSystemListCall) +* [order documents](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::OrderDocument) + * [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::OrderDocumentGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::OrderDocumentListCall) +* [orders](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::Order) + * [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::OrderGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::OrderListCall) +* [placement groups](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::PlacementGroup) + * [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::PlacementGroupGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::PlacementGroupInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::PlacementGroupListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::PlacementGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::PlacementGroupUpdateCall) +* [placement strategies](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::PlacementStrategy) + * [*delete*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::PlacementStrategyDeleteCall), [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::PlacementStrategyGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::PlacementStrategyInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::PlacementStrategyListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::PlacementStrategyPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::PlacementStrategyUpdateCall) +* [placements](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::Placement) + * [*generatetags*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::PlacementGeneratetagCall), [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::PlacementGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::PlacementInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::PlacementListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::PlacementPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::PlacementUpdateCall) +* [platform types](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::PlatformType) + * [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::PlatformTypeGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::PlatformTypeListCall) +* [postal codes](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::PostalCode) + * [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::PostalCodeGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::PostalCodeListCall) +* [projects](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::Project) + * [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::ProjectGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::ProjectListCall) +* [regions](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::Region) + * [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::RegionListCall) +* [remarketing list shares](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::RemarketingListShare) + * [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::RemarketingListShareGetCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::RemarketingListSharePatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::RemarketingListShareUpdateCall) +* [remarketing lists](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::RemarketingList) + * [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::RemarketingListGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::RemarketingListInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::RemarketingListListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::RemarketingListPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::RemarketingListUpdateCall) +* [reports](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::Report) + * [*compatible fields query*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::ReportCompatibleFieldQueryCall), [*delete*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::ReportDeleteCall), [*files get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::ReportFileGetCall), [*files list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::ReportFileListCall), [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::ReportGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::ReportInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::ReportListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::ReportPatchCall), [*run*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::ReportRunCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::ReportUpdateCall) +* [sites](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::Site) + * [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::SiteGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::SiteInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::SiteListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::SitePatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::SiteUpdateCall) +* [sizes](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::Size) + * [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::SizeGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::SizeInsertCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::SizeListCall) +* [subaccounts](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::Subaccount) + * [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::SubaccountGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::SubaccountInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::SubaccountListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::SubaccountPatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::SubaccountUpdateCall) +* [targetable remarketing lists](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::TargetableRemarketingList) + * [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::TargetableRemarketingListGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::TargetableRemarketingListListCall) +* [targeting templates](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::TargetingTemplate) + * [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::TargetingTemplateGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::TargetingTemplateInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::TargetingTemplateListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::TargetingTemplatePatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::TargetingTemplateUpdateCall) +* [user profiles](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::UserProfile) + * [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::UserProfileGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::UserProfileListCall) +* [user role permission groups](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::UserRolePermissionGroup) + * [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::UserRolePermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::UserRolePermissionGroupListCall) +* [user role permissions](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::UserRolePermission) + * [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::UserRolePermissionGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::UserRolePermissionListCall) +* [user roles](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::UserRole) + * [*delete*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::UserRoleDeleteCall), [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::UserRoleGetCall), [*insert*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::UserRoleInsertCall), [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::UserRoleListCall), [*patch*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::UserRolePatchCall) and [*update*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::UserRoleUpdateCall) +* [video formats](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::VideoFormat) + * [*get*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::VideoFormatGetCall) and [*list*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::VideoFormatListCall) Upload supported by ... -* [*insert creative assets*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::CreativeAssetInsertCall) +* [*insert creative assets*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::CreativeAssetInsertCall) Download supported by ... -* [*get files*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::FileGetCall) -* [*files get reports*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/api::ReportFileGetCall) +* [*get files*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::FileGetCall) +* [*files get reports*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/api::ReportFileGetCall) @@ -150,17 +150,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/Dfareporting)** +* **[Hub](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/Dfareporting)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/client::CallBuilder) -* **[Resources](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/client::CallBuilder) +* **[Resources](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/client::Part)** + * **[Parts](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/client::CallBuilder)** +* **[Activities](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -226,7 +226,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -258,17 +258,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -278,29 +278,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/client::Delegate) to the -[Method Builder](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/client::Delegate) to the +[Method Builder](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/client::RequestValue) and -[decodable](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/client::RequestValue) and +[decodable](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-dfareporting2d8/3.0.0+20180830/google_dfareporting2d8/client::RequestValue) are moved +* [request values](https://docs.rs/google-dfareporting2d8/3.1.0+20180830/google_dfareporting2d8/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/dfareporting2d8/src/api.rs b/gen/dfareporting2d8/src/api.rs index 9c89bcf304..bd19f96028 100644 --- a/gen/dfareporting2d8/src/api.rs +++ b/gen/dfareporting2d8/src/api.rs @@ -78,7 +78,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -125,7 +125,7 @@ impl<'a, > Dfareporting<> { Dfareporting { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/dfareporting/v2.8/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -313,7 +313,7 @@ impl<'a, > Dfareporting<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -7339,7 +7339,7 @@ impl client::Part for ReportSchedule {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -7399,7 +7399,7 @@ impl<'a> AccountActiveAdSummaryMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -7476,7 +7476,7 @@ impl<'a> AccountPermissionGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -7553,7 +7553,7 @@ impl<'a> AccountPermissionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -7698,7 +7698,7 @@ impl<'a> AccountUserProfileMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -7822,7 +7822,7 @@ impl<'a> AccountMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -7981,7 +7981,7 @@ impl<'a> AdMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8142,7 +8142,7 @@ impl<'a> AdvertiserGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8290,7 +8290,7 @@ impl<'a> AdvertiserMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -8348,7 +8348,7 @@ impl<'a> BrowserMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `insert(...)` and `list(...)` /// // to build up your call. @@ -8432,7 +8432,7 @@ impl<'a> CampaignCreativeAssociationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8585,7 +8585,7 @@ impl<'a> CampaignMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -8672,7 +8672,7 @@ impl<'a> ChangeLogMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -8734,7 +8734,7 @@ impl<'a> CityMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -8811,7 +8811,7 @@ impl<'a> ConnectionTypeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8972,7 +8972,7 @@ impl<'a> ContentCategoryMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `batchinsert(...)` and `batchupdate(...)` /// // to build up your call. @@ -9051,7 +9051,7 @@ impl<'a> ConversionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9128,7 +9128,7 @@ impl<'a> CountryMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `insert(...)` /// // to build up your call. @@ -9190,7 +9190,7 @@ impl<'a> CreativeAssetMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9363,7 +9363,7 @@ impl<'a> CreativeFieldValueMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9525,7 +9525,7 @@ impl<'a> CreativeFieldMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9669,7 +9669,7 @@ impl<'a> CreativeGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9821,7 +9821,7 @@ impl<'a> CreativeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `query(...)` /// // to build up your call. @@ -9883,7 +9883,7 @@ impl<'a> DimensionValueMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9967,7 +9967,7 @@ impl<'a> DirectorySiteContactMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -10076,7 +10076,7 @@ impl<'a> DirectorySiteMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -10180,7 +10180,7 @@ impl<'a> DynamicTargetingKeyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10345,7 +10345,7 @@ impl<'a> EventTagMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -10427,7 +10427,7 @@ impl<'a> FileMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `generatetag(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10613,7 +10613,7 @@ impl<'a> FloodlightActivityMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10758,7 +10758,7 @@ impl<'a> FloodlightActivityGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10876,7 +10876,7 @@ impl<'a> FloodlightConfigurationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -10966,7 +10966,7 @@ impl<'a> InventoryItemMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11133,7 +11133,7 @@ impl<'a> LandingPageMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -11191,7 +11191,7 @@ impl<'a> LanguageMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -11249,7 +11249,7 @@ impl<'a> MetroMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11326,7 +11326,7 @@ impl<'a> MobileCarrierMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11403,7 +11403,7 @@ impl<'a> OperatingSystemVersionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11480,7 +11480,7 @@ impl<'a> OperatingSystemMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11570,7 +11570,7 @@ impl<'a> OrderDocumentMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11658,7 +11658,7 @@ impl<'a> OrderMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11813,7 +11813,7 @@ impl<'a> PlacementGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11974,7 +11974,7 @@ impl<'a> PlacementStrategyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `generatetags(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12152,7 +12152,7 @@ impl<'a> PlacementMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -12229,7 +12229,7 @@ impl<'a> PlatformTypeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -12306,7 +12306,7 @@ impl<'a> PostalCodeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -12390,7 +12390,7 @@ impl<'a> ProjectMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -12448,7 +12448,7 @@ impl<'a> RegionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12548,7 +12548,7 @@ impl<'a> RemarketingListShareMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12693,7 +12693,7 @@ impl<'a> RemarketingListMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `compatible_fields_query(...)`, `delete(...)`, `files_get(...)`, `files_list(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)`, `run(...)` and `update(...)` /// // to build up your call. @@ -12938,7 +12938,7 @@ impl<'a> ReportMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -13089,7 +13089,7 @@ impl<'a> SiteMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -13189,7 +13189,7 @@ impl<'a> SizeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -13331,7 +13331,7 @@ impl<'a> SubaccountMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -13416,7 +13416,7 @@ impl<'a> TargetableRemarketingListMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -13559,7 +13559,7 @@ impl<'a> TargetingTemplateMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -13629,7 +13629,7 @@ impl<'a> UserProfileMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -13706,7 +13706,7 @@ impl<'a> UserRolePermissionGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -13784,7 +13784,7 @@ impl<'a> UserRolePermissionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -13947,7 +13947,7 @@ impl<'a> UserRoleMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -14031,7 +14031,7 @@ impl<'a> VideoFormatMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14291,7 +14291,7 @@ impl<'a> AccountActiveAdSummaryGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14551,7 +14551,7 @@ impl<'a> AccountPermissionGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14799,7 +14799,7 @@ impl<'a> AccountPermissionGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15059,7 +15059,7 @@ impl<'a> AccountPermissionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15307,7 +15307,7 @@ impl<'a> AccountPermissionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15568,7 +15568,7 @@ impl<'a> AccountUserProfileGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15845,7 +15845,7 @@ impl<'a> AccountUserProfileInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16205,7 +16205,7 @@ impl<'a> AccountUserProfileListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16495,7 +16495,7 @@ impl<'a> AccountUserProfilePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16772,7 +16772,7 @@ impl<'a> AccountUserProfileUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17032,7 +17032,7 @@ impl<'a> AccountGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17368,7 +17368,7 @@ impl<'a> AccountListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17658,7 +17658,7 @@ impl<'a> AccountPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17935,7 +17935,7 @@ impl<'a> AccountUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18196,7 +18196,7 @@ impl<'a> AdGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18473,7 +18473,7 @@ impl<'a> AdInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19028,7 +19028,7 @@ impl<'a> AdListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19318,7 +19318,7 @@ impl<'a> AdPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19595,7 +19595,7 @@ impl<'a> AdUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19844,7 +19844,7 @@ impl<'a> AdvertiserGroupDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20105,7 +20105,7 @@ impl<'a> AdvertiserGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20382,7 +20382,7 @@ impl<'a> AdvertiserGroupInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20706,7 +20706,7 @@ impl<'a> AdvertiserGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20996,7 +20996,7 @@ impl<'a> AdvertiserGroupPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21273,7 +21273,7 @@ impl<'a> AdvertiserGroupUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21534,7 +21534,7 @@ impl<'a> AdvertiserGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21811,7 +21811,7 @@ impl<'a> AdvertiserInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22213,7 +22213,7 @@ impl<'a> AdvertiserListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22503,7 +22503,7 @@ impl<'a> AdvertiserPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22780,7 +22780,7 @@ impl<'a> AdvertiserUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23029,7 +23029,7 @@ impl<'a> BrowserListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23318,7 +23318,7 @@ impl<'a> CampaignCreativeAssociationInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23614,7 +23614,7 @@ impl<'a> CampaignCreativeAssociationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23875,7 +23875,7 @@ impl<'a> CampaignGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24176,7 +24176,7 @@ impl<'a> CampaignInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24593,7 +24593,7 @@ impl<'a> CampaignListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24883,7 +24883,7 @@ impl<'a> CampaignPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25160,7 +25160,7 @@ impl<'a> CampaignUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25420,7 +25420,7 @@ impl<'a> ChangeLogGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25797,7 +25797,7 @@ impl<'a> ChangeLogListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26102,7 +26102,7 @@ impl<'a> CityListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26362,7 +26362,7 @@ impl<'a> ConnectionTypeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26610,7 +26610,7 @@ impl<'a> ConnectionTypeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26859,7 +26859,7 @@ impl<'a> ContentCategoryDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27120,7 +27120,7 @@ impl<'a> ContentCategoryGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27397,7 +27397,7 @@ impl<'a> ContentCategoryInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27721,7 +27721,7 @@ impl<'a> ContentCategoryListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -28011,7 +28011,7 @@ impl<'a> ContentCategoryPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -28289,7 +28289,7 @@ impl<'a> ContentCategoryUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -28567,7 +28567,7 @@ impl<'a> ConversionBatchinsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -28844,7 +28844,7 @@ impl<'a> ConversionBatchupdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29104,7 +29104,7 @@ impl<'a> CountryGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29354,7 +29354,7 @@ impl<'a> CountryListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29756,7 +29756,7 @@ impl<'a> CreativeAssetInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30017,7 +30017,7 @@ impl<'a> CreativeFieldValueDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30290,7 +30290,7 @@ impl<'a> CreativeFieldValueGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -30579,7 +30579,7 @@ impl<'a> CreativeFieldValueInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30915,7 +30915,7 @@ impl<'a> CreativeFieldValueListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -31217,7 +31217,7 @@ impl<'a> CreativeFieldValuePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -31506,7 +31506,7 @@ impl<'a> CreativeFieldValueUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31755,7 +31755,7 @@ impl<'a> CreativeFieldDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32016,7 +32016,7 @@ impl<'a> CreativeFieldGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -32293,7 +32293,7 @@ impl<'a> CreativeFieldInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32632,7 +32632,7 @@ impl<'a> CreativeFieldListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -32922,7 +32922,7 @@ impl<'a> CreativeFieldPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -33199,7 +33199,7 @@ impl<'a> CreativeFieldUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33460,7 +33460,7 @@ impl<'a> CreativeGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -33737,7 +33737,7 @@ impl<'a> CreativeGroupInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34088,7 +34088,7 @@ impl<'a> CreativeGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -34378,7 +34378,7 @@ impl<'a> CreativeGroupPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -34655,7 +34655,7 @@ impl<'a> CreativeGroupUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34916,7 +34916,7 @@ impl<'a> CreativeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35193,7 +35193,7 @@ impl<'a> CreativeInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -35652,7 +35652,7 @@ impl<'a> CreativeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35942,7 +35942,7 @@ impl<'a> CreativePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -36220,7 +36220,7 @@ impl<'a> CreativeUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -36521,7 +36521,7 @@ impl<'a> DimensionValueQueryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -36781,7 +36781,7 @@ impl<'a> DirectorySiteContactGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -37119,7 +37119,7 @@ impl<'a> DirectorySiteContactListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -37380,7 +37380,7 @@ impl<'a> DirectorySiteGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -37657,7 +37657,7 @@ impl<'a> DirectorySiteInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -38064,7 +38064,7 @@ impl<'a> DirectorySiteListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -38338,7 +38338,7 @@ impl<'a> DynamicTargetingKeyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -38615,7 +38615,7 @@ impl<'a> DynamicTargetingKeyInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -38914,7 +38914,7 @@ impl<'a> DynamicTargetingKeyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -39163,7 +39163,7 @@ impl<'a> EventTagDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -39424,7 +39424,7 @@ impl<'a> EventTagGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -39701,7 +39701,7 @@ impl<'a> EventTagInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -40076,7 +40076,7 @@ impl<'a> EventTagListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -40366,7 +40366,7 @@ impl<'a> EventTagPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -40648,7 +40648,7 @@ impl<'a> EventTagUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -40924,7 +40924,7 @@ impl<'a> FileGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -41232,7 +41232,7 @@ impl<'a> FileListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -41481,7 +41481,7 @@ impl<'a> FloodlightActivityDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -41741,7 +41741,7 @@ impl<'a> FloodlightActivityGeneratetagCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -42002,7 +42002,7 @@ impl<'a> FloodlightActivityGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -42279,7 +42279,7 @@ impl<'a> FloodlightActivityInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -42690,7 +42690,7 @@ impl<'a> FloodlightActivityListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -42980,7 +42980,7 @@ impl<'a> FloodlightActivityPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -43257,7 +43257,7 @@ impl<'a> FloodlightActivityUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -43518,7 +43518,7 @@ impl<'a> FloodlightActivityGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -43795,7 +43795,7 @@ impl<'a> FloodlightActivityGroupInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44155,7 +44155,7 @@ impl<'a> FloodlightActivityGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -44445,7 +44445,7 @@ impl<'a> FloodlightActivityGroupPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -44722,7 +44722,7 @@ impl<'a> FloodlightActivityGroupUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44982,7 +44982,7 @@ impl<'a> FloodlightConfigurationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -45246,7 +45246,7 @@ impl<'a> FloodlightConfigurationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -45536,7 +45536,7 @@ impl<'a> FloodlightConfigurationPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -45813,7 +45813,7 @@ impl<'a> FloodlightConfigurationUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46085,7 +46085,7 @@ impl<'a> InventoryItemGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46462,7 +46462,7 @@ impl<'a> InventoryItemListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46723,7 +46723,7 @@ impl<'a> LandingPageDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46996,7 +46996,7 @@ impl<'a> LandingPageGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -47285,7 +47285,7 @@ impl<'a> LandingPageInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47546,7 +47546,7 @@ impl<'a> LandingPageListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -47848,7 +47848,7 @@ impl<'a> LandingPagePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -48137,7 +48137,7 @@ impl<'a> LandingPageUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48385,7 +48385,7 @@ impl<'a> LanguageListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48633,7 +48633,7 @@ impl<'a> MetroListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48893,7 +48893,7 @@ impl<'a> MobileCarrierGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49141,7 +49141,7 @@ impl<'a> MobileCarrierListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49401,7 +49401,7 @@ impl<'a> OperatingSystemVersionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49649,7 +49649,7 @@ impl<'a> OperatingSystemVersionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49909,7 +49909,7 @@ impl<'a> OperatingSystemGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -50157,7 +50157,7 @@ impl<'a> OperatingSystemListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -50429,7 +50429,7 @@ impl<'a> OrderDocumentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -50806,7 +50806,7 @@ impl<'a> OrderDocumentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -51078,7 +51078,7 @@ impl<'a> OrderGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -51428,7 +51428,7 @@ impl<'a> OrderListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -51689,7 +51689,7 @@ impl<'a> PlacementGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -51966,7 +51966,7 @@ impl<'a> PlacementGroupInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -52467,7 +52467,7 @@ impl<'a> PlacementGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -52757,7 +52757,7 @@ impl<'a> PlacementGroupPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -53034,7 +53034,7 @@ impl<'a> PlacementGroupUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -53283,7 +53283,7 @@ impl<'a> PlacementStrategyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -53544,7 +53544,7 @@ impl<'a> PlacementStrategyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -53821,7 +53821,7 @@ impl<'a> PlacementStrategyInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -54145,7 +54145,7 @@ impl<'a> PlacementStrategyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -54435,7 +54435,7 @@ impl<'a> PlacementStrategyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -54712,7 +54712,7 @@ impl<'a> PlacementStrategyUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -55004,7 +55004,7 @@ impl<'a> PlacementGeneratetagCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -55265,7 +55265,7 @@ impl<'a> PlacementGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -55542,7 +55542,7 @@ impl<'a> PlacementInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -56088,7 +56088,7 @@ impl<'a> PlacementListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -56378,7 +56378,7 @@ impl<'a> PlacementPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -56655,7 +56655,7 @@ impl<'a> PlacementUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -56915,7 +56915,7 @@ impl<'a> PlatformTypeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -57163,7 +57163,7 @@ impl<'a> PlatformTypeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -57423,7 +57423,7 @@ impl<'a> PostalCodeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -57671,7 +57671,7 @@ impl<'a> PostalCodeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -57931,7 +57931,7 @@ impl<'a> ProjectGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58269,7 +58269,7 @@ impl<'a> ProjectListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58517,7 +58517,7 @@ impl<'a> RegionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58778,7 +58778,7 @@ impl<'a> RemarketingListShareGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -59068,7 +59068,7 @@ impl<'a> RemarketingListSharePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -59345,7 +59345,7 @@ impl<'a> RemarketingListShareUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -59606,7 +59606,7 @@ impl<'a> RemarketingListGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -59883,7 +59883,7 @@ impl<'a> RemarketingListInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -60228,7 +60228,7 @@ impl<'a> RemarketingListListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -60518,7 +60518,7 @@ impl<'a> RemarketingListPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -60796,7 +60796,7 @@ impl<'a> RemarketingListUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -61078,7 +61078,7 @@ impl<'a> ReportCompatibleFieldQueryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -61366,7 +61366,7 @@ impl<'a> ReportFileGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -61674,7 +61674,7 @@ impl<'a> ReportFileListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -61923,7 +61923,7 @@ impl<'a> ReportDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -62184,7 +62184,7 @@ impl<'a> ReportGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -62461,7 +62461,7 @@ impl<'a> ReportInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -62770,7 +62770,7 @@ impl<'a> ReportListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -63059,7 +63059,7 @@ impl<'a> ReportPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63332,7 +63332,7 @@ impl<'a> ReportRunCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -63621,7 +63621,7 @@ impl<'a> ReportUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63882,7 +63882,7 @@ impl<'a> SiteGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -64159,7 +64159,7 @@ impl<'a> SiteInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -64597,7 +64597,7 @@ impl<'a> SiteListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -64887,7 +64887,7 @@ impl<'a> SitePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -65164,7 +65164,7 @@ impl<'a> SiteUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -65425,7 +65425,7 @@ impl<'a> SizeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -65702,7 +65702,7 @@ impl<'a> SizeInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -66001,7 +66001,7 @@ impl<'a> SizeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -66262,7 +66262,7 @@ impl<'a> SubaccountGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -66539,7 +66539,7 @@ impl<'a> SubaccountInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -66863,7 +66863,7 @@ impl<'a> SubaccountListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -67153,7 +67153,7 @@ impl<'a> SubaccountPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -67430,7 +67430,7 @@ impl<'a> SubaccountUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -67690,7 +67690,7 @@ impl<'a> TargetableRemarketingListGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -68022,7 +68022,7 @@ impl<'a> TargetableRemarketingListListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -68283,7 +68283,7 @@ impl<'a> TargetingTemplateGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -68560,7 +68560,7 @@ impl<'a> TargetingTemplateInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -68896,7 +68896,7 @@ impl<'a> TargetingTemplateListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -69186,7 +69186,7 @@ impl<'a> TargetingTemplatePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -69463,7 +69463,7 @@ impl<'a> TargetingTemplateUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -69711,7 +69711,7 @@ impl<'a> UserProfileGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -69926,7 +69926,7 @@ impl<'a> UserProfileListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -70186,7 +70186,7 @@ impl<'a> UserRolePermissionGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -70434,7 +70434,7 @@ impl<'a> UserRolePermissionGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -70694,7 +70694,7 @@ impl<'a> UserRolePermissionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -70957,7 +70957,7 @@ impl<'a> UserRolePermissionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -71206,7 +71206,7 @@ impl<'a> UserRoleDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -71467,7 +71467,7 @@ impl<'a> UserRoleGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -71744,7 +71744,7 @@ impl<'a> UserRoleInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -72092,7 +72092,7 @@ impl<'a> UserRoleListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -72382,7 +72382,7 @@ impl<'a> UserRolePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -72659,7 +72659,7 @@ impl<'a> UserRoleUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -72919,7 +72919,7 @@ impl<'a> VideoFormatGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/dfareporting2d8/src/lib.rs b/gen/dfareporting2d8/src/lib.rs index 7d87012107..a55b278d48 100644 --- a/gen/dfareporting2d8/src/lib.rs +++ b/gen/dfareporting2d8/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *dfareporting* crate version *3.0.0+20180830*, where *20180830* is the exact revision of the *dfareporting:v2.8* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *dfareporting* crate version *3.1.0+20180830*, where *20180830* is the exact revision of the *dfareporting:v2.8* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *dfareporting* *v2d8* API can be found at the //! [official documentation site](https://developers.google.com/doubleclick-advertisers/). @@ -227,7 +227,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/dfareporting3-cli/Cargo.toml b/gen/dfareporting3-cli/Cargo.toml index 7ecd7c10ec..2259028445 100644 --- a/gen/dfareporting3-cli/Cargo.toml +++ b/gen/dfareporting3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dfareporting3-cli" -version = "3.0.0+20180830" +version = "3.1.0+20180830" authors = ["Sebastian Thiel "] description = "A complete library to interact with dfareporting (protocol v3.0)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dfareporting3-cli" @@ -20,12 +20,12 @@ name = "dfareporting3" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-dfareporting3] path = "../dfareporting3" -version = "3.0.0+20180830" +version = "3.1.0+20180830" diff --git a/gen/dfareporting3-cli/README.md b/gen/dfareporting3-cli/README.md index 94bb849b1d..2df1ebad4f 100644 --- a/gen/dfareporting3-cli/README.md +++ b/gen/dfareporting3-cli/README.md @@ -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 *dfareporting* API at revision *20180830*. The CLI is at version *3.0.0*. +This documentation was generated from the *dfareporting* API at revision *20180830*. The CLI is at version *3.1.0*. ```bash dfareporting3 [options] diff --git a/gen/dfareporting3-cli/mkdocs.yml b/gen/dfareporting3-cli/mkdocs.yml index da53ba8e12..7fb5e6a0d2 100644 --- a/gen/dfareporting3-cli/mkdocs.yml +++ b/gen/dfareporting3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: dfareporting v3.0.0+20180830 +site_name: dfareporting v3.1.0+20180830 site_url: http://byron.github.io/google-apis-rs/google-dfareporting3-cli site_description: A complete library to interact with dfareporting (protocol v3.0) diff --git a/gen/dfareporting3-cli/src/main.rs b/gen/dfareporting3-cli/src/main.rs index 602e4b2d21..4d2bb00b92 100644 --- a/gen/dfareporting3-cli/src/main.rs +++ b/gen/dfareporting3-cli/src/main.rs @@ -17876,7 +17876,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/dfareporting3", 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::Dfareporting::new(client, auth), @@ -23679,7 +23685,7 @@ async fn main() { let mut app = App::new("dfareporting3") .author("Sebastian Thiel ") - .version("3.0.0+20180830") + .version("3.1.0+20180830") .about("Manages your DoubleClick Campaign Manager ad campaigns and reports.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_dfareporting3_cli") .arg(Arg::with_name("url") diff --git a/gen/dfareporting3/Cargo.toml b/gen/dfareporting3/Cargo.toml index 06e7849c0f..6d78602854 100644 --- a/gen/dfareporting3/Cargo.toml +++ b/gen/dfareporting3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dfareporting3" -version = "3.0.0+20180830" +version = "3.1.0+20180830" authors = ["Sebastian Thiel "] description = "A complete library to interact with dfareporting (protocol v3.0)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dfareporting3" homepage = "https://developers.google.com/doubleclick-advertisers/" -documentation = "https://docs.rs/google-dfareporting3/3.0.0+20180830" +documentation = "https://docs.rs/google-dfareporting3/3.1.0+20180830" license = "MIT" keywords = ["dfareporting", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/dfareporting3/README.md b/gen/dfareporting3/README.md index 110f7db976..c9547951a9 100644 --- a/gen/dfareporting3/README.md +++ b/gen/dfareporting3/README.md @@ -5,144 +5,144 @@ DO NOT EDIT ! --> The `google-dfareporting3` library allows access to all features of the *Google dfareporting* service. -This documentation was generated from *dfareporting* crate version *3.0.0+20180830*, where *20180830* is the exact revision of the *dfareporting:v3.0* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *dfareporting* crate version *3.1.0+20180830*, where *20180830* is the exact revision of the *dfareporting:v3.0* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *dfareporting* *v3* API can be found at the [official documentation site](https://developers.google.com/doubleclick-advertisers/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/Dfareporting) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/Dfareporting) ... -* [account active ad summaries](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::AccountActiveAdSummary) - * [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::AccountActiveAdSummaryGetCall) -* [account permission groups](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::AccountPermissionGroup) - * [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::AccountPermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::AccountPermissionGroupListCall) -* [account permissions](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::AccountPermission) - * [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::AccountPermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::AccountPermissionListCall) -* [account user profiles](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::AccountUserProfile) - * [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::AccountUserProfileGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::AccountUserProfileInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::AccountUserProfileListCall), [*patch*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::AccountUserProfilePatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::AccountUserProfileUpdateCall) -* [accounts](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::Account) - * [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::AccountGetCall), [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::AccountListCall), [*patch*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::AccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::AccountUpdateCall) -* [ads](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::Ad) - * [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::AdGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::AdInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::AdListCall), [*patch*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::AdPatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::AdUpdateCall) -* [advertiser groups](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::AdvertiserGroup) - * [*delete*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::AdvertiserGroupDeleteCall), [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::AdvertiserGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::AdvertiserGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::AdvertiserGroupListCall), [*patch*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::AdvertiserGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::AdvertiserGroupUpdateCall) +* [account active ad summaries](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::AccountActiveAdSummary) + * [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::AccountActiveAdSummaryGetCall) +* [account permission groups](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::AccountPermissionGroup) + * [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::AccountPermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::AccountPermissionGroupListCall) +* [account permissions](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::AccountPermission) + * [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::AccountPermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::AccountPermissionListCall) +* [account user profiles](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::AccountUserProfile) + * [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::AccountUserProfileGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::AccountUserProfileInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::AccountUserProfileListCall), [*patch*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::AccountUserProfilePatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::AccountUserProfileUpdateCall) +* [accounts](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::Account) + * [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::AccountGetCall), [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::AccountListCall), [*patch*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::AccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::AccountUpdateCall) +* [ads](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::Ad) + * [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::AdGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::AdInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::AdListCall), [*patch*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::AdPatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::AdUpdateCall) +* [advertiser groups](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::AdvertiserGroup) + * [*delete*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::AdvertiserGroupDeleteCall), [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::AdvertiserGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::AdvertiserGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::AdvertiserGroupListCall), [*patch*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::AdvertiserGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::AdvertiserGroupUpdateCall) * advertiser landing pages - * [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::AdvertiserLandingPageGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::AdvertiserLandingPageInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::AdvertiserLandingPageListCall), [*patch*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::AdvertiserLandingPagePatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::AdvertiserLandingPageUpdateCall) -* [advertisers](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::Advertiser) - * [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::AdvertiserGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::AdvertiserInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::AdvertiserListCall), [*patch*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::AdvertiserPatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::AdvertiserUpdateCall) -* [browsers](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::Browser) - * [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::BrowserListCall) -* [campaign creative associations](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::CampaignCreativeAssociation) - * [*insert*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::CampaignCreativeAssociationInsertCall) and [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::CampaignCreativeAssociationListCall) -* [campaigns](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::Campaign) - * [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::CampaignGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::CampaignInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::CampaignListCall), [*patch*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::CampaignPatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::CampaignUpdateCall) -* [change logs](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::ChangeLog) - * [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::ChangeLogGetCall) and [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::ChangeLogListCall) -* [cities](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::City) - * [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::CityListCall) -* [connection types](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::ConnectionType) - * [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::ConnectionTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::ConnectionTypeListCall) -* [content categories](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::ContentCategory) - * [*delete*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::ContentCategoryDeleteCall), [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::ContentCategoryGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::ContentCategoryInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::ContentCategoryListCall), [*patch*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::ContentCategoryPatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::ContentCategoryUpdateCall) -* [conversions](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::Conversion) - * [*batchinsert*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::ConversionBatchinsertCall) and [*batchupdate*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::ConversionBatchupdateCall) -* [countries](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::Country) - * [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::CountryGetCall) and [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::CountryListCall) -* [creative assets](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::CreativeAsset) - * [*insert*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::CreativeAssetInsertCall) -* [creative field values](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::CreativeFieldValue) - * [*delete*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::CreativeFieldValueDeleteCall), [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::CreativeFieldValueGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::CreativeFieldValueInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::CreativeFieldValueListCall), [*patch*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::CreativeFieldValuePatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::CreativeFieldValueUpdateCall) -* [creative fields](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::CreativeField) - * [*delete*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::CreativeFieldDeleteCall), [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::CreativeFieldGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::CreativeFieldInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::CreativeFieldListCall), [*patch*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::CreativeFieldPatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::CreativeFieldUpdateCall) -* [creative groups](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::CreativeGroup) - * [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::CreativeGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::CreativeGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::CreativeGroupListCall), [*patch*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::CreativeGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::CreativeGroupUpdateCall) -* [creatives](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::Creative) - * [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::CreativeGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::CreativeInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::CreativeListCall), [*patch*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::CreativePatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::CreativeUpdateCall) -* [dimension values](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::DimensionValue) - * [*query*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::DimensionValueQueryCall) -* [directory site contacts](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::DirectorySiteContact) - * [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::DirectorySiteContactGetCall) and [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::DirectorySiteContactListCall) -* [directory sites](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::DirectorySite) - * [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::DirectorySiteGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::DirectorySiteInsertCall) and [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::DirectorySiteListCall) -* [dynamic targeting keys](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::DynamicTargetingKey) - * [*delete*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::DynamicTargetingKeyDeleteCall), [*insert*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::DynamicTargetingKeyInsertCall) and [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::DynamicTargetingKeyListCall) -* [event tags](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::EventTag) - * [*delete*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::EventTagDeleteCall), [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::EventTagGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::EventTagInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::EventTagListCall), [*patch*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::EventTagPatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::EventTagUpdateCall) -* [files](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::File) - * [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::FileGetCall) and [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::FileListCall) -* [floodlight activities](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::FloodlightActivity) - * [*delete*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::FloodlightActivityDeleteCall), [*generatetag*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::FloodlightActivityGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::FloodlightActivityGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::FloodlightActivityInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::FloodlightActivityListCall), [*patch*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::FloodlightActivityPatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::FloodlightActivityUpdateCall) -* [floodlight activity groups](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::FloodlightActivityGroup) - * [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::FloodlightActivityGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::FloodlightActivityGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::FloodlightActivityGroupListCall), [*patch*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::FloodlightActivityGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::FloodlightActivityGroupUpdateCall) -* [floodlight configurations](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::FloodlightConfiguration) - * [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::FloodlightConfigurationGetCall), [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::FloodlightConfigurationListCall), [*patch*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::FloodlightConfigurationPatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::FloodlightConfigurationUpdateCall) -* [inventory items](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::InventoryItem) - * [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::InventoryItemGetCall) and [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::InventoryItemListCall) -* [languages](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::Language) - * [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::LanguageListCall) -* [metros](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::Metro) - * [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::MetroListCall) -* [mobile carriers](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::MobileCarrier) - * [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::MobileCarrierGetCall) and [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::MobileCarrierListCall) -* [operating system versions](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::OperatingSystemVersion) - * [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::OperatingSystemVersionGetCall) and [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::OperatingSystemVersionListCall) -* [operating systems](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::OperatingSystem) - * [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::OperatingSystemGetCall) and [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::OperatingSystemListCall) -* [order documents](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::OrderDocument) - * [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::OrderDocumentGetCall) and [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::OrderDocumentListCall) -* [orders](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::Order) - * [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::OrderGetCall) and [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::OrderListCall) -* [placement groups](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::PlacementGroup) - * [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::PlacementGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::PlacementGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::PlacementGroupListCall), [*patch*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::PlacementGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::PlacementGroupUpdateCall) -* [placement strategies](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::PlacementStrategy) - * [*delete*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::PlacementStrategyDeleteCall), [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::PlacementStrategyGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::PlacementStrategyInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::PlacementStrategyListCall), [*patch*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::PlacementStrategyPatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::PlacementStrategyUpdateCall) -* [placements](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::Placement) - * [*generatetags*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::PlacementGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::PlacementGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::PlacementInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::PlacementListCall), [*patch*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::PlacementPatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::PlacementUpdateCall) -* [platform types](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::PlatformType) - * [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::PlatformTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::PlatformTypeListCall) -* [postal codes](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::PostalCode) - * [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::PostalCodeGetCall) and [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::PostalCodeListCall) -* [projects](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::Project) - * [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::ProjectGetCall) and [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::ProjectListCall) -* [regions](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::Region) - * [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::RegionListCall) -* [remarketing list shares](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::RemarketingListShare) - * [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::RemarketingListShareGetCall), [*patch*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::RemarketingListSharePatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::RemarketingListShareUpdateCall) -* [remarketing lists](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::RemarketingList) - * [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::RemarketingListGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::RemarketingListInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::RemarketingListListCall), [*patch*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::RemarketingListPatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::RemarketingListUpdateCall) -* [reports](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::Report) - * [*compatible fields query*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::ReportCompatibleFieldQueryCall), [*delete*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::ReportDeleteCall), [*files get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::ReportFileGetCall), [*files list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::ReportFileListCall), [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::ReportGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::ReportInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::ReportListCall), [*patch*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::ReportPatchCall), [*run*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::ReportRunCall) and [*update*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::ReportUpdateCall) -* [sites](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::Site) - * [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::SiteGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::SiteInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::SiteListCall), [*patch*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::SitePatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::SiteUpdateCall) -* [sizes](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::Size) - * [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::SizeGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::SizeInsertCall) and [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::SizeListCall) -* [subaccounts](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::Subaccount) - * [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::SubaccountGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::SubaccountInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::SubaccountListCall), [*patch*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::SubaccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::SubaccountUpdateCall) -* [targetable remarketing lists](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::TargetableRemarketingList) - * [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::TargetableRemarketingListGetCall) and [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::TargetableRemarketingListListCall) -* [targeting templates](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::TargetingTemplate) - * [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::TargetingTemplateGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::TargetingTemplateInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::TargetingTemplateListCall), [*patch*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::TargetingTemplatePatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::TargetingTemplateUpdateCall) -* [user profiles](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::UserProfile) - * [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::UserProfileGetCall) and [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::UserProfileListCall) -* [user role permission groups](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::UserRolePermissionGroup) - * [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::UserRolePermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::UserRolePermissionGroupListCall) -* [user role permissions](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::UserRolePermission) - * [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::UserRolePermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::UserRolePermissionListCall) -* [user roles](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::UserRole) - * [*delete*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::UserRoleDeleteCall), [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::UserRoleGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::UserRoleInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::UserRoleListCall), [*patch*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::UserRolePatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::UserRoleUpdateCall) -* [video formats](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::VideoFormat) - * [*get*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::VideoFormatGetCall) and [*list*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::VideoFormatListCall) + * [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::AdvertiserLandingPageGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::AdvertiserLandingPageInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::AdvertiserLandingPageListCall), [*patch*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::AdvertiserLandingPagePatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::AdvertiserLandingPageUpdateCall) +* [advertisers](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::Advertiser) + * [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::AdvertiserGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::AdvertiserInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::AdvertiserListCall), [*patch*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::AdvertiserPatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::AdvertiserUpdateCall) +* [browsers](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::Browser) + * [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::BrowserListCall) +* [campaign creative associations](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::CampaignCreativeAssociation) + * [*insert*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::CampaignCreativeAssociationInsertCall) and [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::CampaignCreativeAssociationListCall) +* [campaigns](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::Campaign) + * [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::CampaignGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::CampaignInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::CampaignListCall), [*patch*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::CampaignPatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::CampaignUpdateCall) +* [change logs](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::ChangeLog) + * [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::ChangeLogGetCall) and [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::ChangeLogListCall) +* [cities](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::City) + * [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::CityListCall) +* [connection types](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::ConnectionType) + * [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::ConnectionTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::ConnectionTypeListCall) +* [content categories](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::ContentCategory) + * [*delete*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::ContentCategoryDeleteCall), [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::ContentCategoryGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::ContentCategoryInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::ContentCategoryListCall), [*patch*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::ContentCategoryPatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::ContentCategoryUpdateCall) +* [conversions](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::Conversion) + * [*batchinsert*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::ConversionBatchinsertCall) and [*batchupdate*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::ConversionBatchupdateCall) +* [countries](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::Country) + * [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::CountryGetCall) and [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::CountryListCall) +* [creative assets](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::CreativeAsset) + * [*insert*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::CreativeAssetInsertCall) +* [creative field values](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::CreativeFieldValue) + * [*delete*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::CreativeFieldValueDeleteCall), [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::CreativeFieldValueGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::CreativeFieldValueInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::CreativeFieldValueListCall), [*patch*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::CreativeFieldValuePatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::CreativeFieldValueUpdateCall) +* [creative fields](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::CreativeField) + * [*delete*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::CreativeFieldDeleteCall), [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::CreativeFieldGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::CreativeFieldInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::CreativeFieldListCall), [*patch*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::CreativeFieldPatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::CreativeFieldUpdateCall) +* [creative groups](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::CreativeGroup) + * [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::CreativeGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::CreativeGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::CreativeGroupListCall), [*patch*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::CreativeGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::CreativeGroupUpdateCall) +* [creatives](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::Creative) + * [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::CreativeGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::CreativeInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::CreativeListCall), [*patch*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::CreativePatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::CreativeUpdateCall) +* [dimension values](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::DimensionValue) + * [*query*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::DimensionValueQueryCall) +* [directory site contacts](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::DirectorySiteContact) + * [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::DirectorySiteContactGetCall) and [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::DirectorySiteContactListCall) +* [directory sites](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::DirectorySite) + * [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::DirectorySiteGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::DirectorySiteInsertCall) and [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::DirectorySiteListCall) +* [dynamic targeting keys](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::DynamicTargetingKey) + * [*delete*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::DynamicTargetingKeyDeleteCall), [*insert*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::DynamicTargetingKeyInsertCall) and [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::DynamicTargetingKeyListCall) +* [event tags](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::EventTag) + * [*delete*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::EventTagDeleteCall), [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::EventTagGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::EventTagInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::EventTagListCall), [*patch*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::EventTagPatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::EventTagUpdateCall) +* [files](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::File) + * [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::FileGetCall) and [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::FileListCall) +* [floodlight activities](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::FloodlightActivity) + * [*delete*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::FloodlightActivityDeleteCall), [*generatetag*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::FloodlightActivityGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::FloodlightActivityGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::FloodlightActivityInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::FloodlightActivityListCall), [*patch*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::FloodlightActivityPatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::FloodlightActivityUpdateCall) +* [floodlight activity groups](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::FloodlightActivityGroup) + * [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::FloodlightActivityGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::FloodlightActivityGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::FloodlightActivityGroupListCall), [*patch*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::FloodlightActivityGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::FloodlightActivityGroupUpdateCall) +* [floodlight configurations](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::FloodlightConfiguration) + * [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::FloodlightConfigurationGetCall), [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::FloodlightConfigurationListCall), [*patch*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::FloodlightConfigurationPatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::FloodlightConfigurationUpdateCall) +* [inventory items](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::InventoryItem) + * [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::InventoryItemGetCall) and [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::InventoryItemListCall) +* [languages](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::Language) + * [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::LanguageListCall) +* [metros](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::Metro) + * [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::MetroListCall) +* [mobile carriers](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::MobileCarrier) + * [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::MobileCarrierGetCall) and [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::MobileCarrierListCall) +* [operating system versions](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::OperatingSystemVersion) + * [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::OperatingSystemVersionGetCall) and [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::OperatingSystemVersionListCall) +* [operating systems](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::OperatingSystem) + * [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::OperatingSystemGetCall) and [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::OperatingSystemListCall) +* [order documents](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::OrderDocument) + * [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::OrderDocumentGetCall) and [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::OrderDocumentListCall) +* [orders](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::Order) + * [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::OrderGetCall) and [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::OrderListCall) +* [placement groups](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::PlacementGroup) + * [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::PlacementGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::PlacementGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::PlacementGroupListCall), [*patch*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::PlacementGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::PlacementGroupUpdateCall) +* [placement strategies](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::PlacementStrategy) + * [*delete*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::PlacementStrategyDeleteCall), [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::PlacementStrategyGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::PlacementStrategyInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::PlacementStrategyListCall), [*patch*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::PlacementStrategyPatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::PlacementStrategyUpdateCall) +* [placements](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::Placement) + * [*generatetags*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::PlacementGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::PlacementGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::PlacementInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::PlacementListCall), [*patch*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::PlacementPatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::PlacementUpdateCall) +* [platform types](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::PlatformType) + * [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::PlatformTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::PlatformTypeListCall) +* [postal codes](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::PostalCode) + * [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::PostalCodeGetCall) and [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::PostalCodeListCall) +* [projects](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::Project) + * [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::ProjectGetCall) and [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::ProjectListCall) +* [regions](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::Region) + * [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::RegionListCall) +* [remarketing list shares](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::RemarketingListShare) + * [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::RemarketingListShareGetCall), [*patch*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::RemarketingListSharePatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::RemarketingListShareUpdateCall) +* [remarketing lists](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::RemarketingList) + * [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::RemarketingListGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::RemarketingListInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::RemarketingListListCall), [*patch*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::RemarketingListPatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::RemarketingListUpdateCall) +* [reports](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::Report) + * [*compatible fields query*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::ReportCompatibleFieldQueryCall), [*delete*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::ReportDeleteCall), [*files get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::ReportFileGetCall), [*files list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::ReportFileListCall), [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::ReportGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::ReportInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::ReportListCall), [*patch*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::ReportPatchCall), [*run*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::ReportRunCall) and [*update*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::ReportUpdateCall) +* [sites](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::Site) + * [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::SiteGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::SiteInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::SiteListCall), [*patch*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::SitePatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::SiteUpdateCall) +* [sizes](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::Size) + * [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::SizeGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::SizeInsertCall) and [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::SizeListCall) +* [subaccounts](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::Subaccount) + * [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::SubaccountGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::SubaccountInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::SubaccountListCall), [*patch*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::SubaccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::SubaccountUpdateCall) +* [targetable remarketing lists](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::TargetableRemarketingList) + * [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::TargetableRemarketingListGetCall) and [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::TargetableRemarketingListListCall) +* [targeting templates](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::TargetingTemplate) + * [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::TargetingTemplateGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::TargetingTemplateInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::TargetingTemplateListCall), [*patch*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::TargetingTemplatePatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::TargetingTemplateUpdateCall) +* [user profiles](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::UserProfile) + * [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::UserProfileGetCall) and [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::UserProfileListCall) +* [user role permission groups](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::UserRolePermissionGroup) + * [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::UserRolePermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::UserRolePermissionGroupListCall) +* [user role permissions](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::UserRolePermission) + * [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::UserRolePermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::UserRolePermissionListCall) +* [user roles](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::UserRole) + * [*delete*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::UserRoleDeleteCall), [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::UserRoleGetCall), [*insert*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::UserRoleInsertCall), [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::UserRoleListCall), [*patch*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::UserRolePatchCall) and [*update*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::UserRoleUpdateCall) +* [video formats](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::VideoFormat) + * [*get*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::VideoFormatGetCall) and [*list*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::VideoFormatListCall) Upload supported by ... -* [*insert creative assets*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::CreativeAssetInsertCall) +* [*insert creative assets*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::CreativeAssetInsertCall) Download supported by ... -* [*get files*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::FileGetCall) -* [*files get reports*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/api::ReportFileGetCall) +* [*get files*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::FileGetCall) +* [*files get reports*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/api::ReportFileGetCall) @@ -150,17 +150,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/Dfareporting)** +* **[Hub](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/Dfareporting)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/client::CallBuilder) -* **[Resources](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/client::CallBuilder) +* **[Resources](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/client::Part)** + * **[Parts](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -226,7 +226,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -258,17 +258,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -278,29 +278,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/client::Delegate) to the -[Method Builder](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/client::Delegate) to the +[Method Builder](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/client::RequestValue) and -[decodable](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/client::RequestValue) and +[decodable](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-dfareporting3/3.0.0+20180830/google_dfareporting3/client::RequestValue) are moved +* [request values](https://docs.rs/google-dfareporting3/3.1.0+20180830/google_dfareporting3/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/dfareporting3/src/api.rs b/gen/dfareporting3/src/api.rs index 0e826cfffb..2edc22e5c7 100644 --- a/gen/dfareporting3/src/api.rs +++ b/gen/dfareporting3/src/api.rs @@ -78,7 +78,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -125,7 +125,7 @@ impl<'a, > Dfareporting<> { Dfareporting { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/dfareporting/v3.0/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -313,7 +313,7 @@ impl<'a, > Dfareporting<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -7378,7 +7378,7 @@ impl client::Part for ReportSchedule {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -7438,7 +7438,7 @@ impl<'a> AccountActiveAdSummaryMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -7515,7 +7515,7 @@ impl<'a> AccountPermissionGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -7592,7 +7592,7 @@ impl<'a> AccountPermissionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -7737,7 +7737,7 @@ impl<'a> AccountUserProfileMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -7861,7 +7861,7 @@ impl<'a> AccountMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8020,7 +8020,7 @@ impl<'a> AdMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8181,7 +8181,7 @@ impl<'a> AdvertiserGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8326,7 +8326,7 @@ impl<'a> AdvertiserLandingPageMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8474,7 +8474,7 @@ impl<'a> AdvertiserMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -8532,7 +8532,7 @@ impl<'a> BrowserMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `insert(...)` and `list(...)` /// // to build up your call. @@ -8616,7 +8616,7 @@ impl<'a> CampaignCreativeAssociationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8765,7 +8765,7 @@ impl<'a> CampaignMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -8852,7 +8852,7 @@ impl<'a> ChangeLogMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -8914,7 +8914,7 @@ impl<'a> CityMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -8991,7 +8991,7 @@ impl<'a> ConnectionTypeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9152,7 +9152,7 @@ impl<'a> ContentCategoryMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `batchinsert(...)` and `batchupdate(...)` /// // to build up your call. @@ -9231,7 +9231,7 @@ impl<'a> ConversionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9308,7 +9308,7 @@ impl<'a> CountryMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `insert(...)` /// // to build up your call. @@ -9370,7 +9370,7 @@ impl<'a> CreativeAssetMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9543,7 +9543,7 @@ impl<'a> CreativeFieldValueMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9705,7 +9705,7 @@ impl<'a> CreativeFieldMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9849,7 +9849,7 @@ impl<'a> CreativeGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10001,7 +10001,7 @@ impl<'a> CreativeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `query(...)` /// // to build up your call. @@ -10063,7 +10063,7 @@ impl<'a> DimensionValueMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -10147,7 +10147,7 @@ impl<'a> DirectorySiteContactMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -10256,7 +10256,7 @@ impl<'a> DirectorySiteMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -10360,7 +10360,7 @@ impl<'a> DynamicTargetingKeyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10525,7 +10525,7 @@ impl<'a> EventTagMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -10607,7 +10607,7 @@ impl<'a> FileMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `generatetag(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10793,7 +10793,7 @@ impl<'a> FloodlightActivityMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10938,7 +10938,7 @@ impl<'a> FloodlightActivityGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11056,7 +11056,7 @@ impl<'a> FloodlightConfigurationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11146,7 +11146,7 @@ impl<'a> InventoryItemMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -11204,7 +11204,7 @@ impl<'a> LanguageMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -11262,7 +11262,7 @@ impl<'a> MetroMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11339,7 +11339,7 @@ impl<'a> MobileCarrierMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11416,7 +11416,7 @@ impl<'a> OperatingSystemVersionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11493,7 +11493,7 @@ impl<'a> OperatingSystemMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11583,7 +11583,7 @@ impl<'a> OrderDocumentMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11671,7 +11671,7 @@ impl<'a> OrderMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11826,7 +11826,7 @@ impl<'a> PlacementGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11987,7 +11987,7 @@ impl<'a> PlacementStrategyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `generatetags(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12165,7 +12165,7 @@ impl<'a> PlacementMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -12242,7 +12242,7 @@ impl<'a> PlatformTypeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -12319,7 +12319,7 @@ impl<'a> PostalCodeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -12403,7 +12403,7 @@ impl<'a> ProjectMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -12461,7 +12461,7 @@ impl<'a> RegionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12561,7 +12561,7 @@ impl<'a> RemarketingListShareMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12706,7 +12706,7 @@ impl<'a> RemarketingListMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `compatible_fields_query(...)`, `delete(...)`, `files_get(...)`, `files_list(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)`, `run(...)` and `update(...)` /// // to build up your call. @@ -12951,7 +12951,7 @@ impl<'a> ReportMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -13102,7 +13102,7 @@ impl<'a> SiteMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -13202,7 +13202,7 @@ impl<'a> SizeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -13344,7 +13344,7 @@ impl<'a> SubaccountMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -13429,7 +13429,7 @@ impl<'a> TargetableRemarketingListMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -13572,7 +13572,7 @@ impl<'a> TargetingTemplateMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -13642,7 +13642,7 @@ impl<'a> UserProfileMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -13719,7 +13719,7 @@ impl<'a> UserRolePermissionGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -13797,7 +13797,7 @@ impl<'a> UserRolePermissionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -13960,7 +13960,7 @@ impl<'a> UserRoleMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -14044,7 +14044,7 @@ impl<'a> VideoFormatMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14304,7 +14304,7 @@ impl<'a> AccountActiveAdSummaryGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14564,7 +14564,7 @@ impl<'a> AccountPermissionGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14812,7 +14812,7 @@ impl<'a> AccountPermissionGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15072,7 +15072,7 @@ impl<'a> AccountPermissionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15320,7 +15320,7 @@ impl<'a> AccountPermissionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15581,7 +15581,7 @@ impl<'a> AccountUserProfileGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15858,7 +15858,7 @@ impl<'a> AccountUserProfileInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16218,7 +16218,7 @@ impl<'a> AccountUserProfileListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16508,7 +16508,7 @@ impl<'a> AccountUserProfilePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16785,7 +16785,7 @@ impl<'a> AccountUserProfileUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17045,7 +17045,7 @@ impl<'a> AccountGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17381,7 +17381,7 @@ impl<'a> AccountListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17671,7 +17671,7 @@ impl<'a> AccountPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17948,7 +17948,7 @@ impl<'a> AccountUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18209,7 +18209,7 @@ impl<'a> AdGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18486,7 +18486,7 @@ impl<'a> AdInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19041,7 +19041,7 @@ impl<'a> AdListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19331,7 +19331,7 @@ impl<'a> AdPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19608,7 +19608,7 @@ impl<'a> AdUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19857,7 +19857,7 @@ impl<'a> AdvertiserGroupDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20118,7 +20118,7 @@ impl<'a> AdvertiserGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20395,7 +20395,7 @@ impl<'a> AdvertiserGroupInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20719,7 +20719,7 @@ impl<'a> AdvertiserGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21009,7 +21009,7 @@ impl<'a> AdvertiserGroupPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21286,7 +21286,7 @@ impl<'a> AdvertiserGroupUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21547,7 +21547,7 @@ impl<'a> AdvertiserLandingPageGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21824,7 +21824,7 @@ impl<'a> AdvertiserLandingPageInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22187,7 +22187,7 @@ impl<'a> AdvertiserLandingPageListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22477,7 +22477,7 @@ impl<'a> AdvertiserLandingPagePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22754,7 +22754,7 @@ impl<'a> AdvertiserLandingPageUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23015,7 +23015,7 @@ impl<'a> AdvertiserGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23292,7 +23292,7 @@ impl<'a> AdvertiserInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23694,7 +23694,7 @@ impl<'a> AdvertiserListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23984,7 +23984,7 @@ impl<'a> AdvertiserPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24261,7 +24261,7 @@ impl<'a> AdvertiserUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24510,7 +24510,7 @@ impl<'a> BrowserListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24799,7 +24799,7 @@ impl<'a> CampaignCreativeAssociationInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25095,7 +25095,7 @@ impl<'a> CampaignCreativeAssociationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25356,7 +25356,7 @@ impl<'a> CampaignGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25633,7 +25633,7 @@ impl<'a> CampaignInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26050,7 +26050,7 @@ impl<'a> CampaignListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26340,7 +26340,7 @@ impl<'a> CampaignPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26617,7 +26617,7 @@ impl<'a> CampaignUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26877,7 +26877,7 @@ impl<'a> ChangeLogGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27254,7 +27254,7 @@ impl<'a> ChangeLogListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27559,7 +27559,7 @@ impl<'a> CityListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27819,7 +27819,7 @@ impl<'a> ConnectionTypeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28067,7 +28067,7 @@ impl<'a> ConnectionTypeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28316,7 +28316,7 @@ impl<'a> ContentCategoryDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28577,7 +28577,7 @@ impl<'a> ContentCategoryGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -28854,7 +28854,7 @@ impl<'a> ContentCategoryInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29178,7 +29178,7 @@ impl<'a> ContentCategoryListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29468,7 +29468,7 @@ impl<'a> ContentCategoryPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29746,7 +29746,7 @@ impl<'a> ContentCategoryUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -30024,7 +30024,7 @@ impl<'a> ConversionBatchinsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -30301,7 +30301,7 @@ impl<'a> ConversionBatchupdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30561,7 +30561,7 @@ impl<'a> CountryGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30811,7 +30811,7 @@ impl<'a> CountryListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -31213,7 +31213,7 @@ impl<'a> CreativeAssetInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31474,7 +31474,7 @@ impl<'a> CreativeFieldValueDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31747,7 +31747,7 @@ impl<'a> CreativeFieldValueGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -32036,7 +32036,7 @@ impl<'a> CreativeFieldValueInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32372,7 +32372,7 @@ impl<'a> CreativeFieldValueListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -32674,7 +32674,7 @@ impl<'a> CreativeFieldValuePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -32963,7 +32963,7 @@ impl<'a> CreativeFieldValueUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33212,7 +33212,7 @@ impl<'a> CreativeFieldDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33473,7 +33473,7 @@ impl<'a> CreativeFieldGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -33750,7 +33750,7 @@ impl<'a> CreativeFieldInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34089,7 +34089,7 @@ impl<'a> CreativeFieldListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -34379,7 +34379,7 @@ impl<'a> CreativeFieldPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -34656,7 +34656,7 @@ impl<'a> CreativeFieldUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34917,7 +34917,7 @@ impl<'a> CreativeGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35194,7 +35194,7 @@ impl<'a> CreativeGroupInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -35545,7 +35545,7 @@ impl<'a> CreativeGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35835,7 +35835,7 @@ impl<'a> CreativeGroupPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -36112,7 +36112,7 @@ impl<'a> CreativeGroupUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -36373,7 +36373,7 @@ impl<'a> CreativeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -36650,7 +36650,7 @@ impl<'a> CreativeInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -37109,7 +37109,7 @@ impl<'a> CreativeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -37399,7 +37399,7 @@ impl<'a> CreativePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -37677,7 +37677,7 @@ impl<'a> CreativeUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -37978,7 +37978,7 @@ impl<'a> DimensionValueQueryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -38238,7 +38238,7 @@ impl<'a> DirectorySiteContactGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -38576,7 +38576,7 @@ impl<'a> DirectorySiteContactListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -38837,7 +38837,7 @@ impl<'a> DirectorySiteGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -39114,7 +39114,7 @@ impl<'a> DirectorySiteInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -39521,7 +39521,7 @@ impl<'a> DirectorySiteListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -39795,7 +39795,7 @@ impl<'a> DynamicTargetingKeyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -40072,7 +40072,7 @@ impl<'a> DynamicTargetingKeyInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -40371,7 +40371,7 @@ impl<'a> DynamicTargetingKeyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -40620,7 +40620,7 @@ impl<'a> EventTagDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -40881,7 +40881,7 @@ impl<'a> EventTagGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -41158,7 +41158,7 @@ impl<'a> EventTagInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -41533,7 +41533,7 @@ impl<'a> EventTagListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -41823,7 +41823,7 @@ impl<'a> EventTagPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -42105,7 +42105,7 @@ impl<'a> EventTagUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -42381,7 +42381,7 @@ impl<'a> FileGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -42689,7 +42689,7 @@ impl<'a> FileListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -42938,7 +42938,7 @@ impl<'a> FloodlightActivityDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -43198,7 +43198,7 @@ impl<'a> FloodlightActivityGeneratetagCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -43459,7 +43459,7 @@ impl<'a> FloodlightActivityGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -43736,7 +43736,7 @@ impl<'a> FloodlightActivityInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44147,7 +44147,7 @@ impl<'a> FloodlightActivityListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -44437,7 +44437,7 @@ impl<'a> FloodlightActivityPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -44714,7 +44714,7 @@ impl<'a> FloodlightActivityUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44975,7 +44975,7 @@ impl<'a> FloodlightActivityGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -45252,7 +45252,7 @@ impl<'a> FloodlightActivityGroupInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -45612,7 +45612,7 @@ impl<'a> FloodlightActivityGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -45902,7 +45902,7 @@ impl<'a> FloodlightActivityGroupPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -46179,7 +46179,7 @@ impl<'a> FloodlightActivityGroupUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46439,7 +46439,7 @@ impl<'a> FloodlightConfigurationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46703,7 +46703,7 @@ impl<'a> FloodlightConfigurationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -46993,7 +46993,7 @@ impl<'a> FloodlightConfigurationPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -47270,7 +47270,7 @@ impl<'a> FloodlightConfigurationUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47542,7 +47542,7 @@ impl<'a> InventoryItemGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47919,7 +47919,7 @@ impl<'a> InventoryItemListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48167,7 +48167,7 @@ impl<'a> LanguageListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48415,7 +48415,7 @@ impl<'a> MetroListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48675,7 +48675,7 @@ impl<'a> MobileCarrierGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48923,7 +48923,7 @@ impl<'a> MobileCarrierListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49183,7 +49183,7 @@ impl<'a> OperatingSystemVersionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49431,7 +49431,7 @@ impl<'a> OperatingSystemVersionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49691,7 +49691,7 @@ impl<'a> OperatingSystemGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49939,7 +49939,7 @@ impl<'a> OperatingSystemListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -50211,7 +50211,7 @@ impl<'a> OrderDocumentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -50588,7 +50588,7 @@ impl<'a> OrderDocumentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -50860,7 +50860,7 @@ impl<'a> OrderGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -51210,7 +51210,7 @@ impl<'a> OrderListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -51471,7 +51471,7 @@ impl<'a> PlacementGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -51748,7 +51748,7 @@ impl<'a> PlacementGroupInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -52249,7 +52249,7 @@ impl<'a> PlacementGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -52539,7 +52539,7 @@ impl<'a> PlacementGroupPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -52816,7 +52816,7 @@ impl<'a> PlacementGroupUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -53065,7 +53065,7 @@ impl<'a> PlacementStrategyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -53326,7 +53326,7 @@ impl<'a> PlacementStrategyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -53603,7 +53603,7 @@ impl<'a> PlacementStrategyInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -53927,7 +53927,7 @@ impl<'a> PlacementStrategyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -54217,7 +54217,7 @@ impl<'a> PlacementStrategyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -54494,7 +54494,7 @@ impl<'a> PlacementStrategyUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -54786,7 +54786,7 @@ impl<'a> PlacementGeneratetagCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -55047,7 +55047,7 @@ impl<'a> PlacementGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -55324,7 +55324,7 @@ impl<'a> PlacementInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -55870,7 +55870,7 @@ impl<'a> PlacementListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -56160,7 +56160,7 @@ impl<'a> PlacementPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -56437,7 +56437,7 @@ impl<'a> PlacementUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -56697,7 +56697,7 @@ impl<'a> PlatformTypeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -56945,7 +56945,7 @@ impl<'a> PlatformTypeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -57205,7 +57205,7 @@ impl<'a> PostalCodeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -57453,7 +57453,7 @@ impl<'a> PostalCodeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -57713,7 +57713,7 @@ impl<'a> ProjectGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58051,7 +58051,7 @@ impl<'a> ProjectListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58299,7 +58299,7 @@ impl<'a> RegionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58560,7 +58560,7 @@ impl<'a> RemarketingListShareGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -58850,7 +58850,7 @@ impl<'a> RemarketingListSharePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -59127,7 +59127,7 @@ impl<'a> RemarketingListShareUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -59388,7 +59388,7 @@ impl<'a> RemarketingListGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -59665,7 +59665,7 @@ impl<'a> RemarketingListInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -60010,7 +60010,7 @@ impl<'a> RemarketingListListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -60300,7 +60300,7 @@ impl<'a> RemarketingListPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -60578,7 +60578,7 @@ impl<'a> RemarketingListUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -60860,7 +60860,7 @@ impl<'a> ReportCompatibleFieldQueryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -61148,7 +61148,7 @@ impl<'a> ReportFileGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -61456,7 +61456,7 @@ impl<'a> ReportFileListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -61705,7 +61705,7 @@ impl<'a> ReportDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -61966,7 +61966,7 @@ impl<'a> ReportGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -62243,7 +62243,7 @@ impl<'a> ReportInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -62552,7 +62552,7 @@ impl<'a> ReportListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -62841,7 +62841,7 @@ impl<'a> ReportPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63114,7 +63114,7 @@ impl<'a> ReportRunCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -63403,7 +63403,7 @@ impl<'a> ReportUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63664,7 +63664,7 @@ impl<'a> SiteGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -63941,7 +63941,7 @@ impl<'a> SiteInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -64379,7 +64379,7 @@ impl<'a> SiteListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -64669,7 +64669,7 @@ impl<'a> SitePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -64946,7 +64946,7 @@ impl<'a> SiteUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -65207,7 +65207,7 @@ impl<'a> SizeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -65484,7 +65484,7 @@ impl<'a> SizeInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -65783,7 +65783,7 @@ impl<'a> SizeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -66044,7 +66044,7 @@ impl<'a> SubaccountGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -66321,7 +66321,7 @@ impl<'a> SubaccountInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -66645,7 +66645,7 @@ impl<'a> SubaccountListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -66935,7 +66935,7 @@ impl<'a> SubaccountPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -67212,7 +67212,7 @@ impl<'a> SubaccountUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -67472,7 +67472,7 @@ impl<'a> TargetableRemarketingListGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -67804,7 +67804,7 @@ impl<'a> TargetableRemarketingListListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -68065,7 +68065,7 @@ impl<'a> TargetingTemplateGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -68342,7 +68342,7 @@ impl<'a> TargetingTemplateInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -68678,7 +68678,7 @@ impl<'a> TargetingTemplateListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -68968,7 +68968,7 @@ impl<'a> TargetingTemplatePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -69245,7 +69245,7 @@ impl<'a> TargetingTemplateUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -69493,7 +69493,7 @@ impl<'a> UserProfileGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -69708,7 +69708,7 @@ impl<'a> UserProfileListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -69968,7 +69968,7 @@ impl<'a> UserRolePermissionGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -70216,7 +70216,7 @@ impl<'a> UserRolePermissionGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -70476,7 +70476,7 @@ impl<'a> UserRolePermissionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -70739,7 +70739,7 @@ impl<'a> UserRolePermissionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -70988,7 +70988,7 @@ impl<'a> UserRoleDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -71249,7 +71249,7 @@ impl<'a> UserRoleGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -71526,7 +71526,7 @@ impl<'a> UserRoleInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -71874,7 +71874,7 @@ impl<'a> UserRoleListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -72164,7 +72164,7 @@ impl<'a> UserRolePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -72441,7 +72441,7 @@ impl<'a> UserRoleUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -72701,7 +72701,7 @@ impl<'a> VideoFormatGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/dfareporting3/src/lib.rs b/gen/dfareporting3/src/lib.rs index 74c7c332f0..f8a7eb5469 100644 --- a/gen/dfareporting3/src/lib.rs +++ b/gen/dfareporting3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *dfareporting* crate version *3.0.0+20180830*, where *20180830* is the exact revision of the *dfareporting:v3.0* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *dfareporting* crate version *3.1.0+20180830*, where *20180830* is the exact revision of the *dfareporting:v3.0* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *dfareporting* *v3* API can be found at the //! [official documentation site](https://developers.google.com/doubleclick-advertisers/). @@ -227,7 +227,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/dfareporting3d2-cli/Cargo.toml b/gen/dfareporting3d2-cli/Cargo.toml index e8923cd02e..9011974c2f 100644 --- a/gen/dfareporting3d2-cli/Cargo.toml +++ b/gen/dfareporting3d2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dfareporting3d2-cli" -version = "3.0.0+20190531" +version = "3.1.0+20190531" authors = ["Sebastian Thiel "] description = "A complete library to interact with dfareporting (protocol v3.2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dfareporting3d2-cli" @@ -20,12 +20,12 @@ name = "dfareporting3d2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-dfareporting3d2] path = "../dfareporting3d2" -version = "3.0.0+20190531" +version = "3.1.0+20190531" diff --git a/gen/dfareporting3d2-cli/README.md b/gen/dfareporting3d2-cli/README.md index 2b8055e3dc..fe8d5fce21 100644 --- a/gen/dfareporting3d2-cli/README.md +++ b/gen/dfareporting3d2-cli/README.md @@ -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 *dfareporting* API at revision *20190531*. The CLI is at version *3.0.0*. +This documentation was generated from the *dfareporting* API at revision *20190531*. The CLI is at version *3.1.0*. ```bash dfareporting3d2 [options] diff --git a/gen/dfareporting3d2-cli/mkdocs.yml b/gen/dfareporting3d2-cli/mkdocs.yml index 0d2c155eec..f8cd82c9c3 100644 --- a/gen/dfareporting3d2-cli/mkdocs.yml +++ b/gen/dfareporting3d2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: dfareporting v3.0.0+20190531 +site_name: dfareporting v3.1.0+20190531 site_url: http://byron.github.io/google-apis-rs/google-dfareporting3d2-cli site_description: A complete library to interact with dfareporting (protocol v3.2) diff --git a/gen/dfareporting3d2-cli/src/main.rs b/gen/dfareporting3d2-cli/src/main.rs index 395089ce2d..ac4b0d3290 100644 --- a/gen/dfareporting3d2-cli/src/main.rs +++ b/gen/dfareporting3d2-cli/src/main.rs @@ -18013,7 +18013,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/dfareporting3d2", 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::Dfareporting::new(client, auth), @@ -23869,7 +23875,7 @@ async fn main() { let mut app = App::new("dfareporting3d2") .author("Sebastian Thiel ") - .version("3.0.0+20190531") + .version("3.1.0+20190531") .about("Manages your DoubleClick Campaign Manager ad campaigns and reports.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_dfareporting3d2_cli") .arg(Arg::with_name("url") diff --git a/gen/dfareporting3d2/Cargo.toml b/gen/dfareporting3d2/Cargo.toml index 67e4e25d03..0f44109dd8 100644 --- a/gen/dfareporting3d2/Cargo.toml +++ b/gen/dfareporting3d2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dfareporting3d2" -version = "3.0.0+20190531" +version = "3.1.0+20190531" authors = ["Sebastian Thiel "] description = "A complete library to interact with dfareporting (protocol v3.2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dfareporting3d2" homepage = "https://developers.google.com/doubleclick-advertisers/" -documentation = "https://docs.rs/google-dfareporting3d2/3.0.0+20190531" +documentation = "https://docs.rs/google-dfareporting3d2/3.1.0+20190531" license = "MIT" keywords = ["dfareporting", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/dfareporting3d2/README.md b/gen/dfareporting3d2/README.md index fe31983ded..b6f6be4933 100644 --- a/gen/dfareporting3d2/README.md +++ b/gen/dfareporting3d2/README.md @@ -5,146 +5,146 @@ DO NOT EDIT ! --> The `google-dfareporting3d2` library allows access to all features of the *Google dfareporting* service. -This documentation was generated from *dfareporting* crate version *3.0.0+20190531*, where *20190531* is the exact revision of the *dfareporting:v3.2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *dfareporting* crate version *3.1.0+20190531*, where *20190531* is the exact revision of the *dfareporting:v3.2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *dfareporting* *v3d2* API can be found at the [official documentation site](https://developers.google.com/doubleclick-advertisers/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/Dfareporting) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/Dfareporting) ... -* [account active ad summaries](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::AccountActiveAdSummary) - * [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::AccountActiveAdSummaryGetCall) -* [account permission groups](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::AccountPermissionGroup) - * [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::AccountPermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::AccountPermissionGroupListCall) -* [account permissions](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::AccountPermission) - * [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::AccountPermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::AccountPermissionListCall) -* [account user profiles](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::AccountUserProfile) - * [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::AccountUserProfileGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::AccountUserProfileInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::AccountUserProfileListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::AccountUserProfilePatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::AccountUserProfileUpdateCall) -* [accounts](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::Account) - * [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::AccountGetCall), [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::AccountListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::AccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::AccountUpdateCall) -* [ads](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::Ad) - * [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::AdGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::AdInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::AdListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::AdPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::AdUpdateCall) -* [advertiser groups](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::AdvertiserGroup) - * [*delete*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::AdvertiserGroupDeleteCall), [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::AdvertiserGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::AdvertiserGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::AdvertiserGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::AdvertiserGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::AdvertiserGroupUpdateCall) +* [account active ad summaries](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::AccountActiveAdSummary) + * [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::AccountActiveAdSummaryGetCall) +* [account permission groups](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::AccountPermissionGroup) + * [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::AccountPermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::AccountPermissionGroupListCall) +* [account permissions](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::AccountPermission) + * [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::AccountPermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::AccountPermissionListCall) +* [account user profiles](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::AccountUserProfile) + * [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::AccountUserProfileGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::AccountUserProfileInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::AccountUserProfileListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::AccountUserProfilePatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::AccountUserProfileUpdateCall) +* [accounts](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::Account) + * [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::AccountGetCall), [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::AccountListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::AccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::AccountUpdateCall) +* [ads](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::Ad) + * [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::AdGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::AdInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::AdListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::AdPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::AdUpdateCall) +* [advertiser groups](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::AdvertiserGroup) + * [*delete*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::AdvertiserGroupDeleteCall), [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::AdvertiserGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::AdvertiserGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::AdvertiserGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::AdvertiserGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::AdvertiserGroupUpdateCall) * advertiser landing pages - * [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::AdvertiserLandingPageGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::AdvertiserLandingPageInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::AdvertiserLandingPageListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::AdvertiserLandingPagePatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::AdvertiserLandingPageUpdateCall) -* [advertisers](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::Advertiser) - * [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::AdvertiserGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::AdvertiserInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::AdvertiserListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::AdvertiserPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::AdvertiserUpdateCall) -* [browsers](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::Browser) - * [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::BrowserListCall) -* [campaign creative associations](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::CampaignCreativeAssociation) - * [*insert*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::CampaignCreativeAssociationInsertCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::CampaignCreativeAssociationListCall) -* [campaigns](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::Campaign) - * [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::CampaignGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::CampaignInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::CampaignListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::CampaignPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::CampaignUpdateCall) -* [change logs](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::ChangeLog) - * [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::ChangeLogGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::ChangeLogListCall) -* [cities](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::City) - * [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::CityListCall) -* [connection types](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::ConnectionType) - * [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::ConnectionTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::ConnectionTypeListCall) -* [content categories](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::ContentCategory) - * [*delete*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::ContentCategoryDeleteCall), [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::ContentCategoryGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::ContentCategoryInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::ContentCategoryListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::ContentCategoryPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::ContentCategoryUpdateCall) -* [conversions](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::Conversion) - * [*batchinsert*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::ConversionBatchinsertCall) and [*batchupdate*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::ConversionBatchupdateCall) -* [countries](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::Country) - * [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::CountryGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::CountryListCall) -* [creative assets](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::CreativeAsset) - * [*insert*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::CreativeAssetInsertCall) -* [creative field values](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::CreativeFieldValue) - * [*delete*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::CreativeFieldValueDeleteCall), [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::CreativeFieldValueGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::CreativeFieldValueInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::CreativeFieldValueListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::CreativeFieldValuePatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::CreativeFieldValueUpdateCall) -* [creative fields](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::CreativeField) - * [*delete*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::CreativeFieldDeleteCall), [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::CreativeFieldGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::CreativeFieldInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::CreativeFieldListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::CreativeFieldPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::CreativeFieldUpdateCall) -* [creative groups](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::CreativeGroup) - * [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::CreativeGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::CreativeGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::CreativeGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::CreativeGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::CreativeGroupUpdateCall) -* [creatives](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::Creative) - * [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::CreativeGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::CreativeInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::CreativeListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::CreativePatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::CreativeUpdateCall) -* [dimension values](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::DimensionValue) - * [*query*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::DimensionValueQueryCall) -* [directory site contacts](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::DirectorySiteContact) - * [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::DirectorySiteContactGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::DirectorySiteContactListCall) -* [directory sites](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::DirectorySite) - * [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::DirectorySiteGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::DirectorySiteInsertCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::DirectorySiteListCall) -* [dynamic targeting keys](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::DynamicTargetingKey) - * [*delete*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::DynamicTargetingKeyDeleteCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::DynamicTargetingKeyInsertCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::DynamicTargetingKeyListCall) -* [event tags](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::EventTag) - * [*delete*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::EventTagDeleteCall), [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::EventTagGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::EventTagInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::EventTagListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::EventTagPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::EventTagUpdateCall) -* [files](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::File) - * [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::FileGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::FileListCall) -* [floodlight activities](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::FloodlightActivity) - * [*delete*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::FloodlightActivityDeleteCall), [*generatetag*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::FloodlightActivityGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::FloodlightActivityGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::FloodlightActivityInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::FloodlightActivityListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::FloodlightActivityPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::FloodlightActivityUpdateCall) -* [floodlight activity groups](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::FloodlightActivityGroup) - * [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::FloodlightActivityGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::FloodlightActivityGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::FloodlightActivityGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::FloodlightActivityGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::FloodlightActivityGroupUpdateCall) -* [floodlight configurations](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::FloodlightConfiguration) - * [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::FloodlightConfigurationGetCall), [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::FloodlightConfigurationListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::FloodlightConfigurationPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::FloodlightConfigurationUpdateCall) -* [inventory items](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::InventoryItem) - * [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::InventoryItemGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::InventoryItemListCall) -* [languages](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::Language) - * [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::LanguageListCall) -* [metros](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::Metro) - * [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::MetroListCall) -* [mobile apps](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::MobileApp) - * [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::MobileAppGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::MobileAppListCall) -* [mobile carriers](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::MobileCarrier) - * [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::MobileCarrierGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::MobileCarrierListCall) -* [operating system versions](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::OperatingSystemVersion) - * [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::OperatingSystemVersionGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::OperatingSystemVersionListCall) -* [operating systems](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::OperatingSystem) - * [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::OperatingSystemGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::OperatingSystemListCall) -* [order documents](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::OrderDocument) - * [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::OrderDocumentGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::OrderDocumentListCall) -* [orders](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::Order) - * [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::OrderGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::OrderListCall) -* [placement groups](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::PlacementGroup) - * [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::PlacementGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::PlacementGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::PlacementGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::PlacementGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::PlacementGroupUpdateCall) -* [placement strategies](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::PlacementStrategy) - * [*delete*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::PlacementStrategyDeleteCall), [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::PlacementStrategyGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::PlacementStrategyInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::PlacementStrategyListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::PlacementStrategyPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::PlacementStrategyUpdateCall) -* [placements](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::Placement) - * [*generatetags*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::PlacementGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::PlacementGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::PlacementInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::PlacementListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::PlacementPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::PlacementUpdateCall) -* [platform types](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::PlatformType) - * [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::PlatformTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::PlatformTypeListCall) -* [postal codes](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::PostalCode) - * [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::PostalCodeGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::PostalCodeListCall) -* [projects](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::Project) - * [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::ProjectGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::ProjectListCall) -* [regions](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::Region) - * [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::RegionListCall) -* [remarketing list shares](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::RemarketingListShare) - * [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::RemarketingListShareGetCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::RemarketingListSharePatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::RemarketingListShareUpdateCall) -* [remarketing lists](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::RemarketingList) - * [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::RemarketingListGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::RemarketingListInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::RemarketingListListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::RemarketingListPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::RemarketingListUpdateCall) -* [reports](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::Report) - * [*compatible fields query*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::ReportCompatibleFieldQueryCall), [*delete*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::ReportDeleteCall), [*files get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::ReportFileGetCall), [*files list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::ReportFileListCall), [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::ReportGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::ReportInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::ReportListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::ReportPatchCall), [*run*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::ReportRunCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::ReportUpdateCall) -* [sites](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::Site) - * [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::SiteGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::SiteInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::SiteListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::SitePatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::SiteUpdateCall) -* [sizes](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::Size) - * [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::SizeGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::SizeInsertCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::SizeListCall) -* [subaccounts](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::Subaccount) - * [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::SubaccountGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::SubaccountInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::SubaccountListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::SubaccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::SubaccountUpdateCall) -* [targetable remarketing lists](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::TargetableRemarketingList) - * [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::TargetableRemarketingListGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::TargetableRemarketingListListCall) -* [targeting templates](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::TargetingTemplate) - * [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::TargetingTemplateGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::TargetingTemplateInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::TargetingTemplateListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::TargetingTemplatePatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::TargetingTemplateUpdateCall) -* [user profiles](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::UserProfile) - * [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::UserProfileGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::UserProfileListCall) -* [user role permission groups](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::UserRolePermissionGroup) - * [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::UserRolePermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::UserRolePermissionGroupListCall) -* [user role permissions](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::UserRolePermission) - * [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::UserRolePermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::UserRolePermissionListCall) -* [user roles](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::UserRole) - * [*delete*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::UserRoleDeleteCall), [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::UserRoleGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::UserRoleInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::UserRoleListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::UserRolePatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::UserRoleUpdateCall) -* [video formats](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::VideoFormat) - * [*get*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::VideoFormatGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::VideoFormatListCall) + * [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::AdvertiserLandingPageGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::AdvertiserLandingPageInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::AdvertiserLandingPageListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::AdvertiserLandingPagePatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::AdvertiserLandingPageUpdateCall) +* [advertisers](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::Advertiser) + * [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::AdvertiserGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::AdvertiserInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::AdvertiserListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::AdvertiserPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::AdvertiserUpdateCall) +* [browsers](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::Browser) + * [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::BrowserListCall) +* [campaign creative associations](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::CampaignCreativeAssociation) + * [*insert*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::CampaignCreativeAssociationInsertCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::CampaignCreativeAssociationListCall) +* [campaigns](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::Campaign) + * [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::CampaignGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::CampaignInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::CampaignListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::CampaignPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::CampaignUpdateCall) +* [change logs](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::ChangeLog) + * [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::ChangeLogGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::ChangeLogListCall) +* [cities](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::City) + * [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::CityListCall) +* [connection types](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::ConnectionType) + * [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::ConnectionTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::ConnectionTypeListCall) +* [content categories](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::ContentCategory) + * [*delete*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::ContentCategoryDeleteCall), [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::ContentCategoryGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::ContentCategoryInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::ContentCategoryListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::ContentCategoryPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::ContentCategoryUpdateCall) +* [conversions](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::Conversion) + * [*batchinsert*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::ConversionBatchinsertCall) and [*batchupdate*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::ConversionBatchupdateCall) +* [countries](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::Country) + * [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::CountryGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::CountryListCall) +* [creative assets](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::CreativeAsset) + * [*insert*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::CreativeAssetInsertCall) +* [creative field values](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::CreativeFieldValue) + * [*delete*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::CreativeFieldValueDeleteCall), [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::CreativeFieldValueGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::CreativeFieldValueInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::CreativeFieldValueListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::CreativeFieldValuePatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::CreativeFieldValueUpdateCall) +* [creative fields](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::CreativeField) + * [*delete*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::CreativeFieldDeleteCall), [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::CreativeFieldGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::CreativeFieldInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::CreativeFieldListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::CreativeFieldPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::CreativeFieldUpdateCall) +* [creative groups](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::CreativeGroup) + * [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::CreativeGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::CreativeGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::CreativeGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::CreativeGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::CreativeGroupUpdateCall) +* [creatives](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::Creative) + * [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::CreativeGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::CreativeInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::CreativeListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::CreativePatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::CreativeUpdateCall) +* [dimension values](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::DimensionValue) + * [*query*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::DimensionValueQueryCall) +* [directory site contacts](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::DirectorySiteContact) + * [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::DirectorySiteContactGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::DirectorySiteContactListCall) +* [directory sites](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::DirectorySite) + * [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::DirectorySiteGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::DirectorySiteInsertCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::DirectorySiteListCall) +* [dynamic targeting keys](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::DynamicTargetingKey) + * [*delete*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::DynamicTargetingKeyDeleteCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::DynamicTargetingKeyInsertCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::DynamicTargetingKeyListCall) +* [event tags](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::EventTag) + * [*delete*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::EventTagDeleteCall), [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::EventTagGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::EventTagInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::EventTagListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::EventTagPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::EventTagUpdateCall) +* [files](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::File) + * [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::FileGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::FileListCall) +* [floodlight activities](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::FloodlightActivity) + * [*delete*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::FloodlightActivityDeleteCall), [*generatetag*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::FloodlightActivityGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::FloodlightActivityGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::FloodlightActivityInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::FloodlightActivityListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::FloodlightActivityPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::FloodlightActivityUpdateCall) +* [floodlight activity groups](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::FloodlightActivityGroup) + * [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::FloodlightActivityGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::FloodlightActivityGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::FloodlightActivityGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::FloodlightActivityGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::FloodlightActivityGroupUpdateCall) +* [floodlight configurations](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::FloodlightConfiguration) + * [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::FloodlightConfigurationGetCall), [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::FloodlightConfigurationListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::FloodlightConfigurationPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::FloodlightConfigurationUpdateCall) +* [inventory items](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::InventoryItem) + * [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::InventoryItemGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::InventoryItemListCall) +* [languages](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::Language) + * [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::LanguageListCall) +* [metros](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::Metro) + * [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::MetroListCall) +* [mobile apps](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::MobileApp) + * [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::MobileAppGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::MobileAppListCall) +* [mobile carriers](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::MobileCarrier) + * [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::MobileCarrierGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::MobileCarrierListCall) +* [operating system versions](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::OperatingSystemVersion) + * [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::OperatingSystemVersionGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::OperatingSystemVersionListCall) +* [operating systems](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::OperatingSystem) + * [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::OperatingSystemGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::OperatingSystemListCall) +* [order documents](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::OrderDocument) + * [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::OrderDocumentGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::OrderDocumentListCall) +* [orders](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::Order) + * [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::OrderGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::OrderListCall) +* [placement groups](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::PlacementGroup) + * [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::PlacementGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::PlacementGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::PlacementGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::PlacementGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::PlacementGroupUpdateCall) +* [placement strategies](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::PlacementStrategy) + * [*delete*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::PlacementStrategyDeleteCall), [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::PlacementStrategyGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::PlacementStrategyInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::PlacementStrategyListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::PlacementStrategyPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::PlacementStrategyUpdateCall) +* [placements](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::Placement) + * [*generatetags*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::PlacementGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::PlacementGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::PlacementInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::PlacementListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::PlacementPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::PlacementUpdateCall) +* [platform types](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::PlatformType) + * [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::PlatformTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::PlatformTypeListCall) +* [postal codes](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::PostalCode) + * [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::PostalCodeGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::PostalCodeListCall) +* [projects](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::Project) + * [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::ProjectGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::ProjectListCall) +* [regions](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::Region) + * [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::RegionListCall) +* [remarketing list shares](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::RemarketingListShare) + * [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::RemarketingListShareGetCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::RemarketingListSharePatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::RemarketingListShareUpdateCall) +* [remarketing lists](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::RemarketingList) + * [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::RemarketingListGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::RemarketingListInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::RemarketingListListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::RemarketingListPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::RemarketingListUpdateCall) +* [reports](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::Report) + * [*compatible fields query*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::ReportCompatibleFieldQueryCall), [*delete*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::ReportDeleteCall), [*files get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::ReportFileGetCall), [*files list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::ReportFileListCall), [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::ReportGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::ReportInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::ReportListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::ReportPatchCall), [*run*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::ReportRunCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::ReportUpdateCall) +* [sites](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::Site) + * [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::SiteGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::SiteInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::SiteListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::SitePatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::SiteUpdateCall) +* [sizes](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::Size) + * [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::SizeGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::SizeInsertCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::SizeListCall) +* [subaccounts](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::Subaccount) + * [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::SubaccountGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::SubaccountInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::SubaccountListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::SubaccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::SubaccountUpdateCall) +* [targetable remarketing lists](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::TargetableRemarketingList) + * [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::TargetableRemarketingListGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::TargetableRemarketingListListCall) +* [targeting templates](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::TargetingTemplate) + * [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::TargetingTemplateGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::TargetingTemplateInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::TargetingTemplateListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::TargetingTemplatePatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::TargetingTemplateUpdateCall) +* [user profiles](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::UserProfile) + * [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::UserProfileGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::UserProfileListCall) +* [user role permission groups](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::UserRolePermissionGroup) + * [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::UserRolePermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::UserRolePermissionGroupListCall) +* [user role permissions](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::UserRolePermission) + * [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::UserRolePermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::UserRolePermissionListCall) +* [user roles](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::UserRole) + * [*delete*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::UserRoleDeleteCall), [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::UserRoleGetCall), [*insert*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::UserRoleInsertCall), [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::UserRoleListCall), [*patch*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::UserRolePatchCall) and [*update*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::UserRoleUpdateCall) +* [video formats](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::VideoFormat) + * [*get*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::VideoFormatGetCall) and [*list*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::VideoFormatListCall) Upload supported by ... -* [*insert creative assets*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::CreativeAssetInsertCall) +* [*insert creative assets*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::CreativeAssetInsertCall) Download supported by ... -* [*get files*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::FileGetCall) -* [*files get reports*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/api::ReportFileGetCall) +* [*get files*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::FileGetCall) +* [*files get reports*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/api::ReportFileGetCall) @@ -152,17 +152,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/Dfareporting)** +* **[Hub](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/Dfareporting)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/client::CallBuilder) -* **[Resources](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/client::CallBuilder) +* **[Resources](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/client::Part)** + * **[Parts](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -228,7 +228,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -260,17 +260,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -280,29 +280,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/client::Delegate) to the -[Method Builder](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/client::Delegate) to the +[Method Builder](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/client::RequestValue) and -[decodable](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/client::RequestValue) and +[decodable](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-dfareporting3d2/3.0.0+20190531/google_dfareporting3d2/client::RequestValue) are moved +* [request values](https://docs.rs/google-dfareporting3d2/3.1.0+20190531/google_dfareporting3d2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/dfareporting3d2/src/api.rs b/gen/dfareporting3d2/src/api.rs index 3be1ecac2c..023fe731a6 100644 --- a/gen/dfareporting3d2/src/api.rs +++ b/gen/dfareporting3d2/src/api.rs @@ -78,7 +78,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -125,7 +125,7 @@ impl<'a, > Dfareporting<> { Dfareporting { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/dfareporting/v3.2/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -316,7 +316,7 @@ impl<'a, > Dfareporting<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -7480,7 +7480,7 @@ impl client::Part for ReportSchedule {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -7540,7 +7540,7 @@ impl<'a> AccountActiveAdSummaryMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -7617,7 +7617,7 @@ impl<'a> AccountPermissionGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -7694,7 +7694,7 @@ impl<'a> AccountPermissionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -7839,7 +7839,7 @@ impl<'a> AccountUserProfileMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -7963,7 +7963,7 @@ impl<'a> AccountMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8122,7 +8122,7 @@ impl<'a> AdMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8283,7 +8283,7 @@ impl<'a> AdvertiserGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8429,7 +8429,7 @@ impl<'a> AdvertiserLandingPageMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8577,7 +8577,7 @@ impl<'a> AdvertiserMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -8635,7 +8635,7 @@ impl<'a> BrowserMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `insert(...)` and `list(...)` /// // to build up your call. @@ -8719,7 +8719,7 @@ impl<'a> CampaignCreativeAssociationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8868,7 +8868,7 @@ impl<'a> CampaignMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -8955,7 +8955,7 @@ impl<'a> ChangeLogMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -9017,7 +9017,7 @@ impl<'a> CityMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9094,7 +9094,7 @@ impl<'a> ConnectionTypeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9255,7 +9255,7 @@ impl<'a> ContentCategoryMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `batchinsert(...)` and `batchupdate(...)` /// // to build up your call. @@ -9334,7 +9334,7 @@ impl<'a> ConversionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9411,7 +9411,7 @@ impl<'a> CountryMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `insert(...)` /// // to build up your call. @@ -9473,7 +9473,7 @@ impl<'a> CreativeAssetMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9646,7 +9646,7 @@ impl<'a> CreativeFieldValueMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9808,7 +9808,7 @@ impl<'a> CreativeFieldMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9952,7 +9952,7 @@ impl<'a> CreativeGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10104,7 +10104,7 @@ impl<'a> CreativeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `query(...)` /// // to build up your call. @@ -10166,7 +10166,7 @@ impl<'a> DimensionValueMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -10250,7 +10250,7 @@ impl<'a> DirectorySiteContactMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -10359,7 +10359,7 @@ impl<'a> DirectorySiteMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -10463,7 +10463,7 @@ impl<'a> DynamicTargetingKeyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10628,7 +10628,7 @@ impl<'a> EventTagMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -10710,7 +10710,7 @@ impl<'a> FileMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `generatetag(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10896,7 +10896,7 @@ impl<'a> FloodlightActivityMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11041,7 +11041,7 @@ impl<'a> FloodlightActivityGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11159,7 +11159,7 @@ impl<'a> FloodlightConfigurationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11249,7 +11249,7 @@ impl<'a> InventoryItemMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -11307,7 +11307,7 @@ impl<'a> LanguageMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -11365,7 +11365,7 @@ impl<'a> MetroMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11447,7 +11447,7 @@ impl<'a> MobileAppMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11524,7 +11524,7 @@ impl<'a> MobileCarrierMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11601,7 +11601,7 @@ impl<'a> OperatingSystemVersionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11678,7 +11678,7 @@ impl<'a> OperatingSystemMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11768,7 +11768,7 @@ impl<'a> OrderDocumentMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11856,7 +11856,7 @@ impl<'a> OrderMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12011,7 +12011,7 @@ impl<'a> PlacementGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12172,7 +12172,7 @@ impl<'a> PlacementStrategyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `generatetags(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12350,7 +12350,7 @@ impl<'a> PlacementMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -12427,7 +12427,7 @@ impl<'a> PlatformTypeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -12504,7 +12504,7 @@ impl<'a> PostalCodeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -12588,7 +12588,7 @@ impl<'a> ProjectMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -12646,7 +12646,7 @@ impl<'a> RegionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12746,7 +12746,7 @@ impl<'a> RemarketingListShareMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12891,7 +12891,7 @@ impl<'a> RemarketingListMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `compatible_fields_query(...)`, `delete(...)`, `files_get(...)`, `files_list(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)`, `run(...)` and `update(...)` /// // to build up your call. @@ -13136,7 +13136,7 @@ impl<'a> ReportMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -13287,7 +13287,7 @@ impl<'a> SiteMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -13387,7 +13387,7 @@ impl<'a> SizeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -13529,7 +13529,7 @@ impl<'a> SubaccountMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -13614,7 +13614,7 @@ impl<'a> TargetableRemarketingListMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -13757,7 +13757,7 @@ impl<'a> TargetingTemplateMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -13827,7 +13827,7 @@ impl<'a> UserProfileMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -13904,7 +13904,7 @@ impl<'a> UserRolePermissionGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -13982,7 +13982,7 @@ impl<'a> UserRolePermissionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -14145,7 +14145,7 @@ impl<'a> UserRoleMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -14229,7 +14229,7 @@ impl<'a> VideoFormatMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14489,7 +14489,7 @@ impl<'a> AccountActiveAdSummaryGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14749,7 +14749,7 @@ impl<'a> AccountPermissionGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14997,7 +14997,7 @@ impl<'a> AccountPermissionGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15257,7 +15257,7 @@ impl<'a> AccountPermissionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15505,7 +15505,7 @@ impl<'a> AccountPermissionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15766,7 +15766,7 @@ impl<'a> AccountUserProfileGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16043,7 +16043,7 @@ impl<'a> AccountUserProfileInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16403,7 +16403,7 @@ impl<'a> AccountUserProfileListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16693,7 +16693,7 @@ impl<'a> AccountUserProfilePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16970,7 +16970,7 @@ impl<'a> AccountUserProfileUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17230,7 +17230,7 @@ impl<'a> AccountGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17566,7 +17566,7 @@ impl<'a> AccountListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17856,7 +17856,7 @@ impl<'a> AccountPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18133,7 +18133,7 @@ impl<'a> AccountUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18394,7 +18394,7 @@ impl<'a> AdGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18671,7 +18671,7 @@ impl<'a> AdInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19226,7 +19226,7 @@ impl<'a> AdListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19516,7 +19516,7 @@ impl<'a> AdPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19793,7 +19793,7 @@ impl<'a> AdUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20042,7 +20042,7 @@ impl<'a> AdvertiserGroupDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20303,7 +20303,7 @@ impl<'a> AdvertiserGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20580,7 +20580,7 @@ impl<'a> AdvertiserGroupInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20904,7 +20904,7 @@ impl<'a> AdvertiserGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21194,7 +21194,7 @@ impl<'a> AdvertiserGroupPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21471,7 +21471,7 @@ impl<'a> AdvertiserGroupUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21732,7 +21732,7 @@ impl<'a> AdvertiserLandingPageGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22009,7 +22009,7 @@ impl<'a> AdvertiserLandingPageInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22387,7 +22387,7 @@ impl<'a> AdvertiserLandingPageListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22677,7 +22677,7 @@ impl<'a> AdvertiserLandingPagePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22954,7 +22954,7 @@ impl<'a> AdvertiserLandingPageUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23215,7 +23215,7 @@ impl<'a> AdvertiserGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23492,7 +23492,7 @@ impl<'a> AdvertiserInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23894,7 +23894,7 @@ impl<'a> AdvertiserListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24184,7 +24184,7 @@ impl<'a> AdvertiserPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24461,7 +24461,7 @@ impl<'a> AdvertiserUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24710,7 +24710,7 @@ impl<'a> BrowserListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24999,7 +24999,7 @@ impl<'a> CampaignCreativeAssociationInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25295,7 +25295,7 @@ impl<'a> CampaignCreativeAssociationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25556,7 +25556,7 @@ impl<'a> CampaignGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25833,7 +25833,7 @@ impl<'a> CampaignInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26250,7 +26250,7 @@ impl<'a> CampaignListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26540,7 +26540,7 @@ impl<'a> CampaignPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26817,7 +26817,7 @@ impl<'a> CampaignUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27077,7 +27077,7 @@ impl<'a> ChangeLogGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27454,7 +27454,7 @@ impl<'a> ChangeLogListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27759,7 +27759,7 @@ impl<'a> CityListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28019,7 +28019,7 @@ impl<'a> ConnectionTypeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28267,7 +28267,7 @@ impl<'a> ConnectionTypeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28516,7 +28516,7 @@ impl<'a> ContentCategoryDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28777,7 +28777,7 @@ impl<'a> ContentCategoryGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29054,7 +29054,7 @@ impl<'a> ContentCategoryInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29378,7 +29378,7 @@ impl<'a> ContentCategoryListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29668,7 +29668,7 @@ impl<'a> ContentCategoryPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29946,7 +29946,7 @@ impl<'a> ContentCategoryUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -30224,7 +30224,7 @@ impl<'a> ConversionBatchinsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -30501,7 +30501,7 @@ impl<'a> ConversionBatchupdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30761,7 +30761,7 @@ impl<'a> CountryGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31011,7 +31011,7 @@ impl<'a> CountryListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -31413,7 +31413,7 @@ impl<'a> CreativeAssetInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31674,7 +31674,7 @@ impl<'a> CreativeFieldValueDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31947,7 +31947,7 @@ impl<'a> CreativeFieldValueGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -32236,7 +32236,7 @@ impl<'a> CreativeFieldValueInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32572,7 +32572,7 @@ impl<'a> CreativeFieldValueListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -32874,7 +32874,7 @@ impl<'a> CreativeFieldValuePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -33163,7 +33163,7 @@ impl<'a> CreativeFieldValueUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33412,7 +33412,7 @@ impl<'a> CreativeFieldDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33673,7 +33673,7 @@ impl<'a> CreativeFieldGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -33950,7 +33950,7 @@ impl<'a> CreativeFieldInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34289,7 +34289,7 @@ impl<'a> CreativeFieldListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -34579,7 +34579,7 @@ impl<'a> CreativeFieldPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -34856,7 +34856,7 @@ impl<'a> CreativeFieldUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -35117,7 +35117,7 @@ impl<'a> CreativeGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35394,7 +35394,7 @@ impl<'a> CreativeGroupInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -35745,7 +35745,7 @@ impl<'a> CreativeGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -36035,7 +36035,7 @@ impl<'a> CreativeGroupPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -36312,7 +36312,7 @@ impl<'a> CreativeGroupUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -36573,7 +36573,7 @@ impl<'a> CreativeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -36850,7 +36850,7 @@ impl<'a> CreativeInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -37309,7 +37309,7 @@ impl<'a> CreativeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -37599,7 +37599,7 @@ impl<'a> CreativePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -37877,7 +37877,7 @@ impl<'a> CreativeUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -38178,7 +38178,7 @@ impl<'a> DimensionValueQueryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -38438,7 +38438,7 @@ impl<'a> DirectorySiteContactGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -38776,7 +38776,7 @@ impl<'a> DirectorySiteContactListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -39037,7 +39037,7 @@ impl<'a> DirectorySiteGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -39314,7 +39314,7 @@ impl<'a> DirectorySiteInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -39721,7 +39721,7 @@ impl<'a> DirectorySiteListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -39995,7 +39995,7 @@ impl<'a> DynamicTargetingKeyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -40272,7 +40272,7 @@ impl<'a> DynamicTargetingKeyInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -40571,7 +40571,7 @@ impl<'a> DynamicTargetingKeyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -40820,7 +40820,7 @@ impl<'a> EventTagDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -41081,7 +41081,7 @@ impl<'a> EventTagGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -41358,7 +41358,7 @@ impl<'a> EventTagInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -41733,7 +41733,7 @@ impl<'a> EventTagListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -42023,7 +42023,7 @@ impl<'a> EventTagPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -42305,7 +42305,7 @@ impl<'a> EventTagUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -42581,7 +42581,7 @@ impl<'a> FileGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -42889,7 +42889,7 @@ impl<'a> FileListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -43138,7 +43138,7 @@ impl<'a> FloodlightActivityDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -43398,7 +43398,7 @@ impl<'a> FloodlightActivityGeneratetagCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -43659,7 +43659,7 @@ impl<'a> FloodlightActivityGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -43936,7 +43936,7 @@ impl<'a> FloodlightActivityInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44347,7 +44347,7 @@ impl<'a> FloodlightActivityListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -44637,7 +44637,7 @@ impl<'a> FloodlightActivityPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -44914,7 +44914,7 @@ impl<'a> FloodlightActivityUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -45175,7 +45175,7 @@ impl<'a> FloodlightActivityGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -45452,7 +45452,7 @@ impl<'a> FloodlightActivityGroupInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -45812,7 +45812,7 @@ impl<'a> FloodlightActivityGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -46102,7 +46102,7 @@ impl<'a> FloodlightActivityGroupPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -46379,7 +46379,7 @@ impl<'a> FloodlightActivityGroupUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46639,7 +46639,7 @@ impl<'a> FloodlightConfigurationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46903,7 +46903,7 @@ impl<'a> FloodlightConfigurationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -47193,7 +47193,7 @@ impl<'a> FloodlightConfigurationPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -47470,7 +47470,7 @@ impl<'a> FloodlightConfigurationUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47742,7 +47742,7 @@ impl<'a> InventoryItemGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48119,7 +48119,7 @@ impl<'a> InventoryItemListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48367,7 +48367,7 @@ impl<'a> LanguageListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48615,7 +48615,7 @@ impl<'a> MetroListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48875,7 +48875,7 @@ impl<'a> MobileAppGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49189,7 +49189,7 @@ impl<'a> MobileAppListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49449,7 +49449,7 @@ impl<'a> MobileCarrierGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49697,7 +49697,7 @@ impl<'a> MobileCarrierListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49957,7 +49957,7 @@ impl<'a> OperatingSystemVersionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -50205,7 +50205,7 @@ impl<'a> OperatingSystemVersionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -50465,7 +50465,7 @@ impl<'a> OperatingSystemGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -50713,7 +50713,7 @@ impl<'a> OperatingSystemListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -50985,7 +50985,7 @@ impl<'a> OrderDocumentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -51362,7 +51362,7 @@ impl<'a> OrderDocumentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -51634,7 +51634,7 @@ impl<'a> OrderGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -51984,7 +51984,7 @@ impl<'a> OrderListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -52245,7 +52245,7 @@ impl<'a> PlacementGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -52522,7 +52522,7 @@ impl<'a> PlacementGroupInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -53023,7 +53023,7 @@ impl<'a> PlacementGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -53313,7 +53313,7 @@ impl<'a> PlacementGroupPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -53590,7 +53590,7 @@ impl<'a> PlacementGroupUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -53839,7 +53839,7 @@ impl<'a> PlacementStrategyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -54100,7 +54100,7 @@ impl<'a> PlacementStrategyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -54377,7 +54377,7 @@ impl<'a> PlacementStrategyInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -54701,7 +54701,7 @@ impl<'a> PlacementStrategyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -54991,7 +54991,7 @@ impl<'a> PlacementStrategyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -55268,7 +55268,7 @@ impl<'a> PlacementStrategyUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -55560,7 +55560,7 @@ impl<'a> PlacementGeneratetagCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -55821,7 +55821,7 @@ impl<'a> PlacementGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -56098,7 +56098,7 @@ impl<'a> PlacementInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -56644,7 +56644,7 @@ impl<'a> PlacementListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -56934,7 +56934,7 @@ impl<'a> PlacementPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -57211,7 +57211,7 @@ impl<'a> PlacementUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -57471,7 +57471,7 @@ impl<'a> PlatformTypeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -57719,7 +57719,7 @@ impl<'a> PlatformTypeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -57979,7 +57979,7 @@ impl<'a> PostalCodeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58227,7 +58227,7 @@ impl<'a> PostalCodeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58487,7 +58487,7 @@ impl<'a> ProjectGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58825,7 +58825,7 @@ impl<'a> ProjectListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -59073,7 +59073,7 @@ impl<'a> RegionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -59334,7 +59334,7 @@ impl<'a> RemarketingListShareGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -59624,7 +59624,7 @@ impl<'a> RemarketingListSharePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -59901,7 +59901,7 @@ impl<'a> RemarketingListShareUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -60162,7 +60162,7 @@ impl<'a> RemarketingListGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -60439,7 +60439,7 @@ impl<'a> RemarketingListInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -60784,7 +60784,7 @@ impl<'a> RemarketingListListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -61074,7 +61074,7 @@ impl<'a> RemarketingListPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -61352,7 +61352,7 @@ impl<'a> RemarketingListUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -61634,7 +61634,7 @@ impl<'a> ReportCompatibleFieldQueryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -61922,7 +61922,7 @@ impl<'a> ReportFileGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -62230,7 +62230,7 @@ impl<'a> ReportFileListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -62479,7 +62479,7 @@ impl<'a> ReportDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -62740,7 +62740,7 @@ impl<'a> ReportGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -63017,7 +63017,7 @@ impl<'a> ReportInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63326,7 +63326,7 @@ impl<'a> ReportListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -63615,7 +63615,7 @@ impl<'a> ReportPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63888,7 +63888,7 @@ impl<'a> ReportRunCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -64177,7 +64177,7 @@ impl<'a> ReportUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -64438,7 +64438,7 @@ impl<'a> SiteGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -64715,7 +64715,7 @@ impl<'a> SiteInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -65153,7 +65153,7 @@ impl<'a> SiteListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -65443,7 +65443,7 @@ impl<'a> SitePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -65720,7 +65720,7 @@ impl<'a> SiteUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -65981,7 +65981,7 @@ impl<'a> SizeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -66258,7 +66258,7 @@ impl<'a> SizeInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -66557,7 +66557,7 @@ impl<'a> SizeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -66818,7 +66818,7 @@ impl<'a> SubaccountGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -67095,7 +67095,7 @@ impl<'a> SubaccountInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -67419,7 +67419,7 @@ impl<'a> SubaccountListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -67709,7 +67709,7 @@ impl<'a> SubaccountPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -67986,7 +67986,7 @@ impl<'a> SubaccountUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -68246,7 +68246,7 @@ impl<'a> TargetableRemarketingListGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -68578,7 +68578,7 @@ impl<'a> TargetableRemarketingListListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -68839,7 +68839,7 @@ impl<'a> TargetingTemplateGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -69116,7 +69116,7 @@ impl<'a> TargetingTemplateInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -69452,7 +69452,7 @@ impl<'a> TargetingTemplateListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -69742,7 +69742,7 @@ impl<'a> TargetingTemplatePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -70019,7 +70019,7 @@ impl<'a> TargetingTemplateUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -70267,7 +70267,7 @@ impl<'a> UserProfileGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -70482,7 +70482,7 @@ impl<'a> UserProfileListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -70742,7 +70742,7 @@ impl<'a> UserRolePermissionGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -70990,7 +70990,7 @@ impl<'a> UserRolePermissionGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -71250,7 +71250,7 @@ impl<'a> UserRolePermissionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -71513,7 +71513,7 @@ impl<'a> UserRolePermissionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -71762,7 +71762,7 @@ impl<'a> UserRoleDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -72023,7 +72023,7 @@ impl<'a> UserRoleGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -72300,7 +72300,7 @@ impl<'a> UserRoleInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -72648,7 +72648,7 @@ impl<'a> UserRoleListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -72938,7 +72938,7 @@ impl<'a> UserRolePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -73215,7 +73215,7 @@ impl<'a> UserRoleUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -73475,7 +73475,7 @@ impl<'a> VideoFormatGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/dfareporting3d2/src/lib.rs b/gen/dfareporting3d2/src/lib.rs index 7a95071fba..b0048f9a2a 100644 --- a/gen/dfareporting3d2/src/lib.rs +++ b/gen/dfareporting3d2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *dfareporting* crate version *3.0.0+20190531*, where *20190531* is the exact revision of the *dfareporting:v3.2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *dfareporting* crate version *3.1.0+20190531*, where *20190531* is the exact revision of the *dfareporting:v3.2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *dfareporting* *v3d2* API can be found at the //! [official documentation site](https://developers.google.com/doubleclick-advertisers/). @@ -229,7 +229,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/dfareporting3d3-cli/Cargo.toml b/gen/dfareporting3d3-cli/Cargo.toml index 053fe8f0b7..20b42e5246 100644 --- a/gen/dfareporting3d3-cli/Cargo.toml +++ b/gen/dfareporting3d3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dfareporting3d3-cli" -version = "3.0.0+20220104" +version = "3.1.0+20220104" authors = ["Sebastian Thiel "] description = "A complete library to interact with Dfareporting (protocol v3.3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dfareporting3d3-cli" @@ -20,12 +20,12 @@ name = "dfareporting3d3" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-dfareporting3d3] path = "../dfareporting3d3" -version = "3.0.0+20220104" +version = "3.1.0+20220104" diff --git a/gen/dfareporting3d3-cli/README.md b/gen/dfareporting3d3-cli/README.md index 3712975c48..b98f23eecb 100644 --- a/gen/dfareporting3d3-cli/README.md +++ b/gen/dfareporting3d3-cli/README.md @@ -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 *Dfareporting* API at revision *20220104*. The CLI is at version *3.0.0*. +This documentation was generated from the *Dfareporting* API at revision *20220104*. The CLI is at version *3.1.0*. ```bash dfareporting3d3 [options] diff --git a/gen/dfareporting3d3-cli/mkdocs.yml b/gen/dfareporting3d3-cli/mkdocs.yml index b470b9bc9f..5c905aa1b2 100644 --- a/gen/dfareporting3d3-cli/mkdocs.yml +++ b/gen/dfareporting3d3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Dfareporting v3.0.0+20220104 +site_name: Dfareporting v3.1.0+20220104 site_url: http://byron.github.io/google-apis-rs/google-dfareporting3d3-cli site_description: A complete library to interact with Dfareporting (protocol v3.3) diff --git a/gen/dfareporting3d3-cli/src/main.rs b/gen/dfareporting3d3-cli/src/main.rs index 7fbce5b5d6..78abb7454a 100644 --- a/gen/dfareporting3d3-cli/src/main.rs +++ b/gen/dfareporting3d3-cli/src/main.rs @@ -17890,7 +17890,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/dfareporting3d3", 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::Dfareporting::new(client, auth), @@ -23696,7 +23702,7 @@ async fn main() { let mut app = App::new("dfareporting3d3") .author("Sebastian Thiel ") - .version("3.0.0+20220104") + .version("3.1.0+20220104") .about("Build applications to efficiently manage large or complex trafficking, reporting, and attribution workflows for Campaign Manager 360.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_dfareporting3d3_cli") .arg(Arg::with_name("url") diff --git a/gen/dfareporting3d3/Cargo.toml b/gen/dfareporting3d3/Cargo.toml index 9a19232e3a..a74184b3be 100644 --- a/gen/dfareporting3d3/Cargo.toml +++ b/gen/dfareporting3d3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dfareporting3d3" -version = "3.0.0+20220104" +version = "3.1.0+20220104" authors = ["Sebastian Thiel "] description = "A complete library to interact with Dfareporting (protocol v3.3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dfareporting3d3" homepage = "https://developers.google.com/doubleclick-advertisers/" -documentation = "https://docs.rs/google-dfareporting3d3/3.0.0+20220104" +documentation = "https://docs.rs/google-dfareporting3d3/3.1.0+20220104" license = "MIT" keywords = ["dfareporting", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/dfareporting3d3/README.md b/gen/dfareporting3d3/README.md index 180bf73f60..5977e2f9a0 100644 --- a/gen/dfareporting3d3/README.md +++ b/gen/dfareporting3d3/README.md @@ -5,144 +5,144 @@ DO NOT EDIT ! --> The `google-dfareporting3d3` library allows access to all features of the *Google Dfareporting* service. -This documentation was generated from *Dfareporting* crate version *3.0.0+20220104*, where *20220104* is the exact revision of the *dfareporting:v3.3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Dfareporting* crate version *3.1.0+20220104*, where *20220104* is the exact revision of the *dfareporting:v3.3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Dfareporting* *v3d3* API can be found at the [official documentation site](https://developers.google.com/doubleclick-advertisers/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/Dfareporting) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/Dfareporting) ... -* [account active ad summaries](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::AccountActiveAdSummary) - * [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::AccountActiveAdSummaryGetCall) -* [account permission groups](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::AccountPermissionGroup) - * [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::AccountPermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::AccountPermissionGroupListCall) -* [account permissions](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::AccountPermission) - * [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::AccountPermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::AccountPermissionListCall) -* [account user profiles](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::AccountUserProfile) - * [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::AccountUserProfileGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::AccountUserProfileInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::AccountUserProfileListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::AccountUserProfilePatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::AccountUserProfileUpdateCall) -* [accounts](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::Account) - * [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::AccountGetCall), [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::AccountListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::AccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::AccountUpdateCall) -* [ads](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::Ad) - * [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::AdGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::AdInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::AdListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::AdPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::AdUpdateCall) -* [advertiser groups](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::AdvertiserGroup) - * [*delete*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::AdvertiserGroupDeleteCall), [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::AdvertiserGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::AdvertiserGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::AdvertiserGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::AdvertiserGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::AdvertiserGroupUpdateCall) +* [account active ad summaries](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::AccountActiveAdSummary) + * [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::AccountActiveAdSummaryGetCall) +* [account permission groups](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::AccountPermissionGroup) + * [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::AccountPermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::AccountPermissionGroupListCall) +* [account permissions](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::AccountPermission) + * [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::AccountPermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::AccountPermissionListCall) +* [account user profiles](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::AccountUserProfile) + * [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::AccountUserProfileGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::AccountUserProfileInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::AccountUserProfileListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::AccountUserProfilePatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::AccountUserProfileUpdateCall) +* [accounts](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::Account) + * [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::AccountGetCall), [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::AccountListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::AccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::AccountUpdateCall) +* [ads](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::Ad) + * [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::AdGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::AdInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::AdListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::AdPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::AdUpdateCall) +* [advertiser groups](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::AdvertiserGroup) + * [*delete*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::AdvertiserGroupDeleteCall), [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::AdvertiserGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::AdvertiserGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::AdvertiserGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::AdvertiserGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::AdvertiserGroupUpdateCall) * advertiser landing pages - * [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::AdvertiserLandingPageGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::AdvertiserLandingPageInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::AdvertiserLandingPageListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::AdvertiserLandingPagePatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::AdvertiserLandingPageUpdateCall) -* [advertisers](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::Advertiser) - * [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::AdvertiserGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::AdvertiserInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::AdvertiserListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::AdvertiserPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::AdvertiserUpdateCall) -* [browsers](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::Browser) - * [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::BrowserListCall) -* [campaign creative associations](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::CampaignCreativeAssociation) - * [*insert*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::CampaignCreativeAssociationInsertCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::CampaignCreativeAssociationListCall) -* [campaigns](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::Campaign) - * [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::CampaignGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::CampaignInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::CampaignListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::CampaignPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::CampaignUpdateCall) -* [change logs](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::ChangeLog) - * [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::ChangeLogGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::ChangeLogListCall) -* [cities](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::City) - * [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::CityListCall) -* [connection types](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::ConnectionType) - * [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::ConnectionTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::ConnectionTypeListCall) -* [content categories](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::ContentCategory) - * [*delete*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::ContentCategoryDeleteCall), [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::ContentCategoryGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::ContentCategoryInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::ContentCategoryListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::ContentCategoryPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::ContentCategoryUpdateCall) -* [conversions](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::Conversion) - * [*batchinsert*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::ConversionBatchinsertCall) and [*batchupdate*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::ConversionBatchupdateCall) -* [countries](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::Country) - * [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::CountryGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::CountryListCall) -* [creative assets](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::CreativeAsset) - * [*insert*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::CreativeAssetInsertCall) -* [creative field values](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::CreativeFieldValue) - * [*delete*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::CreativeFieldValueDeleteCall), [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::CreativeFieldValueGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::CreativeFieldValueInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::CreativeFieldValueListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::CreativeFieldValuePatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::CreativeFieldValueUpdateCall) -* [creative fields](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::CreativeField) - * [*delete*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::CreativeFieldDeleteCall), [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::CreativeFieldGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::CreativeFieldInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::CreativeFieldListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::CreativeFieldPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::CreativeFieldUpdateCall) -* [creative groups](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::CreativeGroup) - * [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::CreativeGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::CreativeGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::CreativeGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::CreativeGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::CreativeGroupUpdateCall) -* [creatives](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::Creative) - * [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::CreativeGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::CreativeInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::CreativeListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::CreativePatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::CreativeUpdateCall) -* [dimension values](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::DimensionValue) - * [*query*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::DimensionValueQueryCall) -* [directory sites](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::DirectorySite) - * [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::DirectorySiteGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::DirectorySiteInsertCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::DirectorySiteListCall) -* [dynamic targeting keys](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::DynamicTargetingKey) - * [*delete*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::DynamicTargetingKeyDeleteCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::DynamicTargetingKeyInsertCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::DynamicTargetingKeyListCall) -* [event tags](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::EventTag) - * [*delete*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::EventTagDeleteCall), [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::EventTagGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::EventTagInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::EventTagListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::EventTagPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::EventTagUpdateCall) -* [files](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::File) - * [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::FileGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::FileListCall) -* [floodlight activities](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::FloodlightActivity) - * [*delete*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::FloodlightActivityDeleteCall), [*generatetag*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::FloodlightActivityGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::FloodlightActivityGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::FloodlightActivityInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::FloodlightActivityListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::FloodlightActivityPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::FloodlightActivityUpdateCall) -* [floodlight activity groups](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::FloodlightActivityGroup) - * [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::FloodlightActivityGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::FloodlightActivityGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::FloodlightActivityGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::FloodlightActivityGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::FloodlightActivityGroupUpdateCall) -* [floodlight configurations](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::FloodlightConfiguration) - * [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::FloodlightConfigurationGetCall), [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::FloodlightConfigurationListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::FloodlightConfigurationPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::FloodlightConfigurationUpdateCall) -* [inventory items](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::InventoryItem) - * [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::InventoryItemGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::InventoryItemListCall) -* [languages](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::Language) - * [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::LanguageListCall) -* [metros](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::Metro) - * [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::MetroListCall) -* [mobile apps](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::MobileApp) - * [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::MobileAppGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::MobileAppListCall) -* [mobile carriers](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::MobileCarrier) - * [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::MobileCarrierGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::MobileCarrierListCall) -* [operating system versions](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::OperatingSystemVersion) - * [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::OperatingSystemVersionGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::OperatingSystemVersionListCall) -* [operating systems](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::OperatingSystem) - * [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::OperatingSystemGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::OperatingSystemListCall) -* [order documents](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::OrderDocument) - * [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::OrderDocumentGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::OrderDocumentListCall) -* [orders](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::Order) - * [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::OrderGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::OrderListCall) -* [placement groups](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::PlacementGroup) - * [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::PlacementGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::PlacementGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::PlacementGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::PlacementGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::PlacementGroupUpdateCall) -* [placement strategies](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::PlacementStrategy) - * [*delete*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::PlacementStrategyDeleteCall), [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::PlacementStrategyGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::PlacementStrategyInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::PlacementStrategyListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::PlacementStrategyPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::PlacementStrategyUpdateCall) -* [placements](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::Placement) - * [*generatetags*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::PlacementGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::PlacementGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::PlacementInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::PlacementListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::PlacementPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::PlacementUpdateCall) -* [platform types](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::PlatformType) - * [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::PlatformTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::PlatformTypeListCall) -* [postal codes](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::PostalCode) - * [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::PostalCodeGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::PostalCodeListCall) -* [projects](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::Project) - * [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::ProjectGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::ProjectListCall) -* [regions](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::Region) - * [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::RegionListCall) -* [remarketing list shares](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::RemarketingListShare) - * [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::RemarketingListShareGetCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::RemarketingListSharePatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::RemarketingListShareUpdateCall) -* [remarketing lists](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::RemarketingList) - * [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::RemarketingListGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::RemarketingListInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::RemarketingListListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::RemarketingListPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::RemarketingListUpdateCall) -* [reports](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::Report) - * [*compatible fields query*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::ReportCompatibleFieldQueryCall), [*delete*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::ReportDeleteCall), [*files get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::ReportFileGetCall), [*files list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::ReportFileListCall), [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::ReportGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::ReportInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::ReportListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::ReportPatchCall), [*run*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::ReportRunCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::ReportUpdateCall) -* [sites](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::Site) - * [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::SiteGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::SiteInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::SiteListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::SitePatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::SiteUpdateCall) -* [sizes](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::Size) - * [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::SizeGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::SizeInsertCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::SizeListCall) -* [subaccounts](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::Subaccount) - * [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::SubaccountGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::SubaccountInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::SubaccountListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::SubaccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::SubaccountUpdateCall) -* [targetable remarketing lists](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::TargetableRemarketingList) - * [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::TargetableRemarketingListGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::TargetableRemarketingListListCall) -* [targeting templates](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::TargetingTemplate) - * [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::TargetingTemplateGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::TargetingTemplateInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::TargetingTemplateListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::TargetingTemplatePatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::TargetingTemplateUpdateCall) -* [user profiles](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::UserProfile) - * [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::UserProfileGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::UserProfileListCall) -* [user role permission groups](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::UserRolePermissionGroup) - * [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::UserRolePermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::UserRolePermissionGroupListCall) -* [user role permissions](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::UserRolePermission) - * [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::UserRolePermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::UserRolePermissionListCall) -* [user roles](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::UserRole) - * [*delete*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::UserRoleDeleteCall), [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::UserRoleGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::UserRoleInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::UserRoleListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::UserRolePatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::UserRoleUpdateCall) -* [video formats](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::VideoFormat) - * [*get*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::VideoFormatGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::VideoFormatListCall) + * [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::AdvertiserLandingPageGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::AdvertiserLandingPageInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::AdvertiserLandingPageListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::AdvertiserLandingPagePatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::AdvertiserLandingPageUpdateCall) +* [advertisers](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::Advertiser) + * [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::AdvertiserGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::AdvertiserInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::AdvertiserListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::AdvertiserPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::AdvertiserUpdateCall) +* [browsers](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::Browser) + * [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::BrowserListCall) +* [campaign creative associations](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::CampaignCreativeAssociation) + * [*insert*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::CampaignCreativeAssociationInsertCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::CampaignCreativeAssociationListCall) +* [campaigns](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::Campaign) + * [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::CampaignGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::CampaignInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::CampaignListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::CampaignPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::CampaignUpdateCall) +* [change logs](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::ChangeLog) + * [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::ChangeLogGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::ChangeLogListCall) +* [cities](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::City) + * [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::CityListCall) +* [connection types](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::ConnectionType) + * [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::ConnectionTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::ConnectionTypeListCall) +* [content categories](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::ContentCategory) + * [*delete*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::ContentCategoryDeleteCall), [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::ContentCategoryGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::ContentCategoryInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::ContentCategoryListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::ContentCategoryPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::ContentCategoryUpdateCall) +* [conversions](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::Conversion) + * [*batchinsert*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::ConversionBatchinsertCall) and [*batchupdate*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::ConversionBatchupdateCall) +* [countries](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::Country) + * [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::CountryGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::CountryListCall) +* [creative assets](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::CreativeAsset) + * [*insert*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::CreativeAssetInsertCall) +* [creative field values](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::CreativeFieldValue) + * [*delete*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::CreativeFieldValueDeleteCall), [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::CreativeFieldValueGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::CreativeFieldValueInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::CreativeFieldValueListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::CreativeFieldValuePatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::CreativeFieldValueUpdateCall) +* [creative fields](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::CreativeField) + * [*delete*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::CreativeFieldDeleteCall), [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::CreativeFieldGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::CreativeFieldInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::CreativeFieldListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::CreativeFieldPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::CreativeFieldUpdateCall) +* [creative groups](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::CreativeGroup) + * [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::CreativeGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::CreativeGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::CreativeGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::CreativeGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::CreativeGroupUpdateCall) +* [creatives](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::Creative) + * [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::CreativeGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::CreativeInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::CreativeListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::CreativePatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::CreativeUpdateCall) +* [dimension values](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::DimensionValue) + * [*query*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::DimensionValueQueryCall) +* [directory sites](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::DirectorySite) + * [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::DirectorySiteGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::DirectorySiteInsertCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::DirectorySiteListCall) +* [dynamic targeting keys](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::DynamicTargetingKey) + * [*delete*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::DynamicTargetingKeyDeleteCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::DynamicTargetingKeyInsertCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::DynamicTargetingKeyListCall) +* [event tags](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::EventTag) + * [*delete*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::EventTagDeleteCall), [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::EventTagGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::EventTagInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::EventTagListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::EventTagPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::EventTagUpdateCall) +* [files](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::File) + * [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::FileGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::FileListCall) +* [floodlight activities](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::FloodlightActivity) + * [*delete*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::FloodlightActivityDeleteCall), [*generatetag*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::FloodlightActivityGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::FloodlightActivityGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::FloodlightActivityInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::FloodlightActivityListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::FloodlightActivityPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::FloodlightActivityUpdateCall) +* [floodlight activity groups](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::FloodlightActivityGroup) + * [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::FloodlightActivityGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::FloodlightActivityGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::FloodlightActivityGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::FloodlightActivityGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::FloodlightActivityGroupUpdateCall) +* [floodlight configurations](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::FloodlightConfiguration) + * [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::FloodlightConfigurationGetCall), [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::FloodlightConfigurationListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::FloodlightConfigurationPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::FloodlightConfigurationUpdateCall) +* [inventory items](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::InventoryItem) + * [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::InventoryItemGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::InventoryItemListCall) +* [languages](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::Language) + * [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::LanguageListCall) +* [metros](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::Metro) + * [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::MetroListCall) +* [mobile apps](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::MobileApp) + * [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::MobileAppGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::MobileAppListCall) +* [mobile carriers](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::MobileCarrier) + * [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::MobileCarrierGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::MobileCarrierListCall) +* [operating system versions](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::OperatingSystemVersion) + * [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::OperatingSystemVersionGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::OperatingSystemVersionListCall) +* [operating systems](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::OperatingSystem) + * [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::OperatingSystemGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::OperatingSystemListCall) +* [order documents](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::OrderDocument) + * [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::OrderDocumentGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::OrderDocumentListCall) +* [orders](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::Order) + * [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::OrderGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::OrderListCall) +* [placement groups](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::PlacementGroup) + * [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::PlacementGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::PlacementGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::PlacementGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::PlacementGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::PlacementGroupUpdateCall) +* [placement strategies](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::PlacementStrategy) + * [*delete*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::PlacementStrategyDeleteCall), [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::PlacementStrategyGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::PlacementStrategyInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::PlacementStrategyListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::PlacementStrategyPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::PlacementStrategyUpdateCall) +* [placements](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::Placement) + * [*generatetags*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::PlacementGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::PlacementGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::PlacementInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::PlacementListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::PlacementPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::PlacementUpdateCall) +* [platform types](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::PlatformType) + * [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::PlatformTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::PlatformTypeListCall) +* [postal codes](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::PostalCode) + * [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::PostalCodeGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::PostalCodeListCall) +* [projects](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::Project) + * [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::ProjectGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::ProjectListCall) +* [regions](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::Region) + * [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::RegionListCall) +* [remarketing list shares](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::RemarketingListShare) + * [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::RemarketingListShareGetCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::RemarketingListSharePatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::RemarketingListShareUpdateCall) +* [remarketing lists](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::RemarketingList) + * [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::RemarketingListGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::RemarketingListInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::RemarketingListListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::RemarketingListPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::RemarketingListUpdateCall) +* [reports](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::Report) + * [*compatible fields query*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::ReportCompatibleFieldQueryCall), [*delete*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::ReportDeleteCall), [*files get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::ReportFileGetCall), [*files list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::ReportFileListCall), [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::ReportGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::ReportInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::ReportListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::ReportPatchCall), [*run*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::ReportRunCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::ReportUpdateCall) +* [sites](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::Site) + * [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::SiteGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::SiteInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::SiteListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::SitePatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::SiteUpdateCall) +* [sizes](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::Size) + * [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::SizeGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::SizeInsertCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::SizeListCall) +* [subaccounts](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::Subaccount) + * [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::SubaccountGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::SubaccountInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::SubaccountListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::SubaccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::SubaccountUpdateCall) +* [targetable remarketing lists](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::TargetableRemarketingList) + * [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::TargetableRemarketingListGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::TargetableRemarketingListListCall) +* [targeting templates](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::TargetingTemplate) + * [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::TargetingTemplateGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::TargetingTemplateInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::TargetingTemplateListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::TargetingTemplatePatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::TargetingTemplateUpdateCall) +* [user profiles](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::UserProfile) + * [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::UserProfileGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::UserProfileListCall) +* [user role permission groups](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::UserRolePermissionGroup) + * [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::UserRolePermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::UserRolePermissionGroupListCall) +* [user role permissions](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::UserRolePermission) + * [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::UserRolePermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::UserRolePermissionListCall) +* [user roles](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::UserRole) + * [*delete*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::UserRoleDeleteCall), [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::UserRoleGetCall), [*insert*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::UserRoleInsertCall), [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::UserRoleListCall), [*patch*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::UserRolePatchCall) and [*update*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::UserRoleUpdateCall) +* [video formats](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::VideoFormat) + * [*get*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::VideoFormatGetCall) and [*list*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::VideoFormatListCall) Upload supported by ... -* [*insert creative assets*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::CreativeAssetInsertCall) +* [*insert creative assets*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::CreativeAssetInsertCall) Download supported by ... -* [*get files*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::FileGetCall) -* [*files get reports*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/api::ReportFileGetCall) +* [*get files*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::FileGetCall) +* [*files get reports*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/api::ReportFileGetCall) @@ -150,17 +150,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/Dfareporting)** +* **[Hub](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/Dfareporting)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/client::CallBuilder) -* **[Resources](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/client::CallBuilder) +* **[Resources](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/client::Part)** + * **[Parts](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -226,7 +226,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -258,17 +258,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -278,29 +278,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/client::Delegate) to the -[Method Builder](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/client::Delegate) to the +[Method Builder](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/client::RequestValue) and -[decodable](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/client::RequestValue) and +[decodable](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-dfareporting3d3/3.0.0+20220104/google_dfareporting3d3/client::RequestValue) are moved +* [request values](https://docs.rs/google-dfareporting3d3/3.1.0+20220104/google_dfareporting3d3/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/dfareporting3d3/src/api.rs b/gen/dfareporting3d3/src/api.rs index 6ead2d6333..e66257008d 100644 --- a/gen/dfareporting3d3/src/api.rs +++ b/gen/dfareporting3d3/src/api.rs @@ -78,7 +78,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -125,7 +125,7 @@ impl<'a, > Dfareporting<> { Dfareporting { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://dfareporting.googleapis.com/dfareporting/v3.3/".to_string(), _root_url: "https://dfareporting.googleapis.com/".to_string(), } @@ -313,7 +313,7 @@ impl<'a, > Dfareporting<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -7221,7 +7221,7 @@ impl client::Part for ReportSchedule {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -7281,7 +7281,7 @@ impl<'a> AccountActiveAdSummaryMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -7358,7 +7358,7 @@ impl<'a> AccountPermissionGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -7435,7 +7435,7 @@ impl<'a> AccountPermissionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -7580,7 +7580,7 @@ impl<'a> AccountUserProfileMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -7704,7 +7704,7 @@ impl<'a> AccountMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -7863,7 +7863,7 @@ impl<'a> AdMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8024,7 +8024,7 @@ impl<'a> AdvertiserGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8170,7 +8170,7 @@ impl<'a> AdvertiserLandingPageMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8318,7 +8318,7 @@ impl<'a> AdvertiserMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -8376,7 +8376,7 @@ impl<'a> BrowserMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `insert(...)` and `list(...)` /// // to build up your call. @@ -8460,7 +8460,7 @@ impl<'a> CampaignCreativeAssociationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8609,7 +8609,7 @@ impl<'a> CampaignMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -8696,7 +8696,7 @@ impl<'a> ChangeLogMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -8758,7 +8758,7 @@ impl<'a> CityMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -8835,7 +8835,7 @@ impl<'a> ConnectionTypeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8996,7 +8996,7 @@ impl<'a> ContentCategoryMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `batchinsert(...)` and `batchupdate(...)` /// // to build up your call. @@ -9075,7 +9075,7 @@ impl<'a> ConversionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9152,7 +9152,7 @@ impl<'a> CountryMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `insert(...)` /// // to build up your call. @@ -9214,7 +9214,7 @@ impl<'a> CreativeAssetMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9387,7 +9387,7 @@ impl<'a> CreativeFieldValueMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9549,7 +9549,7 @@ impl<'a> CreativeFieldMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9693,7 +9693,7 @@ impl<'a> CreativeGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9845,7 +9845,7 @@ impl<'a> CreativeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `query(...)` /// // to build up your call. @@ -9907,7 +9907,7 @@ impl<'a> DimensionValueMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -10014,7 +10014,7 @@ impl<'a> DirectorySiteMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -10118,7 +10118,7 @@ impl<'a> DynamicTargetingKeyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10283,7 +10283,7 @@ impl<'a> EventTagMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -10365,7 +10365,7 @@ impl<'a> FileMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `generatetag(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10551,7 +10551,7 @@ impl<'a> FloodlightActivityMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10696,7 +10696,7 @@ impl<'a> FloodlightActivityGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10814,7 +10814,7 @@ impl<'a> FloodlightConfigurationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -10904,7 +10904,7 @@ impl<'a> InventoryItemMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -10962,7 +10962,7 @@ impl<'a> LanguageMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -11020,7 +11020,7 @@ impl<'a> MetroMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11102,7 +11102,7 @@ impl<'a> MobileAppMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11179,7 +11179,7 @@ impl<'a> MobileCarrierMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11256,7 +11256,7 @@ impl<'a> OperatingSystemVersionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11333,7 +11333,7 @@ impl<'a> OperatingSystemMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11423,7 +11423,7 @@ impl<'a> OrderDocumentMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11511,7 +11511,7 @@ impl<'a> OrderMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11666,7 +11666,7 @@ impl<'a> PlacementGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11827,7 +11827,7 @@ impl<'a> PlacementStrategyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `generatetags(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12005,7 +12005,7 @@ impl<'a> PlacementMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -12082,7 +12082,7 @@ impl<'a> PlatformTypeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -12159,7 +12159,7 @@ impl<'a> PostalCodeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -12243,7 +12243,7 @@ impl<'a> ProjectMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -12301,7 +12301,7 @@ impl<'a> RegionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12401,7 +12401,7 @@ impl<'a> RemarketingListShareMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12546,7 +12546,7 @@ impl<'a> RemarketingListMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `compatible_fields_query(...)`, `delete(...)`, `files_get(...)`, `files_list(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)`, `run(...)` and `update(...)` /// // to build up your call. @@ -12791,7 +12791,7 @@ impl<'a> ReportMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12942,7 +12942,7 @@ impl<'a> SiteMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -13042,7 +13042,7 @@ impl<'a> SizeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -13184,7 +13184,7 @@ impl<'a> SubaccountMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -13269,7 +13269,7 @@ impl<'a> TargetableRemarketingListMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -13412,7 +13412,7 @@ impl<'a> TargetingTemplateMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -13482,7 +13482,7 @@ impl<'a> UserProfileMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -13559,7 +13559,7 @@ impl<'a> UserRolePermissionGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -13637,7 +13637,7 @@ impl<'a> UserRolePermissionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -13800,7 +13800,7 @@ impl<'a> UserRoleMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -13884,7 +13884,7 @@ impl<'a> VideoFormatMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14148,7 +14148,7 @@ impl<'a> AccountActiveAdSummaryGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14412,7 +14412,7 @@ impl<'a> AccountPermissionGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14664,7 +14664,7 @@ impl<'a> AccountPermissionGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14928,7 +14928,7 @@ impl<'a> AccountPermissionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15180,7 +15180,7 @@ impl<'a> AccountPermissionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15445,7 +15445,7 @@ impl<'a> AccountUserProfileGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15726,7 +15726,7 @@ impl<'a> AccountUserProfileInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16090,7 +16090,7 @@ impl<'a> AccountUserProfileListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16384,7 +16384,7 @@ impl<'a> AccountUserProfilePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16665,7 +16665,7 @@ impl<'a> AccountUserProfileUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16929,7 +16929,7 @@ impl<'a> AccountGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17269,7 +17269,7 @@ impl<'a> AccountListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17563,7 +17563,7 @@ impl<'a> AccountPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17844,7 +17844,7 @@ impl<'a> AccountUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18109,7 +18109,7 @@ impl<'a> AdGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18390,7 +18390,7 @@ impl<'a> AdInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18949,7 +18949,7 @@ impl<'a> AdListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19243,7 +19243,7 @@ impl<'a> AdPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19524,7 +19524,7 @@ impl<'a> AdUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19777,7 +19777,7 @@ impl<'a> AdvertiserGroupDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20042,7 +20042,7 @@ impl<'a> AdvertiserGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20323,7 +20323,7 @@ impl<'a> AdvertiserGroupInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20651,7 +20651,7 @@ impl<'a> AdvertiserGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20945,7 +20945,7 @@ impl<'a> AdvertiserGroupPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21226,7 +21226,7 @@ impl<'a> AdvertiserGroupUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21491,7 +21491,7 @@ impl<'a> AdvertiserLandingPageGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21772,7 +21772,7 @@ impl<'a> AdvertiserLandingPageInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22154,7 +22154,7 @@ impl<'a> AdvertiserLandingPageListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22448,7 +22448,7 @@ impl<'a> AdvertiserLandingPagePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22729,7 +22729,7 @@ impl<'a> AdvertiserLandingPageUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22994,7 +22994,7 @@ impl<'a> AdvertiserGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23275,7 +23275,7 @@ impl<'a> AdvertiserInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23681,7 +23681,7 @@ impl<'a> AdvertiserListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23975,7 +23975,7 @@ impl<'a> AdvertiserPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24256,7 +24256,7 @@ impl<'a> AdvertiserUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24509,7 +24509,7 @@ impl<'a> BrowserListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24802,7 +24802,7 @@ impl<'a> CampaignCreativeAssociationInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25102,7 +25102,7 @@ impl<'a> CampaignCreativeAssociationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25367,7 +25367,7 @@ impl<'a> CampaignGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25648,7 +25648,7 @@ impl<'a> CampaignInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26069,7 +26069,7 @@ impl<'a> CampaignListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26363,7 +26363,7 @@ impl<'a> CampaignPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26644,7 +26644,7 @@ impl<'a> CampaignUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26908,7 +26908,7 @@ impl<'a> ChangeLogGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27289,7 +27289,7 @@ impl<'a> ChangeLogListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27598,7 +27598,7 @@ impl<'a> CityListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27862,7 +27862,7 @@ impl<'a> ConnectionTypeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28114,7 +28114,7 @@ impl<'a> ConnectionTypeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28367,7 +28367,7 @@ impl<'a> ContentCategoryDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28632,7 +28632,7 @@ impl<'a> ContentCategoryGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -28913,7 +28913,7 @@ impl<'a> ContentCategoryInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29241,7 +29241,7 @@ impl<'a> ContentCategoryListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29535,7 +29535,7 @@ impl<'a> ContentCategoryPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29817,7 +29817,7 @@ impl<'a> ContentCategoryUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -30099,7 +30099,7 @@ impl<'a> ConversionBatchinsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -30380,7 +30380,7 @@ impl<'a> ConversionBatchupdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30644,7 +30644,7 @@ impl<'a> CountryGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30898,7 +30898,7 @@ impl<'a> CountryListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -31225,7 +31225,7 @@ impl<'a> CreativeAssetInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31490,7 +31490,7 @@ impl<'a> CreativeFieldValueDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31767,7 +31767,7 @@ impl<'a> CreativeFieldValueGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -32060,7 +32060,7 @@ impl<'a> CreativeFieldValueInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32400,7 +32400,7 @@ impl<'a> CreativeFieldValueListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -32706,7 +32706,7 @@ impl<'a> CreativeFieldValuePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -32999,7 +32999,7 @@ impl<'a> CreativeFieldValueUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33252,7 +33252,7 @@ impl<'a> CreativeFieldDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33517,7 +33517,7 @@ impl<'a> CreativeFieldGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -33798,7 +33798,7 @@ impl<'a> CreativeFieldInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34141,7 +34141,7 @@ impl<'a> CreativeFieldListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -34435,7 +34435,7 @@ impl<'a> CreativeFieldPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -34716,7 +34716,7 @@ impl<'a> CreativeFieldUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34981,7 +34981,7 @@ impl<'a> CreativeGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35262,7 +35262,7 @@ impl<'a> CreativeGroupInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -35617,7 +35617,7 @@ impl<'a> CreativeGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35911,7 +35911,7 @@ impl<'a> CreativeGroupPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -36192,7 +36192,7 @@ impl<'a> CreativeGroupUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -36457,7 +36457,7 @@ impl<'a> CreativeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -36738,7 +36738,7 @@ impl<'a> CreativeInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -37201,7 +37201,7 @@ impl<'a> CreativeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -37495,7 +37495,7 @@ impl<'a> CreativePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -37777,7 +37777,7 @@ impl<'a> CreativeUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -38082,7 +38082,7 @@ impl<'a> DimensionValueQueryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -38347,7 +38347,7 @@ impl<'a> DirectorySiteGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -38628,7 +38628,7 @@ impl<'a> DirectorySiteInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -39015,7 +39015,7 @@ impl<'a> DirectorySiteListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -39293,7 +39293,7 @@ impl<'a> DynamicTargetingKeyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -39574,7 +39574,7 @@ impl<'a> DynamicTargetingKeyInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -39877,7 +39877,7 @@ impl<'a> DynamicTargetingKeyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -40130,7 +40130,7 @@ impl<'a> EventTagDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -40395,7 +40395,7 @@ impl<'a> EventTagGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -40676,7 +40676,7 @@ impl<'a> EventTagInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -41055,7 +41055,7 @@ impl<'a> EventTagListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -41349,7 +41349,7 @@ impl<'a> EventTagPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -41635,7 +41635,7 @@ impl<'a> EventTagUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -41915,7 +41915,7 @@ impl<'a> FileGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -42227,7 +42227,7 @@ impl<'a> FileListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -42480,7 +42480,7 @@ impl<'a> FloodlightActivityDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -42744,7 +42744,7 @@ impl<'a> FloodlightActivityGeneratetagCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -43009,7 +43009,7 @@ impl<'a> FloodlightActivityGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -43290,7 +43290,7 @@ impl<'a> FloodlightActivityInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -43705,7 +43705,7 @@ impl<'a> FloodlightActivityListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -43999,7 +43999,7 @@ impl<'a> FloodlightActivityPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -44280,7 +44280,7 @@ impl<'a> FloodlightActivityUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44545,7 +44545,7 @@ impl<'a> FloodlightActivityGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -44826,7 +44826,7 @@ impl<'a> FloodlightActivityGroupInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -45190,7 +45190,7 @@ impl<'a> FloodlightActivityGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -45484,7 +45484,7 @@ impl<'a> FloodlightActivityGroupPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -45765,7 +45765,7 @@ impl<'a> FloodlightActivityGroupUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46029,7 +46029,7 @@ impl<'a> FloodlightConfigurationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46297,7 +46297,7 @@ impl<'a> FloodlightConfigurationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -46591,7 +46591,7 @@ impl<'a> FloodlightConfigurationPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -46872,7 +46872,7 @@ impl<'a> FloodlightConfigurationUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47148,7 +47148,7 @@ impl<'a> InventoryItemGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47529,7 +47529,7 @@ impl<'a> InventoryItemListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47781,7 +47781,7 @@ impl<'a> LanguageListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48033,7 +48033,7 @@ impl<'a> MetroListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48297,7 +48297,7 @@ impl<'a> MobileAppGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48615,7 +48615,7 @@ impl<'a> MobileAppListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48879,7 +48879,7 @@ impl<'a> MobileCarrierGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49131,7 +49131,7 @@ impl<'a> MobileCarrierListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49395,7 +49395,7 @@ impl<'a> OperatingSystemVersionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49647,7 +49647,7 @@ impl<'a> OperatingSystemVersionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49911,7 +49911,7 @@ impl<'a> OperatingSystemGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -50163,7 +50163,7 @@ impl<'a> OperatingSystemListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -50439,7 +50439,7 @@ impl<'a> OrderDocumentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -50820,7 +50820,7 @@ impl<'a> OrderDocumentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -51096,7 +51096,7 @@ impl<'a> OrderGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -51450,7 +51450,7 @@ impl<'a> OrderListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -51715,7 +51715,7 @@ impl<'a> PlacementGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -51996,7 +51996,7 @@ impl<'a> PlacementGroupInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -52501,7 +52501,7 @@ impl<'a> PlacementGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -52795,7 +52795,7 @@ impl<'a> PlacementGroupPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -53076,7 +53076,7 @@ impl<'a> PlacementGroupUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -53329,7 +53329,7 @@ impl<'a> PlacementStrategyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -53594,7 +53594,7 @@ impl<'a> PlacementStrategyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -53875,7 +53875,7 @@ impl<'a> PlacementStrategyInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -54203,7 +54203,7 @@ impl<'a> PlacementStrategyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -54497,7 +54497,7 @@ impl<'a> PlacementStrategyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -54778,7 +54778,7 @@ impl<'a> PlacementStrategyUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -55072,7 +55072,7 @@ impl<'a> PlacementGeneratetagCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -55337,7 +55337,7 @@ impl<'a> PlacementGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -55618,7 +55618,7 @@ impl<'a> PlacementInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -56168,7 +56168,7 @@ impl<'a> PlacementListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -56462,7 +56462,7 @@ impl<'a> PlacementPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -56743,7 +56743,7 @@ impl<'a> PlacementUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -57007,7 +57007,7 @@ impl<'a> PlatformTypeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -57259,7 +57259,7 @@ impl<'a> PlatformTypeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -57523,7 +57523,7 @@ impl<'a> PostalCodeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -57775,7 +57775,7 @@ impl<'a> PostalCodeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58039,7 +58039,7 @@ impl<'a> ProjectGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58381,7 +58381,7 @@ impl<'a> ProjectListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58633,7 +58633,7 @@ impl<'a> RegionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58898,7 +58898,7 @@ impl<'a> RemarketingListShareGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -59192,7 +59192,7 @@ impl<'a> RemarketingListSharePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -59473,7 +59473,7 @@ impl<'a> RemarketingListShareUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -59738,7 +59738,7 @@ impl<'a> RemarketingListGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -60019,7 +60019,7 @@ impl<'a> RemarketingListInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -60368,7 +60368,7 @@ impl<'a> RemarketingListListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -60662,7 +60662,7 @@ impl<'a> RemarketingListPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -60944,7 +60944,7 @@ impl<'a> RemarketingListUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -61230,7 +61230,7 @@ impl<'a> ReportCompatibleFieldQueryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -61522,7 +61522,7 @@ impl<'a> ReportFileGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -61834,7 +61834,7 @@ impl<'a> ReportFileListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -62087,7 +62087,7 @@ impl<'a> ReportDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -62352,7 +62352,7 @@ impl<'a> ReportGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -62633,7 +62633,7 @@ impl<'a> ReportInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -62946,7 +62946,7 @@ impl<'a> ReportListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -63239,7 +63239,7 @@ impl<'a> ReportPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63516,7 +63516,7 @@ impl<'a> ReportRunCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -63809,7 +63809,7 @@ impl<'a> ReportUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -64074,7 +64074,7 @@ impl<'a> SiteGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -64355,7 +64355,7 @@ impl<'a> SiteInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -64797,7 +64797,7 @@ impl<'a> SiteListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -65091,7 +65091,7 @@ impl<'a> SitePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -65372,7 +65372,7 @@ impl<'a> SiteUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -65637,7 +65637,7 @@ impl<'a> SizeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -65918,7 +65918,7 @@ impl<'a> SizeInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -66221,7 +66221,7 @@ impl<'a> SizeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -66486,7 +66486,7 @@ impl<'a> SubaccountGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -66767,7 +66767,7 @@ impl<'a> SubaccountInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -67095,7 +67095,7 @@ impl<'a> SubaccountListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -67389,7 +67389,7 @@ impl<'a> SubaccountPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -67670,7 +67670,7 @@ impl<'a> SubaccountUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -67934,7 +67934,7 @@ impl<'a> TargetableRemarketingListGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -68270,7 +68270,7 @@ impl<'a> TargetableRemarketingListListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -68535,7 +68535,7 @@ impl<'a> TargetingTemplateGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -68816,7 +68816,7 @@ impl<'a> TargetingTemplateInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -69156,7 +69156,7 @@ impl<'a> TargetingTemplateListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -69450,7 +69450,7 @@ impl<'a> TargetingTemplatePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -69731,7 +69731,7 @@ impl<'a> TargetingTemplateUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -69983,7 +69983,7 @@ impl<'a> UserProfileGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -70202,7 +70202,7 @@ impl<'a> UserProfileListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -70466,7 +70466,7 @@ impl<'a> UserRolePermissionGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -70718,7 +70718,7 @@ impl<'a> UserRolePermissionGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -70982,7 +70982,7 @@ impl<'a> UserRolePermissionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -71249,7 +71249,7 @@ impl<'a> UserRolePermissionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -71502,7 +71502,7 @@ impl<'a> UserRoleDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -71767,7 +71767,7 @@ impl<'a> UserRoleGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -72048,7 +72048,7 @@ impl<'a> UserRoleInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -72400,7 +72400,7 @@ impl<'a> UserRoleListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -72694,7 +72694,7 @@ impl<'a> UserRolePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -72975,7 +72975,7 @@ impl<'a> UserRoleUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -73239,7 +73239,7 @@ impl<'a> VideoFormatGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/dfareporting3d3/src/lib.rs b/gen/dfareporting3d3/src/lib.rs index 7fcbc6ac74..2e60198709 100644 --- a/gen/dfareporting3d3/src/lib.rs +++ b/gen/dfareporting3d3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Dfareporting* crate version *3.0.0+20220104*, where *20220104* is the exact revision of the *dfareporting:v3.3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Dfareporting* crate version *3.1.0+20220104*, where *20220104* is the exact revision of the *dfareporting:v3.3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Dfareporting* *v3d3* API can be found at the //! [official documentation site](https://developers.google.com/doubleclick-advertisers/). @@ -227,7 +227,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/dfareporting3d4-cli/Cargo.toml b/gen/dfareporting3d4-cli/Cargo.toml index c373d812b8..0e4899db3f 100644 --- a/gen/dfareporting3d4-cli/Cargo.toml +++ b/gen/dfareporting3d4-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dfareporting3d4-cli" -version = "3.0.0+20220104" +version = "3.1.0+20220104" authors = ["Sebastian Thiel "] description = "A complete library to interact with Dfareporting (protocol v3.4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dfareporting3d4-cli" @@ -20,12 +20,12 @@ name = "dfareporting3d4" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-dfareporting3d4] path = "../dfareporting3d4" -version = "3.0.0+20220104" +version = "3.1.0+20220104" diff --git a/gen/dfareporting3d4-cli/README.md b/gen/dfareporting3d4-cli/README.md index ad28b58ff6..bc6c06c0f6 100644 --- a/gen/dfareporting3d4-cli/README.md +++ b/gen/dfareporting3d4-cli/README.md @@ -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 *Dfareporting* API at revision *20220104*. The CLI is at version *3.0.0*. +This documentation was generated from the *Dfareporting* API at revision *20220104*. The CLI is at version *3.1.0*. ```bash dfareporting3d4 [options] diff --git a/gen/dfareporting3d4-cli/mkdocs.yml b/gen/dfareporting3d4-cli/mkdocs.yml index e275cbb824..fca0eefc15 100644 --- a/gen/dfareporting3d4-cli/mkdocs.yml +++ b/gen/dfareporting3d4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Dfareporting v3.0.0+20220104 +site_name: Dfareporting v3.1.0+20220104 site_url: http://byron.github.io/google-apis-rs/google-dfareporting3d4-cli site_description: A complete library to interact with Dfareporting (protocol v3.4) diff --git a/gen/dfareporting3d4-cli/src/main.rs b/gen/dfareporting3d4-cli/src/main.rs index 30c23bf6dc..42dd2c1826 100644 --- a/gen/dfareporting3d4-cli/src/main.rs +++ b/gen/dfareporting3d4-cli/src/main.rs @@ -18209,7 +18209,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/dfareporting3d4", 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::Dfareporting::new(client, auth), @@ -24046,7 +24052,7 @@ async fn main() { let mut app = App::new("dfareporting3d4") .author("Sebastian Thiel ") - .version("3.0.0+20220104") + .version("3.1.0+20220104") .about("Build applications to efficiently manage large or complex trafficking, reporting, and attribution workflows for Campaign Manager 360.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_dfareporting3d4_cli") .arg(Arg::with_name("url") diff --git a/gen/dfareporting3d4/Cargo.toml b/gen/dfareporting3d4/Cargo.toml index 15e4974d49..82f2cfab96 100644 --- a/gen/dfareporting3d4/Cargo.toml +++ b/gen/dfareporting3d4/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dfareporting3d4" -version = "3.0.0+20220104" +version = "3.1.0+20220104" authors = ["Sebastian Thiel "] description = "A complete library to interact with Dfareporting (protocol v3.4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dfareporting3d4" homepage = "https://developers.google.com/doubleclick-advertisers/" -documentation = "https://docs.rs/google-dfareporting3d4/3.0.0+20220104" +documentation = "https://docs.rs/google-dfareporting3d4/3.1.0+20220104" license = "MIT" keywords = ["dfareporting", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/dfareporting3d4/README.md b/gen/dfareporting3d4/README.md index 259f35d5fc..471dfacc12 100644 --- a/gen/dfareporting3d4/README.md +++ b/gen/dfareporting3d4/README.md @@ -5,146 +5,146 @@ DO NOT EDIT ! --> The `google-dfareporting3d4` library allows access to all features of the *Google Dfareporting* service. -This documentation was generated from *Dfareporting* crate version *3.0.0+20220104*, where *20220104* is the exact revision of the *dfareporting:v3.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Dfareporting* crate version *3.1.0+20220104*, where *20220104* is the exact revision of the *dfareporting:v3.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Dfareporting* *v3d4* API can be found at the [official documentation site](https://developers.google.com/doubleclick-advertisers/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/Dfareporting) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/Dfareporting) ... -* [account active ad summaries](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::AccountActiveAdSummary) - * [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::AccountActiveAdSummaryGetCall) -* [account permission groups](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::AccountPermissionGroup) - * [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::AccountPermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::AccountPermissionGroupListCall) -* [account permissions](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::AccountPermission) - * [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::AccountPermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::AccountPermissionListCall) -* [account user profiles](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::AccountUserProfile) - * [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::AccountUserProfileGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::AccountUserProfileInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::AccountUserProfileListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::AccountUserProfilePatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::AccountUserProfileUpdateCall) -* [accounts](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::Account) - * [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::AccountGetCall), [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::AccountListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::AccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::AccountUpdateCall) -* [ads](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::Ad) - * [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::AdGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::AdInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::AdListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::AdPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::AdUpdateCall) -* [advertiser groups](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::AdvertiserGroup) - * [*delete*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::AdvertiserGroupDeleteCall), [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::AdvertiserGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::AdvertiserGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::AdvertiserGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::AdvertiserGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::AdvertiserGroupUpdateCall) +* [account active ad summaries](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::AccountActiveAdSummary) + * [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::AccountActiveAdSummaryGetCall) +* [account permission groups](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::AccountPermissionGroup) + * [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::AccountPermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::AccountPermissionGroupListCall) +* [account permissions](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::AccountPermission) + * [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::AccountPermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::AccountPermissionListCall) +* [account user profiles](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::AccountUserProfile) + * [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::AccountUserProfileGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::AccountUserProfileInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::AccountUserProfileListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::AccountUserProfilePatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::AccountUserProfileUpdateCall) +* [accounts](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::Account) + * [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::AccountGetCall), [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::AccountListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::AccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::AccountUpdateCall) +* [ads](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::Ad) + * [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::AdGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::AdInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::AdListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::AdPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::AdUpdateCall) +* [advertiser groups](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::AdvertiserGroup) + * [*delete*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::AdvertiserGroupDeleteCall), [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::AdvertiserGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::AdvertiserGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::AdvertiserGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::AdvertiserGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::AdvertiserGroupUpdateCall) * advertiser landing pages - * [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::AdvertiserLandingPageGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::AdvertiserLandingPageInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::AdvertiserLandingPageListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::AdvertiserLandingPagePatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::AdvertiserLandingPageUpdateCall) -* [advertisers](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::Advertiser) - * [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::AdvertiserGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::AdvertiserInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::AdvertiserListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::AdvertiserPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::AdvertiserUpdateCall) -* [browsers](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::Browser) - * [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::BrowserListCall) -* [campaign creative associations](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::CampaignCreativeAssociation) - * [*insert*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::CampaignCreativeAssociationInsertCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::CampaignCreativeAssociationListCall) -* [campaigns](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::Campaign) - * [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::CampaignGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::CampaignInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::CampaignListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::CampaignPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::CampaignUpdateCall) -* [change logs](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::ChangeLog) - * [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::ChangeLogGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::ChangeLogListCall) -* [cities](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::City) - * [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::CityListCall) -* [connection types](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::ConnectionType) - * [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::ConnectionTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::ConnectionTypeListCall) -* [content categories](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::ContentCategory) - * [*delete*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::ContentCategoryDeleteCall), [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::ContentCategoryGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::ContentCategoryInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::ContentCategoryListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::ContentCategoryPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::ContentCategoryUpdateCall) -* [conversions](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::Conversion) - * [*batchinsert*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::ConversionBatchinsertCall) and [*batchupdate*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::ConversionBatchupdateCall) -* [countries](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::Country) - * [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::CountryGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::CountryListCall) -* [creative assets](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::CreativeAsset) - * [*insert*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::CreativeAssetInsertCall) -* [creative field values](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::CreativeFieldValue) - * [*delete*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::CreativeFieldValueDeleteCall), [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::CreativeFieldValueGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::CreativeFieldValueInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::CreativeFieldValueListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::CreativeFieldValuePatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::CreativeFieldValueUpdateCall) -* [creative fields](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::CreativeField) - * [*delete*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::CreativeFieldDeleteCall), [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::CreativeFieldGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::CreativeFieldInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::CreativeFieldListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::CreativeFieldPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::CreativeFieldUpdateCall) -* [creative groups](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::CreativeGroup) - * [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::CreativeGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::CreativeGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::CreativeGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::CreativeGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::CreativeGroupUpdateCall) -* [creatives](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::Creative) - * [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::CreativeGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::CreativeInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::CreativeListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::CreativePatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::CreativeUpdateCall) -* [custom events](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::CustomEvent) - * [*batchinsert*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::CustomEventBatchinsertCall) -* [dimension values](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::DimensionValue) - * [*query*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::DimensionValueQueryCall) -* [directory sites](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::DirectorySite) - * [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::DirectorySiteGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::DirectorySiteInsertCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::DirectorySiteListCall) -* [dynamic targeting keys](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::DynamicTargetingKey) - * [*delete*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::DynamicTargetingKeyDeleteCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::DynamicTargetingKeyInsertCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::DynamicTargetingKeyListCall) -* [event tags](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::EventTag) - * [*delete*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::EventTagDeleteCall), [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::EventTagGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::EventTagInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::EventTagListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::EventTagPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::EventTagUpdateCall) -* [files](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::File) - * [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::FileGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::FileListCall) -* [floodlight activities](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::FloodlightActivity) - * [*delete*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::FloodlightActivityDeleteCall), [*generatetag*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::FloodlightActivityGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::FloodlightActivityGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::FloodlightActivityInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::FloodlightActivityListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::FloodlightActivityPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::FloodlightActivityUpdateCall) -* [floodlight activity groups](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::FloodlightActivityGroup) - * [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::FloodlightActivityGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::FloodlightActivityGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::FloodlightActivityGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::FloodlightActivityGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::FloodlightActivityGroupUpdateCall) -* [floodlight configurations](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::FloodlightConfiguration) - * [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::FloodlightConfigurationGetCall), [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::FloodlightConfigurationListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::FloodlightConfigurationPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::FloodlightConfigurationUpdateCall) -* [inventory items](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::InventoryItem) - * [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::InventoryItemGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::InventoryItemListCall) -* [languages](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::Language) - * [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::LanguageListCall) -* [metros](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::Metro) - * [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::MetroListCall) -* [mobile apps](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::MobileApp) - * [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::MobileAppGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::MobileAppListCall) -* [mobile carriers](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::MobileCarrier) - * [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::MobileCarrierGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::MobileCarrierListCall) -* [operating system versions](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::OperatingSystemVersion) - * [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::OperatingSystemVersionGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::OperatingSystemVersionListCall) -* [operating systems](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::OperatingSystem) - * [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::OperatingSystemGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::OperatingSystemListCall) -* [order documents](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::OrderDocument) - * [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::OrderDocumentGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::OrderDocumentListCall) -* [orders](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::Order) - * [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::OrderGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::OrderListCall) -* [placement groups](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::PlacementGroup) - * [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::PlacementGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::PlacementGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::PlacementGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::PlacementGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::PlacementGroupUpdateCall) -* [placement strategies](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::PlacementStrategy) - * [*delete*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::PlacementStrategyDeleteCall), [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::PlacementStrategyGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::PlacementStrategyInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::PlacementStrategyListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::PlacementStrategyPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::PlacementStrategyUpdateCall) -* [placements](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::Placement) - * [*generatetags*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::PlacementGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::PlacementGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::PlacementInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::PlacementListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::PlacementPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::PlacementUpdateCall) -* [platform types](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::PlatformType) - * [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::PlatformTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::PlatformTypeListCall) -* [postal codes](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::PostalCode) - * [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::PostalCodeGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::PostalCodeListCall) -* [projects](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::Project) - * [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::ProjectGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::ProjectListCall) -* [regions](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::Region) - * [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::RegionListCall) -* [remarketing list shares](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::RemarketingListShare) - * [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::RemarketingListShareGetCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::RemarketingListSharePatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::RemarketingListShareUpdateCall) -* [remarketing lists](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::RemarketingList) - * [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::RemarketingListGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::RemarketingListInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::RemarketingListListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::RemarketingListPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::RemarketingListUpdateCall) -* [reports](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::Report) - * [*compatible fields query*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::ReportCompatibleFieldQueryCall), [*delete*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::ReportDeleteCall), [*files get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::ReportFileGetCall), [*files list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::ReportFileListCall), [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::ReportGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::ReportInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::ReportListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::ReportPatchCall), [*run*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::ReportRunCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::ReportUpdateCall) -* [sites](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::Site) - * [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::SiteGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::SiteInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::SiteListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::SitePatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::SiteUpdateCall) -* [sizes](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::Size) - * [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::SizeGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::SizeInsertCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::SizeListCall) -* [subaccounts](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::Subaccount) - * [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::SubaccountGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::SubaccountInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::SubaccountListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::SubaccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::SubaccountUpdateCall) -* [targetable remarketing lists](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::TargetableRemarketingList) - * [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::TargetableRemarketingListGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::TargetableRemarketingListListCall) -* [targeting templates](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::TargetingTemplate) - * [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::TargetingTemplateGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::TargetingTemplateInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::TargetingTemplateListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::TargetingTemplatePatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::TargetingTemplateUpdateCall) -* [user profiles](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::UserProfile) - * [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::UserProfileGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::UserProfileListCall) -* [user role permission groups](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::UserRolePermissionGroup) - * [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::UserRolePermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::UserRolePermissionGroupListCall) -* [user role permissions](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::UserRolePermission) - * [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::UserRolePermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::UserRolePermissionListCall) -* [user roles](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::UserRole) - * [*delete*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::UserRoleDeleteCall), [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::UserRoleGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::UserRoleInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::UserRoleListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::UserRolePatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::UserRoleUpdateCall) -* [video formats](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::VideoFormat) - * [*get*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::VideoFormatGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::VideoFormatListCall) + * [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::AdvertiserLandingPageGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::AdvertiserLandingPageInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::AdvertiserLandingPageListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::AdvertiserLandingPagePatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::AdvertiserLandingPageUpdateCall) +* [advertisers](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::Advertiser) + * [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::AdvertiserGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::AdvertiserInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::AdvertiserListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::AdvertiserPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::AdvertiserUpdateCall) +* [browsers](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::Browser) + * [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::BrowserListCall) +* [campaign creative associations](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::CampaignCreativeAssociation) + * [*insert*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::CampaignCreativeAssociationInsertCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::CampaignCreativeAssociationListCall) +* [campaigns](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::Campaign) + * [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::CampaignGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::CampaignInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::CampaignListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::CampaignPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::CampaignUpdateCall) +* [change logs](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::ChangeLog) + * [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::ChangeLogGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::ChangeLogListCall) +* [cities](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::City) + * [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::CityListCall) +* [connection types](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::ConnectionType) + * [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::ConnectionTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::ConnectionTypeListCall) +* [content categories](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::ContentCategory) + * [*delete*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::ContentCategoryDeleteCall), [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::ContentCategoryGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::ContentCategoryInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::ContentCategoryListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::ContentCategoryPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::ContentCategoryUpdateCall) +* [conversions](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::Conversion) + * [*batchinsert*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::ConversionBatchinsertCall) and [*batchupdate*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::ConversionBatchupdateCall) +* [countries](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::Country) + * [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::CountryGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::CountryListCall) +* [creative assets](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::CreativeAsset) + * [*insert*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::CreativeAssetInsertCall) +* [creative field values](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::CreativeFieldValue) + * [*delete*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::CreativeFieldValueDeleteCall), [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::CreativeFieldValueGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::CreativeFieldValueInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::CreativeFieldValueListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::CreativeFieldValuePatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::CreativeFieldValueUpdateCall) +* [creative fields](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::CreativeField) + * [*delete*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::CreativeFieldDeleteCall), [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::CreativeFieldGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::CreativeFieldInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::CreativeFieldListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::CreativeFieldPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::CreativeFieldUpdateCall) +* [creative groups](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::CreativeGroup) + * [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::CreativeGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::CreativeGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::CreativeGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::CreativeGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::CreativeGroupUpdateCall) +* [creatives](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::Creative) + * [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::CreativeGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::CreativeInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::CreativeListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::CreativePatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::CreativeUpdateCall) +* [custom events](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::CustomEvent) + * [*batchinsert*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::CustomEventBatchinsertCall) +* [dimension values](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::DimensionValue) + * [*query*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::DimensionValueQueryCall) +* [directory sites](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::DirectorySite) + * [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::DirectorySiteGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::DirectorySiteInsertCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::DirectorySiteListCall) +* [dynamic targeting keys](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::DynamicTargetingKey) + * [*delete*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::DynamicTargetingKeyDeleteCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::DynamicTargetingKeyInsertCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::DynamicTargetingKeyListCall) +* [event tags](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::EventTag) + * [*delete*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::EventTagDeleteCall), [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::EventTagGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::EventTagInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::EventTagListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::EventTagPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::EventTagUpdateCall) +* [files](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::File) + * [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::FileGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::FileListCall) +* [floodlight activities](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::FloodlightActivity) + * [*delete*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::FloodlightActivityDeleteCall), [*generatetag*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::FloodlightActivityGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::FloodlightActivityGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::FloodlightActivityInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::FloodlightActivityListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::FloodlightActivityPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::FloodlightActivityUpdateCall) +* [floodlight activity groups](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::FloodlightActivityGroup) + * [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::FloodlightActivityGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::FloodlightActivityGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::FloodlightActivityGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::FloodlightActivityGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::FloodlightActivityGroupUpdateCall) +* [floodlight configurations](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::FloodlightConfiguration) + * [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::FloodlightConfigurationGetCall), [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::FloodlightConfigurationListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::FloodlightConfigurationPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::FloodlightConfigurationUpdateCall) +* [inventory items](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::InventoryItem) + * [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::InventoryItemGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::InventoryItemListCall) +* [languages](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::Language) + * [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::LanguageListCall) +* [metros](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::Metro) + * [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::MetroListCall) +* [mobile apps](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::MobileApp) + * [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::MobileAppGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::MobileAppListCall) +* [mobile carriers](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::MobileCarrier) + * [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::MobileCarrierGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::MobileCarrierListCall) +* [operating system versions](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::OperatingSystemVersion) + * [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::OperatingSystemVersionGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::OperatingSystemVersionListCall) +* [operating systems](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::OperatingSystem) + * [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::OperatingSystemGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::OperatingSystemListCall) +* [order documents](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::OrderDocument) + * [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::OrderDocumentGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::OrderDocumentListCall) +* [orders](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::Order) + * [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::OrderGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::OrderListCall) +* [placement groups](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::PlacementGroup) + * [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::PlacementGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::PlacementGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::PlacementGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::PlacementGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::PlacementGroupUpdateCall) +* [placement strategies](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::PlacementStrategy) + * [*delete*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::PlacementStrategyDeleteCall), [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::PlacementStrategyGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::PlacementStrategyInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::PlacementStrategyListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::PlacementStrategyPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::PlacementStrategyUpdateCall) +* [placements](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::Placement) + * [*generatetags*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::PlacementGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::PlacementGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::PlacementInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::PlacementListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::PlacementPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::PlacementUpdateCall) +* [platform types](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::PlatformType) + * [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::PlatformTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::PlatformTypeListCall) +* [postal codes](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::PostalCode) + * [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::PostalCodeGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::PostalCodeListCall) +* [projects](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::Project) + * [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::ProjectGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::ProjectListCall) +* [regions](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::Region) + * [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::RegionListCall) +* [remarketing list shares](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::RemarketingListShare) + * [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::RemarketingListShareGetCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::RemarketingListSharePatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::RemarketingListShareUpdateCall) +* [remarketing lists](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::RemarketingList) + * [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::RemarketingListGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::RemarketingListInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::RemarketingListListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::RemarketingListPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::RemarketingListUpdateCall) +* [reports](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::Report) + * [*compatible fields query*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::ReportCompatibleFieldQueryCall), [*delete*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::ReportDeleteCall), [*files get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::ReportFileGetCall), [*files list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::ReportFileListCall), [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::ReportGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::ReportInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::ReportListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::ReportPatchCall), [*run*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::ReportRunCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::ReportUpdateCall) +* [sites](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::Site) + * [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::SiteGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::SiteInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::SiteListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::SitePatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::SiteUpdateCall) +* [sizes](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::Size) + * [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::SizeGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::SizeInsertCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::SizeListCall) +* [subaccounts](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::Subaccount) + * [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::SubaccountGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::SubaccountInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::SubaccountListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::SubaccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::SubaccountUpdateCall) +* [targetable remarketing lists](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::TargetableRemarketingList) + * [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::TargetableRemarketingListGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::TargetableRemarketingListListCall) +* [targeting templates](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::TargetingTemplate) + * [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::TargetingTemplateGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::TargetingTemplateInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::TargetingTemplateListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::TargetingTemplatePatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::TargetingTemplateUpdateCall) +* [user profiles](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::UserProfile) + * [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::UserProfileGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::UserProfileListCall) +* [user role permission groups](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::UserRolePermissionGroup) + * [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::UserRolePermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::UserRolePermissionGroupListCall) +* [user role permissions](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::UserRolePermission) + * [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::UserRolePermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::UserRolePermissionListCall) +* [user roles](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::UserRole) + * [*delete*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::UserRoleDeleteCall), [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::UserRoleGetCall), [*insert*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::UserRoleInsertCall), [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::UserRoleListCall), [*patch*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::UserRolePatchCall) and [*update*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::UserRoleUpdateCall) +* [video formats](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::VideoFormat) + * [*get*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::VideoFormatGetCall) and [*list*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::VideoFormatListCall) Upload supported by ... -* [*insert creative assets*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::CreativeAssetInsertCall) +* [*insert creative assets*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::CreativeAssetInsertCall) Download supported by ... -* [*get files*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::FileGetCall) -* [*files get reports*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/api::ReportFileGetCall) +* [*get files*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::FileGetCall) +* [*files get reports*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/api::ReportFileGetCall) @@ -152,17 +152,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/Dfareporting)** +* **[Hub](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/Dfareporting)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/client::CallBuilder) -* **[Resources](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/client::CallBuilder) +* **[Resources](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/client::Part)** + * **[Parts](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/client::CallBuilder)** +* **[Activities](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -228,7 +228,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -260,17 +260,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -280,29 +280,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/client::Delegate) to the -[Method Builder](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/client::Delegate) to the +[Method Builder](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/client::RequestValue) and -[decodable](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/client::RequestValue) and +[decodable](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-dfareporting3d4/3.0.0+20220104/google_dfareporting3d4/client::RequestValue) are moved +* [request values](https://docs.rs/google-dfareporting3d4/3.1.0+20220104/google_dfareporting3d4/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/dfareporting3d4/src/api.rs b/gen/dfareporting3d4/src/api.rs index 737fc2b5ed..f4ca004740 100644 --- a/gen/dfareporting3d4/src/api.rs +++ b/gen/dfareporting3d4/src/api.rs @@ -78,7 +78,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -125,7 +125,7 @@ impl<'a, > Dfareporting<> { Dfareporting { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://dfareporting.googleapis.com/dfareporting/v3.4/".to_string(), _root_url: "https://dfareporting.googleapis.com/".to_string(), } @@ -316,7 +316,7 @@ impl<'a, > Dfareporting<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -7747,7 +7747,7 @@ impl client::Part for ReportSchedule {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -7807,7 +7807,7 @@ impl<'a> AccountActiveAdSummaryMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -7884,7 +7884,7 @@ impl<'a> AccountPermissionGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -7961,7 +7961,7 @@ impl<'a> AccountPermissionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8106,7 +8106,7 @@ impl<'a> AccountUserProfileMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8230,7 +8230,7 @@ impl<'a> AccountMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8389,7 +8389,7 @@ impl<'a> AdMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8550,7 +8550,7 @@ impl<'a> AdvertiserGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8696,7 +8696,7 @@ impl<'a> AdvertiserLandingPageMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8844,7 +8844,7 @@ impl<'a> AdvertiserMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -8902,7 +8902,7 @@ impl<'a> BrowserMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `insert(...)` and `list(...)` /// // to build up your call. @@ -8986,7 +8986,7 @@ impl<'a> CampaignCreativeAssociationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9135,7 +9135,7 @@ impl<'a> CampaignMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9222,7 +9222,7 @@ impl<'a> ChangeLogMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -9284,7 +9284,7 @@ impl<'a> CityMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9361,7 +9361,7 @@ impl<'a> ConnectionTypeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9522,7 +9522,7 @@ impl<'a> ContentCategoryMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `batchinsert(...)` and `batchupdate(...)` /// // to build up your call. @@ -9601,7 +9601,7 @@ impl<'a> ConversionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9678,7 +9678,7 @@ impl<'a> CountryMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `insert(...)` /// // to build up your call. @@ -9740,7 +9740,7 @@ impl<'a> CreativeAssetMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9913,7 +9913,7 @@ impl<'a> CreativeFieldValueMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10075,7 +10075,7 @@ impl<'a> CreativeFieldMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10219,7 +10219,7 @@ impl<'a> CreativeGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10371,7 +10371,7 @@ impl<'a> CreativeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `batchinsert(...)` /// // to build up your call. @@ -10431,7 +10431,7 @@ impl<'a> CustomEventMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `query(...)` /// // to build up your call. @@ -10493,7 +10493,7 @@ impl<'a> DimensionValueMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -10600,7 +10600,7 @@ impl<'a> DirectorySiteMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -10704,7 +10704,7 @@ impl<'a> DynamicTargetingKeyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10869,7 +10869,7 @@ impl<'a> EventTagMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -10951,7 +10951,7 @@ impl<'a> FileMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `generatetag(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11137,7 +11137,7 @@ impl<'a> FloodlightActivityMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11282,7 +11282,7 @@ impl<'a> FloodlightActivityGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11400,7 +11400,7 @@ impl<'a> FloodlightConfigurationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11490,7 +11490,7 @@ impl<'a> InventoryItemMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -11548,7 +11548,7 @@ impl<'a> LanguageMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -11606,7 +11606,7 @@ impl<'a> MetroMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11688,7 +11688,7 @@ impl<'a> MobileAppMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11765,7 +11765,7 @@ impl<'a> MobileCarrierMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11842,7 +11842,7 @@ impl<'a> OperatingSystemVersionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11919,7 +11919,7 @@ impl<'a> OperatingSystemMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -12009,7 +12009,7 @@ impl<'a> OrderDocumentMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -12097,7 +12097,7 @@ impl<'a> OrderMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12252,7 +12252,7 @@ impl<'a> PlacementGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12413,7 +12413,7 @@ impl<'a> PlacementStrategyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `generatetags(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12591,7 +12591,7 @@ impl<'a> PlacementMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -12668,7 +12668,7 @@ impl<'a> PlatformTypeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -12745,7 +12745,7 @@ impl<'a> PostalCodeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -12829,7 +12829,7 @@ impl<'a> ProjectMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -12887,7 +12887,7 @@ impl<'a> RegionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12987,7 +12987,7 @@ impl<'a> RemarketingListShareMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -13132,7 +13132,7 @@ impl<'a> RemarketingListMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `compatible_fields_query(...)`, `delete(...)`, `files_get(...)`, `files_list(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)`, `run(...)` and `update(...)` /// // to build up your call. @@ -13377,7 +13377,7 @@ impl<'a> ReportMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -13528,7 +13528,7 @@ impl<'a> SiteMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -13628,7 +13628,7 @@ impl<'a> SizeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -13770,7 +13770,7 @@ impl<'a> SubaccountMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -13855,7 +13855,7 @@ impl<'a> TargetableRemarketingListMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -13998,7 +13998,7 @@ impl<'a> TargetingTemplateMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -14068,7 +14068,7 @@ impl<'a> UserProfileMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -14145,7 +14145,7 @@ impl<'a> UserRolePermissionGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -14223,7 +14223,7 @@ impl<'a> UserRolePermissionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -14386,7 +14386,7 @@ impl<'a> UserRoleMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -14470,7 +14470,7 @@ impl<'a> VideoFormatMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14734,7 +14734,7 @@ impl<'a> AccountActiveAdSummaryGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14998,7 +14998,7 @@ impl<'a> AccountPermissionGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15250,7 +15250,7 @@ impl<'a> AccountPermissionGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15514,7 +15514,7 @@ impl<'a> AccountPermissionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15766,7 +15766,7 @@ impl<'a> AccountPermissionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16031,7 +16031,7 @@ impl<'a> AccountUserProfileGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16312,7 +16312,7 @@ impl<'a> AccountUserProfileInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16676,7 +16676,7 @@ impl<'a> AccountUserProfileListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16970,7 +16970,7 @@ impl<'a> AccountUserProfilePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17251,7 +17251,7 @@ impl<'a> AccountUserProfileUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17515,7 +17515,7 @@ impl<'a> AccountGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17855,7 +17855,7 @@ impl<'a> AccountListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18149,7 +18149,7 @@ impl<'a> AccountPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18430,7 +18430,7 @@ impl<'a> AccountUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18695,7 +18695,7 @@ impl<'a> AdGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18976,7 +18976,7 @@ impl<'a> AdInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19535,7 +19535,7 @@ impl<'a> AdListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19829,7 +19829,7 @@ impl<'a> AdPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20110,7 +20110,7 @@ impl<'a> AdUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20363,7 +20363,7 @@ impl<'a> AdvertiserGroupDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20628,7 +20628,7 @@ impl<'a> AdvertiserGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20909,7 +20909,7 @@ impl<'a> AdvertiserGroupInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21237,7 +21237,7 @@ impl<'a> AdvertiserGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21531,7 +21531,7 @@ impl<'a> AdvertiserGroupPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21812,7 +21812,7 @@ impl<'a> AdvertiserGroupUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22077,7 +22077,7 @@ impl<'a> AdvertiserLandingPageGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22358,7 +22358,7 @@ impl<'a> AdvertiserLandingPageInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22740,7 +22740,7 @@ impl<'a> AdvertiserLandingPageListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23034,7 +23034,7 @@ impl<'a> AdvertiserLandingPagePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23315,7 +23315,7 @@ impl<'a> AdvertiserLandingPageUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23580,7 +23580,7 @@ impl<'a> AdvertiserGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23861,7 +23861,7 @@ impl<'a> AdvertiserInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24267,7 +24267,7 @@ impl<'a> AdvertiserListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24561,7 +24561,7 @@ impl<'a> AdvertiserPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24842,7 +24842,7 @@ impl<'a> AdvertiserUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25095,7 +25095,7 @@ impl<'a> BrowserListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25388,7 +25388,7 @@ impl<'a> CampaignCreativeAssociationInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25688,7 +25688,7 @@ impl<'a> CampaignCreativeAssociationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25953,7 +25953,7 @@ impl<'a> CampaignGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26234,7 +26234,7 @@ impl<'a> CampaignInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26655,7 +26655,7 @@ impl<'a> CampaignListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26949,7 +26949,7 @@ impl<'a> CampaignPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27230,7 +27230,7 @@ impl<'a> CampaignUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27494,7 +27494,7 @@ impl<'a> ChangeLogGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27875,7 +27875,7 @@ impl<'a> ChangeLogListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28184,7 +28184,7 @@ impl<'a> CityListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28448,7 +28448,7 @@ impl<'a> ConnectionTypeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28700,7 +28700,7 @@ impl<'a> ConnectionTypeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28953,7 +28953,7 @@ impl<'a> ContentCategoryDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29218,7 +29218,7 @@ impl<'a> ContentCategoryGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29499,7 +29499,7 @@ impl<'a> ContentCategoryInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29827,7 +29827,7 @@ impl<'a> ContentCategoryListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -30121,7 +30121,7 @@ impl<'a> ContentCategoryPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -30403,7 +30403,7 @@ impl<'a> ContentCategoryUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -30685,7 +30685,7 @@ impl<'a> ConversionBatchinsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -30966,7 +30966,7 @@ impl<'a> ConversionBatchupdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31230,7 +31230,7 @@ impl<'a> CountryGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31484,7 +31484,7 @@ impl<'a> CountryListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -31811,7 +31811,7 @@ impl<'a> CreativeAssetInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32076,7 +32076,7 @@ impl<'a> CreativeFieldValueDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32353,7 +32353,7 @@ impl<'a> CreativeFieldValueGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -32646,7 +32646,7 @@ impl<'a> CreativeFieldValueInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32986,7 +32986,7 @@ impl<'a> CreativeFieldValueListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -33292,7 +33292,7 @@ impl<'a> CreativeFieldValuePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -33585,7 +33585,7 @@ impl<'a> CreativeFieldValueUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33838,7 +33838,7 @@ impl<'a> CreativeFieldDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34103,7 +34103,7 @@ impl<'a> CreativeFieldGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -34384,7 +34384,7 @@ impl<'a> CreativeFieldInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34727,7 +34727,7 @@ impl<'a> CreativeFieldListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35021,7 +35021,7 @@ impl<'a> CreativeFieldPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35302,7 +35302,7 @@ impl<'a> CreativeFieldUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -35567,7 +35567,7 @@ impl<'a> CreativeGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35848,7 +35848,7 @@ impl<'a> CreativeGroupInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -36203,7 +36203,7 @@ impl<'a> CreativeGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -36497,7 +36497,7 @@ impl<'a> CreativeGroupPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -36778,7 +36778,7 @@ impl<'a> CreativeGroupUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -37043,7 +37043,7 @@ impl<'a> CreativeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -37324,7 +37324,7 @@ impl<'a> CreativeInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -37787,7 +37787,7 @@ impl<'a> CreativeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -38081,7 +38081,7 @@ impl<'a> CreativePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -38363,7 +38363,7 @@ impl<'a> CreativeUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -38645,7 +38645,7 @@ impl<'a> CustomEventBatchinsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -38950,7 +38950,7 @@ impl<'a> DimensionValueQueryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -39215,7 +39215,7 @@ impl<'a> DirectorySiteGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -39496,7 +39496,7 @@ impl<'a> DirectorySiteInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -39883,7 +39883,7 @@ impl<'a> DirectorySiteListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -40161,7 +40161,7 @@ impl<'a> DynamicTargetingKeyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -40442,7 +40442,7 @@ impl<'a> DynamicTargetingKeyInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -40745,7 +40745,7 @@ impl<'a> DynamicTargetingKeyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -40998,7 +40998,7 @@ impl<'a> EventTagDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -41263,7 +41263,7 @@ impl<'a> EventTagGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -41544,7 +41544,7 @@ impl<'a> EventTagInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -41923,7 +41923,7 @@ impl<'a> EventTagListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -42217,7 +42217,7 @@ impl<'a> EventTagPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -42503,7 +42503,7 @@ impl<'a> EventTagUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -42783,7 +42783,7 @@ impl<'a> FileGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -43095,7 +43095,7 @@ impl<'a> FileListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -43348,7 +43348,7 @@ impl<'a> FloodlightActivityDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -43612,7 +43612,7 @@ impl<'a> FloodlightActivityGeneratetagCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -43877,7 +43877,7 @@ impl<'a> FloodlightActivityGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -44158,7 +44158,7 @@ impl<'a> FloodlightActivityInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44573,7 +44573,7 @@ impl<'a> FloodlightActivityListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -44867,7 +44867,7 @@ impl<'a> FloodlightActivityPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -45148,7 +45148,7 @@ impl<'a> FloodlightActivityUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -45413,7 +45413,7 @@ impl<'a> FloodlightActivityGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -45694,7 +45694,7 @@ impl<'a> FloodlightActivityGroupInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46058,7 +46058,7 @@ impl<'a> FloodlightActivityGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -46352,7 +46352,7 @@ impl<'a> FloodlightActivityGroupPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -46633,7 +46633,7 @@ impl<'a> FloodlightActivityGroupUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46897,7 +46897,7 @@ impl<'a> FloodlightConfigurationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47165,7 +47165,7 @@ impl<'a> FloodlightConfigurationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -47459,7 +47459,7 @@ impl<'a> FloodlightConfigurationPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -47740,7 +47740,7 @@ impl<'a> FloodlightConfigurationUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48016,7 +48016,7 @@ impl<'a> InventoryItemGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48397,7 +48397,7 @@ impl<'a> InventoryItemListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48649,7 +48649,7 @@ impl<'a> LanguageListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48901,7 +48901,7 @@ impl<'a> MetroListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49165,7 +49165,7 @@ impl<'a> MobileAppGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49483,7 +49483,7 @@ impl<'a> MobileAppListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49747,7 +49747,7 @@ impl<'a> MobileCarrierGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49999,7 +49999,7 @@ impl<'a> MobileCarrierListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -50263,7 +50263,7 @@ impl<'a> OperatingSystemVersionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -50515,7 +50515,7 @@ impl<'a> OperatingSystemVersionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -50779,7 +50779,7 @@ impl<'a> OperatingSystemGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -51031,7 +51031,7 @@ impl<'a> OperatingSystemListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -51307,7 +51307,7 @@ impl<'a> OrderDocumentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -51688,7 +51688,7 @@ impl<'a> OrderDocumentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -51964,7 +51964,7 @@ impl<'a> OrderGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -52318,7 +52318,7 @@ impl<'a> OrderListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -52583,7 +52583,7 @@ impl<'a> PlacementGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -52864,7 +52864,7 @@ impl<'a> PlacementGroupInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -53369,7 +53369,7 @@ impl<'a> PlacementGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -53663,7 +53663,7 @@ impl<'a> PlacementGroupPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -53944,7 +53944,7 @@ impl<'a> PlacementGroupUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -54197,7 +54197,7 @@ impl<'a> PlacementStrategyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -54462,7 +54462,7 @@ impl<'a> PlacementStrategyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -54743,7 +54743,7 @@ impl<'a> PlacementStrategyInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -55071,7 +55071,7 @@ impl<'a> PlacementStrategyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -55365,7 +55365,7 @@ impl<'a> PlacementStrategyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -55646,7 +55646,7 @@ impl<'a> PlacementStrategyUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -55940,7 +55940,7 @@ impl<'a> PlacementGeneratetagCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -56205,7 +56205,7 @@ impl<'a> PlacementGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -56486,7 +56486,7 @@ impl<'a> PlacementInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -57036,7 +57036,7 @@ impl<'a> PlacementListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -57330,7 +57330,7 @@ impl<'a> PlacementPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -57611,7 +57611,7 @@ impl<'a> PlacementUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -57875,7 +57875,7 @@ impl<'a> PlatformTypeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58127,7 +58127,7 @@ impl<'a> PlatformTypeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58391,7 +58391,7 @@ impl<'a> PostalCodeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58643,7 +58643,7 @@ impl<'a> PostalCodeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58907,7 +58907,7 @@ impl<'a> ProjectGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -59249,7 +59249,7 @@ impl<'a> ProjectListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -59501,7 +59501,7 @@ impl<'a> RegionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -59766,7 +59766,7 @@ impl<'a> RemarketingListShareGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -60060,7 +60060,7 @@ impl<'a> RemarketingListSharePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -60341,7 +60341,7 @@ impl<'a> RemarketingListShareUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -60606,7 +60606,7 @@ impl<'a> RemarketingListGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -60887,7 +60887,7 @@ impl<'a> RemarketingListInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -61236,7 +61236,7 @@ impl<'a> RemarketingListListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -61530,7 +61530,7 @@ impl<'a> RemarketingListPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -61812,7 +61812,7 @@ impl<'a> RemarketingListUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -62098,7 +62098,7 @@ impl<'a> ReportCompatibleFieldQueryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -62390,7 +62390,7 @@ impl<'a> ReportFileGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -62702,7 +62702,7 @@ impl<'a> ReportFileListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -62955,7 +62955,7 @@ impl<'a> ReportDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63220,7 +63220,7 @@ impl<'a> ReportGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -63501,7 +63501,7 @@ impl<'a> ReportInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63814,7 +63814,7 @@ impl<'a> ReportListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -64107,7 +64107,7 @@ impl<'a> ReportPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -64384,7 +64384,7 @@ impl<'a> ReportRunCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -64677,7 +64677,7 @@ impl<'a> ReportUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -64942,7 +64942,7 @@ impl<'a> SiteGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -65223,7 +65223,7 @@ impl<'a> SiteInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -65665,7 +65665,7 @@ impl<'a> SiteListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -65959,7 +65959,7 @@ impl<'a> SitePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -66240,7 +66240,7 @@ impl<'a> SiteUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -66505,7 +66505,7 @@ impl<'a> SizeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -66786,7 +66786,7 @@ impl<'a> SizeInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -67089,7 +67089,7 @@ impl<'a> SizeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -67354,7 +67354,7 @@ impl<'a> SubaccountGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -67635,7 +67635,7 @@ impl<'a> SubaccountInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -67963,7 +67963,7 @@ impl<'a> SubaccountListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -68257,7 +68257,7 @@ impl<'a> SubaccountPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -68538,7 +68538,7 @@ impl<'a> SubaccountUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -68802,7 +68802,7 @@ impl<'a> TargetableRemarketingListGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -69138,7 +69138,7 @@ impl<'a> TargetableRemarketingListListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -69403,7 +69403,7 @@ impl<'a> TargetingTemplateGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -69684,7 +69684,7 @@ impl<'a> TargetingTemplateInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -70024,7 +70024,7 @@ impl<'a> TargetingTemplateListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -70318,7 +70318,7 @@ impl<'a> TargetingTemplatePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -70599,7 +70599,7 @@ impl<'a> TargetingTemplateUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -70851,7 +70851,7 @@ impl<'a> UserProfileGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -71070,7 +71070,7 @@ impl<'a> UserProfileListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -71334,7 +71334,7 @@ impl<'a> UserRolePermissionGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -71586,7 +71586,7 @@ impl<'a> UserRolePermissionGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -71850,7 +71850,7 @@ impl<'a> UserRolePermissionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -72117,7 +72117,7 @@ impl<'a> UserRolePermissionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -72370,7 +72370,7 @@ impl<'a> UserRoleDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -72635,7 +72635,7 @@ impl<'a> UserRoleGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -72916,7 +72916,7 @@ impl<'a> UserRoleInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -73268,7 +73268,7 @@ impl<'a> UserRoleListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -73562,7 +73562,7 @@ impl<'a> UserRolePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -73843,7 +73843,7 @@ impl<'a> UserRoleUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -74107,7 +74107,7 @@ impl<'a> VideoFormatGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/dfareporting3d4/src/lib.rs b/gen/dfareporting3d4/src/lib.rs index d02fd2305f..c94d0b778c 100644 --- a/gen/dfareporting3d4/src/lib.rs +++ b/gen/dfareporting3d4/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Dfareporting* crate version *3.0.0+20220104*, where *20220104* is the exact revision of the *dfareporting:v3.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Dfareporting* crate version *3.1.0+20220104*, where *20220104* is the exact revision of the *dfareporting:v3.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Dfareporting* *v3d4* API can be found at the //! [official documentation site](https://developers.google.com/doubleclick-advertisers/). @@ -229,7 +229,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/dfareporting3d5-cli/Cargo.toml b/gen/dfareporting3d5-cli/Cargo.toml index b5c025b246..921f6acc2e 100644 --- a/gen/dfareporting3d5-cli/Cargo.toml +++ b/gen/dfareporting3d5-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dfareporting3d5-cli" -version = "3.0.0+20220104" +version = "3.1.0+20220104" authors = ["Sebastian Thiel "] description = "A complete library to interact with Dfareporting (protocol v3.5)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dfareporting3d5-cli" @@ -20,12 +20,12 @@ name = "dfareporting3d5" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-dfareporting3d5] path = "../dfareporting3d5" -version = "3.0.0+20220104" +version = "3.1.0+20220104" diff --git a/gen/dfareporting3d5-cli/README.md b/gen/dfareporting3d5-cli/README.md index 95469f7e86..d9a359ce61 100644 --- a/gen/dfareporting3d5-cli/README.md +++ b/gen/dfareporting3d5-cli/README.md @@ -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 *Dfareporting* API at revision *20220104*. The CLI is at version *3.0.0*. +This documentation was generated from the *Dfareporting* API at revision *20220104*. The CLI is at version *3.1.0*. ```bash dfareporting3d5 [options] diff --git a/gen/dfareporting3d5-cli/mkdocs.yml b/gen/dfareporting3d5-cli/mkdocs.yml index b67320ce7c..baa5bb4928 100644 --- a/gen/dfareporting3d5-cli/mkdocs.yml +++ b/gen/dfareporting3d5-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Dfareporting v3.0.0+20220104 +site_name: Dfareporting v3.1.0+20220104 site_url: http://byron.github.io/google-apis-rs/google-dfareporting3d5-cli site_description: A complete library to interact with Dfareporting (protocol v3.5) diff --git a/gen/dfareporting3d5-cli/src/main.rs b/gen/dfareporting3d5-cli/src/main.rs index 90c0f968d6..0a8d743474 100644 --- a/gen/dfareporting3d5-cli/src/main.rs +++ b/gen/dfareporting3d5-cli/src/main.rs @@ -18140,7 +18140,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/dfareporting3d5", 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::Dfareporting::new(client, auth), @@ -23946,7 +23952,7 @@ async fn main() { let mut app = App::new("dfareporting3d5") .author("Sebastian Thiel ") - .version("3.0.0+20220104") + .version("3.1.0+20220104") .about("Build applications to efficiently manage large or complex trafficking, reporting, and attribution workflows for Campaign Manager 360.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_dfareporting3d5_cli") .arg(Arg::with_name("url") diff --git a/gen/dfareporting3d5/Cargo.toml b/gen/dfareporting3d5/Cargo.toml index 51abf04c9f..f9f394c290 100644 --- a/gen/dfareporting3d5/Cargo.toml +++ b/gen/dfareporting3d5/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dfareporting3d5" -version = "3.0.0+20220104" +version = "3.1.0+20220104" authors = ["Sebastian Thiel "] description = "A complete library to interact with Dfareporting (protocol v3.5)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dfareporting3d5" homepage = "https://developers.google.com/doubleclick-advertisers/" -documentation = "https://docs.rs/google-dfareporting3d5/3.0.0+20220104" +documentation = "https://docs.rs/google-dfareporting3d5/3.1.0+20220104" license = "MIT" keywords = ["dfareporting", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/dfareporting3d5/README.md b/gen/dfareporting3d5/README.md index 9b513c1bd6..f7ce62799a 100644 --- a/gen/dfareporting3d5/README.md +++ b/gen/dfareporting3d5/README.md @@ -5,144 +5,144 @@ DO NOT EDIT ! --> The `google-dfareporting3d5` library allows access to all features of the *Google Dfareporting* service. -This documentation was generated from *Dfareporting* crate version *3.0.0+20220104*, where *20220104* is the exact revision of the *dfareporting:v3.5* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Dfareporting* crate version *3.1.0+20220104*, where *20220104* is the exact revision of the *dfareporting:v3.5* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Dfareporting* *v3d5* API can be found at the [official documentation site](https://developers.google.com/doubleclick-advertisers/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/Dfareporting) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/Dfareporting) ... -* [account active ad summaries](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::AccountActiveAdSummary) - * [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::AccountActiveAdSummaryGetCall) -* [account permission groups](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::AccountPermissionGroup) - * [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::AccountPermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::AccountPermissionGroupListCall) -* [account permissions](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::AccountPermission) - * [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::AccountPermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::AccountPermissionListCall) -* [account user profiles](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::AccountUserProfile) - * [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::AccountUserProfileGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::AccountUserProfileInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::AccountUserProfileListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::AccountUserProfilePatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::AccountUserProfileUpdateCall) -* [accounts](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::Account) - * [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::AccountGetCall), [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::AccountListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::AccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::AccountUpdateCall) -* [ads](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::Ad) - * [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::AdGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::AdInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::AdListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::AdPatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::AdUpdateCall) -* [advertiser groups](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::AdvertiserGroup) - * [*delete*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::AdvertiserGroupDeleteCall), [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::AdvertiserGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::AdvertiserGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::AdvertiserGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::AdvertiserGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::AdvertiserGroupUpdateCall) +* [account active ad summaries](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::AccountActiveAdSummary) + * [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::AccountActiveAdSummaryGetCall) +* [account permission groups](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::AccountPermissionGroup) + * [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::AccountPermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::AccountPermissionGroupListCall) +* [account permissions](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::AccountPermission) + * [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::AccountPermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::AccountPermissionListCall) +* [account user profiles](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::AccountUserProfile) + * [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::AccountUserProfileGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::AccountUserProfileInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::AccountUserProfileListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::AccountUserProfilePatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::AccountUserProfileUpdateCall) +* [accounts](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::Account) + * [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::AccountGetCall), [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::AccountListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::AccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::AccountUpdateCall) +* [ads](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::Ad) + * [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::AdGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::AdInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::AdListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::AdPatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::AdUpdateCall) +* [advertiser groups](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::AdvertiserGroup) + * [*delete*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::AdvertiserGroupDeleteCall), [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::AdvertiserGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::AdvertiserGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::AdvertiserGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::AdvertiserGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::AdvertiserGroupUpdateCall) * advertiser landing pages - * [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::AdvertiserLandingPageGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::AdvertiserLandingPageInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::AdvertiserLandingPageListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::AdvertiserLandingPagePatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::AdvertiserLandingPageUpdateCall) -* [advertisers](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::Advertiser) - * [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::AdvertiserGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::AdvertiserInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::AdvertiserListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::AdvertiserPatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::AdvertiserUpdateCall) -* [browsers](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::Browser) - * [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::BrowserListCall) -* [campaign creative associations](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::CampaignCreativeAssociation) - * [*insert*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::CampaignCreativeAssociationInsertCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::CampaignCreativeAssociationListCall) -* [campaigns](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::Campaign) - * [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::CampaignGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::CampaignInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::CampaignListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::CampaignPatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::CampaignUpdateCall) -* [change logs](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::ChangeLog) - * [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::ChangeLogGetCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::ChangeLogListCall) -* [cities](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::City) - * [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::CityListCall) -* [connection types](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::ConnectionType) - * [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::ConnectionTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::ConnectionTypeListCall) -* [content categories](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::ContentCategory) - * [*delete*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::ContentCategoryDeleteCall), [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::ContentCategoryGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::ContentCategoryInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::ContentCategoryListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::ContentCategoryPatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::ContentCategoryUpdateCall) -* [conversions](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::Conversion) - * [*batchinsert*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::ConversionBatchinsertCall) and [*batchupdate*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::ConversionBatchupdateCall) -* [countries](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::Country) - * [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::CountryGetCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::CountryListCall) -* [creative assets](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::CreativeAsset) - * [*insert*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::CreativeAssetInsertCall) -* [creative field values](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::CreativeFieldValue) - * [*delete*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::CreativeFieldValueDeleteCall), [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::CreativeFieldValueGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::CreativeFieldValueInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::CreativeFieldValueListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::CreativeFieldValuePatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::CreativeFieldValueUpdateCall) -* [creative fields](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::CreativeField) - * [*delete*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::CreativeFieldDeleteCall), [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::CreativeFieldGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::CreativeFieldInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::CreativeFieldListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::CreativeFieldPatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::CreativeFieldUpdateCall) -* [creative groups](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::CreativeGroup) - * [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::CreativeGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::CreativeGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::CreativeGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::CreativeGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::CreativeGroupUpdateCall) -* [creatives](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::Creative) - * [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::CreativeGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::CreativeInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::CreativeListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::CreativePatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::CreativeUpdateCall) -* [dimension values](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::DimensionValue) - * [*query*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::DimensionValueQueryCall) -* [directory sites](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::DirectorySite) - * [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::DirectorySiteGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::DirectorySiteInsertCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::DirectorySiteListCall) -* [dynamic targeting keys](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::DynamicTargetingKey) - * [*delete*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::DynamicTargetingKeyDeleteCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::DynamicTargetingKeyInsertCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::DynamicTargetingKeyListCall) -* [event tags](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::EventTag) - * [*delete*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::EventTagDeleteCall), [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::EventTagGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::EventTagInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::EventTagListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::EventTagPatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::EventTagUpdateCall) -* [files](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::File) - * [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::FileGetCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::FileListCall) -* [floodlight activities](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::FloodlightActivity) - * [*delete*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::FloodlightActivityDeleteCall), [*generatetag*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::FloodlightActivityGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::FloodlightActivityGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::FloodlightActivityInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::FloodlightActivityListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::FloodlightActivityPatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::FloodlightActivityUpdateCall) -* [floodlight activity groups](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::FloodlightActivityGroup) - * [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::FloodlightActivityGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::FloodlightActivityGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::FloodlightActivityGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::FloodlightActivityGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::FloodlightActivityGroupUpdateCall) -* [floodlight configurations](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::FloodlightConfiguration) - * [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::FloodlightConfigurationGetCall), [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::FloodlightConfigurationListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::FloodlightConfigurationPatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::FloodlightConfigurationUpdateCall) -* [inventory items](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::InventoryItem) - * [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::InventoryItemGetCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::InventoryItemListCall) -* [languages](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::Language) - * [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::LanguageListCall) -* [metros](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::Metro) - * [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::MetroListCall) -* [mobile apps](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::MobileApp) - * [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::MobileAppGetCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::MobileAppListCall) -* [mobile carriers](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::MobileCarrier) - * [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::MobileCarrierGetCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::MobileCarrierListCall) -* [operating system versions](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::OperatingSystemVersion) - * [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::OperatingSystemVersionGetCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::OperatingSystemVersionListCall) -* [operating systems](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::OperatingSystem) - * [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::OperatingSystemGetCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::OperatingSystemListCall) -* [order documents](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::OrderDocument) - * [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::OrderDocumentGetCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::OrderDocumentListCall) -* [orders](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::Order) - * [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::OrderGetCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::OrderListCall) -* [placement groups](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::PlacementGroup) - * [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::PlacementGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::PlacementGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::PlacementGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::PlacementGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::PlacementGroupUpdateCall) -* [placement strategies](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::PlacementStrategy) - * [*delete*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::PlacementStrategyDeleteCall), [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::PlacementStrategyGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::PlacementStrategyInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::PlacementStrategyListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::PlacementStrategyPatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::PlacementStrategyUpdateCall) -* [placements](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::Placement) - * [*generatetags*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::PlacementGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::PlacementGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::PlacementInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::PlacementListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::PlacementPatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::PlacementUpdateCall) -* [platform types](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::PlatformType) - * [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::PlatformTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::PlatformTypeListCall) -* [postal codes](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::PostalCode) - * [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::PostalCodeGetCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::PostalCodeListCall) -* [projects](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::Project) - * [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::ProjectGetCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::ProjectListCall) -* [regions](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::Region) - * [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::RegionListCall) -* [remarketing list shares](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::RemarketingListShare) - * [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::RemarketingListShareGetCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::RemarketingListSharePatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::RemarketingListShareUpdateCall) -* [remarketing lists](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::RemarketingList) - * [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::RemarketingListGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::RemarketingListInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::RemarketingListListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::RemarketingListPatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::RemarketingListUpdateCall) -* [reports](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::Report) - * [*compatible fields query*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::ReportCompatibleFieldQueryCall), [*delete*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::ReportDeleteCall), [*files get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::ReportFileGetCall), [*files list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::ReportFileListCall), [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::ReportGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::ReportInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::ReportListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::ReportPatchCall), [*run*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::ReportRunCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::ReportUpdateCall) -* [sites](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::Site) - * [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::SiteGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::SiteInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::SiteListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::SitePatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::SiteUpdateCall) -* [sizes](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::Size) - * [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::SizeGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::SizeInsertCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::SizeListCall) -* [subaccounts](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::Subaccount) - * [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::SubaccountGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::SubaccountInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::SubaccountListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::SubaccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::SubaccountUpdateCall) -* [targetable remarketing lists](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::TargetableRemarketingList) - * [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::TargetableRemarketingListGetCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::TargetableRemarketingListListCall) -* [targeting templates](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::TargetingTemplate) - * [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::TargetingTemplateGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::TargetingTemplateInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::TargetingTemplateListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::TargetingTemplatePatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::TargetingTemplateUpdateCall) -* [user profiles](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::UserProfile) - * [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::UserProfileGetCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::UserProfileListCall) -* [user role permission groups](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::UserRolePermissionGroup) - * [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::UserRolePermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::UserRolePermissionGroupListCall) -* [user role permissions](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::UserRolePermission) - * [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::UserRolePermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::UserRolePermissionListCall) -* [user roles](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::UserRole) - * [*delete*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::UserRoleDeleteCall), [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::UserRoleGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::UserRoleInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::UserRoleListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::UserRolePatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::UserRoleUpdateCall) -* [video formats](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::VideoFormat) - * [*get*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::VideoFormatGetCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::VideoFormatListCall) + * [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::AdvertiserLandingPageGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::AdvertiserLandingPageInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::AdvertiserLandingPageListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::AdvertiserLandingPagePatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::AdvertiserLandingPageUpdateCall) +* [advertisers](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::Advertiser) + * [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::AdvertiserGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::AdvertiserInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::AdvertiserListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::AdvertiserPatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::AdvertiserUpdateCall) +* [browsers](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::Browser) + * [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::BrowserListCall) +* [campaign creative associations](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::CampaignCreativeAssociation) + * [*insert*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::CampaignCreativeAssociationInsertCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::CampaignCreativeAssociationListCall) +* [campaigns](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::Campaign) + * [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::CampaignGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::CampaignInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::CampaignListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::CampaignPatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::CampaignUpdateCall) +* [change logs](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::ChangeLog) + * [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::ChangeLogGetCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::ChangeLogListCall) +* [cities](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::City) + * [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::CityListCall) +* [connection types](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::ConnectionType) + * [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::ConnectionTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::ConnectionTypeListCall) +* [content categories](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::ContentCategory) + * [*delete*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::ContentCategoryDeleteCall), [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::ContentCategoryGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::ContentCategoryInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::ContentCategoryListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::ContentCategoryPatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::ContentCategoryUpdateCall) +* [conversions](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::Conversion) + * [*batchinsert*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::ConversionBatchinsertCall) and [*batchupdate*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::ConversionBatchupdateCall) +* [countries](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::Country) + * [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::CountryGetCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::CountryListCall) +* [creative assets](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::CreativeAsset) + * [*insert*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::CreativeAssetInsertCall) +* [creative field values](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::CreativeFieldValue) + * [*delete*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::CreativeFieldValueDeleteCall), [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::CreativeFieldValueGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::CreativeFieldValueInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::CreativeFieldValueListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::CreativeFieldValuePatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::CreativeFieldValueUpdateCall) +* [creative fields](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::CreativeField) + * [*delete*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::CreativeFieldDeleteCall), [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::CreativeFieldGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::CreativeFieldInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::CreativeFieldListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::CreativeFieldPatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::CreativeFieldUpdateCall) +* [creative groups](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::CreativeGroup) + * [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::CreativeGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::CreativeGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::CreativeGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::CreativeGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::CreativeGroupUpdateCall) +* [creatives](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::Creative) + * [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::CreativeGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::CreativeInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::CreativeListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::CreativePatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::CreativeUpdateCall) +* [dimension values](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::DimensionValue) + * [*query*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::DimensionValueQueryCall) +* [directory sites](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::DirectorySite) + * [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::DirectorySiteGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::DirectorySiteInsertCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::DirectorySiteListCall) +* [dynamic targeting keys](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::DynamicTargetingKey) + * [*delete*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::DynamicTargetingKeyDeleteCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::DynamicTargetingKeyInsertCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::DynamicTargetingKeyListCall) +* [event tags](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::EventTag) + * [*delete*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::EventTagDeleteCall), [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::EventTagGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::EventTagInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::EventTagListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::EventTagPatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::EventTagUpdateCall) +* [files](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::File) + * [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::FileGetCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::FileListCall) +* [floodlight activities](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::FloodlightActivity) + * [*delete*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::FloodlightActivityDeleteCall), [*generatetag*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::FloodlightActivityGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::FloodlightActivityGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::FloodlightActivityInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::FloodlightActivityListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::FloodlightActivityPatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::FloodlightActivityUpdateCall) +* [floodlight activity groups](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::FloodlightActivityGroup) + * [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::FloodlightActivityGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::FloodlightActivityGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::FloodlightActivityGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::FloodlightActivityGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::FloodlightActivityGroupUpdateCall) +* [floodlight configurations](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::FloodlightConfiguration) + * [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::FloodlightConfigurationGetCall), [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::FloodlightConfigurationListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::FloodlightConfigurationPatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::FloodlightConfigurationUpdateCall) +* [inventory items](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::InventoryItem) + * [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::InventoryItemGetCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::InventoryItemListCall) +* [languages](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::Language) + * [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::LanguageListCall) +* [metros](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::Metro) + * [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::MetroListCall) +* [mobile apps](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::MobileApp) + * [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::MobileAppGetCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::MobileAppListCall) +* [mobile carriers](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::MobileCarrier) + * [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::MobileCarrierGetCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::MobileCarrierListCall) +* [operating system versions](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::OperatingSystemVersion) + * [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::OperatingSystemVersionGetCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::OperatingSystemVersionListCall) +* [operating systems](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::OperatingSystem) + * [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::OperatingSystemGetCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::OperatingSystemListCall) +* [order documents](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::OrderDocument) + * [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::OrderDocumentGetCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::OrderDocumentListCall) +* [orders](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::Order) + * [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::OrderGetCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::OrderListCall) +* [placement groups](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::PlacementGroup) + * [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::PlacementGroupGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::PlacementGroupInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::PlacementGroupListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::PlacementGroupPatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::PlacementGroupUpdateCall) +* [placement strategies](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::PlacementStrategy) + * [*delete*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::PlacementStrategyDeleteCall), [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::PlacementStrategyGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::PlacementStrategyInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::PlacementStrategyListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::PlacementStrategyPatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::PlacementStrategyUpdateCall) +* [placements](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::Placement) + * [*generatetags*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::PlacementGeneratetagCall), [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::PlacementGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::PlacementInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::PlacementListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::PlacementPatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::PlacementUpdateCall) +* [platform types](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::PlatformType) + * [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::PlatformTypeGetCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::PlatformTypeListCall) +* [postal codes](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::PostalCode) + * [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::PostalCodeGetCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::PostalCodeListCall) +* [projects](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::Project) + * [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::ProjectGetCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::ProjectListCall) +* [regions](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::Region) + * [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::RegionListCall) +* [remarketing list shares](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::RemarketingListShare) + * [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::RemarketingListShareGetCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::RemarketingListSharePatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::RemarketingListShareUpdateCall) +* [remarketing lists](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::RemarketingList) + * [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::RemarketingListGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::RemarketingListInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::RemarketingListListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::RemarketingListPatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::RemarketingListUpdateCall) +* [reports](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::Report) + * [*compatible fields query*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::ReportCompatibleFieldQueryCall), [*delete*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::ReportDeleteCall), [*files get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::ReportFileGetCall), [*files list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::ReportFileListCall), [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::ReportGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::ReportInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::ReportListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::ReportPatchCall), [*run*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::ReportRunCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::ReportUpdateCall) +* [sites](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::Site) + * [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::SiteGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::SiteInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::SiteListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::SitePatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::SiteUpdateCall) +* [sizes](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::Size) + * [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::SizeGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::SizeInsertCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::SizeListCall) +* [subaccounts](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::Subaccount) + * [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::SubaccountGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::SubaccountInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::SubaccountListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::SubaccountPatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::SubaccountUpdateCall) +* [targetable remarketing lists](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::TargetableRemarketingList) + * [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::TargetableRemarketingListGetCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::TargetableRemarketingListListCall) +* [targeting templates](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::TargetingTemplate) + * [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::TargetingTemplateGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::TargetingTemplateInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::TargetingTemplateListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::TargetingTemplatePatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::TargetingTemplateUpdateCall) +* [user profiles](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::UserProfile) + * [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::UserProfileGetCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::UserProfileListCall) +* [user role permission groups](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::UserRolePermissionGroup) + * [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::UserRolePermissionGroupGetCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::UserRolePermissionGroupListCall) +* [user role permissions](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::UserRolePermission) + * [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::UserRolePermissionGetCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::UserRolePermissionListCall) +* [user roles](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::UserRole) + * [*delete*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::UserRoleDeleteCall), [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::UserRoleGetCall), [*insert*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::UserRoleInsertCall), [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::UserRoleListCall), [*patch*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::UserRolePatchCall) and [*update*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::UserRoleUpdateCall) +* [video formats](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::VideoFormat) + * [*get*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::VideoFormatGetCall) and [*list*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::VideoFormatListCall) Upload supported by ... -* [*insert creative assets*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::CreativeAssetInsertCall) +* [*insert creative assets*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::CreativeAssetInsertCall) Download supported by ... -* [*get files*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::FileGetCall) -* [*files get reports*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/api::ReportFileGetCall) +* [*get files*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::FileGetCall) +* [*files get reports*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/api::ReportFileGetCall) @@ -150,17 +150,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/Dfareporting)** +* **[Hub](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/Dfareporting)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/client::CallBuilder) -* **[Resources](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/client::CallBuilder) +* **[Resources](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/client::Part)** + * **[Parts](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/client::CallBuilder)** +* **[Activities](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -226,7 +226,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -258,17 +258,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -278,29 +278,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/client::Delegate) to the -[Method Builder](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/client::Delegate) to the +[Method Builder](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/client::RequestValue) and -[decodable](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/client::RequestValue) and +[decodable](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-dfareporting3d5/3.0.0+20220104/google_dfareporting3d5/client::RequestValue) are moved +* [request values](https://docs.rs/google-dfareporting3d5/3.1.0+20220104/google_dfareporting3d5/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/dfareporting3d5/src/api.rs b/gen/dfareporting3d5/src/api.rs index 9b0319e288..7166551fa3 100644 --- a/gen/dfareporting3d5/src/api.rs +++ b/gen/dfareporting3d5/src/api.rs @@ -78,7 +78,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -125,7 +125,7 @@ impl<'a, > Dfareporting<> { Dfareporting { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://dfareporting.googleapis.com/".to_string(), _root_url: "https://dfareporting.googleapis.com/".to_string(), } @@ -313,7 +313,7 @@ impl<'a, > Dfareporting<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -7561,7 +7561,7 @@ impl client::Part for ReportSchedule {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -7621,7 +7621,7 @@ impl<'a> AccountActiveAdSummaryMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -7698,7 +7698,7 @@ impl<'a> AccountPermissionGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -7775,7 +7775,7 @@ impl<'a> AccountPermissionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -7920,7 +7920,7 @@ impl<'a> AccountUserProfileMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8044,7 +8044,7 @@ impl<'a> AccountMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8203,7 +8203,7 @@ impl<'a> AdMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8364,7 +8364,7 @@ impl<'a> AdvertiserGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8510,7 +8510,7 @@ impl<'a> AdvertiserLandingPageMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8658,7 +8658,7 @@ impl<'a> AdvertiserMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -8716,7 +8716,7 @@ impl<'a> BrowserMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `insert(...)` and `list(...)` /// // to build up your call. @@ -8800,7 +8800,7 @@ impl<'a> CampaignCreativeAssociationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -8949,7 +8949,7 @@ impl<'a> CampaignMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9036,7 +9036,7 @@ impl<'a> ChangeLogMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -9098,7 +9098,7 @@ impl<'a> CityMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9175,7 +9175,7 @@ impl<'a> ConnectionTypeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9336,7 +9336,7 @@ impl<'a> ContentCategoryMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `batchinsert(...)` and `batchupdate(...)` /// // to build up your call. @@ -9415,7 +9415,7 @@ impl<'a> ConversionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9492,7 +9492,7 @@ impl<'a> CountryMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `insert(...)` /// // to build up your call. @@ -9554,7 +9554,7 @@ impl<'a> CreativeAssetMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9727,7 +9727,7 @@ impl<'a> CreativeFieldValueMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -9889,7 +9889,7 @@ impl<'a> CreativeFieldMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10033,7 +10033,7 @@ impl<'a> CreativeGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10185,7 +10185,7 @@ impl<'a> CreativeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `query(...)` /// // to build up your call. @@ -10247,7 +10247,7 @@ impl<'a> DimensionValueMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -10354,7 +10354,7 @@ impl<'a> DirectorySiteMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -10458,7 +10458,7 @@ impl<'a> DynamicTargetingKeyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10623,7 +10623,7 @@ impl<'a> EventTagMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -10705,7 +10705,7 @@ impl<'a> FileMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `generatetag(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -10891,7 +10891,7 @@ impl<'a> FloodlightActivityMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11036,7 +11036,7 @@ impl<'a> FloodlightActivityGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -11154,7 +11154,7 @@ impl<'a> FloodlightConfigurationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11244,7 +11244,7 @@ impl<'a> InventoryItemMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -11302,7 +11302,7 @@ impl<'a> LanguageMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -11360,7 +11360,7 @@ impl<'a> MetroMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11442,7 +11442,7 @@ impl<'a> MobileAppMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11519,7 +11519,7 @@ impl<'a> MobileCarrierMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11596,7 +11596,7 @@ impl<'a> OperatingSystemVersionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11673,7 +11673,7 @@ impl<'a> OperatingSystemMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11763,7 +11763,7 @@ impl<'a> OrderDocumentMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -11851,7 +11851,7 @@ impl<'a> OrderMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12006,7 +12006,7 @@ impl<'a> PlacementGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12167,7 +12167,7 @@ impl<'a> PlacementStrategyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `generatetags(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12345,7 +12345,7 @@ impl<'a> PlacementMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -12422,7 +12422,7 @@ impl<'a> PlatformTypeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -12499,7 +12499,7 @@ impl<'a> PostalCodeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -12583,7 +12583,7 @@ impl<'a> ProjectMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -12641,7 +12641,7 @@ impl<'a> RegionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12741,7 +12741,7 @@ impl<'a> RemarketingListShareMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -12886,7 +12886,7 @@ impl<'a> RemarketingListMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `compatible_fields_query(...)`, `delete(...)`, `files_get(...)`, `files_list(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)`, `run(...)` and `update(...)` /// // to build up your call. @@ -13131,7 +13131,7 @@ impl<'a> ReportMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -13282,7 +13282,7 @@ impl<'a> SiteMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -13382,7 +13382,7 @@ impl<'a> SizeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -13524,7 +13524,7 @@ impl<'a> SubaccountMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -13609,7 +13609,7 @@ impl<'a> TargetableRemarketingListMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -13752,7 +13752,7 @@ impl<'a> TargetingTemplateMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -13822,7 +13822,7 @@ impl<'a> UserProfileMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -13899,7 +13899,7 @@ impl<'a> UserRolePermissionGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -13977,7 +13977,7 @@ impl<'a> UserRolePermissionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -14140,7 +14140,7 @@ impl<'a> UserRoleMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -14224,7 +14224,7 @@ impl<'a> VideoFormatMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14488,7 +14488,7 @@ impl<'a> AccountActiveAdSummaryGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14752,7 +14752,7 @@ impl<'a> AccountPermissionGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15004,7 +15004,7 @@ impl<'a> AccountPermissionGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15268,7 +15268,7 @@ impl<'a> AccountPermissionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15520,7 +15520,7 @@ impl<'a> AccountPermissionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15785,7 +15785,7 @@ impl<'a> AccountUserProfileGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16066,7 +16066,7 @@ impl<'a> AccountUserProfileInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16430,7 +16430,7 @@ impl<'a> AccountUserProfileListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16724,7 +16724,7 @@ impl<'a> AccountUserProfilePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17005,7 +17005,7 @@ impl<'a> AccountUserProfileUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17269,7 +17269,7 @@ impl<'a> AccountGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17609,7 +17609,7 @@ impl<'a> AccountListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17903,7 +17903,7 @@ impl<'a> AccountPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18184,7 +18184,7 @@ impl<'a> AccountUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18449,7 +18449,7 @@ impl<'a> AdGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18730,7 +18730,7 @@ impl<'a> AdInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19289,7 +19289,7 @@ impl<'a> AdListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19583,7 +19583,7 @@ impl<'a> AdPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19864,7 +19864,7 @@ impl<'a> AdUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20117,7 +20117,7 @@ impl<'a> AdvertiserGroupDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20382,7 +20382,7 @@ impl<'a> AdvertiserGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20663,7 +20663,7 @@ impl<'a> AdvertiserGroupInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20991,7 +20991,7 @@ impl<'a> AdvertiserGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21285,7 +21285,7 @@ impl<'a> AdvertiserGroupPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21566,7 +21566,7 @@ impl<'a> AdvertiserGroupUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21831,7 +21831,7 @@ impl<'a> AdvertiserLandingPageGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22112,7 +22112,7 @@ impl<'a> AdvertiserLandingPageInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22494,7 +22494,7 @@ impl<'a> AdvertiserLandingPageListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22788,7 +22788,7 @@ impl<'a> AdvertiserLandingPagePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23069,7 +23069,7 @@ impl<'a> AdvertiserLandingPageUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23334,7 +23334,7 @@ impl<'a> AdvertiserGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23615,7 +23615,7 @@ impl<'a> AdvertiserInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24021,7 +24021,7 @@ impl<'a> AdvertiserListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24315,7 +24315,7 @@ impl<'a> AdvertiserPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24596,7 +24596,7 @@ impl<'a> AdvertiserUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24849,7 +24849,7 @@ impl<'a> BrowserListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25142,7 +25142,7 @@ impl<'a> CampaignCreativeAssociationInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25442,7 +25442,7 @@ impl<'a> CampaignCreativeAssociationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25707,7 +25707,7 @@ impl<'a> CampaignGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25988,7 +25988,7 @@ impl<'a> CampaignInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26409,7 +26409,7 @@ impl<'a> CampaignListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26703,7 +26703,7 @@ impl<'a> CampaignPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26984,7 +26984,7 @@ impl<'a> CampaignUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27248,7 +27248,7 @@ impl<'a> ChangeLogGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27629,7 +27629,7 @@ impl<'a> ChangeLogListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27938,7 +27938,7 @@ impl<'a> CityListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28202,7 +28202,7 @@ impl<'a> ConnectionTypeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28454,7 +28454,7 @@ impl<'a> ConnectionTypeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28707,7 +28707,7 @@ impl<'a> ContentCategoryDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28972,7 +28972,7 @@ impl<'a> ContentCategoryGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29253,7 +29253,7 @@ impl<'a> ContentCategoryInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29581,7 +29581,7 @@ impl<'a> ContentCategoryListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29875,7 +29875,7 @@ impl<'a> ContentCategoryPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -30157,7 +30157,7 @@ impl<'a> ContentCategoryUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -30439,7 +30439,7 @@ impl<'a> ConversionBatchinsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -30720,7 +30720,7 @@ impl<'a> ConversionBatchupdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30984,7 +30984,7 @@ impl<'a> CountryGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31238,7 +31238,7 @@ impl<'a> CountryListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -31565,7 +31565,7 @@ impl<'a> CreativeAssetInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31830,7 +31830,7 @@ impl<'a> CreativeFieldValueDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32107,7 +32107,7 @@ impl<'a> CreativeFieldValueGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -32400,7 +32400,7 @@ impl<'a> CreativeFieldValueInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32740,7 +32740,7 @@ impl<'a> CreativeFieldValueListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -33046,7 +33046,7 @@ impl<'a> CreativeFieldValuePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -33339,7 +33339,7 @@ impl<'a> CreativeFieldValueUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33592,7 +33592,7 @@ impl<'a> CreativeFieldDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33857,7 +33857,7 @@ impl<'a> CreativeFieldGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -34138,7 +34138,7 @@ impl<'a> CreativeFieldInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34481,7 +34481,7 @@ impl<'a> CreativeFieldListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -34775,7 +34775,7 @@ impl<'a> CreativeFieldPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35056,7 +35056,7 @@ impl<'a> CreativeFieldUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -35321,7 +35321,7 @@ impl<'a> CreativeGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35602,7 +35602,7 @@ impl<'a> CreativeGroupInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -35957,7 +35957,7 @@ impl<'a> CreativeGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -36251,7 +36251,7 @@ impl<'a> CreativeGroupPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -36532,7 +36532,7 @@ impl<'a> CreativeGroupUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -36797,7 +36797,7 @@ impl<'a> CreativeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -37078,7 +37078,7 @@ impl<'a> CreativeInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -37541,7 +37541,7 @@ impl<'a> CreativeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -37835,7 +37835,7 @@ impl<'a> CreativePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -38117,7 +38117,7 @@ impl<'a> CreativeUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -38422,7 +38422,7 @@ impl<'a> DimensionValueQueryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -38687,7 +38687,7 @@ impl<'a> DirectorySiteGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -38968,7 +38968,7 @@ impl<'a> DirectorySiteInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -39355,7 +39355,7 @@ impl<'a> DirectorySiteListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -39633,7 +39633,7 @@ impl<'a> DynamicTargetingKeyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -39914,7 +39914,7 @@ impl<'a> DynamicTargetingKeyInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -40217,7 +40217,7 @@ impl<'a> DynamicTargetingKeyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -40470,7 +40470,7 @@ impl<'a> EventTagDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -40735,7 +40735,7 @@ impl<'a> EventTagGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -41016,7 +41016,7 @@ impl<'a> EventTagInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -41395,7 +41395,7 @@ impl<'a> EventTagListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -41689,7 +41689,7 @@ impl<'a> EventTagPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -41975,7 +41975,7 @@ impl<'a> EventTagUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -42255,7 +42255,7 @@ impl<'a> FileGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -42567,7 +42567,7 @@ impl<'a> FileListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -42820,7 +42820,7 @@ impl<'a> FloodlightActivityDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -43084,7 +43084,7 @@ impl<'a> FloodlightActivityGeneratetagCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -43349,7 +43349,7 @@ impl<'a> FloodlightActivityGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -43630,7 +43630,7 @@ impl<'a> FloodlightActivityInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44045,7 +44045,7 @@ impl<'a> FloodlightActivityListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -44339,7 +44339,7 @@ impl<'a> FloodlightActivityPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -44620,7 +44620,7 @@ impl<'a> FloodlightActivityUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44885,7 +44885,7 @@ impl<'a> FloodlightActivityGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -45166,7 +45166,7 @@ impl<'a> FloodlightActivityGroupInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -45530,7 +45530,7 @@ impl<'a> FloodlightActivityGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -45824,7 +45824,7 @@ impl<'a> FloodlightActivityGroupPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -46105,7 +46105,7 @@ impl<'a> FloodlightActivityGroupUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46369,7 +46369,7 @@ impl<'a> FloodlightConfigurationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46637,7 +46637,7 @@ impl<'a> FloodlightConfigurationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -46931,7 +46931,7 @@ impl<'a> FloodlightConfigurationPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -47212,7 +47212,7 @@ impl<'a> FloodlightConfigurationUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47488,7 +47488,7 @@ impl<'a> InventoryItemGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47869,7 +47869,7 @@ impl<'a> InventoryItemListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48121,7 +48121,7 @@ impl<'a> LanguageListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48373,7 +48373,7 @@ impl<'a> MetroListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48637,7 +48637,7 @@ impl<'a> MobileAppGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48955,7 +48955,7 @@ impl<'a> MobileAppListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49219,7 +49219,7 @@ impl<'a> MobileCarrierGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49471,7 +49471,7 @@ impl<'a> MobileCarrierListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49735,7 +49735,7 @@ impl<'a> OperatingSystemVersionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49987,7 +49987,7 @@ impl<'a> OperatingSystemVersionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -50251,7 +50251,7 @@ impl<'a> OperatingSystemGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -50503,7 +50503,7 @@ impl<'a> OperatingSystemListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -50779,7 +50779,7 @@ impl<'a> OrderDocumentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -51160,7 +51160,7 @@ impl<'a> OrderDocumentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -51436,7 +51436,7 @@ impl<'a> OrderGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -51790,7 +51790,7 @@ impl<'a> OrderListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -52055,7 +52055,7 @@ impl<'a> PlacementGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -52336,7 +52336,7 @@ impl<'a> PlacementGroupInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -52841,7 +52841,7 @@ impl<'a> PlacementGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -53135,7 +53135,7 @@ impl<'a> PlacementGroupPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -53416,7 +53416,7 @@ impl<'a> PlacementGroupUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -53669,7 +53669,7 @@ impl<'a> PlacementStrategyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -53934,7 +53934,7 @@ impl<'a> PlacementStrategyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -54215,7 +54215,7 @@ impl<'a> PlacementStrategyInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -54543,7 +54543,7 @@ impl<'a> PlacementStrategyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -54837,7 +54837,7 @@ impl<'a> PlacementStrategyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -55118,7 +55118,7 @@ impl<'a> PlacementStrategyUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -55412,7 +55412,7 @@ impl<'a> PlacementGeneratetagCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -55677,7 +55677,7 @@ impl<'a> PlacementGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -55958,7 +55958,7 @@ impl<'a> PlacementInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -56508,7 +56508,7 @@ impl<'a> PlacementListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -56802,7 +56802,7 @@ impl<'a> PlacementPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -57083,7 +57083,7 @@ impl<'a> PlacementUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -57347,7 +57347,7 @@ impl<'a> PlatformTypeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -57599,7 +57599,7 @@ impl<'a> PlatformTypeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -57863,7 +57863,7 @@ impl<'a> PostalCodeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58115,7 +58115,7 @@ impl<'a> PostalCodeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58379,7 +58379,7 @@ impl<'a> ProjectGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58721,7 +58721,7 @@ impl<'a> ProjectListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58973,7 +58973,7 @@ impl<'a> RegionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -59238,7 +59238,7 @@ impl<'a> RemarketingListShareGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -59532,7 +59532,7 @@ impl<'a> RemarketingListSharePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -59813,7 +59813,7 @@ impl<'a> RemarketingListShareUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -60078,7 +60078,7 @@ impl<'a> RemarketingListGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -60359,7 +60359,7 @@ impl<'a> RemarketingListInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -60708,7 +60708,7 @@ impl<'a> RemarketingListListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -61002,7 +61002,7 @@ impl<'a> RemarketingListPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -61284,7 +61284,7 @@ impl<'a> RemarketingListUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -61570,7 +61570,7 @@ impl<'a> ReportCompatibleFieldQueryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -61862,7 +61862,7 @@ impl<'a> ReportFileGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -62174,7 +62174,7 @@ impl<'a> ReportFileListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -62427,7 +62427,7 @@ impl<'a> ReportDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -62692,7 +62692,7 @@ impl<'a> ReportGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -62973,7 +62973,7 @@ impl<'a> ReportInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63286,7 +63286,7 @@ impl<'a> ReportListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -63579,7 +63579,7 @@ impl<'a> ReportPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63856,7 +63856,7 @@ impl<'a> ReportRunCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -64149,7 +64149,7 @@ impl<'a> ReportUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -64414,7 +64414,7 @@ impl<'a> SiteGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -64695,7 +64695,7 @@ impl<'a> SiteInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -65137,7 +65137,7 @@ impl<'a> SiteListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -65431,7 +65431,7 @@ impl<'a> SitePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -65712,7 +65712,7 @@ impl<'a> SiteUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -65977,7 +65977,7 @@ impl<'a> SizeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -66258,7 +66258,7 @@ impl<'a> SizeInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -66561,7 +66561,7 @@ impl<'a> SizeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -66826,7 +66826,7 @@ impl<'a> SubaccountGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -67107,7 +67107,7 @@ impl<'a> SubaccountInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -67435,7 +67435,7 @@ impl<'a> SubaccountListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -67729,7 +67729,7 @@ impl<'a> SubaccountPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -68010,7 +68010,7 @@ impl<'a> SubaccountUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -68274,7 +68274,7 @@ impl<'a> TargetableRemarketingListGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -68610,7 +68610,7 @@ impl<'a> TargetableRemarketingListListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -68875,7 +68875,7 @@ impl<'a> TargetingTemplateGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -69156,7 +69156,7 @@ impl<'a> TargetingTemplateInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -69496,7 +69496,7 @@ impl<'a> TargetingTemplateListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -69790,7 +69790,7 @@ impl<'a> TargetingTemplatePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -70071,7 +70071,7 @@ impl<'a> TargetingTemplateUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -70323,7 +70323,7 @@ impl<'a> UserProfileGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -70542,7 +70542,7 @@ impl<'a> UserProfileListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -70806,7 +70806,7 @@ impl<'a> UserRolePermissionGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -71058,7 +71058,7 @@ impl<'a> UserRolePermissionGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -71322,7 +71322,7 @@ impl<'a> UserRolePermissionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -71589,7 +71589,7 @@ impl<'a> UserRolePermissionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -71842,7 +71842,7 @@ impl<'a> UserRoleDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -72107,7 +72107,7 @@ impl<'a> UserRoleGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -72388,7 +72388,7 @@ impl<'a> UserRoleInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -72740,7 +72740,7 @@ impl<'a> UserRoleListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -73034,7 +73034,7 @@ impl<'a> UserRolePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -73315,7 +73315,7 @@ impl<'a> UserRoleUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -73579,7 +73579,7 @@ impl<'a> VideoFormatGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/dfareporting3d5/src/lib.rs b/gen/dfareporting3d5/src/lib.rs index 2ea7487017..a9655df521 100644 --- a/gen/dfareporting3d5/src/lib.rs +++ b/gen/dfareporting3d5/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Dfareporting* crate version *3.0.0+20220104*, where *20220104* is the exact revision of the *dfareporting:v3.5* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Dfareporting* crate version *3.1.0+20220104*, where *20220104* is the exact revision of the *dfareporting:v3.5* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Dfareporting* *v3d5* API can be found at the //! [official documentation site](https://developers.google.com/doubleclick-advertisers/). @@ -227,7 +227,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Dfareporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/dialogflow2-cli/Cargo.toml b/gen/dialogflow2-cli/Cargo.toml index 8e7535e4b9..73486678dc 100644 --- a/gen/dialogflow2-cli/Cargo.toml +++ b/gen/dialogflow2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dialogflow2-cli" -version = "3.0.0+20220228" +version = "3.1.0+20220228" authors = ["Sebastian Thiel "] description = "A complete library to interact with Dialogflow (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dialogflow2-cli" @@ -20,12 +20,12 @@ name = "dialogflow2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-dialogflow2] path = "../dialogflow2" -version = "3.0.0+20220228" +version = "3.1.0+20220228" diff --git a/gen/dialogflow2-cli/README.md b/gen/dialogflow2-cli/README.md index efd824b22a..e2d28ac0aa 100644 --- a/gen/dialogflow2-cli/README.md +++ b/gen/dialogflow2-cli/README.md @@ -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 *Dialogflow* API at revision *20220228*. The CLI is at version *3.0.0*. +This documentation was generated from the *Dialogflow* API at revision *20220228*. The CLI is at version *3.1.0*. ```bash dialogflow2 [options] diff --git a/gen/dialogflow2-cli/mkdocs.yml b/gen/dialogflow2-cli/mkdocs.yml index 091667e02f..ac3e47dd79 100644 --- a/gen/dialogflow2-cli/mkdocs.yml +++ b/gen/dialogflow2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Dialogflow v3.0.0+20220228 +site_name: Dialogflow v3.1.0+20220228 site_url: http://byron.github.io/google-apis-rs/google-dialogflow2-cli site_description: A complete library to interact with Dialogflow (protocol v2) diff --git a/gen/dialogflow2-cli/src/main.rs b/gen/dialogflow2-cli/src/main.rs index 793db302ed..28ec1a6df4 100644 --- a/gen/dialogflow2-cli/src/main.rs +++ b/gen/dialogflow2-cli/src/main.rs @@ -18580,7 +18580,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/dialogflow2", 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::Dialogflow::new(client, auth), @@ -24648,7 +24654,7 @@ async fn main() { let mut app = App::new("dialogflow2") .author("Sebastian Thiel ") - .version("3.0.0+20220228") + .version("3.1.0+20220228") .about("Builds conversational interfaces (for example, chatbots, and voice-powered apps and devices).") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_dialogflow2_cli") .arg(Arg::with_name("url") diff --git a/gen/dialogflow2/Cargo.toml b/gen/dialogflow2/Cargo.toml index 2d85e9ed37..19ff6cfad8 100644 --- a/gen/dialogflow2/Cargo.toml +++ b/gen/dialogflow2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dialogflow2" -version = "3.0.0+20220228" +version = "3.1.0+20220228" authors = ["Sebastian Thiel "] description = "A complete library to interact with Dialogflow (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dialogflow2" homepage = "https://cloud.google.com/dialogflow/" -documentation = "https://docs.rs/google-dialogflow2/3.0.0+20220228" +documentation = "https://docs.rs/google-dialogflow2/3.1.0+20220228" license = "MIT" keywords = ["dialogflow", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/dialogflow2/README.md b/gen/dialogflow2/README.md index bd36934178..35886a9d39 100644 --- a/gen/dialogflow2/README.md +++ b/gen/dialogflow2/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-dialogflow2` library allows access to all features of the *Google Dialogflow* service. -This documentation was generated from *Dialogflow* crate version *3.0.0+20220228*, where *20220228* is the exact revision of the *dialogflow:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Dialogflow* crate version *3.1.0+20220228*, where *20220228* is the exact revision of the *dialogflow:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Dialogflow* *v2* API can be found at the [official documentation site](https://cloud.google.com/dialogflow/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/Dialogflow) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/Dialogflow) ... * projects - * [*agent entity types batch delete*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentEntityTypeBatchDeleteCall), [*agent entity types batch update*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentEntityTypeBatchUpdateCall), [*agent entity types create*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentEntityTypeCreateCall), [*agent entity types delete*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentEntityTypeDeleteCall), [*agent entity types entities batch create*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentEntityTypeEntityBatchCreateCall), [*agent entity types entities batch delete*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentEntityTypeEntityBatchDeleteCall), [*agent entity types entities batch update*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentEntityTypeEntityBatchUpdateCall), [*agent entity types get*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentEntityTypeGetCall), [*agent entity types list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentEntityTypeListCall), [*agent entity types patch*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentEntityTypePatchCall), [*agent environments create*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentEnvironmentCreateCall), [*agent environments delete*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentEnvironmentDeleteCall), [*agent environments get*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentEnvironmentGetCall), [*agent environments get history*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentEnvironmentGetHistoryCall), [*agent environments intents list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentEnvironmentIntentListCall), [*agent environments list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentEnvironmentListCall), [*agent environments patch*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentEnvironmentPatchCall), [*agent environments users sessions contexts create*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionContextCreateCall), [*agent environments users sessions contexts delete*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionContextDeleteCall), [*agent environments users sessions contexts get*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionContextGetCall), [*agent environments users sessions contexts list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionContextListCall), [*agent environments users sessions contexts patch*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionContextPatchCall), [*agent environments users sessions delete contexts*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionDeleteContextCall), [*agent environments users sessions detect intent*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionDetectIntentCall), [*agent environments users sessions entity types create*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionEntityTypeCreateCall), [*agent environments users sessions entity types delete*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionEntityTypeDeleteCall), [*agent environments users sessions entity types get*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionEntityTypeGetCall), [*agent environments users sessions entity types list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionEntityTypeListCall), [*agent environments users sessions entity types patch*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionEntityTypePatchCall), [*agent export*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentExportCall), [*agent get fulfillment*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentGetFulfillmentCall), [*agent get validation result*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentGetValidationResultCall), [*agent import*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentImportCall), [*agent intents batch delete*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentIntentBatchDeleteCall), [*agent intents batch update*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentIntentBatchUpdateCall), [*agent intents create*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentIntentCreateCall), [*agent intents delete*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentIntentDeleteCall), [*agent intents get*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentIntentGetCall), [*agent intents list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentIntentListCall), [*agent intents patch*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentIntentPatchCall), [*agent knowledge bases create*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentKnowledgeBaseCreateCall), [*agent knowledge bases delete*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentKnowledgeBaseDeleteCall), [*agent knowledge bases documents create*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentKnowledgeBaseDocumentCreateCall), [*agent knowledge bases documents delete*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentKnowledgeBaseDocumentDeleteCall), [*agent knowledge bases documents get*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentKnowledgeBaseDocumentGetCall), [*agent knowledge bases documents list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentKnowledgeBaseDocumentListCall), [*agent knowledge bases documents patch*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentKnowledgeBaseDocumentPatchCall), [*agent knowledge bases documents reload*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentKnowledgeBaseDocumentReloadCall), [*agent knowledge bases get*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentKnowledgeBaseGetCall), [*agent knowledge bases list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentKnowledgeBaseListCall), [*agent knowledge bases patch*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentKnowledgeBasePatchCall), [*agent restore*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentRestoreCall), [*agent search*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentSearchCall), [*agent sessions contexts create*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentSessionContextCreateCall), [*agent sessions contexts delete*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentSessionContextDeleteCall), [*agent sessions contexts get*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentSessionContextGetCall), [*agent sessions contexts list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentSessionContextListCall), [*agent sessions contexts patch*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentSessionContextPatchCall), [*agent sessions delete contexts*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentSessionDeleteContextCall), [*agent sessions detect intent*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentSessionDetectIntentCall), [*agent sessions entity types create*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentSessionEntityTypeCreateCall), [*agent sessions entity types delete*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentSessionEntityTypeDeleteCall), [*agent sessions entity types get*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentSessionEntityTypeGetCall), [*agent sessions entity types list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentSessionEntityTypeListCall), [*agent sessions entity types patch*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentSessionEntityTypePatchCall), [*agent train*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentTrainCall), [*agent update fulfillment*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentUpdateFulfillmentCall), [*agent versions create*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentVersionCreateCall), [*agent versions delete*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentVersionDeleteCall), [*agent versions get*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentVersionGetCall), [*agent versions list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentVersionListCall), [*agent versions patch*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAgentVersionPatchCall), [*answer records list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAnswerRecordListCall), [*answer records patch*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectAnswerRecordPatchCall), [*conversation datasets get*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectConversationDatasetGetCall), [*conversation datasets import conversation data*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectConversationDatasetImportConversationDataCall), [*conversation datasets list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectConversationDatasetListCall), [*conversation models create*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectConversationModelCreateCall), [*conversation models delete*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectConversationModelDeleteCall), [*conversation models deploy*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectConversationModelDeployCall), [*conversation models evaluations get*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectConversationModelEvaluationGetCall), [*conversation models evaluations list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectConversationModelEvaluationListCall), [*conversation models get*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectConversationModelGetCall), [*conversation models list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectConversationModelListCall), [*conversation models undeploy*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectConversationModelUndeployCall), [*conversation profiles clear suggestion feature config*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectConversationProfileClearSuggestionFeatureConfigCall), [*conversation profiles create*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectConversationProfileCreateCall), [*conversation profiles delete*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectConversationProfileDeleteCall), [*conversation profiles get*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectConversationProfileGetCall), [*conversation profiles list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectConversationProfileListCall), [*conversation profiles patch*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectConversationProfilePatchCall), [*conversation profiles set suggestion feature config*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectConversationProfileSetSuggestionFeatureConfigCall), [*conversations complete*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectConversationCompleteCall), [*conversations create*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectConversationCreateCall), [*conversations get*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectConversationGetCall), [*conversations list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectConversationListCall), [*conversations messages list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectConversationMessageListCall), [*conversations participants analyze content*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectConversationParticipantAnalyzeContentCall), [*conversations participants create*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectConversationParticipantCreateCall), [*conversations participants get*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectConversationParticipantGetCall), [*conversations participants list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectConversationParticipantListCall), [*conversations participants patch*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectConversationParticipantPatchCall), [*conversations participants suggestions suggest articles*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectConversationParticipantSuggestionSuggestArticleCall), [*conversations participants suggestions suggest faq answers*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectConversationParticipantSuggestionSuggestFaqAnswerCall), [*conversations participants suggestions suggest smart replies*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectConversationParticipantSuggestionSuggestSmartReplyCall), [*delete agent*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectDeleteAgentCall), [*get agent*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectGetAgentCall), [*knowledge bases create*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectKnowledgeBaseCreateCall), [*knowledge bases delete*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectKnowledgeBaseDeleteCall), [*knowledge bases documents create*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectKnowledgeBaseDocumentCreateCall), [*knowledge bases documents delete*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectKnowledgeBaseDocumentDeleteCall), [*knowledge bases documents export*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectKnowledgeBaseDocumentExportCall), [*knowledge bases documents get*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectKnowledgeBaseDocumentGetCall), [*knowledge bases documents import*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectKnowledgeBaseDocumentImportCall), [*knowledge bases documents list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectKnowledgeBaseDocumentListCall), [*knowledge bases documents patch*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectKnowledgeBaseDocumentPatchCall), [*knowledge bases documents reload*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectKnowledgeBaseDocumentReloadCall), [*knowledge bases get*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectKnowledgeBaseGetCall), [*knowledge bases list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectKnowledgeBaseListCall), [*knowledge bases patch*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectKnowledgeBasePatchCall), [*locations agent entity types batch delete*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentEntityTypeBatchDeleteCall), [*locations agent entity types batch update*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentEntityTypeBatchUpdateCall), [*locations agent entity types create*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentEntityTypeCreateCall), [*locations agent entity types delete*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentEntityTypeDeleteCall), [*locations agent entity types entities batch create*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentEntityTypeEntityBatchCreateCall), [*locations agent entity types entities batch delete*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentEntityTypeEntityBatchDeleteCall), [*locations agent entity types entities batch update*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentEntityTypeEntityBatchUpdateCall), [*locations agent entity types get*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentEntityTypeGetCall), [*locations agent entity types list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentEntityTypeListCall), [*locations agent entity types patch*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentEntityTypePatchCall), [*locations agent environments create*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentEnvironmentCreateCall), [*locations agent environments delete*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentEnvironmentDeleteCall), [*locations agent environments get*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentEnvironmentGetCall), [*locations agent environments get history*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentEnvironmentGetHistoryCall), [*locations agent environments intents list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentEnvironmentIntentListCall), [*locations agent environments list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentEnvironmentListCall), [*locations agent environments patch*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentEnvironmentPatchCall), [*locations agent environments users sessions contexts create*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionContextCreateCall), [*locations agent environments users sessions contexts delete*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionContextDeleteCall), [*locations agent environments users sessions contexts get*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionContextGetCall), [*locations agent environments users sessions contexts list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionContextListCall), [*locations agent environments users sessions contexts patch*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionContextPatchCall), [*locations agent environments users sessions delete contexts*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionDeleteContextCall), [*locations agent environments users sessions detect intent*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionDetectIntentCall), [*locations agent environments users sessions entity types create*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionEntityTypeCreateCall), [*locations agent environments users sessions entity types delete*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionEntityTypeDeleteCall), [*locations agent environments users sessions entity types get*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionEntityTypeGetCall), [*locations agent environments users sessions entity types list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionEntityTypeListCall), [*locations agent environments users sessions entity types patch*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionEntityTypePatchCall), [*locations agent export*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentExportCall), [*locations agent get fulfillment*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentGetFulfillmentCall), [*locations agent get validation result*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentGetValidationResultCall), [*locations agent import*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentImportCall), [*locations agent intents batch delete*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentIntentBatchDeleteCall), [*locations agent intents batch update*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentIntentBatchUpdateCall), [*locations agent intents create*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentIntentCreateCall), [*locations agent intents delete*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentIntentDeleteCall), [*locations agent intents get*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentIntentGetCall), [*locations agent intents list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentIntentListCall), [*locations agent intents patch*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentIntentPatchCall), [*locations agent restore*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentRestoreCall), [*locations agent search*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentSearchCall), [*locations agent sessions contexts create*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentSessionContextCreateCall), [*locations agent sessions contexts delete*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentSessionContextDeleteCall), [*locations agent sessions contexts get*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentSessionContextGetCall), [*locations agent sessions contexts list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentSessionContextListCall), [*locations agent sessions contexts patch*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentSessionContextPatchCall), [*locations agent sessions delete contexts*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentSessionDeleteContextCall), [*locations agent sessions detect intent*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentSessionDetectIntentCall), [*locations agent sessions entity types create*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentSessionEntityTypeCreateCall), [*locations agent sessions entity types delete*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentSessionEntityTypeDeleteCall), [*locations agent sessions entity types get*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentSessionEntityTypeGetCall), [*locations agent sessions entity types list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentSessionEntityTypeListCall), [*locations agent sessions entity types patch*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentSessionEntityTypePatchCall), [*locations agent train*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentTrainCall), [*locations agent update fulfillment*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentUpdateFulfillmentCall), [*locations agent versions create*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentVersionCreateCall), [*locations agent versions delete*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentVersionDeleteCall), [*locations agent versions get*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentVersionGetCall), [*locations agent versions list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentVersionListCall), [*locations agent versions patch*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAgentVersionPatchCall), [*locations answer records list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAnswerRecordListCall), [*locations answer records patch*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationAnswerRecordPatchCall), [*locations conversation datasets create*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationConversationDatasetCreateCall), [*locations conversation datasets delete*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationConversationDatasetDeleteCall), [*locations conversation datasets get*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationConversationDatasetGetCall), [*locations conversation datasets import conversation data*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationConversationDatasetImportConversationDataCall), [*locations conversation datasets list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationConversationDatasetListCall), [*locations conversation models create*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationConversationModelCreateCall), [*locations conversation models delete*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationConversationModelDeleteCall), [*locations conversation models deploy*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationConversationModelDeployCall), [*locations conversation models evaluations create*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationConversationModelEvaluationCreateCall), [*locations conversation models evaluations get*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationConversationModelEvaluationGetCall), [*locations conversation models evaluations list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationConversationModelEvaluationListCall), [*locations conversation models get*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationConversationModelGetCall), [*locations conversation models list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationConversationModelListCall), [*locations conversation models undeploy*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationConversationModelUndeployCall), [*locations conversation profiles clear suggestion feature config*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationConversationProfileClearSuggestionFeatureConfigCall), [*locations conversation profiles create*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationConversationProfileCreateCall), [*locations conversation profiles delete*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationConversationProfileDeleteCall), [*locations conversation profiles get*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationConversationProfileGetCall), [*locations conversation profiles list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationConversationProfileListCall), [*locations conversation profiles patch*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationConversationProfilePatchCall), [*locations conversation profiles set suggestion feature config*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationConversationProfileSetSuggestionFeatureConfigCall), [*locations conversations complete*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationConversationCompleteCall), [*locations conversations create*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationConversationCreateCall), [*locations conversations get*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationConversationGetCall), [*locations conversations list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationConversationListCall), [*locations conversations messages list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationConversationMessageListCall), [*locations conversations participants analyze content*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationConversationParticipantAnalyzeContentCall), [*locations conversations participants create*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationConversationParticipantCreateCall), [*locations conversations participants get*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationConversationParticipantGetCall), [*locations conversations participants list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationConversationParticipantListCall), [*locations conversations participants patch*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationConversationParticipantPatchCall), [*locations conversations participants suggestions suggest articles*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationConversationParticipantSuggestionSuggestArticleCall), [*locations conversations participants suggestions suggest faq answers*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationConversationParticipantSuggestionSuggestFaqAnswerCall), [*locations conversations participants suggestions suggest smart replies*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationConversationParticipantSuggestionSuggestSmartReplyCall), [*locations delete agent*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationDeleteAgentCall), [*locations get*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationGetCall), [*locations get agent*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationGetAgentCall), [*locations knowledge bases create*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationKnowledgeBaseCreateCall), [*locations knowledge bases delete*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationKnowledgeBaseDeleteCall), [*locations knowledge bases documents create*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationKnowledgeBaseDocumentCreateCall), [*locations knowledge bases documents delete*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationKnowledgeBaseDocumentDeleteCall), [*locations knowledge bases documents export*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationKnowledgeBaseDocumentExportCall), [*locations knowledge bases documents get*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationKnowledgeBaseDocumentGetCall), [*locations knowledge bases documents import*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationKnowledgeBaseDocumentImportCall), [*locations knowledge bases documents list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationKnowledgeBaseDocumentListCall), [*locations knowledge bases documents patch*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationKnowledgeBaseDocumentPatchCall), [*locations knowledge bases documents reload*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationKnowledgeBaseDocumentReloadCall), [*locations knowledge bases get*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationKnowledgeBaseGetCall), [*locations knowledge bases list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationKnowledgeBaseListCall), [*locations knowledge bases patch*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationKnowledgeBasePatchCall), [*locations list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationOperationListCall), [*locations set agent*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectLocationSetAgentCall), [*operations cancel*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectOperationCancelCall), [*operations get*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectOperationGetCall), [*operations list*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectOperationListCall) and [*set agent*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/api::ProjectSetAgentCall) + * [*agent entity types batch delete*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentEntityTypeBatchDeleteCall), [*agent entity types batch update*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentEntityTypeBatchUpdateCall), [*agent entity types create*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentEntityTypeCreateCall), [*agent entity types delete*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentEntityTypeDeleteCall), [*agent entity types entities batch create*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentEntityTypeEntityBatchCreateCall), [*agent entity types entities batch delete*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentEntityTypeEntityBatchDeleteCall), [*agent entity types entities batch update*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentEntityTypeEntityBatchUpdateCall), [*agent entity types get*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentEntityTypeGetCall), [*agent entity types list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentEntityTypeListCall), [*agent entity types patch*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentEntityTypePatchCall), [*agent environments create*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentEnvironmentCreateCall), [*agent environments delete*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentEnvironmentDeleteCall), [*agent environments get*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentEnvironmentGetCall), [*agent environments get history*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentEnvironmentGetHistoryCall), [*agent environments intents list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentEnvironmentIntentListCall), [*agent environments list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentEnvironmentListCall), [*agent environments patch*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentEnvironmentPatchCall), [*agent environments users sessions contexts create*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionContextCreateCall), [*agent environments users sessions contexts delete*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionContextDeleteCall), [*agent environments users sessions contexts get*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionContextGetCall), [*agent environments users sessions contexts list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionContextListCall), [*agent environments users sessions contexts patch*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionContextPatchCall), [*agent environments users sessions delete contexts*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionDeleteContextCall), [*agent environments users sessions detect intent*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionDetectIntentCall), [*agent environments users sessions entity types create*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionEntityTypeCreateCall), [*agent environments users sessions entity types delete*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionEntityTypeDeleteCall), [*agent environments users sessions entity types get*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionEntityTypeGetCall), [*agent environments users sessions entity types list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionEntityTypeListCall), [*agent environments users sessions entity types patch*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentEnvironmentUserSessionEntityTypePatchCall), [*agent export*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentExportCall), [*agent get fulfillment*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentGetFulfillmentCall), [*agent get validation result*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentGetValidationResultCall), [*agent import*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentImportCall), [*agent intents batch delete*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentIntentBatchDeleteCall), [*agent intents batch update*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentIntentBatchUpdateCall), [*agent intents create*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentIntentCreateCall), [*agent intents delete*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentIntentDeleteCall), [*agent intents get*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentIntentGetCall), [*agent intents list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentIntentListCall), [*agent intents patch*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentIntentPatchCall), [*agent knowledge bases create*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentKnowledgeBaseCreateCall), [*agent knowledge bases delete*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentKnowledgeBaseDeleteCall), [*agent knowledge bases documents create*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentKnowledgeBaseDocumentCreateCall), [*agent knowledge bases documents delete*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentKnowledgeBaseDocumentDeleteCall), [*agent knowledge bases documents get*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentKnowledgeBaseDocumentGetCall), [*agent knowledge bases documents list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentKnowledgeBaseDocumentListCall), [*agent knowledge bases documents patch*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentKnowledgeBaseDocumentPatchCall), [*agent knowledge bases documents reload*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentKnowledgeBaseDocumentReloadCall), [*agent knowledge bases get*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentKnowledgeBaseGetCall), [*agent knowledge bases list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentKnowledgeBaseListCall), [*agent knowledge bases patch*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentKnowledgeBasePatchCall), [*agent restore*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentRestoreCall), [*agent search*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentSearchCall), [*agent sessions contexts create*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentSessionContextCreateCall), [*agent sessions contexts delete*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentSessionContextDeleteCall), [*agent sessions contexts get*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentSessionContextGetCall), [*agent sessions contexts list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentSessionContextListCall), [*agent sessions contexts patch*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentSessionContextPatchCall), [*agent sessions delete contexts*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentSessionDeleteContextCall), [*agent sessions detect intent*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentSessionDetectIntentCall), [*agent sessions entity types create*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentSessionEntityTypeCreateCall), [*agent sessions entity types delete*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentSessionEntityTypeDeleteCall), [*agent sessions entity types get*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentSessionEntityTypeGetCall), [*agent sessions entity types list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentSessionEntityTypeListCall), [*agent sessions entity types patch*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentSessionEntityTypePatchCall), [*agent train*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentTrainCall), [*agent update fulfillment*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentUpdateFulfillmentCall), [*agent versions create*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentVersionCreateCall), [*agent versions delete*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentVersionDeleteCall), [*agent versions get*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentVersionGetCall), [*agent versions list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentVersionListCall), [*agent versions patch*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAgentVersionPatchCall), [*answer records list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAnswerRecordListCall), [*answer records patch*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectAnswerRecordPatchCall), [*conversation datasets get*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectConversationDatasetGetCall), [*conversation datasets import conversation data*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectConversationDatasetImportConversationDataCall), [*conversation datasets list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectConversationDatasetListCall), [*conversation models create*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectConversationModelCreateCall), [*conversation models delete*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectConversationModelDeleteCall), [*conversation models deploy*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectConversationModelDeployCall), [*conversation models evaluations get*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectConversationModelEvaluationGetCall), [*conversation models evaluations list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectConversationModelEvaluationListCall), [*conversation models get*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectConversationModelGetCall), [*conversation models list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectConversationModelListCall), [*conversation models undeploy*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectConversationModelUndeployCall), [*conversation profiles clear suggestion feature config*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectConversationProfileClearSuggestionFeatureConfigCall), [*conversation profiles create*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectConversationProfileCreateCall), [*conversation profiles delete*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectConversationProfileDeleteCall), [*conversation profiles get*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectConversationProfileGetCall), [*conversation profiles list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectConversationProfileListCall), [*conversation profiles patch*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectConversationProfilePatchCall), [*conversation profiles set suggestion feature config*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectConversationProfileSetSuggestionFeatureConfigCall), [*conversations complete*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectConversationCompleteCall), [*conversations create*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectConversationCreateCall), [*conversations get*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectConversationGetCall), [*conversations list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectConversationListCall), [*conversations messages list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectConversationMessageListCall), [*conversations participants analyze content*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectConversationParticipantAnalyzeContentCall), [*conversations participants create*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectConversationParticipantCreateCall), [*conversations participants get*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectConversationParticipantGetCall), [*conversations participants list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectConversationParticipantListCall), [*conversations participants patch*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectConversationParticipantPatchCall), [*conversations participants suggestions suggest articles*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectConversationParticipantSuggestionSuggestArticleCall), [*conversations participants suggestions suggest faq answers*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectConversationParticipantSuggestionSuggestFaqAnswerCall), [*conversations participants suggestions suggest smart replies*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectConversationParticipantSuggestionSuggestSmartReplyCall), [*delete agent*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectDeleteAgentCall), [*get agent*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectGetAgentCall), [*knowledge bases create*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectKnowledgeBaseCreateCall), [*knowledge bases delete*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectKnowledgeBaseDeleteCall), [*knowledge bases documents create*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectKnowledgeBaseDocumentCreateCall), [*knowledge bases documents delete*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectKnowledgeBaseDocumentDeleteCall), [*knowledge bases documents export*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectKnowledgeBaseDocumentExportCall), [*knowledge bases documents get*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectKnowledgeBaseDocumentGetCall), [*knowledge bases documents import*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectKnowledgeBaseDocumentImportCall), [*knowledge bases documents list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectKnowledgeBaseDocumentListCall), [*knowledge bases documents patch*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectKnowledgeBaseDocumentPatchCall), [*knowledge bases documents reload*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectKnowledgeBaseDocumentReloadCall), [*knowledge bases get*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectKnowledgeBaseGetCall), [*knowledge bases list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectKnowledgeBaseListCall), [*knowledge bases patch*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectKnowledgeBasePatchCall), [*locations agent entity types batch delete*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentEntityTypeBatchDeleteCall), [*locations agent entity types batch update*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentEntityTypeBatchUpdateCall), [*locations agent entity types create*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentEntityTypeCreateCall), [*locations agent entity types delete*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentEntityTypeDeleteCall), [*locations agent entity types entities batch create*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentEntityTypeEntityBatchCreateCall), [*locations agent entity types entities batch delete*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentEntityTypeEntityBatchDeleteCall), [*locations agent entity types entities batch update*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentEntityTypeEntityBatchUpdateCall), [*locations agent entity types get*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentEntityTypeGetCall), [*locations agent entity types list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentEntityTypeListCall), [*locations agent entity types patch*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentEntityTypePatchCall), [*locations agent environments create*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentEnvironmentCreateCall), [*locations agent environments delete*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentEnvironmentDeleteCall), [*locations agent environments get*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentEnvironmentGetCall), [*locations agent environments get history*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentEnvironmentGetHistoryCall), [*locations agent environments intents list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentEnvironmentIntentListCall), [*locations agent environments list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentEnvironmentListCall), [*locations agent environments patch*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentEnvironmentPatchCall), [*locations agent environments users sessions contexts create*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionContextCreateCall), [*locations agent environments users sessions contexts delete*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionContextDeleteCall), [*locations agent environments users sessions contexts get*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionContextGetCall), [*locations agent environments users sessions contexts list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionContextListCall), [*locations agent environments users sessions contexts patch*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionContextPatchCall), [*locations agent environments users sessions delete contexts*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionDeleteContextCall), [*locations agent environments users sessions detect intent*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionDetectIntentCall), [*locations agent environments users sessions entity types create*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionEntityTypeCreateCall), [*locations agent environments users sessions entity types delete*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionEntityTypeDeleteCall), [*locations agent environments users sessions entity types get*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionEntityTypeGetCall), [*locations agent environments users sessions entity types list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionEntityTypeListCall), [*locations agent environments users sessions entity types patch*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentEnvironmentUserSessionEntityTypePatchCall), [*locations agent export*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentExportCall), [*locations agent get fulfillment*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentGetFulfillmentCall), [*locations agent get validation result*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentGetValidationResultCall), [*locations agent import*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentImportCall), [*locations agent intents batch delete*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentIntentBatchDeleteCall), [*locations agent intents batch update*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentIntentBatchUpdateCall), [*locations agent intents create*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentIntentCreateCall), [*locations agent intents delete*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentIntentDeleteCall), [*locations agent intents get*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentIntentGetCall), [*locations agent intents list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentIntentListCall), [*locations agent intents patch*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentIntentPatchCall), [*locations agent restore*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentRestoreCall), [*locations agent search*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentSearchCall), [*locations agent sessions contexts create*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentSessionContextCreateCall), [*locations agent sessions contexts delete*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentSessionContextDeleteCall), [*locations agent sessions contexts get*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentSessionContextGetCall), [*locations agent sessions contexts list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentSessionContextListCall), [*locations agent sessions contexts patch*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentSessionContextPatchCall), [*locations agent sessions delete contexts*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentSessionDeleteContextCall), [*locations agent sessions detect intent*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentSessionDetectIntentCall), [*locations agent sessions entity types create*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentSessionEntityTypeCreateCall), [*locations agent sessions entity types delete*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentSessionEntityTypeDeleteCall), [*locations agent sessions entity types get*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentSessionEntityTypeGetCall), [*locations agent sessions entity types list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentSessionEntityTypeListCall), [*locations agent sessions entity types patch*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentSessionEntityTypePatchCall), [*locations agent train*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentTrainCall), [*locations agent update fulfillment*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentUpdateFulfillmentCall), [*locations agent versions create*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentVersionCreateCall), [*locations agent versions delete*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentVersionDeleteCall), [*locations agent versions get*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentVersionGetCall), [*locations agent versions list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentVersionListCall), [*locations agent versions patch*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAgentVersionPatchCall), [*locations answer records list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAnswerRecordListCall), [*locations answer records patch*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationAnswerRecordPatchCall), [*locations conversation datasets create*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationConversationDatasetCreateCall), [*locations conversation datasets delete*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationConversationDatasetDeleteCall), [*locations conversation datasets get*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationConversationDatasetGetCall), [*locations conversation datasets import conversation data*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationConversationDatasetImportConversationDataCall), [*locations conversation datasets list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationConversationDatasetListCall), [*locations conversation models create*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationConversationModelCreateCall), [*locations conversation models delete*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationConversationModelDeleteCall), [*locations conversation models deploy*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationConversationModelDeployCall), [*locations conversation models evaluations create*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationConversationModelEvaluationCreateCall), [*locations conversation models evaluations get*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationConversationModelEvaluationGetCall), [*locations conversation models evaluations list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationConversationModelEvaluationListCall), [*locations conversation models get*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationConversationModelGetCall), [*locations conversation models list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationConversationModelListCall), [*locations conversation models undeploy*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationConversationModelUndeployCall), [*locations conversation profiles clear suggestion feature config*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationConversationProfileClearSuggestionFeatureConfigCall), [*locations conversation profiles create*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationConversationProfileCreateCall), [*locations conversation profiles delete*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationConversationProfileDeleteCall), [*locations conversation profiles get*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationConversationProfileGetCall), [*locations conversation profiles list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationConversationProfileListCall), [*locations conversation profiles patch*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationConversationProfilePatchCall), [*locations conversation profiles set suggestion feature config*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationConversationProfileSetSuggestionFeatureConfigCall), [*locations conversations complete*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationConversationCompleteCall), [*locations conversations create*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationConversationCreateCall), [*locations conversations get*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationConversationGetCall), [*locations conversations list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationConversationListCall), [*locations conversations messages list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationConversationMessageListCall), [*locations conversations participants analyze content*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationConversationParticipantAnalyzeContentCall), [*locations conversations participants create*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationConversationParticipantCreateCall), [*locations conversations participants get*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationConversationParticipantGetCall), [*locations conversations participants list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationConversationParticipantListCall), [*locations conversations participants patch*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationConversationParticipantPatchCall), [*locations conversations participants suggestions suggest articles*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationConversationParticipantSuggestionSuggestArticleCall), [*locations conversations participants suggestions suggest faq answers*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationConversationParticipantSuggestionSuggestFaqAnswerCall), [*locations conversations participants suggestions suggest smart replies*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationConversationParticipantSuggestionSuggestSmartReplyCall), [*locations delete agent*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationDeleteAgentCall), [*locations get*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationGetCall), [*locations get agent*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationGetAgentCall), [*locations knowledge bases create*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationKnowledgeBaseCreateCall), [*locations knowledge bases delete*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationKnowledgeBaseDeleteCall), [*locations knowledge bases documents create*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationKnowledgeBaseDocumentCreateCall), [*locations knowledge bases documents delete*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationKnowledgeBaseDocumentDeleteCall), [*locations knowledge bases documents export*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationKnowledgeBaseDocumentExportCall), [*locations knowledge bases documents get*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationKnowledgeBaseDocumentGetCall), [*locations knowledge bases documents import*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationKnowledgeBaseDocumentImportCall), [*locations knowledge bases documents list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationKnowledgeBaseDocumentListCall), [*locations knowledge bases documents patch*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationKnowledgeBaseDocumentPatchCall), [*locations knowledge bases documents reload*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationKnowledgeBaseDocumentReloadCall), [*locations knowledge bases get*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationKnowledgeBaseGetCall), [*locations knowledge bases list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationKnowledgeBaseListCall), [*locations knowledge bases patch*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationKnowledgeBasePatchCall), [*locations list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationOperationListCall), [*locations set agent*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectLocationSetAgentCall), [*operations cancel*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectOperationCancelCall), [*operations get*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectOperationGetCall), [*operations list*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectOperationListCall) and [*set agent*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/api::ProjectSetAgentCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/Dialogflow)** +* **[Hub](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/Dialogflow)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/client::CallBuilder) -* **[Resources](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/client::CallBuilder) +* **[Resources](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/client::Part)** + * **[Parts](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -147,7 +147,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -181,17 +181,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -201,29 +201,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/client::Delegate) to the -[Method Builder](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/client::Delegate) to the +[Method Builder](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/client::RequestValue) and -[decodable](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/client::RequestValue) and +[decodable](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-dialogflow2/3.0.0+20220228/google_dialogflow2/client::RequestValue) are moved +* [request values](https://docs.rs/google-dialogflow2/3.1.0+20220228/google_dialogflow2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/dialogflow2/src/api.rs b/gen/dialogflow2/src/api.rs index d77159f9aa..d37af9d7df 100644 --- a/gen/dialogflow2/src/api.rs +++ b/gen/dialogflow2/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -124,7 +124,7 @@ impl<'a, > Dialogflow<> { Dialogflow { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://dialogflow.googleapis.com/".to_string(), _root_url: "https://dialogflow.googleapis.com/".to_string(), } @@ -135,7 +135,7 @@ impl<'a, > Dialogflow<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -4201,7 +4201,7 @@ impl client::Part for GoogleTypeLatLng {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `agent_entity_types_batch_delete(...)`, `agent_entity_types_batch_update(...)`, `agent_entity_types_create(...)`, `agent_entity_types_delete(...)`, `agent_entity_types_entities_batch_create(...)`, `agent_entity_types_entities_batch_delete(...)`, `agent_entity_types_entities_batch_update(...)`, `agent_entity_types_get(...)`, `agent_entity_types_list(...)`, `agent_entity_types_patch(...)`, `agent_environments_create(...)`, `agent_environments_delete(...)`, `agent_environments_get(...)`, `agent_environments_get_history(...)`, `agent_environments_intents_list(...)`, `agent_environments_list(...)`, `agent_environments_patch(...)`, `agent_environments_users_sessions_contexts_create(...)`, `agent_environments_users_sessions_contexts_delete(...)`, `agent_environments_users_sessions_contexts_get(...)`, `agent_environments_users_sessions_contexts_list(...)`, `agent_environments_users_sessions_contexts_patch(...)`, `agent_environments_users_sessions_delete_contexts(...)`, `agent_environments_users_sessions_detect_intent(...)`, `agent_environments_users_sessions_entity_types_create(...)`, `agent_environments_users_sessions_entity_types_delete(...)`, `agent_environments_users_sessions_entity_types_get(...)`, `agent_environments_users_sessions_entity_types_list(...)`, `agent_environments_users_sessions_entity_types_patch(...)`, `agent_export(...)`, `agent_get_fulfillment(...)`, `agent_get_validation_result(...)`, `agent_import(...)`, `agent_intents_batch_delete(...)`, `agent_intents_batch_update(...)`, `agent_intents_create(...)`, `agent_intents_delete(...)`, `agent_intents_get(...)`, `agent_intents_list(...)`, `agent_intents_patch(...)`, `agent_knowledge_bases_create(...)`, `agent_knowledge_bases_delete(...)`, `agent_knowledge_bases_documents_create(...)`, `agent_knowledge_bases_documents_delete(...)`, `agent_knowledge_bases_documents_get(...)`, `agent_knowledge_bases_documents_list(...)`, `agent_knowledge_bases_documents_patch(...)`, `agent_knowledge_bases_documents_reload(...)`, `agent_knowledge_bases_get(...)`, `agent_knowledge_bases_list(...)`, `agent_knowledge_bases_patch(...)`, `agent_restore(...)`, `agent_search(...)`, `agent_sessions_contexts_create(...)`, `agent_sessions_contexts_delete(...)`, `agent_sessions_contexts_get(...)`, `agent_sessions_contexts_list(...)`, `agent_sessions_contexts_patch(...)`, `agent_sessions_delete_contexts(...)`, `agent_sessions_detect_intent(...)`, `agent_sessions_entity_types_create(...)`, `agent_sessions_entity_types_delete(...)`, `agent_sessions_entity_types_get(...)`, `agent_sessions_entity_types_list(...)`, `agent_sessions_entity_types_patch(...)`, `agent_train(...)`, `agent_update_fulfillment(...)`, `agent_versions_create(...)`, `agent_versions_delete(...)`, `agent_versions_get(...)`, `agent_versions_list(...)`, `agent_versions_patch(...)`, `answer_records_list(...)`, `answer_records_patch(...)`, `conversation_datasets_get(...)`, `conversation_datasets_import_conversation_data(...)`, `conversation_datasets_list(...)`, `conversation_models_create(...)`, `conversation_models_delete(...)`, `conversation_models_deploy(...)`, `conversation_models_evaluations_get(...)`, `conversation_models_evaluations_list(...)`, `conversation_models_get(...)`, `conversation_models_list(...)`, `conversation_models_undeploy(...)`, `conversation_profiles_clear_suggestion_feature_config(...)`, `conversation_profiles_create(...)`, `conversation_profiles_delete(...)`, `conversation_profiles_get(...)`, `conversation_profiles_list(...)`, `conversation_profiles_patch(...)`, `conversation_profiles_set_suggestion_feature_config(...)`, `conversations_complete(...)`, `conversations_create(...)`, `conversations_get(...)`, `conversations_list(...)`, `conversations_messages_list(...)`, `conversations_participants_analyze_content(...)`, `conversations_participants_create(...)`, `conversations_participants_get(...)`, `conversations_participants_list(...)`, `conversations_participants_patch(...)`, `conversations_participants_suggestions_suggest_articles(...)`, `conversations_participants_suggestions_suggest_faq_answers(...)`, `conversations_participants_suggestions_suggest_smart_replies(...)`, `delete_agent(...)`, `get_agent(...)`, `knowledge_bases_create(...)`, `knowledge_bases_delete(...)`, `knowledge_bases_documents_create(...)`, `knowledge_bases_documents_delete(...)`, `knowledge_bases_documents_export(...)`, `knowledge_bases_documents_get(...)`, `knowledge_bases_documents_import(...)`, `knowledge_bases_documents_list(...)`, `knowledge_bases_documents_patch(...)`, `knowledge_bases_documents_reload(...)`, `knowledge_bases_get(...)`, `knowledge_bases_list(...)`, `knowledge_bases_patch(...)`, `locations_agent_entity_types_batch_delete(...)`, `locations_agent_entity_types_batch_update(...)`, `locations_agent_entity_types_create(...)`, `locations_agent_entity_types_delete(...)`, `locations_agent_entity_types_entities_batch_create(...)`, `locations_agent_entity_types_entities_batch_delete(...)`, `locations_agent_entity_types_entities_batch_update(...)`, `locations_agent_entity_types_get(...)`, `locations_agent_entity_types_list(...)`, `locations_agent_entity_types_patch(...)`, `locations_agent_environments_create(...)`, `locations_agent_environments_delete(...)`, `locations_agent_environments_get(...)`, `locations_agent_environments_get_history(...)`, `locations_agent_environments_intents_list(...)`, `locations_agent_environments_list(...)`, `locations_agent_environments_patch(...)`, `locations_agent_environments_users_sessions_contexts_create(...)`, `locations_agent_environments_users_sessions_contexts_delete(...)`, `locations_agent_environments_users_sessions_contexts_get(...)`, `locations_agent_environments_users_sessions_contexts_list(...)`, `locations_agent_environments_users_sessions_contexts_patch(...)`, `locations_agent_environments_users_sessions_delete_contexts(...)`, `locations_agent_environments_users_sessions_detect_intent(...)`, `locations_agent_environments_users_sessions_entity_types_create(...)`, `locations_agent_environments_users_sessions_entity_types_delete(...)`, `locations_agent_environments_users_sessions_entity_types_get(...)`, `locations_agent_environments_users_sessions_entity_types_list(...)`, `locations_agent_environments_users_sessions_entity_types_patch(...)`, `locations_agent_export(...)`, `locations_agent_get_fulfillment(...)`, `locations_agent_get_validation_result(...)`, `locations_agent_import(...)`, `locations_agent_intents_batch_delete(...)`, `locations_agent_intents_batch_update(...)`, `locations_agent_intents_create(...)`, `locations_agent_intents_delete(...)`, `locations_agent_intents_get(...)`, `locations_agent_intents_list(...)`, `locations_agent_intents_patch(...)`, `locations_agent_restore(...)`, `locations_agent_search(...)`, `locations_agent_sessions_contexts_create(...)`, `locations_agent_sessions_contexts_delete(...)`, `locations_agent_sessions_contexts_get(...)`, `locations_agent_sessions_contexts_list(...)`, `locations_agent_sessions_contexts_patch(...)`, `locations_agent_sessions_delete_contexts(...)`, `locations_agent_sessions_detect_intent(...)`, `locations_agent_sessions_entity_types_create(...)`, `locations_agent_sessions_entity_types_delete(...)`, `locations_agent_sessions_entity_types_get(...)`, `locations_agent_sessions_entity_types_list(...)`, `locations_agent_sessions_entity_types_patch(...)`, `locations_agent_train(...)`, `locations_agent_update_fulfillment(...)`, `locations_agent_versions_create(...)`, `locations_agent_versions_delete(...)`, `locations_agent_versions_get(...)`, `locations_agent_versions_list(...)`, `locations_agent_versions_patch(...)`, `locations_answer_records_list(...)`, `locations_answer_records_patch(...)`, `locations_conversation_datasets_create(...)`, `locations_conversation_datasets_delete(...)`, `locations_conversation_datasets_get(...)`, `locations_conversation_datasets_import_conversation_data(...)`, `locations_conversation_datasets_list(...)`, `locations_conversation_models_create(...)`, `locations_conversation_models_delete(...)`, `locations_conversation_models_deploy(...)`, `locations_conversation_models_evaluations_create(...)`, `locations_conversation_models_evaluations_get(...)`, `locations_conversation_models_evaluations_list(...)`, `locations_conversation_models_get(...)`, `locations_conversation_models_list(...)`, `locations_conversation_models_undeploy(...)`, `locations_conversation_profiles_clear_suggestion_feature_config(...)`, `locations_conversation_profiles_create(...)`, `locations_conversation_profiles_delete(...)`, `locations_conversation_profiles_get(...)`, `locations_conversation_profiles_list(...)`, `locations_conversation_profiles_patch(...)`, `locations_conversation_profiles_set_suggestion_feature_config(...)`, `locations_conversations_complete(...)`, `locations_conversations_create(...)`, `locations_conversations_get(...)`, `locations_conversations_list(...)`, `locations_conversations_messages_list(...)`, `locations_conversations_participants_analyze_content(...)`, `locations_conversations_participants_create(...)`, `locations_conversations_participants_get(...)`, `locations_conversations_participants_list(...)`, `locations_conversations_participants_patch(...)`, `locations_conversations_participants_suggestions_suggest_articles(...)`, `locations_conversations_participants_suggestions_suggest_faq_answers(...)`, `locations_conversations_participants_suggestions_suggest_smart_replies(...)`, `locations_delete_agent(...)`, `locations_get(...)`, `locations_get_agent(...)`, `locations_knowledge_bases_create(...)`, `locations_knowledge_bases_delete(...)`, `locations_knowledge_bases_documents_create(...)`, `locations_knowledge_bases_documents_delete(...)`, `locations_knowledge_bases_documents_export(...)`, `locations_knowledge_bases_documents_get(...)`, `locations_knowledge_bases_documents_import(...)`, `locations_knowledge_bases_documents_list(...)`, `locations_knowledge_bases_documents_patch(...)`, `locations_knowledge_bases_documents_reload(...)`, `locations_knowledge_bases_get(...)`, `locations_knowledge_bases_list(...)`, `locations_knowledge_bases_patch(...)`, `locations_list(...)`, `locations_operations_cancel(...)`, `locations_operations_get(...)`, `locations_operations_list(...)`, `locations_set_agent(...)`, `operations_cancel(...)`, `operations_get(...)`, `operations_list(...)` and `set_agent(...)` /// // to build up your call. @@ -8778,7 +8778,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9064,7 +9064,7 @@ impl<'a> ProjectAgentEntityTypeEntityBatchCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9350,7 +9350,7 @@ impl<'a> ProjectAgentEntityTypeEntityBatchDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9636,7 +9636,7 @@ impl<'a> ProjectAgentEntityTypeEntityBatchUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9922,7 +9922,7 @@ impl<'a> ProjectAgentEntityTypeBatchDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10208,7 +10208,7 @@ impl<'a> ProjectAgentEntityTypeBatchUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10505,7 +10505,7 @@ impl<'a> ProjectAgentEntityTypeCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10761,7 +10761,7 @@ impl<'a> ProjectAgentEntityTypeDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11029,7 +11029,7 @@ impl<'a> ProjectAgentEntityTypeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11322,7 +11322,7 @@ impl<'a> ProjectAgentEntityTypeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11631,7 +11631,7 @@ impl<'a> ProjectAgentEntityTypePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11936,7 +11936,7 @@ impl<'a> ProjectAgentEnvironmentIntentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12221,7 +12221,7 @@ impl<'a> ProjectAgentEnvironmentUserSessionContextCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12477,7 +12477,7 @@ impl<'a> ProjectAgentEnvironmentUserSessionContextDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12733,7 +12733,7 @@ impl<'a> ProjectAgentEnvironmentUserSessionContextGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13014,7 +13014,7 @@ impl<'a> ProjectAgentEnvironmentUserSessionContextListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13312,7 +13312,7 @@ impl<'a> ProjectAgentEnvironmentUserSessionContextPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13597,7 +13597,7 @@ impl<'a> ProjectAgentEnvironmentUserSessionEntityTypeCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13853,7 +13853,7 @@ impl<'a> ProjectAgentEnvironmentUserSessionEntityTypeDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14109,7 +14109,7 @@ impl<'a> ProjectAgentEnvironmentUserSessionEntityTypeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14390,7 +14390,7 @@ impl<'a> ProjectAgentEnvironmentUserSessionEntityTypeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14687,7 +14687,7 @@ impl<'a> ProjectAgentEnvironmentUserSessionEntityTypePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14944,7 +14944,7 @@ impl<'a> ProjectAgentEnvironmentUserSessionDeleteContextCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15230,7 +15230,7 @@ impl<'a> ProjectAgentEnvironmentUserSessionDetectIntentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15527,7 +15527,7 @@ impl<'a> ProjectAgentEnvironmentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15783,7 +15783,7 @@ impl<'a> ProjectAgentEnvironmentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16039,7 +16039,7 @@ impl<'a> ProjectAgentEnvironmentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16319,7 +16319,7 @@ impl<'a> ProjectAgentEnvironmentGetHistoryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16600,7 +16600,7 @@ impl<'a> ProjectAgentEnvironmentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16910,7 +16910,7 @@ impl<'a> ProjectAgentEnvironmentPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17196,7 +17196,7 @@ impl<'a> ProjectAgentIntentBatchDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17482,7 +17482,7 @@ impl<'a> ProjectAgentIntentBatchUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17791,7 +17791,7 @@ impl<'a> ProjectAgentIntentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18047,7 +18047,7 @@ impl<'a> ProjectAgentIntentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18327,7 +18327,7 @@ impl<'a> ProjectAgentIntentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18632,7 +18632,7 @@ impl<'a> ProjectAgentIntentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18954,7 +18954,7 @@ impl<'a> ProjectAgentIntentPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19239,7 +19239,7 @@ impl<'a> ProjectAgentKnowledgeBaseDocumentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19495,7 +19495,7 @@ impl<'a> ProjectAgentKnowledgeBaseDocumentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19751,7 +19751,7 @@ impl<'a> ProjectAgentKnowledgeBaseDocumentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20044,7 +20044,7 @@ impl<'a> ProjectAgentKnowledgeBaseDocumentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20342,7 +20342,7 @@ impl<'a> ProjectAgentKnowledgeBaseDocumentPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20628,7 +20628,7 @@ impl<'a> ProjectAgentKnowledgeBaseDocumentReloadCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20913,7 +20913,7 @@ impl<'a> ProjectAgentKnowledgeBaseCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21181,7 +21181,7 @@ impl<'a> ProjectAgentKnowledgeBaseDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21437,7 +21437,7 @@ impl<'a> ProjectAgentKnowledgeBaseGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21730,7 +21730,7 @@ impl<'a> ProjectAgentKnowledgeBaseListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22028,7 +22028,7 @@ impl<'a> ProjectAgentKnowledgeBasePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22313,7 +22313,7 @@ impl<'a> ProjectAgentSessionContextCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22569,7 +22569,7 @@ impl<'a> ProjectAgentSessionContextDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22825,7 +22825,7 @@ impl<'a> ProjectAgentSessionContextGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23106,7 +23106,7 @@ impl<'a> ProjectAgentSessionContextListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23404,7 +23404,7 @@ impl<'a> ProjectAgentSessionContextPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23689,7 +23689,7 @@ impl<'a> ProjectAgentSessionEntityTypeCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23945,7 +23945,7 @@ impl<'a> ProjectAgentSessionEntityTypeDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24201,7 +24201,7 @@ impl<'a> ProjectAgentSessionEntityTypeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24482,7 +24482,7 @@ impl<'a> ProjectAgentSessionEntityTypeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24779,7 +24779,7 @@ impl<'a> ProjectAgentSessionEntityTypePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25036,7 +25036,7 @@ impl<'a> ProjectAgentSessionDeleteContextCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25322,7 +25322,7 @@ impl<'a> ProjectAgentSessionDetectIntentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25607,7 +25607,7 @@ impl<'a> ProjectAgentVersionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25863,7 +25863,7 @@ impl<'a> ProjectAgentVersionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26119,7 +26119,7 @@ impl<'a> ProjectAgentVersionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26400,7 +26400,7 @@ impl<'a> ProjectAgentVersionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26698,7 +26698,7 @@ impl<'a> ProjectAgentVersionPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26983,7 +26983,7 @@ impl<'a> ProjectAgentExportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27239,7 +27239,7 @@ impl<'a> ProjectAgentGetFulfillmentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27508,7 +27508,7 @@ impl<'a> ProjectAgentGetValidationResultCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27794,7 +27794,7 @@ impl<'a> ProjectAgentImportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -28079,7 +28079,7 @@ impl<'a> ProjectAgentRestoreCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28360,7 +28360,7 @@ impl<'a> ProjectAgentSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -28646,7 +28646,7 @@ impl<'a> ProjectAgentTrainCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -28943,7 +28943,7 @@ impl<'a> ProjectAgentUpdateFulfillmentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29236,7 +29236,7 @@ impl<'a> ProjectAnswerRecordListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29533,7 +29533,7 @@ impl<'a> ProjectAnswerRecordPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29790,7 +29790,7 @@ impl<'a> ProjectConversationDatasetGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -30075,7 +30075,7 @@ impl<'a> ProjectConversationDatasetImportConversationDataCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30355,7 +30355,7 @@ impl<'a> ProjectConversationDatasetListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30611,7 +30611,7 @@ impl<'a> ProjectConversationModelEvaluationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30892,7 +30892,7 @@ impl<'a> ProjectConversationModelEvaluationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -31177,7 +31177,7 @@ impl<'a> ProjectConversationModelCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31434,7 +31434,7 @@ impl<'a> ProjectConversationModelDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -31719,7 +31719,7 @@ impl<'a> ProjectConversationModelDeployCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31975,7 +31975,7 @@ impl<'a> ProjectConversationModelGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32256,7 +32256,7 @@ impl<'a> ProjectConversationModelListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -32542,7 +32542,7 @@ impl<'a> ProjectConversationModelUndeployCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -32828,7 +32828,7 @@ impl<'a> ProjectConversationProfileClearSuggestionFeatureConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -33113,7 +33113,7 @@ impl<'a> ProjectConversationProfileCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33369,7 +33369,7 @@ impl<'a> ProjectConversationProfileDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33625,7 +33625,7 @@ impl<'a> ProjectConversationProfileGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33906,7 +33906,7 @@ impl<'a> ProjectConversationProfileListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -34204,7 +34204,7 @@ impl<'a> ProjectConversationProfilePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -34489,7 +34489,7 @@ impl<'a> ProjectConversationProfileSetSuggestionFeatureConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34782,7 +34782,7 @@ impl<'a> ProjectConversationMessageListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35068,7 +35068,7 @@ impl<'a> ProjectConversationParticipantSuggestionSuggestArticleCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35354,7 +35354,7 @@ impl<'a> ProjectConversationParticipantSuggestionSuggestFaqAnswerCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35640,7 +35640,7 @@ impl<'a> ProjectConversationParticipantSuggestionSuggestSmartReplyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35926,7 +35926,7 @@ impl<'a> ProjectConversationParticipantAnalyzeContentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -36211,7 +36211,7 @@ impl<'a> ProjectConversationParticipantCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -36467,7 +36467,7 @@ impl<'a> ProjectConversationParticipantGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -36748,7 +36748,7 @@ impl<'a> ProjectConversationParticipantListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -37046,7 +37046,7 @@ impl<'a> ProjectConversationParticipantPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -37332,7 +37332,7 @@ impl<'a> ProjectConversationCompleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -37629,7 +37629,7 @@ impl<'a> ProjectConversationCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -37885,7 +37885,7 @@ impl<'a> ProjectConversationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -38178,7 +38178,7 @@ impl<'a> ProjectConversationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -38463,7 +38463,7 @@ impl<'a> ProjectKnowledgeBaseDocumentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -38720,7 +38720,7 @@ impl<'a> ProjectKnowledgeBaseDocumentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -39005,7 +39005,7 @@ impl<'a> ProjectKnowledgeBaseDocumentExportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -39262,7 +39262,7 @@ impl<'a> ProjectKnowledgeBaseDocumentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -39547,7 +39547,7 @@ impl<'a> ProjectKnowledgeBaseDocumentImportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -39840,7 +39840,7 @@ impl<'a> ProjectKnowledgeBaseDocumentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -40138,7 +40138,7 @@ impl<'a> ProjectKnowledgeBaseDocumentPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -40424,7 +40424,7 @@ impl<'a> ProjectKnowledgeBaseDocumentReloadCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -40709,7 +40709,7 @@ impl<'a> ProjectKnowledgeBaseCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -40977,7 +40977,7 @@ impl<'a> ProjectKnowledgeBaseDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -41233,7 +41233,7 @@ impl<'a> ProjectKnowledgeBaseGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -41526,7 +41526,7 @@ impl<'a> ProjectKnowledgeBaseListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -41824,7 +41824,7 @@ impl<'a> ProjectKnowledgeBasePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -42110,7 +42110,7 @@ impl<'a> ProjectLocationAgentEntityTypeEntityBatchCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -42396,7 +42396,7 @@ impl<'a> ProjectLocationAgentEntityTypeEntityBatchDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -42682,7 +42682,7 @@ impl<'a> ProjectLocationAgentEntityTypeEntityBatchUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -42968,7 +42968,7 @@ impl<'a> ProjectLocationAgentEntityTypeBatchDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -43254,7 +43254,7 @@ impl<'a> ProjectLocationAgentEntityTypeBatchUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -43551,7 +43551,7 @@ impl<'a> ProjectLocationAgentEntityTypeCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -43807,7 +43807,7 @@ impl<'a> ProjectLocationAgentEntityTypeDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44075,7 +44075,7 @@ impl<'a> ProjectLocationAgentEntityTypeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44368,7 +44368,7 @@ impl<'a> ProjectLocationAgentEntityTypeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -44677,7 +44677,7 @@ impl<'a> ProjectLocationAgentEntityTypePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44982,7 +44982,7 @@ impl<'a> ProjectLocationAgentEnvironmentIntentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -45267,7 +45267,7 @@ impl<'a> ProjectLocationAgentEnvironmentUserSessionContextCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -45523,7 +45523,7 @@ impl<'a> ProjectLocationAgentEnvironmentUserSessionContextDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -45779,7 +45779,7 @@ impl<'a> ProjectLocationAgentEnvironmentUserSessionContextGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46060,7 +46060,7 @@ impl<'a> ProjectLocationAgentEnvironmentUserSessionContextListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -46358,7 +46358,7 @@ impl<'a> ProjectLocationAgentEnvironmentUserSessionContextPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -46643,7 +46643,7 @@ impl<'a> ProjectLocationAgentEnvironmentUserSessionEntityTypeCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46899,7 +46899,7 @@ impl<'a> ProjectLocationAgentEnvironmentUserSessionEntityTypeDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47155,7 +47155,7 @@ impl<'a> ProjectLocationAgentEnvironmentUserSessionEntityTypeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47436,7 +47436,7 @@ impl<'a> ProjectLocationAgentEnvironmentUserSessionEntityTypeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -47733,7 +47733,7 @@ impl<'a> ProjectLocationAgentEnvironmentUserSessionEntityTypePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47990,7 +47990,7 @@ impl<'a> ProjectLocationAgentEnvironmentUserSessionDeleteContextCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -48276,7 +48276,7 @@ impl<'a> ProjectLocationAgentEnvironmentUserSessionDetectIntentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -48573,7 +48573,7 @@ impl<'a> ProjectLocationAgentEnvironmentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48829,7 +48829,7 @@ impl<'a> ProjectLocationAgentEnvironmentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49085,7 +49085,7 @@ impl<'a> ProjectLocationAgentEnvironmentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49365,7 +49365,7 @@ impl<'a> ProjectLocationAgentEnvironmentGetHistoryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49646,7 +49646,7 @@ impl<'a> ProjectLocationAgentEnvironmentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -49956,7 +49956,7 @@ impl<'a> ProjectLocationAgentEnvironmentPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -50242,7 +50242,7 @@ impl<'a> ProjectLocationAgentIntentBatchDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -50528,7 +50528,7 @@ impl<'a> ProjectLocationAgentIntentBatchUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -50837,7 +50837,7 @@ impl<'a> ProjectLocationAgentIntentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -51093,7 +51093,7 @@ impl<'a> ProjectLocationAgentIntentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -51373,7 +51373,7 @@ impl<'a> ProjectLocationAgentIntentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -51678,7 +51678,7 @@ impl<'a> ProjectLocationAgentIntentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -52000,7 +52000,7 @@ impl<'a> ProjectLocationAgentIntentPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -52285,7 +52285,7 @@ impl<'a> ProjectLocationAgentSessionContextCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -52541,7 +52541,7 @@ impl<'a> ProjectLocationAgentSessionContextDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -52797,7 +52797,7 @@ impl<'a> ProjectLocationAgentSessionContextGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -53078,7 +53078,7 @@ impl<'a> ProjectLocationAgentSessionContextListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -53376,7 +53376,7 @@ impl<'a> ProjectLocationAgentSessionContextPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -53661,7 +53661,7 @@ impl<'a> ProjectLocationAgentSessionEntityTypeCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -53917,7 +53917,7 @@ impl<'a> ProjectLocationAgentSessionEntityTypeDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -54173,7 +54173,7 @@ impl<'a> ProjectLocationAgentSessionEntityTypeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -54454,7 +54454,7 @@ impl<'a> ProjectLocationAgentSessionEntityTypeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -54751,7 +54751,7 @@ impl<'a> ProjectLocationAgentSessionEntityTypePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -55008,7 +55008,7 @@ impl<'a> ProjectLocationAgentSessionDeleteContextCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -55294,7 +55294,7 @@ impl<'a> ProjectLocationAgentSessionDetectIntentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -55579,7 +55579,7 @@ impl<'a> ProjectLocationAgentVersionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -55835,7 +55835,7 @@ impl<'a> ProjectLocationAgentVersionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -56091,7 +56091,7 @@ impl<'a> ProjectLocationAgentVersionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -56372,7 +56372,7 @@ impl<'a> ProjectLocationAgentVersionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -56670,7 +56670,7 @@ impl<'a> ProjectLocationAgentVersionPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -56955,7 +56955,7 @@ impl<'a> ProjectLocationAgentExportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -57211,7 +57211,7 @@ impl<'a> ProjectLocationAgentGetFulfillmentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -57480,7 +57480,7 @@ impl<'a> ProjectLocationAgentGetValidationResultCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -57766,7 +57766,7 @@ impl<'a> ProjectLocationAgentImportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -58051,7 +58051,7 @@ impl<'a> ProjectLocationAgentRestoreCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58332,7 +58332,7 @@ impl<'a> ProjectLocationAgentSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -58618,7 +58618,7 @@ impl<'a> ProjectLocationAgentTrainCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -58915,7 +58915,7 @@ impl<'a> ProjectLocationAgentUpdateFulfillmentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -59208,7 +59208,7 @@ impl<'a> ProjectLocationAnswerRecordListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -59506,7 +59506,7 @@ impl<'a> ProjectLocationAnswerRecordPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -59791,7 +59791,7 @@ impl<'a> ProjectLocationConversationDatasetCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -60047,7 +60047,7 @@ impl<'a> ProjectLocationConversationDatasetDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -60304,7 +60304,7 @@ impl<'a> ProjectLocationConversationDatasetGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -60589,7 +60589,7 @@ impl<'a> ProjectLocationConversationDatasetImportConversationDataCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -60870,7 +60870,7 @@ impl<'a> ProjectLocationConversationDatasetListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -61155,7 +61155,7 @@ impl<'a> ProjectLocationConversationModelEvaluationCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -61411,7 +61411,7 @@ impl<'a> ProjectLocationConversationModelEvaluationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -61692,7 +61692,7 @@ impl<'a> ProjectLocationConversationModelEvaluationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -61977,7 +61977,7 @@ impl<'a> ProjectLocationConversationModelCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -62234,7 +62234,7 @@ impl<'a> ProjectLocationConversationModelDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -62519,7 +62519,7 @@ impl<'a> ProjectLocationConversationModelDeployCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -62775,7 +62775,7 @@ impl<'a> ProjectLocationConversationModelGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63056,7 +63056,7 @@ impl<'a> ProjectLocationConversationModelListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -63342,7 +63342,7 @@ impl<'a> ProjectLocationConversationModelUndeployCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -63628,7 +63628,7 @@ impl<'a> ProjectLocationConversationProfileClearSuggestionFeatureConfigCall<'a> /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -63913,7 +63913,7 @@ impl<'a> ProjectLocationConversationProfileCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -64169,7 +64169,7 @@ impl<'a> ProjectLocationConversationProfileDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -64425,7 +64425,7 @@ impl<'a> ProjectLocationConversationProfileGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -64706,7 +64706,7 @@ impl<'a> ProjectLocationConversationProfileListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -65004,7 +65004,7 @@ impl<'a> ProjectLocationConversationProfilePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -65289,7 +65289,7 @@ impl<'a> ProjectLocationConversationProfileSetSuggestionFeatureConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -65582,7 +65582,7 @@ impl<'a> ProjectLocationConversationMessageListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -65868,7 +65868,7 @@ impl<'a> ProjectLocationConversationParticipantSuggestionSuggestArticleCall<'a> /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -66154,7 +66154,7 @@ impl<'a> ProjectLocationConversationParticipantSuggestionSuggestFaqAnswerCall<'a /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -66440,7 +66440,7 @@ impl<'a> ProjectLocationConversationParticipantSuggestionSuggestSmartReplyCall<' /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -66726,7 +66726,7 @@ impl<'a> ProjectLocationConversationParticipantAnalyzeContentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -67011,7 +67011,7 @@ impl<'a> ProjectLocationConversationParticipantCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -67267,7 +67267,7 @@ impl<'a> ProjectLocationConversationParticipantGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -67548,7 +67548,7 @@ impl<'a> ProjectLocationConversationParticipantListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -67846,7 +67846,7 @@ impl<'a> ProjectLocationConversationParticipantPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -68132,7 +68132,7 @@ impl<'a> ProjectLocationConversationCompleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -68429,7 +68429,7 @@ impl<'a> ProjectLocationConversationCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -68685,7 +68685,7 @@ impl<'a> ProjectLocationConversationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -68978,7 +68978,7 @@ impl<'a> ProjectLocationConversationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -69263,7 +69263,7 @@ impl<'a> ProjectLocationKnowledgeBaseDocumentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -69520,7 +69520,7 @@ impl<'a> ProjectLocationKnowledgeBaseDocumentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -69805,7 +69805,7 @@ impl<'a> ProjectLocationKnowledgeBaseDocumentExportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -70062,7 +70062,7 @@ impl<'a> ProjectLocationKnowledgeBaseDocumentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -70347,7 +70347,7 @@ impl<'a> ProjectLocationKnowledgeBaseDocumentImportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -70640,7 +70640,7 @@ impl<'a> ProjectLocationKnowledgeBaseDocumentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -70938,7 +70938,7 @@ impl<'a> ProjectLocationKnowledgeBaseDocumentPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -71224,7 +71224,7 @@ impl<'a> ProjectLocationKnowledgeBaseDocumentReloadCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -71509,7 +71509,7 @@ impl<'a> ProjectLocationKnowledgeBaseCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -71777,7 +71777,7 @@ impl<'a> ProjectLocationKnowledgeBaseDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -72033,7 +72033,7 @@ impl<'a> ProjectLocationKnowledgeBaseGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -72326,7 +72326,7 @@ impl<'a> ProjectLocationKnowledgeBaseListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -72623,7 +72623,7 @@ impl<'a> ProjectLocationKnowledgeBasePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -72879,7 +72879,7 @@ impl<'a> ProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -73135,7 +73135,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -73427,7 +73427,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -73683,7 +73683,7 @@ impl<'a> ProjectLocationDeleteAgentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -73939,7 +73939,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -74195,7 +74195,7 @@ impl<'a> ProjectLocationGetAgentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -74488,7 +74488,7 @@ impl<'a> ProjectLocationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -74785,7 +74785,7 @@ impl<'a> ProjectLocationSetAgentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -75041,7 +75041,7 @@ impl<'a> ProjectOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -75297,7 +75297,7 @@ impl<'a> ProjectOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -75589,7 +75589,7 @@ impl<'a> ProjectOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -75845,7 +75845,7 @@ impl<'a> ProjectDeleteAgentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -76102,7 +76102,7 @@ impl<'a> ProjectGetAgentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/dialogflow2/src/lib.rs b/gen/dialogflow2/src/lib.rs index cdeab7116f..edf6291d8e 100644 --- a/gen/dialogflow2/src/lib.rs +++ b/gen/dialogflow2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Dialogflow* crate version *3.0.0+20220228*, where *20220228* is the exact revision of the *dialogflow:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Dialogflow* crate version *3.1.0+20220228*, where *20220228* is the exact revision of the *dialogflow:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Dialogflow* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/dialogflow/). @@ -148,7 +148,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/dialogflow2_beta1-cli/Cargo.toml b/gen/dialogflow2_beta1-cli/Cargo.toml index 54fc5a2256..bdb61ad703 100644 --- a/gen/dialogflow2_beta1-cli/Cargo.toml +++ b/gen/dialogflow2_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dialogflow2_beta1-cli" -version = "3.0.0+20220228" +version = "3.1.0+20220228" authors = ["Sebastian Thiel "] description = "A complete library to interact with Dialogflow (protocol v2beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dialogflow2_beta1-cli" @@ -20,12 +20,12 @@ name = "dialogflow2-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-dialogflow2_beta1] path = "../dialogflow2_beta1" -version = "3.0.0+20220228" +version = "3.1.0+20220228" diff --git a/gen/dialogflow2_beta1-cli/README.md b/gen/dialogflow2_beta1-cli/README.md index 74287c9cec..7a5b8f8be7 100644 --- a/gen/dialogflow2_beta1-cli/README.md +++ b/gen/dialogflow2_beta1-cli/README.md @@ -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 *Dialogflow* API at revision *20220228*. The CLI is at version *3.0.0*. +This documentation was generated from the *Dialogflow* API at revision *20220228*. The CLI is at version *3.1.0*. ```bash dialogflow2-beta1 [options] diff --git a/gen/dialogflow2_beta1-cli/mkdocs.yml b/gen/dialogflow2_beta1-cli/mkdocs.yml index c46dda1230..3d92e1ae0f 100644 --- a/gen/dialogflow2_beta1-cli/mkdocs.yml +++ b/gen/dialogflow2_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Dialogflow v3.0.0+20220228 +site_name: Dialogflow v3.1.0+20220228 site_url: http://byron.github.io/google-apis-rs/google-dialogflow2_beta1-cli site_description: A complete library to interact with Dialogflow (protocol v2beta1) diff --git a/gen/dialogflow2_beta1-cli/src/main.rs b/gen/dialogflow2_beta1-cli/src/main.rs index 09e955cc3d..5388eb2be3 100644 --- a/gen/dialogflow2_beta1-cli/src/main.rs +++ b/gen/dialogflow2_beta1-cli/src/main.rs @@ -17098,7 +17098,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/dialogflow2-beta1", 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::Dialogflow::new(client, auth), @@ -22650,7 +22656,7 @@ async fn main() { let mut app = App::new("dialogflow2-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20220228") + .version("3.1.0+20220228") .about("Builds conversational interfaces (for example, chatbots, and voice-powered apps and devices).") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_dialogflow2_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/dialogflow2_beta1/Cargo.toml b/gen/dialogflow2_beta1/Cargo.toml index 0a34c436fe..f8bb985a5e 100644 --- a/gen/dialogflow2_beta1/Cargo.toml +++ b/gen/dialogflow2_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dialogflow2_beta1" -version = "3.0.0+20220228" +version = "3.1.0+20220228" authors = ["Sebastian Thiel "] description = "A complete library to interact with Dialogflow (protocol v2beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dialogflow2_beta1" homepage = "https://cloud.google.com/dialogflow/" -documentation = "https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228" +documentation = "https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228" license = "MIT" keywords = ["dialogflow", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/dialogflow2_beta1/README.md b/gen/dialogflow2_beta1/README.md index 8b8526b897..83a2e761cc 100644 --- a/gen/dialogflow2_beta1/README.md +++ b/gen/dialogflow2_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-dialogflow2_beta1` library allows access to all features of the *Google Dialogflow* service. -This documentation was generated from *Dialogflow* crate version *3.0.0+20220228*, where *20220228* is the exact revision of the *dialogflow:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Dialogflow* crate version *3.1.0+20220228*, where *20220228* is the exact revision of the *dialogflow:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Dialogflow* *v2_beta1* API can be found at the [official documentation site](https://cloud.google.com/dialogflow/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/Dialogflow) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/Dialogflow) ... * projects - * [*agent entity types batch delete*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEntityTypeBatchDeleteCall), [*agent entity types batch update*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEntityTypeBatchUpdateCall), [*agent entity types create*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEntityTypeCreateCall), [*agent entity types delete*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEntityTypeDeleteCall), [*agent entity types entities batch create*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEntityTypeEntityBatchCreateCall), [*agent entity types entities batch delete*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEntityTypeEntityBatchDeleteCall), [*agent entity types entities batch update*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEntityTypeEntityBatchUpdateCall), [*agent entity types get*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEntityTypeGetCall), [*agent entity types list*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEntityTypeListCall), [*agent entity types patch*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEntityTypePatchCall), [*agent environments create*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEnvironmentCreateCall), [*agent environments delete*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEnvironmentDeleteCall), [*agent environments get*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEnvironmentGetCall), [*agent environments get history*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEnvironmentGetHistoryCall), [*agent environments intents list*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEnvironmentIntentListCall), [*agent environments list*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEnvironmentListCall), [*agent environments patch*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEnvironmentPatchCall), [*agent environments users sessions contexts create*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionContextCreateCall), [*agent environments users sessions contexts delete*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionContextDeleteCall), [*agent environments users sessions contexts get*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionContextGetCall), [*agent environments users sessions contexts list*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionContextListCall), [*agent environments users sessions contexts patch*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionContextPatchCall), [*agent environments users sessions delete contexts*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionDeleteContextCall), [*agent environments users sessions detect intent*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionDetectIntentCall), [*agent environments users sessions entity types create*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionEntityTypeCreateCall), [*agent environments users sessions entity types delete*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionEntityTypeDeleteCall), [*agent environments users sessions entity types get*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionEntityTypeGetCall), [*agent environments users sessions entity types list*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionEntityTypeListCall), [*agent environments users sessions entity types patch*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionEntityTypePatchCall), [*agent export*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentExportCall), [*agent get fulfillment*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentGetFulfillmentCall), [*agent get validation result*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentGetValidationResultCall), [*agent import*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentImportCall), [*agent intents batch delete*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentIntentBatchDeleteCall), [*agent intents batch update*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentIntentBatchUpdateCall), [*agent intents create*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentIntentCreateCall), [*agent intents delete*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentIntentDeleteCall), [*agent intents get*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentIntentGetCall), [*agent intents list*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentIntentListCall), [*agent intents patch*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentIntentPatchCall), [*agent knowledge bases create*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseCreateCall), [*agent knowledge bases delete*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseDeleteCall), [*agent knowledge bases documents create*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseDocumentCreateCall), [*agent knowledge bases documents delete*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseDocumentDeleteCall), [*agent knowledge bases documents get*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseDocumentGetCall), [*agent knowledge bases documents list*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseDocumentListCall), [*agent knowledge bases documents patch*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseDocumentPatchCall), [*agent knowledge bases documents reload*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseDocumentReloadCall), [*agent knowledge bases get*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseGetCall), [*agent knowledge bases list*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseListCall), [*agent knowledge bases patch*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBasePatchCall), [*agent restore*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentRestoreCall), [*agent search*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentSearchCall), [*agent sessions contexts create*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentSessionContextCreateCall), [*agent sessions contexts delete*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentSessionContextDeleteCall), [*agent sessions contexts get*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentSessionContextGetCall), [*agent sessions contexts list*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentSessionContextListCall), [*agent sessions contexts patch*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentSessionContextPatchCall), [*agent sessions delete contexts*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentSessionDeleteContextCall), [*agent sessions detect intent*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentSessionDetectIntentCall), [*agent sessions entity types create*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentSessionEntityTypeCreateCall), [*agent sessions entity types delete*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentSessionEntityTypeDeleteCall), [*agent sessions entity types get*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentSessionEntityTypeGetCall), [*agent sessions entity types list*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentSessionEntityTypeListCall), [*agent sessions entity types patch*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentSessionEntityTypePatchCall), [*agent train*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentTrainCall), [*agent update fulfillment*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentUpdateFulfillmentCall), [*agent versions create*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentVersionCreateCall), [*agent versions delete*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentVersionDeleteCall), [*agent versions get*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentVersionGetCall), [*agent versions list*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentVersionListCall), [*agent versions patch*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAgentVersionPatchCall), [*answer records get*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAnswerRecordGetCall), [*answer records list*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAnswerRecordListCall), [*answer records patch*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectAnswerRecordPatchCall), [*conversation profiles clear suggestion feature config*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectConversationProfileClearSuggestionFeatureConfigCall), [*conversation profiles create*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectConversationProfileCreateCall), [*conversation profiles delete*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectConversationProfileDeleteCall), [*conversation profiles get*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectConversationProfileGetCall), [*conversation profiles list*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectConversationProfileListCall), [*conversation profiles patch*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectConversationProfilePatchCall), [*conversation profiles set suggestion feature config*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectConversationProfileSetSuggestionFeatureConfigCall), [*conversations complete*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectConversationCompleteCall), [*conversations create*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectConversationCreateCall), [*conversations get*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectConversationGetCall), [*conversations list*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectConversationListCall), [*conversations messages batch create*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectConversationMessageBatchCreateCall), [*conversations messages list*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectConversationMessageListCall), [*conversations participants analyze content*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectConversationParticipantAnalyzeContentCall), [*conversations participants create*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectConversationParticipantCreateCall), [*conversations participants get*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectConversationParticipantGetCall), [*conversations participants list*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectConversationParticipantListCall), [*conversations participants patch*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectConversationParticipantPatchCall), [*conversations participants suggestions compile*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectConversationParticipantSuggestionCompileCall), [*conversations participants suggestions list*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectConversationParticipantSuggestionListCall), [*conversations participants suggestions suggest articles*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectConversationParticipantSuggestionSuggestArticleCall), [*conversations participants suggestions suggest faq answers*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectConversationParticipantSuggestionSuggestFaqAnswerCall), [*conversations participants suggestions suggest smart replies*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectConversationParticipantSuggestionSuggestSmartReplyCall), [*delete agent*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectDeleteAgentCall), [*get agent*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectGetAgentCall), [*knowledge bases create*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectKnowledgeBaseCreateCall), [*knowledge bases delete*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectKnowledgeBaseDeleteCall), [*knowledge bases documents create*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectKnowledgeBaseDocumentCreateCall), [*knowledge bases documents delete*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectKnowledgeBaseDocumentDeleteCall), [*knowledge bases documents get*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectKnowledgeBaseDocumentGetCall), [*knowledge bases documents import*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectKnowledgeBaseDocumentImportCall), [*knowledge bases documents list*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectKnowledgeBaseDocumentListCall), [*knowledge bases documents patch*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectKnowledgeBaseDocumentPatchCall), [*knowledge bases documents reload*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectKnowledgeBaseDocumentReloadCall), [*knowledge bases get*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectKnowledgeBaseGetCall), [*knowledge bases list*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectKnowledgeBaseListCall), [*knowledge bases patch*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectKnowledgeBasePatchCall), [*locations agent entity types batch delete*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeBatchDeleteCall), [*locations agent entity types batch update*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeBatchUpdateCall), [*locations agent entity types create*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeCreateCall), [*locations agent entity types delete*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeDeleteCall), [*locations agent entity types entities batch create*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeEntityBatchCreateCall), [*locations agent entity types entities batch delete*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeEntityBatchDeleteCall), [*locations agent entity types entities batch update*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeEntityBatchUpdateCall), [*locations agent entity types get*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeGetCall), [*locations agent entity types list*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeListCall), [*locations agent entity types patch*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypePatchCall), [*locations agent environments create*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentCreateCall), [*locations agent environments delete*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentDeleteCall), [*locations agent environments get*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentGetCall), [*locations agent environments get history*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentGetHistoryCall), [*locations agent environments intents list*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentIntentListCall), [*locations agent environments list*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentListCall), [*locations agent environments patch*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentPatchCall), [*locations agent environments users sessions contexts create*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionContextCreateCall), [*locations agent environments users sessions contexts delete*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionContextDeleteCall), [*locations agent environments users sessions contexts get*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionContextGetCall), [*locations agent environments users sessions contexts list*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionContextListCall), [*locations agent environments users sessions contexts patch*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionContextPatchCall), [*locations agent environments users sessions delete contexts*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionDeleteContextCall), [*locations agent environments users sessions detect intent*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionDetectIntentCall), [*locations agent environments users sessions entity types create*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionEntityTypeCreateCall), [*locations agent environments users sessions entity types delete*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionEntityTypeDeleteCall), [*locations agent environments users sessions entity types get*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionEntityTypeGetCall), [*locations agent environments users sessions entity types list*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionEntityTypeListCall), [*locations agent environments users sessions entity types patch*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionEntityTypePatchCall), [*locations agent export*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentExportCall), [*locations agent get fulfillment*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentGetFulfillmentCall), [*locations agent get validation result*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentGetValidationResultCall), [*locations agent import*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentImportCall), [*locations agent intents batch delete*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentIntentBatchDeleteCall), [*locations agent intents batch update*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentIntentBatchUpdateCall), [*locations agent intents create*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentIntentCreateCall), [*locations agent intents delete*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentIntentDeleteCall), [*locations agent intents get*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentIntentGetCall), [*locations agent intents list*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentIntentListCall), [*locations agent intents patch*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentIntentPatchCall), [*locations agent restore*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentRestoreCall), [*locations agent search*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentSearchCall), [*locations agent sessions contexts create*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentSessionContextCreateCall), [*locations agent sessions contexts delete*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentSessionContextDeleteCall), [*locations agent sessions contexts get*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentSessionContextGetCall), [*locations agent sessions contexts list*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentSessionContextListCall), [*locations agent sessions contexts patch*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentSessionContextPatchCall), [*locations agent sessions delete contexts*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentSessionDeleteContextCall), [*locations agent sessions detect intent*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentSessionDetectIntentCall), [*locations agent sessions entity types create*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentSessionEntityTypeCreateCall), [*locations agent sessions entity types delete*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentSessionEntityTypeDeleteCall), [*locations agent sessions entity types get*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentSessionEntityTypeGetCall), [*locations agent sessions entity types list*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentSessionEntityTypeListCall), [*locations agent sessions entity types patch*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentSessionEntityTypePatchCall), [*locations agent train*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentTrainCall), [*locations agent update fulfillment*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentUpdateFulfillmentCall), [*locations agent versions create*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentVersionCreateCall), [*locations agent versions delete*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentVersionDeleteCall), [*locations agent versions get*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentVersionGetCall), [*locations agent versions list*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentVersionListCall), [*locations agent versions patch*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentVersionPatchCall), [*locations answer records get*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAnswerRecordGetCall), [*locations answer records list*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAnswerRecordListCall), [*locations answer records patch*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAnswerRecordPatchCall), [*locations conversation profiles clear suggestion feature config*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationConversationProfileClearSuggestionFeatureConfigCall), [*locations conversation profiles create*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationConversationProfileCreateCall), [*locations conversation profiles delete*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationConversationProfileDeleteCall), [*locations conversation profiles get*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationConversationProfileGetCall), [*locations conversation profiles list*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationConversationProfileListCall), [*locations conversation profiles patch*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationConversationProfilePatchCall), [*locations conversation profiles set suggestion feature config*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationConversationProfileSetSuggestionFeatureConfigCall), [*locations conversations complete*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationConversationCompleteCall), [*locations conversations create*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationConversationCreateCall), [*locations conversations get*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationConversationGetCall), [*locations conversations list*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationConversationListCall), [*locations conversations messages batch create*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationConversationMessageBatchCreateCall), [*locations conversations messages list*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationConversationMessageListCall), [*locations conversations participants analyze content*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationConversationParticipantAnalyzeContentCall), [*locations conversations participants create*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationConversationParticipantCreateCall), [*locations conversations participants get*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationConversationParticipantGetCall), [*locations conversations participants list*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationConversationParticipantListCall), [*locations conversations participants patch*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationConversationParticipantPatchCall), [*locations conversations participants suggestions suggest articles*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationConversationParticipantSuggestionSuggestArticleCall), [*locations conversations participants suggestions suggest faq answers*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationConversationParticipantSuggestionSuggestFaqAnswerCall), [*locations conversations participants suggestions suggest smart replies*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationConversationParticipantSuggestionSuggestSmartReplyCall), [*locations delete agent*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationDeleteAgentCall), [*locations get*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationGetCall), [*locations get agent*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationGetAgentCall), [*locations knowledge bases create*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseCreateCall), [*locations knowledge bases delete*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseDeleteCall), [*locations knowledge bases documents create*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseDocumentCreateCall), [*locations knowledge bases documents delete*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseDocumentDeleteCall), [*locations knowledge bases documents get*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseDocumentGetCall), [*locations knowledge bases documents import*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseDocumentImportCall), [*locations knowledge bases documents list*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseDocumentListCall), [*locations knowledge bases documents patch*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseDocumentPatchCall), [*locations knowledge bases documents reload*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseDocumentReloadCall), [*locations knowledge bases get*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseGetCall), [*locations knowledge bases list*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseListCall), [*locations knowledge bases patch*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBasePatchCall), [*locations list*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationOperationListCall), [*locations set agent*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectLocationSetAgentCall), [*operations cancel*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectOperationCancelCall), [*operations get*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectOperationGetCall), [*operations list*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectOperationListCall) and [*set agent*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/api::ProjectSetAgentCall) + * [*agent entity types batch delete*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEntityTypeBatchDeleteCall), [*agent entity types batch update*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEntityTypeBatchUpdateCall), [*agent entity types create*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEntityTypeCreateCall), [*agent entity types delete*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEntityTypeDeleteCall), [*agent entity types entities batch create*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEntityTypeEntityBatchCreateCall), [*agent entity types entities batch delete*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEntityTypeEntityBatchDeleteCall), [*agent entity types entities batch update*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEntityTypeEntityBatchUpdateCall), [*agent entity types get*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEntityTypeGetCall), [*agent entity types list*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEntityTypeListCall), [*agent entity types patch*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEntityTypePatchCall), [*agent environments create*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEnvironmentCreateCall), [*agent environments delete*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEnvironmentDeleteCall), [*agent environments get*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEnvironmentGetCall), [*agent environments get history*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEnvironmentGetHistoryCall), [*agent environments intents list*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEnvironmentIntentListCall), [*agent environments list*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEnvironmentListCall), [*agent environments patch*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEnvironmentPatchCall), [*agent environments users sessions contexts create*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionContextCreateCall), [*agent environments users sessions contexts delete*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionContextDeleteCall), [*agent environments users sessions contexts get*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionContextGetCall), [*agent environments users sessions contexts list*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionContextListCall), [*agent environments users sessions contexts patch*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionContextPatchCall), [*agent environments users sessions delete contexts*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionDeleteContextCall), [*agent environments users sessions detect intent*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionDetectIntentCall), [*agent environments users sessions entity types create*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionEntityTypeCreateCall), [*agent environments users sessions entity types delete*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionEntityTypeDeleteCall), [*agent environments users sessions entity types get*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionEntityTypeGetCall), [*agent environments users sessions entity types list*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionEntityTypeListCall), [*agent environments users sessions entity types patch*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentEnvironmentUserSessionEntityTypePatchCall), [*agent export*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentExportCall), [*agent get fulfillment*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentGetFulfillmentCall), [*agent get validation result*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentGetValidationResultCall), [*agent import*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentImportCall), [*agent intents batch delete*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentIntentBatchDeleteCall), [*agent intents batch update*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentIntentBatchUpdateCall), [*agent intents create*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentIntentCreateCall), [*agent intents delete*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentIntentDeleteCall), [*agent intents get*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentIntentGetCall), [*agent intents list*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentIntentListCall), [*agent intents patch*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentIntentPatchCall), [*agent knowledge bases create*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseCreateCall), [*agent knowledge bases delete*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseDeleteCall), [*agent knowledge bases documents create*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseDocumentCreateCall), [*agent knowledge bases documents delete*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseDocumentDeleteCall), [*agent knowledge bases documents get*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseDocumentGetCall), [*agent knowledge bases documents list*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseDocumentListCall), [*agent knowledge bases documents patch*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseDocumentPatchCall), [*agent knowledge bases documents reload*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseDocumentReloadCall), [*agent knowledge bases get*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseGetCall), [*agent knowledge bases list*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBaseListCall), [*agent knowledge bases patch*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentKnowledgeBasePatchCall), [*agent restore*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentRestoreCall), [*agent search*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentSearchCall), [*agent sessions contexts create*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentSessionContextCreateCall), [*agent sessions contexts delete*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentSessionContextDeleteCall), [*agent sessions contexts get*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentSessionContextGetCall), [*agent sessions contexts list*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentSessionContextListCall), [*agent sessions contexts patch*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentSessionContextPatchCall), [*agent sessions delete contexts*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentSessionDeleteContextCall), [*agent sessions detect intent*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentSessionDetectIntentCall), [*agent sessions entity types create*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentSessionEntityTypeCreateCall), [*agent sessions entity types delete*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentSessionEntityTypeDeleteCall), [*agent sessions entity types get*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentSessionEntityTypeGetCall), [*agent sessions entity types list*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentSessionEntityTypeListCall), [*agent sessions entity types patch*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentSessionEntityTypePatchCall), [*agent train*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentTrainCall), [*agent update fulfillment*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentUpdateFulfillmentCall), [*agent versions create*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentVersionCreateCall), [*agent versions delete*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentVersionDeleteCall), [*agent versions get*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentVersionGetCall), [*agent versions list*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentVersionListCall), [*agent versions patch*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAgentVersionPatchCall), [*answer records get*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAnswerRecordGetCall), [*answer records list*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAnswerRecordListCall), [*answer records patch*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectAnswerRecordPatchCall), [*conversation profiles clear suggestion feature config*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectConversationProfileClearSuggestionFeatureConfigCall), [*conversation profiles create*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectConversationProfileCreateCall), [*conversation profiles delete*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectConversationProfileDeleteCall), [*conversation profiles get*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectConversationProfileGetCall), [*conversation profiles list*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectConversationProfileListCall), [*conversation profiles patch*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectConversationProfilePatchCall), [*conversation profiles set suggestion feature config*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectConversationProfileSetSuggestionFeatureConfigCall), [*conversations complete*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectConversationCompleteCall), [*conversations create*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectConversationCreateCall), [*conversations get*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectConversationGetCall), [*conversations list*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectConversationListCall), [*conversations messages batch create*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectConversationMessageBatchCreateCall), [*conversations messages list*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectConversationMessageListCall), [*conversations participants analyze content*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectConversationParticipantAnalyzeContentCall), [*conversations participants create*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectConversationParticipantCreateCall), [*conversations participants get*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectConversationParticipantGetCall), [*conversations participants list*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectConversationParticipantListCall), [*conversations participants patch*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectConversationParticipantPatchCall), [*conversations participants suggestions compile*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectConversationParticipantSuggestionCompileCall), [*conversations participants suggestions list*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectConversationParticipantSuggestionListCall), [*conversations participants suggestions suggest articles*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectConversationParticipantSuggestionSuggestArticleCall), [*conversations participants suggestions suggest faq answers*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectConversationParticipantSuggestionSuggestFaqAnswerCall), [*conversations participants suggestions suggest smart replies*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectConversationParticipantSuggestionSuggestSmartReplyCall), [*delete agent*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectDeleteAgentCall), [*get agent*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectGetAgentCall), [*knowledge bases create*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectKnowledgeBaseCreateCall), [*knowledge bases delete*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectKnowledgeBaseDeleteCall), [*knowledge bases documents create*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectKnowledgeBaseDocumentCreateCall), [*knowledge bases documents delete*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectKnowledgeBaseDocumentDeleteCall), [*knowledge bases documents get*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectKnowledgeBaseDocumentGetCall), [*knowledge bases documents import*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectKnowledgeBaseDocumentImportCall), [*knowledge bases documents list*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectKnowledgeBaseDocumentListCall), [*knowledge bases documents patch*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectKnowledgeBaseDocumentPatchCall), [*knowledge bases documents reload*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectKnowledgeBaseDocumentReloadCall), [*knowledge bases get*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectKnowledgeBaseGetCall), [*knowledge bases list*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectKnowledgeBaseListCall), [*knowledge bases patch*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectKnowledgeBasePatchCall), [*locations agent entity types batch delete*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeBatchDeleteCall), [*locations agent entity types batch update*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeBatchUpdateCall), [*locations agent entity types create*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeCreateCall), [*locations agent entity types delete*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeDeleteCall), [*locations agent entity types entities batch create*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeEntityBatchCreateCall), [*locations agent entity types entities batch delete*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeEntityBatchDeleteCall), [*locations agent entity types entities batch update*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeEntityBatchUpdateCall), [*locations agent entity types get*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeGetCall), [*locations agent entity types list*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypeListCall), [*locations agent entity types patch*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEntityTypePatchCall), [*locations agent environments create*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentCreateCall), [*locations agent environments delete*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentDeleteCall), [*locations agent environments get*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentGetCall), [*locations agent environments get history*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentGetHistoryCall), [*locations agent environments intents list*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentIntentListCall), [*locations agent environments list*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentListCall), [*locations agent environments patch*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentPatchCall), [*locations agent environments users sessions contexts create*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionContextCreateCall), [*locations agent environments users sessions contexts delete*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionContextDeleteCall), [*locations agent environments users sessions contexts get*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionContextGetCall), [*locations agent environments users sessions contexts list*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionContextListCall), [*locations agent environments users sessions contexts patch*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionContextPatchCall), [*locations agent environments users sessions delete contexts*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionDeleteContextCall), [*locations agent environments users sessions detect intent*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionDetectIntentCall), [*locations agent environments users sessions entity types create*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionEntityTypeCreateCall), [*locations agent environments users sessions entity types delete*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionEntityTypeDeleteCall), [*locations agent environments users sessions entity types get*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionEntityTypeGetCall), [*locations agent environments users sessions entity types list*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionEntityTypeListCall), [*locations agent environments users sessions entity types patch*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentEnvironmentUserSessionEntityTypePatchCall), [*locations agent export*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentExportCall), [*locations agent get fulfillment*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentGetFulfillmentCall), [*locations agent get validation result*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentGetValidationResultCall), [*locations agent import*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentImportCall), [*locations agent intents batch delete*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentIntentBatchDeleteCall), [*locations agent intents batch update*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentIntentBatchUpdateCall), [*locations agent intents create*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentIntentCreateCall), [*locations agent intents delete*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentIntentDeleteCall), [*locations agent intents get*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentIntentGetCall), [*locations agent intents list*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentIntentListCall), [*locations agent intents patch*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentIntentPatchCall), [*locations agent restore*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentRestoreCall), [*locations agent search*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentSearchCall), [*locations agent sessions contexts create*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentSessionContextCreateCall), [*locations agent sessions contexts delete*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentSessionContextDeleteCall), [*locations agent sessions contexts get*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentSessionContextGetCall), [*locations agent sessions contexts list*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentSessionContextListCall), [*locations agent sessions contexts patch*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentSessionContextPatchCall), [*locations agent sessions delete contexts*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentSessionDeleteContextCall), [*locations agent sessions detect intent*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentSessionDetectIntentCall), [*locations agent sessions entity types create*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentSessionEntityTypeCreateCall), [*locations agent sessions entity types delete*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentSessionEntityTypeDeleteCall), [*locations agent sessions entity types get*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentSessionEntityTypeGetCall), [*locations agent sessions entity types list*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentSessionEntityTypeListCall), [*locations agent sessions entity types patch*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentSessionEntityTypePatchCall), [*locations agent train*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentTrainCall), [*locations agent update fulfillment*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentUpdateFulfillmentCall), [*locations agent versions create*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentVersionCreateCall), [*locations agent versions delete*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentVersionDeleteCall), [*locations agent versions get*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentVersionGetCall), [*locations agent versions list*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentVersionListCall), [*locations agent versions patch*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAgentVersionPatchCall), [*locations answer records get*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAnswerRecordGetCall), [*locations answer records list*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAnswerRecordListCall), [*locations answer records patch*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationAnswerRecordPatchCall), [*locations conversation profiles clear suggestion feature config*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationConversationProfileClearSuggestionFeatureConfigCall), [*locations conversation profiles create*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationConversationProfileCreateCall), [*locations conversation profiles delete*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationConversationProfileDeleteCall), [*locations conversation profiles get*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationConversationProfileGetCall), [*locations conversation profiles list*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationConversationProfileListCall), [*locations conversation profiles patch*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationConversationProfilePatchCall), [*locations conversation profiles set suggestion feature config*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationConversationProfileSetSuggestionFeatureConfigCall), [*locations conversations complete*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationConversationCompleteCall), [*locations conversations create*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationConversationCreateCall), [*locations conversations get*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationConversationGetCall), [*locations conversations list*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationConversationListCall), [*locations conversations messages batch create*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationConversationMessageBatchCreateCall), [*locations conversations messages list*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationConversationMessageListCall), [*locations conversations participants analyze content*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationConversationParticipantAnalyzeContentCall), [*locations conversations participants create*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationConversationParticipantCreateCall), [*locations conversations participants get*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationConversationParticipantGetCall), [*locations conversations participants list*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationConversationParticipantListCall), [*locations conversations participants patch*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationConversationParticipantPatchCall), [*locations conversations participants suggestions suggest articles*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationConversationParticipantSuggestionSuggestArticleCall), [*locations conversations participants suggestions suggest faq answers*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationConversationParticipantSuggestionSuggestFaqAnswerCall), [*locations conversations participants suggestions suggest smart replies*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationConversationParticipantSuggestionSuggestSmartReplyCall), [*locations delete agent*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationDeleteAgentCall), [*locations get*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationGetCall), [*locations get agent*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationGetAgentCall), [*locations knowledge bases create*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseCreateCall), [*locations knowledge bases delete*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseDeleteCall), [*locations knowledge bases documents create*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseDocumentCreateCall), [*locations knowledge bases documents delete*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseDocumentDeleteCall), [*locations knowledge bases documents get*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseDocumentGetCall), [*locations knowledge bases documents import*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseDocumentImportCall), [*locations knowledge bases documents list*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseDocumentListCall), [*locations knowledge bases documents patch*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseDocumentPatchCall), [*locations knowledge bases documents reload*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseDocumentReloadCall), [*locations knowledge bases get*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseGetCall), [*locations knowledge bases list*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBaseListCall), [*locations knowledge bases patch*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationKnowledgeBasePatchCall), [*locations list*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationOperationListCall), [*locations set agent*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectLocationSetAgentCall), [*operations cancel*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectOperationCancelCall), [*operations get*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectOperationGetCall), [*operations list*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectOperationListCall) and [*set agent*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/api::ProjectSetAgentCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/Dialogflow)** +* **[Hub](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/Dialogflow)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/client::Part)** + * **[Parts](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -132,7 +132,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -166,17 +166,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -186,29 +186,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-dialogflow2_beta1/3.0.0+20220228/google_dialogflow2_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-dialogflow2_beta1/3.1.0+20220228/google_dialogflow2_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/dialogflow2_beta1/src/api.rs b/gen/dialogflow2_beta1/src/api.rs index d1f9bf59a1..48c2c71b2c 100644 --- a/gen/dialogflow2_beta1/src/api.rs +++ b/gen/dialogflow2_beta1/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -124,7 +124,7 @@ impl<'a, > Dialogflow<> { Dialogflow { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://dialogflow.googleapis.com/".to_string(), _root_url: "https://dialogflow.googleapis.com/".to_string(), } @@ -135,7 +135,7 @@ impl<'a, > Dialogflow<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -4387,7 +4387,7 @@ impl client::Part for GoogleTypeLatLng {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `agent_entity_types_batch_delete(...)`, `agent_entity_types_batch_update(...)`, `agent_entity_types_create(...)`, `agent_entity_types_delete(...)`, `agent_entity_types_entities_batch_create(...)`, `agent_entity_types_entities_batch_delete(...)`, `agent_entity_types_entities_batch_update(...)`, `agent_entity_types_get(...)`, `agent_entity_types_list(...)`, `agent_entity_types_patch(...)`, `agent_environments_create(...)`, `agent_environments_delete(...)`, `agent_environments_get(...)`, `agent_environments_get_history(...)`, `agent_environments_intents_list(...)`, `agent_environments_list(...)`, `agent_environments_patch(...)`, `agent_environments_users_sessions_contexts_create(...)`, `agent_environments_users_sessions_contexts_delete(...)`, `agent_environments_users_sessions_contexts_get(...)`, `agent_environments_users_sessions_contexts_list(...)`, `agent_environments_users_sessions_contexts_patch(...)`, `agent_environments_users_sessions_delete_contexts(...)`, `agent_environments_users_sessions_detect_intent(...)`, `agent_environments_users_sessions_entity_types_create(...)`, `agent_environments_users_sessions_entity_types_delete(...)`, `agent_environments_users_sessions_entity_types_get(...)`, `agent_environments_users_sessions_entity_types_list(...)`, `agent_environments_users_sessions_entity_types_patch(...)`, `agent_export(...)`, `agent_get_fulfillment(...)`, `agent_get_validation_result(...)`, `agent_import(...)`, `agent_intents_batch_delete(...)`, `agent_intents_batch_update(...)`, `agent_intents_create(...)`, `agent_intents_delete(...)`, `agent_intents_get(...)`, `agent_intents_list(...)`, `agent_intents_patch(...)`, `agent_knowledge_bases_create(...)`, `agent_knowledge_bases_delete(...)`, `agent_knowledge_bases_documents_create(...)`, `agent_knowledge_bases_documents_delete(...)`, `agent_knowledge_bases_documents_get(...)`, `agent_knowledge_bases_documents_list(...)`, `agent_knowledge_bases_documents_patch(...)`, `agent_knowledge_bases_documents_reload(...)`, `agent_knowledge_bases_get(...)`, `agent_knowledge_bases_list(...)`, `agent_knowledge_bases_patch(...)`, `agent_restore(...)`, `agent_search(...)`, `agent_sessions_contexts_create(...)`, `agent_sessions_contexts_delete(...)`, `agent_sessions_contexts_get(...)`, `agent_sessions_contexts_list(...)`, `agent_sessions_contexts_patch(...)`, `agent_sessions_delete_contexts(...)`, `agent_sessions_detect_intent(...)`, `agent_sessions_entity_types_create(...)`, `agent_sessions_entity_types_delete(...)`, `agent_sessions_entity_types_get(...)`, `agent_sessions_entity_types_list(...)`, `agent_sessions_entity_types_patch(...)`, `agent_train(...)`, `agent_update_fulfillment(...)`, `agent_versions_create(...)`, `agent_versions_delete(...)`, `agent_versions_get(...)`, `agent_versions_list(...)`, `agent_versions_patch(...)`, `answer_records_get(...)`, `answer_records_list(...)`, `answer_records_patch(...)`, `conversation_profiles_clear_suggestion_feature_config(...)`, `conversation_profiles_create(...)`, `conversation_profiles_delete(...)`, `conversation_profiles_get(...)`, `conversation_profiles_list(...)`, `conversation_profiles_patch(...)`, `conversation_profiles_set_suggestion_feature_config(...)`, `conversations_complete(...)`, `conversations_create(...)`, `conversations_get(...)`, `conversations_list(...)`, `conversations_messages_batch_create(...)`, `conversations_messages_list(...)`, `conversations_participants_analyze_content(...)`, `conversations_participants_create(...)`, `conversations_participants_get(...)`, `conversations_participants_list(...)`, `conversations_participants_patch(...)`, `conversations_participants_suggestions_compile(...)`, `conversations_participants_suggestions_list(...)`, `conversations_participants_suggestions_suggest_articles(...)`, `conversations_participants_suggestions_suggest_faq_answers(...)`, `conversations_participants_suggestions_suggest_smart_replies(...)`, `delete_agent(...)`, `get_agent(...)`, `knowledge_bases_create(...)`, `knowledge_bases_delete(...)`, `knowledge_bases_documents_create(...)`, `knowledge_bases_documents_delete(...)`, `knowledge_bases_documents_get(...)`, `knowledge_bases_documents_import(...)`, `knowledge_bases_documents_list(...)`, `knowledge_bases_documents_patch(...)`, `knowledge_bases_documents_reload(...)`, `knowledge_bases_get(...)`, `knowledge_bases_list(...)`, `knowledge_bases_patch(...)`, `locations_agent_entity_types_batch_delete(...)`, `locations_agent_entity_types_batch_update(...)`, `locations_agent_entity_types_create(...)`, `locations_agent_entity_types_delete(...)`, `locations_agent_entity_types_entities_batch_create(...)`, `locations_agent_entity_types_entities_batch_delete(...)`, `locations_agent_entity_types_entities_batch_update(...)`, `locations_agent_entity_types_get(...)`, `locations_agent_entity_types_list(...)`, `locations_agent_entity_types_patch(...)`, `locations_agent_environments_create(...)`, `locations_agent_environments_delete(...)`, `locations_agent_environments_get(...)`, `locations_agent_environments_get_history(...)`, `locations_agent_environments_intents_list(...)`, `locations_agent_environments_list(...)`, `locations_agent_environments_patch(...)`, `locations_agent_environments_users_sessions_contexts_create(...)`, `locations_agent_environments_users_sessions_contexts_delete(...)`, `locations_agent_environments_users_sessions_contexts_get(...)`, `locations_agent_environments_users_sessions_contexts_list(...)`, `locations_agent_environments_users_sessions_contexts_patch(...)`, `locations_agent_environments_users_sessions_delete_contexts(...)`, `locations_agent_environments_users_sessions_detect_intent(...)`, `locations_agent_environments_users_sessions_entity_types_create(...)`, `locations_agent_environments_users_sessions_entity_types_delete(...)`, `locations_agent_environments_users_sessions_entity_types_get(...)`, `locations_agent_environments_users_sessions_entity_types_list(...)`, `locations_agent_environments_users_sessions_entity_types_patch(...)`, `locations_agent_export(...)`, `locations_agent_get_fulfillment(...)`, `locations_agent_get_validation_result(...)`, `locations_agent_import(...)`, `locations_agent_intents_batch_delete(...)`, `locations_agent_intents_batch_update(...)`, `locations_agent_intents_create(...)`, `locations_agent_intents_delete(...)`, `locations_agent_intents_get(...)`, `locations_agent_intents_list(...)`, `locations_agent_intents_patch(...)`, `locations_agent_restore(...)`, `locations_agent_search(...)`, `locations_agent_sessions_contexts_create(...)`, `locations_agent_sessions_contexts_delete(...)`, `locations_agent_sessions_contexts_get(...)`, `locations_agent_sessions_contexts_list(...)`, `locations_agent_sessions_contexts_patch(...)`, `locations_agent_sessions_delete_contexts(...)`, `locations_agent_sessions_detect_intent(...)`, `locations_agent_sessions_entity_types_create(...)`, `locations_agent_sessions_entity_types_delete(...)`, `locations_agent_sessions_entity_types_get(...)`, `locations_agent_sessions_entity_types_list(...)`, `locations_agent_sessions_entity_types_patch(...)`, `locations_agent_train(...)`, `locations_agent_update_fulfillment(...)`, `locations_agent_versions_create(...)`, `locations_agent_versions_delete(...)`, `locations_agent_versions_get(...)`, `locations_agent_versions_list(...)`, `locations_agent_versions_patch(...)`, `locations_answer_records_get(...)`, `locations_answer_records_list(...)`, `locations_answer_records_patch(...)`, `locations_conversation_profiles_clear_suggestion_feature_config(...)`, `locations_conversation_profiles_create(...)`, `locations_conversation_profiles_delete(...)`, `locations_conversation_profiles_get(...)`, `locations_conversation_profiles_list(...)`, `locations_conversation_profiles_patch(...)`, `locations_conversation_profiles_set_suggestion_feature_config(...)`, `locations_conversations_complete(...)`, `locations_conversations_create(...)`, `locations_conversations_get(...)`, `locations_conversations_list(...)`, `locations_conversations_messages_batch_create(...)`, `locations_conversations_messages_list(...)`, `locations_conversations_participants_analyze_content(...)`, `locations_conversations_participants_create(...)`, `locations_conversations_participants_get(...)`, `locations_conversations_participants_list(...)`, `locations_conversations_participants_patch(...)`, `locations_conversations_participants_suggestions_suggest_articles(...)`, `locations_conversations_participants_suggestions_suggest_faq_answers(...)`, `locations_conversations_participants_suggestions_suggest_smart_replies(...)`, `locations_delete_agent(...)`, `locations_get(...)`, `locations_get_agent(...)`, `locations_knowledge_bases_create(...)`, `locations_knowledge_bases_delete(...)`, `locations_knowledge_bases_documents_create(...)`, `locations_knowledge_bases_documents_delete(...)`, `locations_knowledge_bases_documents_get(...)`, `locations_knowledge_bases_documents_import(...)`, `locations_knowledge_bases_documents_list(...)`, `locations_knowledge_bases_documents_patch(...)`, `locations_knowledge_bases_documents_reload(...)`, `locations_knowledge_bases_get(...)`, `locations_knowledge_bases_list(...)`, `locations_knowledge_bases_patch(...)`, `locations_list(...)`, `locations_operations_cancel(...)`, `locations_operations_get(...)`, `locations_operations_list(...)`, `locations_set_agent(...)`, `operations_cancel(...)`, `operations_get(...)`, `operations_list(...)` and `set_agent(...)` /// // to build up your call. @@ -8581,7 +8581,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8867,7 +8867,7 @@ impl<'a> ProjectAgentEntityTypeEntityBatchCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9153,7 +9153,7 @@ impl<'a> ProjectAgentEntityTypeEntityBatchDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9439,7 +9439,7 @@ impl<'a> ProjectAgentEntityTypeEntityBatchUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9725,7 +9725,7 @@ impl<'a> ProjectAgentEntityTypeBatchDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10011,7 +10011,7 @@ impl<'a> ProjectAgentEntityTypeBatchUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10308,7 +10308,7 @@ impl<'a> ProjectAgentEntityTypeCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10564,7 +10564,7 @@ impl<'a> ProjectAgentEntityTypeDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10832,7 +10832,7 @@ impl<'a> ProjectAgentEntityTypeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11125,7 +11125,7 @@ impl<'a> ProjectAgentEntityTypeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11434,7 +11434,7 @@ impl<'a> ProjectAgentEntityTypePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11739,7 +11739,7 @@ impl<'a> ProjectAgentEnvironmentIntentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12024,7 +12024,7 @@ impl<'a> ProjectAgentEnvironmentUserSessionContextCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12280,7 +12280,7 @@ impl<'a> ProjectAgentEnvironmentUserSessionContextDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12536,7 +12536,7 @@ impl<'a> ProjectAgentEnvironmentUserSessionContextGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12817,7 +12817,7 @@ impl<'a> ProjectAgentEnvironmentUserSessionContextListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13115,7 +13115,7 @@ impl<'a> ProjectAgentEnvironmentUserSessionContextPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13400,7 +13400,7 @@ impl<'a> ProjectAgentEnvironmentUserSessionEntityTypeCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13656,7 +13656,7 @@ impl<'a> ProjectAgentEnvironmentUserSessionEntityTypeDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13912,7 +13912,7 @@ impl<'a> ProjectAgentEnvironmentUserSessionEntityTypeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14193,7 +14193,7 @@ impl<'a> ProjectAgentEnvironmentUserSessionEntityTypeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14490,7 +14490,7 @@ impl<'a> ProjectAgentEnvironmentUserSessionEntityTypePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14747,7 +14747,7 @@ impl<'a> ProjectAgentEnvironmentUserSessionDeleteContextCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15033,7 +15033,7 @@ impl<'a> ProjectAgentEnvironmentUserSessionDetectIntentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15330,7 +15330,7 @@ impl<'a> ProjectAgentEnvironmentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15586,7 +15586,7 @@ impl<'a> ProjectAgentEnvironmentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15842,7 +15842,7 @@ impl<'a> ProjectAgentEnvironmentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16122,7 +16122,7 @@ impl<'a> ProjectAgentEnvironmentGetHistoryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16403,7 +16403,7 @@ impl<'a> ProjectAgentEnvironmentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16713,7 +16713,7 @@ impl<'a> ProjectAgentEnvironmentPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16999,7 +16999,7 @@ impl<'a> ProjectAgentIntentBatchDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17285,7 +17285,7 @@ impl<'a> ProjectAgentIntentBatchUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17594,7 +17594,7 @@ impl<'a> ProjectAgentIntentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17850,7 +17850,7 @@ impl<'a> ProjectAgentIntentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18130,7 +18130,7 @@ impl<'a> ProjectAgentIntentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18435,7 +18435,7 @@ impl<'a> ProjectAgentIntentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18757,7 +18757,7 @@ impl<'a> ProjectAgentIntentPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19054,7 +19054,7 @@ impl<'a> ProjectAgentKnowledgeBaseDocumentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19310,7 +19310,7 @@ impl<'a> ProjectAgentKnowledgeBaseDocumentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19566,7 +19566,7 @@ impl<'a> ProjectAgentKnowledgeBaseDocumentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19859,7 +19859,7 @@ impl<'a> ProjectAgentKnowledgeBaseDocumentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20157,7 +20157,7 @@ impl<'a> ProjectAgentKnowledgeBaseDocumentPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20443,7 +20443,7 @@ impl<'a> ProjectAgentKnowledgeBaseDocumentReloadCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20728,7 +20728,7 @@ impl<'a> ProjectAgentKnowledgeBaseCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20996,7 +20996,7 @@ impl<'a> ProjectAgentKnowledgeBaseDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21252,7 +21252,7 @@ impl<'a> ProjectAgentKnowledgeBaseGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21545,7 +21545,7 @@ impl<'a> ProjectAgentKnowledgeBaseListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21843,7 +21843,7 @@ impl<'a> ProjectAgentKnowledgeBasePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22128,7 +22128,7 @@ impl<'a> ProjectAgentSessionContextCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22384,7 +22384,7 @@ impl<'a> ProjectAgentSessionContextDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22640,7 +22640,7 @@ impl<'a> ProjectAgentSessionContextGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22921,7 +22921,7 @@ impl<'a> ProjectAgentSessionContextListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23219,7 +23219,7 @@ impl<'a> ProjectAgentSessionContextPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23504,7 +23504,7 @@ impl<'a> ProjectAgentSessionEntityTypeCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23760,7 +23760,7 @@ impl<'a> ProjectAgentSessionEntityTypeDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24016,7 +24016,7 @@ impl<'a> ProjectAgentSessionEntityTypeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24297,7 +24297,7 @@ impl<'a> ProjectAgentSessionEntityTypeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24594,7 +24594,7 @@ impl<'a> ProjectAgentSessionEntityTypePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24851,7 +24851,7 @@ impl<'a> ProjectAgentSessionDeleteContextCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25137,7 +25137,7 @@ impl<'a> ProjectAgentSessionDetectIntentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25422,7 +25422,7 @@ impl<'a> ProjectAgentVersionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25678,7 +25678,7 @@ impl<'a> ProjectAgentVersionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25934,7 +25934,7 @@ impl<'a> ProjectAgentVersionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26215,7 +26215,7 @@ impl<'a> ProjectAgentVersionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26513,7 +26513,7 @@ impl<'a> ProjectAgentVersionPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26798,7 +26798,7 @@ impl<'a> ProjectAgentExportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27054,7 +27054,7 @@ impl<'a> ProjectAgentGetFulfillmentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27323,7 +27323,7 @@ impl<'a> ProjectAgentGetValidationResultCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27609,7 +27609,7 @@ impl<'a> ProjectAgentImportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27894,7 +27894,7 @@ impl<'a> ProjectAgentRestoreCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28175,7 +28175,7 @@ impl<'a> ProjectAgentSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -28461,7 +28461,7 @@ impl<'a> ProjectAgentTrainCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -28758,7 +28758,7 @@ impl<'a> ProjectAgentUpdateFulfillmentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29014,7 +29014,7 @@ impl<'a> ProjectAnswerRecordGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29295,7 +29295,7 @@ impl<'a> ProjectAnswerRecordListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29593,7 +29593,7 @@ impl<'a> ProjectAnswerRecordPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29879,7 +29879,7 @@ impl<'a> ProjectConversationProfileClearSuggestionFeatureConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -30164,7 +30164,7 @@ impl<'a> ProjectConversationProfileCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30420,7 +30420,7 @@ impl<'a> ProjectConversationProfileDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30676,7 +30676,7 @@ impl<'a> ProjectConversationProfileGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30957,7 +30957,7 @@ impl<'a> ProjectConversationProfileListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -31255,7 +31255,7 @@ impl<'a> ProjectConversationProfilePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -31541,7 +31541,7 @@ impl<'a> ProjectConversationProfileSetSuggestionFeatureConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -31826,7 +31826,7 @@ impl<'a> ProjectConversationMessageBatchCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32119,7 +32119,7 @@ impl<'a> ProjectConversationMessageListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -32404,7 +32404,7 @@ impl<'a> ProjectConversationParticipantSuggestionCompileCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32697,7 +32697,7 @@ impl<'a> ProjectConversationParticipantSuggestionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -32983,7 +32983,7 @@ impl<'a> ProjectConversationParticipantSuggestionSuggestArticleCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -33269,7 +33269,7 @@ impl<'a> ProjectConversationParticipantSuggestionSuggestFaqAnswerCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -33555,7 +33555,7 @@ impl<'a> ProjectConversationParticipantSuggestionSuggestSmartReplyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -33841,7 +33841,7 @@ impl<'a> ProjectConversationParticipantAnalyzeContentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -34126,7 +34126,7 @@ impl<'a> ProjectConversationParticipantCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34382,7 +34382,7 @@ impl<'a> ProjectConversationParticipantGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34663,7 +34663,7 @@ impl<'a> ProjectConversationParticipantListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -34961,7 +34961,7 @@ impl<'a> ProjectConversationParticipantPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35247,7 +35247,7 @@ impl<'a> ProjectConversationCompleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35544,7 +35544,7 @@ impl<'a> ProjectConversationCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -35800,7 +35800,7 @@ impl<'a> ProjectConversationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -36093,7 +36093,7 @@ impl<'a> ProjectConversationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -36390,7 +36390,7 @@ impl<'a> ProjectKnowledgeBaseDocumentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -36646,7 +36646,7 @@ impl<'a> ProjectKnowledgeBaseDocumentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -36903,7 +36903,7 @@ impl<'a> ProjectKnowledgeBaseDocumentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -37188,7 +37188,7 @@ impl<'a> ProjectKnowledgeBaseDocumentImportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -37481,7 +37481,7 @@ impl<'a> ProjectKnowledgeBaseDocumentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -37779,7 +37779,7 @@ impl<'a> ProjectKnowledgeBaseDocumentPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -38065,7 +38065,7 @@ impl<'a> ProjectKnowledgeBaseDocumentReloadCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -38350,7 +38350,7 @@ impl<'a> ProjectKnowledgeBaseCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -38618,7 +38618,7 @@ impl<'a> ProjectKnowledgeBaseDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -38874,7 +38874,7 @@ impl<'a> ProjectKnowledgeBaseGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -39167,7 +39167,7 @@ impl<'a> ProjectKnowledgeBaseListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -39465,7 +39465,7 @@ impl<'a> ProjectKnowledgeBasePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -39751,7 +39751,7 @@ impl<'a> ProjectLocationAgentEntityTypeEntityBatchCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -40037,7 +40037,7 @@ impl<'a> ProjectLocationAgentEntityTypeEntityBatchDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -40323,7 +40323,7 @@ impl<'a> ProjectLocationAgentEntityTypeEntityBatchUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -40609,7 +40609,7 @@ impl<'a> ProjectLocationAgentEntityTypeBatchDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -40895,7 +40895,7 @@ impl<'a> ProjectLocationAgentEntityTypeBatchUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -41192,7 +41192,7 @@ impl<'a> ProjectLocationAgentEntityTypeCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -41448,7 +41448,7 @@ impl<'a> ProjectLocationAgentEntityTypeDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -41716,7 +41716,7 @@ impl<'a> ProjectLocationAgentEntityTypeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -42009,7 +42009,7 @@ impl<'a> ProjectLocationAgentEntityTypeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -42318,7 +42318,7 @@ impl<'a> ProjectLocationAgentEntityTypePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -42623,7 +42623,7 @@ impl<'a> ProjectLocationAgentEnvironmentIntentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -42908,7 +42908,7 @@ impl<'a> ProjectLocationAgentEnvironmentUserSessionContextCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -43164,7 +43164,7 @@ impl<'a> ProjectLocationAgentEnvironmentUserSessionContextDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -43420,7 +43420,7 @@ impl<'a> ProjectLocationAgentEnvironmentUserSessionContextGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -43701,7 +43701,7 @@ impl<'a> ProjectLocationAgentEnvironmentUserSessionContextListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -43999,7 +43999,7 @@ impl<'a> ProjectLocationAgentEnvironmentUserSessionContextPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -44284,7 +44284,7 @@ impl<'a> ProjectLocationAgentEnvironmentUserSessionEntityTypeCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44540,7 +44540,7 @@ impl<'a> ProjectLocationAgentEnvironmentUserSessionEntityTypeDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44796,7 +44796,7 @@ impl<'a> ProjectLocationAgentEnvironmentUserSessionEntityTypeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -45077,7 +45077,7 @@ impl<'a> ProjectLocationAgentEnvironmentUserSessionEntityTypeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -45374,7 +45374,7 @@ impl<'a> ProjectLocationAgentEnvironmentUserSessionEntityTypePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -45631,7 +45631,7 @@ impl<'a> ProjectLocationAgentEnvironmentUserSessionDeleteContextCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -45917,7 +45917,7 @@ impl<'a> ProjectLocationAgentEnvironmentUserSessionDetectIntentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -46214,7 +46214,7 @@ impl<'a> ProjectLocationAgentEnvironmentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46470,7 +46470,7 @@ impl<'a> ProjectLocationAgentEnvironmentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46726,7 +46726,7 @@ impl<'a> ProjectLocationAgentEnvironmentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47006,7 +47006,7 @@ impl<'a> ProjectLocationAgentEnvironmentGetHistoryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47287,7 +47287,7 @@ impl<'a> ProjectLocationAgentEnvironmentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -47597,7 +47597,7 @@ impl<'a> ProjectLocationAgentEnvironmentPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -47883,7 +47883,7 @@ impl<'a> ProjectLocationAgentIntentBatchDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -48169,7 +48169,7 @@ impl<'a> ProjectLocationAgentIntentBatchUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -48478,7 +48478,7 @@ impl<'a> ProjectLocationAgentIntentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48734,7 +48734,7 @@ impl<'a> ProjectLocationAgentIntentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49014,7 +49014,7 @@ impl<'a> ProjectLocationAgentIntentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49319,7 +49319,7 @@ impl<'a> ProjectLocationAgentIntentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -49641,7 +49641,7 @@ impl<'a> ProjectLocationAgentIntentPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -49926,7 +49926,7 @@ impl<'a> ProjectLocationAgentSessionContextCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -50182,7 +50182,7 @@ impl<'a> ProjectLocationAgentSessionContextDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -50438,7 +50438,7 @@ impl<'a> ProjectLocationAgentSessionContextGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -50719,7 +50719,7 @@ impl<'a> ProjectLocationAgentSessionContextListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -51017,7 +51017,7 @@ impl<'a> ProjectLocationAgentSessionContextPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -51302,7 +51302,7 @@ impl<'a> ProjectLocationAgentSessionEntityTypeCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -51558,7 +51558,7 @@ impl<'a> ProjectLocationAgentSessionEntityTypeDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -51814,7 +51814,7 @@ impl<'a> ProjectLocationAgentSessionEntityTypeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -52095,7 +52095,7 @@ impl<'a> ProjectLocationAgentSessionEntityTypeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -52392,7 +52392,7 @@ impl<'a> ProjectLocationAgentSessionEntityTypePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -52649,7 +52649,7 @@ impl<'a> ProjectLocationAgentSessionDeleteContextCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -52935,7 +52935,7 @@ impl<'a> ProjectLocationAgentSessionDetectIntentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -53220,7 +53220,7 @@ impl<'a> ProjectLocationAgentVersionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -53476,7 +53476,7 @@ impl<'a> ProjectLocationAgentVersionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -53732,7 +53732,7 @@ impl<'a> ProjectLocationAgentVersionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -54013,7 +54013,7 @@ impl<'a> ProjectLocationAgentVersionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -54311,7 +54311,7 @@ impl<'a> ProjectLocationAgentVersionPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -54596,7 +54596,7 @@ impl<'a> ProjectLocationAgentExportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -54852,7 +54852,7 @@ impl<'a> ProjectLocationAgentGetFulfillmentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -55121,7 +55121,7 @@ impl<'a> ProjectLocationAgentGetValidationResultCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -55407,7 +55407,7 @@ impl<'a> ProjectLocationAgentImportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -55692,7 +55692,7 @@ impl<'a> ProjectLocationAgentRestoreCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -55973,7 +55973,7 @@ impl<'a> ProjectLocationAgentSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -56259,7 +56259,7 @@ impl<'a> ProjectLocationAgentTrainCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -56556,7 +56556,7 @@ impl<'a> ProjectLocationAgentUpdateFulfillmentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -56812,7 +56812,7 @@ impl<'a> ProjectLocationAnswerRecordGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -57093,7 +57093,7 @@ impl<'a> ProjectLocationAnswerRecordListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -57391,7 +57391,7 @@ impl<'a> ProjectLocationAnswerRecordPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -57677,7 +57677,7 @@ impl<'a> ProjectLocationConversationProfileClearSuggestionFeatureConfigCall<'a> /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -57962,7 +57962,7 @@ impl<'a> ProjectLocationConversationProfileCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58218,7 +58218,7 @@ impl<'a> ProjectLocationConversationProfileDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58474,7 +58474,7 @@ impl<'a> ProjectLocationConversationProfileGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -58755,7 +58755,7 @@ impl<'a> ProjectLocationConversationProfileListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -59053,7 +59053,7 @@ impl<'a> ProjectLocationConversationProfilePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -59339,7 +59339,7 @@ impl<'a> ProjectLocationConversationProfileSetSuggestionFeatureConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -59624,7 +59624,7 @@ impl<'a> ProjectLocationConversationMessageBatchCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -59917,7 +59917,7 @@ impl<'a> ProjectLocationConversationMessageListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -60203,7 +60203,7 @@ impl<'a> ProjectLocationConversationParticipantSuggestionSuggestArticleCall<'a> /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -60489,7 +60489,7 @@ impl<'a> ProjectLocationConversationParticipantSuggestionSuggestFaqAnswerCall<'a /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -60775,7 +60775,7 @@ impl<'a> ProjectLocationConversationParticipantSuggestionSuggestSmartReplyCall<' /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -61061,7 +61061,7 @@ impl<'a> ProjectLocationConversationParticipantAnalyzeContentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -61346,7 +61346,7 @@ impl<'a> ProjectLocationConversationParticipantCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -61602,7 +61602,7 @@ impl<'a> ProjectLocationConversationParticipantGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -61883,7 +61883,7 @@ impl<'a> ProjectLocationConversationParticipantListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -62181,7 +62181,7 @@ impl<'a> ProjectLocationConversationParticipantPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -62467,7 +62467,7 @@ impl<'a> ProjectLocationConversationCompleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -62764,7 +62764,7 @@ impl<'a> ProjectLocationConversationCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63020,7 +63020,7 @@ impl<'a> ProjectLocationConversationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63313,7 +63313,7 @@ impl<'a> ProjectLocationConversationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -63610,7 +63610,7 @@ impl<'a> ProjectLocationKnowledgeBaseDocumentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -63866,7 +63866,7 @@ impl<'a> ProjectLocationKnowledgeBaseDocumentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -64123,7 +64123,7 @@ impl<'a> ProjectLocationKnowledgeBaseDocumentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -64408,7 +64408,7 @@ impl<'a> ProjectLocationKnowledgeBaseDocumentImportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -64701,7 +64701,7 @@ impl<'a> ProjectLocationKnowledgeBaseDocumentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -64999,7 +64999,7 @@ impl<'a> ProjectLocationKnowledgeBaseDocumentPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -65285,7 +65285,7 @@ impl<'a> ProjectLocationKnowledgeBaseDocumentReloadCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -65570,7 +65570,7 @@ impl<'a> ProjectLocationKnowledgeBaseCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -65838,7 +65838,7 @@ impl<'a> ProjectLocationKnowledgeBaseDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -66094,7 +66094,7 @@ impl<'a> ProjectLocationKnowledgeBaseGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -66387,7 +66387,7 @@ impl<'a> ProjectLocationKnowledgeBaseListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -66684,7 +66684,7 @@ impl<'a> ProjectLocationKnowledgeBasePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -66940,7 +66940,7 @@ impl<'a> ProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -67196,7 +67196,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -67488,7 +67488,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -67744,7 +67744,7 @@ impl<'a> ProjectLocationDeleteAgentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -68000,7 +68000,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -68256,7 +68256,7 @@ impl<'a> ProjectLocationGetAgentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -68549,7 +68549,7 @@ impl<'a> ProjectLocationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -68846,7 +68846,7 @@ impl<'a> ProjectLocationSetAgentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -69102,7 +69102,7 @@ impl<'a> ProjectOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -69358,7 +69358,7 @@ impl<'a> ProjectOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -69650,7 +69650,7 @@ impl<'a> ProjectOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -69906,7 +69906,7 @@ impl<'a> ProjectDeleteAgentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -70163,7 +70163,7 @@ impl<'a> ProjectGetAgentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/dialogflow2_beta1/src/lib.rs b/gen/dialogflow2_beta1/src/lib.rs index 2a38b47569..b3bbb338ba 100644 --- a/gen/dialogflow2_beta1/src/lib.rs +++ b/gen/dialogflow2_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Dialogflow* crate version *3.0.0+20220228*, where *20220228* is the exact revision of the *dialogflow:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Dialogflow* crate version *3.1.0+20220228*, where *20220228* is the exact revision of the *dialogflow:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Dialogflow* *v2_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/dialogflow/). @@ -133,7 +133,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/dialogflow3-cli/Cargo.toml b/gen/dialogflow3-cli/Cargo.toml index 9ef08ec8ce..1eb1f91394 100644 --- a/gen/dialogflow3-cli/Cargo.toml +++ b/gen/dialogflow3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dialogflow3-cli" -version = "3.0.0+20220228" +version = "3.1.0+20220228" authors = ["Sebastian Thiel "] description = "A complete library to interact with Dialogflow (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dialogflow3-cli" @@ -20,12 +20,12 @@ name = "dialogflow3" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-dialogflow3] path = "../dialogflow3" -version = "3.0.0+20220228" +version = "3.1.0+20220228" diff --git a/gen/dialogflow3-cli/README.md b/gen/dialogflow3-cli/README.md index 511c0b592f..d3fdcd28e4 100644 --- a/gen/dialogflow3-cli/README.md +++ b/gen/dialogflow3-cli/README.md @@ -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 *Dialogflow* API at revision *20220228*. The CLI is at version *3.0.0*. +This documentation was generated from the *Dialogflow* API at revision *20220228*. The CLI is at version *3.1.0*. ```bash dialogflow3 [options] diff --git a/gen/dialogflow3-cli/mkdocs.yml b/gen/dialogflow3-cli/mkdocs.yml index 1d4bd11785..d2cd2e064f 100644 --- a/gen/dialogflow3-cli/mkdocs.yml +++ b/gen/dialogflow3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Dialogflow v3.0.0+20220228 +site_name: Dialogflow v3.1.0+20220228 site_url: http://byron.github.io/google-apis-rs/google-dialogflow3-cli site_description: A complete library to interact with Dialogflow (protocol v3) diff --git a/gen/dialogflow3-cli/src/main.rs b/gen/dialogflow3-cli/src/main.rs index 0fad232991..7546f5ecf4 100644 --- a/gen/dialogflow3-cli/src/main.rs +++ b/gen/dialogflow3-cli/src/main.rs @@ -8679,7 +8679,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/dialogflow3", 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::Dialogflow::new(client, auth), @@ -11497,7 +11503,7 @@ async fn main() { let mut app = App::new("dialogflow3") .author("Sebastian Thiel ") - .version("3.0.0+20220228") + .version("3.1.0+20220228") .about("Builds conversational interfaces (for example, chatbots, and voice-powered apps and devices).") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_dialogflow3_cli") .arg(Arg::with_name("url") diff --git a/gen/dialogflow3/Cargo.toml b/gen/dialogflow3/Cargo.toml index e73c94c637..974f92c580 100644 --- a/gen/dialogflow3/Cargo.toml +++ b/gen/dialogflow3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dialogflow3" -version = "3.0.0+20220228" +version = "3.1.0+20220228" authors = ["Sebastian Thiel "] description = "A complete library to interact with Dialogflow (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dialogflow3" homepage = "https://cloud.google.com/dialogflow/" -documentation = "https://docs.rs/google-dialogflow3/3.0.0+20220228" +documentation = "https://docs.rs/google-dialogflow3/3.1.0+20220228" license = "MIT" keywords = ["dialogflow", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/dialogflow3/README.md b/gen/dialogflow3/README.md index f014d8d666..86f0580660 100644 --- a/gen/dialogflow3/README.md +++ b/gen/dialogflow3/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-dialogflow3` library allows access to all features of the *Google Dialogflow* service. -This documentation was generated from *Dialogflow* crate version *3.0.0+20220228*, where *20220228* is the exact revision of the *dialogflow:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Dialogflow* crate version *3.1.0+20220228*, where *20220228* is the exact revision of the *dialogflow:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Dialogflow* *v3* API can be found at the [official documentation site](https://cloud.google.com/dialogflow/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/Dialogflow) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/Dialogflow) ... * projects - * [*locations agents changelogs get*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentChangelogGetCall), [*locations agents changelogs list*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentChangelogListCall), [*locations agents create*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentCreateCall), [*locations agents delete*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentDeleteCall), [*locations agents entity types create*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentEntityTypeCreateCall), [*locations agents entity types delete*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentEntityTypeDeleteCall), [*locations agents entity types get*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentEntityTypeGetCall), [*locations agents entity types list*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentEntityTypeListCall), [*locations agents entity types patch*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentEntityTypePatchCall), [*locations agents environments continuous test results list*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentContinuousTestResultListCall), [*locations agents environments create*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentCreateCall), [*locations agents environments delete*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentDeleteCall), [*locations agents environments deploy flow*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentDeployFlowCall), [*locations agents environments deployments get*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentDeploymentGetCall), [*locations agents environments deployments list*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentDeploymentListCall), [*locations agents environments experiments create*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentExperimentCreateCall), [*locations agents environments experiments delete*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentExperimentDeleteCall), [*locations agents environments experiments get*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentExperimentGetCall), [*locations agents environments experiments list*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentExperimentListCall), [*locations agents environments experiments patch*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentExperimentPatchCall), [*locations agents environments experiments start*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentExperimentStartCall), [*locations agents environments experiments stop*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentExperimentStopCall), [*locations agents environments get*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentGetCall), [*locations agents environments list*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentListCall), [*locations agents environments lookup environment history*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentLookupEnvironmentHistoryCall), [*locations agents environments patch*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentPatchCall), [*locations agents environments run continuous test*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentRunContinuousTestCall), [*locations agents environments sessions detect intent*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentSessionDetectIntentCall), [*locations agents environments sessions entity types create*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentSessionEntityTypeCreateCall), [*locations agents environments sessions entity types delete*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentSessionEntityTypeDeleteCall), [*locations agents environments sessions entity types get*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentSessionEntityTypeGetCall), [*locations agents environments sessions entity types list*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentSessionEntityTypeListCall), [*locations agents environments sessions entity types patch*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentSessionEntityTypePatchCall), [*locations agents environments sessions fulfill intent*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentSessionFulfillIntentCall), [*locations agents environments sessions match intent*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentSessionMatchIntentCall), [*locations agents export*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentExportCall), [*locations agents flows create*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowCreateCall), [*locations agents flows delete*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowDeleteCall), [*locations agents flows export*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowExportCall), [*locations agents flows get*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowGetCall), [*locations agents flows get validation result*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowGetValidationResultCall), [*locations agents flows import*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowImportCall), [*locations agents flows list*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowListCall), [*locations agents flows pages create*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowPageCreateCall), [*locations agents flows pages delete*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowPageDeleteCall), [*locations agents flows pages get*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowPageGetCall), [*locations agents flows pages list*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowPageListCall), [*locations agents flows pages patch*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowPagePatchCall), [*locations agents flows patch*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowPatchCall), [*locations agents flows train*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowTrainCall), [*locations agents flows transition route groups create*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowTransitionRouteGroupCreateCall), [*locations agents flows transition route groups delete*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowTransitionRouteGroupDeleteCall), [*locations agents flows transition route groups get*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowTransitionRouteGroupGetCall), [*locations agents flows transition route groups list*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowTransitionRouteGroupListCall), [*locations agents flows transition route groups patch*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowTransitionRouteGroupPatchCall), [*locations agents flows validate*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowValidateCall), [*locations agents flows versions compare versions*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowVersionCompareVersionCall), [*locations agents flows versions create*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowVersionCreateCall), [*locations agents flows versions delete*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowVersionDeleteCall), [*locations agents flows versions get*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowVersionGetCall), [*locations agents flows versions list*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowVersionListCall), [*locations agents flows versions load*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowVersionLoadCall), [*locations agents flows versions patch*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowVersionPatchCall), [*locations agents get*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentGetCall), [*locations agents get validation result*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentGetValidationResultCall), [*locations agents intents create*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentIntentCreateCall), [*locations agents intents delete*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentIntentDeleteCall), [*locations agents intents get*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentIntentGetCall), [*locations agents intents list*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentIntentListCall), [*locations agents intents patch*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentIntentPatchCall), [*locations agents list*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentListCall), [*locations agents patch*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentPatchCall), [*locations agents restore*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentRestoreCall), [*locations agents sessions detect intent*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentSessionDetectIntentCall), [*locations agents sessions entity types create*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentSessionEntityTypeCreateCall), [*locations agents sessions entity types delete*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentSessionEntityTypeDeleteCall), [*locations agents sessions entity types get*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentSessionEntityTypeGetCall), [*locations agents sessions entity types list*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentSessionEntityTypeListCall), [*locations agents sessions entity types patch*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentSessionEntityTypePatchCall), [*locations agents sessions fulfill intent*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentSessionFulfillIntentCall), [*locations agents sessions match intent*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentSessionMatchIntentCall), [*locations agents test cases batch delete*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentTestCaseBatchDeleteCall), [*locations agents test cases batch run*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentTestCaseBatchRunCall), [*locations agents test cases calculate coverage*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentTestCaseCalculateCoverageCall), [*locations agents test cases create*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentTestCaseCreateCall), [*locations agents test cases export*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentTestCaseExportCall), [*locations agents test cases get*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentTestCaseGetCall), [*locations agents test cases import*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentTestCaseImportCall), [*locations agents test cases list*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentTestCaseListCall), [*locations agents test cases patch*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentTestCasePatchCall), [*locations agents test cases results get*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentTestCaseResultGetCall), [*locations agents test cases results list*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentTestCaseResultListCall), [*locations agents test cases run*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentTestCaseRunCall), [*locations agents validate*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentValidateCall), [*locations agents webhooks create*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentWebhookCreateCall), [*locations agents webhooks delete*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentWebhookDeleteCall), [*locations agents webhooks get*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentWebhookGetCall), [*locations agents webhooks list*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentWebhookListCall), [*locations agents webhooks patch*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationAgentWebhookPatchCall), [*locations get*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationOperationListCall), [*locations security settings create*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationSecuritySettingCreateCall), [*locations security settings delete*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationSecuritySettingDeleteCall), [*locations security settings get*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationSecuritySettingGetCall), [*locations security settings list*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationSecuritySettingListCall), [*locations security settings patch*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectLocationSecuritySettingPatchCall), [*operations cancel*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectOperationCancelCall), [*operations get*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectOperationGetCall) and [*operations list*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/api::ProjectOperationListCall) + * [*locations agents changelogs get*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentChangelogGetCall), [*locations agents changelogs list*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentChangelogListCall), [*locations agents create*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentCreateCall), [*locations agents delete*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentDeleteCall), [*locations agents entity types create*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentEntityTypeCreateCall), [*locations agents entity types delete*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentEntityTypeDeleteCall), [*locations agents entity types get*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentEntityTypeGetCall), [*locations agents entity types list*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentEntityTypeListCall), [*locations agents entity types patch*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentEntityTypePatchCall), [*locations agents environments continuous test results list*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentContinuousTestResultListCall), [*locations agents environments create*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentCreateCall), [*locations agents environments delete*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentDeleteCall), [*locations agents environments deploy flow*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentDeployFlowCall), [*locations agents environments deployments get*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentDeploymentGetCall), [*locations agents environments deployments list*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentDeploymentListCall), [*locations agents environments experiments create*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentExperimentCreateCall), [*locations agents environments experiments delete*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentExperimentDeleteCall), [*locations agents environments experiments get*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentExperimentGetCall), [*locations agents environments experiments list*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentExperimentListCall), [*locations agents environments experiments patch*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentExperimentPatchCall), [*locations agents environments experiments start*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentExperimentStartCall), [*locations agents environments experiments stop*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentExperimentStopCall), [*locations agents environments get*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentGetCall), [*locations agents environments list*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentListCall), [*locations agents environments lookup environment history*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentLookupEnvironmentHistoryCall), [*locations agents environments patch*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentPatchCall), [*locations agents environments run continuous test*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentRunContinuousTestCall), [*locations agents environments sessions detect intent*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentSessionDetectIntentCall), [*locations agents environments sessions entity types create*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentSessionEntityTypeCreateCall), [*locations agents environments sessions entity types delete*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentSessionEntityTypeDeleteCall), [*locations agents environments sessions entity types get*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentSessionEntityTypeGetCall), [*locations agents environments sessions entity types list*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentSessionEntityTypeListCall), [*locations agents environments sessions entity types patch*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentSessionEntityTypePatchCall), [*locations agents environments sessions fulfill intent*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentSessionFulfillIntentCall), [*locations agents environments sessions match intent*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentEnvironmentSessionMatchIntentCall), [*locations agents export*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentExportCall), [*locations agents flows create*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowCreateCall), [*locations agents flows delete*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowDeleteCall), [*locations agents flows export*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowExportCall), [*locations agents flows get*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowGetCall), [*locations agents flows get validation result*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowGetValidationResultCall), [*locations agents flows import*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowImportCall), [*locations agents flows list*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowListCall), [*locations agents flows pages create*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowPageCreateCall), [*locations agents flows pages delete*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowPageDeleteCall), [*locations agents flows pages get*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowPageGetCall), [*locations agents flows pages list*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowPageListCall), [*locations agents flows pages patch*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowPagePatchCall), [*locations agents flows patch*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowPatchCall), [*locations agents flows train*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowTrainCall), [*locations agents flows transition route groups create*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowTransitionRouteGroupCreateCall), [*locations agents flows transition route groups delete*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowTransitionRouteGroupDeleteCall), [*locations agents flows transition route groups get*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowTransitionRouteGroupGetCall), [*locations agents flows transition route groups list*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowTransitionRouteGroupListCall), [*locations agents flows transition route groups patch*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowTransitionRouteGroupPatchCall), [*locations agents flows validate*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowValidateCall), [*locations agents flows versions compare versions*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowVersionCompareVersionCall), [*locations agents flows versions create*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowVersionCreateCall), [*locations agents flows versions delete*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowVersionDeleteCall), [*locations agents flows versions get*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowVersionGetCall), [*locations agents flows versions list*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowVersionListCall), [*locations agents flows versions load*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowVersionLoadCall), [*locations agents flows versions patch*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentFlowVersionPatchCall), [*locations agents get*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentGetCall), [*locations agents get validation result*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentGetValidationResultCall), [*locations agents intents create*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentIntentCreateCall), [*locations agents intents delete*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentIntentDeleteCall), [*locations agents intents get*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentIntentGetCall), [*locations agents intents list*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentIntentListCall), [*locations agents intents patch*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentIntentPatchCall), [*locations agents list*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentListCall), [*locations agents patch*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentPatchCall), [*locations agents restore*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentRestoreCall), [*locations agents sessions detect intent*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentSessionDetectIntentCall), [*locations agents sessions entity types create*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentSessionEntityTypeCreateCall), [*locations agents sessions entity types delete*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentSessionEntityTypeDeleteCall), [*locations agents sessions entity types get*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentSessionEntityTypeGetCall), [*locations agents sessions entity types list*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentSessionEntityTypeListCall), [*locations agents sessions entity types patch*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentSessionEntityTypePatchCall), [*locations agents sessions fulfill intent*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentSessionFulfillIntentCall), [*locations agents sessions match intent*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentSessionMatchIntentCall), [*locations agents test cases batch delete*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentTestCaseBatchDeleteCall), [*locations agents test cases batch run*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentTestCaseBatchRunCall), [*locations agents test cases calculate coverage*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentTestCaseCalculateCoverageCall), [*locations agents test cases create*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentTestCaseCreateCall), [*locations agents test cases export*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentTestCaseExportCall), [*locations agents test cases get*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentTestCaseGetCall), [*locations agents test cases import*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentTestCaseImportCall), [*locations agents test cases list*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentTestCaseListCall), [*locations agents test cases patch*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentTestCasePatchCall), [*locations agents test cases results get*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentTestCaseResultGetCall), [*locations agents test cases results list*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentTestCaseResultListCall), [*locations agents test cases run*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentTestCaseRunCall), [*locations agents validate*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentValidateCall), [*locations agents webhooks create*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentWebhookCreateCall), [*locations agents webhooks delete*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentWebhookDeleteCall), [*locations agents webhooks get*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentWebhookGetCall), [*locations agents webhooks list*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentWebhookListCall), [*locations agents webhooks patch*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationAgentWebhookPatchCall), [*locations get*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationOperationListCall), [*locations security settings create*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationSecuritySettingCreateCall), [*locations security settings delete*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationSecuritySettingDeleteCall), [*locations security settings get*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationSecuritySettingGetCall), [*locations security settings list*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationSecuritySettingListCall), [*locations security settings patch*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectLocationSecuritySettingPatchCall), [*operations cancel*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectOperationCancelCall), [*operations get*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectOperationGetCall) and [*operations list*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/api::ProjectOperationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/Dialogflow)** +* **[Hub](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/Dialogflow)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/client::CallBuilder) -* **[Resources](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/client::CallBuilder) +* **[Resources](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/client::Part)** + * **[Parts](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -107,7 +107,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -141,17 +141,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -161,29 +161,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/client::Delegate) to the -[Method Builder](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/client::Delegate) to the +[Method Builder](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/client::RequestValue) and -[decodable](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/client::RequestValue) and +[decodable](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-dialogflow3/3.0.0+20220228/google_dialogflow3/client::RequestValue) are moved +* [request values](https://docs.rs/google-dialogflow3/3.1.0+20220228/google_dialogflow3/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/dialogflow3/src/api.rs b/gen/dialogflow3/src/api.rs index b67fbc3925..8882cc71f2 100644 --- a/gen/dialogflow3/src/api.rs +++ b/gen/dialogflow3/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -124,7 +124,7 @@ impl<'a, > Dialogflow<> { Dialogflow { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://dialogflow.googleapis.com/".to_string(), _root_url: "https://dialogflow.googleapis.com/".to_string(), } @@ -135,7 +135,7 @@ impl<'a, > Dialogflow<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -3417,7 +3417,7 @@ impl client::Part for GoogleTypeLatLng {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_agents_changelogs_get(...)`, `locations_agents_changelogs_list(...)`, `locations_agents_create(...)`, `locations_agents_delete(...)`, `locations_agents_entity_types_create(...)`, `locations_agents_entity_types_delete(...)`, `locations_agents_entity_types_get(...)`, `locations_agents_entity_types_list(...)`, `locations_agents_entity_types_patch(...)`, `locations_agents_environments_continuous_test_results_list(...)`, `locations_agents_environments_create(...)`, `locations_agents_environments_delete(...)`, `locations_agents_environments_deploy_flow(...)`, `locations_agents_environments_deployments_get(...)`, `locations_agents_environments_deployments_list(...)`, `locations_agents_environments_experiments_create(...)`, `locations_agents_environments_experiments_delete(...)`, `locations_agents_environments_experiments_get(...)`, `locations_agents_environments_experiments_list(...)`, `locations_agents_environments_experiments_patch(...)`, `locations_agents_environments_experiments_start(...)`, `locations_agents_environments_experiments_stop(...)`, `locations_agents_environments_get(...)`, `locations_agents_environments_list(...)`, `locations_agents_environments_lookup_environment_history(...)`, `locations_agents_environments_patch(...)`, `locations_agents_environments_run_continuous_test(...)`, `locations_agents_environments_sessions_detect_intent(...)`, `locations_agents_environments_sessions_entity_types_create(...)`, `locations_agents_environments_sessions_entity_types_delete(...)`, `locations_agents_environments_sessions_entity_types_get(...)`, `locations_agents_environments_sessions_entity_types_list(...)`, `locations_agents_environments_sessions_entity_types_patch(...)`, `locations_agents_environments_sessions_fulfill_intent(...)`, `locations_agents_environments_sessions_match_intent(...)`, `locations_agents_export(...)`, `locations_agents_flows_create(...)`, `locations_agents_flows_delete(...)`, `locations_agents_flows_export(...)`, `locations_agents_flows_get(...)`, `locations_agents_flows_get_validation_result(...)`, `locations_agents_flows_import(...)`, `locations_agents_flows_list(...)`, `locations_agents_flows_pages_create(...)`, `locations_agents_flows_pages_delete(...)`, `locations_agents_flows_pages_get(...)`, `locations_agents_flows_pages_list(...)`, `locations_agents_flows_pages_patch(...)`, `locations_agents_flows_patch(...)`, `locations_agents_flows_train(...)`, `locations_agents_flows_transition_route_groups_create(...)`, `locations_agents_flows_transition_route_groups_delete(...)`, `locations_agents_flows_transition_route_groups_get(...)`, `locations_agents_flows_transition_route_groups_list(...)`, `locations_agents_flows_transition_route_groups_patch(...)`, `locations_agents_flows_validate(...)`, `locations_agents_flows_versions_compare_versions(...)`, `locations_agents_flows_versions_create(...)`, `locations_agents_flows_versions_delete(...)`, `locations_agents_flows_versions_get(...)`, `locations_agents_flows_versions_list(...)`, `locations_agents_flows_versions_load(...)`, `locations_agents_flows_versions_patch(...)`, `locations_agents_get(...)`, `locations_agents_get_validation_result(...)`, `locations_agents_intents_create(...)`, `locations_agents_intents_delete(...)`, `locations_agents_intents_get(...)`, `locations_agents_intents_list(...)`, `locations_agents_intents_patch(...)`, `locations_agents_list(...)`, `locations_agents_patch(...)`, `locations_agents_restore(...)`, `locations_agents_sessions_detect_intent(...)`, `locations_agents_sessions_entity_types_create(...)`, `locations_agents_sessions_entity_types_delete(...)`, `locations_agents_sessions_entity_types_get(...)`, `locations_agents_sessions_entity_types_list(...)`, `locations_agents_sessions_entity_types_patch(...)`, `locations_agents_sessions_fulfill_intent(...)`, `locations_agents_sessions_match_intent(...)`, `locations_agents_test_cases_batch_delete(...)`, `locations_agents_test_cases_batch_run(...)`, `locations_agents_test_cases_calculate_coverage(...)`, `locations_agents_test_cases_create(...)`, `locations_agents_test_cases_export(...)`, `locations_agents_test_cases_get(...)`, `locations_agents_test_cases_import(...)`, `locations_agents_test_cases_list(...)`, `locations_agents_test_cases_patch(...)`, `locations_agents_test_cases_results_get(...)`, `locations_agents_test_cases_results_list(...)`, `locations_agents_test_cases_run(...)`, `locations_agents_validate(...)`, `locations_agents_webhooks_create(...)`, `locations_agents_webhooks_delete(...)`, `locations_agents_webhooks_get(...)`, `locations_agents_webhooks_list(...)`, `locations_agents_webhooks_patch(...)`, `locations_get(...)`, `locations_list(...)`, `locations_operations_cancel(...)`, `locations_operations_get(...)`, `locations_operations_list(...)`, `locations_security_settings_create(...)`, `locations_security_settings_delete(...)`, `locations_security_settings_get(...)`, `locations_security_settings_list(...)`, `locations_security_settings_patch(...)`, `operations_cancel(...)`, `operations_get(...)` and `operations_list(...)` /// // to build up your call. @@ -5566,7 +5566,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5822,7 +5822,7 @@ impl<'a> ProjectLocationAgentChangelogGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6115,7 +6115,7 @@ impl<'a> ProjectLocationAgentChangelogListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6412,7 +6412,7 @@ impl<'a> ProjectLocationAgentEntityTypeCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6680,7 +6680,7 @@ impl<'a> ProjectLocationAgentEntityTypeDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6948,7 +6948,7 @@ impl<'a> ProjectLocationAgentEntityTypeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7241,7 +7241,7 @@ impl<'a> ProjectLocationAgentEntityTypeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7550,7 +7550,7 @@ impl<'a> ProjectLocationAgentEntityTypePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7830,7 +7830,7 @@ impl<'a> ProjectLocationAgentEnvironmentContinuousTestResultListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8086,7 +8086,7 @@ impl<'a> ProjectLocationAgentEnvironmentDeploymentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8367,7 +8367,7 @@ impl<'a> ProjectLocationAgentEnvironmentDeploymentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8652,7 +8652,7 @@ impl<'a> ProjectLocationAgentEnvironmentExperimentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8908,7 +8908,7 @@ impl<'a> ProjectLocationAgentEnvironmentExperimentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9164,7 +9164,7 @@ impl<'a> ProjectLocationAgentEnvironmentExperimentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9445,7 +9445,7 @@ impl<'a> ProjectLocationAgentEnvironmentExperimentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9743,7 +9743,7 @@ impl<'a> ProjectLocationAgentEnvironmentExperimentPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10029,7 +10029,7 @@ impl<'a> ProjectLocationAgentEnvironmentExperimentStartCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10315,7 +10315,7 @@ impl<'a> ProjectLocationAgentEnvironmentExperimentStopCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10600,7 +10600,7 @@ impl<'a> ProjectLocationAgentEnvironmentSessionEntityTypeCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10856,7 +10856,7 @@ impl<'a> ProjectLocationAgentEnvironmentSessionEntityTypeDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11112,7 +11112,7 @@ impl<'a> ProjectLocationAgentEnvironmentSessionEntityTypeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11393,7 +11393,7 @@ impl<'a> ProjectLocationAgentEnvironmentSessionEntityTypeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11691,7 +11691,7 @@ impl<'a> ProjectLocationAgentEnvironmentSessionEntityTypePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11977,7 +11977,7 @@ impl<'a> ProjectLocationAgentEnvironmentSessionDetectIntentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12263,7 +12263,7 @@ impl<'a> ProjectLocationAgentEnvironmentSessionFulfillIntentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12549,7 +12549,7 @@ impl<'a> ProjectLocationAgentEnvironmentSessionMatchIntentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12834,7 +12834,7 @@ impl<'a> ProjectLocationAgentEnvironmentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13091,7 +13091,7 @@ impl<'a> ProjectLocationAgentEnvironmentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13376,7 +13376,7 @@ impl<'a> ProjectLocationAgentEnvironmentDeployFlowCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13632,7 +13632,7 @@ impl<'a> ProjectLocationAgentEnvironmentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13912,7 +13912,7 @@ impl<'a> ProjectLocationAgentEnvironmentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14193,7 +14193,7 @@ impl<'a> ProjectLocationAgentEnvironmentLookupEnvironmentHistoryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14491,7 +14491,7 @@ impl<'a> ProjectLocationAgentEnvironmentPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14777,7 +14777,7 @@ impl<'a> ProjectLocationAgentEnvironmentRunContinuousTestCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15074,7 +15074,7 @@ impl<'a> ProjectLocationAgentFlowPageCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15342,7 +15342,7 @@ impl<'a> ProjectLocationAgentFlowPageDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15610,7 +15610,7 @@ impl<'a> ProjectLocationAgentFlowPageGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15903,7 +15903,7 @@ impl<'a> ProjectLocationAgentFlowPageListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16213,7 +16213,7 @@ impl<'a> ProjectLocationAgentFlowPagePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16510,7 +16510,7 @@ impl<'a> ProjectLocationAgentFlowTransitionRouteGroupCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16778,7 +16778,7 @@ impl<'a> ProjectLocationAgentFlowTransitionRouteGroupDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17046,7 +17046,7 @@ impl<'a> ProjectLocationAgentFlowTransitionRouteGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17339,7 +17339,7 @@ impl<'a> ProjectLocationAgentFlowTransitionRouteGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17649,7 +17649,7 @@ impl<'a> ProjectLocationAgentFlowTransitionRouteGroupPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17935,7 +17935,7 @@ impl<'a> ProjectLocationAgentFlowVersionCompareVersionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18220,7 +18220,7 @@ impl<'a> ProjectLocationAgentFlowVersionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18476,7 +18476,7 @@ impl<'a> ProjectLocationAgentFlowVersionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18732,7 +18732,7 @@ impl<'a> ProjectLocationAgentFlowVersionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19013,7 +19013,7 @@ impl<'a> ProjectLocationAgentFlowVersionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19299,7 +19299,7 @@ impl<'a> ProjectLocationAgentFlowVersionLoadCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19597,7 +19597,7 @@ impl<'a> ProjectLocationAgentFlowVersionPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19894,7 +19894,7 @@ impl<'a> ProjectLocationAgentFlowCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20163,7 +20163,7 @@ impl<'a> ProjectLocationAgentFlowDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20448,7 +20448,7 @@ impl<'a> ProjectLocationAgentFlowExportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20716,7 +20716,7 @@ impl<'a> ProjectLocationAgentFlowGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20985,7 +20985,7 @@ impl<'a> ProjectLocationAgentFlowGetValidationResultCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21270,7 +21270,7 @@ impl<'a> ProjectLocationAgentFlowImportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21563,7 +21563,7 @@ impl<'a> ProjectLocationAgentFlowListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21873,7 +21873,7 @@ impl<'a> ProjectLocationAgentFlowPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22159,7 +22159,7 @@ impl<'a> ProjectLocationAgentFlowTrainCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22445,7 +22445,7 @@ impl<'a> ProjectLocationAgentFlowValidateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22742,7 +22742,7 @@ impl<'a> ProjectLocationAgentIntentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22998,7 +22998,7 @@ impl<'a> ProjectLocationAgentIntentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23266,7 +23266,7 @@ impl<'a> ProjectLocationAgentIntentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23571,7 +23571,7 @@ impl<'a> ProjectLocationAgentIntentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23881,7 +23881,7 @@ impl<'a> ProjectLocationAgentIntentPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24166,7 +24166,7 @@ impl<'a> ProjectLocationAgentSessionEntityTypeCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24422,7 +24422,7 @@ impl<'a> ProjectLocationAgentSessionEntityTypeDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24678,7 +24678,7 @@ impl<'a> ProjectLocationAgentSessionEntityTypeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24959,7 +24959,7 @@ impl<'a> ProjectLocationAgentSessionEntityTypeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25257,7 +25257,7 @@ impl<'a> ProjectLocationAgentSessionEntityTypePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25543,7 +25543,7 @@ impl<'a> ProjectLocationAgentSessionDetectIntentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25829,7 +25829,7 @@ impl<'a> ProjectLocationAgentSessionFulfillIntentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26114,7 +26114,7 @@ impl<'a> ProjectLocationAgentSessionMatchIntentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26370,7 +26370,7 @@ impl<'a> ProjectLocationAgentTestCaseResultGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26663,7 +26663,7 @@ impl<'a> ProjectLocationAgentTestCaseResultListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26949,7 +26949,7 @@ impl<'a> ProjectLocationAgentTestCaseBatchDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27234,7 +27234,7 @@ impl<'a> ProjectLocationAgentTestCaseBatchRunCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27503,7 +27503,7 @@ impl<'a> ProjectLocationAgentTestCaseCalculateCoverageCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27789,7 +27789,7 @@ impl<'a> ProjectLocationAgentTestCaseCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -28074,7 +28074,7 @@ impl<'a> ProjectLocationAgentTestCaseExportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28331,7 +28331,7 @@ impl<'a> ProjectLocationAgentTestCaseGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -28616,7 +28616,7 @@ impl<'a> ProjectLocationAgentTestCaseImportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28909,7 +28909,7 @@ impl<'a> ProjectLocationAgentTestCaseListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29207,7 +29207,7 @@ impl<'a> ProjectLocationAgentTestCasePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29493,7 +29493,7 @@ impl<'a> ProjectLocationAgentTestCaseRunCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29778,7 +29778,7 @@ impl<'a> ProjectLocationAgentWebhookCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30046,7 +30046,7 @@ impl<'a> ProjectLocationAgentWebhookDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30302,7 +30302,7 @@ impl<'a> ProjectLocationAgentWebhookGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30583,7 +30583,7 @@ impl<'a> ProjectLocationAgentWebhookListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -30881,7 +30881,7 @@ impl<'a> ProjectLocationAgentWebhookPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -31166,7 +31166,7 @@ impl<'a> ProjectLocationAgentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31423,7 +31423,7 @@ impl<'a> ProjectLocationAgentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -31708,7 +31708,7 @@ impl<'a> ProjectLocationAgentExportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31964,7 +31964,7 @@ impl<'a> ProjectLocationAgentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32232,7 +32232,7 @@ impl<'a> ProjectLocationAgentGetValidationResultCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32513,7 +32513,7 @@ impl<'a> ProjectLocationAgentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -32811,7 +32811,7 @@ impl<'a> ProjectLocationAgentPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -33097,7 +33097,7 @@ impl<'a> ProjectLocationAgentRestoreCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -33382,7 +33382,7 @@ impl<'a> ProjectLocationAgentValidateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33638,7 +33638,7 @@ impl<'a> ProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33894,7 +33894,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34187,7 +34187,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -34472,7 +34472,7 @@ impl<'a> ProjectLocationSecuritySettingCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34728,7 +34728,7 @@ impl<'a> ProjectLocationSecuritySettingDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34984,7 +34984,7 @@ impl<'a> ProjectLocationSecuritySettingGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -35265,7 +35265,7 @@ impl<'a> ProjectLocationSecuritySettingListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35562,7 +35562,7 @@ impl<'a> ProjectLocationSecuritySettingPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -35818,7 +35818,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -36110,7 +36110,7 @@ impl<'a> ProjectLocationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -36366,7 +36366,7 @@ impl<'a> ProjectOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -36622,7 +36622,7 @@ impl<'a> ProjectOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/dialogflow3/src/lib.rs b/gen/dialogflow3/src/lib.rs index 9dd037144e..d5496a54f5 100644 --- a/gen/dialogflow3/src/lib.rs +++ b/gen/dialogflow3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Dialogflow* crate version *3.0.0+20220228*, where *20220228* is the exact revision of the *dialogflow:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Dialogflow* crate version *3.1.0+20220228*, where *20220228* is the exact revision of the *dialogflow:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Dialogflow* *v3* API can be found at the //! [official documentation site](https://cloud.google.com/dialogflow/). @@ -108,7 +108,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Dialogflow::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/digitalassetlinks1-cli/Cargo.toml b/gen/digitalassetlinks1-cli/Cargo.toml index edb23f7f7e..57a9fac9a2 100644 --- a/gen/digitalassetlinks1-cli/Cargo.toml +++ b/gen/digitalassetlinks1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-digitalassetlinks1-cli" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with digitalassetlinks (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/digitalassetlinks1-cli" @@ -20,12 +20,12 @@ name = "digitalassetlinks1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-digitalassetlinks1] path = "../digitalassetlinks1" -version = "3.0.0+20220301" +version = "3.1.0+20220301" diff --git a/gen/digitalassetlinks1-cli/README.md b/gen/digitalassetlinks1-cli/README.md index 8ed38ab87b..538666cea5 100644 --- a/gen/digitalassetlinks1-cli/README.md +++ b/gen/digitalassetlinks1-cli/README.md @@ -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 *digitalassetlinks* API at revision *20220301*. The CLI is at version *3.0.0*. +This documentation was generated from the *digitalassetlinks* API at revision *20220301*. The CLI is at version *3.1.0*. ```bash digitalassetlinks1 [options] diff --git a/gen/digitalassetlinks1-cli/mkdocs.yml b/gen/digitalassetlinks1-cli/mkdocs.yml index cd55acecf7..7854642c0c 100644 --- a/gen/digitalassetlinks1-cli/mkdocs.yml +++ b/gen/digitalassetlinks1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: digitalassetlinks v3.0.0+20220301 +site_name: digitalassetlinks v3.1.0+20220301 site_url: http://byron.github.io/google-apis-rs/google-digitalassetlinks1-cli site_description: A complete library to interact with digitalassetlinks (protocol v1) diff --git a/gen/digitalassetlinks1-cli/src/main.rs b/gen/digitalassetlinks1-cli/src/main.rs index da7bdc882d..c12e1529fc 100644 --- a/gen/digitalassetlinks1-cli/src/main.rs +++ b/gen/digitalassetlinks1-cli/src/main.rs @@ -329,7 +329,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/digitalassetlinks1", 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::Digitalassetlinks::new(client, auth), @@ -428,7 +434,7 @@ async fn main() { let mut app = App::new("digitalassetlinks1") .author("Sebastian Thiel ") - .version("3.0.0+20220301") + .version("3.1.0+20220301") .about("Discovers relationships between online assets such as websites or mobile apps.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_digitalassetlinks1_cli") .arg(Arg::with_name("folder") diff --git a/gen/digitalassetlinks1/Cargo.toml b/gen/digitalassetlinks1/Cargo.toml index b1ad585b8a..0dc6a6f25f 100644 --- a/gen/digitalassetlinks1/Cargo.toml +++ b/gen/digitalassetlinks1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-digitalassetlinks1" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with digitalassetlinks (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/digitalassetlinks1" homepage = "https://developers.google.com/digital-asset-links/" -documentation = "https://docs.rs/google-digitalassetlinks1/3.0.0+20220301" +documentation = "https://docs.rs/google-digitalassetlinks1/3.1.0+20220301" license = "MIT" keywords = ["digitalassetlinks", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/digitalassetlinks1/README.md b/gen/digitalassetlinks1/README.md index bbdc463fb2..af1e74efd4 100644 --- a/gen/digitalassetlinks1/README.md +++ b/gen/digitalassetlinks1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-digitalassetlinks1` library allows access to all features of the *Google digitalassetlinks* service. -This documentation was generated from *digitalassetlinks* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *digitalassetlinks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *digitalassetlinks* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *digitalassetlinks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *digitalassetlinks* *v1* API can be found at the [official documentation site](https://developers.google.com/digital-asset-links/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-digitalassetlinks1/3.0.0+20220301/google_digitalassetlinks1/Digitalassetlinks) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-digitalassetlinks1/3.1.0+20220301/google_digitalassetlinks1/Digitalassetlinks) ... * assetlinks - * [*bulk check*](https://docs.rs/google-digitalassetlinks1/3.0.0+20220301/google_digitalassetlinks1/api::AssetlinkBulkCheckCall) and [*check*](https://docs.rs/google-digitalassetlinks1/3.0.0+20220301/google_digitalassetlinks1/api::AssetlinkCheckCall) -* [statements](https://docs.rs/google-digitalassetlinks1/3.0.0+20220301/google_digitalassetlinks1/api::Statement) - * [*list*](https://docs.rs/google-digitalassetlinks1/3.0.0+20220301/google_digitalassetlinks1/api::StatementListCall) + * [*bulk check*](https://docs.rs/google-digitalassetlinks1/3.1.0+20220301/google_digitalassetlinks1/api::AssetlinkBulkCheckCall) and [*check*](https://docs.rs/google-digitalassetlinks1/3.1.0+20220301/google_digitalassetlinks1/api::AssetlinkCheckCall) +* [statements](https://docs.rs/google-digitalassetlinks1/3.1.0+20220301/google_digitalassetlinks1/api::Statement) + * [*list*](https://docs.rs/google-digitalassetlinks1/3.1.0+20220301/google_digitalassetlinks1/api::StatementListCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-digitalassetlinks1/3.0.0+20220301/google_digitalassetlinks1/Digitalassetlinks)** +* **[Hub](https://docs.rs/google-digitalassetlinks1/3.1.0+20220301/google_digitalassetlinks1/Digitalassetlinks)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-digitalassetlinks1/3.0.0+20220301/google_digitalassetlinks1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-digitalassetlinks1/3.0.0+20220301/google_digitalassetlinks1/client::CallBuilder) -* **[Resources](https://docs.rs/google-digitalassetlinks1/3.0.0+20220301/google_digitalassetlinks1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-digitalassetlinks1/3.1.0+20220301/google_digitalassetlinks1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-digitalassetlinks1/3.1.0+20220301/google_digitalassetlinks1/client::CallBuilder) +* **[Resources](https://docs.rs/google-digitalassetlinks1/3.1.0+20220301/google_digitalassetlinks1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-digitalassetlinks1/3.0.0+20220301/google_digitalassetlinks1/client::Part)** + * **[Parts](https://docs.rs/google-digitalassetlinks1/3.1.0+20220301/google_digitalassetlinks1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-digitalassetlinks1/3.0.0+20220301/google_digitalassetlinks1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-digitalassetlinks1/3.1.0+20220301/google_digitalassetlinks1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -93,7 +93,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Digitalassetlinks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Digitalassetlinks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -126,17 +126,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-digitalassetlinks1/3.0.0+20220301/google_digitalassetlinks1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-digitalassetlinks1/3.1.0+20220301/google_digitalassetlinks1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-digitalassetlinks1/3.0.0+20220301/google_digitalassetlinks1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-digitalassetlinks1/3.1.0+20220301/google_digitalassetlinks1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-digitalassetlinks1/3.0.0+20220301/google_digitalassetlinks1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-digitalassetlinks1/3.1.0+20220301/google_digitalassetlinks1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-digitalassetlinks1/3.0.0+20220301/google_digitalassetlinks1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-digitalassetlinks1/3.1.0+20220301/google_digitalassetlinks1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -146,29 +146,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-digitalassetlinks1/3.0.0+20220301/google_digitalassetlinks1/client::Delegate) to the -[Method Builder](https://docs.rs/google-digitalassetlinks1/3.0.0+20220301/google_digitalassetlinks1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-digitalassetlinks1/3.1.0+20220301/google_digitalassetlinks1/client::Delegate) to the +[Method Builder](https://docs.rs/google-digitalassetlinks1/3.1.0+20220301/google_digitalassetlinks1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-digitalassetlinks1/3.0.0+20220301/google_digitalassetlinks1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-digitalassetlinks1/3.1.0+20220301/google_digitalassetlinks1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-digitalassetlinks1/3.0.0+20220301/google_digitalassetlinks1/client::RequestValue) and -[decodable](https://docs.rs/google-digitalassetlinks1/3.0.0+20220301/google_digitalassetlinks1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-digitalassetlinks1/3.1.0+20220301/google_digitalassetlinks1/client::RequestValue) and +[decodable](https://docs.rs/google-digitalassetlinks1/3.1.0+20220301/google_digitalassetlinks1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-digitalassetlinks1/3.0.0+20220301/google_digitalassetlinks1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-digitalassetlinks1/3.1.0+20220301/google_digitalassetlinks1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-digitalassetlinks1/3.0.0+20220301/google_digitalassetlinks1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-digitalassetlinks1/3.1.0+20220301/google_digitalassetlinks1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-digitalassetlinks1/3.0.0+20220301/google_digitalassetlinks1/client::RequestValue) are moved +* [request values](https://docs.rs/google-digitalassetlinks1/3.1.0+20220301/google_digitalassetlinks1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/digitalassetlinks1/src/api.rs b/gen/digitalassetlinks1/src/api.rs index 843065d610..e2609da89b 100644 --- a/gen/digitalassetlinks1/src/api.rs +++ b/gen/digitalassetlinks1/src/api.rs @@ -49,7 +49,7 @@ use crate::client; /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Digitalassetlinks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Digitalassetlinks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -97,7 +97,7 @@ impl<'a, > Digitalassetlinks<> { Digitalassetlinks { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://digitalassetlinks.googleapis.com/".to_string(), _root_url: "https://digitalassetlinks.googleapis.com/".to_string(), } @@ -111,7 +111,7 @@ impl<'a, > Digitalassetlinks<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -372,7 +372,7 @@ impl client::Part for WebAsset {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Digitalassetlinks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Digitalassetlinks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `bulk_check(...)` and `check(...)` /// // to build up your call. @@ -447,7 +447,7 @@ impl<'a> AssetlinkMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Digitalassetlinks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Digitalassetlinks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -511,7 +511,7 @@ impl<'a> StatementMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Digitalassetlinks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Digitalassetlinks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -729,7 +729,7 @@ impl<'a> AssetlinkBulkCheckCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Digitalassetlinks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Digitalassetlinks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1002,7 +1002,7 @@ impl<'a> AssetlinkCheckCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Digitalassetlinks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Digitalassetlinks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/digitalassetlinks1/src/lib.rs b/gen/digitalassetlinks1/src/lib.rs index 90b21520b7..f4f9847af6 100644 --- a/gen/digitalassetlinks1/src/lib.rs +++ b/gen/digitalassetlinks1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *digitalassetlinks* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *digitalassetlinks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *digitalassetlinks* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *digitalassetlinks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *digitalassetlinks* *v1* API can be found at the //! [official documentation site](https://developers.google.com/digital-asset-links/). @@ -94,7 +94,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Digitalassetlinks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Digitalassetlinks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/discovery1-cli/Cargo.toml b/gen/discovery1-cli/Cargo.toml index a3e8943d37..598ea35e5c 100644 --- a/gen/discovery1-cli/Cargo.toml +++ b/gen/discovery1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-discovery1-cli" -version = "3.0.0+20200806" +version = "3.1.0+20200806" authors = ["Sebastian Thiel "] description = "A complete library to interact with discovery (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/discovery1-cli" @@ -20,12 +20,12 @@ name = "discovery1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-discovery1] path = "../discovery1" -version = "3.0.0+20200806" +version = "3.1.0+20200806" diff --git a/gen/discovery1-cli/README.md b/gen/discovery1-cli/README.md index 944803331e..82fb4450cd 100644 --- a/gen/discovery1-cli/README.md +++ b/gen/discovery1-cli/README.md @@ -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 *discovery* API at revision *20200806*. The CLI is at version *3.0.0*. +This documentation was generated from the *discovery* API at revision *20200806*. The CLI is at version *3.1.0*. ```bash discovery1 [options] diff --git a/gen/discovery1-cli/mkdocs.yml b/gen/discovery1-cli/mkdocs.yml index 41dca12772..3737517990 100644 --- a/gen/discovery1-cli/mkdocs.yml +++ b/gen/discovery1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: discovery v3.0.0+20200806 +site_name: discovery v3.1.0+20200806 site_url: http://byron.github.io/google-apis-rs/google-discovery1-cli site_description: A complete library to interact with discovery (protocol v1) diff --git a/gen/discovery1-cli/src/main.rs b/gen/discovery1-cli/src/main.rs index 0cdb2b07e5..4a40c76ee4 100644 --- a/gen/discovery1-cli/src/main.rs +++ b/gen/discovery1-cli/src/main.rs @@ -200,7 +200,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/discovery1", 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::Discovery::new(client, auth), @@ -283,7 +289,7 @@ async fn main() { let mut app = App::new("discovery1") .author("Sebastian Thiel ") - .version("3.0.0+20200806") + .version("3.1.0+20200806") .about("Provides information about other Google APIs, such as what APIs are available, the resource, and method details for each API.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_discovery1_cli") .arg(Arg::with_name("folder") diff --git a/gen/discovery1/Cargo.toml b/gen/discovery1/Cargo.toml index 22a350aee0..0ac5c2d021 100644 --- a/gen/discovery1/Cargo.toml +++ b/gen/discovery1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-discovery1" -version = "3.0.0+20200806" +version = "3.1.0+20200806" authors = ["Sebastian Thiel "] description = "A complete library to interact with discovery (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/discovery1" homepage = "https://developers.google.com/discovery/" -documentation = "https://docs.rs/google-discovery1/3.0.0+20200806" +documentation = "https://docs.rs/google-discovery1/3.1.0+20200806" license = "MIT" keywords = ["discovery", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/discovery1/README.md b/gen/discovery1/README.md index 1df6e0e2f0..6cc095ee2a 100644 --- a/gen/discovery1/README.md +++ b/gen/discovery1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-discovery1` library allows access to all features of the *Google discovery* service. -This documentation was generated from *discovery* crate version *3.0.0+20200806*, where *20200806* is the exact revision of the *discovery:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *discovery* crate version *3.1.0+20200806*, where *20200806* is the exact revision of the *discovery:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *discovery* *v1* API can be found at the [official documentation site](https://developers.google.com/discovery/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-discovery1/3.0.0+20200806/google_discovery1/Discovery) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-discovery1/3.1.0+20200806/google_discovery1/Discovery) ... * apis - * [*get rest*](https://docs.rs/google-discovery1/3.0.0+20200806/google_discovery1/api::ApiGetRestCall) and [*list*](https://docs.rs/google-discovery1/3.0.0+20200806/google_discovery1/api::ApiListCall) + * [*get rest*](https://docs.rs/google-discovery1/3.1.0+20200806/google_discovery1/api::ApiGetRestCall) and [*list*](https://docs.rs/google-discovery1/3.1.0+20200806/google_discovery1/api::ApiListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-discovery1/3.0.0+20200806/google_discovery1/Discovery)** +* **[Hub](https://docs.rs/google-discovery1/3.1.0+20200806/google_discovery1/Discovery)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-discovery1/3.0.0+20200806/google_discovery1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-discovery1/3.0.0+20200806/google_discovery1/client::CallBuilder) -* **[Resources](https://docs.rs/google-discovery1/3.0.0+20200806/google_discovery1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-discovery1/3.1.0+20200806/google_discovery1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-discovery1/3.1.0+20200806/google_discovery1/client::CallBuilder) +* **[Resources](https://docs.rs/google-discovery1/3.1.0+20200806/google_discovery1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-discovery1/3.0.0+20200806/google_discovery1/client::Part)** + * **[Parts](https://docs.rs/google-discovery1/3.1.0+20200806/google_discovery1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-discovery1/3.0.0+20200806/google_discovery1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-discovery1/3.1.0+20200806/google_discovery1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -90,7 +90,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Discovery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Discovery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -118,17 +118,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-discovery1/3.0.0+20200806/google_discovery1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-discovery1/3.1.0+20200806/google_discovery1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-discovery1/3.0.0+20200806/google_discovery1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-discovery1/3.1.0+20200806/google_discovery1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-discovery1/3.0.0+20200806/google_discovery1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-discovery1/3.1.0+20200806/google_discovery1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-discovery1/3.0.0+20200806/google_discovery1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-discovery1/3.1.0+20200806/google_discovery1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -138,29 +138,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-discovery1/3.0.0+20200806/google_discovery1/client::Delegate) to the -[Method Builder](https://docs.rs/google-discovery1/3.0.0+20200806/google_discovery1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-discovery1/3.1.0+20200806/google_discovery1/client::Delegate) to the +[Method Builder](https://docs.rs/google-discovery1/3.1.0+20200806/google_discovery1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-discovery1/3.0.0+20200806/google_discovery1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-discovery1/3.1.0+20200806/google_discovery1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-discovery1/3.0.0+20200806/google_discovery1/client::RequestValue) and -[decodable](https://docs.rs/google-discovery1/3.0.0+20200806/google_discovery1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-discovery1/3.1.0+20200806/google_discovery1/client::RequestValue) and +[decodable](https://docs.rs/google-discovery1/3.1.0+20200806/google_discovery1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-discovery1/3.0.0+20200806/google_discovery1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-discovery1/3.1.0+20200806/google_discovery1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-discovery1/3.0.0+20200806/google_discovery1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-discovery1/3.1.0+20200806/google_discovery1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-discovery1/3.0.0+20200806/google_discovery1/client::RequestValue) are moved +* [request values](https://docs.rs/google-discovery1/3.1.0+20200806/google_discovery1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/discovery1/src/api.rs b/gen/discovery1/src/api.rs index eb413aa589..1c501a181b 100644 --- a/gen/discovery1/src/api.rs +++ b/gen/discovery1/src/api.rs @@ -48,7 +48,7 @@ use crate::client; /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Discovery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Discovery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -91,7 +91,7 @@ impl<'a, > Discovery<> { Discovery { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/discovery/v1/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -102,7 +102,7 @@ impl<'a, > Discovery<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -651,7 +651,7 @@ impl client::Part for RestMethodResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Discovery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Discovery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get_rest(...)` and `list(...)` /// // to build up your call. @@ -730,7 +730,7 @@ impl<'a> ApiMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Discovery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Discovery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -951,7 +951,7 @@ impl<'a> ApiGetRestCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Discovery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Discovery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/discovery1/src/lib.rs b/gen/discovery1/src/lib.rs index fcbb329454..9dc3345dcb 100644 --- a/gen/discovery1/src/lib.rs +++ b/gen/discovery1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *discovery* crate version *3.0.0+20200806*, where *20200806* is the exact revision of the *discovery:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *discovery* crate version *3.1.0+20200806*, where *20200806* is the exact revision of the *discovery:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *discovery* *v1* API can be found at the //! [official documentation site](https://developers.google.com/discovery/). @@ -91,7 +91,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Discovery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Discovery::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/displayvideo1-cli/Cargo.toml b/gen/displayvideo1-cli/Cargo.toml index 0df5efd3bf..695239c7cb 100644 --- a/gen/displayvideo1-cli/Cargo.toml +++ b/gen/displayvideo1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-displayvideo1-cli" -version = "3.0.0+20220303" +version = "3.1.0+20220303" authors = ["Sebastian Thiel "] description = "A complete library to interact with Display Video (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/displayvideo1-cli" @@ -20,12 +20,12 @@ name = "displayvideo1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-displayvideo1] path = "../displayvideo1" -version = "3.0.0+20220303" +version = "3.1.0+20220303" diff --git a/gen/displayvideo1-cli/README.md b/gen/displayvideo1-cli/README.md index 2ec4afe221..bc7be0184b 100644 --- a/gen/displayvideo1-cli/README.md +++ b/gen/displayvideo1-cli/README.md @@ -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 *Display Video* API at revision *20220303*. The CLI is at version *3.0.0*. +This documentation was generated from the *Display Video* API at revision *20220303*. The CLI is at version *3.1.0*. ```bash displayvideo1 [options] diff --git a/gen/displayvideo1-cli/mkdocs.yml b/gen/displayvideo1-cli/mkdocs.yml index ff163efafb..ca6576cd6e 100644 --- a/gen/displayvideo1-cli/mkdocs.yml +++ b/gen/displayvideo1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Display Video v3.0.0+20220303 +site_name: Display Video v3.1.0+20220303 site_url: http://byron.github.io/google-apis-rs/google-displayvideo1-cli site_description: A complete library to interact with Display Video (protocol v1) diff --git a/gen/displayvideo1-cli/src/main.rs b/gen/displayvideo1-cli/src/main.rs index b7cd52f16c..e64301ff32 100644 --- a/gen/displayvideo1-cli/src/main.rs +++ b/gen/displayvideo1-cli/src/main.rs @@ -11604,7 +11604,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/displayvideo1", 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::DisplayVideo::new(client, auth), @@ -15596,7 +15602,7 @@ async fn main() { let mut app = App::new("displayvideo1") .author("Sebastian Thiel ") - .version("3.0.0+20220303") + .version("3.1.0+20220303") .about("Display & Video 360 API allows users to automate complex Display & Video 360 workflows, such as creating insertion orders and setting targeting options for individual line items.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_displayvideo1_cli") .arg(Arg::with_name("url") diff --git a/gen/displayvideo1/Cargo.toml b/gen/displayvideo1/Cargo.toml index 79bb984266..262cc19177 100644 --- a/gen/displayvideo1/Cargo.toml +++ b/gen/displayvideo1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-displayvideo1" -version = "3.0.0+20220303" +version = "3.1.0+20220303" authors = ["Sebastian Thiel "] description = "A complete library to interact with Display Video (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/displayvideo1" homepage = "https://developers.google.com/display-video/" -documentation = "https://docs.rs/google-displayvideo1/3.0.0+20220303" +documentation = "https://docs.rs/google-displayvideo1/3.1.0+20220303" license = "MIT" keywords = ["displayvideo", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/displayvideo1/README.md b/gen/displayvideo1/README.md index fa4d32091e..c883218bb9 100644 --- a/gen/displayvideo1/README.md +++ b/gen/displayvideo1/README.md @@ -5,52 +5,52 @@ DO NOT EDIT ! --> The `google-displayvideo1` library allows access to all features of the *Google Display Video* service. -This documentation was generated from *Display Video* crate version *3.0.0+20220303*, where *20220303* is the exact revision of the *displayvideo:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Display Video* crate version *3.1.0+20220303*, where *20220303* is the exact revision of the *displayvideo:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Display Video* *v1* API can be found at the [official documentation site](https://developers.google.com/display-video/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/DisplayVideo) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/DisplayVideo) ... -* [advertisers](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::Advertiser) - * [*assets upload*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserAssetUploadCall), [*audit*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserAuditCall), [*bulk edit advertiser assigned targeting options*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserBulkEditAdvertiserAssignedTargetingOptionCall), [*bulk list advertiser assigned targeting options*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserBulkListAdvertiserAssignedTargetingOptionCall), [*campaigns bulk list campaign assigned targeting options*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserCampaignBulkListCampaignAssignedTargetingOptionCall), [*campaigns create*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserCampaignCreateCall), [*campaigns delete*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserCampaignDeleteCall), [*campaigns get*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserCampaignGetCall), [*campaigns list*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserCampaignListCall), [*campaigns patch*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserCampaignPatchCall), [*campaigns targeting types assigned targeting options get*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserCampaignTargetingTypeAssignedTargetingOptionGetCall), [*campaigns targeting types assigned targeting options list*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserCampaignTargetingTypeAssignedTargetingOptionListCall), [*channels create*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserChannelCreateCall), [*channels get*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserChannelGetCall), [*channels list*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserChannelListCall), [*channels patch*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserChannelPatchCall), [*channels sites bulk edit*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserChannelSiteBulkEditCall), [*channels sites create*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserChannelSiteCreateCall), [*channels sites delete*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserChannelSiteDeleteCall), [*channels sites list*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserChannelSiteListCall), [*channels sites replace*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserChannelSiteReplaceCall), [*create*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserCreateCall), [*creatives create*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserCreativeCreateCall), [*creatives delete*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserCreativeDeleteCall), [*creatives get*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserCreativeGetCall), [*creatives list*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserCreativeListCall), [*creatives patch*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserCreativePatchCall), [*delete*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserDeleteCall), [*get*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserGetCall), [*insertion orders bulk list insertion order assigned targeting options*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserInsertionOrderBulkListInsertionOrderAssignedTargetingOptionCall), [*insertion orders create*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserInsertionOrderCreateCall), [*insertion orders delete*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserInsertionOrderDeleteCall), [*insertion orders get*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserInsertionOrderGetCall), [*insertion orders list*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserInsertionOrderListCall), [*insertion orders patch*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserInsertionOrderPatchCall), [*insertion orders targeting types assigned targeting options get*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserInsertionOrderTargetingTypeAssignedTargetingOptionGetCall), [*insertion orders targeting types assigned targeting options list*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserInsertionOrderTargetingTypeAssignedTargetingOptionListCall), [*invoices list*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserInvoiceListCall), [*invoices lookup invoice currency*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserInvoiceLookupInvoiceCurrencyCall), [*line items bulk edit line item assigned targeting options*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserLineItemBulkEditLineItemAssignedTargetingOptionCall), [*line items bulk list line item assigned targeting options*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserLineItemBulkListLineItemAssignedTargetingOptionCall), [*line items create*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserLineItemCreateCall), [*line items delete*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserLineItemDeleteCall), [*line items generate default*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserLineItemGenerateDefaultCall), [*line items get*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserLineItemGetCall), [*line items list*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserLineItemListCall), [*line items patch*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserLineItemPatchCall), [*line items targeting types assigned targeting options create*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserLineItemTargetingTypeAssignedTargetingOptionCreateCall), [*line items targeting types assigned targeting options delete*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserLineItemTargetingTypeAssignedTargetingOptionDeleteCall), [*line items targeting types assigned targeting options get*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserLineItemTargetingTypeAssignedTargetingOptionGetCall), [*line items targeting types assigned targeting options list*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserLineItemTargetingTypeAssignedTargetingOptionListCall), [*list*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserListCall), [*location lists assigned locations bulk edit*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserLocationListAssignedLocationBulkEditCall), [*location lists assigned locations create*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserLocationListAssignedLocationCreateCall), [*location lists assigned locations delete*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserLocationListAssignedLocationDeleteCall), [*location lists assigned locations list*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserLocationListAssignedLocationListCall), [*location lists create*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserLocationListCreateCall), [*location lists get*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserLocationListGetCall), [*location lists list*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserLocationListListCall), [*location lists patch*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserLocationListPatchCall), [*manual triggers activate*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserManualTriggerActivateCall), [*manual triggers create*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserManualTriggerCreateCall), [*manual triggers deactivate*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserManualTriggerDeactivateCall), [*manual triggers get*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserManualTriggerGetCall), [*manual triggers list*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserManualTriggerListCall), [*manual triggers patch*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserManualTriggerPatchCall), [*negative keyword lists create*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserNegativeKeywordListCreateCall), [*negative keyword lists delete*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserNegativeKeywordListDeleteCall), [*negative keyword lists get*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserNegativeKeywordListGetCall), [*negative keyword lists list*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserNegativeKeywordListListCall), [*negative keyword lists negative keywords bulk edit*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserNegativeKeywordListNegativeKeywordBulkEditCall), [*negative keyword lists negative keywords create*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserNegativeKeywordListNegativeKeywordCreateCall), [*negative keyword lists negative keywords delete*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserNegativeKeywordListNegativeKeywordDeleteCall), [*negative keyword lists negative keywords list*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserNegativeKeywordListNegativeKeywordListCall), [*negative keyword lists negative keywords replace*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserNegativeKeywordListNegativeKeywordReplaceCall), [*negative keyword lists patch*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserNegativeKeywordListPatchCall), [*patch*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserPatchCall), [*targeting types assigned targeting options create*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserTargetingTypeAssignedTargetingOptionCreateCall), [*targeting types assigned targeting options delete*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserTargetingTypeAssignedTargetingOptionDeleteCall), [*targeting types assigned targeting options get*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserTargetingTypeAssignedTargetingOptionGetCall) and [*targeting types assigned targeting options list*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserTargetingTypeAssignedTargetingOptionListCall) -* [combined audiences](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::CombinedAudience) - * [*get*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::CombinedAudienceGetCall) and [*list*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::CombinedAudienceListCall) -* [custom bidding algorithms](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::CustomBiddingAlgorithm) - * [*create*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::CustomBiddingAlgorithmCreateCall), [*get*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::CustomBiddingAlgorithmGetCall), [*list*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::CustomBiddingAlgorithmListCall), [*patch*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::CustomBiddingAlgorithmPatchCall), [*scripts create*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::CustomBiddingAlgorithmScriptCreateCall), [*scripts get*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::CustomBiddingAlgorithmScriptGetCall), [*scripts list*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::CustomBiddingAlgorithmScriptListCall) and [*upload script*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::CustomBiddingAlgorithmUploadScriptCall) -* [custom lists](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::CustomList) - * [*get*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::CustomListGetCall) and [*list*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::CustomListListCall) -* [first and third party audiences](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::FirstAndThirdPartyAudience) - * [*create*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::FirstAndThirdPartyAudienceCreateCall), [*edit customer match members*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::FirstAndThirdPartyAudienceEditCustomerMatchMemberCall), [*get*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::FirstAndThirdPartyAudienceGetCall), [*list*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::FirstAndThirdPartyAudienceListCall) and [*patch*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::FirstAndThirdPartyAudiencePatchCall) -* [floodlight groups](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::FloodlightGroup) - * [*get*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::FloodlightGroupGetCall) and [*patch*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::FloodlightGroupPatchCall) -* [google audiences](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::GoogleAudience) - * [*get*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::GoogleAudienceGetCall) and [*list*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::GoogleAudienceListCall) -* [inventory source groups](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::InventorySourceGroup) - * [*assigned inventory sources bulk edit*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::InventorySourceGroupAssignedInventorySourceBulkEditCall), [*assigned inventory sources create*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::InventorySourceGroupAssignedInventorySourceCreateCall), [*assigned inventory sources delete*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::InventorySourceGroupAssignedInventorySourceDeleteCall), [*assigned inventory sources list*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::InventorySourceGroupAssignedInventorySourceListCall), [*create*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::InventorySourceGroupCreateCall), [*delete*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::InventorySourceGroupDeleteCall), [*get*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::InventorySourceGroupGetCall), [*list*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::InventorySourceGroupListCall) and [*patch*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::InventorySourceGroupPatchCall) -* [inventory sources](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::InventorySource) - * [*get*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::InventorySourceGetCall) and [*list*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::InventorySourceListCall) +* [advertisers](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::Advertiser) + * [*assets upload*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserAssetUploadCall), [*audit*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserAuditCall), [*bulk edit advertiser assigned targeting options*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserBulkEditAdvertiserAssignedTargetingOptionCall), [*bulk list advertiser assigned targeting options*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserBulkListAdvertiserAssignedTargetingOptionCall), [*campaigns bulk list campaign assigned targeting options*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserCampaignBulkListCampaignAssignedTargetingOptionCall), [*campaigns create*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserCampaignCreateCall), [*campaigns delete*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserCampaignDeleteCall), [*campaigns get*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserCampaignGetCall), [*campaigns list*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserCampaignListCall), [*campaigns patch*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserCampaignPatchCall), [*campaigns targeting types assigned targeting options get*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserCampaignTargetingTypeAssignedTargetingOptionGetCall), [*campaigns targeting types assigned targeting options list*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserCampaignTargetingTypeAssignedTargetingOptionListCall), [*channels create*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserChannelCreateCall), [*channels get*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserChannelGetCall), [*channels list*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserChannelListCall), [*channels patch*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserChannelPatchCall), [*channels sites bulk edit*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserChannelSiteBulkEditCall), [*channels sites create*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserChannelSiteCreateCall), [*channels sites delete*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserChannelSiteDeleteCall), [*channels sites list*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserChannelSiteListCall), [*channels sites replace*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserChannelSiteReplaceCall), [*create*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserCreateCall), [*creatives create*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserCreativeCreateCall), [*creatives delete*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserCreativeDeleteCall), [*creatives get*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserCreativeGetCall), [*creatives list*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserCreativeListCall), [*creatives patch*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserCreativePatchCall), [*delete*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserDeleteCall), [*get*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserGetCall), [*insertion orders bulk list insertion order assigned targeting options*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserInsertionOrderBulkListInsertionOrderAssignedTargetingOptionCall), [*insertion orders create*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserInsertionOrderCreateCall), [*insertion orders delete*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserInsertionOrderDeleteCall), [*insertion orders get*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserInsertionOrderGetCall), [*insertion orders list*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserInsertionOrderListCall), [*insertion orders patch*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserInsertionOrderPatchCall), [*insertion orders targeting types assigned targeting options get*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserInsertionOrderTargetingTypeAssignedTargetingOptionGetCall), [*insertion orders targeting types assigned targeting options list*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserInsertionOrderTargetingTypeAssignedTargetingOptionListCall), [*invoices list*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserInvoiceListCall), [*invoices lookup invoice currency*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserInvoiceLookupInvoiceCurrencyCall), [*line items bulk edit line item assigned targeting options*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserLineItemBulkEditLineItemAssignedTargetingOptionCall), [*line items bulk list line item assigned targeting options*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserLineItemBulkListLineItemAssignedTargetingOptionCall), [*line items create*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserLineItemCreateCall), [*line items delete*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserLineItemDeleteCall), [*line items generate default*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserLineItemGenerateDefaultCall), [*line items get*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserLineItemGetCall), [*line items list*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserLineItemListCall), [*line items patch*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserLineItemPatchCall), [*line items targeting types assigned targeting options create*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserLineItemTargetingTypeAssignedTargetingOptionCreateCall), [*line items targeting types assigned targeting options delete*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserLineItemTargetingTypeAssignedTargetingOptionDeleteCall), [*line items targeting types assigned targeting options get*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserLineItemTargetingTypeAssignedTargetingOptionGetCall), [*line items targeting types assigned targeting options list*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserLineItemTargetingTypeAssignedTargetingOptionListCall), [*list*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserListCall), [*location lists assigned locations bulk edit*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserLocationListAssignedLocationBulkEditCall), [*location lists assigned locations create*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserLocationListAssignedLocationCreateCall), [*location lists assigned locations delete*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserLocationListAssignedLocationDeleteCall), [*location lists assigned locations list*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserLocationListAssignedLocationListCall), [*location lists create*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserLocationListCreateCall), [*location lists get*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserLocationListGetCall), [*location lists list*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserLocationListListCall), [*location lists patch*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserLocationListPatchCall), [*manual triggers activate*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserManualTriggerActivateCall), [*manual triggers create*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserManualTriggerCreateCall), [*manual triggers deactivate*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserManualTriggerDeactivateCall), [*manual triggers get*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserManualTriggerGetCall), [*manual triggers list*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserManualTriggerListCall), [*manual triggers patch*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserManualTriggerPatchCall), [*negative keyword lists create*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserNegativeKeywordListCreateCall), [*negative keyword lists delete*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserNegativeKeywordListDeleteCall), [*negative keyword lists get*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserNegativeKeywordListGetCall), [*negative keyword lists list*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserNegativeKeywordListListCall), [*negative keyword lists negative keywords bulk edit*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserNegativeKeywordListNegativeKeywordBulkEditCall), [*negative keyword lists negative keywords create*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserNegativeKeywordListNegativeKeywordCreateCall), [*negative keyword lists negative keywords delete*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserNegativeKeywordListNegativeKeywordDeleteCall), [*negative keyword lists negative keywords list*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserNegativeKeywordListNegativeKeywordListCall), [*negative keyword lists negative keywords replace*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserNegativeKeywordListNegativeKeywordReplaceCall), [*negative keyword lists patch*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserNegativeKeywordListPatchCall), [*patch*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserPatchCall), [*targeting types assigned targeting options create*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserTargetingTypeAssignedTargetingOptionCreateCall), [*targeting types assigned targeting options delete*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserTargetingTypeAssignedTargetingOptionDeleteCall), [*targeting types assigned targeting options get*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserTargetingTypeAssignedTargetingOptionGetCall) and [*targeting types assigned targeting options list*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserTargetingTypeAssignedTargetingOptionListCall) +* [combined audiences](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::CombinedAudience) + * [*get*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::CombinedAudienceGetCall) and [*list*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::CombinedAudienceListCall) +* [custom bidding algorithms](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::CustomBiddingAlgorithm) + * [*create*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::CustomBiddingAlgorithmCreateCall), [*get*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::CustomBiddingAlgorithmGetCall), [*list*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::CustomBiddingAlgorithmListCall), [*patch*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::CustomBiddingAlgorithmPatchCall), [*scripts create*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::CustomBiddingAlgorithmScriptCreateCall), [*scripts get*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::CustomBiddingAlgorithmScriptGetCall), [*scripts list*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::CustomBiddingAlgorithmScriptListCall) and [*upload script*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::CustomBiddingAlgorithmUploadScriptCall) +* [custom lists](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::CustomList) + * [*get*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::CustomListGetCall) and [*list*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::CustomListListCall) +* [first and third party audiences](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::FirstAndThirdPartyAudience) + * [*create*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::FirstAndThirdPartyAudienceCreateCall), [*edit customer match members*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::FirstAndThirdPartyAudienceEditCustomerMatchMemberCall), [*get*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::FirstAndThirdPartyAudienceGetCall), [*list*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::FirstAndThirdPartyAudienceListCall) and [*patch*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::FirstAndThirdPartyAudiencePatchCall) +* [floodlight groups](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::FloodlightGroup) + * [*get*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::FloodlightGroupGetCall) and [*patch*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::FloodlightGroupPatchCall) +* [google audiences](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::GoogleAudience) + * [*get*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::GoogleAudienceGetCall) and [*list*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::GoogleAudienceListCall) +* [inventory source groups](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::InventorySourceGroup) + * [*assigned inventory sources bulk edit*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::InventorySourceGroupAssignedInventorySourceBulkEditCall), [*assigned inventory sources create*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::InventorySourceGroupAssignedInventorySourceCreateCall), [*assigned inventory sources delete*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::InventorySourceGroupAssignedInventorySourceDeleteCall), [*assigned inventory sources list*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::InventorySourceGroupAssignedInventorySourceListCall), [*create*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::InventorySourceGroupCreateCall), [*delete*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::InventorySourceGroupDeleteCall), [*get*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::InventorySourceGroupGetCall), [*list*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::InventorySourceGroupListCall) and [*patch*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::InventorySourceGroupPatchCall) +* [inventory sources](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::InventorySource) + * [*get*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::InventorySourceGetCall) and [*list*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::InventorySourceListCall) * media - * [*download*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::MediaDownloadCall) and [*upload*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::MediaUploadCall) -* [partners](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::Partner) - * [*bulk edit partner assigned targeting options*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::PartnerBulkEditPartnerAssignedTargetingOptionCall), [*channels create*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::PartnerChannelCreateCall), [*channels get*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::PartnerChannelGetCall), [*channels list*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::PartnerChannelListCall), [*channels patch*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::PartnerChannelPatchCall), [*channels sites bulk edit*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::PartnerChannelSiteBulkEditCall), [*channels sites create*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::PartnerChannelSiteCreateCall), [*channels sites delete*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::PartnerChannelSiteDeleteCall), [*channels sites list*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::PartnerChannelSiteListCall), [*channels sites replace*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::PartnerChannelSiteReplaceCall), [*get*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::PartnerGetCall), [*list*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::PartnerListCall), [*targeting types assigned targeting options create*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::PartnerTargetingTypeAssignedTargetingOptionCreateCall), [*targeting types assigned targeting options delete*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::PartnerTargetingTypeAssignedTargetingOptionDeleteCall), [*targeting types assigned targeting options get*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::PartnerTargetingTypeAssignedTargetingOptionGetCall) and [*targeting types assigned targeting options list*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::PartnerTargetingTypeAssignedTargetingOptionListCall) + * [*download*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::MediaDownloadCall) and [*upload*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::MediaUploadCall) +* [partners](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::Partner) + * [*bulk edit partner assigned targeting options*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::PartnerBulkEditPartnerAssignedTargetingOptionCall), [*channels create*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::PartnerChannelCreateCall), [*channels get*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::PartnerChannelGetCall), [*channels list*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::PartnerChannelListCall), [*channels patch*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::PartnerChannelPatchCall), [*channels sites bulk edit*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::PartnerChannelSiteBulkEditCall), [*channels sites create*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::PartnerChannelSiteCreateCall), [*channels sites delete*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::PartnerChannelSiteDeleteCall), [*channels sites list*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::PartnerChannelSiteListCall), [*channels sites replace*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::PartnerChannelSiteReplaceCall), [*get*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::PartnerGetCall), [*list*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::PartnerListCall), [*targeting types assigned targeting options create*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::PartnerTargetingTypeAssignedTargetingOptionCreateCall), [*targeting types assigned targeting options delete*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::PartnerTargetingTypeAssignedTargetingOptionDeleteCall), [*targeting types assigned targeting options get*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::PartnerTargetingTypeAssignedTargetingOptionGetCall) and [*targeting types assigned targeting options list*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::PartnerTargetingTypeAssignedTargetingOptionListCall) * sdfdownloadtasks - * [*create*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::SdfdownloadtaskCreateCall) and [*operations get*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::SdfdownloadtaskOperationGetCall) + * [*create*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::SdfdownloadtaskCreateCall) and [*operations get*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::SdfdownloadtaskOperationGetCall) * targeting types - * [*targeting options get*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::TargetingTypeTargetingOptionGetCall), [*targeting options list*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::TargetingTypeTargetingOptionListCall) and [*targeting options search*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::TargetingTypeTargetingOptionSearchCall) -* [users](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::User) - * [*bulk edit assigned user roles*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::UserBulkEditAssignedUserRoleCall), [*create*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::UserCreateCall), [*delete*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::UserDeleteCall), [*get*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::UserGetCall), [*list*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::UserListCall) and [*patch*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::UserPatchCall) + * [*targeting options get*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::TargetingTypeTargetingOptionGetCall), [*targeting options list*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::TargetingTypeTargetingOptionListCall) and [*targeting options search*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::TargetingTypeTargetingOptionSearchCall) +* [users](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::User) + * [*bulk edit assigned user roles*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::UserBulkEditAssignedUserRoleCall), [*create*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::UserCreateCall), [*delete*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::UserDeleteCall), [*get*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::UserGetCall), [*list*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::UserListCall) and [*patch*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::UserPatchCall) Upload supported by ... -* [*assets upload advertisers*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::AdvertiserAssetUploadCall) -* [*upload media*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::MediaUploadCall) +* [*assets upload advertisers*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::AdvertiserAssetUploadCall) +* [*upload media*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::MediaUploadCall) Download supported by ... -* [*download media*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/api::MediaDownloadCall) +* [*download media*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/api::MediaDownloadCall) @@ -58,17 +58,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/DisplayVideo)** +* **[Hub](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/DisplayVideo)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/client::CallBuilder) -* **[Resources](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/client::CallBuilder) +* **[Resources](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/client::Part)** + * **[Parts](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -205,7 +205,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -237,17 +237,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -257,29 +257,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/client::Delegate) to the -[Method Builder](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/client::Delegate) to the +[Method Builder](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/client::RequestValue) and -[decodable](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/client::RequestValue) and +[decodable](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-displayvideo1/3.0.0+20220303/google_displayvideo1/client::RequestValue) are moved +* [request values](https://docs.rs/google-displayvideo1/3.1.0+20220303/google_displayvideo1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/displayvideo1/src/api.rs b/gen/displayvideo1/src/api.rs index 3350b070f4..bd88933b73 100644 --- a/gen/displayvideo1/src/api.rs +++ b/gen/displayvideo1/src/api.rs @@ -82,7 +82,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -129,7 +129,7 @@ impl<'a, > DisplayVideo<> { DisplayVideo { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://displayvideo.googleapis.com/".to_string(), _root_url: "https://displayvideo.googleapis.com/".to_string(), } @@ -179,7 +179,7 @@ impl<'a, > DisplayVideo<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -6335,7 +6335,7 @@ impl client::Part for ViewabilityTargetingOptionDetails {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `assets_upload(...)`, `audit(...)`, `bulk_edit_advertiser_assigned_targeting_options(...)`, `bulk_list_advertiser_assigned_targeting_options(...)`, `campaigns_bulk_list_campaign_assigned_targeting_options(...)`, `campaigns_create(...)`, `campaigns_delete(...)`, `campaigns_get(...)`, `campaigns_list(...)`, `campaigns_patch(...)`, `campaigns_targeting_types_assigned_targeting_options_get(...)`, `campaigns_targeting_types_assigned_targeting_options_list(...)`, `channels_create(...)`, `channels_get(...)`, `channels_list(...)`, `channels_patch(...)`, `channels_sites_bulk_edit(...)`, `channels_sites_create(...)`, `channels_sites_delete(...)`, `channels_sites_list(...)`, `channels_sites_replace(...)`, `create(...)`, `creatives_create(...)`, `creatives_delete(...)`, `creatives_get(...)`, `creatives_list(...)`, `creatives_patch(...)`, `delete(...)`, `get(...)`, `insertion_orders_bulk_list_insertion_order_assigned_targeting_options(...)`, `insertion_orders_create(...)`, `insertion_orders_delete(...)`, `insertion_orders_get(...)`, `insertion_orders_list(...)`, `insertion_orders_patch(...)`, `insertion_orders_targeting_types_assigned_targeting_options_get(...)`, `insertion_orders_targeting_types_assigned_targeting_options_list(...)`, `invoices_list(...)`, `invoices_lookup_invoice_currency(...)`, `line_items_bulk_edit_line_item_assigned_targeting_options(...)`, `line_items_bulk_list_line_item_assigned_targeting_options(...)`, `line_items_create(...)`, `line_items_delete(...)`, `line_items_generate_default(...)`, `line_items_get(...)`, `line_items_list(...)`, `line_items_patch(...)`, `line_items_targeting_types_assigned_targeting_options_create(...)`, `line_items_targeting_types_assigned_targeting_options_delete(...)`, `line_items_targeting_types_assigned_targeting_options_get(...)`, `line_items_targeting_types_assigned_targeting_options_list(...)`, `list(...)`, `location_lists_assigned_locations_bulk_edit(...)`, `location_lists_assigned_locations_create(...)`, `location_lists_assigned_locations_delete(...)`, `location_lists_assigned_locations_list(...)`, `location_lists_create(...)`, `location_lists_get(...)`, `location_lists_list(...)`, `location_lists_patch(...)`, `manual_triggers_activate(...)`, `manual_triggers_create(...)`, `manual_triggers_deactivate(...)`, `manual_triggers_get(...)`, `manual_triggers_list(...)`, `manual_triggers_patch(...)`, `negative_keyword_lists_create(...)`, `negative_keyword_lists_delete(...)`, `negative_keyword_lists_get(...)`, `negative_keyword_lists_list(...)`, `negative_keyword_lists_negative_keywords_bulk_edit(...)`, `negative_keyword_lists_negative_keywords_create(...)`, `negative_keyword_lists_negative_keywords_delete(...)`, `negative_keyword_lists_negative_keywords_list(...)`, `negative_keyword_lists_negative_keywords_replace(...)`, `negative_keyword_lists_patch(...)`, `patch(...)`, `targeting_types_assigned_targeting_options_create(...)`, `targeting_types_assigned_targeting_options_delete(...)`, `targeting_types_assigned_targeting_options_get(...)` and `targeting_types_assigned_targeting_options_list(...)` /// // to build up your call. @@ -8055,7 +8055,7 @@ impl<'a> AdvertiserMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -8133,7 +8133,7 @@ impl<'a> CombinedAudienceMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `get(...)`, `list(...)`, `patch(...)`, `scripts_create(...)`, `scripts_get(...)`, `scripts_list(...)` and `upload_script(...)` /// // to build up your call. @@ -8331,7 +8331,7 @@ impl<'a> CustomBiddingAlgorithmMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -8407,7 +8407,7 @@ impl<'a> CustomListMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `edit_customer_match_members(...)`, `get(...)`, `list(...)` and `patch(...)` /// // to build up your call. @@ -8543,7 +8543,7 @@ impl<'a> FirstAndThirdPartyAudienceMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `patch(...)` /// // to build up your call. @@ -8623,7 +8623,7 @@ impl<'a> FloodlightGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -8701,7 +8701,7 @@ impl<'a> GoogleAudienceMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `assigned_inventory_sources_bulk_edit(...)`, `assigned_inventory_sources_create(...)`, `assigned_inventory_sources_delete(...)`, `assigned_inventory_sources_list(...)`, `create(...)`, `delete(...)`, `get(...)`, `list(...)` and `patch(...)` /// // to build up your call. @@ -8923,7 +8923,7 @@ impl<'a> InventorySourceGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -9000,7 +9000,7 @@ impl<'a> InventorySourceMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `download(...)` and `upload(...)` /// // to build up your call. @@ -9077,7 +9077,7 @@ impl<'a> MediaMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `bulk_edit_partner_assigned_targeting_options(...)`, `channels_create(...)`, `channels_get(...)`, `channels_list(...)`, `channels_patch(...)`, `channels_sites_bulk_edit(...)`, `channels_sites_create(...)`, `channels_sites_delete(...)`, `channels_sites_list(...)`, `channels_sites_replace(...)`, `get(...)`, `list(...)`, `targeting_types_assigned_targeting_options_create(...)`, `targeting_types_assigned_targeting_options_delete(...)`, `targeting_types_assigned_targeting_options_get(...)` and `targeting_types_assigned_targeting_options_list(...)` /// // to build up your call. @@ -9451,7 +9451,7 @@ impl<'a> PartnerMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)` and `operations_get(...)` /// // to build up your call. @@ -9526,7 +9526,7 @@ impl<'a> SdfdownloadtaskMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `targeting_options_get(...)`, `targeting_options_list(...)` and `targeting_options_search(...)` /// // to build up your call. @@ -9628,7 +9628,7 @@ impl<'a> TargetingTypeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `bulk_edit_assigned_user_roles(...)`, `create(...)`, `delete(...)`, `get(...)`, `list(...)` and `patch(...)` /// // to build up your call. @@ -9784,7 +9784,7 @@ impl<'a> UserMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10101,7 +10101,7 @@ impl<'a> AdvertiserAssetUploadCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10393,7 +10393,7 @@ impl<'a> AdvertiserCampaignTargetingTypeAssignedTargetingOptionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10721,7 +10721,7 @@ impl<'a> AdvertiserCampaignTargetingTypeAssignedTargetingOptionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11038,7 +11038,7 @@ impl<'a> AdvertiserCampaignBulkListCampaignAssignedTargetingOptionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11323,7 +11323,7 @@ impl<'a> AdvertiserCampaignCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11591,7 +11591,7 @@ impl<'a> AdvertiserCampaignDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11859,7 +11859,7 @@ impl<'a> AdvertiserCampaignGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12164,7 +12164,7 @@ impl<'a> AdvertiserCampaignListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12474,7 +12474,7 @@ impl<'a> AdvertiserCampaignPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12772,7 +12772,7 @@ impl<'a> AdvertiserChannelSiteBulkEditCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13081,7 +13081,7 @@ impl<'a> AdvertiserChannelSiteCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13373,7 +13373,7 @@ impl<'a> AdvertiserChannelSiteDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13702,7 +13702,7 @@ impl<'a> AdvertiserChannelSiteListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14000,7 +14000,7 @@ impl<'a> AdvertiserChannelSiteReplaceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14297,7 +14297,7 @@ impl<'a> AdvertiserChannelCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14577,7 +14577,7 @@ impl<'a> AdvertiserChannelGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14894,7 +14894,7 @@ impl<'a> AdvertiserChannelListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15216,7 +15216,7 @@ impl<'a> AdvertiserChannelPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15501,7 +15501,7 @@ impl<'a> AdvertiserCreativeCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15769,7 +15769,7 @@ impl<'a> AdvertiserCreativeDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16037,7 +16037,7 @@ impl<'a> AdvertiserCreativeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16342,7 +16342,7 @@ impl<'a> AdvertiserCreativeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16651,7 +16651,7 @@ impl<'a> AdvertiserCreativePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16943,7 +16943,7 @@ impl<'a> AdvertiserInsertionOrderTargetingTypeAssignedTargetingOptionGetCall<'a> /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17271,7 +17271,7 @@ impl<'a> AdvertiserInsertionOrderTargetingTypeAssignedTargetingOptionListCall<'a /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17588,7 +17588,7 @@ impl<'a> AdvertiserInsertionOrderBulkListInsertionOrderAssignedTargetingOptionCa /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17873,7 +17873,7 @@ impl<'a> AdvertiserInsertionOrderCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18141,7 +18141,7 @@ impl<'a> AdvertiserInsertionOrderDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18409,7 +18409,7 @@ impl<'a> AdvertiserInsertionOrderGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18714,7 +18714,7 @@ impl<'a> AdvertiserInsertionOrderListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19023,7 +19023,7 @@ impl<'a> AdvertiserInsertionOrderPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19327,7 +19327,7 @@ impl<'a> AdvertiserInvoiceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19596,7 +19596,7 @@ impl<'a> AdvertiserInvoiceLookupInvoiceCurrencyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19905,7 +19905,7 @@ impl<'a> AdvertiserLineItemTargetingTypeAssignedTargetingOptionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20197,7 +20197,7 @@ impl<'a> AdvertiserLineItemTargetingTypeAssignedTargetingOptionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20489,7 +20489,7 @@ impl<'a> AdvertiserLineItemTargetingTypeAssignedTargetingOptionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20818,7 +20818,7 @@ impl<'a> AdvertiserLineItemTargetingTypeAssignedTargetingOptionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21115,7 +21115,7 @@ impl<'a> AdvertiserLineItemBulkEditLineItemAssignedTargetingOptionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21432,7 +21432,7 @@ impl<'a> AdvertiserLineItemBulkListLineItemAssignedTargetingOptionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21717,7 +21717,7 @@ impl<'a> AdvertiserLineItemCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21986,7 +21986,7 @@ impl<'a> AdvertiserLineItemDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22271,7 +22271,7 @@ impl<'a> AdvertiserLineItemGenerateDefaultCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22539,7 +22539,7 @@ impl<'a> AdvertiserLineItemGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22844,7 +22844,7 @@ impl<'a> AdvertiserLineItemListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23154,7 +23154,7 @@ impl<'a> AdvertiserLineItemPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23452,7 +23452,7 @@ impl<'a> AdvertiserLocationListAssignedLocationBulkEditCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23745,7 +23745,7 @@ impl<'a> AdvertiserLocationListAssignedLocationCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24025,7 +24025,7 @@ impl<'a> AdvertiserLocationListAssignedLocationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24338,7 +24338,7 @@ impl<'a> AdvertiserLocationListAssignedLocationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24623,7 +24623,7 @@ impl<'a> AdvertiserLocationListCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24891,7 +24891,7 @@ impl<'a> AdvertiserLocationListGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25196,7 +25196,7 @@ impl<'a> AdvertiserLocationListListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25506,7 +25506,7 @@ impl<'a> AdvertiserLocationListPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25804,7 +25804,7 @@ impl<'a> AdvertiserManualTriggerActivateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26090,7 +26090,7 @@ impl<'a> AdvertiserManualTriggerCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26387,7 +26387,7 @@ impl<'a> AdvertiserManualTriggerDeactivateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26655,7 +26655,7 @@ impl<'a> AdvertiserManualTriggerGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26960,7 +26960,7 @@ impl<'a> AdvertiserManualTriggerListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27270,7 +27270,7 @@ impl<'a> AdvertiserManualTriggerPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27568,7 +27568,7 @@ impl<'a> AdvertiserNegativeKeywordListNegativeKeywordBulkEditCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27865,7 +27865,7 @@ impl<'a> AdvertiserNegativeKeywordListNegativeKeywordCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28145,7 +28145,7 @@ impl<'a> AdvertiserNegativeKeywordListNegativeKeywordDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28462,7 +28462,7 @@ impl<'a> AdvertiserNegativeKeywordListNegativeKeywordListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -28760,7 +28760,7 @@ impl<'a> AdvertiserNegativeKeywordListNegativeKeywordReplaceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29045,7 +29045,7 @@ impl<'a> AdvertiserNegativeKeywordListCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29313,7 +29313,7 @@ impl<'a> AdvertiserNegativeKeywordListDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29581,7 +29581,7 @@ impl<'a> AdvertiserNegativeKeywordListGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29862,7 +29862,7 @@ impl<'a> AdvertiserNegativeKeywordListListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -30172,7 +30172,7 @@ impl<'a> AdvertiserNegativeKeywordListPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -30469,7 +30469,7 @@ impl<'a> AdvertiserTargetingTypeAssignedTargetingOptionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30749,7 +30749,7 @@ impl<'a> AdvertiserTargetingTypeAssignedTargetingOptionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31029,7 +31029,7 @@ impl<'a> AdvertiserTargetingTypeAssignedTargetingOptionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31345,7 +31345,7 @@ impl<'a> AdvertiserTargetingTypeAssignedTargetingOptionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31614,7 +31614,7 @@ impl<'a> AdvertiserAuditCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -31899,7 +31899,7 @@ impl<'a> AdvertiserBulkEditAdvertiserAssignedTargetingOptionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32204,7 +32204,7 @@ impl<'a> AdvertiserBulkListAdvertiserAssignedTargetingOptionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -32452,7 +32452,7 @@ impl<'a> AdvertiserCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32708,7 +32708,7 @@ impl<'a> AdvertiserDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32964,7 +32964,7 @@ impl<'a> AdvertiserGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33244,7 +33244,7 @@ impl<'a> AdvertiserListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -33541,7 +33541,7 @@ impl<'a> AdvertiserPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33821,7 +33821,7 @@ impl<'a> CombinedAudienceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34113,7 +34113,7 @@ impl<'a> CombinedAudienceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -34422,7 +34422,7 @@ impl<'a> CustomBiddingAlgorithmScriptCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34714,7 +34714,7 @@ impl<'a> CustomBiddingAlgorithmScriptGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -35031,7 +35031,7 @@ impl<'a> CustomBiddingAlgorithmScriptListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35279,7 +35279,7 @@ impl<'a> CustomBiddingAlgorithmCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -35559,7 +35559,7 @@ impl<'a> CustomBiddingAlgorithmGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -35851,7 +35851,7 @@ impl<'a> CustomBiddingAlgorithmListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -36148,7 +36148,7 @@ impl<'a> CustomBiddingAlgorithmPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -36428,7 +36428,7 @@ impl<'a> CustomBiddingAlgorithmUploadScriptCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -36696,7 +36696,7 @@ impl<'a> CustomListGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -36976,7 +36976,7 @@ impl<'a> CustomListListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -37237,7 +37237,7 @@ impl<'a> FirstAndThirdPartyAudienceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -37522,7 +37522,7 @@ impl<'a> FirstAndThirdPartyAudienceEditCustomerMatchMemberCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -37802,7 +37802,7 @@ impl<'a> FirstAndThirdPartyAudienceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -38094,7 +38094,7 @@ impl<'a> FirstAndThirdPartyAudienceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -38403,7 +38403,7 @@ impl<'a> FirstAndThirdPartyAudiencePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -38672,7 +38672,7 @@ impl<'a> FloodlightGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -38977,7 +38977,7 @@ impl<'a> FloodlightGroupPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -39257,7 +39257,7 @@ impl<'a> GoogleAudienceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -39549,7 +39549,7 @@ impl<'a> GoogleAudienceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -39835,7 +39835,7 @@ impl<'a> InventorySourceGroupAssignedInventorySourceBulkEditCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -40144,7 +40144,7 @@ impl<'a> InventorySourceGroupAssignedInventorySourceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -40436,7 +40436,7 @@ impl<'a> InventorySourceGroupAssignedInventorySourceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -40765,7 +40765,7 @@ impl<'a> InventorySourceGroupAssignedInventorySourceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -41037,7 +41037,7 @@ impl<'a> InventorySourceGroupCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -41317,7 +41317,7 @@ impl<'a> InventorySourceGroupDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -41597,7 +41597,7 @@ impl<'a> InventorySourceGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -41889,7 +41889,7 @@ impl<'a> InventorySourceGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -42206,7 +42206,7 @@ impl<'a> InventorySourceGroupPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -42474,7 +42474,7 @@ impl<'a> InventorySourceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -42770,7 +42770,7 @@ impl<'a> InventorySourceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -43044,7 +43044,7 @@ impl<'a> MediaDownloadCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -43362,7 +43362,7 @@ impl<'a> MediaUploadCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -43660,7 +43660,7 @@ impl<'a> PartnerChannelSiteBulkEditCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -43969,7 +43969,7 @@ impl<'a> PartnerChannelSiteCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44261,7 +44261,7 @@ impl<'a> PartnerChannelSiteDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44590,7 +44590,7 @@ impl<'a> PartnerChannelSiteListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -44888,7 +44888,7 @@ impl<'a> PartnerChannelSiteReplaceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -45185,7 +45185,7 @@ impl<'a> PartnerChannelCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -45465,7 +45465,7 @@ impl<'a> PartnerChannelGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -45782,7 +45782,7 @@ impl<'a> PartnerChannelListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -46104,7 +46104,7 @@ impl<'a> PartnerChannelPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -46401,7 +46401,7 @@ impl<'a> PartnerTargetingTypeAssignedTargetingOptionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46681,7 +46681,7 @@ impl<'a> PartnerTargetingTypeAssignedTargetingOptionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46961,7 +46961,7 @@ impl<'a> PartnerTargetingTypeAssignedTargetingOptionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47278,7 +47278,7 @@ impl<'a> PartnerTargetingTypeAssignedTargetingOptionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -47563,7 +47563,7 @@ impl<'a> PartnerBulkEditPartnerAssignedTargetingOptionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47819,7 +47819,7 @@ impl<'a> PartnerGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48086,7 +48086,7 @@ impl<'a> PartnerListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48343,7 +48343,7 @@ impl<'a> SdfdownloadtaskOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -48591,7 +48591,7 @@ impl<'a> SdfdownloadtaskCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48871,7 +48871,7 @@ impl<'a> TargetingTypeTargetingOptionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49188,7 +49188,7 @@ impl<'a> TargetingTypeTargetingOptionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -49474,7 +49474,7 @@ impl<'a> TargetingTypeTargetingOptionSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -49760,7 +49760,7 @@ impl<'a> UserBulkEditAssignedUserRoleCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -50008,7 +50008,7 @@ impl<'a> UserCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -50264,7 +50264,7 @@ impl<'a> UserDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -50520,7 +50520,7 @@ impl<'a> UserGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -50788,7 +50788,7 @@ impl<'a> UserListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/displayvideo1/src/lib.rs b/gen/displayvideo1/src/lib.rs index 704bf56932..84c7f83deb 100644 --- a/gen/displayvideo1/src/lib.rs +++ b/gen/displayvideo1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Display Video* crate version *3.0.0+20220303*, where *20220303* is the exact revision of the *displayvideo:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Display Video* crate version *3.1.0+20220303*, where *20220303* is the exact revision of the *displayvideo:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Display Video* *v1* API can be found at the //! [official documentation site](https://developers.google.com/display-video/). @@ -206,7 +206,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = DisplayVideo::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/dlp2-cli/Cargo.toml b/gen/dlp2-cli/Cargo.toml index 738bd22711..ed647a7873 100644 --- a/gen/dlp2-cli/Cargo.toml +++ b/gen/dlp2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dlp2-cli" -version = "3.0.0+20220227" +version = "3.1.0+20220227" authors = ["Sebastian Thiel "] description = "A complete library to interact with DLP (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dlp2-cli" @@ -20,12 +20,12 @@ name = "dlp2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-dlp2] path = "../dlp2" -version = "3.0.0+20220227" +version = "3.1.0+20220227" diff --git a/gen/dlp2-cli/README.md b/gen/dlp2-cli/README.md index 5d8c10a754..48f0cbb5a6 100644 --- a/gen/dlp2-cli/README.md +++ b/gen/dlp2-cli/README.md @@ -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 *DLP* API at revision *20220227*. The CLI is at version *3.0.0*. +This documentation was generated from the *DLP* API at revision *20220227*. The CLI is at version *3.1.0*. ```bash dlp2 [options] diff --git a/gen/dlp2-cli/mkdocs.yml b/gen/dlp2-cli/mkdocs.yml index 500490c8de..aa83e5229a 100644 --- a/gen/dlp2-cli/mkdocs.yml +++ b/gen/dlp2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: DLP v3.0.0+20220227 +site_name: DLP v3.1.0+20220227 site_url: http://byron.github.io/google-apis-rs/google-dlp2-cli site_description: A complete library to interact with DLP (protocol v2) diff --git a/gen/dlp2-cli/src/main.rs b/gen/dlp2-cli/src/main.rs index 9d6a1c7c17..e0c37566ef 100644 --- a/gen/dlp2-cli/src/main.rs +++ b/gen/dlp2-cli/src/main.rs @@ -8170,7 +8170,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/dlp2", 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::DLP::new(client, auth), @@ -10719,7 +10725,7 @@ async fn main() { let mut app = App::new("dlp2") .author("Sebastian Thiel ") - .version("3.0.0+20220227") + .version("3.1.0+20220227") .about("Provides methods for detection, risk analysis, and de-identification of privacy-sensitive fragments in text, images, and Google Cloud Platform storage repositories.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_dlp2_cli") .arg(Arg::with_name("url") diff --git a/gen/dlp2/Cargo.toml b/gen/dlp2/Cargo.toml index df27c32fbb..8e5e464fc8 100644 --- a/gen/dlp2/Cargo.toml +++ b/gen/dlp2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dlp2" -version = "3.0.0+20220227" +version = "3.1.0+20220227" authors = ["Sebastian Thiel "] description = "A complete library to interact with DLP (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dlp2" homepage = "https://cloud.google.com/dlp/docs/" -documentation = "https://docs.rs/google-dlp2/3.0.0+20220227" +documentation = "https://docs.rs/google-dlp2/3.1.0+20220227" license = "MIT" keywords = ["dlp", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/dlp2/README.md b/gen/dlp2/README.md index 7ed9d28765..3f10095b32 100644 --- a/gen/dlp2/README.md +++ b/gen/dlp2/README.md @@ -5,22 +5,22 @@ DO NOT EDIT ! --> The `google-dlp2` library allows access to all features of the *Google DLP* service. -This documentation was generated from *DLP* crate version *3.0.0+20220227*, where *20220227* is the exact revision of the *dlp:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *DLP* crate version *3.1.0+20220227*, where *20220227* is the exact revision of the *dlp:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *DLP* *v2* API can be found at the [official documentation site](https://cloud.google.com/dlp/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/DLP) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/DLP) ... * info types - * [*list*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::InfoTypeListCall) + * [*list*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::InfoTypeListCall) * locations - * [*info types list*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::LocationInfoTypeListCall) + * [*info types list*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::LocationInfoTypeListCall) * organizations - * [*deidentify templates create*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::OrganizationDeidentifyTemplateCreateCall), [*deidentify templates delete*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::OrganizationDeidentifyTemplateDeleteCall), [*deidentify templates get*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::OrganizationDeidentifyTemplateGetCall), [*deidentify templates list*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::OrganizationDeidentifyTemplateListCall), [*deidentify templates patch*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::OrganizationDeidentifyTemplatePatchCall), [*inspect templates create*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::OrganizationInspectTemplateCreateCall), [*inspect templates delete*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::OrganizationInspectTemplateDeleteCall), [*inspect templates get*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::OrganizationInspectTemplateGetCall), [*inspect templates list*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::OrganizationInspectTemplateListCall), [*inspect templates patch*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::OrganizationInspectTemplatePatchCall), [*locations deidentify templates create*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::OrganizationLocationDeidentifyTemplateCreateCall), [*locations deidentify templates delete*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::OrganizationLocationDeidentifyTemplateDeleteCall), [*locations deidentify templates get*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::OrganizationLocationDeidentifyTemplateGetCall), [*locations deidentify templates list*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::OrganizationLocationDeidentifyTemplateListCall), [*locations deidentify templates patch*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::OrganizationLocationDeidentifyTemplatePatchCall), [*locations dlp jobs list*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::OrganizationLocationDlpJobListCall), [*locations inspect templates create*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::OrganizationLocationInspectTemplateCreateCall), [*locations inspect templates delete*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::OrganizationLocationInspectTemplateDeleteCall), [*locations inspect templates get*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::OrganizationLocationInspectTemplateGetCall), [*locations inspect templates list*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::OrganizationLocationInspectTemplateListCall), [*locations inspect templates patch*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::OrganizationLocationInspectTemplatePatchCall), [*locations job triggers create*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::OrganizationLocationJobTriggerCreateCall), [*locations job triggers delete*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::OrganizationLocationJobTriggerDeleteCall), [*locations job triggers get*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::OrganizationLocationJobTriggerGetCall), [*locations job triggers list*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::OrganizationLocationJobTriggerListCall), [*locations job triggers patch*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::OrganizationLocationJobTriggerPatchCall), [*locations stored info types create*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::OrganizationLocationStoredInfoTypeCreateCall), [*locations stored info types delete*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::OrganizationLocationStoredInfoTypeDeleteCall), [*locations stored info types get*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::OrganizationLocationStoredInfoTypeGetCall), [*locations stored info types list*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::OrganizationLocationStoredInfoTypeListCall), [*locations stored info types patch*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::OrganizationLocationStoredInfoTypePatchCall), [*stored info types create*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::OrganizationStoredInfoTypeCreateCall), [*stored info types delete*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::OrganizationStoredInfoTypeDeleteCall), [*stored info types get*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::OrganizationStoredInfoTypeGetCall), [*stored info types list*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::OrganizationStoredInfoTypeListCall) and [*stored info types patch*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::OrganizationStoredInfoTypePatchCall) + * [*deidentify templates create*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::OrganizationDeidentifyTemplateCreateCall), [*deidentify templates delete*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::OrganizationDeidentifyTemplateDeleteCall), [*deidentify templates get*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::OrganizationDeidentifyTemplateGetCall), [*deidentify templates list*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::OrganizationDeidentifyTemplateListCall), [*deidentify templates patch*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::OrganizationDeidentifyTemplatePatchCall), [*inspect templates create*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::OrganizationInspectTemplateCreateCall), [*inspect templates delete*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::OrganizationInspectTemplateDeleteCall), [*inspect templates get*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::OrganizationInspectTemplateGetCall), [*inspect templates list*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::OrganizationInspectTemplateListCall), [*inspect templates patch*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::OrganizationInspectTemplatePatchCall), [*locations deidentify templates create*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::OrganizationLocationDeidentifyTemplateCreateCall), [*locations deidentify templates delete*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::OrganizationLocationDeidentifyTemplateDeleteCall), [*locations deidentify templates get*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::OrganizationLocationDeidentifyTemplateGetCall), [*locations deidentify templates list*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::OrganizationLocationDeidentifyTemplateListCall), [*locations deidentify templates patch*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::OrganizationLocationDeidentifyTemplatePatchCall), [*locations dlp jobs list*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::OrganizationLocationDlpJobListCall), [*locations inspect templates create*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::OrganizationLocationInspectTemplateCreateCall), [*locations inspect templates delete*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::OrganizationLocationInspectTemplateDeleteCall), [*locations inspect templates get*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::OrganizationLocationInspectTemplateGetCall), [*locations inspect templates list*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::OrganizationLocationInspectTemplateListCall), [*locations inspect templates patch*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::OrganizationLocationInspectTemplatePatchCall), [*locations job triggers create*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::OrganizationLocationJobTriggerCreateCall), [*locations job triggers delete*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::OrganizationLocationJobTriggerDeleteCall), [*locations job triggers get*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::OrganizationLocationJobTriggerGetCall), [*locations job triggers list*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::OrganizationLocationJobTriggerListCall), [*locations job triggers patch*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::OrganizationLocationJobTriggerPatchCall), [*locations stored info types create*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::OrganizationLocationStoredInfoTypeCreateCall), [*locations stored info types delete*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::OrganizationLocationStoredInfoTypeDeleteCall), [*locations stored info types get*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::OrganizationLocationStoredInfoTypeGetCall), [*locations stored info types list*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::OrganizationLocationStoredInfoTypeListCall), [*locations stored info types patch*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::OrganizationLocationStoredInfoTypePatchCall), [*stored info types create*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::OrganizationStoredInfoTypeCreateCall), [*stored info types delete*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::OrganizationStoredInfoTypeDeleteCall), [*stored info types get*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::OrganizationStoredInfoTypeGetCall), [*stored info types list*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::OrganizationStoredInfoTypeListCall) and [*stored info types patch*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::OrganizationStoredInfoTypePatchCall) * projects - * [*content deidentify*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectContentDeidentifyCall), [*content inspect*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectContentInspectCall), [*content reidentify*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectContentReidentifyCall), [*deidentify templates create*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectDeidentifyTemplateCreateCall), [*deidentify templates delete*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectDeidentifyTemplateDeleteCall), [*deidentify templates get*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectDeidentifyTemplateGetCall), [*deidentify templates list*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectDeidentifyTemplateListCall), [*deidentify templates patch*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectDeidentifyTemplatePatchCall), [*dlp jobs cancel*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectDlpJobCancelCall), [*dlp jobs create*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectDlpJobCreateCall), [*dlp jobs delete*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectDlpJobDeleteCall), [*dlp jobs get*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectDlpJobGetCall), [*dlp jobs list*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectDlpJobListCall), [*image redact*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectImageRedactCall), [*inspect templates create*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectInspectTemplateCreateCall), [*inspect templates delete*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectInspectTemplateDeleteCall), [*inspect templates get*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectInspectTemplateGetCall), [*inspect templates list*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectInspectTemplateListCall), [*inspect templates patch*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectInspectTemplatePatchCall), [*job triggers activate*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectJobTriggerActivateCall), [*job triggers create*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectJobTriggerCreateCall), [*job triggers delete*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectJobTriggerDeleteCall), [*job triggers get*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectJobTriggerGetCall), [*job triggers list*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectJobTriggerListCall), [*job triggers patch*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectJobTriggerPatchCall), [*locations content deidentify*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectLocationContentDeidentifyCall), [*locations content inspect*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectLocationContentInspectCall), [*locations content reidentify*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectLocationContentReidentifyCall), [*locations deidentify templates create*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectLocationDeidentifyTemplateCreateCall), [*locations deidentify templates delete*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectLocationDeidentifyTemplateDeleteCall), [*locations deidentify templates get*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectLocationDeidentifyTemplateGetCall), [*locations deidentify templates list*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectLocationDeidentifyTemplateListCall), [*locations deidentify templates patch*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectLocationDeidentifyTemplatePatchCall), [*locations dlp jobs cancel*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectLocationDlpJobCancelCall), [*locations dlp jobs create*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectLocationDlpJobCreateCall), [*locations dlp jobs delete*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectLocationDlpJobDeleteCall), [*locations dlp jobs finish*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectLocationDlpJobFinishCall), [*locations dlp jobs get*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectLocationDlpJobGetCall), [*locations dlp jobs hybrid inspect*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectLocationDlpJobHybridInspectCall), [*locations dlp jobs list*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectLocationDlpJobListCall), [*locations image redact*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectLocationImageRedactCall), [*locations inspect templates create*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectLocationInspectTemplateCreateCall), [*locations inspect templates delete*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectLocationInspectTemplateDeleteCall), [*locations inspect templates get*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectLocationInspectTemplateGetCall), [*locations inspect templates list*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectLocationInspectTemplateListCall), [*locations inspect templates patch*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectLocationInspectTemplatePatchCall), [*locations job triggers activate*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectLocationJobTriggerActivateCall), [*locations job triggers create*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectLocationJobTriggerCreateCall), [*locations job triggers delete*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectLocationJobTriggerDeleteCall), [*locations job triggers get*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectLocationJobTriggerGetCall), [*locations job triggers hybrid inspect*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectLocationJobTriggerHybridInspectCall), [*locations job triggers list*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectLocationJobTriggerListCall), [*locations job triggers patch*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectLocationJobTriggerPatchCall), [*locations stored info types create*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectLocationStoredInfoTypeCreateCall), [*locations stored info types delete*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectLocationStoredInfoTypeDeleteCall), [*locations stored info types get*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectLocationStoredInfoTypeGetCall), [*locations stored info types list*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectLocationStoredInfoTypeListCall), [*locations stored info types patch*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectLocationStoredInfoTypePatchCall), [*stored info types create*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectStoredInfoTypeCreateCall), [*stored info types delete*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectStoredInfoTypeDeleteCall), [*stored info types get*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectStoredInfoTypeGetCall), [*stored info types list*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectStoredInfoTypeListCall) and [*stored info types patch*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/api::ProjectStoredInfoTypePatchCall) + * [*content deidentify*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectContentDeidentifyCall), [*content inspect*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectContentInspectCall), [*content reidentify*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectContentReidentifyCall), [*deidentify templates create*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectDeidentifyTemplateCreateCall), [*deidentify templates delete*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectDeidentifyTemplateDeleteCall), [*deidentify templates get*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectDeidentifyTemplateGetCall), [*deidentify templates list*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectDeidentifyTemplateListCall), [*deidentify templates patch*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectDeidentifyTemplatePatchCall), [*dlp jobs cancel*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectDlpJobCancelCall), [*dlp jobs create*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectDlpJobCreateCall), [*dlp jobs delete*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectDlpJobDeleteCall), [*dlp jobs get*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectDlpJobGetCall), [*dlp jobs list*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectDlpJobListCall), [*image redact*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectImageRedactCall), [*inspect templates create*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectInspectTemplateCreateCall), [*inspect templates delete*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectInspectTemplateDeleteCall), [*inspect templates get*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectInspectTemplateGetCall), [*inspect templates list*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectInspectTemplateListCall), [*inspect templates patch*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectInspectTemplatePatchCall), [*job triggers activate*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectJobTriggerActivateCall), [*job triggers create*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectJobTriggerCreateCall), [*job triggers delete*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectJobTriggerDeleteCall), [*job triggers get*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectJobTriggerGetCall), [*job triggers list*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectJobTriggerListCall), [*job triggers patch*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectJobTriggerPatchCall), [*locations content deidentify*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectLocationContentDeidentifyCall), [*locations content inspect*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectLocationContentInspectCall), [*locations content reidentify*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectLocationContentReidentifyCall), [*locations deidentify templates create*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectLocationDeidentifyTemplateCreateCall), [*locations deidentify templates delete*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectLocationDeidentifyTemplateDeleteCall), [*locations deidentify templates get*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectLocationDeidentifyTemplateGetCall), [*locations deidentify templates list*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectLocationDeidentifyTemplateListCall), [*locations deidentify templates patch*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectLocationDeidentifyTemplatePatchCall), [*locations dlp jobs cancel*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectLocationDlpJobCancelCall), [*locations dlp jobs create*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectLocationDlpJobCreateCall), [*locations dlp jobs delete*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectLocationDlpJobDeleteCall), [*locations dlp jobs finish*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectLocationDlpJobFinishCall), [*locations dlp jobs get*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectLocationDlpJobGetCall), [*locations dlp jobs hybrid inspect*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectLocationDlpJobHybridInspectCall), [*locations dlp jobs list*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectLocationDlpJobListCall), [*locations image redact*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectLocationImageRedactCall), [*locations inspect templates create*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectLocationInspectTemplateCreateCall), [*locations inspect templates delete*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectLocationInspectTemplateDeleteCall), [*locations inspect templates get*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectLocationInspectTemplateGetCall), [*locations inspect templates list*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectLocationInspectTemplateListCall), [*locations inspect templates patch*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectLocationInspectTemplatePatchCall), [*locations job triggers activate*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectLocationJobTriggerActivateCall), [*locations job triggers create*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectLocationJobTriggerCreateCall), [*locations job triggers delete*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectLocationJobTriggerDeleteCall), [*locations job triggers get*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectLocationJobTriggerGetCall), [*locations job triggers hybrid inspect*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectLocationJobTriggerHybridInspectCall), [*locations job triggers list*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectLocationJobTriggerListCall), [*locations job triggers patch*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectLocationJobTriggerPatchCall), [*locations stored info types create*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectLocationStoredInfoTypeCreateCall), [*locations stored info types delete*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectLocationStoredInfoTypeDeleteCall), [*locations stored info types get*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectLocationStoredInfoTypeGetCall), [*locations stored info types list*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectLocationStoredInfoTypeListCall), [*locations stored info types patch*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectLocationStoredInfoTypePatchCall), [*stored info types create*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectStoredInfoTypeCreateCall), [*stored info types delete*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectStoredInfoTypeDeleteCall), [*stored info types get*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectStoredInfoTypeGetCall), [*stored info types list*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectStoredInfoTypeListCall) and [*stored info types patch*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/api::ProjectStoredInfoTypePatchCall) @@ -29,17 +29,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/DLP)** +* **[Hub](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/DLP)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/client::CallBuilder) -* **[Resources](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/client::CallBuilder) +* **[Resources](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/client::Part)** + * **[Parts](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -116,7 +116,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -149,17 +149,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -169,29 +169,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/client::Delegate) to the -[Method Builder](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/client::Delegate) to the +[Method Builder](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/client::RequestValue) and -[decodable](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/client::RequestValue) and +[decodable](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-dlp2/3.0.0+20220227/google_dlp2/client::RequestValue) are moved +* [request values](https://docs.rs/google-dlp2/3.1.0+20220227/google_dlp2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/dlp2/src/api.rs b/gen/dlp2/src/api.rs index 91d00e0e89..05876ecfa8 100644 --- a/gen/dlp2/src/api.rs +++ b/gen/dlp2/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > DLP<> { DLP { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://dlp.googleapis.com/".to_string(), _root_url: "https://dlp.googleapis.com/".to_string(), } @@ -139,7 +139,7 @@ impl<'a, > DLP<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -4030,7 +4030,7 @@ impl client::Part for GoogleTypeTimeOfDay {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -4087,7 +4087,7 @@ impl<'a> InfoTypeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `info_types_list(...)` /// // to build up your call. @@ -4148,7 +4148,7 @@ impl<'a> LocationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `deidentify_templates_create(...)`, `deidentify_templates_delete(...)`, `deidentify_templates_get(...)`, `deidentify_templates_list(...)`, `deidentify_templates_patch(...)`, `inspect_templates_create(...)`, `inspect_templates_delete(...)`, `inspect_templates_get(...)`, `inspect_templates_list(...)`, `inspect_templates_patch(...)`, `locations_deidentify_templates_create(...)`, `locations_deidentify_templates_delete(...)`, `locations_deidentify_templates_get(...)`, `locations_deidentify_templates_list(...)`, `locations_deidentify_templates_patch(...)`, `locations_dlp_jobs_list(...)`, `locations_inspect_templates_create(...)`, `locations_inspect_templates_delete(...)`, `locations_inspect_templates_get(...)`, `locations_inspect_templates_list(...)`, `locations_inspect_templates_patch(...)`, `locations_job_triggers_create(...)`, `locations_job_triggers_delete(...)`, `locations_job_triggers_get(...)`, `locations_job_triggers_list(...)`, `locations_job_triggers_patch(...)`, `locations_stored_info_types_create(...)`, `locations_stored_info_types_delete(...)`, `locations_stored_info_types_get(...)`, `locations_stored_info_types_list(...)`, `locations_stored_info_types_patch(...)`, `stored_info_types_create(...)`, `stored_info_types_delete(...)`, `stored_info_types_get(...)`, `stored_info_types_list(...)` and `stored_info_types_patch(...)` /// // to build up your call. @@ -4865,7 +4865,7 @@ impl<'a> OrganizationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `content_deidentify(...)`, `content_inspect(...)`, `content_reidentify(...)`, `deidentify_templates_create(...)`, `deidentify_templates_delete(...)`, `deidentify_templates_get(...)`, `deidentify_templates_list(...)`, `deidentify_templates_patch(...)`, `dlp_jobs_cancel(...)`, `dlp_jobs_create(...)`, `dlp_jobs_delete(...)`, `dlp_jobs_get(...)`, `dlp_jobs_list(...)`, `image_redact(...)`, `inspect_templates_create(...)`, `inspect_templates_delete(...)`, `inspect_templates_get(...)`, `inspect_templates_list(...)`, `inspect_templates_patch(...)`, `job_triggers_activate(...)`, `job_triggers_create(...)`, `job_triggers_delete(...)`, `job_triggers_get(...)`, `job_triggers_list(...)`, `job_triggers_patch(...)`, `locations_content_deidentify(...)`, `locations_content_inspect(...)`, `locations_content_reidentify(...)`, `locations_deidentify_templates_create(...)`, `locations_deidentify_templates_delete(...)`, `locations_deidentify_templates_get(...)`, `locations_deidentify_templates_list(...)`, `locations_deidentify_templates_patch(...)`, `locations_dlp_jobs_cancel(...)`, `locations_dlp_jobs_create(...)`, `locations_dlp_jobs_delete(...)`, `locations_dlp_jobs_finish(...)`, `locations_dlp_jobs_get(...)`, `locations_dlp_jobs_hybrid_inspect(...)`, `locations_dlp_jobs_list(...)`, `locations_image_redact(...)`, `locations_inspect_templates_create(...)`, `locations_inspect_templates_delete(...)`, `locations_inspect_templates_get(...)`, `locations_inspect_templates_list(...)`, `locations_inspect_templates_patch(...)`, `locations_job_triggers_activate(...)`, `locations_job_triggers_create(...)`, `locations_job_triggers_delete(...)`, `locations_job_triggers_get(...)`, `locations_job_triggers_hybrid_inspect(...)`, `locations_job_triggers_list(...)`, `locations_job_triggers_patch(...)`, `locations_stored_info_types_create(...)`, `locations_stored_info_types_delete(...)`, `locations_stored_info_types_get(...)`, `locations_stored_info_types_list(...)`, `locations_stored_info_types_patch(...)`, `stored_info_types_create(...)`, `stored_info_types_delete(...)`, `stored_info_types_get(...)`, `stored_info_types_list(...)` and `stored_info_types_patch(...)` /// // to build up your call. @@ -6098,7 +6098,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6365,7 +6365,7 @@ impl<'a> InfoTypeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6658,7 +6658,7 @@ impl<'a> LocationInfoTypeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6943,7 +6943,7 @@ impl<'a> OrganizationDeidentifyTemplateCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7199,7 +7199,7 @@ impl<'a> OrganizationDeidentifyTemplateDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7455,7 +7455,7 @@ impl<'a> OrganizationDeidentifyTemplateGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7760,7 +7760,7 @@ impl<'a> OrganizationDeidentifyTemplateListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8046,7 +8046,7 @@ impl<'a> OrganizationDeidentifyTemplatePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8331,7 +8331,7 @@ impl<'a> OrganizationInspectTemplateCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8587,7 +8587,7 @@ impl<'a> OrganizationInspectTemplateDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8843,7 +8843,7 @@ impl<'a> OrganizationInspectTemplateGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9148,7 +9148,7 @@ impl<'a> OrganizationInspectTemplateListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9434,7 +9434,7 @@ impl<'a> OrganizationInspectTemplatePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9719,7 +9719,7 @@ impl<'a> OrganizationLocationDeidentifyTemplateCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9975,7 +9975,7 @@ impl<'a> OrganizationLocationDeidentifyTemplateDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10231,7 +10231,7 @@ impl<'a> OrganizationLocationDeidentifyTemplateGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10536,7 +10536,7 @@ impl<'a> OrganizationLocationDeidentifyTemplateListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10821,7 +10821,7 @@ impl<'a> OrganizationLocationDeidentifyTemplatePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11150,7 +11150,7 @@ impl<'a> OrganizationLocationDlpJobListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11435,7 +11435,7 @@ impl<'a> OrganizationLocationInspectTemplateCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11691,7 +11691,7 @@ impl<'a> OrganizationLocationInspectTemplateDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11947,7 +11947,7 @@ impl<'a> OrganizationLocationInspectTemplateGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12252,7 +12252,7 @@ impl<'a> OrganizationLocationInspectTemplateListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12538,7 +12538,7 @@ impl<'a> OrganizationLocationInspectTemplatePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12823,7 +12823,7 @@ impl<'a> OrganizationLocationJobTriggerCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13079,7 +13079,7 @@ impl<'a> OrganizationLocationJobTriggerDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13335,7 +13335,7 @@ impl<'a> OrganizationLocationJobTriggerGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13664,7 +13664,7 @@ impl<'a> OrganizationLocationJobTriggerListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13950,7 +13950,7 @@ impl<'a> OrganizationLocationJobTriggerPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14235,7 +14235,7 @@ impl<'a> OrganizationLocationStoredInfoTypeCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14491,7 +14491,7 @@ impl<'a> OrganizationLocationStoredInfoTypeDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14747,7 +14747,7 @@ impl<'a> OrganizationLocationStoredInfoTypeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15052,7 +15052,7 @@ impl<'a> OrganizationLocationStoredInfoTypeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15338,7 +15338,7 @@ impl<'a> OrganizationLocationStoredInfoTypePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15623,7 +15623,7 @@ impl<'a> OrganizationStoredInfoTypeCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15879,7 +15879,7 @@ impl<'a> OrganizationStoredInfoTypeDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16135,7 +16135,7 @@ impl<'a> OrganizationStoredInfoTypeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16440,7 +16440,7 @@ impl<'a> OrganizationStoredInfoTypeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16726,7 +16726,7 @@ impl<'a> OrganizationStoredInfoTypePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17012,7 +17012,7 @@ impl<'a> ProjectContentDeidentifyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17298,7 +17298,7 @@ impl<'a> ProjectContentInspectCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17584,7 +17584,7 @@ impl<'a> ProjectContentReidentifyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17869,7 +17869,7 @@ impl<'a> ProjectDeidentifyTemplateCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18125,7 +18125,7 @@ impl<'a> ProjectDeidentifyTemplateDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18381,7 +18381,7 @@ impl<'a> ProjectDeidentifyTemplateGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18686,7 +18686,7 @@ impl<'a> ProjectDeidentifyTemplateListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18972,7 +18972,7 @@ impl<'a> ProjectDeidentifyTemplatePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19258,7 +19258,7 @@ impl<'a> ProjectDlpJobCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19543,7 +19543,7 @@ impl<'a> ProjectDlpJobCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19799,7 +19799,7 @@ impl<'a> ProjectDlpJobDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20055,7 +20055,7 @@ impl<'a> ProjectDlpJobGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20384,7 +20384,7 @@ impl<'a> ProjectDlpJobListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20670,7 +20670,7 @@ impl<'a> ProjectImageRedactCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20955,7 +20955,7 @@ impl<'a> ProjectInspectTemplateCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21211,7 +21211,7 @@ impl<'a> ProjectInspectTemplateDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21467,7 +21467,7 @@ impl<'a> ProjectInspectTemplateGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21772,7 +21772,7 @@ impl<'a> ProjectInspectTemplateListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22058,7 +22058,7 @@ impl<'a> ProjectInspectTemplatePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22344,7 +22344,7 @@ impl<'a> ProjectJobTriggerActivateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22629,7 +22629,7 @@ impl<'a> ProjectJobTriggerCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22885,7 +22885,7 @@ impl<'a> ProjectJobTriggerDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23141,7 +23141,7 @@ impl<'a> ProjectJobTriggerGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23470,7 +23470,7 @@ impl<'a> ProjectJobTriggerListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23756,7 +23756,7 @@ impl<'a> ProjectJobTriggerPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24042,7 +24042,7 @@ impl<'a> ProjectLocationContentDeidentifyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24328,7 +24328,7 @@ impl<'a> ProjectLocationContentInspectCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24614,7 +24614,7 @@ impl<'a> ProjectLocationContentReidentifyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24899,7 +24899,7 @@ impl<'a> ProjectLocationDeidentifyTemplateCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25155,7 +25155,7 @@ impl<'a> ProjectLocationDeidentifyTemplateDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25411,7 +25411,7 @@ impl<'a> ProjectLocationDeidentifyTemplateGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25716,7 +25716,7 @@ impl<'a> ProjectLocationDeidentifyTemplateListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26002,7 +26002,7 @@ impl<'a> ProjectLocationDeidentifyTemplatePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26288,7 +26288,7 @@ impl<'a> ProjectLocationDlpJobCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26573,7 +26573,7 @@ impl<'a> ProjectLocationDlpJobCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26830,7 +26830,7 @@ impl<'a> ProjectLocationDlpJobDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27115,7 +27115,7 @@ impl<'a> ProjectLocationDlpJobFinishCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27372,7 +27372,7 @@ impl<'a> ProjectLocationDlpJobGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27657,7 +27657,7 @@ impl<'a> ProjectLocationDlpJobHybridInspectCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27986,7 +27986,7 @@ impl<'a> ProjectLocationDlpJobListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -28272,7 +28272,7 @@ impl<'a> ProjectLocationImageRedactCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -28557,7 +28557,7 @@ impl<'a> ProjectLocationInspectTemplateCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28813,7 +28813,7 @@ impl<'a> ProjectLocationInspectTemplateDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29069,7 +29069,7 @@ impl<'a> ProjectLocationInspectTemplateGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29374,7 +29374,7 @@ impl<'a> ProjectLocationInspectTemplateListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29660,7 +29660,7 @@ impl<'a> ProjectLocationInspectTemplatePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29946,7 +29946,7 @@ impl<'a> ProjectLocationJobTriggerActivateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -30231,7 +30231,7 @@ impl<'a> ProjectLocationJobTriggerCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30487,7 +30487,7 @@ impl<'a> ProjectLocationJobTriggerDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30744,7 +30744,7 @@ impl<'a> ProjectLocationJobTriggerGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -31029,7 +31029,7 @@ impl<'a> ProjectLocationJobTriggerHybridInspectCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31358,7 +31358,7 @@ impl<'a> ProjectLocationJobTriggerListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -31644,7 +31644,7 @@ impl<'a> ProjectLocationJobTriggerPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -31929,7 +31929,7 @@ impl<'a> ProjectLocationStoredInfoTypeCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32185,7 +32185,7 @@ impl<'a> ProjectLocationStoredInfoTypeDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32441,7 +32441,7 @@ impl<'a> ProjectLocationStoredInfoTypeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32746,7 +32746,7 @@ impl<'a> ProjectLocationStoredInfoTypeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -33032,7 +33032,7 @@ impl<'a> ProjectLocationStoredInfoTypePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -33317,7 +33317,7 @@ impl<'a> ProjectStoredInfoTypeCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33573,7 +33573,7 @@ impl<'a> ProjectStoredInfoTypeDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33829,7 +33829,7 @@ impl<'a> ProjectStoredInfoTypeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34134,7 +34134,7 @@ impl<'a> ProjectStoredInfoTypeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/dlp2/src/lib.rs b/gen/dlp2/src/lib.rs index 9465cc97d5..3cef828073 100644 --- a/gen/dlp2/src/lib.rs +++ b/gen/dlp2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *DLP* crate version *3.0.0+20220227*, where *20220227* is the exact revision of the *dlp:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *DLP* crate version *3.1.0+20220227*, where *20220227* is the exact revision of the *dlp:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *DLP* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/dlp/docs/). @@ -117,7 +117,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/dlp2_beta1-cli/Cargo.toml b/gen/dlp2_beta1-cli/Cargo.toml index 56cbef0814..7478da815f 100644 --- a/gen/dlp2_beta1-cli/Cargo.toml +++ b/gen/dlp2_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dlp2_beta1-cli" -version = "3.0.0+20171205" +version = "3.1.0+20171205" authors = ["Sebastian Thiel "] description = "A complete library to interact with DLP (protocol v2beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dlp2_beta1-cli" @@ -20,12 +20,12 @@ name = "dlp2-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-dlp2_beta1] path = "../dlp2_beta1" -version = "3.0.0+20171205" +version = "3.1.0+20171205" diff --git a/gen/dlp2_beta1-cli/README.md b/gen/dlp2_beta1-cli/README.md index 497610503b..3331214e7a 100644 --- a/gen/dlp2_beta1-cli/README.md +++ b/gen/dlp2_beta1-cli/README.md @@ -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 *DLP* API at revision *20171205*. The CLI is at version *3.0.0*. +This documentation was generated from the *DLP* API at revision *20171205*. The CLI is at version *3.1.0*. ```bash dlp2-beta1 [options] diff --git a/gen/dlp2_beta1-cli/mkdocs.yml b/gen/dlp2_beta1-cli/mkdocs.yml index ebb93d290c..507f20f41e 100644 --- a/gen/dlp2_beta1-cli/mkdocs.yml +++ b/gen/dlp2_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: DLP v3.0.0+20171205 +site_name: DLP v3.1.0+20171205 site_url: http://byron.github.io/google-apis-rs/google-dlp2_beta1-cli site_description: A complete library to interact with DLP (protocol v2beta1) diff --git a/gen/dlp2_beta1-cli/src/main.rs b/gen/dlp2_beta1-cli/src/main.rs index 4165b9b0a7..517debd7be 100644 --- a/gen/dlp2_beta1-cli/src/main.rs +++ b/gen/dlp2_beta1-cli/src/main.rs @@ -1299,7 +1299,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/dlp2-beta1", 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::DLP::new(client, auth), @@ -1723,7 +1729,7 @@ async fn main() { let mut app = App::new("dlp2-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20171205") + .version("3.1.0+20171205") .about("The Google Data Loss Prevention API provides methods for detection of privacy-sensitive fragments in text, images, and Google Cloud Platform storage repositories.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_dlp2_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/dlp2_beta1/Cargo.toml b/gen/dlp2_beta1/Cargo.toml index 616cb2dc65..f24a570c9d 100644 --- a/gen/dlp2_beta1/Cargo.toml +++ b/gen/dlp2_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dlp2_beta1" -version = "3.0.0+20171205" +version = "3.1.0+20171205" authors = ["Sebastian Thiel "] description = "A complete library to interact with DLP (protocol v2beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dlp2_beta1" homepage = "https://cloud.google.com/dlp/docs/" -documentation = "https://docs.rs/google-dlp2_beta1/3.0.0+20171205" +documentation = "https://docs.rs/google-dlp2_beta1/3.1.0+20171205" license = "MIT" keywords = ["dlp", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/dlp2_beta1/README.md b/gen/dlp2_beta1/README.md index f687f0201a..0dd6173f8a 100644 --- a/gen/dlp2_beta1/README.md +++ b/gen/dlp2_beta1/README.md @@ -5,24 +5,24 @@ DO NOT EDIT ! --> The `google-dlp2_beta1` library allows access to all features of the *Google DLP* service. -This documentation was generated from *DLP* crate version *3.0.0+20171205*, where *20171205* is the exact revision of the *dlp:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *DLP* crate version *3.1.0+20171205*, where *20171205* is the exact revision of the *dlp:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *DLP* *v2_beta1* API can be found at the [official documentation site](https://cloud.google.com/dlp/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dlp2_beta1/3.0.0+20171205/google_dlp2_beta1/DLP) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dlp2_beta1/3.1.0+20171205/google_dlp2_beta1/DLP) ... * content - * [*deidentify*](https://docs.rs/google-dlp2_beta1/3.0.0+20171205/google_dlp2_beta1/api::ContentDeidentifyCall), [*inspect*](https://docs.rs/google-dlp2_beta1/3.0.0+20171205/google_dlp2_beta1/api::ContentInspectCall) and [*redact*](https://docs.rs/google-dlp2_beta1/3.0.0+20171205/google_dlp2_beta1/api::ContentRedactCall) + * [*deidentify*](https://docs.rs/google-dlp2_beta1/3.1.0+20171205/google_dlp2_beta1/api::ContentDeidentifyCall), [*inspect*](https://docs.rs/google-dlp2_beta1/3.1.0+20171205/google_dlp2_beta1/api::ContentInspectCall) and [*redact*](https://docs.rs/google-dlp2_beta1/3.1.0+20171205/google_dlp2_beta1/api::ContentRedactCall) * data source - * [*analyze*](https://docs.rs/google-dlp2_beta1/3.0.0+20171205/google_dlp2_beta1/api::DataSourceAnalyzeCall) + * [*analyze*](https://docs.rs/google-dlp2_beta1/3.1.0+20171205/google_dlp2_beta1/api::DataSourceAnalyzeCall) * inspect - * [*operations cancel*](https://docs.rs/google-dlp2_beta1/3.0.0+20171205/google_dlp2_beta1/api::InspectOperationCancelCall), [*operations create*](https://docs.rs/google-dlp2_beta1/3.0.0+20171205/google_dlp2_beta1/api::InspectOperationCreateCall), [*operations delete*](https://docs.rs/google-dlp2_beta1/3.0.0+20171205/google_dlp2_beta1/api::InspectOperationDeleteCall), [*operations get*](https://docs.rs/google-dlp2_beta1/3.0.0+20171205/google_dlp2_beta1/api::InspectOperationGetCall), [*operations list*](https://docs.rs/google-dlp2_beta1/3.0.0+20171205/google_dlp2_beta1/api::InspectOperationListCall) and [*results findings list*](https://docs.rs/google-dlp2_beta1/3.0.0+20171205/google_dlp2_beta1/api::InspectResultFindingListCall) + * [*operations cancel*](https://docs.rs/google-dlp2_beta1/3.1.0+20171205/google_dlp2_beta1/api::InspectOperationCancelCall), [*operations create*](https://docs.rs/google-dlp2_beta1/3.1.0+20171205/google_dlp2_beta1/api::InspectOperationCreateCall), [*operations delete*](https://docs.rs/google-dlp2_beta1/3.1.0+20171205/google_dlp2_beta1/api::InspectOperationDeleteCall), [*operations get*](https://docs.rs/google-dlp2_beta1/3.1.0+20171205/google_dlp2_beta1/api::InspectOperationGetCall), [*operations list*](https://docs.rs/google-dlp2_beta1/3.1.0+20171205/google_dlp2_beta1/api::InspectOperationListCall) and [*results findings list*](https://docs.rs/google-dlp2_beta1/3.1.0+20171205/google_dlp2_beta1/api::InspectResultFindingListCall) * risk analysis - * [*operations cancel*](https://docs.rs/google-dlp2_beta1/3.0.0+20171205/google_dlp2_beta1/api::RiskAnalysiOperationCancelCall), [*operations delete*](https://docs.rs/google-dlp2_beta1/3.0.0+20171205/google_dlp2_beta1/api::RiskAnalysiOperationDeleteCall), [*operations get*](https://docs.rs/google-dlp2_beta1/3.0.0+20171205/google_dlp2_beta1/api::RiskAnalysiOperationGetCall) and [*operations list*](https://docs.rs/google-dlp2_beta1/3.0.0+20171205/google_dlp2_beta1/api::RiskAnalysiOperationListCall) + * [*operations cancel*](https://docs.rs/google-dlp2_beta1/3.1.0+20171205/google_dlp2_beta1/api::RiskAnalysiOperationCancelCall), [*operations delete*](https://docs.rs/google-dlp2_beta1/3.1.0+20171205/google_dlp2_beta1/api::RiskAnalysiOperationDeleteCall), [*operations get*](https://docs.rs/google-dlp2_beta1/3.1.0+20171205/google_dlp2_beta1/api::RiskAnalysiOperationGetCall) and [*operations list*](https://docs.rs/google-dlp2_beta1/3.1.0+20171205/google_dlp2_beta1/api::RiskAnalysiOperationListCall) * root categories - * [*info types list*](https://docs.rs/google-dlp2_beta1/3.0.0+20171205/google_dlp2_beta1/api::RootCategoryInfoTypeListCall) and [*list*](https://docs.rs/google-dlp2_beta1/3.0.0+20171205/google_dlp2_beta1/api::RootCategoryListCall) + * [*info types list*](https://docs.rs/google-dlp2_beta1/3.1.0+20171205/google_dlp2_beta1/api::RootCategoryInfoTypeListCall) and [*list*](https://docs.rs/google-dlp2_beta1/3.1.0+20171205/google_dlp2_beta1/api::RootCategoryListCall) @@ -31,17 +31,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dlp2_beta1/3.0.0+20171205/google_dlp2_beta1/DLP)** +* **[Hub](https://docs.rs/google-dlp2_beta1/3.1.0+20171205/google_dlp2_beta1/DLP)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dlp2_beta1/3.0.0+20171205/google_dlp2_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dlp2_beta1/3.0.0+20171205/google_dlp2_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-dlp2_beta1/3.0.0+20171205/google_dlp2_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-dlp2_beta1/3.1.0+20171205/google_dlp2_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dlp2_beta1/3.1.0+20171205/google_dlp2_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-dlp2_beta1/3.1.0+20171205/google_dlp2_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dlp2_beta1/3.0.0+20171205/google_dlp2_beta1/client::Part)** + * **[Parts](https://docs.rs/google-dlp2_beta1/3.1.0+20171205/google_dlp2_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dlp2_beta1/3.0.0+20171205/google_dlp2_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-dlp2_beta1/3.1.0+20171205/google_dlp2_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -101,7 +101,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -129,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dlp2_beta1/3.0.0+20171205/google_dlp2_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dlp2_beta1/3.1.0+20171205/google_dlp2_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-dlp2_beta1/3.0.0+20171205/google_dlp2_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dlp2_beta1/3.1.0+20171205/google_dlp2_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dlp2_beta1/3.0.0+20171205/google_dlp2_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dlp2_beta1/3.1.0+20171205/google_dlp2_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-dlp2_beta1/3.0.0+20171205/google_dlp2_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dlp2_beta1/3.1.0+20171205/google_dlp2_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -149,29 +149,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dlp2_beta1/3.0.0+20171205/google_dlp2_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-dlp2_beta1/3.0.0+20171205/google_dlp2_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dlp2_beta1/3.1.0+20171205/google_dlp2_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-dlp2_beta1/3.1.0+20171205/google_dlp2_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-dlp2_beta1/3.0.0+20171205/google_dlp2_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dlp2_beta1/3.1.0+20171205/google_dlp2_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-dlp2_beta1/3.0.0+20171205/google_dlp2_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-dlp2_beta1/3.0.0+20171205/google_dlp2_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-dlp2_beta1/3.1.0+20171205/google_dlp2_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-dlp2_beta1/3.1.0+20171205/google_dlp2_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-dlp2_beta1/3.0.0+20171205/google_dlp2_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dlp2_beta1/3.1.0+20171205/google_dlp2_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-dlp2_beta1/3.0.0+20171205/google_dlp2_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dlp2_beta1/3.1.0+20171205/google_dlp2_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-dlp2_beta1/3.0.0+20171205/google_dlp2_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-dlp2_beta1/3.1.0+20171205/google_dlp2_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/dlp2_beta1/src/api.rs b/gen/dlp2_beta1/src/api.rs index 2ae4b404da..3e235a3622 100644 --- a/gen/dlp2_beta1/src/api.rs +++ b/gen/dlp2_beta1/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -113,7 +113,7 @@ impl<'a, > DLP<> { DLP { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://dlp.googleapis.com/".to_string(), _root_url: "https://dlp.googleapis.com/".to_string(), } @@ -136,7 +136,7 @@ impl<'a, > DLP<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -2366,7 +2366,7 @@ impl client::Part for GooglePrivacyDlpV2beta1PropertyReference {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `deidentify(...)`, `inspect(...)` and `redact(...)` /// // to build up your call. @@ -2461,7 +2461,7 @@ impl<'a> ContentMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `info_types_list(...)` and `list(...)` /// // to build up your call. @@ -2533,7 +2533,7 @@ impl<'a> RootCategoryMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `operations_cancel(...)`, `operations_delete(...)`, `operations_get(...)` and `operations_list(...)` /// // to build up your call. @@ -2649,7 +2649,7 @@ impl<'a> RiskAnalysiMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `analyze(...)` /// // to build up your call. @@ -2708,7 +2708,7 @@ impl<'a> DataSourceMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `operations_cancel(...)`, `operations_create(...)`, `operations_delete(...)`, `operations_get(...)`, `operations_list(...)` and `results_findings_list(...)` /// // to build up your call. @@ -2873,7 +2873,7 @@ impl<'a> InspectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3125,7 +3125,7 @@ impl<'a> ContentDeidentifyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3377,7 +3377,7 @@ impl<'a> ContentInspectCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3627,7 +3627,7 @@ impl<'a> ContentRedactCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3899,7 +3899,7 @@ impl<'a> RootCategoryInfoTypeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4135,7 +4135,7 @@ impl<'a> RootCategoryListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4422,7 +4422,7 @@ impl<'a> RiskAnalysiOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4680,7 +4680,7 @@ impl<'a> RiskAnalysiOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4976,7 +4976,7 @@ impl<'a> RiskAnalysiOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5236,7 +5236,7 @@ impl<'a> RiskAnalysiOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5488,7 +5488,7 @@ impl<'a> DataSourceAnalyzeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5739,7 +5739,7 @@ impl<'a> InspectOperationCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6026,7 +6026,7 @@ impl<'a> InspectOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6284,7 +6284,7 @@ impl<'a> InspectOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6580,7 +6580,7 @@ impl<'a> InspectOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6838,7 +6838,7 @@ impl<'a> InspectOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/dlp2_beta1/src/lib.rs b/gen/dlp2_beta1/src/lib.rs index 080c546c08..d7e6cff5d8 100644 --- a/gen/dlp2_beta1/src/lib.rs +++ b/gen/dlp2_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *DLP* crate version *3.0.0+20171205*, where *20171205* is the exact revision of the *dlp:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *DLP* crate version *3.1.0+20171205*, where *20171205* is the exact revision of the *dlp:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *DLP* *v2_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/dlp/docs/). @@ -102,7 +102,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = DLP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/dns1-cli/Cargo.toml b/gen/dns1-cli/Cargo.toml index 91d5a7e4fa..ff40b4cdfe 100644 --- a/gen/dns1-cli/Cargo.toml +++ b/gen/dns1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dns1-cli" -version = "3.0.0+20220217" +version = "3.1.0+20220217" authors = ["Sebastian Thiel "] description = "A complete library to interact with Dns (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dns1-cli" @@ -20,12 +20,12 @@ name = "dns1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-dns1] path = "../dns1" -version = "3.0.0+20220217" +version = "3.1.0+20220217" diff --git a/gen/dns1-cli/README.md b/gen/dns1-cli/README.md index 0757a8bd06..9b68bfe7b3 100644 --- a/gen/dns1-cli/README.md +++ b/gen/dns1-cli/README.md @@ -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 *Dns* API at revision *20220217*. The CLI is at version *3.0.0*. +This documentation was generated from the *Dns* API at revision *20220217*. The CLI is at version *3.1.0*. ```bash dns1 [options] diff --git a/gen/dns1-cli/mkdocs.yml b/gen/dns1-cli/mkdocs.yml index c2de544c66..35dc1eafb5 100644 --- a/gen/dns1-cli/mkdocs.yml +++ b/gen/dns1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Dns v3.0.0+20220217 +site_name: Dns v3.1.0+20220217 site_url: http://byron.github.io/google-apis-rs/google-dns1-cli site_description: A complete library to interact with Dns (protocol v1) diff --git a/gen/dns1-cli/src/main.rs b/gen/dns1-cli/src/main.rs index c54ca0d4a6..4c6273a1b1 100644 --- a/gen/dns1-cli/src/main.rs +++ b/gen/dns1-cli/src/main.rs @@ -2978,7 +2978,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/dns1", 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::Dns::new(client, auth), @@ -4182,7 +4188,7 @@ async fn main() { let mut app = App::new("dns1") .author("Sebastian Thiel ") - .version("3.0.0+20220217") + .version("3.1.0+20220217") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_dns1_cli") .arg(Arg::with_name("url") diff --git a/gen/dns1/Cargo.toml b/gen/dns1/Cargo.toml index f8d29d7bf9..35be42dabb 100644 --- a/gen/dns1/Cargo.toml +++ b/gen/dns1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dns1" -version = "3.0.0+20220217" +version = "3.1.0+20220217" authors = ["Sebastian Thiel "] description = "A complete library to interact with Dns (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dns1" homepage = "https://cloud.google.com/dns/docs" -documentation = "https://docs.rs/google-dns1/3.0.0+20220217" +documentation = "https://docs.rs/google-dns1/3.1.0+20220217" license = "MIT" keywords = ["dns", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/dns1/README.md b/gen/dns1/README.md index 8729792a2d..f0c0c67e70 100644 --- a/gen/dns1/README.md +++ b/gen/dns1/README.md @@ -5,32 +5,32 @@ DO NOT EDIT ! --> The `google-dns1` library allows access to all features of the *Google Dns* service. -This documentation was generated from *Dns* crate version *3.0.0+20220217*, where *20220217* is the exact revision of the *dns:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Dns* crate version *3.1.0+20220217*, where *20220217* is the exact revision of the *dns:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Dns* *v1* API can be found at the [official documentation site](https://cloud.google.com/dns/docs). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/Dns) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/Dns) ... -* [changes](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::Change) - * [*create*](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::ChangeCreateCall), [*get*](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::ChangeGetCall) and [*list*](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::ChangeListCall) -* [dns keys](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::DnsKey) - * [*get*](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::DnsKeyGetCall) and [*list*](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::DnsKeyListCall) +* [changes](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::Change) + * [*create*](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::ChangeCreateCall), [*get*](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::ChangeGetCall) and [*list*](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::ChangeListCall) +* [dns keys](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::DnsKey) + * [*get*](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::DnsKeyGetCall) and [*list*](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::DnsKeyListCall) * managed zone operations - * [*get*](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::ManagedZoneOperationGetCall) and [*list*](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::ManagedZoneOperationListCall) -* [managed zones](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::ManagedZone) - * [*create*](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::ManagedZoneCreateCall), [*delete*](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::ManagedZoneDeleteCall), [*get*](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::ManagedZoneGetCall), [*list*](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::ManagedZoneListCall), [*patch*](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::ManagedZonePatchCall) and [*update*](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::ManagedZoneUpdateCall) -* [policies](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::Policy) - * [*create*](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::PolicyCreateCall), [*delete*](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::PolicyDeleteCall), [*get*](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::PolicyGetCall), [*list*](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::PolicyListCall), [*patch*](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::PolicyPatchCall) and [*update*](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::PolicyUpdateCall) -* [projects](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::Project) - * [*get*](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::ProjectGetCall) -* [resource record sets](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::ResourceRecordSet) - * [*create*](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::ResourceRecordSetCreateCall), [*delete*](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::ResourceRecordSetDeleteCall), [*get*](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::ResourceRecordSetGetCall), [*list*](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::ResourceRecordSetListCall) and [*patch*](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::ResourceRecordSetPatchCall) -* [response policies](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::ResponsePolicy) - * [*create*](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::ResponsePolicyCreateCall), [*delete*](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::ResponsePolicyDeleteCall), [*get*](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::ResponsePolicyGetCall), [*list*](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::ResponsePolicyListCall), [*patch*](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::ResponsePolicyPatchCall) and [*update*](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::ResponsePolicyUpdateCall) -* [response policy rules](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::ResponsePolicyRule) - * [*create*](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::ResponsePolicyRuleCreateCall), [*delete*](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::ResponsePolicyRuleDeleteCall), [*get*](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::ResponsePolicyRuleGetCall), [*list*](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::ResponsePolicyRuleListCall), [*patch*](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::ResponsePolicyRulePatchCall) and [*update*](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/api::ResponsePolicyRuleUpdateCall) + * [*get*](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::ManagedZoneOperationGetCall) and [*list*](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::ManagedZoneOperationListCall) +* [managed zones](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::ManagedZone) + * [*create*](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::ManagedZoneCreateCall), [*delete*](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::ManagedZoneDeleteCall), [*get*](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::ManagedZoneGetCall), [*list*](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::ManagedZoneListCall), [*patch*](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::ManagedZonePatchCall) and [*update*](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::ManagedZoneUpdateCall) +* [policies](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::Policy) + * [*create*](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::PolicyCreateCall), [*delete*](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::PolicyDeleteCall), [*get*](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::PolicyGetCall), [*list*](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::PolicyListCall), [*patch*](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::PolicyPatchCall) and [*update*](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::PolicyUpdateCall) +* [projects](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::Project) + * [*get*](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::ProjectGetCall) +* [resource record sets](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::ResourceRecordSet) + * [*create*](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::ResourceRecordSetCreateCall), [*delete*](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::ResourceRecordSetDeleteCall), [*get*](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::ResourceRecordSetGetCall), [*list*](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::ResourceRecordSetListCall) and [*patch*](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::ResourceRecordSetPatchCall) +* [response policies](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::ResponsePolicy) + * [*create*](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::ResponsePolicyCreateCall), [*delete*](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::ResponsePolicyDeleteCall), [*get*](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::ResponsePolicyGetCall), [*list*](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::ResponsePolicyListCall), [*patch*](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::ResponsePolicyPatchCall) and [*update*](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::ResponsePolicyUpdateCall) +* [response policy rules](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::ResponsePolicyRule) + * [*create*](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::ResponsePolicyRuleCreateCall), [*delete*](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::ResponsePolicyRuleDeleteCall), [*get*](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::ResponsePolicyRuleGetCall), [*list*](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::ResponsePolicyRuleListCall), [*patch*](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::ResponsePolicyRulePatchCall) and [*update*](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/api::ResponsePolicyRuleUpdateCall) @@ -39,17 +39,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/Dns)** +* **[Hub](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/Dns)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/client::CallBuilder) -* **[Resources](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/client::CallBuilder) +* **[Resources](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/client::Part)** + * **[Parts](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -111,7 +111,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -142,17 +142,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -162,29 +162,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/client::Delegate) to the -[Method Builder](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/client::Delegate) to the +[Method Builder](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/client::RequestValue) and -[decodable](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/client::RequestValue) and +[decodable](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-dns1/3.0.0+20220217/google_dns1/client::RequestValue) are moved +* [request values](https://docs.rs/google-dns1/3.1.0+20220217/google_dns1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/dns1/src/api.rs b/gen/dns1/src/api.rs index 980b2830f0..98679c8cb8 100644 --- a/gen/dns1/src/api.rs +++ b/gen/dns1/src/api.rs @@ -82,7 +82,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -128,7 +128,7 @@ impl<'a, > Dns<> { Dns { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://dns.googleapis.com/".to_string(), _root_url: "https://dns.googleapis.com/".to_string(), } @@ -163,7 +163,7 @@ impl<'a, > Dns<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1412,7 +1412,7 @@ impl client::ResponseResult for ResponsePolicyRulesUpdateResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `get(...)` and `list(...)` /// // to build up your call. @@ -1520,7 +1520,7 @@ impl<'a> ChangeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -1606,7 +1606,7 @@ impl<'a> DnsKeyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -1691,7 +1691,7 @@ impl<'a> ManagedZoneOperationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)`, `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -1856,7 +1856,7 @@ impl<'a> ManagedZoneMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)`, `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -2020,7 +2020,7 @@ impl<'a> PolicyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -2079,7 +2079,7 @@ impl<'a> ProjectMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)`, `get(...)`, `list(...)` and `patch(...)` /// // to build up your call. @@ -2239,7 +2239,7 @@ impl<'a> ResourceRecordSetMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)`, `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -2403,7 +2403,7 @@ impl<'a> ResponsePolicyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)`, `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -2587,7 +2587,7 @@ impl<'a> ResponsePolicyRuleMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2892,7 +2892,7 @@ impl<'a> ChangeCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3180,7 +3180,7 @@ impl<'a> ChangeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3492,7 +3492,7 @@ impl<'a> ChangeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3792,7 +3792,7 @@ impl<'a> DnsKeyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4092,7 +4092,7 @@ impl<'a> DnsKeyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4380,7 +4380,7 @@ impl<'a> ManagedZoneOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4681,7 +4681,7 @@ impl<'a> ManagedZoneOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4974,7 +4974,7 @@ impl<'a> ManagedZoneCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5239,7 +5239,7 @@ impl<'a> ManagedZoneDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5515,7 +5515,7 @@ impl<'a> ManagedZoneGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5804,7 +5804,7 @@ impl<'a> ManagedZoneListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6110,7 +6110,7 @@ impl<'a> ManagedZonePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6416,7 +6416,7 @@ impl<'a> ManagedZoneUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6709,7 +6709,7 @@ impl<'a> PolicyCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6974,7 +6974,7 @@ impl<'a> PolicyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7250,7 +7250,7 @@ impl<'a> PolicyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7527,7 +7527,7 @@ impl<'a> PolicyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7833,7 +7833,7 @@ impl<'a> PolicyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8138,7 +8138,7 @@ impl<'a> PolicyUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8403,7 +8403,7 @@ impl<'a> ProjectGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8708,7 +8708,7 @@ impl<'a> ResourceRecordSetCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9008,7 +9008,7 @@ impl<'a> ResourceRecordSetDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9308,7 +9308,7 @@ impl<'a> ResourceRecordSetGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9621,7 +9621,7 @@ impl<'a> ResourceRecordSetListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9951,7 +9951,7 @@ impl<'a> ResourceRecordSetPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10244,7 +10244,7 @@ impl<'a> ResponsePolicyCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10509,7 +10509,7 @@ impl<'a> ResponsePolicyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10785,7 +10785,7 @@ impl<'a> ResponsePolicyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11062,7 +11062,7 @@ impl<'a> ResponsePolicyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11368,7 +11368,7 @@ impl<'a> ResponsePolicyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11674,7 +11674,7 @@ impl<'a> ResponsePolicyUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11979,7 +11979,7 @@ impl<'a> ResponsePolicyRuleCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12256,7 +12256,7 @@ impl<'a> ResponsePolicyRuleDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12544,7 +12544,7 @@ impl<'a> ResponsePolicyRuleGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12833,7 +12833,7 @@ impl<'a> ResponsePolicyRuleListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13151,7 +13151,7 @@ impl<'a> ResponsePolicyRulePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/dns1/src/lib.rs b/gen/dns1/src/lib.rs index c4742824b6..f47f83310a 100644 --- a/gen/dns1/src/lib.rs +++ b/gen/dns1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Dns* crate version *3.0.0+20220217*, where *20220217* is the exact revision of the *dns:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Dns* crate version *3.1.0+20220217*, where *20220217* is the exact revision of the *dns:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Dns* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/dns/docs). @@ -112,7 +112,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/dns2-cli/Cargo.toml b/gen/dns2-cli/Cargo.toml index db86328e1c..bcc0375456 100644 --- a/gen/dns2-cli/Cargo.toml +++ b/gen/dns2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dns2-cli" -version = "3.0.0+20220217" +version = "3.1.0+20220217" authors = ["Sebastian Thiel "] description = "A complete library to interact with Dns (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dns2-cli" @@ -20,12 +20,12 @@ name = "dns2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-dns2] path = "../dns2" -version = "3.0.0+20220217" +version = "3.1.0+20220217" diff --git a/gen/dns2-cli/README.md b/gen/dns2-cli/README.md index 07e57bc567..92dda1b557 100644 --- a/gen/dns2-cli/README.md +++ b/gen/dns2-cli/README.md @@ -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 *Dns* API at revision *20220217*. The CLI is at version *3.0.0*. +This documentation was generated from the *Dns* API at revision *20220217*. The CLI is at version *3.1.0*. ```bash dns2 [options] diff --git a/gen/dns2-cli/mkdocs.yml b/gen/dns2-cli/mkdocs.yml index d8185d32ac..5378cb27a4 100644 --- a/gen/dns2-cli/mkdocs.yml +++ b/gen/dns2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Dns v3.0.0+20220217 +site_name: Dns v3.1.0+20220217 site_url: http://byron.github.io/google-apis-rs/google-dns2-cli site_description: A complete library to interact with Dns (protocol v2) diff --git a/gen/dns2-cli/src/main.rs b/gen/dns2-cli/src/main.rs index aefddb8c01..dabe87a716 100644 --- a/gen/dns2-cli/src/main.rs +++ b/gen/dns2-cli/src/main.rs @@ -2970,7 +2970,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/dns2", 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::Dns::new(client, auth), @@ -4390,7 +4396,7 @@ async fn main() { let mut app = App::new("dns2") .author("Sebastian Thiel ") - .version("3.0.0+20220217") + .version("3.1.0+20220217") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_dns2_cli") .arg(Arg::with_name("url") diff --git a/gen/dns2/Cargo.toml b/gen/dns2/Cargo.toml index 72a5fd5989..1e3b5283b7 100644 --- a/gen/dns2/Cargo.toml +++ b/gen/dns2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-dns2" -version = "3.0.0+20220217" +version = "3.1.0+20220217" authors = ["Sebastian Thiel "] description = "A complete library to interact with Dns (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/dns2" homepage = "https://cloud.google.com/dns/docs" -documentation = "https://docs.rs/google-dns2/3.0.0+20220217" +documentation = "https://docs.rs/google-dns2/3.1.0+20220217" license = "MIT" keywords = ["dns", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/dns2/README.md b/gen/dns2/README.md index d4bf9132b5..2d2391ee39 100644 --- a/gen/dns2/README.md +++ b/gen/dns2/README.md @@ -5,32 +5,32 @@ DO NOT EDIT ! --> The `google-dns2` library allows access to all features of the *Google Dns* service. -This documentation was generated from *Dns* crate version *3.0.0+20220217*, where *20220217* is the exact revision of the *dns:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Dns* crate version *3.1.0+20220217*, where *20220217* is the exact revision of the *dns:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Dns* *v2* API can be found at the [official documentation site](https://cloud.google.com/dns/docs). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/Dns) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/Dns) ... -* [changes](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::Change) - * [*create*](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::ChangeCreateCall), [*get*](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::ChangeGetCall) and [*list*](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::ChangeListCall) -* [dns keys](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::DnsKey) - * [*get*](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::DnsKeyGetCall) and [*list*](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::DnsKeyListCall) +* [changes](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::Change) + * [*create*](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::ChangeCreateCall), [*get*](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::ChangeGetCall) and [*list*](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::ChangeListCall) +* [dns keys](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::DnsKey) + * [*get*](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::DnsKeyGetCall) and [*list*](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::DnsKeyListCall) * managed zone operations - * [*get*](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::ManagedZoneOperationGetCall) and [*list*](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::ManagedZoneOperationListCall) -* [managed zones](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::ManagedZone) - * [*create*](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::ManagedZoneCreateCall), [*delete*](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::ManagedZoneDeleteCall), [*get*](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::ManagedZoneGetCall), [*list*](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::ManagedZoneListCall), [*patch*](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::ManagedZonePatchCall) and [*update*](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::ManagedZoneUpdateCall) -* [policies](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::Policy) - * [*create*](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::PolicyCreateCall), [*delete*](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::PolicyDeleteCall), [*get*](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::PolicyGetCall), [*list*](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::PolicyListCall), [*patch*](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::PolicyPatchCall) and [*update*](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::PolicyUpdateCall) -* [projects](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::Project) - * [*get*](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::ProjectGetCall) -* [resource record sets](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::ResourceRecordSet) - * [*create*](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::ResourceRecordSetCreateCall), [*delete*](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::ResourceRecordSetDeleteCall), [*get*](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::ResourceRecordSetGetCall), [*list*](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::ResourceRecordSetListCall) and [*patch*](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::ResourceRecordSetPatchCall) -* [response policies](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::ResponsePolicy) - * [*create*](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::ResponsePolicyCreateCall), [*delete*](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::ResponsePolicyDeleteCall), [*get*](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::ResponsePolicyGetCall), [*list*](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::ResponsePolicyListCall), [*patch*](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::ResponsePolicyPatchCall) and [*update*](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::ResponsePolicyUpdateCall) -* [response policy rules](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::ResponsePolicyRule) - * [*create*](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::ResponsePolicyRuleCreateCall), [*delete*](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::ResponsePolicyRuleDeleteCall), [*get*](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::ResponsePolicyRuleGetCall), [*list*](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::ResponsePolicyRuleListCall), [*patch*](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::ResponsePolicyRulePatchCall) and [*update*](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/api::ResponsePolicyRuleUpdateCall) + * [*get*](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::ManagedZoneOperationGetCall) and [*list*](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::ManagedZoneOperationListCall) +* [managed zones](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::ManagedZone) + * [*create*](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::ManagedZoneCreateCall), [*delete*](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::ManagedZoneDeleteCall), [*get*](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::ManagedZoneGetCall), [*list*](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::ManagedZoneListCall), [*patch*](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::ManagedZonePatchCall) and [*update*](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::ManagedZoneUpdateCall) +* [policies](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::Policy) + * [*create*](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::PolicyCreateCall), [*delete*](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::PolicyDeleteCall), [*get*](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::PolicyGetCall), [*list*](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::PolicyListCall), [*patch*](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::PolicyPatchCall) and [*update*](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::PolicyUpdateCall) +* [projects](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::Project) + * [*get*](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::ProjectGetCall) +* [resource record sets](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::ResourceRecordSet) + * [*create*](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::ResourceRecordSetCreateCall), [*delete*](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::ResourceRecordSetDeleteCall), [*get*](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::ResourceRecordSetGetCall), [*list*](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::ResourceRecordSetListCall) and [*patch*](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::ResourceRecordSetPatchCall) +* [response policies](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::ResponsePolicy) + * [*create*](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::ResponsePolicyCreateCall), [*delete*](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::ResponsePolicyDeleteCall), [*get*](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::ResponsePolicyGetCall), [*list*](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::ResponsePolicyListCall), [*patch*](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::ResponsePolicyPatchCall) and [*update*](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::ResponsePolicyUpdateCall) +* [response policy rules](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::ResponsePolicyRule) + * [*create*](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::ResponsePolicyRuleCreateCall), [*delete*](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::ResponsePolicyRuleDeleteCall), [*get*](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::ResponsePolicyRuleGetCall), [*list*](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::ResponsePolicyRuleListCall), [*patch*](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::ResponsePolicyRulePatchCall) and [*update*](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/api::ResponsePolicyRuleUpdateCall) @@ -39,17 +39,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/Dns)** +* **[Hub](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/Dns)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/client::CallBuilder) -* **[Resources](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/client::CallBuilder) +* **[Resources](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/client::Part)** + * **[Parts](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -111,7 +111,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -142,17 +142,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -162,29 +162,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/client::Delegate) to the -[Method Builder](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/client::Delegate) to the +[Method Builder](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/client::RequestValue) and -[decodable](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/client::RequestValue) and +[decodable](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-dns2/3.0.0+20220217/google_dns2/client::RequestValue) are moved +* [request values](https://docs.rs/google-dns2/3.1.0+20220217/google_dns2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/dns2/src/api.rs b/gen/dns2/src/api.rs index f643ed441c..e2a4a83dc0 100644 --- a/gen/dns2/src/api.rs +++ b/gen/dns2/src/api.rs @@ -82,7 +82,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -128,7 +128,7 @@ impl<'a, > Dns<> { Dns { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://dns.googleapis.com/".to_string(), _root_url: "https://dns.googleapis.com/".to_string(), } @@ -163,7 +163,7 @@ impl<'a, > Dns<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1435,7 +1435,7 @@ impl client::ResponseResult for ResponsePolicyRulesUpdateResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `get(...)` and `list(...)` /// // to build up your call. @@ -1549,7 +1549,7 @@ impl<'a> ChangeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -1639,7 +1639,7 @@ impl<'a> DnsKeyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -1728,7 +1728,7 @@ impl<'a> ManagedZoneOperationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)`, `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -1905,7 +1905,7 @@ impl<'a> ManagedZoneMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)`, `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -2081,7 +2081,7 @@ impl<'a> PolicyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -2142,7 +2142,7 @@ impl<'a> ProjectMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)`, `get(...)`, `list(...)` and `patch(...)` /// // to build up your call. @@ -2312,7 +2312,7 @@ impl<'a> ResourceRecordSetMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)`, `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -2488,7 +2488,7 @@ impl<'a> ResponsePolicyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)`, `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -2684,7 +2684,7 @@ impl<'a> ResponsePolicyRuleMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3000,7 +3000,7 @@ impl<'a> ChangeCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3299,7 +3299,7 @@ impl<'a> ChangeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3622,7 +3622,7 @@ impl<'a> ChangeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3934,7 +3934,7 @@ impl<'a> DnsKeyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4246,7 +4246,7 @@ impl<'a> DnsKeyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4546,7 +4546,7 @@ impl<'a> ManagedZoneOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4859,7 +4859,7 @@ impl<'a> ManagedZoneOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5164,7 +5164,7 @@ impl<'a> ManagedZoneCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5441,7 +5441,7 @@ impl<'a> ManagedZoneDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5729,7 +5729,7 @@ impl<'a> ManagedZoneGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6030,7 +6030,7 @@ impl<'a> ManagedZoneListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6348,7 +6348,7 @@ impl<'a> ManagedZonePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6666,7 +6666,7 @@ impl<'a> ManagedZoneUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6971,7 +6971,7 @@ impl<'a> PolicyCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7248,7 +7248,7 @@ impl<'a> PolicyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7536,7 +7536,7 @@ impl<'a> PolicyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7825,7 +7825,7 @@ impl<'a> PolicyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8143,7 +8143,7 @@ impl<'a> PolicyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8460,7 +8460,7 @@ impl<'a> PolicyUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8736,7 +8736,7 @@ impl<'a> ProjectGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9053,7 +9053,7 @@ impl<'a> ResourceRecordSetCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9354,7 +9354,7 @@ impl<'a> ResourceRecordSetDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9666,7 +9666,7 @@ impl<'a> ResourceRecordSetGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9991,7 +9991,7 @@ impl<'a> ResourceRecordSetListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10333,7 +10333,7 @@ impl<'a> ResourceRecordSetPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10638,7 +10638,7 @@ impl<'a> ResponsePolicyCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10915,7 +10915,7 @@ impl<'a> ResponsePolicyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11203,7 +11203,7 @@ impl<'a> ResponsePolicyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11492,7 +11492,7 @@ impl<'a> ResponsePolicyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11810,7 +11810,7 @@ impl<'a> ResponsePolicyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12128,7 +12128,7 @@ impl<'a> ResponsePolicyUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12445,7 +12445,7 @@ impl<'a> ResponsePolicyRuleCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12734,7 +12734,7 @@ impl<'a> ResponsePolicyRuleDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13034,7 +13034,7 @@ impl<'a> ResponsePolicyRuleGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13335,7 +13335,7 @@ impl<'a> ResponsePolicyRuleListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13665,7 +13665,7 @@ impl<'a> ResponsePolicyRulePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/dns2/src/lib.rs b/gen/dns2/src/lib.rs index 08c25a7529..4832c31438 100644 --- a/gen/dns2/src/lib.rs +++ b/gen/dns2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Dns* crate version *3.0.0+20220217*, where *20220217* is the exact revision of the *dns:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Dns* crate version *3.1.0+20220217*, where *20220217* is the exact revision of the *dns:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Dns* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/dns/docs). @@ -112,7 +112,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Dns::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/docs1-cli/Cargo.toml b/gen/docs1-cli/Cargo.toml index ec65b5681e..60460f3879 100644 --- a/gen/docs1-cli/Cargo.toml +++ b/gen/docs1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-docs1-cli" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with Docs (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/docs1-cli" @@ -20,12 +20,12 @@ name = "docs1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-docs1] path = "../docs1" -version = "3.0.0+20220301" +version = "3.1.0+20220301" diff --git a/gen/docs1-cli/README.md b/gen/docs1-cli/README.md index 259dcd4b50..1b47a4ecf1 100644 --- a/gen/docs1-cli/README.md +++ b/gen/docs1-cli/README.md @@ -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 *Docs* API at revision *20220301*. The CLI is at version *3.0.0*. +This documentation was generated from the *Docs* API at revision *20220301*. The CLI is at version *3.1.0*. ```bash docs1 [options] diff --git a/gen/docs1-cli/mkdocs.yml b/gen/docs1-cli/mkdocs.yml index 1c4e1e5001..92cfc99ac5 100644 --- a/gen/docs1-cli/mkdocs.yml +++ b/gen/docs1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Docs v3.0.0+20220301 +site_name: Docs v3.1.0+20220301 site_url: http://byron.github.io/google-apis-rs/google-docs1-cli site_description: A complete library to interact with Docs (protocol v1) diff --git a/gen/docs1-cli/src/main.rs b/gen/docs1-cli/src/main.rs index ef5aa8b209..1f0a1c89e6 100644 --- a/gen/docs1-cli/src/main.rs +++ b/gen/docs1-cli/src/main.rs @@ -357,7 +357,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/docs1", 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::Docs::new(client, auth), @@ -471,7 +477,7 @@ async fn main() { let mut app = App::new("docs1") .author("Sebastian Thiel ") - .version("3.0.0+20220301") + .version("3.1.0+20220301") .about("Reads and writes Google Docs documents.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_docs1_cli") .arg(Arg::with_name("url") diff --git a/gen/docs1/Cargo.toml b/gen/docs1/Cargo.toml index 0c80a78c90..602c9f5bb9 100644 --- a/gen/docs1/Cargo.toml +++ b/gen/docs1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-docs1" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with Docs (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/docs1" homepage = "https://developers.google.com/docs/" -documentation = "https://docs.rs/google-docs1/3.0.0+20220301" +documentation = "https://docs.rs/google-docs1/3.1.0+20220301" license = "MIT" keywords = ["docs", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/docs1/README.md b/gen/docs1/README.md index 3dc5c8cb98..1af5b4b420 100644 --- a/gen/docs1/README.md +++ b/gen/docs1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-docs1` library allows access to all features of the *Google Docs* service. -This documentation was generated from *Docs* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *docs:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Docs* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *docs:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Docs* *v1* API can be found at the [official documentation site](https://developers.google.com/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-docs1/3.0.0+20220301/google_docs1/Docs) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-docs1/3.1.0+20220301/google_docs1/Docs) ... -* [documents](https://docs.rs/google-docs1/3.0.0+20220301/google_docs1/api::Document) - * [*batch update*](https://docs.rs/google-docs1/3.0.0+20220301/google_docs1/api::DocumentBatchUpdateCall), [*create*](https://docs.rs/google-docs1/3.0.0+20220301/google_docs1/api::DocumentCreateCall) and [*get*](https://docs.rs/google-docs1/3.0.0+20220301/google_docs1/api::DocumentGetCall) +* [documents](https://docs.rs/google-docs1/3.1.0+20220301/google_docs1/api::Document) + * [*batch update*](https://docs.rs/google-docs1/3.1.0+20220301/google_docs1/api::DocumentBatchUpdateCall), [*create*](https://docs.rs/google-docs1/3.1.0+20220301/google_docs1/api::DocumentCreateCall) and [*get*](https://docs.rs/google-docs1/3.1.0+20220301/google_docs1/api::DocumentGetCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-docs1/3.0.0+20220301/google_docs1/Docs)** +* **[Hub](https://docs.rs/google-docs1/3.1.0+20220301/google_docs1/Docs)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-docs1/3.0.0+20220301/google_docs1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-docs1/3.0.0+20220301/google_docs1/client::CallBuilder) -* **[Resources](https://docs.rs/google-docs1/3.0.0+20220301/google_docs1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-docs1/3.1.0+20220301/google_docs1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-docs1/3.1.0+20220301/google_docs1/client::CallBuilder) +* **[Resources](https://docs.rs/google-docs1/3.1.0+20220301/google_docs1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-docs1/3.0.0+20220301/google_docs1/client::Part)** + * **[Parts](https://docs.rs/google-docs1/3.1.0+20220301/google_docs1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-docs1/3.0.0+20220301/google_docs1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-docs1/3.1.0+20220301/google_docs1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -93,7 +93,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Docs::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Docs::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -126,17 +126,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-docs1/3.0.0+20220301/google_docs1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-docs1/3.1.0+20220301/google_docs1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-docs1/3.0.0+20220301/google_docs1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-docs1/3.1.0+20220301/google_docs1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-docs1/3.0.0+20220301/google_docs1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-docs1/3.1.0+20220301/google_docs1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-docs1/3.0.0+20220301/google_docs1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-docs1/3.1.0+20220301/google_docs1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -146,29 +146,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-docs1/3.0.0+20220301/google_docs1/client::Delegate) to the -[Method Builder](https://docs.rs/google-docs1/3.0.0+20220301/google_docs1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-docs1/3.1.0+20220301/google_docs1/client::Delegate) to the +[Method Builder](https://docs.rs/google-docs1/3.1.0+20220301/google_docs1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-docs1/3.0.0+20220301/google_docs1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-docs1/3.1.0+20220301/google_docs1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-docs1/3.0.0+20220301/google_docs1/client::RequestValue) and -[decodable](https://docs.rs/google-docs1/3.0.0+20220301/google_docs1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-docs1/3.1.0+20220301/google_docs1/client::RequestValue) and +[decodable](https://docs.rs/google-docs1/3.1.0+20220301/google_docs1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-docs1/3.0.0+20220301/google_docs1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-docs1/3.1.0+20220301/google_docs1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-docs1/3.0.0+20220301/google_docs1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-docs1/3.1.0+20220301/google_docs1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-docs1/3.0.0+20220301/google_docs1/client::RequestValue) are moved +* [request values](https://docs.rs/google-docs1/3.1.0+20220301/google_docs1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/docs1/src/api.rs b/gen/docs1/src/api.rs index 3a5482e0a2..386f321c76 100644 --- a/gen/docs1/src/api.rs +++ b/gen/docs1/src/api.rs @@ -87,7 +87,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Docs::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Docs::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -135,7 +135,7 @@ impl<'a, > Docs<> { Docs { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://docs.googleapis.com/".to_string(), _root_url: "https://docs.googleapis.com/".to_string(), } @@ -146,7 +146,7 @@ impl<'a, > Docs<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -3522,7 +3522,7 @@ impl client::Part for WriteControl {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Docs::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Docs::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `batch_update(...)`, `create(...)` and `get(...)` /// // to build up your call. @@ -3625,7 +3625,7 @@ impl<'a> DocumentMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Docs::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Docs::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3907,7 +3907,7 @@ impl<'a> DocumentBatchUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Docs::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Docs::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4155,7 +4155,7 @@ impl<'a> DocumentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Docs::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Docs::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/docs1/src/lib.rs b/gen/docs1/src/lib.rs index b3aab7a3a6..acd592d713 100644 --- a/gen/docs1/src/lib.rs +++ b/gen/docs1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Docs* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *docs:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Docs* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *docs:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Docs* *v1* API can be found at the //! [official documentation site](https://developers.google.com/docs/). @@ -94,7 +94,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Docs::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Docs::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/documentai1-cli/Cargo.toml b/gen/documentai1-cli/Cargo.toml index f76d986015..9539711392 100644 --- a/gen/documentai1-cli/Cargo.toml +++ b/gen/documentai1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-documentai1-cli" -version = "3.0.0+20220226" +version = "3.1.0+20220226" authors = ["Sebastian Thiel "] description = "A complete library to interact with Document (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/documentai1-cli" @@ -20,12 +20,12 @@ name = "documentai1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-documentai1] path = "../documentai1" -version = "3.0.0+20220226" +version = "3.1.0+20220226" diff --git a/gen/documentai1-cli/README.md b/gen/documentai1-cli/README.md index d0d5a6698e..c5d782969e 100644 --- a/gen/documentai1-cli/README.md +++ b/gen/documentai1-cli/README.md @@ -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 *Document* API at revision *20220226*. The CLI is at version *3.0.0*. +This documentation was generated from the *Document* API at revision *20220226*. The CLI is at version *3.1.0*. ```bash documentai1 [options] diff --git a/gen/documentai1-cli/mkdocs.yml b/gen/documentai1-cli/mkdocs.yml index a1200472a5..d2235d791e 100644 --- a/gen/documentai1-cli/mkdocs.yml +++ b/gen/documentai1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Document v3.0.0+20220226 +site_name: Document v3.1.0+20220226 site_url: http://byron.github.io/google-apis-rs/google-documentai1-cli site_description: A complete library to interact with Document (protocol v1) diff --git a/gen/documentai1-cli/src/main.rs b/gen/documentai1-cli/src/main.rs index 9e4556f347..f3d1120ae9 100644 --- a/gen/documentai1-cli/src/main.rs +++ b/gen/documentai1-cli/src/main.rs @@ -2211,7 +2211,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/documentai1", 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::Document::new(client, auth), @@ -2985,7 +2991,7 @@ async fn main() { let mut app = App::new("documentai1") .author("Sebastian Thiel ") - .version("3.0.0+20220226") + .version("3.1.0+20220226") .about("Service to parse structured information from unstructured or semi-structured documents using state-of-the-art Google AI such as natural language, computer vision, translation, and AutoML.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_documentai1_cli") .arg(Arg::with_name("url") diff --git a/gen/documentai1/Cargo.toml b/gen/documentai1/Cargo.toml index 1420eef09f..1a1751b6f5 100644 --- a/gen/documentai1/Cargo.toml +++ b/gen/documentai1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-documentai1" -version = "3.0.0+20220226" +version = "3.1.0+20220226" authors = ["Sebastian Thiel "] description = "A complete library to interact with Document (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/documentai1" homepage = "https://cloud.google.com/document-ai/docs/" -documentation = "https://docs.rs/google-documentai1/3.0.0+20220226" +documentation = "https://docs.rs/google-documentai1/3.1.0+20220226" license = "MIT" keywords = ["documentai", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/documentai1/README.md b/gen/documentai1/README.md index 5651f6649b..39445a7366 100644 --- a/gen/documentai1/README.md +++ b/gen/documentai1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-documentai1` library allows access to all features of the *Google Document* service. -This documentation was generated from *Document* crate version *3.0.0+20220226*, where *20220226* is the exact revision of the *documentai:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Document* crate version *3.1.0+20220226*, where *20220226* is the exact revision of the *documentai:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Document* *v1* API can be found at the [official documentation site](https://cloud.google.com/document-ai/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/Document) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/Document) ... * operations - * [*delete*](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/api::OperationDeleteCall) + * [*delete*](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/api::OperationDeleteCall) * projects - * [*locations fetch processor types*](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/api::ProjectLocationFetchProcessorTypeCall), [*locations get*](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/api::ProjectLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/api::ProjectLocationOperationListCall), [*locations processors batch process*](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/api::ProjectLocationProcessorBatchProcesCall), [*locations processors create*](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/api::ProjectLocationProcessorCreateCall), [*locations processors delete*](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/api::ProjectLocationProcessorDeleteCall), [*locations processors disable*](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/api::ProjectLocationProcessorDisableCall), [*locations processors enable*](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/api::ProjectLocationProcessorEnableCall), [*locations processors get*](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/api::ProjectLocationProcessorGetCall), [*locations processors human review config review document*](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/api::ProjectLocationProcessorHumanReviewConfigReviewDocumentCall), [*locations processors list*](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/api::ProjectLocationProcessorListCall), [*locations processors process*](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/api::ProjectLocationProcessorProcesCall), [*locations processors processor versions batch process*](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/api::ProjectLocationProcessorProcessorVersionBatchProcesCall), [*locations processors processor versions delete*](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/api::ProjectLocationProcessorProcessorVersionDeleteCall), [*locations processors processor versions deploy*](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/api::ProjectLocationProcessorProcessorVersionDeployCall), [*locations processors processor versions get*](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/api::ProjectLocationProcessorProcessorVersionGetCall), [*locations processors processor versions list*](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/api::ProjectLocationProcessorProcessorVersionListCall), [*locations processors processor versions process*](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/api::ProjectLocationProcessorProcessorVersionProcesCall), [*locations processors processor versions undeploy*](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/api::ProjectLocationProcessorProcessorVersionUndeployCall), [*locations processors set default processor version*](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/api::ProjectLocationProcessorSetDefaultProcessorVersionCall) and [*operations get*](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/api::ProjectOperationGetCall) + * [*locations fetch processor types*](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/api::ProjectLocationFetchProcessorTypeCall), [*locations get*](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/api::ProjectLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/api::ProjectLocationOperationListCall), [*locations processors batch process*](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/api::ProjectLocationProcessorBatchProcesCall), [*locations processors create*](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/api::ProjectLocationProcessorCreateCall), [*locations processors delete*](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/api::ProjectLocationProcessorDeleteCall), [*locations processors disable*](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/api::ProjectLocationProcessorDisableCall), [*locations processors enable*](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/api::ProjectLocationProcessorEnableCall), [*locations processors get*](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/api::ProjectLocationProcessorGetCall), [*locations processors human review config review document*](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/api::ProjectLocationProcessorHumanReviewConfigReviewDocumentCall), [*locations processors list*](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/api::ProjectLocationProcessorListCall), [*locations processors process*](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/api::ProjectLocationProcessorProcesCall), [*locations processors processor versions batch process*](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/api::ProjectLocationProcessorProcessorVersionBatchProcesCall), [*locations processors processor versions delete*](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/api::ProjectLocationProcessorProcessorVersionDeleteCall), [*locations processors processor versions deploy*](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/api::ProjectLocationProcessorProcessorVersionDeployCall), [*locations processors processor versions get*](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/api::ProjectLocationProcessorProcessorVersionGetCall), [*locations processors processor versions list*](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/api::ProjectLocationProcessorProcessorVersionListCall), [*locations processors processor versions process*](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/api::ProjectLocationProcessorProcessorVersionProcesCall), [*locations processors processor versions undeploy*](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/api::ProjectLocationProcessorProcessorVersionUndeployCall), [*locations processors set default processor version*](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/api::ProjectLocationProcessorSetDefaultProcessorVersionCall) and [*operations get*](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/api::ProjectOperationGetCall) * uiv1beta3 - * [*projects locations get*](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/api::Uiv1beta3ProjectLocationGetCall), [*projects locations list*](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/api::Uiv1beta3ProjectLocationListCall), [*projects locations operations cancel*](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/api::Uiv1beta3ProjectLocationOperationCancelCall), [*projects locations operations get*](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/api::Uiv1beta3ProjectLocationOperationGetCall) and [*projects locations operations list*](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/api::Uiv1beta3ProjectLocationOperationListCall) + * [*projects locations get*](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/api::Uiv1beta3ProjectLocationGetCall), [*projects locations list*](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/api::Uiv1beta3ProjectLocationListCall), [*projects locations operations cancel*](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/api::Uiv1beta3ProjectLocationOperationCancelCall), [*projects locations operations get*](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/api::Uiv1beta3ProjectLocationOperationGetCall) and [*projects locations operations list*](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/api::Uiv1beta3ProjectLocationOperationListCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/Document)** +* **[Hub](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/Document)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/client::CallBuilder) -* **[Resources](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/client::CallBuilder) +* **[Resources](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/client::Part)** + * **[Parts](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -107,7 +107,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -140,17 +140,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -160,29 +160,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/client::Delegate) to the -[Method Builder](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/client::Delegate) to the +[Method Builder](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/client::RequestValue) and -[decodable](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/client::RequestValue) and +[decodable](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-documentai1/3.0.0+20220226/google_documentai1/client::RequestValue) are moved +* [request values](https://docs.rs/google-documentai1/3.1.0+20220226/google_documentai1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/documentai1/src/api.rs b/gen/documentai1/src/api.rs index 8bcb19275e..2f3f79a396 100644 --- a/gen/documentai1/src/api.rs +++ b/gen/documentai1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > Document<> { Document { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://documentai.googleapis.com/".to_string(), _root_url: "https://documentai.googleapis.com/".to_string(), } @@ -136,7 +136,7 @@ impl<'a, > Document<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1719,7 +1719,7 @@ impl client::Part for GoogleTypeTimeZone {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)` /// // to build up your call. @@ -1777,7 +1777,7 @@ impl<'a> OperationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_fetch_processor_types(...)`, `locations_get(...)`, `locations_list(...)`, `locations_operations_cancel(...)`, `locations_operations_get(...)`, `locations_operations_list(...)`, `locations_processors_batch_process(...)`, `locations_processors_create(...)`, `locations_processors_delete(...)`, `locations_processors_disable(...)`, `locations_processors_enable(...)`, `locations_processors_get(...)`, `locations_processors_human_review_config_review_document(...)`, `locations_processors_list(...)`, `locations_processors_process(...)`, `locations_processors_processor_versions_batch_process(...)`, `locations_processors_processor_versions_delete(...)`, `locations_processors_processor_versions_deploy(...)`, `locations_processors_processor_versions_get(...)`, `locations_processors_processor_versions_list(...)`, `locations_processors_processor_versions_process(...)`, `locations_processors_processor_versions_undeploy(...)`, `locations_processors_set_default_processor_version(...)` and `operations_get(...)` /// // to build up your call. @@ -2258,7 +2258,7 @@ impl<'a> ProjectMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `projects_locations_get(...)`, `projects_locations_list(...)`, `projects_locations_operations_cancel(...)`, `projects_locations_operations_get(...)` and `projects_locations_operations_list(...)` /// // to build up your call. @@ -2397,7 +2397,7 @@ impl<'a> Uiv1beta3Methods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2653,7 +2653,7 @@ impl<'a> OperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2909,7 +2909,7 @@ impl<'a> ProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3165,7 +3165,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3458,7 +3458,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3744,7 +3744,7 @@ impl<'a> ProjectLocationProcessorHumanReviewConfigReviewDocumentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4029,7 +4029,7 @@ impl<'a> ProjectLocationProcessorProcessorVersionBatchProcesCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4286,7 +4286,7 @@ impl<'a> ProjectLocationProcessorProcessorVersionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4571,7 +4571,7 @@ impl<'a> ProjectLocationProcessorProcessorVersionDeployCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4827,7 +4827,7 @@ impl<'a> ProjectLocationProcessorProcessorVersionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5108,7 +5108,7 @@ impl<'a> ProjectLocationProcessorProcessorVersionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5394,7 +5394,7 @@ impl<'a> ProjectLocationProcessorProcessorVersionProcesCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5680,7 +5680,7 @@ impl<'a> ProjectLocationProcessorProcessorVersionUndeployCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5966,7 +5966,7 @@ impl<'a> ProjectLocationProcessorBatchProcesCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6251,7 +6251,7 @@ impl<'a> ProjectLocationProcessorCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6508,7 +6508,7 @@ impl<'a> ProjectLocationProcessorDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6794,7 +6794,7 @@ impl<'a> ProjectLocationProcessorDisableCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7079,7 +7079,7 @@ impl<'a> ProjectLocationProcessorEnableCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7335,7 +7335,7 @@ impl<'a> ProjectLocationProcessorGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7616,7 +7616,7 @@ impl<'a> ProjectLocationProcessorListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7902,7 +7902,7 @@ impl<'a> ProjectLocationProcessorProcesCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8187,7 +8187,7 @@ impl<'a> ProjectLocationProcessorSetDefaultProcessorVersionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8443,7 +8443,7 @@ impl<'a> ProjectLocationFetchProcessorTypeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8699,7 +8699,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8991,7 +8991,7 @@ impl<'a> ProjectLocationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9247,7 +9247,7 @@ impl<'a> ProjectOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9503,7 +9503,7 @@ impl<'a> Uiv1beta3ProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9759,7 +9759,7 @@ impl<'a> Uiv1beta3ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10051,7 +10051,7 @@ impl<'a> Uiv1beta3ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10307,7 +10307,7 @@ impl<'a> Uiv1beta3ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/documentai1/src/lib.rs b/gen/documentai1/src/lib.rs index 244b0154fc..8465bc8bd9 100644 --- a/gen/documentai1/src/lib.rs +++ b/gen/documentai1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Document* crate version *3.0.0+20220226*, where *20220226* is the exact revision of the *documentai:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Document* crate version *3.1.0+20220226*, where *20220226* is the exact revision of the *documentai:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Document* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/document-ai/docs/). @@ -108,7 +108,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/documentai1_beta2-cli/Cargo.toml b/gen/documentai1_beta2-cli/Cargo.toml index 48ea4256ec..6d37356f6d 100644 --- a/gen/documentai1_beta2-cli/Cargo.toml +++ b/gen/documentai1_beta2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-documentai1_beta2-cli" -version = "3.0.0+20220226" +version = "3.1.0+20220226" authors = ["Sebastian Thiel "] description = "A complete library to interact with Document (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/documentai1_beta2-cli" @@ -20,12 +20,12 @@ name = "documentai1-beta2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-documentai1_beta2] path = "../documentai1_beta2" -version = "3.0.0+20220226" +version = "3.1.0+20220226" diff --git a/gen/documentai1_beta2-cli/README.md b/gen/documentai1_beta2-cli/README.md index 81a447d0c8..42d0374069 100644 --- a/gen/documentai1_beta2-cli/README.md +++ b/gen/documentai1_beta2-cli/README.md @@ -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 *Document* API at revision *20220226*. The CLI is at version *3.0.0*. +This documentation was generated from the *Document* API at revision *20220226*. The CLI is at version *3.1.0*. ```bash documentai1-beta2 [options] diff --git a/gen/documentai1_beta2-cli/mkdocs.yml b/gen/documentai1_beta2-cli/mkdocs.yml index edb2423792..ccedabd9f9 100644 --- a/gen/documentai1_beta2-cli/mkdocs.yml +++ b/gen/documentai1_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Document v3.0.0+20220226 +site_name: Document v3.1.0+20220226 site_url: http://byron.github.io/google-apis-rs/google-documentai1_beta2-cli site_description: A complete library to interact with Document (protocol v1beta2) diff --git a/gen/documentai1_beta2-cli/src/main.rs b/gen/documentai1_beta2-cli/src/main.rs index f4ffdceb93..e9b81453a3 100644 --- a/gen/documentai1_beta2-cli/src/main.rs +++ b/gen/documentai1_beta2-cli/src/main.rs @@ -579,7 +579,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/documentai1-beta2", 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::Document::new(client, auth), @@ -777,7 +783,7 @@ async fn main() { let mut app = App::new("documentai1-beta2") .author("Sebastian Thiel ") - .version("3.0.0+20220226") + .version("3.1.0+20220226") .about("Service to parse structured information from unstructured or semi-structured documents using state-of-the-art Google AI such as natural language, computer vision, translation, and AutoML.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_documentai1_beta2_cli") .arg(Arg::with_name("url") diff --git a/gen/documentai1_beta2/Cargo.toml b/gen/documentai1_beta2/Cargo.toml index 7c479629ad..7983517241 100644 --- a/gen/documentai1_beta2/Cargo.toml +++ b/gen/documentai1_beta2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-documentai1_beta2" -version = "3.0.0+20220226" +version = "3.1.0+20220226" authors = ["Sebastian Thiel "] description = "A complete library to interact with Document (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/documentai1_beta2" homepage = "https://cloud.google.com/document-ai/docs/" -documentation = "https://docs.rs/google-documentai1_beta2/3.0.0+20220226" +documentation = "https://docs.rs/google-documentai1_beta2/3.1.0+20220226" license = "MIT" keywords = ["documentai", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/documentai1_beta2/README.md b/gen/documentai1_beta2/README.md index 8c998a33aa..29bca945e0 100644 --- a/gen/documentai1_beta2/README.md +++ b/gen/documentai1_beta2/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-documentai1_beta2` library allows access to all features of the *Google Document* service. -This documentation was generated from *Document* crate version *3.0.0+20220226*, where *20220226* is the exact revision of the *documentai:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Document* crate version *3.1.0+20220226*, where *20220226* is the exact revision of the *documentai:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Document* *v1_beta2* API can be found at the [official documentation site](https://cloud.google.com/document-ai/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-documentai1_beta2/3.0.0+20220226/google_documentai1_beta2/Document) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-documentai1_beta2/3.1.0+20220226/google_documentai1_beta2/Document) ... * projects - * [*documents batch process*](https://docs.rs/google-documentai1_beta2/3.0.0+20220226/google_documentai1_beta2/api::ProjectDocumentBatchProcesCall), [*documents process*](https://docs.rs/google-documentai1_beta2/3.0.0+20220226/google_documentai1_beta2/api::ProjectDocumentProcesCall), [*locations documents batch process*](https://docs.rs/google-documentai1_beta2/3.0.0+20220226/google_documentai1_beta2/api::ProjectLocationDocumentBatchProcesCall), [*locations documents process*](https://docs.rs/google-documentai1_beta2/3.0.0+20220226/google_documentai1_beta2/api::ProjectLocationDocumentProcesCall), [*locations operations get*](https://docs.rs/google-documentai1_beta2/3.0.0+20220226/google_documentai1_beta2/api::ProjectLocationOperationGetCall) and [*operations get*](https://docs.rs/google-documentai1_beta2/3.0.0+20220226/google_documentai1_beta2/api::ProjectOperationGetCall) + * [*documents batch process*](https://docs.rs/google-documentai1_beta2/3.1.0+20220226/google_documentai1_beta2/api::ProjectDocumentBatchProcesCall), [*documents process*](https://docs.rs/google-documentai1_beta2/3.1.0+20220226/google_documentai1_beta2/api::ProjectDocumentProcesCall), [*locations documents batch process*](https://docs.rs/google-documentai1_beta2/3.1.0+20220226/google_documentai1_beta2/api::ProjectLocationDocumentBatchProcesCall), [*locations documents process*](https://docs.rs/google-documentai1_beta2/3.1.0+20220226/google_documentai1_beta2/api::ProjectLocationDocumentProcesCall), [*locations operations get*](https://docs.rs/google-documentai1_beta2/3.1.0+20220226/google_documentai1_beta2/api::ProjectLocationOperationGetCall) and [*operations get*](https://docs.rs/google-documentai1_beta2/3.1.0+20220226/google_documentai1_beta2/api::ProjectOperationGetCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-documentai1_beta2/3.0.0+20220226/google_documentai1_beta2/Document)** +* **[Hub](https://docs.rs/google-documentai1_beta2/3.1.0+20220226/google_documentai1_beta2/Document)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-documentai1_beta2/3.0.0+20220226/google_documentai1_beta2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-documentai1_beta2/3.0.0+20220226/google_documentai1_beta2/client::CallBuilder) -* **[Resources](https://docs.rs/google-documentai1_beta2/3.0.0+20220226/google_documentai1_beta2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-documentai1_beta2/3.1.0+20220226/google_documentai1_beta2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-documentai1_beta2/3.1.0+20220226/google_documentai1_beta2/client::CallBuilder) +* **[Resources](https://docs.rs/google-documentai1_beta2/3.1.0+20220226/google_documentai1_beta2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-documentai1_beta2/3.0.0+20220226/google_documentai1_beta2/client::Part)** + * **[Parts](https://docs.rs/google-documentai1_beta2/3.1.0+20220226/google_documentai1_beta2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-documentai1_beta2/3.0.0+20220226/google_documentai1_beta2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-documentai1_beta2/3.1.0+20220226/google_documentai1_beta2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -94,7 +94,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -127,17 +127,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-documentai1_beta2/3.0.0+20220226/google_documentai1_beta2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-documentai1_beta2/3.1.0+20220226/google_documentai1_beta2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-documentai1_beta2/3.0.0+20220226/google_documentai1_beta2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-documentai1_beta2/3.1.0+20220226/google_documentai1_beta2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-documentai1_beta2/3.0.0+20220226/google_documentai1_beta2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-documentai1_beta2/3.1.0+20220226/google_documentai1_beta2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-documentai1_beta2/3.0.0+20220226/google_documentai1_beta2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-documentai1_beta2/3.1.0+20220226/google_documentai1_beta2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -147,29 +147,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-documentai1_beta2/3.0.0+20220226/google_documentai1_beta2/client::Delegate) to the -[Method Builder](https://docs.rs/google-documentai1_beta2/3.0.0+20220226/google_documentai1_beta2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-documentai1_beta2/3.1.0+20220226/google_documentai1_beta2/client::Delegate) to the +[Method Builder](https://docs.rs/google-documentai1_beta2/3.1.0+20220226/google_documentai1_beta2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-documentai1_beta2/3.0.0+20220226/google_documentai1_beta2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-documentai1_beta2/3.1.0+20220226/google_documentai1_beta2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-documentai1_beta2/3.0.0+20220226/google_documentai1_beta2/client::RequestValue) and -[decodable](https://docs.rs/google-documentai1_beta2/3.0.0+20220226/google_documentai1_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-documentai1_beta2/3.1.0+20220226/google_documentai1_beta2/client::RequestValue) and +[decodable](https://docs.rs/google-documentai1_beta2/3.1.0+20220226/google_documentai1_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-documentai1_beta2/3.0.0+20220226/google_documentai1_beta2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-documentai1_beta2/3.1.0+20220226/google_documentai1_beta2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-documentai1_beta2/3.0.0+20220226/google_documentai1_beta2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-documentai1_beta2/3.1.0+20220226/google_documentai1_beta2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-documentai1_beta2/3.0.0+20220226/google_documentai1_beta2/client::RequestValue) are moved +* [request values](https://docs.rs/google-documentai1_beta2/3.1.0+20220226/google_documentai1_beta2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/documentai1_beta2/src/api.rs b/gen/documentai1_beta2/src/api.rs index 7e16aeb365..48d2cc4e58 100644 --- a/gen/documentai1_beta2/src/api.rs +++ b/gen/documentai1_beta2/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > Document<> { Document { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://documentai.googleapis.com/".to_string(), _root_url: "https://documentai.googleapis.com/".to_string(), } @@ -130,7 +130,7 @@ impl<'a, > Document<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1405,7 +1405,7 @@ impl client::Part for GoogleTypeTimeZone {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `documents_batch_process(...)`, `documents_process(...)`, `locations_documents_batch_process(...)`, `locations_documents_process(...)`, `locations_operations_get(...)` and `operations_get(...)` /// // to build up your call. @@ -1564,7 +1564,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1850,7 +1850,7 @@ impl<'a> ProjectDocumentBatchProcesCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2136,7 +2136,7 @@ impl<'a> ProjectDocumentProcesCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2422,7 +2422,7 @@ impl<'a> ProjectLocationDocumentBatchProcesCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2707,7 +2707,7 @@ impl<'a> ProjectLocationDocumentProcesCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2963,7 +2963,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/documentai1_beta2/src/lib.rs b/gen/documentai1_beta2/src/lib.rs index 3527cd6262..569ef61bcc 100644 --- a/gen/documentai1_beta2/src/lib.rs +++ b/gen/documentai1_beta2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Document* crate version *3.0.0+20220226*, where *20220226* is the exact revision of the *documentai:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Document* crate version *3.1.0+20220226*, where *20220226* is the exact revision of the *documentai:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Document* *v1_beta2* API can be found at the //! [official documentation site](https://cloud.google.com/document-ai/docs/). @@ -95,7 +95,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Document::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/domains1-cli/Cargo.toml b/gen/domains1-cli/Cargo.toml index 4120ffceb3..a560fcbeea 100644 --- a/gen/domains1-cli/Cargo.toml +++ b/gen/domains1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-domains1-cli" -version = "3.0.0+20220128" +version = "3.1.0+20220128" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Domains (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/domains1-cli" @@ -20,12 +20,12 @@ name = "domains1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-domains1] path = "../domains1" -version = "3.0.0+20220128" +version = "3.1.0+20220128" diff --git a/gen/domains1-cli/README.md b/gen/domains1-cli/README.md index c4dc8c0a95..bb9c65e59e 100644 --- a/gen/domains1-cli/README.md +++ b/gen/domains1-cli/README.md @@ -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 *Cloud Domains* API at revision *20220128*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Domains* API at revision *20220128*. The CLI is at version *3.1.0*. ```bash domains1 [options] diff --git a/gen/domains1-cli/mkdocs.yml b/gen/domains1-cli/mkdocs.yml index 4eb0c6570b..f1c53d3971 100644 --- a/gen/domains1-cli/mkdocs.yml +++ b/gen/domains1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Domains v3.0.0+20220128 +site_name: Cloud Domains v3.1.0+20220128 site_url: http://byron.github.io/google-apis-rs/google-domains1-cli site_description: A complete library to interact with Cloud Domains (protocol v1) diff --git a/gen/domains1-cli/src/main.rs b/gen/domains1-cli/src/main.rs index 8f90282983..eca04b453c 100644 --- a/gen/domains1-cli/src/main.rs +++ b/gen/domains1-cli/src/main.rs @@ -2036,7 +2036,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/domains1", 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::CloudDomains::new(client, auth), @@ -2622,7 +2628,7 @@ async fn main() { let mut app = App::new("domains1") .author("Sebastian Thiel ") - .version("3.0.0+20220128") + .version("3.1.0+20220128") .about("Enables management and configuration of domain names.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_domains1_cli") .arg(Arg::with_name("url") diff --git a/gen/domains1/Cargo.toml b/gen/domains1/Cargo.toml index f38c8930b1..8ab2f4201f 100644 --- a/gen/domains1/Cargo.toml +++ b/gen/domains1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-domains1" -version = "3.0.0+20220128" +version = "3.1.0+20220128" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Domains (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/domains1" homepage = "https://cloud.google.com/domains/" -documentation = "https://docs.rs/google-domains1/3.0.0+20220128" +documentation = "https://docs.rs/google-domains1/3.1.0+20220128" license = "MIT" keywords = ["domains", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/domains1/README.md b/gen/domains1/README.md index a226ecb827..4cddb6e377 100644 --- a/gen/domains1/README.md +++ b/gen/domains1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-domains1` library allows access to all features of the *Google Cloud Domains* service. -This documentation was generated from *Cloud Domains* crate version *3.0.0+20220128*, where *20220128* is the exact revision of the *domains:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Domains* crate version *3.1.0+20220128*, where *20220128* is the exact revision of the *domains:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Domains* *v1* API can be found at the [official documentation site](https://cloud.google.com/domains/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-domains1/3.0.0+20220128/google_domains1/CloudDomains) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-domains1/3.1.0+20220128/google_domains1/CloudDomains) ... * projects - * [*locations get*](https://docs.rs/google-domains1/3.0.0+20220128/google_domains1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-domains1/3.0.0+20220128/google_domains1/api::ProjectLocationListCall), [*locations operations get*](https://docs.rs/google-domains1/3.0.0+20220128/google_domains1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-domains1/3.0.0+20220128/google_domains1/api::ProjectLocationOperationListCall), [*locations registrations configure contact settings*](https://docs.rs/google-domains1/3.0.0+20220128/google_domains1/api::ProjectLocationRegistrationConfigureContactSettingCall), [*locations registrations configure dns settings*](https://docs.rs/google-domains1/3.0.0+20220128/google_domains1/api::ProjectLocationRegistrationConfigureDnsSettingCall), [*locations registrations configure management settings*](https://docs.rs/google-domains1/3.0.0+20220128/google_domains1/api::ProjectLocationRegistrationConfigureManagementSettingCall), [*locations registrations delete*](https://docs.rs/google-domains1/3.0.0+20220128/google_domains1/api::ProjectLocationRegistrationDeleteCall), [*locations registrations export*](https://docs.rs/google-domains1/3.0.0+20220128/google_domains1/api::ProjectLocationRegistrationExportCall), [*locations registrations get*](https://docs.rs/google-domains1/3.0.0+20220128/google_domains1/api::ProjectLocationRegistrationGetCall), [*locations registrations get iam policy*](https://docs.rs/google-domains1/3.0.0+20220128/google_domains1/api::ProjectLocationRegistrationGetIamPolicyCall), [*locations registrations list*](https://docs.rs/google-domains1/3.0.0+20220128/google_domains1/api::ProjectLocationRegistrationListCall), [*locations registrations patch*](https://docs.rs/google-domains1/3.0.0+20220128/google_domains1/api::ProjectLocationRegistrationPatchCall), [*locations registrations register*](https://docs.rs/google-domains1/3.0.0+20220128/google_domains1/api::ProjectLocationRegistrationRegisterCall), [*locations registrations reset authorization code*](https://docs.rs/google-domains1/3.0.0+20220128/google_domains1/api::ProjectLocationRegistrationResetAuthorizationCodeCall), [*locations registrations retrieve authorization code*](https://docs.rs/google-domains1/3.0.0+20220128/google_domains1/api::ProjectLocationRegistrationRetrieveAuthorizationCodeCall), [*locations registrations retrieve register parameters*](https://docs.rs/google-domains1/3.0.0+20220128/google_domains1/api::ProjectLocationRegistrationRetrieveRegisterParameterCall), [*locations registrations retrieve transfer parameters*](https://docs.rs/google-domains1/3.0.0+20220128/google_domains1/api::ProjectLocationRegistrationRetrieveTransferParameterCall), [*locations registrations search domains*](https://docs.rs/google-domains1/3.0.0+20220128/google_domains1/api::ProjectLocationRegistrationSearchDomainCall), [*locations registrations set iam policy*](https://docs.rs/google-domains1/3.0.0+20220128/google_domains1/api::ProjectLocationRegistrationSetIamPolicyCall), [*locations registrations test iam permissions*](https://docs.rs/google-domains1/3.0.0+20220128/google_domains1/api::ProjectLocationRegistrationTestIamPermissionCall) and [*locations registrations transfer*](https://docs.rs/google-domains1/3.0.0+20220128/google_domains1/api::ProjectLocationRegistrationTransferCall) + * [*locations get*](https://docs.rs/google-domains1/3.1.0+20220128/google_domains1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-domains1/3.1.0+20220128/google_domains1/api::ProjectLocationListCall), [*locations operations get*](https://docs.rs/google-domains1/3.1.0+20220128/google_domains1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-domains1/3.1.0+20220128/google_domains1/api::ProjectLocationOperationListCall), [*locations registrations configure contact settings*](https://docs.rs/google-domains1/3.1.0+20220128/google_domains1/api::ProjectLocationRegistrationConfigureContactSettingCall), [*locations registrations configure dns settings*](https://docs.rs/google-domains1/3.1.0+20220128/google_domains1/api::ProjectLocationRegistrationConfigureDnsSettingCall), [*locations registrations configure management settings*](https://docs.rs/google-domains1/3.1.0+20220128/google_domains1/api::ProjectLocationRegistrationConfigureManagementSettingCall), [*locations registrations delete*](https://docs.rs/google-domains1/3.1.0+20220128/google_domains1/api::ProjectLocationRegistrationDeleteCall), [*locations registrations export*](https://docs.rs/google-domains1/3.1.0+20220128/google_domains1/api::ProjectLocationRegistrationExportCall), [*locations registrations get*](https://docs.rs/google-domains1/3.1.0+20220128/google_domains1/api::ProjectLocationRegistrationGetCall), [*locations registrations get iam policy*](https://docs.rs/google-domains1/3.1.0+20220128/google_domains1/api::ProjectLocationRegistrationGetIamPolicyCall), [*locations registrations list*](https://docs.rs/google-domains1/3.1.0+20220128/google_domains1/api::ProjectLocationRegistrationListCall), [*locations registrations patch*](https://docs.rs/google-domains1/3.1.0+20220128/google_domains1/api::ProjectLocationRegistrationPatchCall), [*locations registrations register*](https://docs.rs/google-domains1/3.1.0+20220128/google_domains1/api::ProjectLocationRegistrationRegisterCall), [*locations registrations reset authorization code*](https://docs.rs/google-domains1/3.1.0+20220128/google_domains1/api::ProjectLocationRegistrationResetAuthorizationCodeCall), [*locations registrations retrieve authorization code*](https://docs.rs/google-domains1/3.1.0+20220128/google_domains1/api::ProjectLocationRegistrationRetrieveAuthorizationCodeCall), [*locations registrations retrieve register parameters*](https://docs.rs/google-domains1/3.1.0+20220128/google_domains1/api::ProjectLocationRegistrationRetrieveRegisterParameterCall), [*locations registrations retrieve transfer parameters*](https://docs.rs/google-domains1/3.1.0+20220128/google_domains1/api::ProjectLocationRegistrationRetrieveTransferParameterCall), [*locations registrations search domains*](https://docs.rs/google-domains1/3.1.0+20220128/google_domains1/api::ProjectLocationRegistrationSearchDomainCall), [*locations registrations set iam policy*](https://docs.rs/google-domains1/3.1.0+20220128/google_domains1/api::ProjectLocationRegistrationSetIamPolicyCall), [*locations registrations test iam permissions*](https://docs.rs/google-domains1/3.1.0+20220128/google_domains1/api::ProjectLocationRegistrationTestIamPermissionCall) and [*locations registrations transfer*](https://docs.rs/google-domains1/3.1.0+20220128/google_domains1/api::ProjectLocationRegistrationTransferCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-domains1/3.0.0+20220128/google_domains1/CloudDomains)** +* **[Hub](https://docs.rs/google-domains1/3.1.0+20220128/google_domains1/CloudDomains)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-domains1/3.0.0+20220128/google_domains1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-domains1/3.0.0+20220128/google_domains1/client::CallBuilder) -* **[Resources](https://docs.rs/google-domains1/3.0.0+20220128/google_domains1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-domains1/3.1.0+20220128/google_domains1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-domains1/3.1.0+20220128/google_domains1/client::CallBuilder) +* **[Resources](https://docs.rs/google-domains1/3.1.0+20220128/google_domains1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-domains1/3.0.0+20220128/google_domains1/client::Part)** + * **[Parts](https://docs.rs/google-domains1/3.1.0+20220128/google_domains1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-domains1/3.0.0+20220128/google_domains1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-domains1/3.1.0+20220128/google_domains1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -99,7 +99,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -133,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-domains1/3.0.0+20220128/google_domains1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-domains1/3.1.0+20220128/google_domains1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-domains1/3.0.0+20220128/google_domains1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-domains1/3.1.0+20220128/google_domains1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-domains1/3.0.0+20220128/google_domains1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-domains1/3.1.0+20220128/google_domains1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-domains1/3.0.0+20220128/google_domains1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-domains1/3.1.0+20220128/google_domains1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -153,29 +153,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-domains1/3.0.0+20220128/google_domains1/client::Delegate) to the -[Method Builder](https://docs.rs/google-domains1/3.0.0+20220128/google_domains1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-domains1/3.1.0+20220128/google_domains1/client::Delegate) to the +[Method Builder](https://docs.rs/google-domains1/3.1.0+20220128/google_domains1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-domains1/3.0.0+20220128/google_domains1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-domains1/3.1.0+20220128/google_domains1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-domains1/3.0.0+20220128/google_domains1/client::RequestValue) and -[decodable](https://docs.rs/google-domains1/3.0.0+20220128/google_domains1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-domains1/3.1.0+20220128/google_domains1/client::RequestValue) and +[decodable](https://docs.rs/google-domains1/3.1.0+20220128/google_domains1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-domains1/3.0.0+20220128/google_domains1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-domains1/3.1.0+20220128/google_domains1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-domains1/3.0.0+20220128/google_domains1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-domains1/3.1.0+20220128/google_domains1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-domains1/3.0.0+20220128/google_domains1/client::RequestValue) are moved +* [request values](https://docs.rs/google-domains1/3.1.0+20220128/google_domains1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/domains1/src/api.rs b/gen/domains1/src/api.rs index 564af4fe44..75fdf2ccfd 100644 --- a/gen/domains1/src/api.rs +++ b/gen/domains1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > CloudDomains<> { CloudDomains { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://domains.googleapis.com/".to_string(), _root_url: "https://domains.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > CloudDomains<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1040,7 +1040,7 @@ impl client::Part for TransferParameters {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_get(...)`, `locations_list(...)`, `locations_operations_get(...)`, `locations_operations_list(...)`, `locations_registrations_configure_contact_settings(...)`, `locations_registrations_configure_dns_settings(...)`, `locations_registrations_configure_management_settings(...)`, `locations_registrations_delete(...)`, `locations_registrations_export(...)`, `locations_registrations_get(...)`, `locations_registrations_get_iam_policy(...)`, `locations_registrations_list(...)`, `locations_registrations_patch(...)`, `locations_registrations_register(...)`, `locations_registrations_reset_authorization_code(...)`, `locations_registrations_retrieve_authorization_code(...)`, `locations_registrations_retrieve_register_parameters(...)`, `locations_registrations_retrieve_transfer_parameters(...)`, `locations_registrations_search_domains(...)`, `locations_registrations_set_iam_policy(...)`, `locations_registrations_test_iam_permissions(...)` and `locations_registrations_transfer(...)` /// // to build up your call. @@ -1496,7 +1496,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1752,7 +1752,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2045,7 +2045,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2331,7 +2331,7 @@ impl<'a> ProjectLocationRegistrationConfigureContactSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2617,7 +2617,7 @@ impl<'a> ProjectLocationRegistrationConfigureDnsSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2902,7 +2902,7 @@ impl<'a> ProjectLocationRegistrationConfigureManagementSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3159,7 +3159,7 @@ impl<'a> ProjectLocationRegistrationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3444,7 +3444,7 @@ impl<'a> ProjectLocationRegistrationExportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3700,7 +3700,7 @@ impl<'a> ProjectLocationRegistrationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3968,7 +3968,7 @@ impl<'a> ProjectLocationRegistrationGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4261,7 +4261,7 @@ impl<'a> ProjectLocationRegistrationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4559,7 +4559,7 @@ impl<'a> ProjectLocationRegistrationPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4845,7 +4845,7 @@ impl<'a> ProjectLocationRegistrationRegisterCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5130,7 +5130,7 @@ impl<'a> ProjectLocationRegistrationResetAuthorizationCodeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5386,7 +5386,7 @@ impl<'a> ProjectLocationRegistrationRetrieveAuthorizationCodeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5654,7 +5654,7 @@ impl<'a> ProjectLocationRegistrationRetrieveRegisterParameterCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5922,7 +5922,7 @@ impl<'a> ProjectLocationRegistrationRetrieveTransferParameterCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6191,7 +6191,7 @@ impl<'a> ProjectLocationRegistrationSearchDomainCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6477,7 +6477,7 @@ impl<'a> ProjectLocationRegistrationSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6763,7 +6763,7 @@ impl<'a> ProjectLocationRegistrationTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7048,7 +7048,7 @@ impl<'a> ProjectLocationRegistrationTransferCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7304,7 +7304,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/domains1/src/lib.rs b/gen/domains1/src/lib.rs index 5c90fb1aca..4e69c6bc16 100644 --- a/gen/domains1/src/lib.rs +++ b/gen/domains1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Domains* crate version *3.0.0+20220128*, where *20220128* is the exact revision of the *domains:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Domains* crate version *3.1.0+20220128*, where *20220128* is the exact revision of the *domains:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Domains* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/domains/). @@ -100,7 +100,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/domains1_beta1-cli/Cargo.toml b/gen/domains1_beta1-cli/Cargo.toml index 524919904a..a51c8f0cd3 100644 --- a/gen/domains1_beta1-cli/Cargo.toml +++ b/gen/domains1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-domains1_beta1-cli" -version = "3.0.0+20220128" +version = "3.1.0+20220128" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Domains (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/domains1_beta1-cli" @@ -20,12 +20,12 @@ name = "domains1-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-domains1_beta1] path = "../domains1_beta1" -version = "3.0.0+20220128" +version = "3.1.0+20220128" diff --git a/gen/domains1_beta1-cli/README.md b/gen/domains1_beta1-cli/README.md index 0494feaee4..02a4aafb98 100644 --- a/gen/domains1_beta1-cli/README.md +++ b/gen/domains1_beta1-cli/README.md @@ -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 *Cloud Domains* API at revision *20220128*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Domains* API at revision *20220128*. The CLI is at version *3.1.0*. ```bash domains1-beta1 [options] diff --git a/gen/domains1_beta1-cli/mkdocs.yml b/gen/domains1_beta1-cli/mkdocs.yml index 2cd0ae5775..5d4a66836c 100644 --- a/gen/domains1_beta1-cli/mkdocs.yml +++ b/gen/domains1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Domains v3.0.0+20220128 +site_name: Cloud Domains v3.1.0+20220128 site_url: http://byron.github.io/google-apis-rs/google-domains1_beta1-cli site_description: A complete library to interact with Cloud Domains (protocol v1beta1) diff --git a/gen/domains1_beta1-cli/src/main.rs b/gen/domains1_beta1-cli/src/main.rs index 7ff9151b82..8cc2c825b6 100644 --- a/gen/domains1_beta1-cli/src/main.rs +++ b/gen/domains1_beta1-cli/src/main.rs @@ -2036,7 +2036,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/domains1-beta1", 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::CloudDomains::new(client, auth), @@ -2622,7 +2628,7 @@ async fn main() { let mut app = App::new("domains1-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20220128") + .version("3.1.0+20220128") .about("Enables management and configuration of domain names.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_domains1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/domains1_beta1/Cargo.toml b/gen/domains1_beta1/Cargo.toml index b204e6c4ac..b1a16c7c75 100644 --- a/gen/domains1_beta1/Cargo.toml +++ b/gen/domains1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-domains1_beta1" -version = "3.0.0+20220128" +version = "3.1.0+20220128" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Domains (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/domains1_beta1" homepage = "https://cloud.google.com/domains/" -documentation = "https://docs.rs/google-domains1_beta1/3.0.0+20220128" +documentation = "https://docs.rs/google-domains1_beta1/3.1.0+20220128" license = "MIT" keywords = ["domains", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/domains1_beta1/README.md b/gen/domains1_beta1/README.md index de8cce3ff6..80eb54abf2 100644 --- a/gen/domains1_beta1/README.md +++ b/gen/domains1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-domains1_beta1` library allows access to all features of the *Google Cloud Domains* service. -This documentation was generated from *Cloud Domains* crate version *3.0.0+20220128*, where *20220128* is the exact revision of the *domains:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Domains* crate version *3.1.0+20220128*, where *20220128* is the exact revision of the *domains:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Domains* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/domains/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-domains1_beta1/3.0.0+20220128/google_domains1_beta1/CloudDomains) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-domains1_beta1/3.1.0+20220128/google_domains1_beta1/CloudDomains) ... * projects - * [*locations get*](https://docs.rs/google-domains1_beta1/3.0.0+20220128/google_domains1_beta1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-domains1_beta1/3.0.0+20220128/google_domains1_beta1/api::ProjectLocationListCall), [*locations operations get*](https://docs.rs/google-domains1_beta1/3.0.0+20220128/google_domains1_beta1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-domains1_beta1/3.0.0+20220128/google_domains1_beta1/api::ProjectLocationOperationListCall), [*locations registrations configure contact settings*](https://docs.rs/google-domains1_beta1/3.0.0+20220128/google_domains1_beta1/api::ProjectLocationRegistrationConfigureContactSettingCall), [*locations registrations configure dns settings*](https://docs.rs/google-domains1_beta1/3.0.0+20220128/google_domains1_beta1/api::ProjectLocationRegistrationConfigureDnsSettingCall), [*locations registrations configure management settings*](https://docs.rs/google-domains1_beta1/3.0.0+20220128/google_domains1_beta1/api::ProjectLocationRegistrationConfigureManagementSettingCall), [*locations registrations delete*](https://docs.rs/google-domains1_beta1/3.0.0+20220128/google_domains1_beta1/api::ProjectLocationRegistrationDeleteCall), [*locations registrations export*](https://docs.rs/google-domains1_beta1/3.0.0+20220128/google_domains1_beta1/api::ProjectLocationRegistrationExportCall), [*locations registrations get*](https://docs.rs/google-domains1_beta1/3.0.0+20220128/google_domains1_beta1/api::ProjectLocationRegistrationGetCall), [*locations registrations get iam policy*](https://docs.rs/google-domains1_beta1/3.0.0+20220128/google_domains1_beta1/api::ProjectLocationRegistrationGetIamPolicyCall), [*locations registrations list*](https://docs.rs/google-domains1_beta1/3.0.0+20220128/google_domains1_beta1/api::ProjectLocationRegistrationListCall), [*locations registrations patch*](https://docs.rs/google-domains1_beta1/3.0.0+20220128/google_domains1_beta1/api::ProjectLocationRegistrationPatchCall), [*locations registrations register*](https://docs.rs/google-domains1_beta1/3.0.0+20220128/google_domains1_beta1/api::ProjectLocationRegistrationRegisterCall), [*locations registrations reset authorization code*](https://docs.rs/google-domains1_beta1/3.0.0+20220128/google_domains1_beta1/api::ProjectLocationRegistrationResetAuthorizationCodeCall), [*locations registrations retrieve authorization code*](https://docs.rs/google-domains1_beta1/3.0.0+20220128/google_domains1_beta1/api::ProjectLocationRegistrationRetrieveAuthorizationCodeCall), [*locations registrations retrieve register parameters*](https://docs.rs/google-domains1_beta1/3.0.0+20220128/google_domains1_beta1/api::ProjectLocationRegistrationRetrieveRegisterParameterCall), [*locations registrations retrieve transfer parameters*](https://docs.rs/google-domains1_beta1/3.0.0+20220128/google_domains1_beta1/api::ProjectLocationRegistrationRetrieveTransferParameterCall), [*locations registrations search domains*](https://docs.rs/google-domains1_beta1/3.0.0+20220128/google_domains1_beta1/api::ProjectLocationRegistrationSearchDomainCall), [*locations registrations set iam policy*](https://docs.rs/google-domains1_beta1/3.0.0+20220128/google_domains1_beta1/api::ProjectLocationRegistrationSetIamPolicyCall), [*locations registrations test iam permissions*](https://docs.rs/google-domains1_beta1/3.0.0+20220128/google_domains1_beta1/api::ProjectLocationRegistrationTestIamPermissionCall) and [*locations registrations transfer*](https://docs.rs/google-domains1_beta1/3.0.0+20220128/google_domains1_beta1/api::ProjectLocationRegistrationTransferCall) + * [*locations get*](https://docs.rs/google-domains1_beta1/3.1.0+20220128/google_domains1_beta1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-domains1_beta1/3.1.0+20220128/google_domains1_beta1/api::ProjectLocationListCall), [*locations operations get*](https://docs.rs/google-domains1_beta1/3.1.0+20220128/google_domains1_beta1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-domains1_beta1/3.1.0+20220128/google_domains1_beta1/api::ProjectLocationOperationListCall), [*locations registrations configure contact settings*](https://docs.rs/google-domains1_beta1/3.1.0+20220128/google_domains1_beta1/api::ProjectLocationRegistrationConfigureContactSettingCall), [*locations registrations configure dns settings*](https://docs.rs/google-domains1_beta1/3.1.0+20220128/google_domains1_beta1/api::ProjectLocationRegistrationConfigureDnsSettingCall), [*locations registrations configure management settings*](https://docs.rs/google-domains1_beta1/3.1.0+20220128/google_domains1_beta1/api::ProjectLocationRegistrationConfigureManagementSettingCall), [*locations registrations delete*](https://docs.rs/google-domains1_beta1/3.1.0+20220128/google_domains1_beta1/api::ProjectLocationRegistrationDeleteCall), [*locations registrations export*](https://docs.rs/google-domains1_beta1/3.1.0+20220128/google_domains1_beta1/api::ProjectLocationRegistrationExportCall), [*locations registrations get*](https://docs.rs/google-domains1_beta1/3.1.0+20220128/google_domains1_beta1/api::ProjectLocationRegistrationGetCall), [*locations registrations get iam policy*](https://docs.rs/google-domains1_beta1/3.1.0+20220128/google_domains1_beta1/api::ProjectLocationRegistrationGetIamPolicyCall), [*locations registrations list*](https://docs.rs/google-domains1_beta1/3.1.0+20220128/google_domains1_beta1/api::ProjectLocationRegistrationListCall), [*locations registrations patch*](https://docs.rs/google-domains1_beta1/3.1.0+20220128/google_domains1_beta1/api::ProjectLocationRegistrationPatchCall), [*locations registrations register*](https://docs.rs/google-domains1_beta1/3.1.0+20220128/google_domains1_beta1/api::ProjectLocationRegistrationRegisterCall), [*locations registrations reset authorization code*](https://docs.rs/google-domains1_beta1/3.1.0+20220128/google_domains1_beta1/api::ProjectLocationRegistrationResetAuthorizationCodeCall), [*locations registrations retrieve authorization code*](https://docs.rs/google-domains1_beta1/3.1.0+20220128/google_domains1_beta1/api::ProjectLocationRegistrationRetrieveAuthorizationCodeCall), [*locations registrations retrieve register parameters*](https://docs.rs/google-domains1_beta1/3.1.0+20220128/google_domains1_beta1/api::ProjectLocationRegistrationRetrieveRegisterParameterCall), [*locations registrations retrieve transfer parameters*](https://docs.rs/google-domains1_beta1/3.1.0+20220128/google_domains1_beta1/api::ProjectLocationRegistrationRetrieveTransferParameterCall), [*locations registrations search domains*](https://docs.rs/google-domains1_beta1/3.1.0+20220128/google_domains1_beta1/api::ProjectLocationRegistrationSearchDomainCall), [*locations registrations set iam policy*](https://docs.rs/google-domains1_beta1/3.1.0+20220128/google_domains1_beta1/api::ProjectLocationRegistrationSetIamPolicyCall), [*locations registrations test iam permissions*](https://docs.rs/google-domains1_beta1/3.1.0+20220128/google_domains1_beta1/api::ProjectLocationRegistrationTestIamPermissionCall) and [*locations registrations transfer*](https://docs.rs/google-domains1_beta1/3.1.0+20220128/google_domains1_beta1/api::ProjectLocationRegistrationTransferCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-domains1_beta1/3.0.0+20220128/google_domains1_beta1/CloudDomains)** +* **[Hub](https://docs.rs/google-domains1_beta1/3.1.0+20220128/google_domains1_beta1/CloudDomains)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-domains1_beta1/3.0.0+20220128/google_domains1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-domains1_beta1/3.0.0+20220128/google_domains1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-domains1_beta1/3.0.0+20220128/google_domains1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-domains1_beta1/3.1.0+20220128/google_domains1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-domains1_beta1/3.1.0+20220128/google_domains1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-domains1_beta1/3.1.0+20220128/google_domains1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-domains1_beta1/3.0.0+20220128/google_domains1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-domains1_beta1/3.1.0+20220128/google_domains1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-domains1_beta1/3.0.0+20220128/google_domains1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-domains1_beta1/3.1.0+20220128/google_domains1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -99,7 +99,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -133,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-domains1_beta1/3.0.0+20220128/google_domains1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-domains1_beta1/3.1.0+20220128/google_domains1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-domains1_beta1/3.0.0+20220128/google_domains1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-domains1_beta1/3.1.0+20220128/google_domains1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-domains1_beta1/3.0.0+20220128/google_domains1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-domains1_beta1/3.1.0+20220128/google_domains1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-domains1_beta1/3.0.0+20220128/google_domains1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-domains1_beta1/3.1.0+20220128/google_domains1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -153,29 +153,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-domains1_beta1/3.0.0+20220128/google_domains1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-domains1_beta1/3.0.0+20220128/google_domains1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-domains1_beta1/3.1.0+20220128/google_domains1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-domains1_beta1/3.1.0+20220128/google_domains1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-domains1_beta1/3.0.0+20220128/google_domains1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-domains1_beta1/3.1.0+20220128/google_domains1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-domains1_beta1/3.0.0+20220128/google_domains1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-domains1_beta1/3.0.0+20220128/google_domains1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-domains1_beta1/3.1.0+20220128/google_domains1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-domains1_beta1/3.1.0+20220128/google_domains1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-domains1_beta1/3.0.0+20220128/google_domains1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-domains1_beta1/3.1.0+20220128/google_domains1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-domains1_beta1/3.0.0+20220128/google_domains1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-domains1_beta1/3.1.0+20220128/google_domains1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-domains1_beta1/3.0.0+20220128/google_domains1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-domains1_beta1/3.1.0+20220128/google_domains1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/domains1_beta1/src/api.rs b/gen/domains1_beta1/src/api.rs index 51d6bd644f..ffddf841c7 100644 --- a/gen/domains1_beta1/src/api.rs +++ b/gen/domains1_beta1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > CloudDomains<> { CloudDomains { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://domains.googleapis.com/".to_string(), _root_url: "https://domains.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > CloudDomains<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1040,7 +1040,7 @@ impl client::Part for TransferParameters {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_get(...)`, `locations_list(...)`, `locations_operations_get(...)`, `locations_operations_list(...)`, `locations_registrations_configure_contact_settings(...)`, `locations_registrations_configure_dns_settings(...)`, `locations_registrations_configure_management_settings(...)`, `locations_registrations_delete(...)`, `locations_registrations_export(...)`, `locations_registrations_get(...)`, `locations_registrations_get_iam_policy(...)`, `locations_registrations_list(...)`, `locations_registrations_patch(...)`, `locations_registrations_register(...)`, `locations_registrations_reset_authorization_code(...)`, `locations_registrations_retrieve_authorization_code(...)`, `locations_registrations_retrieve_register_parameters(...)`, `locations_registrations_retrieve_transfer_parameters(...)`, `locations_registrations_search_domains(...)`, `locations_registrations_set_iam_policy(...)`, `locations_registrations_test_iam_permissions(...)` and `locations_registrations_transfer(...)` /// // to build up your call. @@ -1496,7 +1496,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1752,7 +1752,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2045,7 +2045,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2331,7 +2331,7 @@ impl<'a> ProjectLocationRegistrationConfigureContactSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2617,7 +2617,7 @@ impl<'a> ProjectLocationRegistrationConfigureDnsSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2902,7 +2902,7 @@ impl<'a> ProjectLocationRegistrationConfigureManagementSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3159,7 +3159,7 @@ impl<'a> ProjectLocationRegistrationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3444,7 +3444,7 @@ impl<'a> ProjectLocationRegistrationExportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3700,7 +3700,7 @@ impl<'a> ProjectLocationRegistrationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3968,7 +3968,7 @@ impl<'a> ProjectLocationRegistrationGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4261,7 +4261,7 @@ impl<'a> ProjectLocationRegistrationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4559,7 +4559,7 @@ impl<'a> ProjectLocationRegistrationPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4845,7 +4845,7 @@ impl<'a> ProjectLocationRegistrationRegisterCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5130,7 +5130,7 @@ impl<'a> ProjectLocationRegistrationResetAuthorizationCodeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5386,7 +5386,7 @@ impl<'a> ProjectLocationRegistrationRetrieveAuthorizationCodeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5654,7 +5654,7 @@ impl<'a> ProjectLocationRegistrationRetrieveRegisterParameterCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5922,7 +5922,7 @@ impl<'a> ProjectLocationRegistrationRetrieveTransferParameterCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6191,7 +6191,7 @@ impl<'a> ProjectLocationRegistrationSearchDomainCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6477,7 +6477,7 @@ impl<'a> ProjectLocationRegistrationSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6763,7 +6763,7 @@ impl<'a> ProjectLocationRegistrationTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7048,7 +7048,7 @@ impl<'a> ProjectLocationRegistrationTransferCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7304,7 +7304,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/domains1_beta1/src/lib.rs b/gen/domains1_beta1/src/lib.rs index a37b896083..9f7a507625 100644 --- a/gen/domains1_beta1/src/lib.rs +++ b/gen/domains1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Domains* crate version *3.0.0+20220128*, where *20220128* is the exact revision of the *domains:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Domains* crate version *3.1.0+20220128*, where *20220128* is the exact revision of the *domains:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Domains* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/domains/). @@ -100,7 +100,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/domainsrdap1-cli/Cargo.toml b/gen/domainsrdap1-cli/Cargo.toml index 3b4936b307..84923a1a5f 100644 --- a/gen/domainsrdap1-cli/Cargo.toml +++ b/gen/domainsrdap1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-domainsrdap1-cli" -version = "3.0.0+20220307" +version = "3.1.0+20220307" authors = ["Sebastian Thiel "] description = "A complete library to interact with Domains RDAP (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/domainsrdap1-cli" @@ -20,12 +20,12 @@ name = "domainsrdap1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-domainsrdap1] path = "../domainsrdap1" -version = "3.0.0+20220307" +version = "3.1.0+20220307" diff --git a/gen/domainsrdap1-cli/README.md b/gen/domainsrdap1-cli/README.md index 6739171bff..a74479f8b0 100644 --- a/gen/domainsrdap1-cli/README.md +++ b/gen/domainsrdap1-cli/README.md @@ -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 *Domains RDAP* API at revision *20220307*. The CLI is at version *3.0.0*. +This documentation was generated from the *Domains RDAP* API at revision *20220307*. The CLI is at version *3.1.0*. ```bash domainsrdap1 [options] diff --git a/gen/domainsrdap1-cli/mkdocs.yml b/gen/domainsrdap1-cli/mkdocs.yml index af98f6351f..4a71bd4daf 100644 --- a/gen/domainsrdap1-cli/mkdocs.yml +++ b/gen/domainsrdap1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Domains RDAP v3.0.0+20220307 +site_name: Domains RDAP v3.1.0+20220307 site_url: http://byron.github.io/google-apis-rs/google-domainsrdap1-cli site_description: A complete library to interact with Domains RDAP (protocol v1) diff --git a/gen/domainsrdap1-cli/src/main.rs b/gen/domainsrdap1-cli/src/main.rs index 0f631e8015..1adb44e391 100644 --- a/gen/domainsrdap1-cli/src/main.rs +++ b/gen/domainsrdap1-cli/src/main.rs @@ -649,7 +649,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/domainsrdap1", 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::DomainsRDAP::new(client, auth), @@ -902,7 +908,7 @@ async fn main() { let mut app = App::new("domainsrdap1") .author("Sebastian Thiel ") - .version("3.0.0+20220307") + .version("3.1.0+20220307") .about("Read-only public API that lets users search for information about domain names.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_domainsrdap1_cli") .arg(Arg::with_name("folder") diff --git a/gen/domainsrdap1/Cargo.toml b/gen/domainsrdap1/Cargo.toml index c2898bce32..2f2110e559 100644 --- a/gen/domainsrdap1/Cargo.toml +++ b/gen/domainsrdap1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-domainsrdap1" -version = "3.0.0+20220307" +version = "3.1.0+20220307" authors = ["Sebastian Thiel "] description = "A complete library to interact with Domains RDAP (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/domainsrdap1" homepage = "https://developers.google.com/domains/rdap/" -documentation = "https://docs.rs/google-domainsrdap1/3.0.0+20220307" +documentation = "https://docs.rs/google-domainsrdap1/3.1.0+20220307" license = "MIT" keywords = ["domainsrdap", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/domainsrdap1/README.md b/gen/domainsrdap1/README.md index 53fb95cea8..6c75f10e9e 100644 --- a/gen/domainsrdap1/README.md +++ b/gen/domainsrdap1/README.md @@ -5,32 +5,32 @@ DO NOT EDIT ! --> The `google-domainsrdap1` library allows access to all features of the *Google Domains RDAP* service. -This documentation was generated from *Domains RDAP* crate version *3.0.0+20220307*, where *20220307* is the exact revision of the *domainsrdap:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Domains RDAP* crate version *3.1.0+20220307*, where *20220307* is the exact revision of the *domainsrdap:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Domains RDAP* *v1* API can be found at the [official documentation site](https://developers.google.com/domains/rdap/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-domainsrdap1/3.0.0+20220307/google_domainsrdap1/DomainsRDAP) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-domainsrdap1/3.1.0+20220307/google_domainsrdap1/DomainsRDAP) ... * autnum - * [*get*](https://docs.rs/google-domainsrdap1/3.0.0+20220307/google_domainsrdap1/api::AutnumGetCall) + * [*get*](https://docs.rs/google-domainsrdap1/3.1.0+20220307/google_domainsrdap1/api::AutnumGetCall) * domain - * [*get*](https://docs.rs/google-domainsrdap1/3.0.0+20220307/google_domainsrdap1/api::DomainGetCall) + * [*get*](https://docs.rs/google-domainsrdap1/3.1.0+20220307/google_domainsrdap1/api::DomainGetCall) * entity - * [*get*](https://docs.rs/google-domainsrdap1/3.0.0+20220307/google_domainsrdap1/api::EntityGetCall) + * [*get*](https://docs.rs/google-domainsrdap1/3.1.0+20220307/google_domainsrdap1/api::EntityGetCall) * ip - * [*get*](https://docs.rs/google-domainsrdap1/3.0.0+20220307/google_domainsrdap1/api::IpGetCall) + * [*get*](https://docs.rs/google-domainsrdap1/3.1.0+20220307/google_domainsrdap1/api::IpGetCall) * nameserver - * [*get*](https://docs.rs/google-domainsrdap1/3.0.0+20220307/google_domainsrdap1/api::NameserverGetCall) + * [*get*](https://docs.rs/google-domainsrdap1/3.1.0+20220307/google_domainsrdap1/api::NameserverGetCall) Other activities are ... -* [get domains](https://docs.rs/google-domainsrdap1/3.0.0+20220307/google_domainsrdap1/api::MethodGetDomainCall) -* [get entities](https://docs.rs/google-domainsrdap1/3.0.0+20220307/google_domainsrdap1/api::MethodGetEntityCall) -* [get help](https://docs.rs/google-domainsrdap1/3.0.0+20220307/google_domainsrdap1/api::MethodGetHelpCall) -* [get ip](https://docs.rs/google-domainsrdap1/3.0.0+20220307/google_domainsrdap1/api::MethodGetIpCall) -* [get nameservers](https://docs.rs/google-domainsrdap1/3.0.0+20220307/google_domainsrdap1/api::MethodGetNameserverCall) +* [get domains](https://docs.rs/google-domainsrdap1/3.1.0+20220307/google_domainsrdap1/api::MethodGetDomainCall) +* [get entities](https://docs.rs/google-domainsrdap1/3.1.0+20220307/google_domainsrdap1/api::MethodGetEntityCall) +* [get help](https://docs.rs/google-domainsrdap1/3.1.0+20220307/google_domainsrdap1/api::MethodGetHelpCall) +* [get ip](https://docs.rs/google-domainsrdap1/3.1.0+20220307/google_domainsrdap1/api::MethodGetIpCall) +* [get nameservers](https://docs.rs/google-domainsrdap1/3.1.0+20220307/google_domainsrdap1/api::MethodGetNameserverCall) @@ -38,17 +38,17 @@ Other activities are ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-domainsrdap1/3.0.0+20220307/google_domainsrdap1/DomainsRDAP)** +* **[Hub](https://docs.rs/google-domainsrdap1/3.1.0+20220307/google_domainsrdap1/DomainsRDAP)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-domainsrdap1/3.0.0+20220307/google_domainsrdap1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-domainsrdap1/3.0.0+20220307/google_domainsrdap1/client::CallBuilder) -* **[Resources](https://docs.rs/google-domainsrdap1/3.0.0+20220307/google_domainsrdap1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-domainsrdap1/3.1.0+20220307/google_domainsrdap1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-domainsrdap1/3.1.0+20220307/google_domainsrdap1/client::CallBuilder) +* **[Resources](https://docs.rs/google-domainsrdap1/3.1.0+20220307/google_domainsrdap1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-domainsrdap1/3.0.0+20220307/google_domainsrdap1/client::Part)** + * **[Parts](https://docs.rs/google-domainsrdap1/3.1.0+20220307/google_domainsrdap1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-domainsrdap1/3.0.0+20220307/google_domainsrdap1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-domainsrdap1/3.1.0+20220307/google_domainsrdap1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -111,7 +111,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = DomainsRDAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = DomainsRDAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -139,17 +139,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-domainsrdap1/3.0.0+20220307/google_domainsrdap1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-domainsrdap1/3.1.0+20220307/google_domainsrdap1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-domainsrdap1/3.0.0+20220307/google_domainsrdap1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-domainsrdap1/3.1.0+20220307/google_domainsrdap1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-domainsrdap1/3.0.0+20220307/google_domainsrdap1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-domainsrdap1/3.1.0+20220307/google_domainsrdap1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-domainsrdap1/3.0.0+20220307/google_domainsrdap1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-domainsrdap1/3.1.0+20220307/google_domainsrdap1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -159,29 +159,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-domainsrdap1/3.0.0+20220307/google_domainsrdap1/client::Delegate) to the -[Method Builder](https://docs.rs/google-domainsrdap1/3.0.0+20220307/google_domainsrdap1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-domainsrdap1/3.1.0+20220307/google_domainsrdap1/client::Delegate) to the +[Method Builder](https://docs.rs/google-domainsrdap1/3.1.0+20220307/google_domainsrdap1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-domainsrdap1/3.0.0+20220307/google_domainsrdap1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-domainsrdap1/3.1.0+20220307/google_domainsrdap1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-domainsrdap1/3.0.0+20220307/google_domainsrdap1/client::RequestValue) and -[decodable](https://docs.rs/google-domainsrdap1/3.0.0+20220307/google_domainsrdap1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-domainsrdap1/3.1.0+20220307/google_domainsrdap1/client::RequestValue) and +[decodable](https://docs.rs/google-domainsrdap1/3.1.0+20220307/google_domainsrdap1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-domainsrdap1/3.0.0+20220307/google_domainsrdap1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-domainsrdap1/3.1.0+20220307/google_domainsrdap1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-domainsrdap1/3.0.0+20220307/google_domainsrdap1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-domainsrdap1/3.1.0+20220307/google_domainsrdap1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-domainsrdap1/3.0.0+20220307/google_domainsrdap1/client::RequestValue) are moved +* [request values](https://docs.rs/google-domainsrdap1/3.1.0+20220307/google_domainsrdap1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/domainsrdap1/src/api.rs b/gen/domainsrdap1/src/api.rs index 50ad81e603..673dd15464 100644 --- a/gen/domainsrdap1/src/api.rs +++ b/gen/domainsrdap1/src/api.rs @@ -48,7 +48,7 @@ use crate::client; /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DomainsRDAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DomainsRDAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -91,7 +91,7 @@ impl<'a, > DomainsRDAP<> { DomainsRDAP { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://domainsrdap.googleapis.com/".to_string(), _root_url: "https://domainsrdap.googleapis.com/".to_string(), } @@ -117,7 +117,7 @@ impl<'a, > DomainsRDAP<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -281,7 +281,7 @@ impl client::ResponseResult for RdapResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DomainsRDAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DomainsRDAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -338,7 +338,7 @@ impl<'a> AutnumMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DomainsRDAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DomainsRDAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -395,7 +395,7 @@ impl<'a> DomainMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DomainsRDAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DomainsRDAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -452,7 +452,7 @@ impl<'a> EntityMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DomainsRDAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DomainsRDAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -511,7 +511,7 @@ impl<'a> IpMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DomainsRDAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DomainsRDAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -568,7 +568,7 @@ impl<'a> NameserverMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DomainsRDAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DomainsRDAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get_domains(...)`, `get_entities(...)`, `get_help(...)`, `get_ip(...)` and `get_nameservers(...)` /// // to build up your call. @@ -671,7 +671,7 @@ impl<'a> MethodMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DomainsRDAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DomainsRDAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -892,7 +892,7 @@ impl<'a> AutnumGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DomainsRDAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DomainsRDAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1118,7 +1118,7 @@ impl<'a> DomainGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DomainsRDAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DomainsRDAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1339,7 +1339,7 @@ impl<'a> EntityGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DomainsRDAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DomainsRDAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1571,7 +1571,7 @@ impl<'a> IpGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DomainsRDAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DomainsRDAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1792,7 +1792,7 @@ impl<'a> NameserverGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DomainsRDAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DomainsRDAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1981,7 +1981,7 @@ impl<'a> MethodGetDomainCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DomainsRDAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DomainsRDAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2170,7 +2170,7 @@ impl<'a> MethodGetEntityCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DomainsRDAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DomainsRDAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2359,7 +2359,7 @@ impl<'a> MethodGetHelpCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DomainsRDAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DomainsRDAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2548,7 +2548,7 @@ impl<'a> MethodGetIpCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DomainsRDAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DomainsRDAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/domainsrdap1/src/lib.rs b/gen/domainsrdap1/src/lib.rs index c4f1b7affb..95ebe6e99d 100644 --- a/gen/domainsrdap1/src/lib.rs +++ b/gen/domainsrdap1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Domains RDAP* crate version *3.0.0+20220307*, where *20220307* is the exact revision of the *domainsrdap:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Domains RDAP* crate version *3.1.0+20220307*, where *20220307* is the exact revision of the *domainsrdap:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Domains RDAP* *v1* API can be found at the //! [official documentation site](https://developers.google.com/domains/rdap/). @@ -112,7 +112,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = DomainsRDAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = DomainsRDAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/doubleclickbidmanager1-cli/Cargo.toml b/gen/doubleclickbidmanager1-cli/Cargo.toml index 32091540c1..98a0eb1fbc 100644 --- a/gen/doubleclickbidmanager1-cli/Cargo.toml +++ b/gen/doubleclickbidmanager1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-doubleclickbidmanager1-cli" -version = "3.0.0+20210323" +version = "3.1.0+20210323" authors = ["Sebastian Thiel "] description = "A complete library to interact with DoubleClick Bid Manager (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/doubleclickbidmanager1-cli" @@ -20,12 +20,12 @@ name = "doubleclickbidmanager1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-doubleclickbidmanager1] path = "../doubleclickbidmanager1" -version = "3.0.0+20210323" +version = "3.1.0+20210323" diff --git a/gen/doubleclickbidmanager1-cli/README.md b/gen/doubleclickbidmanager1-cli/README.md index d5f948ad8c..1be12b51dc 100644 --- a/gen/doubleclickbidmanager1-cli/README.md +++ b/gen/doubleclickbidmanager1-cli/README.md @@ -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 *DoubleClick Bid Manager* API at revision *20210323*. The CLI is at version *3.0.0*. +This documentation was generated from the *DoubleClick Bid Manager* API at revision *20210323*. The CLI is at version *3.1.0*. ```bash doubleclickbidmanager1 [options] diff --git a/gen/doubleclickbidmanager1-cli/mkdocs.yml b/gen/doubleclickbidmanager1-cli/mkdocs.yml index 47fd8cdffc..7206056329 100644 --- a/gen/doubleclickbidmanager1-cli/mkdocs.yml +++ b/gen/doubleclickbidmanager1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: DoubleClick Bid Manager v3.0.0+20210323 +site_name: DoubleClick Bid Manager v3.1.0+20210323 site_url: http://byron.github.io/google-apis-rs/google-doubleclickbidmanager1-cli site_description: A complete library to interact with DoubleClick Bid Manager (protocol v1) diff --git a/gen/doubleclickbidmanager1-cli/src/main.rs b/gen/doubleclickbidmanager1-cli/src/main.rs index a17692a90a..50020bf113 100644 --- a/gen/doubleclickbidmanager1-cli/src/main.rs +++ b/gen/doubleclickbidmanager1-cli/src/main.rs @@ -791,7 +791,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/doubleclickbidmanager1", 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::DoubleClickBidManager::new(client, auth), @@ -1028,7 +1034,7 @@ async fn main() { let mut app = App::new("doubleclickbidmanager1") .author("Sebastian Thiel ") - .version("3.0.0+20210323") + .version("3.1.0+20210323") .about("DoubleClick Bid Manager API allows users to manage and create campaigns and reports.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_doubleclickbidmanager1_cli") .arg(Arg::with_name("url") diff --git a/gen/doubleclickbidmanager1/Cargo.toml b/gen/doubleclickbidmanager1/Cargo.toml index 5960511f0e..985b4b7569 100644 --- a/gen/doubleclickbidmanager1/Cargo.toml +++ b/gen/doubleclickbidmanager1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-doubleclickbidmanager1" -version = "3.0.0+20210323" +version = "3.1.0+20210323" authors = ["Sebastian Thiel "] description = "A complete library to interact with DoubleClick Bid Manager (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/doubleclickbidmanager1" homepage = "https://developers.google.com/bid-manager/" -documentation = "https://docs.rs/google-doubleclickbidmanager1/3.0.0+20210323" +documentation = "https://docs.rs/google-doubleclickbidmanager1/3.1.0+20210323" license = "MIT" keywords = ["doubleclickbidmanage", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/doubleclickbidmanager1/README.md b/gen/doubleclickbidmanager1/README.md index fa5e4e83a6..1242f72663 100644 --- a/gen/doubleclickbidmanager1/README.md +++ b/gen/doubleclickbidmanager1/README.md @@ -5,22 +5,22 @@ DO NOT EDIT ! --> The `google-doubleclickbidmanager1` library allows access to all features of the *Google DoubleClick Bid Manager* service. -This documentation was generated from *DoubleClick Bid Manager* crate version *3.0.0+20210323*, where *20210323* is the exact revision of the *doubleclickbidmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *DoubleClick Bid Manager* crate version *3.1.0+20210323*, where *20210323* is the exact revision of the *doubleclickbidmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *DoubleClick Bid Manager* *v1* API can be found at the [official documentation site](https://developers.google.com/bid-manager/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-doubleclickbidmanager1/3.0.0+20210323/google_doubleclickbidmanager1/DoubleClickBidManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-doubleclickbidmanager1/3.1.0+20210323/google_doubleclickbidmanager1/DoubleClickBidManager) ... * lineitems - * [*downloadlineitems*](https://docs.rs/google-doubleclickbidmanager1/3.0.0+20210323/google_doubleclickbidmanager1/api::LineitemDownloadlineitemCall) and [*uploadlineitems*](https://docs.rs/google-doubleclickbidmanager1/3.0.0+20210323/google_doubleclickbidmanager1/api::LineitemUploadlineitemCall) -* [queries](https://docs.rs/google-doubleclickbidmanager1/3.0.0+20210323/google_doubleclickbidmanager1/api::Query) - * [*createquery*](https://docs.rs/google-doubleclickbidmanager1/3.0.0+20210323/google_doubleclickbidmanager1/api::QueryCreatequeryCall), [*deletequery*](https://docs.rs/google-doubleclickbidmanager1/3.0.0+20210323/google_doubleclickbidmanager1/api::QueryDeletequeryCall), [*getquery*](https://docs.rs/google-doubleclickbidmanager1/3.0.0+20210323/google_doubleclickbidmanager1/api::QueryGetqueryCall), [*listqueries*](https://docs.rs/google-doubleclickbidmanager1/3.0.0+20210323/google_doubleclickbidmanager1/api::QueryListqueryCall) and [*runquery*](https://docs.rs/google-doubleclickbidmanager1/3.0.0+20210323/google_doubleclickbidmanager1/api::QueryRunqueryCall) -* [reports](https://docs.rs/google-doubleclickbidmanager1/3.0.0+20210323/google_doubleclickbidmanager1/api::Report) - * [*listreports*](https://docs.rs/google-doubleclickbidmanager1/3.0.0+20210323/google_doubleclickbidmanager1/api::ReportListreportCall) + * [*downloadlineitems*](https://docs.rs/google-doubleclickbidmanager1/3.1.0+20210323/google_doubleclickbidmanager1/api::LineitemDownloadlineitemCall) and [*uploadlineitems*](https://docs.rs/google-doubleclickbidmanager1/3.1.0+20210323/google_doubleclickbidmanager1/api::LineitemUploadlineitemCall) +* [queries](https://docs.rs/google-doubleclickbidmanager1/3.1.0+20210323/google_doubleclickbidmanager1/api::Query) + * [*createquery*](https://docs.rs/google-doubleclickbidmanager1/3.1.0+20210323/google_doubleclickbidmanager1/api::QueryCreatequeryCall), [*deletequery*](https://docs.rs/google-doubleclickbidmanager1/3.1.0+20210323/google_doubleclickbidmanager1/api::QueryDeletequeryCall), [*getquery*](https://docs.rs/google-doubleclickbidmanager1/3.1.0+20210323/google_doubleclickbidmanager1/api::QueryGetqueryCall), [*listqueries*](https://docs.rs/google-doubleclickbidmanager1/3.1.0+20210323/google_doubleclickbidmanager1/api::QueryListqueryCall) and [*runquery*](https://docs.rs/google-doubleclickbidmanager1/3.1.0+20210323/google_doubleclickbidmanager1/api::QueryRunqueryCall) +* [reports](https://docs.rs/google-doubleclickbidmanager1/3.1.0+20210323/google_doubleclickbidmanager1/api::Report) + * [*listreports*](https://docs.rs/google-doubleclickbidmanager1/3.1.0+20210323/google_doubleclickbidmanager1/api::ReportListreportCall) * sdf - * [*download*](https://docs.rs/google-doubleclickbidmanager1/3.0.0+20210323/google_doubleclickbidmanager1/api::SdfDownloadCall) + * [*download*](https://docs.rs/google-doubleclickbidmanager1/3.1.0+20210323/google_doubleclickbidmanager1/api::SdfDownloadCall) @@ -29,17 +29,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-doubleclickbidmanager1/3.0.0+20210323/google_doubleclickbidmanager1/DoubleClickBidManager)** +* **[Hub](https://docs.rs/google-doubleclickbidmanager1/3.1.0+20210323/google_doubleclickbidmanager1/DoubleClickBidManager)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-doubleclickbidmanager1/3.0.0+20210323/google_doubleclickbidmanager1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-doubleclickbidmanager1/3.0.0+20210323/google_doubleclickbidmanager1/client::CallBuilder) -* **[Resources](https://docs.rs/google-doubleclickbidmanager1/3.0.0+20210323/google_doubleclickbidmanager1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-doubleclickbidmanager1/3.1.0+20210323/google_doubleclickbidmanager1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-doubleclickbidmanager1/3.1.0+20210323/google_doubleclickbidmanager1/client::CallBuilder) +* **[Resources](https://docs.rs/google-doubleclickbidmanager1/3.1.0+20210323/google_doubleclickbidmanager1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-doubleclickbidmanager1/3.0.0+20210323/google_doubleclickbidmanager1/client::Part)** + * **[Parts](https://docs.rs/google-doubleclickbidmanager1/3.1.0+20210323/google_doubleclickbidmanager1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-doubleclickbidmanager1/3.0.0+20210323/google_doubleclickbidmanager1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-doubleclickbidmanager1/3.1.0+20210323/google_doubleclickbidmanager1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -98,7 +98,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -131,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-doubleclickbidmanager1/3.0.0+20210323/google_doubleclickbidmanager1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-doubleclickbidmanager1/3.1.0+20210323/google_doubleclickbidmanager1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-doubleclickbidmanager1/3.0.0+20210323/google_doubleclickbidmanager1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-doubleclickbidmanager1/3.1.0+20210323/google_doubleclickbidmanager1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-doubleclickbidmanager1/3.0.0+20210323/google_doubleclickbidmanager1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-doubleclickbidmanager1/3.1.0+20210323/google_doubleclickbidmanager1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-doubleclickbidmanager1/3.0.0+20210323/google_doubleclickbidmanager1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-doubleclickbidmanager1/3.1.0+20210323/google_doubleclickbidmanager1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -151,29 +151,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-doubleclickbidmanager1/3.0.0+20210323/google_doubleclickbidmanager1/client::Delegate) to the -[Method Builder](https://docs.rs/google-doubleclickbidmanager1/3.0.0+20210323/google_doubleclickbidmanager1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-doubleclickbidmanager1/3.1.0+20210323/google_doubleclickbidmanager1/client::Delegate) to the +[Method Builder](https://docs.rs/google-doubleclickbidmanager1/3.1.0+20210323/google_doubleclickbidmanager1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-doubleclickbidmanager1/3.0.0+20210323/google_doubleclickbidmanager1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-doubleclickbidmanager1/3.1.0+20210323/google_doubleclickbidmanager1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-doubleclickbidmanager1/3.0.0+20210323/google_doubleclickbidmanager1/client::RequestValue) and -[decodable](https://docs.rs/google-doubleclickbidmanager1/3.0.0+20210323/google_doubleclickbidmanager1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-doubleclickbidmanager1/3.1.0+20210323/google_doubleclickbidmanager1/client::RequestValue) and +[decodable](https://docs.rs/google-doubleclickbidmanager1/3.1.0+20210323/google_doubleclickbidmanager1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-doubleclickbidmanager1/3.0.0+20210323/google_doubleclickbidmanager1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-doubleclickbidmanager1/3.1.0+20210323/google_doubleclickbidmanager1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-doubleclickbidmanager1/3.0.0+20210323/google_doubleclickbidmanager1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-doubleclickbidmanager1/3.1.0+20210323/google_doubleclickbidmanager1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-doubleclickbidmanager1/3.0.0+20210323/google_doubleclickbidmanager1/client::RequestValue) are moved +* [request values](https://docs.rs/google-doubleclickbidmanager1/3.1.0+20210323/google_doubleclickbidmanager1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/doubleclickbidmanager1/src/api.rs b/gen/doubleclickbidmanager1/src/api.rs index 52443a39cc..e3d8eea80e 100644 --- a/gen/doubleclickbidmanager1/src/api.rs +++ b/gen/doubleclickbidmanager1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > DoubleClickBidManager<> { DoubleClickBidManager { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://doubleclickbidmanager.googleapis.com/doubleclickbidmanager/v1/".to_string(), _root_url: "https://doubleclickbidmanager.googleapis.com/".to_string(), } @@ -139,7 +139,7 @@ impl<'a, > DoubleClickBidManager<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -686,7 +686,7 @@ impl client::Part for UploadStatus {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `downloadlineitems(...)` and `uploadlineitems(...)` /// // to build up your call. @@ -761,7 +761,7 @@ impl<'a> LineitemMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `createquery(...)`, `deletequery(...)`, `getquery(...)`, `listqueries(...)` and `runquery(...)` /// // to build up your call. @@ -884,7 +884,7 @@ impl<'a> QueryMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `listreports(...)` /// // to build up your call. @@ -942,7 +942,7 @@ impl<'a> ReportMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `download(...)` /// // to build up your call. @@ -1008,7 +1008,7 @@ impl<'a> SdfMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1257,7 +1257,7 @@ impl<'a> LineitemDownloadlineitemCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1506,7 +1506,7 @@ impl<'a> LineitemUploadlineitemCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1754,7 +1754,7 @@ impl<'a> QueryCreatequeryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1995,7 +1995,7 @@ impl<'a> QueryDeletequeryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2247,7 +2247,7 @@ impl<'a> QueryGetqueryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2467,7 +2467,7 @@ impl<'a> QueryListqueryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2737,7 +2737,7 @@ impl<'a> QueryRunqueryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2990,7 +2990,7 @@ impl<'a> ReportListreportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/doubleclickbidmanager1/src/lib.rs b/gen/doubleclickbidmanager1/src/lib.rs index c064f836a7..9a20c99341 100644 --- a/gen/doubleclickbidmanager1/src/lib.rs +++ b/gen/doubleclickbidmanager1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *DoubleClick Bid Manager* crate version *3.0.0+20210323*, where *20210323* is the exact revision of the *doubleclickbidmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *DoubleClick Bid Manager* crate version *3.1.0+20210323*, where *20210323* is the exact revision of the *doubleclickbidmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *DoubleClick Bid Manager* *v1* API can be found at the //! [official documentation site](https://developers.google.com/bid-manager/). @@ -99,7 +99,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/doubleclickbidmanager1d1-cli/Cargo.toml b/gen/doubleclickbidmanager1d1-cli/Cargo.toml index 41ef70c8ff..9fa1eefe96 100644 --- a/gen/doubleclickbidmanager1d1-cli/Cargo.toml +++ b/gen/doubleclickbidmanager1d1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-doubleclickbidmanager1d1-cli" -version = "3.0.0+20220302" +version = "3.1.0+20220302" authors = ["Sebastian Thiel "] description = "A complete library to interact with DoubleClick Bid Manager (protocol v1.1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/doubleclickbidmanager1d1-cli" @@ -20,12 +20,12 @@ name = "doubleclickbidmanager1d1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-doubleclickbidmanager1d1] path = "../doubleclickbidmanager1d1" -version = "3.0.0+20220302" +version = "3.1.0+20220302" diff --git a/gen/doubleclickbidmanager1d1-cli/README.md b/gen/doubleclickbidmanager1d1-cli/README.md index 1edc01f059..fe49a85f06 100644 --- a/gen/doubleclickbidmanager1d1-cli/README.md +++ b/gen/doubleclickbidmanager1d1-cli/README.md @@ -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 *DoubleClick Bid Manager* API at revision *20220302*. The CLI is at version *3.0.0*. +This documentation was generated from the *DoubleClick Bid Manager* API at revision *20220302*. The CLI is at version *3.1.0*. ```bash doubleclickbidmanager1d1 [options] diff --git a/gen/doubleclickbidmanager1d1-cli/mkdocs.yml b/gen/doubleclickbidmanager1d1-cli/mkdocs.yml index 85f82b9243..79a943bbd9 100644 --- a/gen/doubleclickbidmanager1d1-cli/mkdocs.yml +++ b/gen/doubleclickbidmanager1d1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: DoubleClick Bid Manager v3.0.0+20220302 +site_name: DoubleClick Bid Manager v3.1.0+20220302 site_url: http://byron.github.io/google-apis-rs/google-doubleclickbidmanager1d1-cli site_description: A complete library to interact with DoubleClick Bid Manager (protocol v1.1) diff --git a/gen/doubleclickbidmanager1d1-cli/src/main.rs b/gen/doubleclickbidmanager1d1-cli/src/main.rs index 244bd56872..b0b9e8400b 100644 --- a/gen/doubleclickbidmanager1d1-cli/src/main.rs +++ b/gen/doubleclickbidmanager1d1-cli/src/main.rs @@ -529,7 +529,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/doubleclickbidmanager1d1", 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::DoubleClickBidManager::new(client, auth), @@ -694,7 +700,7 @@ async fn main() { let mut app = App::new("doubleclickbidmanager1d1") .author("Sebastian Thiel ") - .version("3.0.0+20220302") + .version("3.1.0+20220302") .about("DoubleClick Bid Manager API allows users to manage and create campaigns and reports.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_doubleclickbidmanager1d1_cli") .arg(Arg::with_name("url") diff --git a/gen/doubleclickbidmanager1d1/Cargo.toml b/gen/doubleclickbidmanager1d1/Cargo.toml index e135485cf6..291e7cd924 100644 --- a/gen/doubleclickbidmanager1d1/Cargo.toml +++ b/gen/doubleclickbidmanager1d1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-doubleclickbidmanager1d1" -version = "3.0.0+20220302" +version = "3.1.0+20220302" authors = ["Sebastian Thiel "] description = "A complete library to interact with DoubleClick Bid Manager (protocol v1.1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/doubleclickbidmanager1d1" homepage = "https://developers.google.com/bid-manager/" -documentation = "https://docs.rs/google-doubleclickbidmanager1d1/3.0.0+20220302" +documentation = "https://docs.rs/google-doubleclickbidmanager1d1/3.1.0+20220302" license = "MIT" keywords = ["doubleclickbidmanage", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/doubleclickbidmanager1d1/README.md b/gen/doubleclickbidmanager1d1/README.md index 3f2918e87f..4facdc7aa2 100644 --- a/gen/doubleclickbidmanager1d1/README.md +++ b/gen/doubleclickbidmanager1d1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-doubleclickbidmanager1d1` library allows access to all features of the *Google DoubleClick Bid Manager* service. -This documentation was generated from *DoubleClick Bid Manager* crate version *3.0.0+20220302*, where *20220302* is the exact revision of the *doubleclickbidmanager:v1.1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *DoubleClick Bid Manager* crate version *3.1.0+20220302*, where *20220302* is the exact revision of the *doubleclickbidmanager:v1.1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *DoubleClick Bid Manager* *v1d1* API can be found at the [official documentation site](https://developers.google.com/bid-manager/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-doubleclickbidmanager1d1/3.0.0+20220302/google_doubleclickbidmanager1d1/DoubleClickBidManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-doubleclickbidmanager1d1/3.1.0+20220302/google_doubleclickbidmanager1d1/DoubleClickBidManager) ... -* [queries](https://docs.rs/google-doubleclickbidmanager1d1/3.0.0+20220302/google_doubleclickbidmanager1d1/api::Query) - * [*createquery*](https://docs.rs/google-doubleclickbidmanager1d1/3.0.0+20220302/google_doubleclickbidmanager1d1/api::QueryCreatequeryCall), [*deletequery*](https://docs.rs/google-doubleclickbidmanager1d1/3.0.0+20220302/google_doubleclickbidmanager1d1/api::QueryDeletequeryCall), [*getquery*](https://docs.rs/google-doubleclickbidmanager1d1/3.0.0+20220302/google_doubleclickbidmanager1d1/api::QueryGetqueryCall), [*listqueries*](https://docs.rs/google-doubleclickbidmanager1d1/3.0.0+20220302/google_doubleclickbidmanager1d1/api::QueryListqueryCall) and [*runquery*](https://docs.rs/google-doubleclickbidmanager1d1/3.0.0+20220302/google_doubleclickbidmanager1d1/api::QueryRunqueryCall) -* [reports](https://docs.rs/google-doubleclickbidmanager1d1/3.0.0+20220302/google_doubleclickbidmanager1d1/api::Report) - * [*listreports*](https://docs.rs/google-doubleclickbidmanager1d1/3.0.0+20220302/google_doubleclickbidmanager1d1/api::ReportListreportCall) +* [queries](https://docs.rs/google-doubleclickbidmanager1d1/3.1.0+20220302/google_doubleclickbidmanager1d1/api::Query) + * [*createquery*](https://docs.rs/google-doubleclickbidmanager1d1/3.1.0+20220302/google_doubleclickbidmanager1d1/api::QueryCreatequeryCall), [*deletequery*](https://docs.rs/google-doubleclickbidmanager1d1/3.1.0+20220302/google_doubleclickbidmanager1d1/api::QueryDeletequeryCall), [*getquery*](https://docs.rs/google-doubleclickbidmanager1d1/3.1.0+20220302/google_doubleclickbidmanager1d1/api::QueryGetqueryCall), [*listqueries*](https://docs.rs/google-doubleclickbidmanager1d1/3.1.0+20220302/google_doubleclickbidmanager1d1/api::QueryListqueryCall) and [*runquery*](https://docs.rs/google-doubleclickbidmanager1d1/3.1.0+20220302/google_doubleclickbidmanager1d1/api::QueryRunqueryCall) +* [reports](https://docs.rs/google-doubleclickbidmanager1d1/3.1.0+20220302/google_doubleclickbidmanager1d1/api::Report) + * [*listreports*](https://docs.rs/google-doubleclickbidmanager1d1/3.1.0+20220302/google_doubleclickbidmanager1d1/api::ReportListreportCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-doubleclickbidmanager1d1/3.0.0+20220302/google_doubleclickbidmanager1d1/DoubleClickBidManager)** +* **[Hub](https://docs.rs/google-doubleclickbidmanager1d1/3.1.0+20220302/google_doubleclickbidmanager1d1/DoubleClickBidManager)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-doubleclickbidmanager1d1/3.0.0+20220302/google_doubleclickbidmanager1d1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-doubleclickbidmanager1d1/3.0.0+20220302/google_doubleclickbidmanager1d1/client::CallBuilder) -* **[Resources](https://docs.rs/google-doubleclickbidmanager1d1/3.0.0+20220302/google_doubleclickbidmanager1d1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-doubleclickbidmanager1d1/3.1.0+20220302/google_doubleclickbidmanager1d1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-doubleclickbidmanager1d1/3.1.0+20220302/google_doubleclickbidmanager1d1/client::CallBuilder) +* **[Resources](https://docs.rs/google-doubleclickbidmanager1d1/3.1.0+20220302/google_doubleclickbidmanager1d1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-doubleclickbidmanager1d1/3.0.0+20220302/google_doubleclickbidmanager1d1/client::Part)** + * **[Parts](https://docs.rs/google-doubleclickbidmanager1d1/3.1.0+20220302/google_doubleclickbidmanager1d1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-doubleclickbidmanager1d1/3.0.0+20220302/google_doubleclickbidmanager1d1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-doubleclickbidmanager1d1/3.1.0+20220302/google_doubleclickbidmanager1d1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -94,7 +94,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -128,17 +128,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-doubleclickbidmanager1d1/3.0.0+20220302/google_doubleclickbidmanager1d1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-doubleclickbidmanager1d1/3.1.0+20220302/google_doubleclickbidmanager1d1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-doubleclickbidmanager1d1/3.0.0+20220302/google_doubleclickbidmanager1d1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-doubleclickbidmanager1d1/3.1.0+20220302/google_doubleclickbidmanager1d1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-doubleclickbidmanager1d1/3.0.0+20220302/google_doubleclickbidmanager1d1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-doubleclickbidmanager1d1/3.1.0+20220302/google_doubleclickbidmanager1d1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-doubleclickbidmanager1d1/3.0.0+20220302/google_doubleclickbidmanager1d1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-doubleclickbidmanager1d1/3.1.0+20220302/google_doubleclickbidmanager1d1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -148,29 +148,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-doubleclickbidmanager1d1/3.0.0+20220302/google_doubleclickbidmanager1d1/client::Delegate) to the -[Method Builder](https://docs.rs/google-doubleclickbidmanager1d1/3.0.0+20220302/google_doubleclickbidmanager1d1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-doubleclickbidmanager1d1/3.1.0+20220302/google_doubleclickbidmanager1d1/client::Delegate) to the +[Method Builder](https://docs.rs/google-doubleclickbidmanager1d1/3.1.0+20220302/google_doubleclickbidmanager1d1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-doubleclickbidmanager1d1/3.0.0+20220302/google_doubleclickbidmanager1d1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-doubleclickbidmanager1d1/3.1.0+20220302/google_doubleclickbidmanager1d1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-doubleclickbidmanager1d1/3.0.0+20220302/google_doubleclickbidmanager1d1/client::RequestValue) and -[decodable](https://docs.rs/google-doubleclickbidmanager1d1/3.0.0+20220302/google_doubleclickbidmanager1d1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-doubleclickbidmanager1d1/3.1.0+20220302/google_doubleclickbidmanager1d1/client::RequestValue) and +[decodable](https://docs.rs/google-doubleclickbidmanager1d1/3.1.0+20220302/google_doubleclickbidmanager1d1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-doubleclickbidmanager1d1/3.0.0+20220302/google_doubleclickbidmanager1d1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-doubleclickbidmanager1d1/3.1.0+20220302/google_doubleclickbidmanager1d1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-doubleclickbidmanager1d1/3.0.0+20220302/google_doubleclickbidmanager1d1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-doubleclickbidmanager1d1/3.1.0+20220302/google_doubleclickbidmanager1d1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-doubleclickbidmanager1d1/3.0.0+20220302/google_doubleclickbidmanager1d1/client::RequestValue) are moved +* [request values](https://docs.rs/google-doubleclickbidmanager1d1/3.1.0+20220302/google_doubleclickbidmanager1d1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/doubleclickbidmanager1d1/src/api.rs b/gen/doubleclickbidmanager1d1/src/api.rs index 9fafd3e40d..b8ff0627b3 100644 --- a/gen/doubleclickbidmanager1d1/src/api.rs +++ b/gen/doubleclickbidmanager1d1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > DoubleClickBidManager<> { DoubleClickBidManager { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://doubleclickbidmanager.googleapis.com/doubleclickbidmanager/v1.1/".to_string(), _root_url: "https://doubleclickbidmanager.googleapis.com/".to_string(), } @@ -134,7 +134,7 @@ impl<'a, > DoubleClickBidManager<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -633,7 +633,7 @@ impl client::RequestValue for RunQueryRequest {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `createquery(...)`, `deletequery(...)`, `getquery(...)`, `listqueries(...)` and `runquery(...)` /// // to build up your call. @@ -760,7 +760,7 @@ impl<'a> QueryMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `listreports(...)` /// // to build up your call. @@ -828,7 +828,7 @@ impl<'a> ReportMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1088,7 +1088,7 @@ impl<'a> QueryCreatequeryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1329,7 +1329,7 @@ impl<'a> QueryDeletequeryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1581,7 +1581,7 @@ impl<'a> QueryGetqueryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1825,7 +1825,7 @@ impl<'a> QueryListqueryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2107,7 +2107,7 @@ impl<'a> QueryRunqueryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/doubleclickbidmanager1d1/src/lib.rs b/gen/doubleclickbidmanager1d1/src/lib.rs index a435ef372e..d76da4bda9 100644 --- a/gen/doubleclickbidmanager1d1/src/lib.rs +++ b/gen/doubleclickbidmanager1d1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *DoubleClick Bid Manager* crate version *3.0.0+20220302*, where *20220302* is the exact revision of the *doubleclickbidmanager:v1.1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *DoubleClick Bid Manager* crate version *3.1.0+20220302*, where *20220302* is the exact revision of the *doubleclickbidmanager:v1.1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *DoubleClick Bid Manager* *v1d1* API can be found at the //! [official documentation site](https://developers.google.com/bid-manager/). @@ -95,7 +95,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = DoubleClickBidManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/doubleclicksearch2-cli/Cargo.toml b/gen/doubleclicksearch2-cli/Cargo.toml index 2779ab464f..2370382722 100644 --- a/gen/doubleclicksearch2-cli/Cargo.toml +++ b/gen/doubleclicksearch2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-doubleclicksearch2-cli" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with Doubleclicksearch (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/doubleclicksearch2-cli" @@ -20,12 +20,12 @@ name = "doubleclicksearch2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-doubleclicksearch2] path = "../doubleclicksearch2" -version = "3.0.0+20220301" +version = "3.1.0+20220301" diff --git a/gen/doubleclicksearch2-cli/README.md b/gen/doubleclicksearch2-cli/README.md index 40578f6cce..e9ef420e49 100644 --- a/gen/doubleclicksearch2-cli/README.md +++ b/gen/doubleclicksearch2-cli/README.md @@ -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 *Doubleclicksearch* API at revision *20220301*. The CLI is at version *3.0.0*. +This documentation was generated from the *Doubleclicksearch* API at revision *20220301*. The CLI is at version *3.1.0*. ```bash doubleclicksearch2 [options] diff --git a/gen/doubleclicksearch2-cli/mkdocs.yml b/gen/doubleclicksearch2-cli/mkdocs.yml index f395e39368..aaec771670 100644 --- a/gen/doubleclicksearch2-cli/mkdocs.yml +++ b/gen/doubleclicksearch2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Doubleclicksearch v3.0.0+20220301 +site_name: Doubleclicksearch v3.1.0+20220301 site_url: http://byron.github.io/google-apis-rs/google-doubleclicksearch2-cli site_description: A complete library to interact with Doubleclicksearch (protocol v2) diff --git a/gen/doubleclicksearch2-cli/src/main.rs b/gen/doubleclicksearch2-cli/src/main.rs index d9663861ed..585e216637 100644 --- a/gen/doubleclicksearch2-cli/src/main.rs +++ b/gen/doubleclicksearch2-cli/src/main.rs @@ -826,7 +826,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/doubleclicksearch2", 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::Doubleclicksearch::new(client, auth), @@ -1120,7 +1126,7 @@ async fn main() { let mut app = App::new("doubleclicksearch2") .author("Sebastian Thiel ") - .version("3.0.0+20220301") + .version("3.1.0+20220301") .about("The Search Ads 360 API allows developers to automate uploading conversions and downloading reports from Search Ads 360.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_doubleclicksearch2_cli") .arg(Arg::with_name("url") diff --git a/gen/doubleclicksearch2/Cargo.toml b/gen/doubleclicksearch2/Cargo.toml index 236234647d..871e1f0a2e 100644 --- a/gen/doubleclicksearch2/Cargo.toml +++ b/gen/doubleclicksearch2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-doubleclicksearch2" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with Doubleclicksearch (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/doubleclicksearch2" homepage = "https://developers.google.com/search-ads" -documentation = "https://docs.rs/google-doubleclicksearch2/3.0.0+20220301" +documentation = "https://docs.rs/google-doubleclicksearch2/3.1.0+20220301" license = "MIT" keywords = ["doubleclicksearch", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/doubleclicksearch2/README.md b/gen/doubleclicksearch2/README.md index ee9f490f5b..87bd01079e 100644 --- a/gen/doubleclicksearch2/README.md +++ b/gen/doubleclicksearch2/README.md @@ -5,25 +5,25 @@ DO NOT EDIT ! --> The `google-doubleclicksearch2` library allows access to all features of the *Google Doubleclicksearch* service. -This documentation was generated from *Doubleclicksearch* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *doubleclicksearch:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Doubleclicksearch* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *doubleclicksearch:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Doubleclicksearch* *v2* API can be found at the [official documentation site](https://developers.google.com/search-ads). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-doubleclicksearch2/3.0.0+20220301/google_doubleclicksearch2/Doubleclicksearch) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-doubleclicksearch2/3.1.0+20220301/google_doubleclicksearch2/Doubleclicksearch) ... -* [conversion](https://docs.rs/google-doubleclicksearch2/3.0.0+20220301/google_doubleclicksearch2/api::Conversion) - * [*get*](https://docs.rs/google-doubleclicksearch2/3.0.0+20220301/google_doubleclicksearch2/api::ConversionGetCall), [*insert*](https://docs.rs/google-doubleclicksearch2/3.0.0+20220301/google_doubleclicksearch2/api::ConversionInsertCall), [*update*](https://docs.rs/google-doubleclicksearch2/3.0.0+20220301/google_doubleclicksearch2/api::ConversionUpdateCall) and [*update availability*](https://docs.rs/google-doubleclicksearch2/3.0.0+20220301/google_doubleclicksearch2/api::ConversionUpdateAvailabilityCall) -* [reports](https://docs.rs/google-doubleclicksearch2/3.0.0+20220301/google_doubleclicksearch2/api::Report) - * [*generate*](https://docs.rs/google-doubleclicksearch2/3.0.0+20220301/google_doubleclicksearch2/api::ReportGenerateCall), [*get*](https://docs.rs/google-doubleclicksearch2/3.0.0+20220301/google_doubleclicksearch2/api::ReportGetCall), [*get file*](https://docs.rs/google-doubleclicksearch2/3.0.0+20220301/google_doubleclicksearch2/api::ReportGetFileCall) and [*request*](https://docs.rs/google-doubleclicksearch2/3.0.0+20220301/google_doubleclicksearch2/api::ReportRequestCall) -* [saved columns](https://docs.rs/google-doubleclicksearch2/3.0.0+20220301/google_doubleclicksearch2/api::SavedColumn) - * [*list*](https://docs.rs/google-doubleclicksearch2/3.0.0+20220301/google_doubleclicksearch2/api::SavedColumnListCall) +* [conversion](https://docs.rs/google-doubleclicksearch2/3.1.0+20220301/google_doubleclicksearch2/api::Conversion) + * [*get*](https://docs.rs/google-doubleclicksearch2/3.1.0+20220301/google_doubleclicksearch2/api::ConversionGetCall), [*insert*](https://docs.rs/google-doubleclicksearch2/3.1.0+20220301/google_doubleclicksearch2/api::ConversionInsertCall), [*update*](https://docs.rs/google-doubleclicksearch2/3.1.0+20220301/google_doubleclicksearch2/api::ConversionUpdateCall) and [*update availability*](https://docs.rs/google-doubleclicksearch2/3.1.0+20220301/google_doubleclicksearch2/api::ConversionUpdateAvailabilityCall) +* [reports](https://docs.rs/google-doubleclicksearch2/3.1.0+20220301/google_doubleclicksearch2/api::Report) + * [*generate*](https://docs.rs/google-doubleclicksearch2/3.1.0+20220301/google_doubleclicksearch2/api::ReportGenerateCall), [*get*](https://docs.rs/google-doubleclicksearch2/3.1.0+20220301/google_doubleclicksearch2/api::ReportGetCall), [*get file*](https://docs.rs/google-doubleclicksearch2/3.1.0+20220301/google_doubleclicksearch2/api::ReportGetFileCall) and [*request*](https://docs.rs/google-doubleclicksearch2/3.1.0+20220301/google_doubleclicksearch2/api::ReportRequestCall) +* [saved columns](https://docs.rs/google-doubleclicksearch2/3.1.0+20220301/google_doubleclicksearch2/api::SavedColumn) + * [*list*](https://docs.rs/google-doubleclicksearch2/3.1.0+20220301/google_doubleclicksearch2/api::SavedColumnListCall) Download supported by ... -* [*get file reports*](https://docs.rs/google-doubleclicksearch2/3.0.0+20220301/google_doubleclicksearch2/api::ReportGetFileCall) +* [*get file reports*](https://docs.rs/google-doubleclicksearch2/3.1.0+20220301/google_doubleclicksearch2/api::ReportGetFileCall) @@ -31,17 +31,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-doubleclicksearch2/3.0.0+20220301/google_doubleclicksearch2/Doubleclicksearch)** +* **[Hub](https://docs.rs/google-doubleclicksearch2/3.1.0+20220301/google_doubleclicksearch2/Doubleclicksearch)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-doubleclicksearch2/3.0.0+20220301/google_doubleclicksearch2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-doubleclicksearch2/3.0.0+20220301/google_doubleclicksearch2/client::CallBuilder) -* **[Resources](https://docs.rs/google-doubleclicksearch2/3.0.0+20220301/google_doubleclicksearch2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-doubleclicksearch2/3.1.0+20220301/google_doubleclicksearch2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-doubleclicksearch2/3.1.0+20220301/google_doubleclicksearch2/client::CallBuilder) +* **[Resources](https://docs.rs/google-doubleclicksearch2/3.1.0+20220301/google_doubleclicksearch2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-doubleclicksearch2/3.0.0+20220301/google_doubleclicksearch2/client::Part)** + * **[Parts](https://docs.rs/google-doubleclicksearch2/3.1.0+20220301/google_doubleclicksearch2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-doubleclicksearch2/3.0.0+20220301/google_doubleclicksearch2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-doubleclicksearch2/3.1.0+20220301/google_doubleclicksearch2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -101,7 +101,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Doubleclicksearch::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Doubleclicksearch::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -129,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-doubleclicksearch2/3.0.0+20220301/google_doubleclicksearch2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-doubleclicksearch2/3.1.0+20220301/google_doubleclicksearch2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-doubleclicksearch2/3.0.0+20220301/google_doubleclicksearch2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-doubleclicksearch2/3.1.0+20220301/google_doubleclicksearch2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-doubleclicksearch2/3.0.0+20220301/google_doubleclicksearch2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-doubleclicksearch2/3.1.0+20220301/google_doubleclicksearch2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-doubleclicksearch2/3.0.0+20220301/google_doubleclicksearch2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-doubleclicksearch2/3.1.0+20220301/google_doubleclicksearch2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -149,29 +149,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-doubleclicksearch2/3.0.0+20220301/google_doubleclicksearch2/client::Delegate) to the -[Method Builder](https://docs.rs/google-doubleclicksearch2/3.0.0+20220301/google_doubleclicksearch2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-doubleclicksearch2/3.1.0+20220301/google_doubleclicksearch2/client::Delegate) to the +[Method Builder](https://docs.rs/google-doubleclicksearch2/3.1.0+20220301/google_doubleclicksearch2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-doubleclicksearch2/3.0.0+20220301/google_doubleclicksearch2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-doubleclicksearch2/3.1.0+20220301/google_doubleclicksearch2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-doubleclicksearch2/3.0.0+20220301/google_doubleclicksearch2/client::RequestValue) and -[decodable](https://docs.rs/google-doubleclicksearch2/3.0.0+20220301/google_doubleclicksearch2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-doubleclicksearch2/3.1.0+20220301/google_doubleclicksearch2/client::RequestValue) and +[decodable](https://docs.rs/google-doubleclicksearch2/3.1.0+20220301/google_doubleclicksearch2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-doubleclicksearch2/3.0.0+20220301/google_doubleclicksearch2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-doubleclicksearch2/3.1.0+20220301/google_doubleclicksearch2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-doubleclicksearch2/3.0.0+20220301/google_doubleclicksearch2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-doubleclicksearch2/3.1.0+20220301/google_doubleclicksearch2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-doubleclicksearch2/3.0.0+20220301/google_doubleclicksearch2/client::RequestValue) are moved +* [request values](https://docs.rs/google-doubleclicksearch2/3.1.0+20220301/google_doubleclicksearch2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/doubleclicksearch2/src/api.rs b/gen/doubleclicksearch2/src/api.rs index 929ce32f80..743880fe6f 100644 --- a/gen/doubleclicksearch2/src/api.rs +++ b/gen/doubleclicksearch2/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Doubleclicksearch::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Doubleclicksearch::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -113,7 +113,7 @@ impl<'a, > Doubleclicksearch<> { Doubleclicksearch { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://doubleclicksearch.googleapis.com/".to_string(), _root_url: "https://doubleclicksearch.googleapis.com/".to_string(), } @@ -130,7 +130,7 @@ impl<'a, > Doubleclicksearch<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -493,7 +493,7 @@ impl client::RequestValue for ReportRequest {} /// This type is not used in any activity, and only used as *part* of another schema. /// #[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct ReportRow(Option>); +pub struct ReportRow(pub Option>); impl client::Part for ReportRow {} @@ -713,7 +713,7 @@ impl client::Part for ReportRequestTimeRange {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Doubleclicksearch::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Doubleclicksearch::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `update(...)` and `update_availability(...)` /// // to build up your call. @@ -838,7 +838,7 @@ impl<'a> ConversionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Doubleclicksearch::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Doubleclicksearch::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `generate(...)`, `get(...)`, `get_file(...)` and `request(...)` /// // to build up your call. @@ -949,7 +949,7 @@ impl<'a> ReportMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Doubleclicksearch::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Doubleclicksearch::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -1016,7 +1016,7 @@ impl<'a> SavedColumnMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Doubleclicksearch::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Doubleclicksearch::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1389,7 +1389,7 @@ impl<'a> ConversionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Doubleclicksearch::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Doubleclicksearch::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1638,7 +1638,7 @@ impl<'a> ConversionInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Doubleclicksearch::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Doubleclicksearch::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1887,7 +1887,7 @@ impl<'a> ConversionUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Doubleclicksearch::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Doubleclicksearch::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2136,7 +2136,7 @@ impl<'a> ConversionUpdateAvailabilityCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Doubleclicksearch::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Doubleclicksearch::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2384,7 +2384,7 @@ impl<'a> ReportGenerateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Doubleclicksearch::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Doubleclicksearch::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2639,7 +2639,7 @@ impl<'a> ReportGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Doubleclicksearch::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Doubleclicksearch::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2893,7 +2893,7 @@ impl<'a> ReportGetFileCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Doubleclicksearch::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Doubleclicksearch::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3141,7 +3141,7 @@ impl<'a> ReportRequestCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Doubleclicksearch::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Doubleclicksearch::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/doubleclicksearch2/src/lib.rs b/gen/doubleclicksearch2/src/lib.rs index 56ed9f101b..a8169ef8ef 100644 --- a/gen/doubleclicksearch2/src/lib.rs +++ b/gen/doubleclicksearch2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Doubleclicksearch* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *doubleclicksearch:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Doubleclicksearch* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *doubleclicksearch:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Doubleclicksearch* *v2* API can be found at the //! [official documentation site](https://developers.google.com/search-ads). @@ -102,7 +102,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Doubleclicksearch::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Doubleclicksearch::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/drive2-cli/Cargo.toml b/gen/drive2-cli/Cargo.toml index 3fb8152e30..9706fb9bfa 100644 --- a/gen/drive2-cli/Cargo.toml +++ b/gen/drive2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-drive2-cli" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with drive (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/drive2-cli" @@ -20,12 +20,12 @@ name = "drive2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-drive2] path = "../drive2" -version = "3.0.0+20220225" +version = "3.1.0+20220225" diff --git a/gen/drive2-cli/README.md b/gen/drive2-cli/README.md index f27f796ebe..e0be09dba6 100644 --- a/gen/drive2-cli/README.md +++ b/gen/drive2-cli/README.md @@ -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 *drive* API at revision *20220225*. The CLI is at version *3.0.0*. +This documentation was generated from the *drive* API at revision *20220225*. The CLI is at version *3.1.0*. ```bash drive2 [options] diff --git a/gen/drive2-cli/mkdocs.yml b/gen/drive2-cli/mkdocs.yml index c97130acd8..a6973174f3 100644 --- a/gen/drive2-cli/mkdocs.yml +++ b/gen/drive2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: drive v3.0.0+20220225 +site_name: drive v3.1.0+20220225 site_url: http://byron.github.io/google-apis-rs/google-drive2-cli site_description: A complete library to interact with drive (protocol v2) diff --git a/gen/drive2-cli/src/main.rs b/gen/drive2-cli/src/main.rs index 3968e0b1dd..b7ac9459fa 100644 --- a/gen/drive2-cli/src/main.rs +++ b/gen/drive2-cli/src/main.rs @@ -6701,7 +6701,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/drive2", 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::DriveHub::new(client, auth), @@ -8580,7 +8586,7 @@ async fn main() { let mut app = App::new("drive2") .author("Sebastian Thiel ") - .version("3.0.0+20220225") + .version("3.1.0+20220225") .about("Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_drive2_cli") .arg(Arg::with_name("url") diff --git a/gen/drive2/Cargo.toml b/gen/drive2/Cargo.toml index 2a15eec3ab..9535dc1919 100644 --- a/gen/drive2/Cargo.toml +++ b/gen/drive2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-drive2" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with drive (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/drive2" homepage = "https://developers.google.com/drive/" -documentation = "https://docs.rs/google-drive2/3.0.0+20220225" +documentation = "https://docs.rs/google-drive2/3.1.0+20220225" license = "MIT" keywords = ["drive", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/drive2/README.md b/gen/drive2/README.md index 034949b45b..73f011cbbb 100644 --- a/gen/drive2/README.md +++ b/gen/drive2/README.md @@ -5,62 +5,62 @@ DO NOT EDIT ! --> The `google-drive2` library allows access to all features of the *Google drive* service. -This documentation was generated from *drive* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *drive:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *drive* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *drive:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *drive* *v2* API can be found at the [official documentation site](https://developers.google.com/drive/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/DriveHub) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/DriveHub) ... -* [about](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::About) - * [*get*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::AboutGetCall) -* [apps](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::App) - * [*get*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::AppGetCall) and [*list*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::AppListCall) -* [changes](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::Change) - * [*get*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::ChangeGetCall), [*get start page token*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::ChangeGetStartPageTokenCall), [*list*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::ChangeListCall) and [*watch*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::ChangeWatchCall) -* [channels](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::Channel) - * [*stop*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::ChannelStopCall) +* [about](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::About) + * [*get*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::AboutGetCall) +* [apps](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::App) + * [*get*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::AppGetCall) and [*list*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::AppListCall) +* [changes](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::Change) + * [*get*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::ChangeGetCall), [*get start page token*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::ChangeGetStartPageTokenCall), [*list*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::ChangeListCall) and [*watch*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::ChangeWatchCall) +* [channels](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::Channel) + * [*stop*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::ChannelStopCall) * children - * [*delete*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::ChildrenDeleteCall), [*get*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::ChildrenGetCall), [*insert*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::ChildrenInsertCall) and [*list*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::ChildrenListCall) -* [comments](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::Comment) - * [*delete*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::CommentDeleteCall), [*get*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::CommentGetCall), [*insert*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::CommentInsertCall), [*list*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::CommentListCall), [*patch*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::CommentPatchCall) and [*update*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::CommentUpdateCall) -* [drives](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::Drive) - * [*delete*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::DriveDeleteCall), [*get*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::DriveGetCall), [*hide*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::DriveHideCall), [*insert*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::DriveInsertCall), [*list*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::DriveListCall), [*unhide*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::DriveUnhideCall) and [*update*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::DriveUpdateCall) -* [files](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::File) - * [*copy*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::FileCopyCall), [*delete*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::FileDeleteCall), [*empty trash*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::FileEmptyTrashCall), [*export*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::FileExportCall), [*generate ids*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::FileGenerateIdCall), [*get*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::FileGetCall), [*insert*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::FileInsertCall), [*list*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::FileListCall), [*patch*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::FilePatchCall), [*touch*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::FileTouchCall), [*trash*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::FileTrashCall), [*untrash*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::FileUntrashCall), [*update*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::FileUpdateCall) and [*watch*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::FileWatchCall) + * [*delete*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::ChildrenDeleteCall), [*get*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::ChildrenGetCall), [*insert*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::ChildrenInsertCall) and [*list*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::ChildrenListCall) +* [comments](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::Comment) + * [*delete*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::CommentDeleteCall), [*get*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::CommentGetCall), [*insert*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::CommentInsertCall), [*list*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::CommentListCall), [*patch*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::CommentPatchCall) and [*update*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::CommentUpdateCall) +* [drives](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::Drive) + * [*delete*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::DriveDeleteCall), [*get*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::DriveGetCall), [*hide*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::DriveHideCall), [*insert*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::DriveInsertCall), [*list*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::DriveListCall), [*unhide*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::DriveUnhideCall) and [*update*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::DriveUpdateCall) +* [files](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::File) + * [*copy*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::FileCopyCall), [*delete*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::FileDeleteCall), [*empty trash*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::FileEmptyTrashCall), [*export*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::FileExportCall), [*generate ids*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::FileGenerateIdCall), [*get*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::FileGetCall), [*insert*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::FileInsertCall), [*list*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::FileListCall), [*patch*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::FilePatchCall), [*touch*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::FileTouchCall), [*trash*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::FileTrashCall), [*untrash*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::FileUntrashCall), [*update*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::FileUpdateCall) and [*watch*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::FileWatchCall) * parents - * [*delete*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::ParentDeleteCall), [*get*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::ParentGetCall), [*insert*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::ParentInsertCall) and [*list*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::ParentListCall) -* [permissions](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::Permission) - * [*delete*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::PermissionDeleteCall), [*get*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::PermissionGetCall), [*get id for email*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::PermissionGetIdForEmailCall), [*insert*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::PermissionInsertCall), [*list*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::PermissionListCall), [*patch*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::PermissionPatchCall) and [*update*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::PermissionUpdateCall) -* [properties](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::Property) - * [*delete*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::PropertyDeleteCall), [*get*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::PropertyGetCall), [*insert*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::PropertyInsertCall), [*list*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::PropertyListCall), [*patch*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::PropertyPatchCall) and [*update*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::PropertyUpdateCall) + * [*delete*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::ParentDeleteCall), [*get*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::ParentGetCall), [*insert*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::ParentInsertCall) and [*list*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::ParentListCall) +* [permissions](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::Permission) + * [*delete*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::PermissionDeleteCall), [*get*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::PermissionGetCall), [*get id for email*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::PermissionGetIdForEmailCall), [*insert*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::PermissionInsertCall), [*list*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::PermissionListCall), [*patch*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::PermissionPatchCall) and [*update*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::PermissionUpdateCall) +* [properties](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::Property) + * [*delete*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::PropertyDeleteCall), [*get*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::PropertyGetCall), [*insert*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::PropertyInsertCall), [*list*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::PropertyListCall), [*patch*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::PropertyPatchCall) and [*update*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::PropertyUpdateCall) * replies - * [*delete*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::ReplyDeleteCall), [*get*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::ReplyGetCall), [*insert*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::ReplyInsertCall), [*list*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::ReplyListCall), [*patch*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::ReplyPatchCall) and [*update*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::ReplyUpdateCall) -* [revisions](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::Revision) - * [*delete*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::RevisionDeleteCall), [*get*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::RevisionGetCall), [*list*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::RevisionListCall), [*patch*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::RevisionPatchCall) and [*update*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::RevisionUpdateCall) + * [*delete*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::ReplyDeleteCall), [*get*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::ReplyGetCall), [*insert*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::ReplyInsertCall), [*list*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::ReplyListCall), [*patch*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::ReplyPatchCall) and [*update*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::ReplyUpdateCall) +* [revisions](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::Revision) + * [*delete*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::RevisionDeleteCall), [*get*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::RevisionGetCall), [*list*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::RevisionListCall), [*patch*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::RevisionPatchCall) and [*update*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::RevisionUpdateCall) * teamdrives - * [*delete*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::TeamdriveDeleteCall), [*get*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::TeamdriveGetCall), [*insert*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::TeamdriveInsertCall), [*list*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::TeamdriveListCall) and [*update*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::TeamdriveUpdateCall) + * [*delete*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::TeamdriveDeleteCall), [*get*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::TeamdriveGetCall), [*insert*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::TeamdriveInsertCall), [*list*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::TeamdriveListCall) and [*update*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::TeamdriveUpdateCall) Upload supported by ... -* [*insert files*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::FileInsertCall) -* [*update files*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::FileUpdateCall) +* [*insert files*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::FileInsertCall) +* [*update files*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::FileUpdateCall) Download supported by ... -* [*export files*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::FileExportCall) -* [*get files*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::FileGetCall) -* [*watch files*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::FileWatchCall) +* [*export files*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::FileExportCall) +* [*get files*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::FileGetCall) +* [*watch files*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::FileWatchCall) Subscription supported by ... -* [*list changes*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::ChangeListCall) -* [*watch changes*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::ChangeWatchCall) -* [*get files*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::FileGetCall) -* [*insert files*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::FileInsertCall) -* [*watch files*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/api::FileWatchCall) +* [*list changes*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::ChangeListCall) +* [*watch changes*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::ChangeWatchCall) +* [*get files*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::FileGetCall) +* [*insert files*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::FileInsertCall) +* [*watch files*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/api::FileWatchCall) @@ -68,17 +68,17 @@ Subscription supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/DriveHub)** +* **[Hub](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/DriveHub)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/client::CallBuilder) -* **[Resources](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/client::CallBuilder) +* **[Resources](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/client::Part)** + * **[Parts](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -149,7 +149,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -199,17 +199,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -219,29 +219,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/client::Delegate) to the -[Method Builder](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/client::Delegate) to the +[Method Builder](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/client::RequestValue) and -[decodable](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/client::RequestValue) and +[decodable](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-drive2/3.0.0+20220225/google_drive2/client::RequestValue) are moved +* [request values](https://docs.rs/google-drive2/3.1.0+20220225/google_drive2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/drive2/src/api.rs b/gen/drive2/src/api.rs index f9e392fe9d..6d4575b054 100644 --- a/gen/drive2/src/api.rs +++ b/gen/drive2/src/api.rs @@ -103,7 +103,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -168,7 +168,7 @@ impl<'a, > DriveHub<> { DriveHub { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/drive/v2/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -218,7 +218,7 @@ impl<'a, > DriveHub<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -2519,7 +2519,7 @@ impl client::Part for UserPicture {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -2575,7 +2575,7 @@ impl<'a> AboutMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -2648,7 +2648,7 @@ impl<'a> AppMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `get_start_page_token(...)`, `list(...)` and `watch(...)` /// // to build up your call. @@ -2783,7 +2783,7 @@ impl<'a> ChangeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `stop(...)` /// // to build up your call. @@ -2841,7 +2841,7 @@ impl<'a> ChannelMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -2964,7 +2964,7 @@ impl<'a> ChildrenMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -3126,7 +3126,7 @@ impl<'a> CommentMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `hide(...)`, `insert(...)`, `list(...)`, `unhide(...)` and `update(...)` /// // to build up your call. @@ -3291,7 +3291,7 @@ impl<'a> DriveMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `copy(...)`, `delete(...)`, `empty_trash(...)`, `export(...)`, `generate_ids(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)`, `touch(...)`, `trash(...)`, `untrash(...)`, `update(...)` and `watch(...)` /// // to build up your call. @@ -3667,7 +3667,7 @@ impl<'a> FileMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -3786,7 +3786,7 @@ impl<'a> ParentMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `get_id_for_email(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -3989,7 +3989,7 @@ impl<'a> PermissionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -4150,7 +4150,7 @@ impl<'a> PropertyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -4323,7 +4323,7 @@ impl<'a> ReplyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -4463,7 +4463,7 @@ impl<'a> RevisionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)` and `update(...)` /// // to build up your call. @@ -4601,7 +4601,7 @@ impl<'a> TeamdriveMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4852,7 +4852,7 @@ impl<'a> AboutGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5100,7 +5100,7 @@ impl<'a> AppGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5351,7 +5351,7 @@ impl<'a> AppListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5647,7 +5647,7 @@ impl<'a> ChangeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5910,7 +5910,7 @@ impl<'a> ChangeGetStartPageTokenCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6294,7 +6294,7 @@ impl<'a> ChangeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6707,7 +6707,7 @@ impl<'a> ChangeWatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6940,7 +6940,7 @@ impl<'a> ChannelStopCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7201,7 +7201,7 @@ impl<'a> ChildrenDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7462,7 +7462,7 @@ impl<'a> ChildrenGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7775,7 +7775,7 @@ impl<'a> ChildrenInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8071,7 +8071,7 @@ impl<'a> ChildrenListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8320,7 +8320,7 @@ impl<'a> CommentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8593,7 +8593,7 @@ impl<'a> CommentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8870,7 +8870,7 @@ impl<'a> CommentInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9167,7 +9167,7 @@ impl<'a> CommentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9457,7 +9457,7 @@ impl<'a> CommentPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9746,7 +9746,7 @@ impl<'a> CommentUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9983,7 +9983,7 @@ impl<'a> DriveDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10243,7 +10243,7 @@ impl<'a> DriveGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10492,7 +10492,7 @@ impl<'a> DriveHideCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10748,7 +10748,7 @@ impl<'a> DriveInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11011,7 +11011,7 @@ impl<'a> DriveListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11260,7 +11260,7 @@ impl<'a> DriveUnhideCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11550,7 +11550,7 @@ impl<'a> DriveUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11959,7 +11959,7 @@ impl<'a> FileCopyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12232,7 +12232,7 @@ impl<'a> FileDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12451,7 +12451,7 @@ impl<'a> FileEmptyTrashCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12700,7 +12700,7 @@ impl<'a> FileExportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12956,7 +12956,7 @@ impl<'a> FileGenerateIdCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13306,7 +13306,7 @@ impl<'a> FileGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13807,7 +13807,7 @@ impl<'a> FileInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14203,7 +14203,7 @@ impl<'a> FileListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14684,7 +14684,7 @@ impl<'a> FilePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14968,7 +14968,7 @@ impl<'a> FileTouchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15252,7 +15252,7 @@ impl<'a> FileTrashCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15538,7 +15538,7 @@ impl<'a> FileUntrashCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16337,7 +16337,7 @@ impl<'a> FileUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16714,7 +16714,7 @@ impl<'a> FileWatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16975,7 +16975,7 @@ impl<'a> ParentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17236,7 +17236,7 @@ impl<'a> ParentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17549,7 +17549,7 @@ impl<'a> ParentInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17797,7 +17797,7 @@ impl<'a> ParentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18082,7 +18082,7 @@ impl<'a> PermissionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18378,7 +18378,7 @@ impl<'a> PermissionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18627,7 +18627,7 @@ impl<'a> PermissionGetIdForEmailCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18988,7 +18988,7 @@ impl<'a> PermissionInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19309,7 +19309,7 @@ impl<'a> PermissionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19659,7 +19659,7 @@ impl<'a> PermissionPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20008,7 +20008,7 @@ impl<'a> PermissionUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20269,7 +20269,7 @@ impl<'a> PropertyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20542,7 +20542,7 @@ impl<'a> PropertyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20819,7 +20819,7 @@ impl<'a> PropertyInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21068,7 +21068,7 @@ impl<'a> PropertyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21370,7 +21370,7 @@ impl<'a> PropertyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21671,7 +21671,7 @@ impl<'a> PropertyUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21932,7 +21932,7 @@ impl<'a> ReplyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22217,7 +22217,7 @@ impl<'a> ReplyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22506,7 +22506,7 @@ impl<'a> ReplyInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22803,7 +22803,7 @@ impl<'a> ReplyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23105,7 +23105,7 @@ impl<'a> ReplyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23406,7 +23406,7 @@ impl<'a> ReplyUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23655,7 +23655,7 @@ impl<'a> RevisionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23915,7 +23915,7 @@ impl<'a> RevisionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24188,7 +24188,7 @@ impl<'a> RevisionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24478,7 +24478,7 @@ impl<'a> RevisionPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24767,7 +24767,7 @@ impl<'a> RevisionUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25004,7 +25004,7 @@ impl<'a> TeamdriveDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25265,7 +25265,7 @@ impl<'a> TeamdriveGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25521,7 +25521,7 @@ impl<'a> TeamdriveInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25785,7 +25785,7 @@ impl<'a> TeamdriveListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/drive2/src/lib.rs b/gen/drive2/src/lib.rs index af3daa1dc8..cd37daf598 100644 --- a/gen/drive2/src/lib.rs +++ b/gen/drive2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *drive* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *drive:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *drive* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *drive:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *drive* *v2* API can be found at the //! [official documentation site](https://developers.google.com/drive/). @@ -150,7 +150,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = DriveHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/drive3-cli/Cargo.toml b/gen/drive3-cli/Cargo.toml index 5ce6f8356c..e153a51d65 100644 --- a/gen/drive3-cli/Cargo.toml +++ b/gen/drive3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-drive3-cli" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with drive (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/drive3-cli" @@ -20,12 +20,12 @@ name = "drive3" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-drive3] path = "../drive3" -version = "3.0.0+20220225" +version = "3.1.0+20220225" diff --git a/gen/drive3-cli/README.md b/gen/drive3-cli/README.md index 464b912b9f..202e2ca24f 100644 --- a/gen/drive3-cli/README.md +++ b/gen/drive3-cli/README.md @@ -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 *drive* API at revision *20220225*. The CLI is at version *3.0.0*. +This documentation was generated from the *drive* API at revision *20220225*. The CLI is at version *3.1.0*. ```bash drive3 [options] diff --git a/gen/drive3-cli/mkdocs.yml b/gen/drive3-cli/mkdocs.yml index 6e6f87b117..946babb27f 100644 --- a/gen/drive3-cli/mkdocs.yml +++ b/gen/drive3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: drive v3.0.0+20220225 +site_name: drive v3.1.0+20220225 site_url: http://byron.github.io/google-apis-rs/google-drive3-cli site_description: A complete library to interact with drive (protocol v3) diff --git a/gen/drive3-cli/src/main.rs b/gen/drive3-cli/src/main.rs index d93739503c..6eba2817ad 100644 --- a/gen/drive3-cli/src/main.rs +++ b/gen/drive3-cli/src/main.rs @@ -4306,7 +4306,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/drive3", 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::DriveHub::new(client, auth), @@ -5499,7 +5505,7 @@ async fn main() { let mut app = App::new("drive3") .author("Sebastian Thiel ") - .version("3.0.0+20220225") + .version("3.1.0+20220225") .about("Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_drive3_cli") .arg(Arg::with_name("url") diff --git a/gen/driveactivity2-cli/Cargo.toml b/gen/driveactivity2-cli/Cargo.toml index f3f645f4d0..64c8032450 100644 --- a/gen/driveactivity2-cli/Cargo.toml +++ b/gen/driveactivity2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-driveactivity2-cli" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with Drive Activity (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/driveactivity2-cli" @@ -20,12 +20,12 @@ name = "driveactivity2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-driveactivity2] path = "../driveactivity2" -version = "3.0.0+20220301" +version = "3.1.0+20220301" diff --git a/gen/driveactivity2-cli/README.md b/gen/driveactivity2-cli/README.md index dee820d939..b8ab95c319 100644 --- a/gen/driveactivity2-cli/README.md +++ b/gen/driveactivity2-cli/README.md @@ -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 *Drive Activity* API at revision *20220301*. The CLI is at version *3.0.0*. +This documentation was generated from the *Drive Activity* API at revision *20220301*. The CLI is at version *3.1.0*. ```bash driveactivity2 [options] diff --git a/gen/driveactivity2-cli/mkdocs.yml b/gen/driveactivity2-cli/mkdocs.yml index 8c5291ddf9..5cbcee24e5 100644 --- a/gen/driveactivity2-cli/mkdocs.yml +++ b/gen/driveactivity2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Drive Activity v3.0.0+20220301 +site_name: Drive Activity v3.1.0+20220301 site_url: http://byron.github.io/google-apis-rs/google-driveactivity2-cli site_description: A complete library to interact with Drive Activity (protocol v2) diff --git a/gen/driveactivity2-cli/src/main.rs b/gen/driveactivity2-cli/src/main.rs index b013211fa1..a814027e57 100644 --- a/gen/driveactivity2-cli/src/main.rs +++ b/gen/driveactivity2-cli/src/main.rs @@ -181,7 +181,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/driveactivity2", 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::DriveActivityHub::new(client, auth), @@ -245,7 +251,7 @@ async fn main() { let mut app = App::new("driveactivity2") .author("Sebastian Thiel ") - .version("3.0.0+20220301") + .version("3.1.0+20220301") .about("Provides a historical view of activity in Google Drive.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_driveactivity2_cli") .arg(Arg::with_name("url") diff --git a/gen/driveactivity2/Cargo.toml b/gen/driveactivity2/Cargo.toml index d469f7a22c..71fdd420c8 100644 --- a/gen/driveactivity2/Cargo.toml +++ b/gen/driveactivity2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-driveactivity2" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with Drive Activity (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/driveactivity2" homepage = "https://developers.google.com/drive/activity/" -documentation = "https://docs.rs/google-driveactivity2/3.0.0+20220301" +documentation = "https://docs.rs/google-driveactivity2/3.1.0+20220301" license = "MIT" keywords = ["driveactivity", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/driveactivity2/README.md b/gen/driveactivity2/README.md index 1135817cdf..dae23a809a 100644 --- a/gen/driveactivity2/README.md +++ b/gen/driveactivity2/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-driveactivity2` library allows access to all features of the *Google Drive Activity* service. -This documentation was generated from *Drive Activity* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *driveactivity:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Drive Activity* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *driveactivity:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Drive Activity* *v2* API can be found at the [official documentation site](https://developers.google.com/drive/activity/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-driveactivity2/3.0.0+20220301/google_driveactivity2/DriveActivityHub) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-driveactivity2/3.1.0+20220301/google_driveactivity2/DriveActivityHub) ... * activity - * [*query*](https://docs.rs/google-driveactivity2/3.0.0+20220301/google_driveactivity2/api::ActivityQueryCall) + * [*query*](https://docs.rs/google-driveactivity2/3.1.0+20220301/google_driveactivity2/api::ActivityQueryCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-driveactivity2/3.0.0+20220301/google_driveactivity2/DriveActivityHub)** +* **[Hub](https://docs.rs/google-driveactivity2/3.1.0+20220301/google_driveactivity2/DriveActivityHub)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-driveactivity2/3.0.0+20220301/google_driveactivity2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-driveactivity2/3.0.0+20220301/google_driveactivity2/client::CallBuilder) -* **[Resources](https://docs.rs/google-driveactivity2/3.0.0+20220301/google_driveactivity2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-driveactivity2/3.1.0+20220301/google_driveactivity2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-driveactivity2/3.1.0+20220301/google_driveactivity2/client::CallBuilder) +* **[Resources](https://docs.rs/google-driveactivity2/3.1.0+20220301/google_driveactivity2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-driveactivity2/3.0.0+20220301/google_driveactivity2/client::Part)** + * **[Parts](https://docs.rs/google-driveactivity2/3.1.0+20220301/google_driveactivity2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-driveactivity2/3.0.0+20220301/google_driveactivity2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-driveactivity2/3.1.0+20220301/google_driveactivity2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -91,7 +91,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = DriveActivityHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = DriveActivityHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -124,17 +124,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-driveactivity2/3.0.0+20220301/google_driveactivity2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-driveactivity2/3.1.0+20220301/google_driveactivity2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-driveactivity2/3.0.0+20220301/google_driveactivity2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-driveactivity2/3.1.0+20220301/google_driveactivity2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-driveactivity2/3.0.0+20220301/google_driveactivity2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-driveactivity2/3.1.0+20220301/google_driveactivity2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-driveactivity2/3.0.0+20220301/google_driveactivity2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-driveactivity2/3.1.0+20220301/google_driveactivity2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -144,29 +144,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-driveactivity2/3.0.0+20220301/google_driveactivity2/client::Delegate) to the -[Method Builder](https://docs.rs/google-driveactivity2/3.0.0+20220301/google_driveactivity2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-driveactivity2/3.1.0+20220301/google_driveactivity2/client::Delegate) to the +[Method Builder](https://docs.rs/google-driveactivity2/3.1.0+20220301/google_driveactivity2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-driveactivity2/3.0.0+20220301/google_driveactivity2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-driveactivity2/3.1.0+20220301/google_driveactivity2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-driveactivity2/3.0.0+20220301/google_driveactivity2/client::RequestValue) and -[decodable](https://docs.rs/google-driveactivity2/3.0.0+20220301/google_driveactivity2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-driveactivity2/3.1.0+20220301/google_driveactivity2/client::RequestValue) and +[decodable](https://docs.rs/google-driveactivity2/3.1.0+20220301/google_driveactivity2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-driveactivity2/3.0.0+20220301/google_driveactivity2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-driveactivity2/3.1.0+20220301/google_driveactivity2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-driveactivity2/3.0.0+20220301/google_driveactivity2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-driveactivity2/3.1.0+20220301/google_driveactivity2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-driveactivity2/3.0.0+20220301/google_driveactivity2/client::RequestValue) are moved +* [request values](https://docs.rs/google-driveactivity2/3.1.0+20220301/google_driveactivity2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/driveactivity2/src/api.rs b/gen/driveactivity2/src/api.rs index 891928610a..46f2359a47 100644 --- a/gen/driveactivity2/src/api.rs +++ b/gen/driveactivity2/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DriveActivityHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DriveActivityHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -123,7 +123,7 @@ impl<'a, > DriveActivityHub<> { DriveActivityHub { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://driveactivity.googleapis.com/".to_string(), _root_url: "https://driveactivity.googleapis.com/".to_string(), } @@ -134,7 +134,7 @@ impl<'a, > DriveActivityHub<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1079,7 +1079,7 @@ impl client::Part for User {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DriveActivityHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DriveActivityHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `query(...)` /// // to build up your call. @@ -1145,7 +1145,7 @@ impl<'a> ActivityMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DriveActivityHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DriveActivityHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/driveactivity2/src/lib.rs b/gen/driveactivity2/src/lib.rs index 2e386ec8d8..a91e4dc85a 100644 --- a/gen/driveactivity2/src/lib.rs +++ b/gen/driveactivity2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Drive Activity* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *driveactivity:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Drive Activity* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *driveactivity:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Drive Activity* *v2* API can be found at the //! [official documentation site](https://developers.google.com/drive/activity/). @@ -92,7 +92,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = DriveActivityHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = DriveActivityHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/essentialcontacts1-cli/Cargo.toml b/gen/essentialcontacts1-cli/Cargo.toml index 1d61d31aa3..fecf959686 100644 --- a/gen/essentialcontacts1-cli/Cargo.toml +++ b/gen/essentialcontacts1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-essentialcontacts1-cli" -version = "3.0.0+20220227" +version = "3.1.0+20220227" authors = ["Sebastian Thiel "] description = "A complete library to interact with Essentialcontacts (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/essentialcontacts1-cli" @@ -20,12 +20,12 @@ name = "essentialcontacts1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-essentialcontacts1] path = "../essentialcontacts1" -version = "3.0.0+20220227" +version = "3.1.0+20220227" diff --git a/gen/essentialcontacts1-cli/README.md b/gen/essentialcontacts1-cli/README.md index d8b510da8e..d37417341d 100644 --- a/gen/essentialcontacts1-cli/README.md +++ b/gen/essentialcontacts1-cli/README.md @@ -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 *Essentialcontacts* API at revision *20220227*. The CLI is at version *3.0.0*. +This documentation was generated from the *Essentialcontacts* API at revision *20220227*. The CLI is at version *3.1.0*. ```bash essentialcontacts1 [options] diff --git a/gen/essentialcontacts1-cli/mkdocs.yml b/gen/essentialcontacts1-cli/mkdocs.yml index af2b8d2cbe..6e399df6cc 100644 --- a/gen/essentialcontacts1-cli/mkdocs.yml +++ b/gen/essentialcontacts1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Essentialcontacts v3.0.0+20220227 +site_name: Essentialcontacts v3.1.0+20220227 site_url: http://byron.github.io/google-apis-rs/google-essentialcontacts1-cli site_description: A complete library to interact with Essentialcontacts (protocol v1) diff --git a/gen/essentialcontacts1-cli/src/main.rs b/gen/essentialcontacts1-cli/src/main.rs index 9e3b84d98d..42de1eef12 100644 --- a/gen/essentialcontacts1-cli/src/main.rs +++ b/gen/essentialcontacts1-cli/src/main.rs @@ -1653,7 +1653,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/essentialcontacts1", 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::Essentialcontacts::new(client, auth), @@ -2217,7 +2223,7 @@ async fn main() { let mut app = App::new("essentialcontacts1") .author("Sebastian Thiel ") - .version("3.0.0+20220227") + .version("3.1.0+20220227") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_essentialcontacts1_cli") .arg(Arg::with_name("url") diff --git a/gen/essentialcontacts1/Cargo.toml b/gen/essentialcontacts1/Cargo.toml index dba763f7fe..8157eb427d 100644 --- a/gen/essentialcontacts1/Cargo.toml +++ b/gen/essentialcontacts1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-essentialcontacts1" -version = "3.0.0+20220227" +version = "3.1.0+20220227" authors = ["Sebastian Thiel "] description = "A complete library to interact with Essentialcontacts (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/essentialcontacts1" homepage = "https://cloud.google.com/essentialcontacts/docs/" -documentation = "https://docs.rs/google-essentialcontacts1/3.0.0+20220227" +documentation = "https://docs.rs/google-essentialcontacts1/3.1.0+20220227" license = "MIT" keywords = ["essentialcontacts", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/essentialcontacts1/README.md b/gen/essentialcontacts1/README.md index abe89fbf7e..d71c251ac7 100644 --- a/gen/essentialcontacts1/README.md +++ b/gen/essentialcontacts1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-essentialcontacts1` library allows access to all features of the *Google Essentialcontacts* service. -This documentation was generated from *Essentialcontacts* crate version *3.0.0+20220227*, where *20220227* is the exact revision of the *essentialcontacts:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Essentialcontacts* crate version *3.1.0+20220227*, where *20220227* is the exact revision of the *essentialcontacts:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Essentialcontacts* *v1* API can be found at the [official documentation site](https://cloud.google.com/essentialcontacts/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-essentialcontacts1/3.0.0+20220227/google_essentialcontacts1/Essentialcontacts) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-essentialcontacts1/3.1.0+20220227/google_essentialcontacts1/Essentialcontacts) ... * folders - * [*contacts compute*](https://docs.rs/google-essentialcontacts1/3.0.0+20220227/google_essentialcontacts1/api::FolderContactComputeCall), [*contacts create*](https://docs.rs/google-essentialcontacts1/3.0.0+20220227/google_essentialcontacts1/api::FolderContactCreateCall), [*contacts delete*](https://docs.rs/google-essentialcontacts1/3.0.0+20220227/google_essentialcontacts1/api::FolderContactDeleteCall), [*contacts get*](https://docs.rs/google-essentialcontacts1/3.0.0+20220227/google_essentialcontacts1/api::FolderContactGetCall), [*contacts list*](https://docs.rs/google-essentialcontacts1/3.0.0+20220227/google_essentialcontacts1/api::FolderContactListCall), [*contacts patch*](https://docs.rs/google-essentialcontacts1/3.0.0+20220227/google_essentialcontacts1/api::FolderContactPatchCall) and [*contacts send test message*](https://docs.rs/google-essentialcontacts1/3.0.0+20220227/google_essentialcontacts1/api::FolderContactSendTestMessageCall) + * [*contacts compute*](https://docs.rs/google-essentialcontacts1/3.1.0+20220227/google_essentialcontacts1/api::FolderContactComputeCall), [*contacts create*](https://docs.rs/google-essentialcontacts1/3.1.0+20220227/google_essentialcontacts1/api::FolderContactCreateCall), [*contacts delete*](https://docs.rs/google-essentialcontacts1/3.1.0+20220227/google_essentialcontacts1/api::FolderContactDeleteCall), [*contacts get*](https://docs.rs/google-essentialcontacts1/3.1.0+20220227/google_essentialcontacts1/api::FolderContactGetCall), [*contacts list*](https://docs.rs/google-essentialcontacts1/3.1.0+20220227/google_essentialcontacts1/api::FolderContactListCall), [*contacts patch*](https://docs.rs/google-essentialcontacts1/3.1.0+20220227/google_essentialcontacts1/api::FolderContactPatchCall) and [*contacts send test message*](https://docs.rs/google-essentialcontacts1/3.1.0+20220227/google_essentialcontacts1/api::FolderContactSendTestMessageCall) * organizations - * [*contacts compute*](https://docs.rs/google-essentialcontacts1/3.0.0+20220227/google_essentialcontacts1/api::OrganizationContactComputeCall), [*contacts create*](https://docs.rs/google-essentialcontacts1/3.0.0+20220227/google_essentialcontacts1/api::OrganizationContactCreateCall), [*contacts delete*](https://docs.rs/google-essentialcontacts1/3.0.0+20220227/google_essentialcontacts1/api::OrganizationContactDeleteCall), [*contacts get*](https://docs.rs/google-essentialcontacts1/3.0.0+20220227/google_essentialcontacts1/api::OrganizationContactGetCall), [*contacts list*](https://docs.rs/google-essentialcontacts1/3.0.0+20220227/google_essentialcontacts1/api::OrganizationContactListCall), [*contacts patch*](https://docs.rs/google-essentialcontacts1/3.0.0+20220227/google_essentialcontacts1/api::OrganizationContactPatchCall) and [*contacts send test message*](https://docs.rs/google-essentialcontacts1/3.0.0+20220227/google_essentialcontacts1/api::OrganizationContactSendTestMessageCall) + * [*contacts compute*](https://docs.rs/google-essentialcontacts1/3.1.0+20220227/google_essentialcontacts1/api::OrganizationContactComputeCall), [*contacts create*](https://docs.rs/google-essentialcontacts1/3.1.0+20220227/google_essentialcontacts1/api::OrganizationContactCreateCall), [*contacts delete*](https://docs.rs/google-essentialcontacts1/3.1.0+20220227/google_essentialcontacts1/api::OrganizationContactDeleteCall), [*contacts get*](https://docs.rs/google-essentialcontacts1/3.1.0+20220227/google_essentialcontacts1/api::OrganizationContactGetCall), [*contacts list*](https://docs.rs/google-essentialcontacts1/3.1.0+20220227/google_essentialcontacts1/api::OrganizationContactListCall), [*contacts patch*](https://docs.rs/google-essentialcontacts1/3.1.0+20220227/google_essentialcontacts1/api::OrganizationContactPatchCall) and [*contacts send test message*](https://docs.rs/google-essentialcontacts1/3.1.0+20220227/google_essentialcontacts1/api::OrganizationContactSendTestMessageCall) * projects - * [*contacts compute*](https://docs.rs/google-essentialcontacts1/3.0.0+20220227/google_essentialcontacts1/api::ProjectContactComputeCall), [*contacts create*](https://docs.rs/google-essentialcontacts1/3.0.0+20220227/google_essentialcontacts1/api::ProjectContactCreateCall), [*contacts delete*](https://docs.rs/google-essentialcontacts1/3.0.0+20220227/google_essentialcontacts1/api::ProjectContactDeleteCall), [*contacts get*](https://docs.rs/google-essentialcontacts1/3.0.0+20220227/google_essentialcontacts1/api::ProjectContactGetCall), [*contacts list*](https://docs.rs/google-essentialcontacts1/3.0.0+20220227/google_essentialcontacts1/api::ProjectContactListCall), [*contacts patch*](https://docs.rs/google-essentialcontacts1/3.0.0+20220227/google_essentialcontacts1/api::ProjectContactPatchCall) and [*contacts send test message*](https://docs.rs/google-essentialcontacts1/3.0.0+20220227/google_essentialcontacts1/api::ProjectContactSendTestMessageCall) + * [*contacts compute*](https://docs.rs/google-essentialcontacts1/3.1.0+20220227/google_essentialcontacts1/api::ProjectContactComputeCall), [*contacts create*](https://docs.rs/google-essentialcontacts1/3.1.0+20220227/google_essentialcontacts1/api::ProjectContactCreateCall), [*contacts delete*](https://docs.rs/google-essentialcontacts1/3.1.0+20220227/google_essentialcontacts1/api::ProjectContactDeleteCall), [*contacts get*](https://docs.rs/google-essentialcontacts1/3.1.0+20220227/google_essentialcontacts1/api::ProjectContactGetCall), [*contacts list*](https://docs.rs/google-essentialcontacts1/3.1.0+20220227/google_essentialcontacts1/api::ProjectContactListCall), [*contacts patch*](https://docs.rs/google-essentialcontacts1/3.1.0+20220227/google_essentialcontacts1/api::ProjectContactPatchCall) and [*contacts send test message*](https://docs.rs/google-essentialcontacts1/3.1.0+20220227/google_essentialcontacts1/api::ProjectContactSendTestMessageCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-essentialcontacts1/3.0.0+20220227/google_essentialcontacts1/Essentialcontacts)** +* **[Hub](https://docs.rs/google-essentialcontacts1/3.1.0+20220227/google_essentialcontacts1/Essentialcontacts)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-essentialcontacts1/3.0.0+20220227/google_essentialcontacts1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-essentialcontacts1/3.0.0+20220227/google_essentialcontacts1/client::CallBuilder) -* **[Resources](https://docs.rs/google-essentialcontacts1/3.0.0+20220227/google_essentialcontacts1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-essentialcontacts1/3.1.0+20220227/google_essentialcontacts1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-essentialcontacts1/3.1.0+20220227/google_essentialcontacts1/client::CallBuilder) +* **[Resources](https://docs.rs/google-essentialcontacts1/3.1.0+20220227/google_essentialcontacts1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-essentialcontacts1/3.0.0+20220227/google_essentialcontacts1/client::Part)** + * **[Parts](https://docs.rs/google-essentialcontacts1/3.1.0+20220227/google_essentialcontacts1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-essentialcontacts1/3.0.0+20220227/google_essentialcontacts1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-essentialcontacts1/3.1.0+20220227/google_essentialcontacts1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -103,7 +103,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -137,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-essentialcontacts1/3.0.0+20220227/google_essentialcontacts1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-essentialcontacts1/3.1.0+20220227/google_essentialcontacts1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-essentialcontacts1/3.0.0+20220227/google_essentialcontacts1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-essentialcontacts1/3.1.0+20220227/google_essentialcontacts1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-essentialcontacts1/3.0.0+20220227/google_essentialcontacts1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-essentialcontacts1/3.1.0+20220227/google_essentialcontacts1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-essentialcontacts1/3.0.0+20220227/google_essentialcontacts1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-essentialcontacts1/3.1.0+20220227/google_essentialcontacts1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -157,29 +157,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-essentialcontacts1/3.0.0+20220227/google_essentialcontacts1/client::Delegate) to the -[Method Builder](https://docs.rs/google-essentialcontacts1/3.0.0+20220227/google_essentialcontacts1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-essentialcontacts1/3.1.0+20220227/google_essentialcontacts1/client::Delegate) to the +[Method Builder](https://docs.rs/google-essentialcontacts1/3.1.0+20220227/google_essentialcontacts1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-essentialcontacts1/3.0.0+20220227/google_essentialcontacts1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-essentialcontacts1/3.1.0+20220227/google_essentialcontacts1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-essentialcontacts1/3.0.0+20220227/google_essentialcontacts1/client::RequestValue) and -[decodable](https://docs.rs/google-essentialcontacts1/3.0.0+20220227/google_essentialcontacts1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-essentialcontacts1/3.1.0+20220227/google_essentialcontacts1/client::RequestValue) and +[decodable](https://docs.rs/google-essentialcontacts1/3.1.0+20220227/google_essentialcontacts1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-essentialcontacts1/3.0.0+20220227/google_essentialcontacts1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-essentialcontacts1/3.1.0+20220227/google_essentialcontacts1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-essentialcontacts1/3.0.0+20220227/google_essentialcontacts1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-essentialcontacts1/3.1.0+20220227/google_essentialcontacts1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-essentialcontacts1/3.0.0+20220227/google_essentialcontacts1/client::RequestValue) are moved +* [request values](https://docs.rs/google-essentialcontacts1/3.1.0+20220227/google_essentialcontacts1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/essentialcontacts1/src/api.rs b/gen/essentialcontacts1/src/api.rs index a01b7661a9..3bb33edd75 100644 --- a/gen/essentialcontacts1/src/api.rs +++ b/gen/essentialcontacts1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > Essentialcontacts<> { Essentialcontacts { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://essentialcontacts.googleapis.com/".to_string(), _root_url: "https://essentialcontacts.googleapis.com/".to_string(), } @@ -137,7 +137,7 @@ impl<'a, > Essentialcontacts<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -321,7 +321,7 @@ impl client::ResponseResult for GoogleProtobufEmpty {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `contacts_compute(...)`, `contacts_create(...)`, `contacts_delete(...)`, `contacts_get(...)`, `contacts_list(...)`, `contacts_patch(...)` and `contacts_send_test_message(...)` /// // to build up your call. @@ -493,7 +493,7 @@ impl<'a> FolderMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `contacts_compute(...)`, `contacts_create(...)`, `contacts_delete(...)`, `contacts_get(...)`, `contacts_list(...)`, `contacts_patch(...)` and `contacts_send_test_message(...)` /// // to build up your call. @@ -665,7 +665,7 @@ impl<'a> OrganizationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `contacts_compute(...)`, `contacts_create(...)`, `contacts_delete(...)`, `contacts_get(...)`, `contacts_list(...)`, `contacts_patch(...)` and `contacts_send_test_message(...)` /// // to build up your call. @@ -844,7 +844,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1140,7 +1140,7 @@ impl<'a> FolderContactComputeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1425,7 +1425,7 @@ impl<'a> FolderContactCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1681,7 +1681,7 @@ impl<'a> FolderContactDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1937,7 +1937,7 @@ impl<'a> FolderContactGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2218,7 +2218,7 @@ impl<'a> FolderContactListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2516,7 +2516,7 @@ impl<'a> FolderContactPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2801,7 +2801,7 @@ impl<'a> FolderContactSendTestMessageCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3097,7 +3097,7 @@ impl<'a> OrganizationContactComputeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3382,7 +3382,7 @@ impl<'a> OrganizationContactCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3638,7 +3638,7 @@ impl<'a> OrganizationContactDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3894,7 +3894,7 @@ impl<'a> OrganizationContactGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4175,7 +4175,7 @@ impl<'a> OrganizationContactListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4473,7 +4473,7 @@ impl<'a> OrganizationContactPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4758,7 +4758,7 @@ impl<'a> OrganizationContactSendTestMessageCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5054,7 +5054,7 @@ impl<'a> ProjectContactComputeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5339,7 +5339,7 @@ impl<'a> ProjectContactCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5595,7 +5595,7 @@ impl<'a> ProjectContactDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5851,7 +5851,7 @@ impl<'a> ProjectContactGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6132,7 +6132,7 @@ impl<'a> ProjectContactListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6430,7 +6430,7 @@ impl<'a> ProjectContactPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/essentialcontacts1/src/lib.rs b/gen/essentialcontacts1/src/lib.rs index 29881e3cfd..0a046253c8 100644 --- a/gen/essentialcontacts1/src/lib.rs +++ b/gen/essentialcontacts1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Essentialcontacts* crate version *3.0.0+20220227*, where *20220227* is the exact revision of the *essentialcontacts:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Essentialcontacts* crate version *3.1.0+20220227*, where *20220227* is the exact revision of the *essentialcontacts:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Essentialcontacts* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/essentialcontacts/docs/). @@ -104,7 +104,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Essentialcontacts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/eventarc1-cli/Cargo.toml b/gen/eventarc1-cli/Cargo.toml index 7c482b203d..2b4ee65bb5 100644 --- a/gen/eventarc1-cli/Cargo.toml +++ b/gen/eventarc1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-eventarc1-cli" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with Eventarc (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/eventarc1-cli" @@ -20,12 +20,12 @@ name = "eventarc1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-eventarc1] path = "../eventarc1" -version = "3.0.0+20220301" +version = "3.1.0+20220301" diff --git a/gen/eventarc1-cli/README.md b/gen/eventarc1-cli/README.md index 42ae867755..3f497f0bee 100644 --- a/gen/eventarc1-cli/README.md +++ b/gen/eventarc1-cli/README.md @@ -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 *Eventarc* API at revision *20220301*. The CLI is at version *3.0.0*. +This documentation was generated from the *Eventarc* API at revision *20220301*. The CLI is at version *3.1.0*. ```bash eventarc1 [options] diff --git a/gen/eventarc1-cli/mkdocs.yml b/gen/eventarc1-cli/mkdocs.yml index 1e8a855c14..33b420ed00 100644 --- a/gen/eventarc1-cli/mkdocs.yml +++ b/gen/eventarc1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Eventarc v3.0.0+20220301 +site_name: Eventarc v3.1.0+20220301 site_url: http://byron.github.io/google-apis-rs/google-eventarc1-cli site_description: A complete library to interact with Eventarc (protocol v1) diff --git a/gen/eventarc1-cli/src/main.rs b/gen/eventarc1-cli/src/main.rs index ad9fb27acd..eddf3e1aa5 100644 --- a/gen/eventarc1-cli/src/main.rs +++ b/gen/eventarc1-cli/src/main.rs @@ -1720,7 +1720,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/eventarc1", 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::Eventarc::new(client, auth), @@ -2300,7 +2306,7 @@ async fn main() { let mut app = App::new("eventarc1") .author("Sebastian Thiel ") - .version("3.0.0+20220301") + .version("3.1.0+20220301") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_eventarc1_cli") .arg(Arg::with_name("url") diff --git a/gen/eventarc1/Cargo.toml b/gen/eventarc1/Cargo.toml index 9200bdb08e..598fd6f2f2 100644 --- a/gen/eventarc1/Cargo.toml +++ b/gen/eventarc1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-eventarc1" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with Eventarc (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/eventarc1" homepage = "https://cloud.google.com/eventarc" -documentation = "https://docs.rs/google-eventarc1/3.0.0+20220301" +documentation = "https://docs.rs/google-eventarc1/3.1.0+20220301" license = "MIT" keywords = ["eventarc", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/eventarc1/README.md b/gen/eventarc1/README.md index 915a496c65..f549529af5 100644 --- a/gen/eventarc1/README.md +++ b/gen/eventarc1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-eventarc1` library allows access to all features of the *Google Eventarc* service. -This documentation was generated from *Eventarc* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *eventarc:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Eventarc* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *eventarc:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Eventarc* *v1* API can be found at the [official documentation site](https://cloud.google.com/eventarc). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-eventarc1/3.0.0+20220301/google_eventarc1/Eventarc) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-eventarc1/3.1.0+20220301/google_eventarc1/Eventarc) ... * projects - * [*locations channel connections get iam policy*](https://docs.rs/google-eventarc1/3.0.0+20220301/google_eventarc1/api::ProjectLocationChannelConnectionGetIamPolicyCall), [*locations channel connections set iam policy*](https://docs.rs/google-eventarc1/3.0.0+20220301/google_eventarc1/api::ProjectLocationChannelConnectionSetIamPolicyCall), [*locations channel connections test iam permissions*](https://docs.rs/google-eventarc1/3.0.0+20220301/google_eventarc1/api::ProjectLocationChannelConnectionTestIamPermissionCall), [*locations channels get iam policy*](https://docs.rs/google-eventarc1/3.0.0+20220301/google_eventarc1/api::ProjectLocationChannelGetIamPolicyCall), [*locations channels set iam policy*](https://docs.rs/google-eventarc1/3.0.0+20220301/google_eventarc1/api::ProjectLocationChannelSetIamPolicyCall), [*locations channels test iam permissions*](https://docs.rs/google-eventarc1/3.0.0+20220301/google_eventarc1/api::ProjectLocationChannelTestIamPermissionCall), [*locations get*](https://docs.rs/google-eventarc1/3.0.0+20220301/google_eventarc1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-eventarc1/3.0.0+20220301/google_eventarc1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-eventarc1/3.0.0+20220301/google_eventarc1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-eventarc1/3.0.0+20220301/google_eventarc1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-eventarc1/3.0.0+20220301/google_eventarc1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-eventarc1/3.0.0+20220301/google_eventarc1/api::ProjectLocationOperationListCall), [*locations providers get*](https://docs.rs/google-eventarc1/3.0.0+20220301/google_eventarc1/api::ProjectLocationProviderGetCall), [*locations providers list*](https://docs.rs/google-eventarc1/3.0.0+20220301/google_eventarc1/api::ProjectLocationProviderListCall), [*locations triggers create*](https://docs.rs/google-eventarc1/3.0.0+20220301/google_eventarc1/api::ProjectLocationTriggerCreateCall), [*locations triggers delete*](https://docs.rs/google-eventarc1/3.0.0+20220301/google_eventarc1/api::ProjectLocationTriggerDeleteCall), [*locations triggers get*](https://docs.rs/google-eventarc1/3.0.0+20220301/google_eventarc1/api::ProjectLocationTriggerGetCall), [*locations triggers get iam policy*](https://docs.rs/google-eventarc1/3.0.0+20220301/google_eventarc1/api::ProjectLocationTriggerGetIamPolicyCall), [*locations triggers list*](https://docs.rs/google-eventarc1/3.0.0+20220301/google_eventarc1/api::ProjectLocationTriggerListCall), [*locations triggers patch*](https://docs.rs/google-eventarc1/3.0.0+20220301/google_eventarc1/api::ProjectLocationTriggerPatchCall), [*locations triggers set iam policy*](https://docs.rs/google-eventarc1/3.0.0+20220301/google_eventarc1/api::ProjectLocationTriggerSetIamPolicyCall) and [*locations triggers test iam permissions*](https://docs.rs/google-eventarc1/3.0.0+20220301/google_eventarc1/api::ProjectLocationTriggerTestIamPermissionCall) + * [*locations channel connections get iam policy*](https://docs.rs/google-eventarc1/3.1.0+20220301/google_eventarc1/api::ProjectLocationChannelConnectionGetIamPolicyCall), [*locations channel connections set iam policy*](https://docs.rs/google-eventarc1/3.1.0+20220301/google_eventarc1/api::ProjectLocationChannelConnectionSetIamPolicyCall), [*locations channel connections test iam permissions*](https://docs.rs/google-eventarc1/3.1.0+20220301/google_eventarc1/api::ProjectLocationChannelConnectionTestIamPermissionCall), [*locations channels get iam policy*](https://docs.rs/google-eventarc1/3.1.0+20220301/google_eventarc1/api::ProjectLocationChannelGetIamPolicyCall), [*locations channels set iam policy*](https://docs.rs/google-eventarc1/3.1.0+20220301/google_eventarc1/api::ProjectLocationChannelSetIamPolicyCall), [*locations channels test iam permissions*](https://docs.rs/google-eventarc1/3.1.0+20220301/google_eventarc1/api::ProjectLocationChannelTestIamPermissionCall), [*locations get*](https://docs.rs/google-eventarc1/3.1.0+20220301/google_eventarc1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-eventarc1/3.1.0+20220301/google_eventarc1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-eventarc1/3.1.0+20220301/google_eventarc1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-eventarc1/3.1.0+20220301/google_eventarc1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-eventarc1/3.1.0+20220301/google_eventarc1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-eventarc1/3.1.0+20220301/google_eventarc1/api::ProjectLocationOperationListCall), [*locations providers get*](https://docs.rs/google-eventarc1/3.1.0+20220301/google_eventarc1/api::ProjectLocationProviderGetCall), [*locations providers list*](https://docs.rs/google-eventarc1/3.1.0+20220301/google_eventarc1/api::ProjectLocationProviderListCall), [*locations triggers create*](https://docs.rs/google-eventarc1/3.1.0+20220301/google_eventarc1/api::ProjectLocationTriggerCreateCall), [*locations triggers delete*](https://docs.rs/google-eventarc1/3.1.0+20220301/google_eventarc1/api::ProjectLocationTriggerDeleteCall), [*locations triggers get*](https://docs.rs/google-eventarc1/3.1.0+20220301/google_eventarc1/api::ProjectLocationTriggerGetCall), [*locations triggers get iam policy*](https://docs.rs/google-eventarc1/3.1.0+20220301/google_eventarc1/api::ProjectLocationTriggerGetIamPolicyCall), [*locations triggers list*](https://docs.rs/google-eventarc1/3.1.0+20220301/google_eventarc1/api::ProjectLocationTriggerListCall), [*locations triggers patch*](https://docs.rs/google-eventarc1/3.1.0+20220301/google_eventarc1/api::ProjectLocationTriggerPatchCall), [*locations triggers set iam policy*](https://docs.rs/google-eventarc1/3.1.0+20220301/google_eventarc1/api::ProjectLocationTriggerSetIamPolicyCall) and [*locations triggers test iam permissions*](https://docs.rs/google-eventarc1/3.1.0+20220301/google_eventarc1/api::ProjectLocationTriggerTestIamPermissionCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-eventarc1/3.0.0+20220301/google_eventarc1/Eventarc)** +* **[Hub](https://docs.rs/google-eventarc1/3.1.0+20220301/google_eventarc1/Eventarc)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-eventarc1/3.0.0+20220301/google_eventarc1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-eventarc1/3.0.0+20220301/google_eventarc1/client::CallBuilder) -* **[Resources](https://docs.rs/google-eventarc1/3.0.0+20220301/google_eventarc1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-eventarc1/3.1.0+20220301/google_eventarc1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-eventarc1/3.1.0+20220301/google_eventarc1/client::CallBuilder) +* **[Resources](https://docs.rs/google-eventarc1/3.1.0+20220301/google_eventarc1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-eventarc1/3.0.0+20220301/google_eventarc1/client::Part)** + * **[Parts](https://docs.rs/google-eventarc1/3.1.0+20220301/google_eventarc1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-eventarc1/3.0.0+20220301/google_eventarc1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-eventarc1/3.1.0+20220301/google_eventarc1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -95,7 +95,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -124,17 +124,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-eventarc1/3.0.0+20220301/google_eventarc1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-eventarc1/3.1.0+20220301/google_eventarc1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-eventarc1/3.0.0+20220301/google_eventarc1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-eventarc1/3.1.0+20220301/google_eventarc1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-eventarc1/3.0.0+20220301/google_eventarc1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-eventarc1/3.1.0+20220301/google_eventarc1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-eventarc1/3.0.0+20220301/google_eventarc1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-eventarc1/3.1.0+20220301/google_eventarc1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -144,29 +144,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-eventarc1/3.0.0+20220301/google_eventarc1/client::Delegate) to the -[Method Builder](https://docs.rs/google-eventarc1/3.0.0+20220301/google_eventarc1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-eventarc1/3.1.0+20220301/google_eventarc1/client::Delegate) to the +[Method Builder](https://docs.rs/google-eventarc1/3.1.0+20220301/google_eventarc1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-eventarc1/3.0.0+20220301/google_eventarc1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-eventarc1/3.1.0+20220301/google_eventarc1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-eventarc1/3.0.0+20220301/google_eventarc1/client::RequestValue) and -[decodable](https://docs.rs/google-eventarc1/3.0.0+20220301/google_eventarc1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-eventarc1/3.1.0+20220301/google_eventarc1/client::RequestValue) and +[decodable](https://docs.rs/google-eventarc1/3.1.0+20220301/google_eventarc1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-eventarc1/3.0.0+20220301/google_eventarc1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-eventarc1/3.1.0+20220301/google_eventarc1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-eventarc1/3.0.0+20220301/google_eventarc1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-eventarc1/3.1.0+20220301/google_eventarc1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-eventarc1/3.0.0+20220301/google_eventarc1/client::RequestValue) are moved +* [request values](https://docs.rs/google-eventarc1/3.1.0+20220301/google_eventarc1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/eventarc1/src/api.rs b/gen/eventarc1/src/api.rs index db91665961..21ed65b486 100644 --- a/gen/eventarc1/src/api.rs +++ b/gen/eventarc1/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -114,7 +114,7 @@ impl<'a, > Eventarc<> { Eventarc { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://eventarc.googleapis.com/".to_string(), _root_url: "https://eventarc.googleapis.com/".to_string(), } @@ -125,7 +125,7 @@ impl<'a, > Eventarc<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -745,7 +745,7 @@ impl client::ResponseResult for Trigger {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_channel_connections_get_iam_policy(...)`, `locations_channel_connections_set_iam_policy(...)`, `locations_channel_connections_test_iam_permissions(...)`, `locations_channels_get_iam_policy(...)`, `locations_channels_set_iam_policy(...)`, `locations_channels_test_iam_permissions(...)`, `locations_get(...)`, `locations_list(...)`, `locations_operations_cancel(...)`, `locations_operations_delete(...)`, `locations_operations_get(...)`, `locations_operations_list(...)`, `locations_providers_get(...)`, `locations_providers_list(...)`, `locations_triggers_create(...)`, `locations_triggers_delete(...)`, `locations_triggers_get(...)`, `locations_triggers_get_iam_policy(...)`, `locations_triggers_list(...)`, `locations_triggers_patch(...)`, `locations_triggers_set_iam_policy(...)` and `locations_triggers_test_iam_permissions(...)` /// // to build up your call. @@ -1210,7 +1210,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1479,7 +1479,7 @@ impl<'a> ProjectLocationChannelConnectionGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1765,7 +1765,7 @@ impl<'a> ProjectLocationChannelConnectionSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2050,7 +2050,7 @@ impl<'a> ProjectLocationChannelConnectionTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2319,7 +2319,7 @@ impl<'a> ProjectLocationChannelGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2605,7 +2605,7 @@ impl<'a> ProjectLocationChannelSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2891,7 +2891,7 @@ impl<'a> ProjectLocationChannelTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3176,7 +3176,7 @@ impl<'a> ProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3432,7 +3432,7 @@ impl<'a> ProjectLocationOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3688,7 +3688,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3980,7 +3980,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4236,7 +4236,7 @@ impl<'a> ProjectLocationProviderGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4541,7 +4541,7 @@ impl<'a> ProjectLocationProviderListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4850,7 +4850,7 @@ impl<'a> ProjectLocationTriggerCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5142,7 +5142,7 @@ impl<'a> ProjectLocationTriggerDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5398,7 +5398,7 @@ impl<'a> ProjectLocationTriggerGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5666,7 +5666,7 @@ impl<'a> ProjectLocationTriggerGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5971,7 +5971,7 @@ impl<'a> ProjectLocationTriggerListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6293,7 +6293,7 @@ impl<'a> ProjectLocationTriggerPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6579,7 +6579,7 @@ impl<'a> ProjectLocationTriggerSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6864,7 +6864,7 @@ impl<'a> ProjectLocationTriggerTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7120,7 +7120,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/eventarc1/src/lib.rs b/gen/eventarc1/src/lib.rs index 776552640a..dd98aa3453 100644 --- a/gen/eventarc1/src/lib.rs +++ b/gen/eventarc1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Eventarc* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *eventarc:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Eventarc* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *eventarc:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Eventarc* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/eventarc). @@ -96,7 +96,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Eventarc::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/factchecktools1_alpha1-cli/Cargo.toml b/gen/factchecktools1_alpha1-cli/Cargo.toml index 57e541f4bb..d3431542c2 100644 --- a/gen/factchecktools1_alpha1-cli/Cargo.toml +++ b/gen/factchecktools1_alpha1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-factchecktools1_alpha1-cli" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with Fact Check Tools (protocol v1alpha1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/factchecktools1_alpha1-cli" @@ -20,12 +20,12 @@ name = "factchecktools1-alpha1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-factchecktools1_alpha1] path = "../factchecktools1_alpha1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" diff --git a/gen/factchecktools1_alpha1-cli/README.md b/gen/factchecktools1_alpha1-cli/README.md index 7b91dde0d3..1470b199dc 100644 --- a/gen/factchecktools1_alpha1-cli/README.md +++ b/gen/factchecktools1_alpha1-cli/README.md @@ -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 *Fact Check Tools* API at revision *20220305*. The CLI is at version *3.0.0*. +This documentation was generated from the *Fact Check Tools* API at revision *20220305*. The CLI is at version *3.1.0*. ```bash factchecktools1-alpha1 [options] diff --git a/gen/factchecktools1_alpha1-cli/mkdocs.yml b/gen/factchecktools1_alpha1-cli/mkdocs.yml index d355aff771..3f731b8fe1 100644 --- a/gen/factchecktools1_alpha1-cli/mkdocs.yml +++ b/gen/factchecktools1_alpha1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Fact Check Tools v3.0.0+20220305 +site_name: Fact Check Tools v3.1.0+20220305 site_url: http://byron.github.io/google-apis-rs/google-factchecktools1_alpha1-cli site_description: A complete library to interact with Fact Check Tools (protocol v1alpha1) diff --git a/gen/factchecktools1_alpha1-cli/src/main.rs b/gen/factchecktools1_alpha1-cli/src/main.rs index c228e0e729..799db00f87 100644 --- a/gen/factchecktools1_alpha1-cli/src/main.rs +++ b/gen/factchecktools1_alpha1-cli/src/main.rs @@ -538,7 +538,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/factchecktools1-alpha1", 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::FactCheckTools::new(client, auth), @@ -709,7 +715,7 @@ async fn main() { let mut app = App::new("factchecktools1-alpha1") .author("Sebastian Thiel ") - .version("3.0.0+20220305") + .version("3.1.0+20220305") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_factchecktools1_alpha1_cli") .arg(Arg::with_name("url") diff --git a/gen/factchecktools1_alpha1/Cargo.toml b/gen/factchecktools1_alpha1/Cargo.toml index 80b1d7a25f..0c8b95c0f0 100644 --- a/gen/factchecktools1_alpha1/Cargo.toml +++ b/gen/factchecktools1_alpha1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-factchecktools1_alpha1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with Fact Check Tools (protocol v1alpha1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/factchecktools1_alpha1" homepage = "https://developers.google.com/fact-check/tools/api/" -documentation = "https://docs.rs/google-factchecktools1_alpha1/3.0.0+20220305" +documentation = "https://docs.rs/google-factchecktools1_alpha1/3.1.0+20220305" license = "MIT" keywords = ["factchecktools", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/factchecktools1_alpha1/README.md b/gen/factchecktools1_alpha1/README.md index 086a63ea5c..8805ae9769 100644 --- a/gen/factchecktools1_alpha1/README.md +++ b/gen/factchecktools1_alpha1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-factchecktools1_alpha1` library allows access to all features of the *Google Fact Check Tools* service. -This documentation was generated from *Fact Check Tools* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *factchecktools:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Fact Check Tools* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *factchecktools:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Fact Check Tools* *v1_alpha1* API can be found at the [official documentation site](https://developers.google.com/fact-check/tools/api/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-factchecktools1_alpha1/3.0.0+20220305/google_factchecktools1_alpha1/FactCheckTools) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-factchecktools1_alpha1/3.1.0+20220305/google_factchecktools1_alpha1/FactCheckTools) ... * claims - * [*search*](https://docs.rs/google-factchecktools1_alpha1/3.0.0+20220305/google_factchecktools1_alpha1/api::ClaimSearchCall) + * [*search*](https://docs.rs/google-factchecktools1_alpha1/3.1.0+20220305/google_factchecktools1_alpha1/api::ClaimSearchCall) * pages - * [*create*](https://docs.rs/google-factchecktools1_alpha1/3.0.0+20220305/google_factchecktools1_alpha1/api::PageCreateCall), [*delete*](https://docs.rs/google-factchecktools1_alpha1/3.0.0+20220305/google_factchecktools1_alpha1/api::PageDeleteCall), [*get*](https://docs.rs/google-factchecktools1_alpha1/3.0.0+20220305/google_factchecktools1_alpha1/api::PageGetCall), [*list*](https://docs.rs/google-factchecktools1_alpha1/3.0.0+20220305/google_factchecktools1_alpha1/api::PageListCall) and [*update*](https://docs.rs/google-factchecktools1_alpha1/3.0.0+20220305/google_factchecktools1_alpha1/api::PageUpdateCall) + * [*create*](https://docs.rs/google-factchecktools1_alpha1/3.1.0+20220305/google_factchecktools1_alpha1/api::PageCreateCall), [*delete*](https://docs.rs/google-factchecktools1_alpha1/3.1.0+20220305/google_factchecktools1_alpha1/api::PageDeleteCall), [*get*](https://docs.rs/google-factchecktools1_alpha1/3.1.0+20220305/google_factchecktools1_alpha1/api::PageGetCall), [*list*](https://docs.rs/google-factchecktools1_alpha1/3.1.0+20220305/google_factchecktools1_alpha1/api::PageListCall) and [*update*](https://docs.rs/google-factchecktools1_alpha1/3.1.0+20220305/google_factchecktools1_alpha1/api::PageUpdateCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-factchecktools1_alpha1/3.0.0+20220305/google_factchecktools1_alpha1/FactCheckTools)** +* **[Hub](https://docs.rs/google-factchecktools1_alpha1/3.1.0+20220305/google_factchecktools1_alpha1/FactCheckTools)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-factchecktools1_alpha1/3.0.0+20220305/google_factchecktools1_alpha1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-factchecktools1_alpha1/3.0.0+20220305/google_factchecktools1_alpha1/client::CallBuilder) -* **[Resources](https://docs.rs/google-factchecktools1_alpha1/3.0.0+20220305/google_factchecktools1_alpha1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-factchecktools1_alpha1/3.1.0+20220305/google_factchecktools1_alpha1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-factchecktools1_alpha1/3.1.0+20220305/google_factchecktools1_alpha1/client::CallBuilder) +* **[Resources](https://docs.rs/google-factchecktools1_alpha1/3.1.0+20220305/google_factchecktools1_alpha1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-factchecktools1_alpha1/3.0.0+20220305/google_factchecktools1_alpha1/client::Part)** + * **[Parts](https://docs.rs/google-factchecktools1_alpha1/3.1.0+20220305/google_factchecktools1_alpha1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-factchecktools1_alpha1/3.0.0+20220305/google_factchecktools1_alpha1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-factchecktools1_alpha1/3.1.0+20220305/google_factchecktools1_alpha1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -95,7 +95,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = FactCheckTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = FactCheckTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -128,17 +128,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-factchecktools1_alpha1/3.0.0+20220305/google_factchecktools1_alpha1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-factchecktools1_alpha1/3.1.0+20220305/google_factchecktools1_alpha1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-factchecktools1_alpha1/3.0.0+20220305/google_factchecktools1_alpha1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-factchecktools1_alpha1/3.1.0+20220305/google_factchecktools1_alpha1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-factchecktools1_alpha1/3.0.0+20220305/google_factchecktools1_alpha1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-factchecktools1_alpha1/3.1.0+20220305/google_factchecktools1_alpha1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-factchecktools1_alpha1/3.0.0+20220305/google_factchecktools1_alpha1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-factchecktools1_alpha1/3.1.0+20220305/google_factchecktools1_alpha1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -148,29 +148,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-factchecktools1_alpha1/3.0.0+20220305/google_factchecktools1_alpha1/client::Delegate) to the -[Method Builder](https://docs.rs/google-factchecktools1_alpha1/3.0.0+20220305/google_factchecktools1_alpha1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-factchecktools1_alpha1/3.1.0+20220305/google_factchecktools1_alpha1/client::Delegate) to the +[Method Builder](https://docs.rs/google-factchecktools1_alpha1/3.1.0+20220305/google_factchecktools1_alpha1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-factchecktools1_alpha1/3.0.0+20220305/google_factchecktools1_alpha1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-factchecktools1_alpha1/3.1.0+20220305/google_factchecktools1_alpha1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-factchecktools1_alpha1/3.0.0+20220305/google_factchecktools1_alpha1/client::RequestValue) and -[decodable](https://docs.rs/google-factchecktools1_alpha1/3.0.0+20220305/google_factchecktools1_alpha1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-factchecktools1_alpha1/3.1.0+20220305/google_factchecktools1_alpha1/client::RequestValue) and +[decodable](https://docs.rs/google-factchecktools1_alpha1/3.1.0+20220305/google_factchecktools1_alpha1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-factchecktools1_alpha1/3.0.0+20220305/google_factchecktools1_alpha1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-factchecktools1_alpha1/3.1.0+20220305/google_factchecktools1_alpha1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-factchecktools1_alpha1/3.0.0+20220305/google_factchecktools1_alpha1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-factchecktools1_alpha1/3.1.0+20220305/google_factchecktools1_alpha1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-factchecktools1_alpha1/3.0.0+20220305/google_factchecktools1_alpha1/client::RequestValue) are moved +* [request values](https://docs.rs/google-factchecktools1_alpha1/3.1.0+20220305/google_factchecktools1_alpha1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/factchecktools1_alpha1/src/api.rs b/gen/factchecktools1_alpha1/src/api.rs index d883abd960..fd05cee77a 100644 --- a/gen/factchecktools1_alpha1/src/api.rs +++ b/gen/factchecktools1_alpha1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = FactCheckTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = FactCheckTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > FactCheckTools<> { FactCheckTools { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://factchecktools.googleapis.com/".to_string(), _root_url: "https://factchecktools.googleapis.com/".to_string(), } @@ -133,7 +133,7 @@ impl<'a, > FactCheckTools<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -443,7 +443,7 @@ impl client::ResponseResult for GoogleProtobufEmpty {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = FactCheckTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = FactCheckTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `search(...)` /// // to build up your call. @@ -502,7 +502,7 @@ impl<'a> ClaimMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = FactCheckTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = FactCheckTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)`, `get(...)`, `list(...)` and `update(...)` /// // to build up your call. @@ -637,7 +637,7 @@ impl<'a> PageMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FactCheckTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FactCheckTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -911,7 +911,7 @@ impl<'a> ClaimSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FactCheckTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FactCheckTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1159,7 +1159,7 @@ impl<'a> PageCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FactCheckTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FactCheckTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1415,7 +1415,7 @@ impl<'a> PageDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FactCheckTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FactCheckTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1671,7 +1671,7 @@ impl<'a> PageGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FactCheckTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FactCheckTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1951,7 +1951,7 @@ impl<'a> PageListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FactCheckTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FactCheckTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/factchecktools1_alpha1/src/lib.rs b/gen/factchecktools1_alpha1/src/lib.rs index 1d724e22b4..47640fca11 100644 --- a/gen/factchecktools1_alpha1/src/lib.rs +++ b/gen/factchecktools1_alpha1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Fact Check Tools* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *factchecktools:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Fact Check Tools* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *factchecktools:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Fact Check Tools* *v1_alpha1* API can be found at the //! [official documentation site](https://developers.google.com/fact-check/tools/api/). @@ -96,7 +96,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = FactCheckTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = FactCheckTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/fcm1-cli/Cargo.toml b/gen/fcm1-cli/Cargo.toml index 2ff492fd8e..4a9a43996d 100644 --- a/gen/fcm1-cli/Cargo.toml +++ b/gen/fcm1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-fcm1-cli" -version = "3.0.0+20220228" +version = "3.1.0+20220228" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebase Cloud Messaging (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/fcm1-cli" @@ -20,12 +20,12 @@ name = "fcm1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-fcm1] path = "../fcm1" -version = "3.0.0+20220228" +version = "3.1.0+20220228" diff --git a/gen/fcm1-cli/README.md b/gen/fcm1-cli/README.md index 421d9fcfaf..329a2373b5 100644 --- a/gen/fcm1-cli/README.md +++ b/gen/fcm1-cli/README.md @@ -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 *Firebase Cloud Messaging* API at revision *20220228*. The CLI is at version *3.0.0*. +This documentation was generated from the *Firebase Cloud Messaging* API at revision *20220228*. The CLI is at version *3.1.0*. ```bash fcm1 [options] diff --git a/gen/fcm1-cli/mkdocs.yml b/gen/fcm1-cli/mkdocs.yml index 688bb6caab..2ed5c4f1bb 100644 --- a/gen/fcm1-cli/mkdocs.yml +++ b/gen/fcm1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Firebase Cloud Messaging v3.0.0+20220228 +site_name: Firebase Cloud Messaging v3.1.0+20220228 site_url: http://byron.github.io/google-apis-rs/google-fcm1-cli site_description: A complete library to interact with Firebase Cloud Messaging (protocol v1) diff --git a/gen/fcm1-cli/src/main.rs b/gen/fcm1-cli/src/main.rs index adb19591a7..e66b5e26f6 100644 --- a/gen/fcm1-cli/src/main.rs +++ b/gen/fcm1-cli/src/main.rs @@ -230,7 +230,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/fcm1", 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::FirebaseCloudMessaging::new(client, auth), @@ -300,7 +306,7 @@ async fn main() { let mut app = App::new("fcm1") .author("Sebastian Thiel ") - .version("3.0.0+20220228") + .version("3.1.0+20220228") .about("FCM send API that provides a cross-platform messaging solution to reliably deliver messages at no cost.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_fcm1_cli") .arg(Arg::with_name("url") diff --git a/gen/fcm1/Cargo.toml b/gen/fcm1/Cargo.toml index 04846ccabc..1af79158ca 100644 --- a/gen/fcm1/Cargo.toml +++ b/gen/fcm1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-fcm1" -version = "3.0.0+20220228" +version = "3.1.0+20220228" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebase Cloud Messaging (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/fcm1" homepage = "https://firebase.google.com/docs/cloud-messaging" -documentation = "https://docs.rs/google-fcm1/3.0.0+20220228" +documentation = "https://docs.rs/google-fcm1/3.1.0+20220228" license = "MIT" keywords = ["fcm", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/fcm1/README.md b/gen/fcm1/README.md index 7686714b09..a146b9b69e 100644 --- a/gen/fcm1/README.md +++ b/gen/fcm1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-fcm1` library allows access to all features of the *Google Firebase Cloud Messaging* service. -This documentation was generated from *Firebase Cloud Messaging* crate version *3.0.0+20220228*, where *20220228* is the exact revision of the *fcm:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Firebase Cloud Messaging* crate version *3.1.0+20220228*, where *20220228* is the exact revision of the *fcm:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Firebase Cloud Messaging* *v1* API can be found at the [official documentation site](https://firebase.google.com/docs/cloud-messaging). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-fcm1/3.0.0+20220228/google_fcm1/FirebaseCloudMessaging) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-fcm1/3.1.0+20220228/google_fcm1/FirebaseCloudMessaging) ... * projects - * [*messages send*](https://docs.rs/google-fcm1/3.0.0+20220228/google_fcm1/api::ProjectMessageSendCall) + * [*messages send*](https://docs.rs/google-fcm1/3.1.0+20220228/google_fcm1/api::ProjectMessageSendCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-fcm1/3.0.0+20220228/google_fcm1/FirebaseCloudMessaging)** +* **[Hub](https://docs.rs/google-fcm1/3.1.0+20220228/google_fcm1/FirebaseCloudMessaging)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-fcm1/3.0.0+20220228/google_fcm1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-fcm1/3.0.0+20220228/google_fcm1/client::CallBuilder) -* **[Resources](https://docs.rs/google-fcm1/3.0.0+20220228/google_fcm1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-fcm1/3.1.0+20220228/google_fcm1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-fcm1/3.1.0+20220228/google_fcm1/client::CallBuilder) +* **[Resources](https://docs.rs/google-fcm1/3.1.0+20220228/google_fcm1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-fcm1/3.0.0+20220228/google_fcm1/client::Part)** + * **[Parts](https://docs.rs/google-fcm1/3.1.0+20220228/google_fcm1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-fcm1/3.0.0+20220228/google_fcm1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-fcm1/3.1.0+20220228/google_fcm1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -91,7 +91,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = FirebaseCloudMessaging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = FirebaseCloudMessaging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -124,17 +124,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-fcm1/3.0.0+20220228/google_fcm1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-fcm1/3.1.0+20220228/google_fcm1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-fcm1/3.0.0+20220228/google_fcm1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-fcm1/3.1.0+20220228/google_fcm1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-fcm1/3.0.0+20220228/google_fcm1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-fcm1/3.1.0+20220228/google_fcm1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-fcm1/3.0.0+20220228/google_fcm1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-fcm1/3.1.0+20220228/google_fcm1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -144,29 +144,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-fcm1/3.0.0+20220228/google_fcm1/client::Delegate) to the -[Method Builder](https://docs.rs/google-fcm1/3.0.0+20220228/google_fcm1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-fcm1/3.1.0+20220228/google_fcm1/client::Delegate) to the +[Method Builder](https://docs.rs/google-fcm1/3.1.0+20220228/google_fcm1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-fcm1/3.0.0+20220228/google_fcm1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-fcm1/3.1.0+20220228/google_fcm1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-fcm1/3.0.0+20220228/google_fcm1/client::RequestValue) and -[decodable](https://docs.rs/google-fcm1/3.0.0+20220228/google_fcm1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-fcm1/3.1.0+20220228/google_fcm1/client::RequestValue) and +[decodable](https://docs.rs/google-fcm1/3.1.0+20220228/google_fcm1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-fcm1/3.0.0+20220228/google_fcm1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-fcm1/3.1.0+20220228/google_fcm1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-fcm1/3.0.0+20220228/google_fcm1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-fcm1/3.1.0+20220228/google_fcm1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-fcm1/3.0.0+20220228/google_fcm1/client::RequestValue) are moved +* [request values](https://docs.rs/google-fcm1/3.1.0+20220228/google_fcm1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/fcm1/src/api.rs b/gen/fcm1/src/api.rs index 58093cc702..8a2a0d8e87 100644 --- a/gen/fcm1/src/api.rs +++ b/gen/fcm1/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = FirebaseCloudMessaging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = FirebaseCloudMessaging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -123,7 +123,7 @@ impl<'a, > FirebaseCloudMessaging<> { FirebaseCloudMessaging { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://fcm.googleapis.com/".to_string(), _root_url: "https://fcm.googleapis.com/".to_string(), } @@ -134,7 +134,7 @@ impl<'a, > FirebaseCloudMessaging<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -506,7 +506,7 @@ impl client::Part for WebpushFcmOptions {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = FirebaseCloudMessaging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = FirebaseCloudMessaging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `messages_send(...)` /// // to build up your call. @@ -574,7 +574,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseCloudMessaging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseCloudMessaging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/fcm1/src/lib.rs b/gen/fcm1/src/lib.rs index a77c104df8..b982ad8297 100644 --- a/gen/fcm1/src/lib.rs +++ b/gen/fcm1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Firebase Cloud Messaging* crate version *3.0.0+20220228*, where *20220228* is the exact revision of the *fcm:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Firebase Cloud Messaging* crate version *3.1.0+20220228*, where *20220228* is the exact revision of the *fcm:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Firebase Cloud Messaging* *v1* API can be found at the //! [official documentation site](https://firebase.google.com/docs/cloud-messaging). @@ -92,7 +92,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = FirebaseCloudMessaging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = FirebaseCloudMessaging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/fcmdata1_beta1-cli/Cargo.toml b/gen/fcmdata1_beta1-cli/Cargo.toml index defe6a8b89..720bbde34e 100644 --- a/gen/fcmdata1_beta1-cli/Cargo.toml +++ b/gen/fcmdata1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-fcmdata1_beta1-cli" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with Fcmdata (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/fcmdata1_beta1-cli" @@ -20,12 +20,12 @@ name = "fcmdata1-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-fcmdata1_beta1] path = "../fcmdata1_beta1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" diff --git a/gen/fcmdata1_beta1-cli/README.md b/gen/fcmdata1_beta1-cli/README.md index cbca0ebfcb..b16187db76 100644 --- a/gen/fcmdata1_beta1-cli/README.md +++ b/gen/fcmdata1_beta1-cli/README.md @@ -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 *Fcmdata* API at revision *20220305*. The CLI is at version *3.0.0*. +This documentation was generated from the *Fcmdata* API at revision *20220305*. The CLI is at version *3.1.0*. ```bash fcmdata1-beta1 [options] diff --git a/gen/fcmdata1_beta1-cli/mkdocs.yml b/gen/fcmdata1_beta1-cli/mkdocs.yml index 598b64471d..f2521aa24a 100644 --- a/gen/fcmdata1_beta1-cli/mkdocs.yml +++ b/gen/fcmdata1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Fcmdata v3.0.0+20220305 +site_name: Fcmdata v3.1.0+20220305 site_url: http://byron.github.io/google-apis-rs/google-fcmdata1_beta1-cli site_description: A complete library to interact with Fcmdata (protocol v1beta1) diff --git a/gen/fcmdata1_beta1-cli/src/main.rs b/gen/fcmdata1_beta1-cli/src/main.rs index ec6cdf1e49..1b154b044a 100644 --- a/gen/fcmdata1_beta1-cli/src/main.rs +++ b/gen/fcmdata1_beta1-cli/src/main.rs @@ -151,7 +151,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/fcmdata1-beta1", 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::Fcmdata::new(client, auth), @@ -215,7 +221,7 @@ async fn main() { let mut app = App::new("fcmdata1-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20220305") + .version("3.1.0+20220305") .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") diff --git a/gen/fcmdata1_beta1/Cargo.toml b/gen/fcmdata1_beta1/Cargo.toml index 4f336b69c1..8e14b3356f 100644 --- a/gen/fcmdata1_beta1/Cargo.toml +++ b/gen/fcmdata1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-fcmdata1_beta1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with Fcmdata (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/fcmdata1_beta1" homepage = "https://firebase.google.com/docs/cloud-messaging" -documentation = "https://docs.rs/google-fcmdata1_beta1/3.0.0+20220305" +documentation = "https://docs.rs/google-fcmdata1_beta1/3.1.0+20220305" license = "MIT" keywords = ["fcmdata", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/fcmdata1_beta1/README.md b/gen/fcmdata1_beta1/README.md index 8ef8c0637f..ad5592420d 100644 --- a/gen/fcmdata1_beta1/README.md +++ b/gen/fcmdata1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-fcmdata1_beta1` library allows access to all features of the *Google Fcmdata* service. -This documentation was generated from *Fcmdata* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *fcmdata:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Fcmdata* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *fcmdata:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Fcmdata* *v1_beta1* API can be found at the [official documentation site](https://firebase.google.com/docs/cloud-messaging). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-fcmdata1_beta1/3.0.0+20220305/google_fcmdata1_beta1/Fcmdata) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-fcmdata1_beta1/3.1.0+20220305/google_fcmdata1_beta1/Fcmdata) ... * projects - * [*android apps delivery data list*](https://docs.rs/google-fcmdata1_beta1/3.0.0+20220305/google_fcmdata1_beta1/api::ProjectAndroidAppDeliveryDataListCall) + * [*android apps delivery data list*](https://docs.rs/google-fcmdata1_beta1/3.1.0+20220305/google_fcmdata1_beta1/api::ProjectAndroidAppDeliveryDataListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-fcmdata1_beta1/3.0.0+20220305/google_fcmdata1_beta1/Fcmdata)** +* **[Hub](https://docs.rs/google-fcmdata1_beta1/3.1.0+20220305/google_fcmdata1_beta1/Fcmdata)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-fcmdata1_beta1/3.0.0+20220305/google_fcmdata1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-fcmdata1_beta1/3.0.0+20220305/google_fcmdata1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-fcmdata1_beta1/3.0.0+20220305/google_fcmdata1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-fcmdata1_beta1/3.1.0+20220305/google_fcmdata1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-fcmdata1_beta1/3.1.0+20220305/google_fcmdata1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-fcmdata1_beta1/3.1.0+20220305/google_fcmdata1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-fcmdata1_beta1/3.0.0+20220305/google_fcmdata1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-fcmdata1_beta1/3.1.0+20220305/google_fcmdata1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-fcmdata1_beta1/3.0.0+20220305/google_fcmdata1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-fcmdata1_beta1/3.1.0+20220305/google_fcmdata1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -90,7 +90,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Fcmdata::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Fcmdata::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -120,17 +120,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-fcmdata1_beta1/3.0.0+20220305/google_fcmdata1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-fcmdata1_beta1/3.1.0+20220305/google_fcmdata1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-fcmdata1_beta1/3.0.0+20220305/google_fcmdata1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-fcmdata1_beta1/3.1.0+20220305/google_fcmdata1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-fcmdata1_beta1/3.0.0+20220305/google_fcmdata1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-fcmdata1_beta1/3.1.0+20220305/google_fcmdata1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-fcmdata1_beta1/3.0.0+20220305/google_fcmdata1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-fcmdata1_beta1/3.1.0+20220305/google_fcmdata1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -140,29 +140,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-fcmdata1_beta1/3.0.0+20220305/google_fcmdata1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-fcmdata1_beta1/3.0.0+20220305/google_fcmdata1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-fcmdata1_beta1/3.1.0+20220305/google_fcmdata1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-fcmdata1_beta1/3.1.0+20220305/google_fcmdata1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-fcmdata1_beta1/3.0.0+20220305/google_fcmdata1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-fcmdata1_beta1/3.1.0+20220305/google_fcmdata1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-fcmdata1_beta1/3.0.0+20220305/google_fcmdata1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-fcmdata1_beta1/3.0.0+20220305/google_fcmdata1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-fcmdata1_beta1/3.1.0+20220305/google_fcmdata1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-fcmdata1_beta1/3.1.0+20220305/google_fcmdata1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-fcmdata1_beta1/3.0.0+20220305/google_fcmdata1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-fcmdata1_beta1/3.1.0+20220305/google_fcmdata1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-fcmdata1_beta1/3.0.0+20220305/google_fcmdata1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-fcmdata1_beta1/3.1.0+20220305/google_fcmdata1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-fcmdata1_beta1/3.0.0+20220305/google_fcmdata1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-fcmdata1_beta1/3.1.0+20220305/google_fcmdata1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/fcmdata1_beta1/src/api.rs b/gen/fcmdata1_beta1/src/api.rs index 5338612ac1..73048e1682 100644 --- a/gen/fcmdata1_beta1/src/api.rs +++ b/gen/fcmdata1_beta1/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Fcmdata::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Fcmdata::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -115,7 +115,7 @@ impl<'a, > Fcmdata<> { Fcmdata { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://fcmdata.googleapis.com/".to_string(), _root_url: "https://fcmdata.googleapis.com/".to_string(), } @@ -126,7 +126,7 @@ impl<'a, > Fcmdata<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -327,7 +327,7 @@ impl client::Part for GoogleTypeDate {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Fcmdata::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Fcmdata::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `android_apps_delivery_data_list(...)` /// // to build up your call. @@ -394,7 +394,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fcmdata::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fcmdata::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/fcmdata1_beta1/src/lib.rs b/gen/fcmdata1_beta1/src/lib.rs index cb600c7508..06896660af 100644 --- a/gen/fcmdata1_beta1/src/lib.rs +++ b/gen/fcmdata1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Fcmdata* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *fcmdata:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Fcmdata* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *fcmdata:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Fcmdata* *v1_beta1* API can be found at the //! [official documentation site](https://firebase.google.com/docs/cloud-messaging). @@ -91,7 +91,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Fcmdata::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Fcmdata::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/file1-cli/Cargo.toml b/gen/file1-cli/Cargo.toml index e56843f427..ba49ba2069 100644 --- a/gen/file1-cli/Cargo.toml +++ b/gen/file1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-file1-cli" -version = "3.0.0+20220214" +version = "3.1.0+20220214" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Filestore (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/file1-cli" @@ -20,12 +20,12 @@ name = "file1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-file1] path = "../file1" -version = "3.0.0+20220214" +version = "3.1.0+20220214" diff --git a/gen/file1-cli/README.md b/gen/file1-cli/README.md index cb72d1e93a..b7915212b8 100644 --- a/gen/file1-cli/README.md +++ b/gen/file1-cli/README.md @@ -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 *Cloud Filestore* API at revision *20220214*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Filestore* API at revision *20220214*. The CLI is at version *3.1.0*. ```bash file1 [options] diff --git a/gen/file1-cli/mkdocs.yml b/gen/file1-cli/mkdocs.yml index 645762ff26..efac91e957 100644 --- a/gen/file1-cli/mkdocs.yml +++ b/gen/file1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Filestore v3.0.0+20220214 +site_name: Cloud Filestore v3.1.0+20220214 site_url: http://byron.github.io/google-apis-rs/google-file1-cli site_description: A complete library to interact with Cloud Filestore (protocol v1) diff --git a/gen/file1-cli/src/main.rs b/gen/file1-cli/src/main.rs index e8399278b8..64109d68eb 100644 --- a/gen/file1-cli/src/main.rs +++ b/gen/file1-cli/src/main.rs @@ -1705,7 +1705,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/file1", 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::CloudFilestore::new(client, auth), @@ -2279,7 +2285,7 @@ async fn main() { let mut app = App::new("file1") .author("Sebastian Thiel ") - .version("3.0.0+20220214") + .version("3.1.0+20220214") .about("The Cloud Filestore API is used for creating and managing cloud file servers.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_file1_cli") .arg(Arg::with_name("url") diff --git a/gen/file1/Cargo.toml b/gen/file1/Cargo.toml index 8c6aa0f531..0811a4f704 100644 --- a/gen/file1/Cargo.toml +++ b/gen/file1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-file1" -version = "3.0.0+20220214" +version = "3.1.0+20220214" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Filestore (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/file1" homepage = "https://cloud.google.com/filestore/" -documentation = "https://docs.rs/google-file1/3.0.0+20220214" +documentation = "https://docs.rs/google-file1/3.1.0+20220214" license = "MIT" keywords = ["file", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/file1/README.md b/gen/file1/README.md index da40d8040c..eee1ea88b8 100644 --- a/gen/file1/README.md +++ b/gen/file1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-file1` library allows access to all features of the *Google Cloud Filestore* service. -This documentation was generated from *Cloud Filestore* crate version *3.0.0+20220214*, where *20220214* is the exact revision of the *file:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Filestore* crate version *3.1.0+20220214*, where *20220214* is the exact revision of the *file:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Filestore* *v1* API can be found at the [official documentation site](https://cloud.google.com/filestore/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-file1/3.0.0+20220214/google_file1/CloudFilestore) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-file1/3.1.0+20220214/google_file1/CloudFilestore) ... * projects - * [*locations backups create*](https://docs.rs/google-file1/3.0.0+20220214/google_file1/api::ProjectLocationBackupCreateCall), [*locations backups delete*](https://docs.rs/google-file1/3.0.0+20220214/google_file1/api::ProjectLocationBackupDeleteCall), [*locations backups get*](https://docs.rs/google-file1/3.0.0+20220214/google_file1/api::ProjectLocationBackupGetCall), [*locations backups list*](https://docs.rs/google-file1/3.0.0+20220214/google_file1/api::ProjectLocationBackupListCall), [*locations backups patch*](https://docs.rs/google-file1/3.0.0+20220214/google_file1/api::ProjectLocationBackupPatchCall), [*locations get*](https://docs.rs/google-file1/3.0.0+20220214/google_file1/api::ProjectLocationGetCall), [*locations instances create*](https://docs.rs/google-file1/3.0.0+20220214/google_file1/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-file1/3.0.0+20220214/google_file1/api::ProjectLocationInstanceDeleteCall), [*locations instances get*](https://docs.rs/google-file1/3.0.0+20220214/google_file1/api::ProjectLocationInstanceGetCall), [*locations instances list*](https://docs.rs/google-file1/3.0.0+20220214/google_file1/api::ProjectLocationInstanceListCall), [*locations instances patch*](https://docs.rs/google-file1/3.0.0+20220214/google_file1/api::ProjectLocationInstancePatchCall), [*locations instances restore*](https://docs.rs/google-file1/3.0.0+20220214/google_file1/api::ProjectLocationInstanceRestoreCall), [*locations instances snapshots create*](https://docs.rs/google-file1/3.0.0+20220214/google_file1/api::ProjectLocationInstanceSnapshotCreateCall), [*locations instances snapshots delete*](https://docs.rs/google-file1/3.0.0+20220214/google_file1/api::ProjectLocationInstanceSnapshotDeleteCall), [*locations instances snapshots get*](https://docs.rs/google-file1/3.0.0+20220214/google_file1/api::ProjectLocationInstanceSnapshotGetCall), [*locations instances snapshots list*](https://docs.rs/google-file1/3.0.0+20220214/google_file1/api::ProjectLocationInstanceSnapshotListCall), [*locations instances snapshots patch*](https://docs.rs/google-file1/3.0.0+20220214/google_file1/api::ProjectLocationInstanceSnapshotPatchCall), [*locations list*](https://docs.rs/google-file1/3.0.0+20220214/google_file1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-file1/3.0.0+20220214/google_file1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-file1/3.0.0+20220214/google_file1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-file1/3.0.0+20220214/google_file1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-file1/3.0.0+20220214/google_file1/api::ProjectLocationOperationListCall) + * [*locations backups create*](https://docs.rs/google-file1/3.1.0+20220214/google_file1/api::ProjectLocationBackupCreateCall), [*locations backups delete*](https://docs.rs/google-file1/3.1.0+20220214/google_file1/api::ProjectLocationBackupDeleteCall), [*locations backups get*](https://docs.rs/google-file1/3.1.0+20220214/google_file1/api::ProjectLocationBackupGetCall), [*locations backups list*](https://docs.rs/google-file1/3.1.0+20220214/google_file1/api::ProjectLocationBackupListCall), [*locations backups patch*](https://docs.rs/google-file1/3.1.0+20220214/google_file1/api::ProjectLocationBackupPatchCall), [*locations get*](https://docs.rs/google-file1/3.1.0+20220214/google_file1/api::ProjectLocationGetCall), [*locations instances create*](https://docs.rs/google-file1/3.1.0+20220214/google_file1/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-file1/3.1.0+20220214/google_file1/api::ProjectLocationInstanceDeleteCall), [*locations instances get*](https://docs.rs/google-file1/3.1.0+20220214/google_file1/api::ProjectLocationInstanceGetCall), [*locations instances list*](https://docs.rs/google-file1/3.1.0+20220214/google_file1/api::ProjectLocationInstanceListCall), [*locations instances patch*](https://docs.rs/google-file1/3.1.0+20220214/google_file1/api::ProjectLocationInstancePatchCall), [*locations instances restore*](https://docs.rs/google-file1/3.1.0+20220214/google_file1/api::ProjectLocationInstanceRestoreCall), [*locations instances snapshots create*](https://docs.rs/google-file1/3.1.0+20220214/google_file1/api::ProjectLocationInstanceSnapshotCreateCall), [*locations instances snapshots delete*](https://docs.rs/google-file1/3.1.0+20220214/google_file1/api::ProjectLocationInstanceSnapshotDeleteCall), [*locations instances snapshots get*](https://docs.rs/google-file1/3.1.0+20220214/google_file1/api::ProjectLocationInstanceSnapshotGetCall), [*locations instances snapshots list*](https://docs.rs/google-file1/3.1.0+20220214/google_file1/api::ProjectLocationInstanceSnapshotListCall), [*locations instances snapshots patch*](https://docs.rs/google-file1/3.1.0+20220214/google_file1/api::ProjectLocationInstanceSnapshotPatchCall), [*locations list*](https://docs.rs/google-file1/3.1.0+20220214/google_file1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-file1/3.1.0+20220214/google_file1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-file1/3.1.0+20220214/google_file1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-file1/3.1.0+20220214/google_file1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-file1/3.1.0+20220214/google_file1/api::ProjectLocationOperationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-file1/3.0.0+20220214/google_file1/CloudFilestore)** +* **[Hub](https://docs.rs/google-file1/3.1.0+20220214/google_file1/CloudFilestore)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-file1/3.0.0+20220214/google_file1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-file1/3.0.0+20220214/google_file1/client::CallBuilder) -* **[Resources](https://docs.rs/google-file1/3.0.0+20220214/google_file1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-file1/3.1.0+20220214/google_file1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-file1/3.1.0+20220214/google_file1/client::CallBuilder) +* **[Resources](https://docs.rs/google-file1/3.1.0+20220214/google_file1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-file1/3.0.0+20220214/google_file1/client::Part)** + * **[Parts](https://docs.rs/google-file1/3.1.0+20220214/google_file1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-file1/3.0.0+20220214/google_file1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-file1/3.1.0+20220214/google_file1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -101,7 +101,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -135,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-file1/3.0.0+20220214/google_file1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-file1/3.1.0+20220214/google_file1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-file1/3.0.0+20220214/google_file1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-file1/3.1.0+20220214/google_file1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-file1/3.0.0+20220214/google_file1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-file1/3.1.0+20220214/google_file1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-file1/3.0.0+20220214/google_file1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-file1/3.1.0+20220214/google_file1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -155,29 +155,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-file1/3.0.0+20220214/google_file1/client::Delegate) to the -[Method Builder](https://docs.rs/google-file1/3.0.0+20220214/google_file1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-file1/3.1.0+20220214/google_file1/client::Delegate) to the +[Method Builder](https://docs.rs/google-file1/3.1.0+20220214/google_file1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-file1/3.0.0+20220214/google_file1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-file1/3.1.0+20220214/google_file1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-file1/3.0.0+20220214/google_file1/client::RequestValue) and -[decodable](https://docs.rs/google-file1/3.0.0+20220214/google_file1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-file1/3.1.0+20220214/google_file1/client::RequestValue) and +[decodable](https://docs.rs/google-file1/3.1.0+20220214/google_file1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-file1/3.0.0+20220214/google_file1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-file1/3.1.0+20220214/google_file1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-file1/3.0.0+20220214/google_file1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-file1/3.1.0+20220214/google_file1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-file1/3.0.0+20220214/google_file1/client::RequestValue) are moved +* [request values](https://docs.rs/google-file1/3.1.0+20220214/google_file1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/file1/src/api.rs b/gen/file1/src/api.rs index 7fd16cb447..c0e3512865 100644 --- a/gen/file1/src/api.rs +++ b/gen/file1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > CloudFilestore<> { CloudFilestore { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://file.googleapis.com/".to_string(), _root_url: "https://file.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > CloudFilestore<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -635,7 +635,7 @@ impl client::Part for Status {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_backups_create(...)`, `locations_backups_delete(...)`, `locations_backups_get(...)`, `locations_backups_list(...)`, `locations_backups_patch(...)`, `locations_get(...)`, `locations_instances_create(...)`, `locations_instances_delete(...)`, `locations_instances_get(...)`, `locations_instances_list(...)`, `locations_instances_patch(...)`, `locations_instances_restore(...)`, `locations_instances_snapshots_create(...)`, `locations_instances_snapshots_delete(...)`, `locations_instances_snapshots_get(...)`, `locations_instances_snapshots_list(...)`, `locations_instances_snapshots_patch(...)`, `locations_list(...)`, `locations_operations_cancel(...)`, `locations_operations_delete(...)`, `locations_operations_get(...)` and `locations_operations_list(...)` /// // to build up your call. @@ -1100,7 +1100,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1397,7 +1397,7 @@ impl<'a> ProjectLocationBackupCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1653,7 +1653,7 @@ impl<'a> ProjectLocationBackupDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1909,7 +1909,7 @@ impl<'a> ProjectLocationBackupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2214,7 +2214,7 @@ impl<'a> ProjectLocationBackupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2512,7 +2512,7 @@ impl<'a> ProjectLocationBackupPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2809,7 +2809,7 @@ impl<'a> ProjectLocationInstanceSnapshotCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3065,7 +3065,7 @@ impl<'a> ProjectLocationInstanceSnapshotDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3321,7 +3321,7 @@ impl<'a> ProjectLocationInstanceSnapshotGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3626,7 +3626,7 @@ impl<'a> ProjectLocationInstanceSnapshotListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3924,7 +3924,7 @@ impl<'a> ProjectLocationInstanceSnapshotPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4221,7 +4221,7 @@ impl<'a> ProjectLocationInstanceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4489,7 +4489,7 @@ impl<'a> ProjectLocationInstanceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4745,7 +4745,7 @@ impl<'a> ProjectLocationInstanceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5050,7 +5050,7 @@ impl<'a> ProjectLocationInstanceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5348,7 +5348,7 @@ impl<'a> ProjectLocationInstancePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5634,7 +5634,7 @@ impl<'a> ProjectLocationInstanceRestoreCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5919,7 +5919,7 @@ impl<'a> ProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6175,7 +6175,7 @@ impl<'a> ProjectLocationOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6431,7 +6431,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6723,7 +6723,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6979,7 +6979,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/file1/src/lib.rs b/gen/file1/src/lib.rs index 29e6c7ae36..a46e8b2549 100644 --- a/gen/file1/src/lib.rs +++ b/gen/file1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Filestore* crate version *3.0.0+20220214*, where *20220214* is the exact revision of the *file:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Filestore* crate version *3.1.0+20220214*, where *20220214* is the exact revision of the *file:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Filestore* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/filestore/). @@ -102,7 +102,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/file1_beta1-cli/Cargo.toml b/gen/file1_beta1-cli/Cargo.toml index 0f855a0bf3..140313652b 100644 --- a/gen/file1_beta1-cli/Cargo.toml +++ b/gen/file1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-file1_beta1-cli" -version = "3.0.0+20220214" +version = "3.1.0+20220214" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Filestore (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/file1_beta1-cli" @@ -20,12 +20,12 @@ name = "file1-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-file1_beta1] path = "../file1_beta1" -version = "3.0.0+20220214" +version = "3.1.0+20220214" diff --git a/gen/file1_beta1-cli/README.md b/gen/file1_beta1-cli/README.md index e14c8caf39..fbaa923f7c 100644 --- a/gen/file1_beta1-cli/README.md +++ b/gen/file1_beta1-cli/README.md @@ -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 *Cloud Filestore* API at revision *20220214*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Filestore* API at revision *20220214*. The CLI is at version *3.1.0*. ```bash file1-beta1 [options] diff --git a/gen/file1_beta1-cli/mkdocs.yml b/gen/file1_beta1-cli/mkdocs.yml index f31ca9fa4a..46fff2ee22 100644 --- a/gen/file1_beta1-cli/mkdocs.yml +++ b/gen/file1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Filestore v3.0.0+20220214 +site_name: Cloud Filestore v3.1.0+20220214 site_url: http://byron.github.io/google-apis-rs/google-file1_beta1-cli site_description: A complete library to interact with Cloud Filestore (protocol v1beta1) diff --git a/gen/file1_beta1-cli/src/main.rs b/gen/file1_beta1-cli/src/main.rs index e54aedf605..6ff8657539 100644 --- a/gen/file1_beta1-cli/src/main.rs +++ b/gen/file1_beta1-cli/src/main.rs @@ -1796,7 +1796,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/file1-beta1", 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::CloudFilestore::new(client, auth), @@ -2398,7 +2404,7 @@ async fn main() { let mut app = App::new("file1-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20220214") + .version("3.1.0+20220214") .about("The Cloud Filestore API is used for creating and managing cloud file servers.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_file1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/file1_beta1/Cargo.toml b/gen/file1_beta1/Cargo.toml index f3f2bcf8de..02e4a20fcf 100644 --- a/gen/file1_beta1/Cargo.toml +++ b/gen/file1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-file1_beta1" -version = "3.0.0+20220214" +version = "3.1.0+20220214" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Filestore (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/file1_beta1" homepage = "https://cloud.google.com/filestore/" -documentation = "https://docs.rs/google-file1_beta1/3.0.0+20220214" +documentation = "https://docs.rs/google-file1_beta1/3.1.0+20220214" license = "MIT" keywords = ["file", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/file1_beta1/README.md b/gen/file1_beta1/README.md index 18b9215c67..d4f0a98aec 100644 --- a/gen/file1_beta1/README.md +++ b/gen/file1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-file1_beta1` library allows access to all features of the *Google Cloud Filestore* service. -This documentation was generated from *Cloud Filestore* crate version *3.0.0+20220214*, where *20220214* is the exact revision of the *file:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Filestore* crate version *3.1.0+20220214*, where *20220214* is the exact revision of the *file:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Filestore* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/filestore/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-file1_beta1/3.0.0+20220214/google_file1_beta1/CloudFilestore) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-file1_beta1/3.1.0+20220214/google_file1_beta1/CloudFilestore) ... * projects - * [*locations backups create*](https://docs.rs/google-file1_beta1/3.0.0+20220214/google_file1_beta1/api::ProjectLocationBackupCreateCall), [*locations backups delete*](https://docs.rs/google-file1_beta1/3.0.0+20220214/google_file1_beta1/api::ProjectLocationBackupDeleteCall), [*locations backups get*](https://docs.rs/google-file1_beta1/3.0.0+20220214/google_file1_beta1/api::ProjectLocationBackupGetCall), [*locations backups list*](https://docs.rs/google-file1_beta1/3.0.0+20220214/google_file1_beta1/api::ProjectLocationBackupListCall), [*locations backups patch*](https://docs.rs/google-file1_beta1/3.0.0+20220214/google_file1_beta1/api::ProjectLocationBackupPatchCall), [*locations get*](https://docs.rs/google-file1_beta1/3.0.0+20220214/google_file1_beta1/api::ProjectLocationGetCall), [*locations instances create*](https://docs.rs/google-file1_beta1/3.0.0+20220214/google_file1_beta1/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-file1_beta1/3.0.0+20220214/google_file1_beta1/api::ProjectLocationInstanceDeleteCall), [*locations instances get*](https://docs.rs/google-file1_beta1/3.0.0+20220214/google_file1_beta1/api::ProjectLocationInstanceGetCall), [*locations instances list*](https://docs.rs/google-file1_beta1/3.0.0+20220214/google_file1_beta1/api::ProjectLocationInstanceListCall), [*locations instances patch*](https://docs.rs/google-file1_beta1/3.0.0+20220214/google_file1_beta1/api::ProjectLocationInstancePatchCall), [*locations instances restore*](https://docs.rs/google-file1_beta1/3.0.0+20220214/google_file1_beta1/api::ProjectLocationInstanceRestoreCall), [*locations instances revert*](https://docs.rs/google-file1_beta1/3.0.0+20220214/google_file1_beta1/api::ProjectLocationInstanceRevertCall), [*locations instances snapshots create*](https://docs.rs/google-file1_beta1/3.0.0+20220214/google_file1_beta1/api::ProjectLocationInstanceSnapshotCreateCall), [*locations instances snapshots delete*](https://docs.rs/google-file1_beta1/3.0.0+20220214/google_file1_beta1/api::ProjectLocationInstanceSnapshotDeleteCall), [*locations instances snapshots get*](https://docs.rs/google-file1_beta1/3.0.0+20220214/google_file1_beta1/api::ProjectLocationInstanceSnapshotGetCall), [*locations instances snapshots list*](https://docs.rs/google-file1_beta1/3.0.0+20220214/google_file1_beta1/api::ProjectLocationInstanceSnapshotListCall), [*locations instances snapshots patch*](https://docs.rs/google-file1_beta1/3.0.0+20220214/google_file1_beta1/api::ProjectLocationInstanceSnapshotPatchCall), [*locations list*](https://docs.rs/google-file1_beta1/3.0.0+20220214/google_file1_beta1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-file1_beta1/3.0.0+20220214/google_file1_beta1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-file1_beta1/3.0.0+20220214/google_file1_beta1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-file1_beta1/3.0.0+20220214/google_file1_beta1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-file1_beta1/3.0.0+20220214/google_file1_beta1/api::ProjectLocationOperationListCall) + * [*locations backups create*](https://docs.rs/google-file1_beta1/3.1.0+20220214/google_file1_beta1/api::ProjectLocationBackupCreateCall), [*locations backups delete*](https://docs.rs/google-file1_beta1/3.1.0+20220214/google_file1_beta1/api::ProjectLocationBackupDeleteCall), [*locations backups get*](https://docs.rs/google-file1_beta1/3.1.0+20220214/google_file1_beta1/api::ProjectLocationBackupGetCall), [*locations backups list*](https://docs.rs/google-file1_beta1/3.1.0+20220214/google_file1_beta1/api::ProjectLocationBackupListCall), [*locations backups patch*](https://docs.rs/google-file1_beta1/3.1.0+20220214/google_file1_beta1/api::ProjectLocationBackupPatchCall), [*locations get*](https://docs.rs/google-file1_beta1/3.1.0+20220214/google_file1_beta1/api::ProjectLocationGetCall), [*locations instances create*](https://docs.rs/google-file1_beta1/3.1.0+20220214/google_file1_beta1/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-file1_beta1/3.1.0+20220214/google_file1_beta1/api::ProjectLocationInstanceDeleteCall), [*locations instances get*](https://docs.rs/google-file1_beta1/3.1.0+20220214/google_file1_beta1/api::ProjectLocationInstanceGetCall), [*locations instances list*](https://docs.rs/google-file1_beta1/3.1.0+20220214/google_file1_beta1/api::ProjectLocationInstanceListCall), [*locations instances patch*](https://docs.rs/google-file1_beta1/3.1.0+20220214/google_file1_beta1/api::ProjectLocationInstancePatchCall), [*locations instances restore*](https://docs.rs/google-file1_beta1/3.1.0+20220214/google_file1_beta1/api::ProjectLocationInstanceRestoreCall), [*locations instances revert*](https://docs.rs/google-file1_beta1/3.1.0+20220214/google_file1_beta1/api::ProjectLocationInstanceRevertCall), [*locations instances snapshots create*](https://docs.rs/google-file1_beta1/3.1.0+20220214/google_file1_beta1/api::ProjectLocationInstanceSnapshotCreateCall), [*locations instances snapshots delete*](https://docs.rs/google-file1_beta1/3.1.0+20220214/google_file1_beta1/api::ProjectLocationInstanceSnapshotDeleteCall), [*locations instances snapshots get*](https://docs.rs/google-file1_beta1/3.1.0+20220214/google_file1_beta1/api::ProjectLocationInstanceSnapshotGetCall), [*locations instances snapshots list*](https://docs.rs/google-file1_beta1/3.1.0+20220214/google_file1_beta1/api::ProjectLocationInstanceSnapshotListCall), [*locations instances snapshots patch*](https://docs.rs/google-file1_beta1/3.1.0+20220214/google_file1_beta1/api::ProjectLocationInstanceSnapshotPatchCall), [*locations list*](https://docs.rs/google-file1_beta1/3.1.0+20220214/google_file1_beta1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-file1_beta1/3.1.0+20220214/google_file1_beta1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-file1_beta1/3.1.0+20220214/google_file1_beta1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-file1_beta1/3.1.0+20220214/google_file1_beta1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-file1_beta1/3.1.0+20220214/google_file1_beta1/api::ProjectLocationOperationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-file1_beta1/3.0.0+20220214/google_file1_beta1/CloudFilestore)** +* **[Hub](https://docs.rs/google-file1_beta1/3.1.0+20220214/google_file1_beta1/CloudFilestore)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-file1_beta1/3.0.0+20220214/google_file1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-file1_beta1/3.0.0+20220214/google_file1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-file1_beta1/3.0.0+20220214/google_file1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-file1_beta1/3.1.0+20220214/google_file1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-file1_beta1/3.1.0+20220214/google_file1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-file1_beta1/3.1.0+20220214/google_file1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-file1_beta1/3.0.0+20220214/google_file1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-file1_beta1/3.1.0+20220214/google_file1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-file1_beta1/3.0.0+20220214/google_file1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-file1_beta1/3.1.0+20220214/google_file1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -102,7 +102,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-file1_beta1/3.0.0+20220214/google_file1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-file1_beta1/3.1.0+20220214/google_file1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-file1_beta1/3.0.0+20220214/google_file1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-file1_beta1/3.1.0+20220214/google_file1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-file1_beta1/3.0.0+20220214/google_file1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-file1_beta1/3.1.0+20220214/google_file1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-file1_beta1/3.0.0+20220214/google_file1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-file1_beta1/3.1.0+20220214/google_file1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -156,29 +156,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-file1_beta1/3.0.0+20220214/google_file1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-file1_beta1/3.0.0+20220214/google_file1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-file1_beta1/3.1.0+20220214/google_file1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-file1_beta1/3.1.0+20220214/google_file1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-file1_beta1/3.0.0+20220214/google_file1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-file1_beta1/3.1.0+20220214/google_file1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-file1_beta1/3.0.0+20220214/google_file1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-file1_beta1/3.0.0+20220214/google_file1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-file1_beta1/3.1.0+20220214/google_file1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-file1_beta1/3.1.0+20220214/google_file1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-file1_beta1/3.0.0+20220214/google_file1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-file1_beta1/3.1.0+20220214/google_file1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-file1_beta1/3.0.0+20220214/google_file1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-file1_beta1/3.1.0+20220214/google_file1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-file1_beta1/3.0.0+20220214/google_file1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-file1_beta1/3.1.0+20220214/google_file1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/file1_beta1/src/api.rs b/gen/file1_beta1/src/api.rs index 9e9fd39bc4..b3408b5ee4 100644 --- a/gen/file1_beta1/src/api.rs +++ b/gen/file1_beta1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > CloudFilestore<> { CloudFilestore { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://file.googleapis.com/".to_string(), _root_url: "https://file.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > CloudFilestore<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -661,7 +661,7 @@ impl client::Part for Status {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_backups_create(...)`, `locations_backups_delete(...)`, `locations_backups_get(...)`, `locations_backups_list(...)`, `locations_backups_patch(...)`, `locations_get(...)`, `locations_instances_create(...)`, `locations_instances_delete(...)`, `locations_instances_get(...)`, `locations_instances_list(...)`, `locations_instances_patch(...)`, `locations_instances_restore(...)`, `locations_instances_revert(...)`, `locations_instances_snapshots_create(...)`, `locations_instances_snapshots_delete(...)`, `locations_instances_snapshots_get(...)`, `locations_instances_snapshots_list(...)`, `locations_instances_snapshots_patch(...)`, `locations_list(...)`, `locations_operations_cancel(...)`, `locations_operations_delete(...)`, `locations_operations_get(...)` and `locations_operations_list(...)` /// // to build up your call. @@ -1145,7 +1145,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1442,7 +1442,7 @@ impl<'a> ProjectLocationBackupCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1698,7 +1698,7 @@ impl<'a> ProjectLocationBackupDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1954,7 +1954,7 @@ impl<'a> ProjectLocationBackupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2259,7 +2259,7 @@ impl<'a> ProjectLocationBackupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2557,7 +2557,7 @@ impl<'a> ProjectLocationBackupPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2854,7 +2854,7 @@ impl<'a> ProjectLocationInstanceSnapshotCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3110,7 +3110,7 @@ impl<'a> ProjectLocationInstanceSnapshotDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3366,7 +3366,7 @@ impl<'a> ProjectLocationInstanceSnapshotGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3671,7 +3671,7 @@ impl<'a> ProjectLocationInstanceSnapshotListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3969,7 +3969,7 @@ impl<'a> ProjectLocationInstanceSnapshotPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4266,7 +4266,7 @@ impl<'a> ProjectLocationInstanceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4534,7 +4534,7 @@ impl<'a> ProjectLocationInstanceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4790,7 +4790,7 @@ impl<'a> ProjectLocationInstanceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5095,7 +5095,7 @@ impl<'a> ProjectLocationInstanceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5393,7 +5393,7 @@ impl<'a> ProjectLocationInstancePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5679,7 +5679,7 @@ impl<'a> ProjectLocationInstanceRestoreCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5965,7 +5965,7 @@ impl<'a> ProjectLocationInstanceRevertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6250,7 +6250,7 @@ impl<'a> ProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6506,7 +6506,7 @@ impl<'a> ProjectLocationOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6762,7 +6762,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7054,7 +7054,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7310,7 +7310,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/file1_beta1/src/lib.rs b/gen/file1_beta1/src/lib.rs index 89ee4813be..31ab383d2e 100644 --- a/gen/file1_beta1/src/lib.rs +++ b/gen/file1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Filestore* crate version *3.0.0+20220214*, where *20220214* is the exact revision of the *file:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Filestore* crate version *3.1.0+20220214*, where *20220214* is the exact revision of the *file:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Filestore* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/filestore/). @@ -103,7 +103,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudFilestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/firebase1_beta1-cli/Cargo.toml b/gen/firebase1_beta1-cli/Cargo.toml index 0bc87f1c2f..9d01341517 100644 --- a/gen/firebase1_beta1-cli/Cargo.toml +++ b/gen/firebase1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-firebase1_beta1-cli" -version = "3.0.0+20220304" +version = "3.1.0+20220304" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebase Management (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/firebase1_beta1-cli" @@ -20,12 +20,12 @@ name = "firebase1-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-firebase1_beta1] path = "../firebase1_beta1" -version = "3.0.0+20220304" +version = "3.1.0+20220304" diff --git a/gen/firebase1_beta1-cli/README.md b/gen/firebase1_beta1-cli/README.md index 37c5f0c88a..d3d455629f 100644 --- a/gen/firebase1_beta1-cli/README.md +++ b/gen/firebase1_beta1-cli/README.md @@ -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 *Firebase Management* API at revision *20220304*. The CLI is at version *3.0.0*. +This documentation was generated from the *Firebase Management* API at revision *20220304*. The CLI is at version *3.1.0*. ```bash firebase1-beta1 [options] diff --git a/gen/firebase1_beta1-cli/mkdocs.yml b/gen/firebase1_beta1-cli/mkdocs.yml index ecef0878c1..2675dd0b93 100644 --- a/gen/firebase1_beta1-cli/mkdocs.yml +++ b/gen/firebase1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Firebase Management v3.0.0+20220304 +site_name: Firebase Management v3.1.0+20220304 site_url: http://byron.github.io/google-apis-rs/google-firebase1_beta1-cli site_description: A complete library to interact with Firebase Management (protocol v1beta1) diff --git a/gen/firebase1_beta1-cli/src/main.rs b/gen/firebase1_beta1-cli/src/main.rs index 2d695b3907..8481c89c65 100644 --- a/gen/firebase1_beta1-cli/src/main.rs +++ b/gen/firebase1_beta1-cli/src/main.rs @@ -2321,7 +2321,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/firebase1-beta1", 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::FirebaseManagement::new(client, auth), @@ -3111,7 +3117,7 @@ async fn main() { let mut app = App::new("firebase1-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20220304") + .version("3.1.0+20220304") .about("The Firebase Management API enables programmatic setup and management of Firebase projects, including a project's Firebase resources and Firebase apps.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_firebase1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/firebase1_beta1/Cargo.toml b/gen/firebase1_beta1/Cargo.toml index 014974fd01..1944f5f1a1 100644 --- a/gen/firebase1_beta1/Cargo.toml +++ b/gen/firebase1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-firebase1_beta1" -version = "3.0.0+20220304" +version = "3.1.0+20220304" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebase Management (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/firebase1_beta1" homepage = "https://firebase.google.com" -documentation = "https://docs.rs/google-firebase1_beta1/3.0.0+20220304" +documentation = "https://docs.rs/google-firebase1_beta1/3.1.0+20220304" license = "MIT" keywords = ["firebase", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/firebase1_beta1/README.md b/gen/firebase1_beta1/README.md index 56dee5c8d5..2bbe4daad2 100644 --- a/gen/firebase1_beta1/README.md +++ b/gen/firebase1_beta1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-firebase1_beta1` library allows access to all features of the *Google Firebase Management* service. -This documentation was generated from *Firebase Management* crate version *3.0.0+20220304*, where *20220304* is the exact revision of the *firebase:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Firebase Management* crate version *3.1.0+20220304*, where *20220304* is the exact revision of the *firebase:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Firebase Management* *v1_beta1* API can be found at the [official documentation site](https://firebase.google.com). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/FirebaseManagement) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/FirebaseManagement) ... * available projects - * [*list*](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/api::AvailableProjectListCall) -* [operations](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/api::Operation) - * [*get*](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/api::OperationGetCall) + * [*list*](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/api::AvailableProjectListCall) +* [operations](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/api::Operation) + * [*get*](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/api::OperationGetCall) * projects - * [*add firebase*](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/api::ProjectAddFirebaseCall), [*add google analytics*](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/api::ProjectAddGoogleAnalyticCall), [*android apps create*](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/api::ProjectAndroidAppCreateCall), [*android apps get*](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/api::ProjectAndroidAppGetCall), [*android apps get config*](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/api::ProjectAndroidAppGetConfigCall), [*android apps list*](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/api::ProjectAndroidAppListCall), [*android apps patch*](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/api::ProjectAndroidAppPatchCall), [*android apps sha create*](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/api::ProjectAndroidAppShaCreateCall), [*android apps sha delete*](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/api::ProjectAndroidAppShaDeleteCall), [*android apps sha list*](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/api::ProjectAndroidAppShaListCall), [*available locations list*](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/api::ProjectAvailableLocationListCall), [*default location finalize*](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/api::ProjectDefaultLocationFinalizeCall), [*get*](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/api::ProjectGetCall), [*get admin sdk config*](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/api::ProjectGetAdminSdkConfigCall), [*get analytics details*](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/api::ProjectGetAnalyticsDetailCall), [*ios apps create*](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/api::ProjectIosAppCreateCall), [*ios apps get*](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/api::ProjectIosAppGetCall), [*ios apps get config*](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/api::ProjectIosAppGetConfigCall), [*ios apps list*](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/api::ProjectIosAppListCall), [*ios apps patch*](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/api::ProjectIosAppPatchCall), [*list*](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/api::ProjectListCall), [*patch*](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/api::ProjectPatchCall), [*remove analytics*](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/api::ProjectRemoveAnalyticCall), [*search apps*](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/api::ProjectSearchAppCall), [*web apps create*](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/api::ProjectWebAppCreateCall), [*web apps get*](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/api::ProjectWebAppGetCall), [*web apps get config*](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/api::ProjectWebAppGetConfigCall), [*web apps list*](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/api::ProjectWebAppListCall) and [*web apps patch*](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/api::ProjectWebAppPatchCall) + * [*add firebase*](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/api::ProjectAddFirebaseCall), [*add google analytics*](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/api::ProjectAddGoogleAnalyticCall), [*android apps create*](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/api::ProjectAndroidAppCreateCall), [*android apps get*](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/api::ProjectAndroidAppGetCall), [*android apps get config*](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/api::ProjectAndroidAppGetConfigCall), [*android apps list*](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/api::ProjectAndroidAppListCall), [*android apps patch*](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/api::ProjectAndroidAppPatchCall), [*android apps sha create*](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/api::ProjectAndroidAppShaCreateCall), [*android apps sha delete*](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/api::ProjectAndroidAppShaDeleteCall), [*android apps sha list*](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/api::ProjectAndroidAppShaListCall), [*available locations list*](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/api::ProjectAvailableLocationListCall), [*default location finalize*](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/api::ProjectDefaultLocationFinalizeCall), [*get*](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/api::ProjectGetCall), [*get admin sdk config*](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/api::ProjectGetAdminSdkConfigCall), [*get analytics details*](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/api::ProjectGetAnalyticsDetailCall), [*ios apps create*](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/api::ProjectIosAppCreateCall), [*ios apps get*](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/api::ProjectIosAppGetCall), [*ios apps get config*](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/api::ProjectIosAppGetConfigCall), [*ios apps list*](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/api::ProjectIosAppListCall), [*ios apps patch*](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/api::ProjectIosAppPatchCall), [*list*](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/api::ProjectListCall), [*patch*](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/api::ProjectPatchCall), [*remove analytics*](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/api::ProjectRemoveAnalyticCall), [*search apps*](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/api::ProjectSearchAppCall), [*web apps create*](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/api::ProjectWebAppCreateCall), [*web apps get*](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/api::ProjectWebAppGetCall), [*web apps get config*](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/api::ProjectWebAppGetConfigCall), [*web apps list*](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/api::ProjectWebAppListCall) and [*web apps patch*](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/api::ProjectWebAppPatchCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/FirebaseManagement)** +* **[Hub](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/FirebaseManagement)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -101,7 +101,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -154,29 +154,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-firebase1_beta1/3.0.0+20220304/google_firebase1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-firebase1_beta1/3.1.0+20220304/google_firebase1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/firebase1_beta1/src/api.rs b/gen/firebase1_beta1/src/api.rs index 731c55be56..c913046bd7 100644 --- a/gen/firebase1_beta1/src/api.rs +++ b/gen/firebase1_beta1/src/api.rs @@ -83,7 +83,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -131,7 +131,7 @@ impl<'a, > FirebaseManagement<> { FirebaseManagement { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://firebase.googleapis.com/".to_string(), _root_url: "https://firebase.googleapis.com/".to_string(), } @@ -148,7 +148,7 @@ impl<'a, > FirebaseManagement<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -947,7 +947,7 @@ impl client::ResponseResult for WebAppConfig {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -1002,7 +1002,7 @@ impl<'a> AvailableProjectMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -1060,7 +1060,7 @@ impl<'a> OperationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `add_firebase(...)`, `add_google_analytics(...)`, `android_apps_create(...)`, `android_apps_get(...)`, `android_apps_get_config(...)`, `android_apps_list(...)`, `android_apps_patch(...)`, `android_apps_sha_create(...)`, `android_apps_sha_delete(...)`, `android_apps_sha_list(...)`, `available_locations_list(...)`, `default_location_finalize(...)`, `get(...)`, `get_admin_sdk_config(...)`, `get_analytics_details(...)`, `ios_apps_create(...)`, `ios_apps_get(...)`, `ios_apps_get_config(...)`, `ios_apps_list(...)`, `ios_apps_patch(...)`, `list(...)`, `patch(...)`, `remove_analytics(...)`, `search_apps(...)`, `web_apps_create(...)`, `web_apps_get(...)`, `web_apps_get_config(...)`, `web_apps_list(...)` and `web_apps_patch(...)` /// // to build up your call. @@ -1637,7 +1637,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1880,7 +1880,7 @@ impl<'a> AvailableProjectListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2137,7 +2137,7 @@ impl<'a> OperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2422,7 +2422,7 @@ impl<'a> ProjectAndroidAppShaCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2678,7 +2678,7 @@ impl<'a> ProjectAndroidAppShaDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2935,7 +2935,7 @@ impl<'a> ProjectAndroidAppShaListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3220,7 +3220,7 @@ impl<'a> ProjectAndroidAppCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3476,7 +3476,7 @@ impl<'a> ProjectAndroidAppGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3732,7 +3732,7 @@ impl<'a> ProjectAndroidAppGetConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4013,7 +4013,7 @@ impl<'a> ProjectAndroidAppListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4310,7 +4310,7 @@ impl<'a> ProjectAndroidAppPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4591,7 +4591,7 @@ impl<'a> ProjectAvailableLocationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4877,7 +4877,7 @@ impl<'a> ProjectDefaultLocationFinalizeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5162,7 +5162,7 @@ impl<'a> ProjectIosAppCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5418,7 +5418,7 @@ impl<'a> ProjectIosAppGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5674,7 +5674,7 @@ impl<'a> ProjectIosAppGetConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5955,7 +5955,7 @@ impl<'a> ProjectIosAppListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6253,7 +6253,7 @@ impl<'a> ProjectIosAppPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6538,7 +6538,7 @@ impl<'a> ProjectWebAppCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6794,7 +6794,7 @@ impl<'a> ProjectWebAppGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7050,7 +7050,7 @@ impl<'a> ProjectWebAppGetConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7331,7 +7331,7 @@ impl<'a> ProjectWebAppListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7629,7 +7629,7 @@ impl<'a> ProjectWebAppPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7915,7 +7915,7 @@ impl<'a> ProjectAddFirebaseCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8200,7 +8200,7 @@ impl<'a> ProjectAddGoogleAnalyticCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8456,7 +8456,7 @@ impl<'a> ProjectGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8712,7 +8712,7 @@ impl<'a> ProjectGetAdminSdkConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8968,7 +8968,7 @@ impl<'a> ProjectGetAnalyticsDetailCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9212,7 +9212,7 @@ impl<'a> ProjectListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9510,7 +9510,7 @@ impl<'a> ProjectPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9795,7 +9795,7 @@ impl<'a> ProjectRemoveAnalyticCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/firebase1_beta1/src/lib.rs b/gen/firebase1_beta1/src/lib.rs index 2f239529ab..7d46e3cbc1 100644 --- a/gen/firebase1_beta1/src/lib.rs +++ b/gen/firebase1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Firebase Management* crate version *3.0.0+20220304*, where *20220304* is the exact revision of the *firebase:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Firebase Management* crate version *3.1.0+20220304*, where *20220304* is the exact revision of the *firebase:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Firebase Management* *v1_beta1* API can be found at the //! [official documentation site](https://firebase.google.com). @@ -102,7 +102,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = FirebaseManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/firebaseappcheck1_beta-cli/Cargo.toml b/gen/firebaseappcheck1_beta-cli/Cargo.toml index f64f9699a2..c897d7b906 100644 --- a/gen/firebaseappcheck1_beta-cli/Cargo.toml +++ b/gen/firebaseappcheck1_beta-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-firebaseappcheck1_beta-cli" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebaseappcheck (protocol v1beta)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/firebaseappcheck1_beta-cli" @@ -20,12 +20,12 @@ name = "firebaseappcheck1-beta" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-firebaseappcheck1_beta] path = "../firebaseappcheck1_beta" -version = "3.0.0+20220225" +version = "3.1.0+20220225" diff --git a/gen/firebaseappcheck1_beta-cli/README.md b/gen/firebaseappcheck1_beta-cli/README.md index 491f39dc0e..5e5a92f5f9 100644 --- a/gen/firebaseappcheck1_beta-cli/README.md +++ b/gen/firebaseappcheck1_beta-cli/README.md @@ -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 *Firebaseappcheck* API at revision *20220225*. The CLI is at version *3.0.0*. +This documentation was generated from the *Firebaseappcheck* API at revision *20220225*. The CLI is at version *3.1.0*. ```bash firebaseappcheck1-beta [options] diff --git a/gen/firebaseappcheck1_beta-cli/mkdocs.yml b/gen/firebaseappcheck1_beta-cli/mkdocs.yml index 14540222fd..fef32e9cd1 100644 --- a/gen/firebaseappcheck1_beta-cli/mkdocs.yml +++ b/gen/firebaseappcheck1_beta-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Firebaseappcheck v3.0.0+20220225 +site_name: Firebaseappcheck v3.1.0+20220225 site_url: http://byron.github.io/google-apis-rs/google-firebaseappcheck1_beta-cli site_description: A complete library to interact with Firebaseappcheck (protocol v1beta) diff --git a/gen/firebaseappcheck1_beta-cli/src/main.rs b/gen/firebaseappcheck1_beta-cli/src/main.rs index 7daaec337b..bd4094aea7 100644 --- a/gen/firebaseappcheck1_beta-cli/src/main.rs +++ b/gen/firebaseappcheck1_beta-cli/src/main.rs @@ -2642,7 +2642,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/firebaseappcheck1-beta", 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::Firebaseappcheck::new(client, auth), @@ -3543,7 +3549,7 @@ async fn main() { let mut app = App::new("firebaseappcheck1-beta") .author("Sebastian Thiel ") - .version("3.0.0+20220225") + .version("3.1.0+20220225") .about("Firebase App Check works alongside other Firebase services to help protect your backend resources from abuse, such as billing fraud or phishing.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_firebaseappcheck1_beta_cli") .arg(Arg::with_name("url") diff --git a/gen/firebaseappcheck1_beta/Cargo.toml b/gen/firebaseappcheck1_beta/Cargo.toml index a4e4674b8f..a61d41e37f 100644 --- a/gen/firebaseappcheck1_beta/Cargo.toml +++ b/gen/firebaseappcheck1_beta/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-firebaseappcheck1_beta" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebaseappcheck (protocol v1beta)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/firebaseappcheck1_beta" homepage = "https://firebase.google.com/docs/app-check" -documentation = "https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225" +documentation = "https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225" license = "MIT" keywords = ["firebaseappcheck", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/firebaseappcheck1_beta/README.md b/gen/firebaseappcheck1_beta/README.md index 52b39923e2..489e138e87 100644 --- a/gen/firebaseappcheck1_beta/README.md +++ b/gen/firebaseappcheck1_beta/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-firebaseappcheck1_beta` library allows access to all features of the *Google Firebaseappcheck* service. -This documentation was generated from *Firebaseappcheck* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *firebaseappcheck:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Firebaseappcheck* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *firebaseappcheck:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Firebaseappcheck* *v1_beta* API can be found at the [official documentation site](https://firebase.google.com/docs/app-check). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/Firebaseappcheck) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/Firebaseappcheck) ... * jwks - * [*get*](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/api::JwkGetCall) + * [*get*](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/api::JwkGetCall) * projects - * [*apps app attest config batch get*](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppAppAttestConfigBatchGetCall), [*apps app attest config get*](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppAppAttestConfigGetCall), [*apps app attest config patch*](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppAppAttestConfigPatchCall), [*apps debug tokens create*](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppDebugTokenCreateCall), [*apps debug tokens delete*](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppDebugTokenDeleteCall), [*apps debug tokens get*](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppDebugTokenGetCall), [*apps debug tokens list*](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppDebugTokenListCall), [*apps debug tokens patch*](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppDebugTokenPatchCall), [*apps device check config batch get*](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppDeviceCheckConfigBatchGetCall), [*apps device check config get*](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppDeviceCheckConfigGetCall), [*apps device check config patch*](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppDeviceCheckConfigPatchCall), [*apps exchange app attest assertion*](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppExchangeAppAttestAssertionCall), [*apps exchange app attest attestation*](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppExchangeAppAttestAttestationCall), [*apps exchange custom token*](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppExchangeCustomTokenCall), [*apps exchange debug token*](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppExchangeDebugTokenCall), [*apps exchange device check token*](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppExchangeDeviceCheckTokenCall), [*apps exchange recaptcha enterprise token*](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppExchangeRecaptchaEnterpriseTokenCall), [*apps exchange recaptcha token*](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppExchangeRecaptchaTokenCall), [*apps exchange safety net token*](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppExchangeSafetyNetTokenCall), [*apps generate app attest challenge*](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppGenerateAppAttestChallengeCall), [*apps recaptcha config batch get*](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppRecaptchaConfigBatchGetCall), [*apps recaptcha config get*](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppRecaptchaConfigGetCall), [*apps recaptcha config patch*](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppRecaptchaConfigPatchCall), [*apps recaptcha enterprise config batch get*](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppRecaptchaEnterpriseConfigBatchGetCall), [*apps recaptcha enterprise config get*](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppRecaptchaEnterpriseConfigGetCall), [*apps recaptcha enterprise config patch*](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppRecaptchaEnterpriseConfigPatchCall), [*apps safety net config batch get*](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppSafetyNetConfigBatchGetCall), [*apps safety net config get*](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppSafetyNetConfigGetCall), [*apps safety net config patch*](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppSafetyNetConfigPatchCall), [*services batch update*](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/api::ProjectServiceBatchUpdateCall), [*services get*](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/api::ProjectServiceGetCall), [*services list*](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/api::ProjectServiceListCall) and [*services patch*](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/api::ProjectServicePatchCall) + * [*apps app attest config batch get*](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppAppAttestConfigBatchGetCall), [*apps app attest config get*](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppAppAttestConfigGetCall), [*apps app attest config patch*](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppAppAttestConfigPatchCall), [*apps debug tokens create*](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppDebugTokenCreateCall), [*apps debug tokens delete*](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppDebugTokenDeleteCall), [*apps debug tokens get*](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppDebugTokenGetCall), [*apps debug tokens list*](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppDebugTokenListCall), [*apps debug tokens patch*](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppDebugTokenPatchCall), [*apps device check config batch get*](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppDeviceCheckConfigBatchGetCall), [*apps device check config get*](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppDeviceCheckConfigGetCall), [*apps device check config patch*](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppDeviceCheckConfigPatchCall), [*apps exchange app attest assertion*](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppExchangeAppAttestAssertionCall), [*apps exchange app attest attestation*](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppExchangeAppAttestAttestationCall), [*apps exchange custom token*](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppExchangeCustomTokenCall), [*apps exchange debug token*](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppExchangeDebugTokenCall), [*apps exchange device check token*](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppExchangeDeviceCheckTokenCall), [*apps exchange recaptcha enterprise token*](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppExchangeRecaptchaEnterpriseTokenCall), [*apps exchange recaptcha token*](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppExchangeRecaptchaTokenCall), [*apps exchange safety net token*](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppExchangeSafetyNetTokenCall), [*apps generate app attest challenge*](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppGenerateAppAttestChallengeCall), [*apps recaptcha config batch get*](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppRecaptchaConfigBatchGetCall), [*apps recaptcha config get*](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppRecaptchaConfigGetCall), [*apps recaptcha config patch*](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppRecaptchaConfigPatchCall), [*apps recaptcha enterprise config batch get*](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppRecaptchaEnterpriseConfigBatchGetCall), [*apps recaptcha enterprise config get*](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppRecaptchaEnterpriseConfigGetCall), [*apps recaptcha enterprise config patch*](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppRecaptchaEnterpriseConfigPatchCall), [*apps safety net config batch get*](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppSafetyNetConfigBatchGetCall), [*apps safety net config get*](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppSafetyNetConfigGetCall), [*apps safety net config patch*](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/api::ProjectAppSafetyNetConfigPatchCall), [*services batch update*](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/api::ProjectServiceBatchUpdateCall), [*services get*](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/api::ProjectServiceGetCall), [*services list*](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/api::ProjectServiceListCall) and [*services patch*](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/api::ProjectServicePatchCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/Firebaseappcheck)** +* **[Hub](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/Firebaseappcheck)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/client::CallBuilder) -* **[Resources](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/client::CallBuilder) +* **[Resources](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/client::Part)** + * **[Parts](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/client::CallBuilder)** +* **[Activities](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -99,7 +99,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -152,29 +152,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/client::Delegate) to the -[Method Builder](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/client::Delegate) to the +[Method Builder](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/client::RequestValue) and -[decodable](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/client::RequestValue) and +[decodable](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-firebaseappcheck1_beta/3.0.0+20220225/google_firebaseappcheck1_beta/client::RequestValue) are moved +* [request values](https://docs.rs/google-firebaseappcheck1_beta/3.1.0+20220225/google_firebaseappcheck1_beta/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/firebaseappcheck1_beta/src/api.rs b/gen/firebaseappcheck1_beta/src/api.rs index f57cedce7d..d0035c5911 100644 --- a/gen/firebaseappcheck1_beta/src/api.rs +++ b/gen/firebaseappcheck1_beta/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -123,7 +123,7 @@ impl<'a, > Firebaseappcheck<> { Firebaseappcheck { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://firebaseappcheck.googleapis.com/".to_string(), _root_url: "https://firebaseappcheck.googleapis.com/".to_string(), } @@ -137,7 +137,7 @@ impl<'a, > Firebaseappcheck<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -861,7 +861,7 @@ impl client::ResponseResult for GoogleProtobufEmpty {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -919,7 +919,7 @@ impl<'a> JwkMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `apps_app_attest_config_batch_get(...)`, `apps_app_attest_config_get(...)`, `apps_app_attest_config_patch(...)`, `apps_debug_tokens_create(...)`, `apps_debug_tokens_delete(...)`, `apps_debug_tokens_get(...)`, `apps_debug_tokens_list(...)`, `apps_debug_tokens_patch(...)`, `apps_device_check_config_batch_get(...)`, `apps_device_check_config_get(...)`, `apps_device_check_config_patch(...)`, `apps_exchange_app_attest_assertion(...)`, `apps_exchange_app_attest_attestation(...)`, `apps_exchange_custom_token(...)`, `apps_exchange_debug_token(...)`, `apps_exchange_device_check_token(...)`, `apps_exchange_recaptcha_enterprise_token(...)`, `apps_exchange_recaptcha_token(...)`, `apps_exchange_safety_net_token(...)`, `apps_generate_app_attest_challenge(...)`, `apps_recaptcha_config_batch_get(...)`, `apps_recaptcha_config_get(...)`, `apps_recaptcha_config_patch(...)`, `apps_recaptcha_enterprise_config_batch_get(...)`, `apps_recaptcha_enterprise_config_get(...)`, `apps_recaptcha_enterprise_config_patch(...)`, `apps_safety_net_config_batch_get(...)`, `apps_safety_net_config_get(...)`, `apps_safety_net_config_patch(...)`, `services_batch_update(...)`, `services_get(...)`, `services_list(...)` and `services_patch(...)` /// // to build up your call. @@ -1580,7 +1580,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1836,7 +1836,7 @@ impl<'a> JwkGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2107,7 +2107,7 @@ impl<'a> ProjectAppAppAttestConfigBatchGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2364,7 +2364,7 @@ impl<'a> ProjectAppAppAttestConfigGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2662,7 +2662,7 @@ impl<'a> ProjectAppAppAttestConfigPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2947,7 +2947,7 @@ impl<'a> ProjectAppDebugTokenCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3203,7 +3203,7 @@ impl<'a> ProjectAppDebugTokenDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3459,7 +3459,7 @@ impl<'a> ProjectAppDebugTokenGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3740,7 +3740,7 @@ impl<'a> ProjectAppDebugTokenListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4037,7 +4037,7 @@ impl<'a> ProjectAppDebugTokenPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4308,7 +4308,7 @@ impl<'a> ProjectAppDeviceCheckConfigBatchGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4565,7 +4565,7 @@ impl<'a> ProjectAppDeviceCheckConfigGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4862,7 +4862,7 @@ impl<'a> ProjectAppDeviceCheckConfigPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5133,7 +5133,7 @@ impl<'a> ProjectAppRecaptchaConfigBatchGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5390,7 +5390,7 @@ impl<'a> ProjectAppRecaptchaConfigGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5687,7 +5687,7 @@ impl<'a> ProjectAppRecaptchaConfigPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5958,7 +5958,7 @@ impl<'a> ProjectAppRecaptchaEnterpriseConfigBatchGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6215,7 +6215,7 @@ impl<'a> ProjectAppRecaptchaEnterpriseConfigGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6512,7 +6512,7 @@ impl<'a> ProjectAppRecaptchaEnterpriseConfigPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6783,7 +6783,7 @@ impl<'a> ProjectAppSafetyNetConfigBatchGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7040,7 +7040,7 @@ impl<'a> ProjectAppSafetyNetConfigGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7338,7 +7338,7 @@ impl<'a> ProjectAppSafetyNetConfigPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7624,7 +7624,7 @@ impl<'a> ProjectAppExchangeAppAttestAssertionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7910,7 +7910,7 @@ impl<'a> ProjectAppExchangeAppAttestAttestationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8196,7 +8196,7 @@ impl<'a> ProjectAppExchangeCustomTokenCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8482,7 +8482,7 @@ impl<'a> ProjectAppExchangeDebugTokenCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8768,7 +8768,7 @@ impl<'a> ProjectAppExchangeDeviceCheckTokenCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9054,7 +9054,7 @@ impl<'a> ProjectAppExchangeRecaptchaEnterpriseTokenCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9340,7 +9340,7 @@ impl<'a> ProjectAppExchangeRecaptchaTokenCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9626,7 +9626,7 @@ impl<'a> ProjectAppExchangeSafetyNetTokenCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9912,7 +9912,7 @@ impl<'a> ProjectAppGenerateAppAttestChallengeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10197,7 +10197,7 @@ impl<'a> ProjectServiceBatchUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10453,7 +10453,7 @@ impl<'a> ProjectServiceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10734,7 +10734,7 @@ impl<'a> ProjectServiceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/firebaseappcheck1_beta/src/lib.rs b/gen/firebaseappcheck1_beta/src/lib.rs index d232953118..e637f89918 100644 --- a/gen/firebaseappcheck1_beta/src/lib.rs +++ b/gen/firebaseappcheck1_beta/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Firebaseappcheck* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *firebaseappcheck:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Firebaseappcheck* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *firebaseappcheck:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Firebaseappcheck* *v1_beta* API can be found at the //! [official documentation site](https://firebase.google.com/docs/app-check). @@ -100,7 +100,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Firebaseappcheck::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/firebasedatabase1_beta-cli/Cargo.toml b/gen/firebasedatabase1_beta-cli/Cargo.toml index 71b68ce018..fb35592957 100644 --- a/gen/firebasedatabase1_beta-cli/Cargo.toml +++ b/gen/firebasedatabase1_beta-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-firebasedatabase1_beta-cli" -version = "3.0.0+20220304" +version = "3.1.0+20220304" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebase Realtime Database (protocol v1beta)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/firebasedatabase1_beta-cli" @@ -20,12 +20,12 @@ name = "firebasedatabase1-beta" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-firebasedatabase1_beta] path = "../firebasedatabase1_beta" -version = "3.0.0+20220304" +version = "3.1.0+20220304" diff --git a/gen/firebasedatabase1_beta-cli/README.md b/gen/firebasedatabase1_beta-cli/README.md index 41f88265a9..987f2000a9 100644 --- a/gen/firebasedatabase1_beta-cli/README.md +++ b/gen/firebasedatabase1_beta-cli/README.md @@ -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 *Firebase Realtime Database* API at revision *20220304*. The CLI is at version *3.0.0*. +This documentation was generated from the *Firebase Realtime Database* API at revision *20220304*. The CLI is at version *3.1.0*. ```bash firebasedatabase1-beta [options] diff --git a/gen/firebasedatabase1_beta-cli/mkdocs.yml b/gen/firebasedatabase1_beta-cli/mkdocs.yml index 24ca952b8b..fe411ca7d5 100644 --- a/gen/firebasedatabase1_beta-cli/mkdocs.yml +++ b/gen/firebasedatabase1_beta-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Firebase Realtime Database v3.0.0+20220304 +site_name: Firebase Realtime Database v3.1.0+20220304 site_url: http://byron.github.io/google-apis-rs/google-firebasedatabase1_beta-cli site_description: A complete library to interact with Firebase Realtime Database (protocol v1beta) diff --git a/gen/firebasedatabase1_beta-cli/src/main.rs b/gen/firebasedatabase1_beta-cli/src/main.rs index ffe27e1c1d..c1ddbdbaea 100644 --- a/gen/firebasedatabase1_beta-cli/src/main.rs +++ b/gen/firebasedatabase1_beta-cli/src/main.rs @@ -534,7 +534,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/firebasedatabase1-beta", 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::FirebaseRealtimeDatabase::new(client, auth), @@ -726,7 +732,7 @@ async fn main() { let mut app = App::new("firebasedatabase1-beta") .author("Sebastian Thiel ") - .version("3.0.0+20220304") + .version("3.1.0+20220304") .about("The Firebase Realtime Database Management API enables programmatic provisioning and management of Realtime Database instances.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_firebasedatabase1_beta_cli") .arg(Arg::with_name("url") diff --git a/gen/firebasedatabase1_beta/Cargo.toml b/gen/firebasedatabase1_beta/Cargo.toml index c829860f55..d27f1a1ba9 100644 --- a/gen/firebasedatabase1_beta/Cargo.toml +++ b/gen/firebasedatabase1_beta/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-firebasedatabase1_beta" -version = "3.0.0+20220304" +version = "3.1.0+20220304" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebase Realtime Database (protocol v1beta)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/firebasedatabase1_beta" homepage = "https://firebase.google.com/docs/reference/rest/database/database-management/rest/" -documentation = "https://docs.rs/google-firebasedatabase1_beta/3.0.0+20220304" +documentation = "https://docs.rs/google-firebasedatabase1_beta/3.1.0+20220304" license = "MIT" keywords = ["firebasedatabase", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/firebasedatabase1_beta/README.md b/gen/firebasedatabase1_beta/README.md index ba94d4fba9..abc5c98910 100644 --- a/gen/firebasedatabase1_beta/README.md +++ b/gen/firebasedatabase1_beta/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-firebasedatabase1_beta` library allows access to all features of the *Google Firebase Realtime Database* service. -This documentation was generated from *Firebase Realtime Database* crate version *3.0.0+20220304*, where *20220304* is the exact revision of the *firebasedatabase:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Firebase Realtime Database* crate version *3.1.0+20220304*, where *20220304* is the exact revision of the *firebasedatabase:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Firebase Realtime Database* *v1_beta* API can be found at the [official documentation site](https://firebase.google.com/docs/reference/rest/database/database-management/rest/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebasedatabase1_beta/3.0.0+20220304/google_firebasedatabase1_beta/FirebaseRealtimeDatabase) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebasedatabase1_beta/3.1.0+20220304/google_firebasedatabase1_beta/FirebaseRealtimeDatabase) ... * projects - * [*locations instances create*](https://docs.rs/google-firebasedatabase1_beta/3.0.0+20220304/google_firebasedatabase1_beta/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-firebasedatabase1_beta/3.0.0+20220304/google_firebasedatabase1_beta/api::ProjectLocationInstanceDeleteCall), [*locations instances disable*](https://docs.rs/google-firebasedatabase1_beta/3.0.0+20220304/google_firebasedatabase1_beta/api::ProjectLocationInstanceDisableCall), [*locations instances get*](https://docs.rs/google-firebasedatabase1_beta/3.0.0+20220304/google_firebasedatabase1_beta/api::ProjectLocationInstanceGetCall), [*locations instances list*](https://docs.rs/google-firebasedatabase1_beta/3.0.0+20220304/google_firebasedatabase1_beta/api::ProjectLocationInstanceListCall) and [*locations instances reenable*](https://docs.rs/google-firebasedatabase1_beta/3.0.0+20220304/google_firebasedatabase1_beta/api::ProjectLocationInstanceReenableCall) + * [*locations instances create*](https://docs.rs/google-firebasedatabase1_beta/3.1.0+20220304/google_firebasedatabase1_beta/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-firebasedatabase1_beta/3.1.0+20220304/google_firebasedatabase1_beta/api::ProjectLocationInstanceDeleteCall), [*locations instances disable*](https://docs.rs/google-firebasedatabase1_beta/3.1.0+20220304/google_firebasedatabase1_beta/api::ProjectLocationInstanceDisableCall), [*locations instances get*](https://docs.rs/google-firebasedatabase1_beta/3.1.0+20220304/google_firebasedatabase1_beta/api::ProjectLocationInstanceGetCall), [*locations instances list*](https://docs.rs/google-firebasedatabase1_beta/3.1.0+20220304/google_firebasedatabase1_beta/api::ProjectLocationInstanceListCall) and [*locations instances reenable*](https://docs.rs/google-firebasedatabase1_beta/3.1.0+20220304/google_firebasedatabase1_beta/api::ProjectLocationInstanceReenableCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-firebasedatabase1_beta/3.0.0+20220304/google_firebasedatabase1_beta/FirebaseRealtimeDatabase)** +* **[Hub](https://docs.rs/google-firebasedatabase1_beta/3.1.0+20220304/google_firebasedatabase1_beta/FirebaseRealtimeDatabase)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-firebasedatabase1_beta/3.0.0+20220304/google_firebasedatabase1_beta/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-firebasedatabase1_beta/3.0.0+20220304/google_firebasedatabase1_beta/client::CallBuilder) -* **[Resources](https://docs.rs/google-firebasedatabase1_beta/3.0.0+20220304/google_firebasedatabase1_beta/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-firebasedatabase1_beta/3.1.0+20220304/google_firebasedatabase1_beta/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-firebasedatabase1_beta/3.1.0+20220304/google_firebasedatabase1_beta/client::CallBuilder) +* **[Resources](https://docs.rs/google-firebasedatabase1_beta/3.1.0+20220304/google_firebasedatabase1_beta/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-firebasedatabase1_beta/3.0.0+20220304/google_firebasedatabase1_beta/client::Part)** + * **[Parts](https://docs.rs/google-firebasedatabase1_beta/3.1.0+20220304/google_firebasedatabase1_beta/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-firebasedatabase1_beta/3.0.0+20220304/google_firebasedatabase1_beta/client::CallBuilder)** +* **[Activities](https://docs.rs/google-firebasedatabase1_beta/3.1.0+20220304/google_firebasedatabase1_beta/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -95,7 +95,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = FirebaseRealtimeDatabase::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = FirebaseRealtimeDatabase::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -130,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-firebasedatabase1_beta/3.0.0+20220304/google_firebasedatabase1_beta/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-firebasedatabase1_beta/3.1.0+20220304/google_firebasedatabase1_beta/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-firebasedatabase1_beta/3.0.0+20220304/google_firebasedatabase1_beta/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-firebasedatabase1_beta/3.1.0+20220304/google_firebasedatabase1_beta/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-firebasedatabase1_beta/3.0.0+20220304/google_firebasedatabase1_beta/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-firebasedatabase1_beta/3.1.0+20220304/google_firebasedatabase1_beta/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-firebasedatabase1_beta/3.0.0+20220304/google_firebasedatabase1_beta/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-firebasedatabase1_beta/3.1.0+20220304/google_firebasedatabase1_beta/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -150,29 +150,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-firebasedatabase1_beta/3.0.0+20220304/google_firebasedatabase1_beta/client::Delegate) to the -[Method Builder](https://docs.rs/google-firebasedatabase1_beta/3.0.0+20220304/google_firebasedatabase1_beta/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-firebasedatabase1_beta/3.1.0+20220304/google_firebasedatabase1_beta/client::Delegate) to the +[Method Builder](https://docs.rs/google-firebasedatabase1_beta/3.1.0+20220304/google_firebasedatabase1_beta/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-firebasedatabase1_beta/3.0.0+20220304/google_firebasedatabase1_beta/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-firebasedatabase1_beta/3.1.0+20220304/google_firebasedatabase1_beta/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-firebasedatabase1_beta/3.0.0+20220304/google_firebasedatabase1_beta/client::RequestValue) and -[decodable](https://docs.rs/google-firebasedatabase1_beta/3.0.0+20220304/google_firebasedatabase1_beta/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-firebasedatabase1_beta/3.1.0+20220304/google_firebasedatabase1_beta/client::RequestValue) and +[decodable](https://docs.rs/google-firebasedatabase1_beta/3.1.0+20220304/google_firebasedatabase1_beta/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-firebasedatabase1_beta/3.0.0+20220304/google_firebasedatabase1_beta/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-firebasedatabase1_beta/3.1.0+20220304/google_firebasedatabase1_beta/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-firebasedatabase1_beta/3.0.0+20220304/google_firebasedatabase1_beta/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-firebasedatabase1_beta/3.1.0+20220304/google_firebasedatabase1_beta/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-firebasedatabase1_beta/3.0.0+20220304/google_firebasedatabase1_beta/client::RequestValue) are moved +* [request values](https://docs.rs/google-firebasedatabase1_beta/3.1.0+20220304/google_firebasedatabase1_beta/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/firebasedatabase1_beta/src/api.rs b/gen/firebasedatabase1_beta/src/api.rs index 3e329f311d..6f09f21915 100644 --- a/gen/firebasedatabase1_beta/src/api.rs +++ b/gen/firebasedatabase1_beta/src/api.rs @@ -83,7 +83,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = FirebaseRealtimeDatabase::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = FirebaseRealtimeDatabase::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -133,7 +133,7 @@ impl<'a, > FirebaseRealtimeDatabase<> { FirebaseRealtimeDatabase { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://firebasedatabase.googleapis.com/".to_string(), _root_url: "https://firebasedatabase.googleapis.com/".to_string(), } @@ -144,7 +144,7 @@ impl<'a, > FirebaseRealtimeDatabase<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -282,7 +282,7 @@ impl client::RequestValue for ReenableDatabaseInstanceRequest {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = FirebaseRealtimeDatabase::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = FirebaseRealtimeDatabase::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_instances_create(...)`, `locations_instances_delete(...)`, `locations_instances_disable(...)`, `locations_instances_get(...)`, `locations_instances_list(...)` and `locations_instances_reenable(...)` /// // to build up your call. @@ -443,7 +443,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseRealtimeDatabase::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseRealtimeDatabase::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -752,7 +752,7 @@ impl<'a> ProjectLocationInstanceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseRealtimeDatabase::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseRealtimeDatabase::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1009,7 +1009,7 @@ impl<'a> ProjectLocationInstanceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseRealtimeDatabase::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseRealtimeDatabase::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1294,7 +1294,7 @@ impl<'a> ProjectLocationInstanceDisableCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseRealtimeDatabase::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseRealtimeDatabase::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1550,7 +1550,7 @@ impl<'a> ProjectLocationInstanceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseRealtimeDatabase::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseRealtimeDatabase::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1831,7 +1831,7 @@ impl<'a> ProjectLocationInstanceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseRealtimeDatabase::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseRealtimeDatabase::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/firebasedatabase1_beta/src/lib.rs b/gen/firebasedatabase1_beta/src/lib.rs index 1c6f325100..eaa38b4f0e 100644 --- a/gen/firebasedatabase1_beta/src/lib.rs +++ b/gen/firebasedatabase1_beta/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Firebase Realtime Database* crate version *3.0.0+20220304*, where *20220304* is the exact revision of the *firebasedatabase:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Firebase Realtime Database* crate version *3.1.0+20220304*, where *20220304* is the exact revision of the *firebasedatabase:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Firebase Realtime Database* *v1_beta* API can be found at the //! [official documentation site](https://firebase.google.com/docs/reference/rest/database/database-management/rest/). @@ -96,7 +96,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = FirebaseRealtimeDatabase::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = FirebaseRealtimeDatabase::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/firebasedynamiclinks1-cli/Cargo.toml b/gen/firebasedynamiclinks1-cli/Cargo.toml index dc427a3515..747bd0bcc6 100644 --- a/gen/firebasedynamiclinks1-cli/Cargo.toml +++ b/gen/firebasedynamiclinks1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-firebasedynamiclinks1-cli" -version = "3.0.0+20220228" +version = "3.1.0+20220228" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebase Dynamic Links (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/firebasedynamiclinks1-cli" @@ -20,12 +20,12 @@ name = "firebasedynamiclinks1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-firebasedynamiclinks1] path = "../firebasedynamiclinks1" -version = "3.0.0+20220228" +version = "3.1.0+20220228" diff --git a/gen/firebasedynamiclinks1-cli/README.md b/gen/firebasedynamiclinks1-cli/README.md index 6946960f72..a43e54a57d 100644 --- a/gen/firebasedynamiclinks1-cli/README.md +++ b/gen/firebasedynamiclinks1-cli/README.md @@ -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 *Firebase Dynamic Links* API at revision *20220228*. The CLI is at version *3.0.0*. +This documentation was generated from the *Firebase Dynamic Links* API at revision *20220228*. The CLI is at version *3.1.0*. ```bash firebasedynamiclinks1 [options] diff --git a/gen/firebasedynamiclinks1-cli/mkdocs.yml b/gen/firebasedynamiclinks1-cli/mkdocs.yml index 4c81962673..e02d75cd2b 100644 --- a/gen/firebasedynamiclinks1-cli/mkdocs.yml +++ b/gen/firebasedynamiclinks1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Firebase Dynamic Links v3.0.0+20220228 +site_name: Firebase Dynamic Links v3.1.0+20220228 site_url: http://byron.github.io/google-apis-rs/google-firebasedynamiclinks1-cli site_description: A complete library to interact with Firebase Dynamic Links (protocol v1) diff --git a/gen/firebasedynamiclinks1-cli/src/main.rs b/gen/firebasedynamiclinks1-cli/src/main.rs index 29761b2f8b..d9fe59d220 100644 --- a/gen/firebasedynamiclinks1-cli/src/main.rs +++ b/gen/firebasedynamiclinks1-cli/src/main.rs @@ -599,7 +599,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/firebasedynamiclinks1", 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::FirebaseDynamicLinks::new(client, auth), @@ -757,7 +763,7 @@ async fn main() { let mut app = App::new("firebasedynamiclinks1") .author("Sebastian Thiel ") - .version("3.0.0+20220228") + .version("3.1.0+20220228") .about("Programmatically creates and manages Firebase Dynamic Links.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_firebasedynamiclinks1_cli") .arg(Arg::with_name("url") diff --git a/gen/firebasedynamiclinks1/Cargo.toml b/gen/firebasedynamiclinks1/Cargo.toml index 21b82f62f2..5ab78ce128 100644 --- a/gen/firebasedynamiclinks1/Cargo.toml +++ b/gen/firebasedynamiclinks1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-firebasedynamiclinks1" -version = "3.0.0+20220228" +version = "3.1.0+20220228" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebase Dynamic Links (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/firebasedynamiclinks1" homepage = "https://firebase.google.com/docs/dynamic-links/" -documentation = "https://docs.rs/google-firebasedynamiclinks1/3.0.0+20220228" +documentation = "https://docs.rs/google-firebasedynamiclinks1/3.1.0+20220228" license = "MIT" keywords = ["firebasedynamiclinks", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/firebasedynamiclinks1/README.md b/gen/firebasedynamiclinks1/README.md index f8d4a0d696..ddd50978b1 100644 --- a/gen/firebasedynamiclinks1/README.md +++ b/gen/firebasedynamiclinks1/README.md @@ -5,24 +5,24 @@ DO NOT EDIT ! --> The `google-firebasedynamiclinks1` library allows access to all features of the *Google Firebase Dynamic Links* service. -This documentation was generated from *Firebase Dynamic Links* crate version *3.0.0+20220228*, where *20220228* is the exact revision of the *firebasedynamiclinks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Firebase Dynamic Links* crate version *3.1.0+20220228*, where *20220228* is the exact revision of the *firebasedynamiclinks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Firebase Dynamic Links* *v1* API can be found at the [official documentation site](https://firebase.google.com/docs/dynamic-links/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebasedynamiclinks1/3.0.0+20220228/google_firebasedynamiclinks1/FirebaseDynamicLinks) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebasedynamiclinks1/3.1.0+20220228/google_firebasedynamiclinks1/FirebaseDynamicLinks) ... -* [managed short links](https://docs.rs/google-firebasedynamiclinks1/3.0.0+20220228/google_firebasedynamiclinks1/api::ManagedShortLink) - * [*create*](https://docs.rs/google-firebasedynamiclinks1/3.0.0+20220228/google_firebasedynamiclinks1/api::ManagedShortLinkCreateCall) +* [managed short links](https://docs.rs/google-firebasedynamiclinks1/3.1.0+20220228/google_firebasedynamiclinks1/api::ManagedShortLink) + * [*create*](https://docs.rs/google-firebasedynamiclinks1/3.1.0+20220228/google_firebasedynamiclinks1/api::ManagedShortLinkCreateCall) * short links - * [*create*](https://docs.rs/google-firebasedynamiclinks1/3.0.0+20220228/google_firebasedynamiclinks1/api::ShortLinkCreateCall) + * [*create*](https://docs.rs/google-firebasedynamiclinks1/3.1.0+20220228/google_firebasedynamiclinks1/api::ShortLinkCreateCall) Other activities are ... -* [get link stats](https://docs.rs/google-firebasedynamiclinks1/3.0.0+20220228/google_firebasedynamiclinks1/api::MethodGetLinkStatCall) -* [install attribution](https://docs.rs/google-firebasedynamiclinks1/3.0.0+20220228/google_firebasedynamiclinks1/api::MethodInstallAttributionCall) -* [reopen attribution](https://docs.rs/google-firebasedynamiclinks1/3.0.0+20220228/google_firebasedynamiclinks1/api::MethodReopenAttributionCall) +* [get link stats](https://docs.rs/google-firebasedynamiclinks1/3.1.0+20220228/google_firebasedynamiclinks1/api::MethodGetLinkStatCall) +* [install attribution](https://docs.rs/google-firebasedynamiclinks1/3.1.0+20220228/google_firebasedynamiclinks1/api::MethodInstallAttributionCall) +* [reopen attribution](https://docs.rs/google-firebasedynamiclinks1/3.1.0+20220228/google_firebasedynamiclinks1/api::MethodReopenAttributionCall) @@ -30,17 +30,17 @@ Other activities are ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-firebasedynamiclinks1/3.0.0+20220228/google_firebasedynamiclinks1/FirebaseDynamicLinks)** +* **[Hub](https://docs.rs/google-firebasedynamiclinks1/3.1.0+20220228/google_firebasedynamiclinks1/FirebaseDynamicLinks)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-firebasedynamiclinks1/3.0.0+20220228/google_firebasedynamiclinks1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-firebasedynamiclinks1/3.0.0+20220228/google_firebasedynamiclinks1/client::CallBuilder) -* **[Resources](https://docs.rs/google-firebasedynamiclinks1/3.0.0+20220228/google_firebasedynamiclinks1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-firebasedynamiclinks1/3.1.0+20220228/google_firebasedynamiclinks1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-firebasedynamiclinks1/3.1.0+20220228/google_firebasedynamiclinks1/client::CallBuilder) +* **[Resources](https://docs.rs/google-firebasedynamiclinks1/3.1.0+20220228/google_firebasedynamiclinks1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-firebasedynamiclinks1/3.0.0+20220228/google_firebasedynamiclinks1/client::Part)** + * **[Parts](https://docs.rs/google-firebasedynamiclinks1/3.1.0+20220228/google_firebasedynamiclinks1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-firebasedynamiclinks1/3.0.0+20220228/google_firebasedynamiclinks1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-firebasedynamiclinks1/3.1.0+20220228/google_firebasedynamiclinks1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -98,7 +98,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = FirebaseDynamicLinks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = FirebaseDynamicLinks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -131,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-firebasedynamiclinks1/3.0.0+20220228/google_firebasedynamiclinks1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-firebasedynamiclinks1/3.1.0+20220228/google_firebasedynamiclinks1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-firebasedynamiclinks1/3.0.0+20220228/google_firebasedynamiclinks1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-firebasedynamiclinks1/3.1.0+20220228/google_firebasedynamiclinks1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-firebasedynamiclinks1/3.0.0+20220228/google_firebasedynamiclinks1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-firebasedynamiclinks1/3.1.0+20220228/google_firebasedynamiclinks1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-firebasedynamiclinks1/3.0.0+20220228/google_firebasedynamiclinks1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-firebasedynamiclinks1/3.1.0+20220228/google_firebasedynamiclinks1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -151,29 +151,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-firebasedynamiclinks1/3.0.0+20220228/google_firebasedynamiclinks1/client::Delegate) to the -[Method Builder](https://docs.rs/google-firebasedynamiclinks1/3.0.0+20220228/google_firebasedynamiclinks1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-firebasedynamiclinks1/3.1.0+20220228/google_firebasedynamiclinks1/client::Delegate) to the +[Method Builder](https://docs.rs/google-firebasedynamiclinks1/3.1.0+20220228/google_firebasedynamiclinks1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-firebasedynamiclinks1/3.0.0+20220228/google_firebasedynamiclinks1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-firebasedynamiclinks1/3.1.0+20220228/google_firebasedynamiclinks1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-firebasedynamiclinks1/3.0.0+20220228/google_firebasedynamiclinks1/client::RequestValue) and -[decodable](https://docs.rs/google-firebasedynamiclinks1/3.0.0+20220228/google_firebasedynamiclinks1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-firebasedynamiclinks1/3.1.0+20220228/google_firebasedynamiclinks1/client::RequestValue) and +[decodable](https://docs.rs/google-firebasedynamiclinks1/3.1.0+20220228/google_firebasedynamiclinks1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-firebasedynamiclinks1/3.0.0+20220228/google_firebasedynamiclinks1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-firebasedynamiclinks1/3.1.0+20220228/google_firebasedynamiclinks1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-firebasedynamiclinks1/3.0.0+20220228/google_firebasedynamiclinks1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-firebasedynamiclinks1/3.1.0+20220228/google_firebasedynamiclinks1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-firebasedynamiclinks1/3.0.0+20220228/google_firebasedynamiclinks1/client::RequestValue) are moved +* [request values](https://docs.rs/google-firebasedynamiclinks1/3.1.0+20220228/google_firebasedynamiclinks1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/firebasedynamiclinks1/src/api.rs b/gen/firebasedynamiclinks1/src/api.rs index 67e8c54980..53585e7d28 100644 --- a/gen/firebasedynamiclinks1/src/api.rs +++ b/gen/firebasedynamiclinks1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = FirebaseDynamicLinks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = FirebaseDynamicLinks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > FirebaseDynamicLinks<> { FirebaseDynamicLinks { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://firebasedynamiclinks.googleapis.com/".to_string(), _root_url: "https://firebasedynamiclinks.googleapis.com/".to_string(), } @@ -136,7 +136,7 @@ impl<'a, > FirebaseDynamicLinks<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -803,7 +803,7 @@ impl client::Part for Suffix {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = FirebaseDynamicLinks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = FirebaseDynamicLinks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)` /// // to build up your call. @@ -861,7 +861,7 @@ impl<'a> ManagedShortLinkMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = FirebaseDynamicLinks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = FirebaseDynamicLinks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)` /// // to build up your call. @@ -919,7 +919,7 @@ impl<'a> ShortLinkMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = FirebaseDynamicLinks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = FirebaseDynamicLinks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get_link_stats(...)`, `install_attribution(...)` and `reopen_attribution(...)` /// // to build up your call. @@ -1021,7 +1021,7 @@ impl<'a> MethodMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseDynamicLinks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseDynamicLinks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1270,7 +1270,7 @@ impl<'a> ManagedShortLinkCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseDynamicLinks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseDynamicLinks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1518,7 +1518,7 @@ impl<'a> ShortLinkCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseDynamicLinks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseDynamicLinks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1795,7 +1795,7 @@ impl<'a> MethodGetLinkStatCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseDynamicLinks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseDynamicLinks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2044,7 +2044,7 @@ impl<'a> MethodInstallAttributionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseDynamicLinks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseDynamicLinks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/firebasedynamiclinks1/src/lib.rs b/gen/firebasedynamiclinks1/src/lib.rs index 398efc0aac..c5e3ae8d49 100644 --- a/gen/firebasedynamiclinks1/src/lib.rs +++ b/gen/firebasedynamiclinks1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Firebase Dynamic Links* crate version *3.0.0+20220228*, where *20220228* is the exact revision of the *firebasedynamiclinks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Firebase Dynamic Links* crate version *3.1.0+20220228*, where *20220228* is the exact revision of the *firebasedynamiclinks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Firebase Dynamic Links* *v1* API can be found at the //! [official documentation site](https://firebase.google.com/docs/dynamic-links/). @@ -99,7 +99,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = FirebaseDynamicLinks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = FirebaseDynamicLinks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/firebasehosting1-cli/Cargo.toml b/gen/firebasehosting1-cli/Cargo.toml index 0e22e404f5..ecbae2a667 100644 --- a/gen/firebasehosting1-cli/Cargo.toml +++ b/gen/firebasehosting1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-firebasehosting1-cli" -version = "3.0.0+20220212" +version = "3.1.0+20220212" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebase Hosting (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/firebasehosting1-cli" @@ -20,12 +20,12 @@ name = "firebasehosting1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-firebasehosting1] path = "../firebasehosting1" -version = "3.0.0+20220212" +version = "3.1.0+20220212" diff --git a/gen/firebasehosting1-cli/README.md b/gen/firebasehosting1-cli/README.md index b37f1bb95c..985f4b1941 100644 --- a/gen/firebasehosting1-cli/README.md +++ b/gen/firebasehosting1-cli/README.md @@ -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 *Firebase Hosting* API at revision *20220212*. The CLI is at version *3.0.0*. +This documentation was generated from the *Firebase Hosting* API at revision *20220212*. The CLI is at version *3.1.0*. ```bash firebasehosting1 [options] diff --git a/gen/firebasehosting1-cli/mkdocs.yml b/gen/firebasehosting1-cli/mkdocs.yml index d3c2140e61..c8a2e0eca9 100644 --- a/gen/firebasehosting1-cli/mkdocs.yml +++ b/gen/firebasehosting1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Firebase Hosting v3.0.0+20220212 +site_name: Firebase Hosting v3.1.0+20220212 site_url: http://byron.github.io/google-apis-rs/google-firebasehosting1-cli site_description: A complete library to interact with Firebase Hosting (protocol v1) diff --git a/gen/firebasehosting1-cli/src/main.rs b/gen/firebasehosting1-cli/src/main.rs index e7be8519b6..dbb04d9a1f 100644 --- a/gen/firebasehosting1-cli/src/main.rs +++ b/gen/firebasehosting1-cli/src/main.rs @@ -287,7 +287,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/firebasehosting1", 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::FirebaseHosting::new(client, auth), @@ -401,7 +407,7 @@ async fn main() { let mut app = App::new("firebasehosting1") .author("Sebastian Thiel ") - .version("3.0.0+20220212") + .version("3.1.0+20220212") .about("The Firebase Hosting REST API enables programmatic and customizable management and deployments to your Firebase-hosted sites. Use this REST API to create and manage channels and sites as well as to deploy new or updated hosting configurations and content files.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_firebasehosting1_cli") .arg(Arg::with_name("folder") diff --git a/gen/firebasehosting1/Cargo.toml b/gen/firebasehosting1/Cargo.toml index 6ce3a0ffec..c84200f421 100644 --- a/gen/firebasehosting1/Cargo.toml +++ b/gen/firebasehosting1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-firebasehosting1" -version = "3.0.0+20220212" +version = "3.1.0+20220212" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebase Hosting (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/firebasehosting1" homepage = "https://firebase.google.com/docs/hosting/" -documentation = "https://docs.rs/google-firebasehosting1/3.0.0+20220212" +documentation = "https://docs.rs/google-firebasehosting1/3.1.0+20220212" license = "MIT" keywords = ["firebasehosting", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/firebasehosting1/README.md b/gen/firebasehosting1/README.md index f93cba341c..b712415b2f 100644 --- a/gen/firebasehosting1/README.md +++ b/gen/firebasehosting1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-firebasehosting1` library allows access to all features of the *Google Firebase Hosting* service. -This documentation was generated from *Firebase Hosting* crate version *3.0.0+20220212*, where *20220212* is the exact revision of the *firebasehosting:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Firebase Hosting* crate version *3.1.0+20220212*, where *20220212* is the exact revision of the *firebasehosting:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Firebase Hosting* *v1* API can be found at the [official documentation site](https://firebase.google.com/docs/hosting/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebasehosting1/3.0.0+20220212/google_firebasehosting1/FirebaseHosting) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebasehosting1/3.1.0+20220212/google_firebasehosting1/FirebaseHosting) ... -* [operations](https://docs.rs/google-firebasehosting1/3.0.0+20220212/google_firebasehosting1/api::Operation) - * [*cancel*](https://docs.rs/google-firebasehosting1/3.0.0+20220212/google_firebasehosting1/api::OperationCancelCall), [*delete*](https://docs.rs/google-firebasehosting1/3.0.0+20220212/google_firebasehosting1/api::OperationDeleteCall) and [*list*](https://docs.rs/google-firebasehosting1/3.0.0+20220212/google_firebasehosting1/api::OperationListCall) +* [operations](https://docs.rs/google-firebasehosting1/3.1.0+20220212/google_firebasehosting1/api::Operation) + * [*cancel*](https://docs.rs/google-firebasehosting1/3.1.0+20220212/google_firebasehosting1/api::OperationCancelCall), [*delete*](https://docs.rs/google-firebasehosting1/3.1.0+20220212/google_firebasehosting1/api::OperationDeleteCall) and [*list*](https://docs.rs/google-firebasehosting1/3.1.0+20220212/google_firebasehosting1/api::OperationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-firebasehosting1/3.0.0+20220212/google_firebasehosting1/FirebaseHosting)** +* **[Hub](https://docs.rs/google-firebasehosting1/3.1.0+20220212/google_firebasehosting1/FirebaseHosting)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-firebasehosting1/3.0.0+20220212/google_firebasehosting1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-firebasehosting1/3.0.0+20220212/google_firebasehosting1/client::CallBuilder) -* **[Resources](https://docs.rs/google-firebasehosting1/3.0.0+20220212/google_firebasehosting1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-firebasehosting1/3.1.0+20220212/google_firebasehosting1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-firebasehosting1/3.1.0+20220212/google_firebasehosting1/client::CallBuilder) +* **[Resources](https://docs.rs/google-firebasehosting1/3.1.0+20220212/google_firebasehosting1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-firebasehosting1/3.0.0+20220212/google_firebasehosting1/client::Part)** + * **[Parts](https://docs.rs/google-firebasehosting1/3.1.0+20220212/google_firebasehosting1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-firebasehosting1/3.0.0+20220212/google_firebasehosting1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-firebasehosting1/3.1.0+20220212/google_firebasehosting1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -92,7 +92,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -123,17 +123,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-firebasehosting1/3.0.0+20220212/google_firebasehosting1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-firebasehosting1/3.1.0+20220212/google_firebasehosting1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-firebasehosting1/3.0.0+20220212/google_firebasehosting1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-firebasehosting1/3.1.0+20220212/google_firebasehosting1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-firebasehosting1/3.0.0+20220212/google_firebasehosting1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-firebasehosting1/3.1.0+20220212/google_firebasehosting1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-firebasehosting1/3.0.0+20220212/google_firebasehosting1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-firebasehosting1/3.1.0+20220212/google_firebasehosting1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -143,29 +143,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-firebasehosting1/3.0.0+20220212/google_firebasehosting1/client::Delegate) to the -[Method Builder](https://docs.rs/google-firebasehosting1/3.0.0+20220212/google_firebasehosting1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-firebasehosting1/3.1.0+20220212/google_firebasehosting1/client::Delegate) to the +[Method Builder](https://docs.rs/google-firebasehosting1/3.1.0+20220212/google_firebasehosting1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-firebasehosting1/3.0.0+20220212/google_firebasehosting1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-firebasehosting1/3.1.0+20220212/google_firebasehosting1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-firebasehosting1/3.0.0+20220212/google_firebasehosting1/client::RequestValue) and -[decodable](https://docs.rs/google-firebasehosting1/3.0.0+20220212/google_firebasehosting1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-firebasehosting1/3.1.0+20220212/google_firebasehosting1/client::RequestValue) and +[decodable](https://docs.rs/google-firebasehosting1/3.1.0+20220212/google_firebasehosting1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-firebasehosting1/3.0.0+20220212/google_firebasehosting1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-firebasehosting1/3.1.0+20220212/google_firebasehosting1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-firebasehosting1/3.0.0+20220212/google_firebasehosting1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-firebasehosting1/3.1.0+20220212/google_firebasehosting1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-firebasehosting1/3.0.0+20220212/google_firebasehosting1/client::RequestValue) are moved +* [request values](https://docs.rs/google-firebasehosting1/3.1.0+20220212/google_firebasehosting1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/firebasehosting1/src/api.rs b/gen/firebasehosting1/src/api.rs index 6b43233071..606799c383 100644 --- a/gen/firebasehosting1/src/api.rs +++ b/gen/firebasehosting1/src/api.rs @@ -48,7 +48,7 @@ use crate::client; /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -94,7 +94,7 @@ impl<'a, > FirebaseHosting<> { FirebaseHosting { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://firebasehosting.googleapis.com/".to_string(), _root_url: "https://firebasehosting.googleapis.com/".to_string(), } @@ -105,7 +105,7 @@ impl<'a, > FirebaseHosting<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -256,7 +256,7 @@ impl client::Part for Status {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `cancel(...)`, `delete(...)` and `list(...)` /// // to build up your call. @@ -358,7 +358,7 @@ impl<'a> OperationMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -613,7 +613,7 @@ impl<'a> OperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -839,7 +839,7 @@ impl<'a> OperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/firebasehosting1/src/lib.rs b/gen/firebasehosting1/src/lib.rs index 01362166a0..692347d732 100644 --- a/gen/firebasehosting1/src/lib.rs +++ b/gen/firebasehosting1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Firebase Hosting* crate version *3.0.0+20220212*, where *20220212* is the exact revision of the *firebasehosting:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Firebase Hosting* crate version *3.1.0+20220212*, where *20220212* is the exact revision of the *firebasehosting:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Firebase Hosting* *v1* API can be found at the //! [official documentation site](https://firebase.google.com/docs/hosting/). @@ -93,7 +93,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/firebasehosting1_beta1-cli/Cargo.toml b/gen/firebasehosting1_beta1-cli/Cargo.toml index 38392e9919..085d367b96 100644 --- a/gen/firebasehosting1_beta1-cli/Cargo.toml +++ b/gen/firebasehosting1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-firebasehosting1_beta1-cli" -version = "3.0.0+20220212" +version = "3.1.0+20220212" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebase Hosting (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/firebasehosting1_beta1-cli" @@ -20,12 +20,12 @@ name = "firebasehosting1-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-firebasehosting1_beta1] path = "../firebasehosting1_beta1" -version = "3.0.0+20220212" +version = "3.1.0+20220212" diff --git a/gen/firebasehosting1_beta1-cli/README.md b/gen/firebasehosting1_beta1-cli/README.md index dcf54afece..46ad85b973 100644 --- a/gen/firebasehosting1_beta1-cli/README.md +++ b/gen/firebasehosting1_beta1-cli/README.md @@ -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 *Firebase Hosting* API at revision *20220212*. The CLI is at version *3.0.0*. +This documentation was generated from the *Firebase Hosting* API at revision *20220212*. The CLI is at version *3.1.0*. ```bash firebasehosting1-beta1 [options] diff --git a/gen/firebasehosting1_beta1-cli/mkdocs.yml b/gen/firebasehosting1_beta1-cli/mkdocs.yml index 4aacadbc8a..acda055c57 100644 --- a/gen/firebasehosting1_beta1-cli/mkdocs.yml +++ b/gen/firebasehosting1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Firebase Hosting v3.0.0+20220212 +site_name: Firebase Hosting v3.1.0+20220212 site_url: http://byron.github.io/google-apis-rs/google-firebasehosting1_beta1-cli site_description: A complete library to interact with Firebase Hosting (protocol v1beta1) diff --git a/gen/firebasehosting1_beta1-cli/src/main.rs b/gen/firebasehosting1_beta1-cli/src/main.rs index c5dc2ac979..6eaa2edebb 100644 --- a/gen/firebasehosting1_beta1-cli/src/main.rs +++ b/gen/firebasehosting1_beta1-cli/src/main.rs @@ -4282,7 +4282,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/firebasehosting1-beta1", 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::FirebaseHosting::new(client, auth), @@ -5615,7 +5621,7 @@ async fn main() { let mut app = App::new("firebasehosting1-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20220212") + .version("3.1.0+20220212") .about("The Firebase Hosting REST API enables programmatic and customizable management and deployments to your Firebase-hosted sites. Use this REST API to create and manage channels and sites as well as to deploy new or updated hosting configurations and content files.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_firebasehosting1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/firebasehosting1_beta1/Cargo.toml b/gen/firebasehosting1_beta1/Cargo.toml index acbe7d3ad6..07b56f1dec 100644 --- a/gen/firebasehosting1_beta1/Cargo.toml +++ b/gen/firebasehosting1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-firebasehosting1_beta1" -version = "3.0.0+20220212" +version = "3.1.0+20220212" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebase Hosting (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/firebasehosting1_beta1" homepage = "https://firebase.google.com/docs/hosting/" -documentation = "https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212" +documentation = "https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212" license = "MIT" keywords = ["firebasehosting", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/firebasehosting1_beta1/README.md b/gen/firebasehosting1_beta1/README.md index b8004d4014..115bb0cf22 100644 --- a/gen/firebasehosting1_beta1/README.md +++ b/gen/firebasehosting1_beta1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-firebasehosting1_beta1` library allows access to all features of the *Google Firebase Hosting* service. -This documentation was generated from *Firebase Hosting* crate version *3.0.0+20220212*, where *20220212* is the exact revision of the *firebasehosting:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Firebase Hosting* crate version *3.1.0+20220212*, where *20220212* is the exact revision of the *firebasehosting:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Firebase Hosting* *v1_beta1* API can be found at the [official documentation site](https://firebase.google.com/docs/hosting/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/FirebaseHosting) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/FirebaseHosting) ... * projects - * [*operations get*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::ProjectOperationGetCall), [*sites channels create*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteChannelCreateCall), [*sites channels delete*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteChannelDeleteCall), [*sites channels get*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteChannelGetCall), [*sites channels list*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteChannelListCall), [*sites channels patch*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteChannelPatchCall), [*sites channels releases create*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteChannelReleaseCreateCall), [*sites channels releases list*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteChannelReleaseListCall), [*sites create*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteCreateCall), [*sites delete*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteDeleteCall), [*sites domains create*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteDomainCreateCall), [*sites domains delete*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteDomainDeleteCall), [*sites domains get*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteDomainGetCall), [*sites domains list*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteDomainListCall), [*sites domains update*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteDomainUpdateCall), [*sites get*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteGetCall), [*sites get config*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteGetConfigCall), [*sites list*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteListCall), [*sites patch*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::ProjectSitePatchCall), [*sites releases create*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteReleaseCreateCall), [*sites releases list*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteReleaseListCall), [*sites update config*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteUpdateConfigCall), [*sites versions clone*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteVersionCloneCall), [*sites versions create*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteVersionCreateCall), [*sites versions delete*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteVersionDeleteCall), [*sites versions files list*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteVersionFileListCall), [*sites versions list*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteVersionListCall), [*sites versions patch*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteVersionPatchCall) and [*sites versions populate files*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteVersionPopulateFileCall) -* [sites](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::Site) - * [*channels create*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::SiteChannelCreateCall), [*channels delete*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::SiteChannelDeleteCall), [*channels get*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::SiteChannelGetCall), [*channels list*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::SiteChannelListCall), [*channels patch*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::SiteChannelPatchCall), [*channels releases create*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::SiteChannelReleaseCreateCall), [*channels releases list*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::SiteChannelReleaseListCall), [*domains create*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::SiteDomainCreateCall), [*domains delete*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::SiteDomainDeleteCall), [*domains get*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::SiteDomainGetCall), [*domains list*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::SiteDomainListCall), [*domains update*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::SiteDomainUpdateCall), [*get config*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::SiteGetConfigCall), [*releases create*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::SiteReleaseCreateCall), [*releases list*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::SiteReleaseListCall), [*update config*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::SiteUpdateConfigCall), [*versions clone*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::SiteVersionCloneCall), [*versions create*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::SiteVersionCreateCall), [*versions delete*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::SiteVersionDeleteCall), [*versions files list*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::SiteVersionFileListCall), [*versions list*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::SiteVersionListCall), [*versions patch*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::SiteVersionPatchCall) and [*versions populate files*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/api::SiteVersionPopulateFileCall) + * [*operations get*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::ProjectOperationGetCall), [*sites channels create*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteChannelCreateCall), [*sites channels delete*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteChannelDeleteCall), [*sites channels get*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteChannelGetCall), [*sites channels list*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteChannelListCall), [*sites channels patch*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteChannelPatchCall), [*sites channels releases create*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteChannelReleaseCreateCall), [*sites channels releases list*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteChannelReleaseListCall), [*sites create*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteCreateCall), [*sites delete*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteDeleteCall), [*sites domains create*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteDomainCreateCall), [*sites domains delete*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteDomainDeleteCall), [*sites domains get*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteDomainGetCall), [*sites domains list*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteDomainListCall), [*sites domains update*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteDomainUpdateCall), [*sites get*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteGetCall), [*sites get config*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteGetConfigCall), [*sites list*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteListCall), [*sites patch*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::ProjectSitePatchCall), [*sites releases create*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteReleaseCreateCall), [*sites releases list*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteReleaseListCall), [*sites update config*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteUpdateConfigCall), [*sites versions clone*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteVersionCloneCall), [*sites versions create*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteVersionCreateCall), [*sites versions delete*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteVersionDeleteCall), [*sites versions files list*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteVersionFileListCall), [*sites versions list*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteVersionListCall), [*sites versions patch*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteVersionPatchCall) and [*sites versions populate files*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::ProjectSiteVersionPopulateFileCall) +* [sites](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::Site) + * [*channels create*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::SiteChannelCreateCall), [*channels delete*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::SiteChannelDeleteCall), [*channels get*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::SiteChannelGetCall), [*channels list*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::SiteChannelListCall), [*channels patch*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::SiteChannelPatchCall), [*channels releases create*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::SiteChannelReleaseCreateCall), [*channels releases list*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::SiteChannelReleaseListCall), [*domains create*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::SiteDomainCreateCall), [*domains delete*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::SiteDomainDeleteCall), [*domains get*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::SiteDomainGetCall), [*domains list*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::SiteDomainListCall), [*domains update*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::SiteDomainUpdateCall), [*get config*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::SiteGetConfigCall), [*releases create*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::SiteReleaseCreateCall), [*releases list*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::SiteReleaseListCall), [*update config*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::SiteUpdateConfigCall), [*versions clone*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::SiteVersionCloneCall), [*versions create*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::SiteVersionCreateCall), [*versions delete*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::SiteVersionDeleteCall), [*versions files list*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::SiteVersionFileListCall), [*versions list*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::SiteVersionListCall), [*versions patch*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::SiteVersionPatchCall) and [*versions populate files*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/api::SiteVersionPopulateFileCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/FirebaseHosting)** +* **[Hub](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/FirebaseHosting)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -117,7 +117,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -148,17 +148,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -168,29 +168,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-firebasehosting1_beta1/3.0.0+20220212/google_firebasehosting1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-firebasehosting1_beta1/3.1.0+20220212/google_firebasehosting1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/firebasehosting1_beta1/src/api.rs b/gen/firebasehosting1_beta1/src/api.rs index e057a28baf..d9d7be30f5 100644 --- a/gen/firebasehosting1_beta1/src/api.rs +++ b/gen/firebasehosting1_beta1/src/api.rs @@ -82,7 +82,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -128,7 +128,7 @@ impl<'a, > FirebaseHosting<> { FirebaseHosting { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://firebasehosting.googleapis.com/".to_string(), _root_url: "https://firebasehosting.googleapis.com/".to_string(), } @@ -142,7 +142,7 @@ impl<'a, > FirebaseHosting<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -960,7 +960,7 @@ impl client::Part for VersionFile {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `operations_get(...)`, `sites_channels_create(...)`, `sites_channels_delete(...)`, `sites_channels_get(...)`, `sites_channels_list(...)`, `sites_channels_patch(...)`, `sites_channels_releases_create(...)`, `sites_channels_releases_list(...)`, `sites_create(...)`, `sites_delete(...)`, `sites_domains_create(...)`, `sites_domains_delete(...)`, `sites_domains_get(...)`, `sites_domains_list(...)`, `sites_domains_update(...)`, `sites_get(...)`, `sites_get_config(...)`, `sites_list(...)`, `sites_patch(...)`, `sites_releases_create(...)`, `sites_releases_list(...)`, `sites_update_config(...)`, `sites_versions_clone(...)`, `sites_versions_create(...)`, `sites_versions_delete(...)`, `sites_versions_files_list(...)`, `sites_versions_list(...)`, `sites_versions_patch(...)` and `sites_versions_populate_files(...)` /// // to build up your call. @@ -1546,7 +1546,7 @@ impl<'a> ProjectMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `channels_create(...)`, `channels_delete(...)`, `channels_get(...)`, `channels_list(...)`, `channels_patch(...)`, `channels_releases_create(...)`, `channels_releases_list(...)`, `domains_create(...)`, `domains_delete(...)`, `domains_get(...)`, `domains_list(...)`, `domains_update(...)`, `get_config(...)`, `releases_create(...)`, `releases_list(...)`, `update_config(...)`, `versions_clone(...)`, `versions_create(...)`, `versions_delete(...)`, `versions_files_list(...)`, `versions_list(...)`, `versions_patch(...)` and `versions_populate_files(...)` /// // to build up your call. @@ -2029,7 +2029,7 @@ impl<'a> SiteMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2286,7 +2286,7 @@ impl<'a> ProjectOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2583,7 +2583,7 @@ impl<'a> ProjectSiteChannelReleaseCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2864,7 +2864,7 @@ impl<'a> ProjectSiteChannelReleaseListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3161,7 +3161,7 @@ impl<'a> ProjectSiteChannelCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3417,7 +3417,7 @@ impl<'a> ProjectSiteChannelDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3673,7 +3673,7 @@ impl<'a> ProjectSiteChannelGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3954,7 +3954,7 @@ impl<'a> ProjectSiteChannelListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4252,7 +4252,7 @@ impl<'a> ProjectSiteChannelPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4537,7 +4537,7 @@ impl<'a> ProjectSiteDomainCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4793,7 +4793,7 @@ impl<'a> ProjectSiteDomainDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5049,7 +5049,7 @@ impl<'a> ProjectSiteDomainGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5330,7 +5330,7 @@ impl<'a> ProjectSiteDomainListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5616,7 +5616,7 @@ impl<'a> ProjectSiteDomainUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5913,7 +5913,7 @@ impl<'a> ProjectSiteReleaseCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6193,7 +6193,7 @@ impl<'a> ProjectSiteReleaseListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6486,7 +6486,7 @@ impl<'a> ProjectSiteVersionFileListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6772,7 +6772,7 @@ impl<'a> ProjectSiteVersionCloneCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7081,7 +7081,7 @@ impl<'a> ProjectSiteVersionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7337,7 +7337,7 @@ impl<'a> ProjectSiteVersionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7630,7 +7630,7 @@ impl<'a> ProjectSiteVersionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7928,7 +7928,7 @@ impl<'a> ProjectSiteVersionPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8214,7 +8214,7 @@ impl<'a> ProjectSiteVersionPopulateFileCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8511,7 +8511,7 @@ impl<'a> ProjectSiteCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8767,7 +8767,7 @@ impl<'a> ProjectSiteDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9023,7 +9023,7 @@ impl<'a> ProjectSiteGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9279,7 +9279,7 @@ impl<'a> ProjectSiteGetConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9560,7 +9560,7 @@ impl<'a> ProjectSiteListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9858,7 +9858,7 @@ impl<'a> ProjectSitePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10156,7 +10156,7 @@ impl<'a> ProjectSiteUpdateConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10453,7 +10453,7 @@ impl<'a> SiteChannelReleaseCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10734,7 +10734,7 @@ impl<'a> SiteChannelReleaseListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11031,7 +11031,7 @@ impl<'a> SiteChannelCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11287,7 +11287,7 @@ impl<'a> SiteChannelDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11543,7 +11543,7 @@ impl<'a> SiteChannelGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11824,7 +11824,7 @@ impl<'a> SiteChannelListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12122,7 +12122,7 @@ impl<'a> SiteChannelPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12407,7 +12407,7 @@ impl<'a> SiteDomainCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12663,7 +12663,7 @@ impl<'a> SiteDomainDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12919,7 +12919,7 @@ impl<'a> SiteDomainGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13200,7 +13200,7 @@ impl<'a> SiteDomainListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13486,7 +13486,7 @@ impl<'a> SiteDomainUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13783,7 +13783,7 @@ impl<'a> SiteReleaseCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14063,7 +14063,7 @@ impl<'a> SiteReleaseListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14356,7 +14356,7 @@ impl<'a> SiteVersionFileListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14642,7 +14642,7 @@ impl<'a> SiteVersionCloneCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14951,7 +14951,7 @@ impl<'a> SiteVersionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15207,7 +15207,7 @@ impl<'a> SiteVersionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15500,7 +15500,7 @@ impl<'a> SiteVersionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15798,7 +15798,7 @@ impl<'a> SiteVersionPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16083,7 +16083,7 @@ impl<'a> SiteVersionPopulateFileCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16340,7 +16340,7 @@ impl<'a> SiteGetConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/firebasehosting1_beta1/src/lib.rs b/gen/firebasehosting1_beta1/src/lib.rs index 087dad39cc..b828c2f1b6 100644 --- a/gen/firebasehosting1_beta1/src/lib.rs +++ b/gen/firebasehosting1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Firebase Hosting* crate version *3.0.0+20220212*, where *20220212* is the exact revision of the *firebasehosting:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Firebase Hosting* crate version *3.1.0+20220212*, where *20220212* is the exact revision of the *firebasehosting:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Firebase Hosting* *v1_beta1* API can be found at the //! [official documentation site](https://firebase.google.com/docs/hosting/). @@ -118,7 +118,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = FirebaseHosting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/firebaseml1-cli/Cargo.toml b/gen/firebaseml1-cli/Cargo.toml index ebf3680a83..1e6c35425e 100644 --- a/gen/firebaseml1-cli/Cargo.toml +++ b/gen/firebaseml1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-firebaseml1-cli" -version = "3.0.0+20220302" +version = "3.1.0+20220302" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebase ML (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/firebaseml1-cli" @@ -20,12 +20,12 @@ name = "firebaseml1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-firebaseml1] path = "../firebaseml1" -version = "3.0.0+20220302" +version = "3.1.0+20220302" diff --git a/gen/firebaseml1-cli/README.md b/gen/firebaseml1-cli/README.md index d956808852..71b9a95b6e 100644 --- a/gen/firebaseml1-cli/README.md +++ b/gen/firebaseml1-cli/README.md @@ -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 *Firebase ML* API at revision *20220302*. The CLI is at version *3.0.0*. +This documentation was generated from the *Firebase ML* API at revision *20220302*. The CLI is at version *3.1.0*. ```bash firebaseml1 [options] diff --git a/gen/firebaseml1-cli/mkdocs.yml b/gen/firebaseml1-cli/mkdocs.yml index 3ddc57871f..f36b3e361e 100644 --- a/gen/firebaseml1-cli/mkdocs.yml +++ b/gen/firebaseml1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Firebase ML v3.0.0+20220302 +site_name: Firebase ML v3.1.0+20220302 site_url: http://byron.github.io/google-apis-rs/google-firebaseml1-cli site_description: A complete library to interact with Firebase ML (protocol v1) diff --git a/gen/firebaseml1-cli/src/main.rs b/gen/firebaseml1-cli/src/main.rs index 4f0a287fad..a6e8c38437 100644 --- a/gen/firebaseml1-cli/src/main.rs +++ b/gen/firebaseml1-cli/src/main.rs @@ -296,7 +296,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/firebaseml1", 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::FirebaseML::new(client, auth), @@ -410,7 +416,7 @@ async fn main() { let mut app = App::new("firebaseml1") .author("Sebastian Thiel ") - .version("3.0.0+20220302") + .version("3.1.0+20220302") .about("Access custom machine learning models hosted via Firebase ML.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_firebaseml1_cli") .arg(Arg::with_name("url") diff --git a/gen/firebaseml1/Cargo.toml b/gen/firebaseml1/Cargo.toml index a4f739ba85..d53649548f 100644 --- a/gen/firebaseml1/Cargo.toml +++ b/gen/firebaseml1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-firebaseml1" -version = "3.0.0+20220302" +version = "3.1.0+20220302" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebase ML (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/firebaseml1" homepage = "https://firebase.google.com" -documentation = "https://docs.rs/google-firebaseml1/3.0.0+20220302" +documentation = "https://docs.rs/google-firebaseml1/3.1.0+20220302" license = "MIT" keywords = ["firebaseml", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/firebaseml1/README.md b/gen/firebaseml1/README.md index dbb8f47df4..93db4f1d25 100644 --- a/gen/firebaseml1/README.md +++ b/gen/firebaseml1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-firebaseml1` library allows access to all features of the *Google Firebase ML* service. -This documentation was generated from *Firebase ML* crate version *3.0.0+20220302*, where *20220302* is the exact revision of the *firebaseml:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Firebase ML* crate version *3.1.0+20220302*, where *20220302* is the exact revision of the *firebaseml:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Firebase ML* *v1* API can be found at the [official documentation site](https://firebase.google.com). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebaseml1/3.0.0+20220302/google_firebaseml1/FirebaseML) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebaseml1/3.1.0+20220302/google_firebaseml1/FirebaseML) ... -* [operations](https://docs.rs/google-firebaseml1/3.0.0+20220302/google_firebaseml1/api::Operation) - * [*cancel*](https://docs.rs/google-firebaseml1/3.0.0+20220302/google_firebaseml1/api::OperationCancelCall), [*delete*](https://docs.rs/google-firebaseml1/3.0.0+20220302/google_firebaseml1/api::OperationDeleteCall) and [*list*](https://docs.rs/google-firebaseml1/3.0.0+20220302/google_firebaseml1/api::OperationListCall) +* [operations](https://docs.rs/google-firebaseml1/3.1.0+20220302/google_firebaseml1/api::Operation) + * [*cancel*](https://docs.rs/google-firebaseml1/3.1.0+20220302/google_firebaseml1/api::OperationCancelCall), [*delete*](https://docs.rs/google-firebaseml1/3.1.0+20220302/google_firebaseml1/api::OperationDeleteCall) and [*list*](https://docs.rs/google-firebaseml1/3.1.0+20220302/google_firebaseml1/api::OperationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-firebaseml1/3.0.0+20220302/google_firebaseml1/FirebaseML)** +* **[Hub](https://docs.rs/google-firebaseml1/3.1.0+20220302/google_firebaseml1/FirebaseML)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-firebaseml1/3.0.0+20220302/google_firebaseml1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-firebaseml1/3.0.0+20220302/google_firebaseml1/client::CallBuilder) -* **[Resources](https://docs.rs/google-firebaseml1/3.0.0+20220302/google_firebaseml1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-firebaseml1/3.1.0+20220302/google_firebaseml1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-firebaseml1/3.1.0+20220302/google_firebaseml1/client::CallBuilder) +* **[Resources](https://docs.rs/google-firebaseml1/3.1.0+20220302/google_firebaseml1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-firebaseml1/3.0.0+20220302/google_firebaseml1/client::Part)** + * **[Parts](https://docs.rs/google-firebaseml1/3.1.0+20220302/google_firebaseml1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-firebaseml1/3.0.0+20220302/google_firebaseml1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-firebaseml1/3.1.0+20220302/google_firebaseml1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -92,7 +92,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = FirebaseML::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = FirebaseML::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -123,17 +123,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-firebaseml1/3.0.0+20220302/google_firebaseml1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-firebaseml1/3.1.0+20220302/google_firebaseml1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-firebaseml1/3.0.0+20220302/google_firebaseml1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-firebaseml1/3.1.0+20220302/google_firebaseml1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-firebaseml1/3.0.0+20220302/google_firebaseml1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-firebaseml1/3.1.0+20220302/google_firebaseml1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-firebaseml1/3.0.0+20220302/google_firebaseml1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-firebaseml1/3.1.0+20220302/google_firebaseml1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -143,29 +143,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-firebaseml1/3.0.0+20220302/google_firebaseml1/client::Delegate) to the -[Method Builder](https://docs.rs/google-firebaseml1/3.0.0+20220302/google_firebaseml1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-firebaseml1/3.1.0+20220302/google_firebaseml1/client::Delegate) to the +[Method Builder](https://docs.rs/google-firebaseml1/3.1.0+20220302/google_firebaseml1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-firebaseml1/3.0.0+20220302/google_firebaseml1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-firebaseml1/3.1.0+20220302/google_firebaseml1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-firebaseml1/3.0.0+20220302/google_firebaseml1/client::RequestValue) and -[decodable](https://docs.rs/google-firebaseml1/3.0.0+20220302/google_firebaseml1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-firebaseml1/3.1.0+20220302/google_firebaseml1/client::RequestValue) and +[decodable](https://docs.rs/google-firebaseml1/3.1.0+20220302/google_firebaseml1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-firebaseml1/3.0.0+20220302/google_firebaseml1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-firebaseml1/3.1.0+20220302/google_firebaseml1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-firebaseml1/3.0.0+20220302/google_firebaseml1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-firebaseml1/3.1.0+20220302/google_firebaseml1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-firebaseml1/3.0.0+20220302/google_firebaseml1/client::RequestValue) are moved +* [request values](https://docs.rs/google-firebaseml1/3.1.0+20220302/google_firebaseml1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/firebaseml1/src/api.rs b/gen/firebaseml1/src/api.rs index ccf4a229bd..d2c0df9d4e 100644 --- a/gen/firebaseml1/src/api.rs +++ b/gen/firebaseml1/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = FirebaseML::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = FirebaseML::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -116,7 +116,7 @@ impl<'a, > FirebaseML<> { FirebaseML { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://firebaseml.googleapis.com/".to_string(), _root_url: "https://firebaseml.googleapis.com/".to_string(), } @@ -127,7 +127,7 @@ impl<'a, > FirebaseML<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -278,7 +278,7 @@ impl client::Part for Status {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = FirebaseML::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = FirebaseML::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `cancel(...)`, `delete(...)` and `list(...)` /// // to build up your call. @@ -383,7 +383,7 @@ impl<'a> OperationMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseML::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseML::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -668,7 +668,7 @@ impl<'a> OperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseML::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseML::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -924,7 +924,7 @@ impl<'a> OperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseML::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseML::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/firebaseml1/src/lib.rs b/gen/firebaseml1/src/lib.rs index 88021c2257..7f3bf3e610 100644 --- a/gen/firebaseml1/src/lib.rs +++ b/gen/firebaseml1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Firebase ML* crate version *3.0.0+20220302*, where *20220302* is the exact revision of the *firebaseml:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Firebase ML* crate version *3.1.0+20220302*, where *20220302* is the exact revision of the *firebaseml:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Firebase ML* *v1* API can be found at the //! [official documentation site](https://firebase.google.com). @@ -93,7 +93,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = FirebaseML::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = FirebaseML::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/firebaseremoteconfig1-cli/Cargo.toml b/gen/firebaseremoteconfig1-cli/Cargo.toml index 957ebd1aee..23255b3322 100644 --- a/gen/firebaseremoteconfig1-cli/Cargo.toml +++ b/gen/firebaseremoteconfig1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-firebaseremoteconfig1-cli" -version = "3.0.0+20171129" +version = "3.1.0+20171129" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebase Remote Config (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/firebaseremoteconfig1-cli" @@ -20,12 +20,12 @@ name = "firebaseremoteconfig1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-firebaseremoteconfig1] path = "../firebaseremoteconfig1" -version = "3.0.0+20171129" +version = "3.1.0+20171129" diff --git a/gen/firebaseremoteconfig1-cli/README.md b/gen/firebaseremoteconfig1-cli/README.md index dc8e722138..a65b4063e2 100644 --- a/gen/firebaseremoteconfig1-cli/README.md +++ b/gen/firebaseremoteconfig1-cli/README.md @@ -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 *Firebase Remote Config* API at revision *20171129*. The CLI is at version *3.0.0*. +This documentation was generated from the *Firebase Remote Config* API at revision *20171129*. The CLI is at version *3.1.0*. ```bash firebaseremoteconfig1 [options] diff --git a/gen/firebaseremoteconfig1-cli/mkdocs.yml b/gen/firebaseremoteconfig1-cli/mkdocs.yml index 92b6ff166c..b7f7ef3acc 100644 --- a/gen/firebaseremoteconfig1-cli/mkdocs.yml +++ b/gen/firebaseremoteconfig1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Firebase Remote Config v3.0.0+20171129 +site_name: Firebase Remote Config v3.1.0+20171129 site_url: http://byron.github.io/google-apis-rs/google-firebaseremoteconfig1-cli site_description: A complete library to interact with Firebase Remote Config (protocol v1) diff --git a/gen/firebaseremoteconfig1-cli/src/main.rs b/gen/firebaseremoteconfig1-cli/src/main.rs index 99b04c9661..6c88c9d95c 100644 --- a/gen/firebaseremoteconfig1-cli/src/main.rs +++ b/gen/firebaseremoteconfig1-cli/src/main.rs @@ -229,7 +229,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/firebaseremoteconfig1", 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::FirebaseRemoteConfig::new(client, auth), @@ -343,7 +349,7 @@ async fn main() { let mut app = App::new("firebaseremoteconfig1") .author("Sebastian Thiel ") - .version("3.0.0+20171129") + .version("3.1.0+20171129") .about("Firebase Remote Config API allows the 3P clients to manage Remote Config conditions and parameters for Firebase applications.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_firebaseremoteconfig1_cli") .arg(Arg::with_name("folder") diff --git a/gen/firebaseremoteconfig1/Cargo.toml b/gen/firebaseremoteconfig1/Cargo.toml index 2236bada0c..327953f304 100644 --- a/gen/firebaseremoteconfig1/Cargo.toml +++ b/gen/firebaseremoteconfig1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-firebaseremoteconfig1" -version = "3.0.0+20171129" +version = "3.1.0+20171129" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebase Remote Config (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/firebaseremoteconfig1" homepage = "https://firebase.google.com/docs/remote-config/" -documentation = "https://docs.rs/google-firebaseremoteconfig1/3.0.0+20171129" +documentation = "https://docs.rs/google-firebaseremoteconfig1/3.1.0+20171129" license = "MIT" keywords = ["firebaseremoteconfig", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/firebaseremoteconfig1/README.md b/gen/firebaseremoteconfig1/README.md index b45f6ca34e..dba3817b56 100644 --- a/gen/firebaseremoteconfig1/README.md +++ b/gen/firebaseremoteconfig1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-firebaseremoteconfig1` library allows access to all features of the *Google Firebase Remote Config* service. -This documentation was generated from *Firebase Remote Config* crate version *3.0.0+20171129*, where *20171129* is the exact revision of the *firebaseremoteconfig:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Firebase Remote Config* crate version *3.1.0+20171129*, where *20171129* is the exact revision of the *firebaseremoteconfig:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Firebase Remote Config* *v1* API can be found at the [official documentation site](https://firebase.google.com/docs/remote-config/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebaseremoteconfig1/3.0.0+20171129/google_firebaseremoteconfig1/FirebaseRemoteConfig) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebaseremoteconfig1/3.1.0+20171129/google_firebaseremoteconfig1/FirebaseRemoteConfig) ... * projects - * [*get remote config*](https://docs.rs/google-firebaseremoteconfig1/3.0.0+20171129/google_firebaseremoteconfig1/api::ProjectGetRemoteConfigCall) and [*update remote config*](https://docs.rs/google-firebaseremoteconfig1/3.0.0+20171129/google_firebaseremoteconfig1/api::ProjectUpdateRemoteConfigCall) + * [*get remote config*](https://docs.rs/google-firebaseremoteconfig1/3.1.0+20171129/google_firebaseremoteconfig1/api::ProjectGetRemoteConfigCall) and [*update remote config*](https://docs.rs/google-firebaseremoteconfig1/3.1.0+20171129/google_firebaseremoteconfig1/api::ProjectUpdateRemoteConfigCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-firebaseremoteconfig1/3.0.0+20171129/google_firebaseremoteconfig1/FirebaseRemoteConfig)** +* **[Hub](https://docs.rs/google-firebaseremoteconfig1/3.1.0+20171129/google_firebaseremoteconfig1/FirebaseRemoteConfig)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-firebaseremoteconfig1/3.0.0+20171129/google_firebaseremoteconfig1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-firebaseremoteconfig1/3.0.0+20171129/google_firebaseremoteconfig1/client::CallBuilder) -* **[Resources](https://docs.rs/google-firebaseremoteconfig1/3.0.0+20171129/google_firebaseremoteconfig1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-firebaseremoteconfig1/3.1.0+20171129/google_firebaseremoteconfig1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-firebaseremoteconfig1/3.1.0+20171129/google_firebaseremoteconfig1/client::CallBuilder) +* **[Resources](https://docs.rs/google-firebaseremoteconfig1/3.1.0+20171129/google_firebaseremoteconfig1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-firebaseremoteconfig1/3.0.0+20171129/google_firebaseremoteconfig1/client::Part)** + * **[Parts](https://docs.rs/google-firebaseremoteconfig1/3.1.0+20171129/google_firebaseremoteconfig1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-firebaseremoteconfig1/3.0.0+20171129/google_firebaseremoteconfig1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-firebaseremoteconfig1/3.1.0+20171129/google_firebaseremoteconfig1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -92,7 +92,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = FirebaseRemoteConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = FirebaseRemoteConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -126,17 +126,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-firebaseremoteconfig1/3.0.0+20171129/google_firebaseremoteconfig1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-firebaseremoteconfig1/3.1.0+20171129/google_firebaseremoteconfig1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-firebaseremoteconfig1/3.0.0+20171129/google_firebaseremoteconfig1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-firebaseremoteconfig1/3.1.0+20171129/google_firebaseremoteconfig1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-firebaseremoteconfig1/3.0.0+20171129/google_firebaseremoteconfig1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-firebaseremoteconfig1/3.1.0+20171129/google_firebaseremoteconfig1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-firebaseremoteconfig1/3.0.0+20171129/google_firebaseremoteconfig1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-firebaseremoteconfig1/3.1.0+20171129/google_firebaseremoteconfig1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -146,29 +146,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-firebaseremoteconfig1/3.0.0+20171129/google_firebaseremoteconfig1/client::Delegate) to the -[Method Builder](https://docs.rs/google-firebaseremoteconfig1/3.0.0+20171129/google_firebaseremoteconfig1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-firebaseremoteconfig1/3.1.0+20171129/google_firebaseremoteconfig1/client::Delegate) to the +[Method Builder](https://docs.rs/google-firebaseremoteconfig1/3.1.0+20171129/google_firebaseremoteconfig1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-firebaseremoteconfig1/3.0.0+20171129/google_firebaseremoteconfig1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-firebaseremoteconfig1/3.1.0+20171129/google_firebaseremoteconfig1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-firebaseremoteconfig1/3.0.0+20171129/google_firebaseremoteconfig1/client::RequestValue) and -[decodable](https://docs.rs/google-firebaseremoteconfig1/3.0.0+20171129/google_firebaseremoteconfig1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-firebaseremoteconfig1/3.1.0+20171129/google_firebaseremoteconfig1/client::RequestValue) and +[decodable](https://docs.rs/google-firebaseremoteconfig1/3.1.0+20171129/google_firebaseremoteconfig1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-firebaseremoteconfig1/3.0.0+20171129/google_firebaseremoteconfig1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-firebaseremoteconfig1/3.1.0+20171129/google_firebaseremoteconfig1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-firebaseremoteconfig1/3.0.0+20171129/google_firebaseremoteconfig1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-firebaseremoteconfig1/3.1.0+20171129/google_firebaseremoteconfig1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-firebaseremoteconfig1/3.0.0+20171129/google_firebaseremoteconfig1/client::RequestValue) are moved +* [request values](https://docs.rs/google-firebaseremoteconfig1/3.1.0+20171129/google_firebaseremoteconfig1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/firebaseremoteconfig1/src/api.rs b/gen/firebaseremoteconfig1/src/api.rs index dd10901d49..e63158e0f8 100644 --- a/gen/firebaseremoteconfig1/src/api.rs +++ b/gen/firebaseremoteconfig1/src/api.rs @@ -49,7 +49,7 @@ use crate::client; /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = FirebaseRemoteConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = FirebaseRemoteConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -98,7 +98,7 @@ impl<'a, > FirebaseRemoteConfig<> { FirebaseRemoteConfig { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://firebaseremoteconfig.googleapis.com/".to_string(), _root_url: "https://firebaseremoteconfig.googleapis.com/".to_string(), } @@ -109,7 +109,7 @@ impl<'a, > FirebaseRemoteConfig<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -293,7 +293,7 @@ impl client::ResponseResult for RemoteConfig {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = FirebaseRemoteConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = FirebaseRemoteConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get_remote_config(...)` and `update_remote_config(...)` /// // to build up your call. @@ -399,7 +399,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseRemoteConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseRemoteConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -646,7 +646,7 @@ impl<'a> ProjectGetRemoteConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = FirebaseRemoteConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = FirebaseRemoteConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/firebaseremoteconfig1/src/lib.rs b/gen/firebaseremoteconfig1/src/lib.rs index 6cd6d3a526..b78ff1abe2 100644 --- a/gen/firebaseremoteconfig1/src/lib.rs +++ b/gen/firebaseremoteconfig1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Firebase Remote Config* crate version *3.0.0+20171129*, where *20171129* is the exact revision of the *firebaseremoteconfig:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Firebase Remote Config* crate version *3.1.0+20171129*, where *20171129* is the exact revision of the *firebaseremoteconfig:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Firebase Remote Config* *v1* API can be found at the //! [official documentation site](https://firebase.google.com/docs/remote-config/). @@ -93,7 +93,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = FirebaseRemoteConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = FirebaseRemoteConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/firebasestorage1_beta-cli/Cargo.toml b/gen/firebasestorage1_beta-cli/Cargo.toml index 974f7a4d91..ea6b075b8c 100644 --- a/gen/firebasestorage1_beta-cli/Cargo.toml +++ b/gen/firebasestorage1_beta-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-firebasestorage1_beta-cli" -version = "3.0.0+20220218" +version = "3.1.0+20220218" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebasestorage (protocol v1beta)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/firebasestorage1_beta-cli" @@ -20,12 +20,12 @@ name = "firebasestorage1-beta" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-firebasestorage1_beta] path = "../firebasestorage1_beta" -version = "3.0.0+20220218" +version = "3.1.0+20220218" diff --git a/gen/firebasestorage1_beta-cli/README.md b/gen/firebasestorage1_beta-cli/README.md index e587e29e73..28892fcfcb 100644 --- a/gen/firebasestorage1_beta-cli/README.md +++ b/gen/firebasestorage1_beta-cli/README.md @@ -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 *Firebasestorage* API at revision *20220218*. The CLI is at version *3.0.0*. +This documentation was generated from the *Firebasestorage* API at revision *20220218*. The CLI is at version *3.1.0*. ```bash firebasestorage1-beta [options] diff --git a/gen/firebasestorage1_beta-cli/mkdocs.yml b/gen/firebasestorage1_beta-cli/mkdocs.yml index 92499ae9c0..2bc2545116 100644 --- a/gen/firebasestorage1_beta-cli/mkdocs.yml +++ b/gen/firebasestorage1_beta-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Firebasestorage v3.0.0+20220218 +site_name: Firebasestorage v3.1.0+20220218 site_url: http://byron.github.io/google-apis-rs/google-firebasestorage1_beta-cli site_description: A complete library to interact with Firebasestorage (protocol v1beta) diff --git a/gen/firebasestorage1_beta-cli/src/main.rs b/gen/firebasestorage1_beta-cli/src/main.rs index 7ab16d89b3..cc75c73828 100644 --- a/gen/firebasestorage1_beta-cli/src/main.rs +++ b/gen/firebasestorage1_beta-cli/src/main.rs @@ -380,7 +380,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/firebasestorage1-beta", 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::Firebasestorage::new(client, auth), @@ -522,7 +528,7 @@ async fn main() { let mut app = App::new("firebasestorage1-beta") .author("Sebastian Thiel ") - .version("3.0.0+20220218") + .version("3.1.0+20220218") .about("The Cloud Storage for Firebase API enables programmatic management of Cloud Storage buckets for use in Firebase projects") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_firebasestorage1_beta_cli") .arg(Arg::with_name("url") diff --git a/gen/firebasestorage1_beta/Cargo.toml b/gen/firebasestorage1_beta/Cargo.toml index 684a1f1507..edd41d1bd5 100644 --- a/gen/firebasestorage1_beta/Cargo.toml +++ b/gen/firebasestorage1_beta/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-firebasestorage1_beta" -version = "3.0.0+20220218" +version = "3.1.0+20220218" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebasestorage (protocol v1beta)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/firebasestorage1_beta" homepage = "https://firebase.google.com/docs/storage" -documentation = "https://docs.rs/google-firebasestorage1_beta/3.0.0+20220218" +documentation = "https://docs.rs/google-firebasestorage1_beta/3.1.0+20220218" license = "MIT" keywords = ["firebasestorage", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/firebasestorage1_beta/README.md b/gen/firebasestorage1_beta/README.md index db75ac3481..7abbf33a47 100644 --- a/gen/firebasestorage1_beta/README.md +++ b/gen/firebasestorage1_beta/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-firebasestorage1_beta` library allows access to all features of the *Google Firebasestorage* service. -This documentation was generated from *Firebasestorage* crate version *3.0.0+20220218*, where *20220218* is the exact revision of the *firebasestorage:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Firebasestorage* crate version *3.1.0+20220218*, where *20220218* is the exact revision of the *firebasestorage:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Firebasestorage* *v1_beta* API can be found at the [official documentation site](https://firebase.google.com/docs/storage). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebasestorage1_beta/3.0.0+20220218/google_firebasestorage1_beta/Firebasestorage) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebasestorage1_beta/3.1.0+20220218/google_firebasestorage1_beta/Firebasestorage) ... * projects - * [*buckets add firebase*](https://docs.rs/google-firebasestorage1_beta/3.0.0+20220218/google_firebasestorage1_beta/api::ProjectBucketAddFirebaseCall), [*buckets get*](https://docs.rs/google-firebasestorage1_beta/3.0.0+20220218/google_firebasestorage1_beta/api::ProjectBucketGetCall), [*buckets list*](https://docs.rs/google-firebasestorage1_beta/3.0.0+20220218/google_firebasestorage1_beta/api::ProjectBucketListCall) and [*buckets remove firebase*](https://docs.rs/google-firebasestorage1_beta/3.0.0+20220218/google_firebasestorage1_beta/api::ProjectBucketRemoveFirebaseCall) + * [*buckets add firebase*](https://docs.rs/google-firebasestorage1_beta/3.1.0+20220218/google_firebasestorage1_beta/api::ProjectBucketAddFirebaseCall), [*buckets get*](https://docs.rs/google-firebasestorage1_beta/3.1.0+20220218/google_firebasestorage1_beta/api::ProjectBucketGetCall), [*buckets list*](https://docs.rs/google-firebasestorage1_beta/3.1.0+20220218/google_firebasestorage1_beta/api::ProjectBucketListCall) and [*buckets remove firebase*](https://docs.rs/google-firebasestorage1_beta/3.1.0+20220218/google_firebasestorage1_beta/api::ProjectBucketRemoveFirebaseCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-firebasestorage1_beta/3.0.0+20220218/google_firebasestorage1_beta/Firebasestorage)** +* **[Hub](https://docs.rs/google-firebasestorage1_beta/3.1.0+20220218/google_firebasestorage1_beta/Firebasestorage)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-firebasestorage1_beta/3.0.0+20220218/google_firebasestorage1_beta/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-firebasestorage1_beta/3.0.0+20220218/google_firebasestorage1_beta/client::CallBuilder) -* **[Resources](https://docs.rs/google-firebasestorage1_beta/3.0.0+20220218/google_firebasestorage1_beta/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-firebasestorage1_beta/3.1.0+20220218/google_firebasestorage1_beta/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-firebasestorage1_beta/3.1.0+20220218/google_firebasestorage1_beta/client::CallBuilder) +* **[Resources](https://docs.rs/google-firebasestorage1_beta/3.1.0+20220218/google_firebasestorage1_beta/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-firebasestorage1_beta/3.0.0+20220218/google_firebasestorage1_beta/client::Part)** + * **[Parts](https://docs.rs/google-firebasestorage1_beta/3.1.0+20220218/google_firebasestorage1_beta/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-firebasestorage1_beta/3.0.0+20220218/google_firebasestorage1_beta/client::CallBuilder)** +* **[Activities](https://docs.rs/google-firebasestorage1_beta/3.1.0+20220218/google_firebasestorage1_beta/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -92,7 +92,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Firebasestorage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Firebasestorage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -125,17 +125,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-firebasestorage1_beta/3.0.0+20220218/google_firebasestorage1_beta/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-firebasestorage1_beta/3.1.0+20220218/google_firebasestorage1_beta/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-firebasestorage1_beta/3.0.0+20220218/google_firebasestorage1_beta/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-firebasestorage1_beta/3.1.0+20220218/google_firebasestorage1_beta/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-firebasestorage1_beta/3.0.0+20220218/google_firebasestorage1_beta/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-firebasestorage1_beta/3.1.0+20220218/google_firebasestorage1_beta/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-firebasestorage1_beta/3.0.0+20220218/google_firebasestorage1_beta/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-firebasestorage1_beta/3.1.0+20220218/google_firebasestorage1_beta/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -145,29 +145,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-firebasestorage1_beta/3.0.0+20220218/google_firebasestorage1_beta/client::Delegate) to the -[Method Builder](https://docs.rs/google-firebasestorage1_beta/3.0.0+20220218/google_firebasestorage1_beta/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-firebasestorage1_beta/3.1.0+20220218/google_firebasestorage1_beta/client::Delegate) to the +[Method Builder](https://docs.rs/google-firebasestorage1_beta/3.1.0+20220218/google_firebasestorage1_beta/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-firebasestorage1_beta/3.0.0+20220218/google_firebasestorage1_beta/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-firebasestorage1_beta/3.1.0+20220218/google_firebasestorage1_beta/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-firebasestorage1_beta/3.0.0+20220218/google_firebasestorage1_beta/client::RequestValue) and -[decodable](https://docs.rs/google-firebasestorage1_beta/3.0.0+20220218/google_firebasestorage1_beta/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-firebasestorage1_beta/3.1.0+20220218/google_firebasestorage1_beta/client::RequestValue) and +[decodable](https://docs.rs/google-firebasestorage1_beta/3.1.0+20220218/google_firebasestorage1_beta/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-firebasestorage1_beta/3.0.0+20220218/google_firebasestorage1_beta/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-firebasestorage1_beta/3.1.0+20220218/google_firebasestorage1_beta/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-firebasestorage1_beta/3.0.0+20220218/google_firebasestorage1_beta/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-firebasestorage1_beta/3.1.0+20220218/google_firebasestorage1_beta/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-firebasestorage1_beta/3.0.0+20220218/google_firebasestorage1_beta/client::RequestValue) are moved +* [request values](https://docs.rs/google-firebasestorage1_beta/3.1.0+20220218/google_firebasestorage1_beta/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/firebasestorage1_beta/src/api.rs b/gen/firebasestorage1_beta/src/api.rs index 2dabebe12c..00c0790f3c 100644 --- a/gen/firebasestorage1_beta/src/api.rs +++ b/gen/firebasestorage1_beta/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Firebasestorage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Firebasestorage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -123,7 +123,7 @@ impl<'a, > Firebasestorage<> { Firebasestorage { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://firebasestorage.googleapis.com/".to_string(), _root_url: "https://firebasestorage.googleapis.com/".to_string(), } @@ -134,7 +134,7 @@ impl<'a, > Firebasestorage<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -277,7 +277,7 @@ impl client::RequestValue for RemoveFirebaseRequest {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Firebasestorage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Firebasestorage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `buckets_add_firebase(...)`, `buckets_get(...)`, `buckets_list(...)` and `buckets_remove_firebase(...)` /// // to build up your call. @@ -400,7 +400,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firebasestorage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firebasestorage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -685,7 +685,7 @@ impl<'a> ProjectBucketAddFirebaseCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firebasestorage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firebasestorage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -941,7 +941,7 @@ impl<'a> ProjectBucketGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firebasestorage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firebasestorage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1222,7 +1222,7 @@ impl<'a> ProjectBucketListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firebasestorage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firebasestorage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/firebasestorage1_beta/src/lib.rs b/gen/firebasestorage1_beta/src/lib.rs index db32fb72a9..37594ec2a0 100644 --- a/gen/firebasestorage1_beta/src/lib.rs +++ b/gen/firebasestorage1_beta/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Firebasestorage* crate version *3.0.0+20220218*, where *20220218* is the exact revision of the *firebasestorage:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Firebasestorage* crate version *3.1.0+20220218*, where *20220218* is the exact revision of the *firebasestorage:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Firebasestorage* *v1_beta* API can be found at the //! [official documentation site](https://firebase.google.com/docs/storage). @@ -93,7 +93,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Firebasestorage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Firebasestorage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/firestore1-cli/Cargo.toml b/gen/firestore1-cli/Cargo.toml index 4393f3b4c7..ece5763d29 100644 --- a/gen/firestore1-cli/Cargo.toml +++ b/gen/firestore1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-firestore1-cli" -version = "3.0.0+20220221" +version = "3.1.0+20220221" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firestore (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/firestore1-cli" @@ -20,12 +20,12 @@ name = "firestore1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-firestore1] path = "../firestore1" -version = "3.0.0+20220221" +version = "3.1.0+20220221" diff --git a/gen/firestore1-cli/README.md b/gen/firestore1-cli/README.md index 2c8aa5f9c0..f7b1b01cfc 100644 --- a/gen/firestore1-cli/README.md +++ b/gen/firestore1-cli/README.md @@ -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 *Firestore* API at revision *20220221*. The CLI is at version *3.0.0*. +This documentation was generated from the *Firestore* API at revision *20220221*. The CLI is at version *3.1.0*. ```bash firestore1 [options] diff --git a/gen/firestore1-cli/mkdocs.yml b/gen/firestore1-cli/mkdocs.yml index 1dd44b0d74..13f948f559 100644 --- a/gen/firestore1-cli/mkdocs.yml +++ b/gen/firestore1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Firestore v3.0.0+20220221 +site_name: Firestore v3.1.0+20220221 site_url: http://byron.github.io/google-apis-rs/google-firestore1-cli site_description: A complete library to interact with Firestore (protocol v1) diff --git a/gen/firestore1-cli/src/main.rs b/gen/firestore1-cli/src/main.rs index 0d761efcbb..1552904fcb 100644 --- a/gen/firestore1-cli/src/main.rs +++ b/gen/firestore1-cli/src/main.rs @@ -2697,7 +2697,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/firestore1", 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::Firestore::new(client, auth), @@ -3585,7 +3591,7 @@ async fn main() { let mut app = App::new("firestore1") .author("Sebastian Thiel ") - .version("3.0.0+20220221") + .version("3.1.0+20220221") .about("Accesses the NoSQL document database built for automatic scaling, high performance, and ease of application development. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_firestore1_cli") .arg(Arg::with_name("url") diff --git a/gen/firestore1/Cargo.toml b/gen/firestore1/Cargo.toml index 181ee19004..ae73a58dd8 100644 --- a/gen/firestore1/Cargo.toml +++ b/gen/firestore1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-firestore1" -version = "3.0.0+20220221" +version = "3.1.0+20220221" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firestore (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/firestore1" homepage = "https://cloud.google.com/firestore" -documentation = "https://docs.rs/google-firestore1/3.0.0+20220221" +documentation = "https://docs.rs/google-firestore1/3.1.0+20220221" license = "MIT" keywords = ["firestore", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/firestore1/README.md b/gen/firestore1/README.md index 1debf825f1..dcc0c366ff 100644 --- a/gen/firestore1/README.md +++ b/gen/firestore1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-firestore1` library allows access to all features of the *Google Firestore* service. -This documentation was generated from *Firestore* crate version *3.0.0+20220221*, where *20220221* is the exact revision of the *firestore:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Firestore* crate version *3.1.0+20220221*, where *20220221* is the exact revision of the *firestore:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Firestore* *v1* API can be found at the [official documentation site](https://cloud.google.com/firestore). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/Firestore) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/Firestore) ... * projects - * [*databases collection groups fields get*](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/api::ProjectDatabaseCollectionGroupFieldGetCall), [*databases collection groups fields list*](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/api::ProjectDatabaseCollectionGroupFieldListCall), [*databases collection groups fields patch*](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/api::ProjectDatabaseCollectionGroupFieldPatchCall), [*databases collection groups indexes create*](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/api::ProjectDatabaseCollectionGroupIndexeCreateCall), [*databases collection groups indexes delete*](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/api::ProjectDatabaseCollectionGroupIndexeDeleteCall), [*databases collection groups indexes get*](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/api::ProjectDatabaseCollectionGroupIndexeGetCall), [*databases collection groups indexes list*](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/api::ProjectDatabaseCollectionGroupIndexeListCall), [*databases documents batch get*](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/api::ProjectDatabaseDocumentBatchGetCall), [*databases documents batch write*](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/api::ProjectDatabaseDocumentBatchWriteCall), [*databases documents begin transaction*](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/api::ProjectDatabaseDocumentBeginTransactionCall), [*databases documents commit*](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/api::ProjectDatabaseDocumentCommitCall), [*databases documents create document*](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/api::ProjectDatabaseDocumentCreateDocumentCall), [*databases documents delete*](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/api::ProjectDatabaseDocumentDeleteCall), [*databases documents get*](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/api::ProjectDatabaseDocumentGetCall), [*databases documents list*](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/api::ProjectDatabaseDocumentListCall), [*databases documents list collection ids*](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/api::ProjectDatabaseDocumentListCollectionIdCall), [*databases documents listen*](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/api::ProjectDatabaseDocumentListenCall), [*databases documents partition query*](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/api::ProjectDatabaseDocumentPartitionQueryCall), [*databases documents patch*](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/api::ProjectDatabaseDocumentPatchCall), [*databases documents rollback*](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/api::ProjectDatabaseDocumentRollbackCall), [*databases documents run query*](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/api::ProjectDatabaseDocumentRunQueryCall), [*databases documents write*](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/api::ProjectDatabaseDocumentWriteCall), [*databases export documents*](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/api::ProjectDatabaseExportDocumentCall), [*databases get*](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/api::ProjectDatabaseGetCall), [*databases import documents*](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/api::ProjectDatabaseImportDocumentCall), [*databases list*](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/api::ProjectDatabaseListCall), [*databases operations cancel*](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/api::ProjectDatabaseOperationCancelCall), [*databases operations delete*](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/api::ProjectDatabaseOperationDeleteCall), [*databases operations get*](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/api::ProjectDatabaseOperationGetCall), [*databases operations list*](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/api::ProjectDatabaseOperationListCall), [*databases patch*](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/api::ProjectDatabasePatchCall), [*locations get*](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/api::ProjectLocationGetCall) and [*locations list*](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/api::ProjectLocationListCall) + * [*databases collection groups fields get*](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/api::ProjectDatabaseCollectionGroupFieldGetCall), [*databases collection groups fields list*](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/api::ProjectDatabaseCollectionGroupFieldListCall), [*databases collection groups fields patch*](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/api::ProjectDatabaseCollectionGroupFieldPatchCall), [*databases collection groups indexes create*](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/api::ProjectDatabaseCollectionGroupIndexeCreateCall), [*databases collection groups indexes delete*](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/api::ProjectDatabaseCollectionGroupIndexeDeleteCall), [*databases collection groups indexes get*](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/api::ProjectDatabaseCollectionGroupIndexeGetCall), [*databases collection groups indexes list*](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/api::ProjectDatabaseCollectionGroupIndexeListCall), [*databases documents batch get*](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/api::ProjectDatabaseDocumentBatchGetCall), [*databases documents batch write*](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/api::ProjectDatabaseDocumentBatchWriteCall), [*databases documents begin transaction*](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/api::ProjectDatabaseDocumentBeginTransactionCall), [*databases documents commit*](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/api::ProjectDatabaseDocumentCommitCall), [*databases documents create document*](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/api::ProjectDatabaseDocumentCreateDocumentCall), [*databases documents delete*](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/api::ProjectDatabaseDocumentDeleteCall), [*databases documents get*](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/api::ProjectDatabaseDocumentGetCall), [*databases documents list*](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/api::ProjectDatabaseDocumentListCall), [*databases documents list collection ids*](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/api::ProjectDatabaseDocumentListCollectionIdCall), [*databases documents listen*](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/api::ProjectDatabaseDocumentListenCall), [*databases documents partition query*](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/api::ProjectDatabaseDocumentPartitionQueryCall), [*databases documents patch*](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/api::ProjectDatabaseDocumentPatchCall), [*databases documents rollback*](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/api::ProjectDatabaseDocumentRollbackCall), [*databases documents run query*](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/api::ProjectDatabaseDocumentRunQueryCall), [*databases documents write*](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/api::ProjectDatabaseDocumentWriteCall), [*databases export documents*](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/api::ProjectDatabaseExportDocumentCall), [*databases get*](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/api::ProjectDatabaseGetCall), [*databases import documents*](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/api::ProjectDatabaseImportDocumentCall), [*databases list*](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/api::ProjectDatabaseListCall), [*databases operations cancel*](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/api::ProjectDatabaseOperationCancelCall), [*databases operations delete*](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/api::ProjectDatabaseOperationDeleteCall), [*databases operations get*](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/api::ProjectDatabaseOperationGetCall), [*databases operations list*](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/api::ProjectDatabaseOperationListCall), [*databases patch*](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/api::ProjectDatabasePatchCall), [*locations get*](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/api::ProjectLocationGetCall) and [*locations list*](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/api::ProjectLocationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/Firestore)** +* **[Hub](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/Firestore)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/client::CallBuilder) -* **[Resources](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/client::CallBuilder) +* **[Resources](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/client::Part)** + * **[Parts](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -96,7 +96,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -130,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -150,29 +150,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/client::Delegate) to the -[Method Builder](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/client::Delegate) to the +[Method Builder](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/client::RequestValue) and -[decodable](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/client::RequestValue) and +[decodable](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-firestore1/3.0.0+20220221/google_firestore1/client::RequestValue) are moved +* [request values](https://docs.rs/google-firestore1/3.1.0+20220221/google_firestore1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/firestore1/src/api.rs b/gen/firestore1/src/api.rs index fcaa1cd341..5fbfdb4be2 100644 --- a/gen/firestore1/src/api.rs +++ b/gen/firestore1/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -124,7 +124,7 @@ impl<'a, > Firestore<> { Firestore { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://firestore.googleapis.com/".to_string(), _root_url: "https://firestore.googleapis.com/".to_string(), } @@ -135,7 +135,7 @@ impl<'a, > Firestore<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1633,7 +1633,7 @@ impl client::Part for WriteResult {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `databases_collection_groups_fields_get(...)`, `databases_collection_groups_fields_list(...)`, `databases_collection_groups_fields_patch(...)`, `databases_collection_groups_indexes_create(...)`, `databases_collection_groups_indexes_delete(...)`, `databases_collection_groups_indexes_get(...)`, `databases_collection_groups_indexes_list(...)`, `databases_documents_batch_get(...)`, `databases_documents_batch_write(...)`, `databases_documents_begin_transaction(...)`, `databases_documents_commit(...)`, `databases_documents_create_document(...)`, `databases_documents_delete(...)`, `databases_documents_get(...)`, `databases_documents_list(...)`, `databases_documents_list_collection_ids(...)`, `databases_documents_listen(...)`, `databases_documents_partition_query(...)`, `databases_documents_patch(...)`, `databases_documents_rollback(...)`, `databases_documents_run_query(...)`, `databases_documents_write(...)`, `databases_export_documents(...)`, `databases_get(...)`, `databases_import_documents(...)`, `databases_list(...)`, `databases_operations_cancel(...)`, `databases_operations_delete(...)`, `databases_operations_get(...)`, `databases_operations_list(...)`, `databases_patch(...)`, `locations_get(...)` and `locations_list(...)` /// // to build up your call. @@ -2314,7 +2314,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2570,7 +2570,7 @@ impl<'a> ProjectDatabaseCollectionGroupFieldGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2863,7 +2863,7 @@ impl<'a> ProjectDatabaseCollectionGroupFieldListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3161,7 +3161,7 @@ impl<'a> ProjectDatabaseCollectionGroupFieldPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3446,7 +3446,7 @@ impl<'a> ProjectDatabaseCollectionGroupIndexeCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3702,7 +3702,7 @@ impl<'a> ProjectDatabaseCollectionGroupIndexeDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3958,7 +3958,7 @@ impl<'a> ProjectDatabaseCollectionGroupIndexeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4251,7 +4251,7 @@ impl<'a> ProjectDatabaseCollectionGroupIndexeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4537,7 +4537,7 @@ impl<'a> ProjectDatabaseDocumentBatchGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4823,7 +4823,7 @@ impl<'a> ProjectDatabaseDocumentBatchWriteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5109,7 +5109,7 @@ impl<'a> ProjectDatabaseDocumentBeginTransactionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5395,7 +5395,7 @@ impl<'a> ProjectDatabaseDocumentCommitCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5719,7 +5719,7 @@ impl<'a> ProjectDatabaseDocumentCreateDocumentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5999,7 +5999,7 @@ impl<'a> ProjectDatabaseDocumentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6294,7 +6294,7 @@ impl<'a> ProjectDatabaseDocumentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6650,7 +6650,7 @@ impl<'a> ProjectDatabaseDocumentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6936,7 +6936,7 @@ impl<'a> ProjectDatabaseDocumentListCollectionIdCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7222,7 +7222,7 @@ impl<'a> ProjectDatabaseDocumentListenCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7508,7 +7508,7 @@ impl<'a> ProjectDatabaseDocumentPartitionQueryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7848,7 +7848,7 @@ impl<'a> ProjectDatabaseDocumentPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8134,7 +8134,7 @@ impl<'a> ProjectDatabaseDocumentRollbackCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8420,7 +8420,7 @@ impl<'a> ProjectDatabaseDocumentRunQueryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8706,7 +8706,7 @@ impl<'a> ProjectDatabaseDocumentWriteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8991,7 +8991,7 @@ impl<'a> ProjectDatabaseOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9247,7 +9247,7 @@ impl<'a> ProjectDatabaseOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9503,7 +9503,7 @@ impl<'a> ProjectDatabaseOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9796,7 +9796,7 @@ impl<'a> ProjectDatabaseOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10081,7 +10081,7 @@ impl<'a> ProjectDatabaseExportDocumentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10338,7 +10338,7 @@ impl<'a> ProjectDatabaseGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10623,7 +10623,7 @@ impl<'a> ProjectDatabaseImportDocumentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10880,7 +10880,7 @@ impl<'a> ProjectDatabaseListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11177,7 +11177,7 @@ impl<'a> ProjectDatabasePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11433,7 +11433,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/firestore1/src/lib.rs b/gen/firestore1/src/lib.rs index d62d5ab642..8267f463cc 100644 --- a/gen/firestore1/src/lib.rs +++ b/gen/firestore1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Firestore* crate version *3.0.0+20220221*, where *20220221* is the exact revision of the *firestore:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Firestore* crate version *3.1.0+20220221*, where *20220221* is the exact revision of the *firestore:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Firestore* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/firestore). @@ -97,7 +97,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/firestore1_beta1-cli/Cargo.toml b/gen/firestore1_beta1-cli/Cargo.toml index 5902640f3e..245d8b2887 100644 --- a/gen/firestore1_beta1-cli/Cargo.toml +++ b/gen/firestore1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-firestore1_beta1-cli" -version = "3.0.0+20220221" +version = "3.1.0+20220221" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firestore (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/firestore1_beta1-cli" @@ -20,12 +20,12 @@ name = "firestore1-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-firestore1_beta1] path = "../firestore1_beta1" -version = "3.0.0+20220221" +version = "3.1.0+20220221" diff --git a/gen/firestore1_beta1-cli/README.md b/gen/firestore1_beta1-cli/README.md index 8b3f875498..05402587cd 100644 --- a/gen/firestore1_beta1-cli/README.md +++ b/gen/firestore1_beta1-cli/README.md @@ -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 *Firestore* API at revision *20220221*. The CLI is at version *3.0.0*. +This documentation was generated from the *Firestore* API at revision *20220221*. The CLI is at version *3.1.0*. ```bash firestore1-beta1 [options] diff --git a/gen/firestore1_beta1-cli/mkdocs.yml b/gen/firestore1_beta1-cli/mkdocs.yml index 2d12d43793..333cc9ff60 100644 --- a/gen/firestore1_beta1-cli/mkdocs.yml +++ b/gen/firestore1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Firestore v3.0.0+20220221 +site_name: Firestore v3.1.0+20220221 site_url: http://byron.github.io/google-apis-rs/google-firestore1_beta1-cli site_description: A complete library to interact with Firestore (protocol v1beta1) diff --git a/gen/firestore1_beta1-cli/src/main.rs b/gen/firestore1_beta1-cli/src/main.rs index c7cd9f3f55..430aadb579 100644 --- a/gen/firestore1_beta1-cli/src/main.rs +++ b/gen/firestore1_beta1-cli/src/main.rs @@ -1894,7 +1894,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/firestore1-beta1", 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::Firestore::new(client, auth), @@ -2500,7 +2506,7 @@ async fn main() { let mut app = App::new("firestore1-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20220221") + .version("3.1.0+20220221") .about("Accesses the NoSQL document database built for automatic scaling, high performance, and ease of application development. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_firestore1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/firestore1_beta1/Cargo.toml b/gen/firestore1_beta1/Cargo.toml index 800a042611..db1f4529af 100644 --- a/gen/firestore1_beta1/Cargo.toml +++ b/gen/firestore1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-firestore1_beta1" -version = "3.0.0+20220221" +version = "3.1.0+20220221" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firestore (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/firestore1_beta1" homepage = "https://cloud.google.com/firestore" -documentation = "https://docs.rs/google-firestore1_beta1/3.0.0+20220221" +documentation = "https://docs.rs/google-firestore1_beta1/3.1.0+20220221" license = "MIT" keywords = ["firestore", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/firestore1_beta1/README.md b/gen/firestore1_beta1/README.md index 821f3f0f84..e5340ec5f3 100644 --- a/gen/firestore1_beta1/README.md +++ b/gen/firestore1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-firestore1_beta1` library allows access to all features of the *Google Firestore* service. -This documentation was generated from *Firestore* crate version *3.0.0+20220221*, where *20220221* is the exact revision of the *firestore:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Firestore* crate version *3.1.0+20220221*, where *20220221* is the exact revision of the *firestore:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Firestore* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/firestore). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firestore1_beta1/3.0.0+20220221/google_firestore1_beta1/Firestore) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firestore1_beta1/3.1.0+20220221/google_firestore1_beta1/Firestore) ... * projects - * [*databases documents batch get*](https://docs.rs/google-firestore1_beta1/3.0.0+20220221/google_firestore1_beta1/api::ProjectDatabaseDocumentBatchGetCall), [*databases documents batch write*](https://docs.rs/google-firestore1_beta1/3.0.0+20220221/google_firestore1_beta1/api::ProjectDatabaseDocumentBatchWriteCall), [*databases documents begin transaction*](https://docs.rs/google-firestore1_beta1/3.0.0+20220221/google_firestore1_beta1/api::ProjectDatabaseDocumentBeginTransactionCall), [*databases documents commit*](https://docs.rs/google-firestore1_beta1/3.0.0+20220221/google_firestore1_beta1/api::ProjectDatabaseDocumentCommitCall), [*databases documents create document*](https://docs.rs/google-firestore1_beta1/3.0.0+20220221/google_firestore1_beta1/api::ProjectDatabaseDocumentCreateDocumentCall), [*databases documents delete*](https://docs.rs/google-firestore1_beta1/3.0.0+20220221/google_firestore1_beta1/api::ProjectDatabaseDocumentDeleteCall), [*databases documents get*](https://docs.rs/google-firestore1_beta1/3.0.0+20220221/google_firestore1_beta1/api::ProjectDatabaseDocumentGetCall), [*databases documents list*](https://docs.rs/google-firestore1_beta1/3.0.0+20220221/google_firestore1_beta1/api::ProjectDatabaseDocumentListCall), [*databases documents list collection ids*](https://docs.rs/google-firestore1_beta1/3.0.0+20220221/google_firestore1_beta1/api::ProjectDatabaseDocumentListCollectionIdCall), [*databases documents listen*](https://docs.rs/google-firestore1_beta1/3.0.0+20220221/google_firestore1_beta1/api::ProjectDatabaseDocumentListenCall), [*databases documents partition query*](https://docs.rs/google-firestore1_beta1/3.0.0+20220221/google_firestore1_beta1/api::ProjectDatabaseDocumentPartitionQueryCall), [*databases documents patch*](https://docs.rs/google-firestore1_beta1/3.0.0+20220221/google_firestore1_beta1/api::ProjectDatabaseDocumentPatchCall), [*databases documents rollback*](https://docs.rs/google-firestore1_beta1/3.0.0+20220221/google_firestore1_beta1/api::ProjectDatabaseDocumentRollbackCall), [*databases documents run query*](https://docs.rs/google-firestore1_beta1/3.0.0+20220221/google_firestore1_beta1/api::ProjectDatabaseDocumentRunQueryCall), [*databases documents write*](https://docs.rs/google-firestore1_beta1/3.0.0+20220221/google_firestore1_beta1/api::ProjectDatabaseDocumentWriteCall), [*databases export documents*](https://docs.rs/google-firestore1_beta1/3.0.0+20220221/google_firestore1_beta1/api::ProjectDatabaseExportDocumentCall), [*databases import documents*](https://docs.rs/google-firestore1_beta1/3.0.0+20220221/google_firestore1_beta1/api::ProjectDatabaseImportDocumentCall), [*databases indexes create*](https://docs.rs/google-firestore1_beta1/3.0.0+20220221/google_firestore1_beta1/api::ProjectDatabaseIndexeCreateCall), [*databases indexes delete*](https://docs.rs/google-firestore1_beta1/3.0.0+20220221/google_firestore1_beta1/api::ProjectDatabaseIndexeDeleteCall), [*databases indexes get*](https://docs.rs/google-firestore1_beta1/3.0.0+20220221/google_firestore1_beta1/api::ProjectDatabaseIndexeGetCall) and [*databases indexes list*](https://docs.rs/google-firestore1_beta1/3.0.0+20220221/google_firestore1_beta1/api::ProjectDatabaseIndexeListCall) + * [*databases documents batch get*](https://docs.rs/google-firestore1_beta1/3.1.0+20220221/google_firestore1_beta1/api::ProjectDatabaseDocumentBatchGetCall), [*databases documents batch write*](https://docs.rs/google-firestore1_beta1/3.1.0+20220221/google_firestore1_beta1/api::ProjectDatabaseDocumentBatchWriteCall), [*databases documents begin transaction*](https://docs.rs/google-firestore1_beta1/3.1.0+20220221/google_firestore1_beta1/api::ProjectDatabaseDocumentBeginTransactionCall), [*databases documents commit*](https://docs.rs/google-firestore1_beta1/3.1.0+20220221/google_firestore1_beta1/api::ProjectDatabaseDocumentCommitCall), [*databases documents create document*](https://docs.rs/google-firestore1_beta1/3.1.0+20220221/google_firestore1_beta1/api::ProjectDatabaseDocumentCreateDocumentCall), [*databases documents delete*](https://docs.rs/google-firestore1_beta1/3.1.0+20220221/google_firestore1_beta1/api::ProjectDatabaseDocumentDeleteCall), [*databases documents get*](https://docs.rs/google-firestore1_beta1/3.1.0+20220221/google_firestore1_beta1/api::ProjectDatabaseDocumentGetCall), [*databases documents list*](https://docs.rs/google-firestore1_beta1/3.1.0+20220221/google_firestore1_beta1/api::ProjectDatabaseDocumentListCall), [*databases documents list collection ids*](https://docs.rs/google-firestore1_beta1/3.1.0+20220221/google_firestore1_beta1/api::ProjectDatabaseDocumentListCollectionIdCall), [*databases documents listen*](https://docs.rs/google-firestore1_beta1/3.1.0+20220221/google_firestore1_beta1/api::ProjectDatabaseDocumentListenCall), [*databases documents partition query*](https://docs.rs/google-firestore1_beta1/3.1.0+20220221/google_firestore1_beta1/api::ProjectDatabaseDocumentPartitionQueryCall), [*databases documents patch*](https://docs.rs/google-firestore1_beta1/3.1.0+20220221/google_firestore1_beta1/api::ProjectDatabaseDocumentPatchCall), [*databases documents rollback*](https://docs.rs/google-firestore1_beta1/3.1.0+20220221/google_firestore1_beta1/api::ProjectDatabaseDocumentRollbackCall), [*databases documents run query*](https://docs.rs/google-firestore1_beta1/3.1.0+20220221/google_firestore1_beta1/api::ProjectDatabaseDocumentRunQueryCall), [*databases documents write*](https://docs.rs/google-firestore1_beta1/3.1.0+20220221/google_firestore1_beta1/api::ProjectDatabaseDocumentWriteCall), [*databases export documents*](https://docs.rs/google-firestore1_beta1/3.1.0+20220221/google_firestore1_beta1/api::ProjectDatabaseExportDocumentCall), [*databases import documents*](https://docs.rs/google-firestore1_beta1/3.1.0+20220221/google_firestore1_beta1/api::ProjectDatabaseImportDocumentCall), [*databases indexes create*](https://docs.rs/google-firestore1_beta1/3.1.0+20220221/google_firestore1_beta1/api::ProjectDatabaseIndexeCreateCall), [*databases indexes delete*](https://docs.rs/google-firestore1_beta1/3.1.0+20220221/google_firestore1_beta1/api::ProjectDatabaseIndexeDeleteCall), [*databases indexes get*](https://docs.rs/google-firestore1_beta1/3.1.0+20220221/google_firestore1_beta1/api::ProjectDatabaseIndexeGetCall) and [*databases indexes list*](https://docs.rs/google-firestore1_beta1/3.1.0+20220221/google_firestore1_beta1/api::ProjectDatabaseIndexeListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-firestore1_beta1/3.0.0+20220221/google_firestore1_beta1/Firestore)** +* **[Hub](https://docs.rs/google-firestore1_beta1/3.1.0+20220221/google_firestore1_beta1/Firestore)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-firestore1_beta1/3.0.0+20220221/google_firestore1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-firestore1_beta1/3.0.0+20220221/google_firestore1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-firestore1_beta1/3.0.0+20220221/google_firestore1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-firestore1_beta1/3.1.0+20220221/google_firestore1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-firestore1_beta1/3.1.0+20220221/google_firestore1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-firestore1_beta1/3.1.0+20220221/google_firestore1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-firestore1_beta1/3.0.0+20220221/google_firestore1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-firestore1_beta1/3.1.0+20220221/google_firestore1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-firestore1_beta1/3.0.0+20220221/google_firestore1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-firestore1_beta1/3.1.0+20220221/google_firestore1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -93,7 +93,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -126,17 +126,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-firestore1_beta1/3.0.0+20220221/google_firestore1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-firestore1_beta1/3.1.0+20220221/google_firestore1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-firestore1_beta1/3.0.0+20220221/google_firestore1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-firestore1_beta1/3.1.0+20220221/google_firestore1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-firestore1_beta1/3.0.0+20220221/google_firestore1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-firestore1_beta1/3.1.0+20220221/google_firestore1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-firestore1_beta1/3.0.0+20220221/google_firestore1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-firestore1_beta1/3.1.0+20220221/google_firestore1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -146,29 +146,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-firestore1_beta1/3.0.0+20220221/google_firestore1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-firestore1_beta1/3.0.0+20220221/google_firestore1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-firestore1_beta1/3.1.0+20220221/google_firestore1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-firestore1_beta1/3.1.0+20220221/google_firestore1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-firestore1_beta1/3.0.0+20220221/google_firestore1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-firestore1_beta1/3.1.0+20220221/google_firestore1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-firestore1_beta1/3.0.0+20220221/google_firestore1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-firestore1_beta1/3.0.0+20220221/google_firestore1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-firestore1_beta1/3.1.0+20220221/google_firestore1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-firestore1_beta1/3.1.0+20220221/google_firestore1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-firestore1_beta1/3.0.0+20220221/google_firestore1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-firestore1_beta1/3.1.0+20220221/google_firestore1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-firestore1_beta1/3.0.0+20220221/google_firestore1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-firestore1_beta1/3.1.0+20220221/google_firestore1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-firestore1_beta1/3.0.0+20220221/google_firestore1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-firestore1_beta1/3.1.0+20220221/google_firestore1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/firestore1_beta1/src/api.rs b/gen/firestore1_beta1/src/api.rs index 3d2b773583..79b94897fd 100644 --- a/gen/firestore1_beta1/src/api.rs +++ b/gen/firestore1_beta1/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -123,7 +123,7 @@ impl<'a, > Firestore<> { Firestore { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://firestore.googleapis.com/".to_string(), _root_url: "https://firestore.googleapis.com/".to_string(), } @@ -134,7 +134,7 @@ impl<'a, > Firestore<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1425,7 +1425,7 @@ impl client::Part for WriteResult {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `databases_documents_batch_get(...)`, `databases_documents_batch_write(...)`, `databases_documents_begin_transaction(...)`, `databases_documents_commit(...)`, `databases_documents_create_document(...)`, `databases_documents_delete(...)`, `databases_documents_get(...)`, `databases_documents_list(...)`, `databases_documents_list_collection_ids(...)`, `databases_documents_listen(...)`, `databases_documents_partition_query(...)`, `databases_documents_patch(...)`, `databases_documents_rollback(...)`, `databases_documents_run_query(...)`, `databases_documents_write(...)`, `databases_export_documents(...)`, `databases_import_documents(...)`, `databases_indexes_create(...)`, `databases_indexes_delete(...)`, `databases_indexes_get(...)` and `databases_indexes_list(...)` /// // to build up your call. @@ -1886,7 +1886,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2172,7 +2172,7 @@ impl<'a> ProjectDatabaseDocumentBatchGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2458,7 +2458,7 @@ impl<'a> ProjectDatabaseDocumentBatchWriteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2744,7 +2744,7 @@ impl<'a> ProjectDatabaseDocumentBeginTransactionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3030,7 +3030,7 @@ impl<'a> ProjectDatabaseDocumentCommitCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3354,7 +3354,7 @@ impl<'a> ProjectDatabaseDocumentCreateDocumentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3634,7 +3634,7 @@ impl<'a> ProjectDatabaseDocumentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3929,7 +3929,7 @@ impl<'a> ProjectDatabaseDocumentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4285,7 +4285,7 @@ impl<'a> ProjectDatabaseDocumentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4571,7 +4571,7 @@ impl<'a> ProjectDatabaseDocumentListCollectionIdCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4857,7 +4857,7 @@ impl<'a> ProjectDatabaseDocumentListenCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5143,7 +5143,7 @@ impl<'a> ProjectDatabaseDocumentPartitionQueryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5483,7 +5483,7 @@ impl<'a> ProjectDatabaseDocumentPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5769,7 +5769,7 @@ impl<'a> ProjectDatabaseDocumentRollbackCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6055,7 +6055,7 @@ impl<'a> ProjectDatabaseDocumentRunQueryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6341,7 +6341,7 @@ impl<'a> ProjectDatabaseDocumentWriteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6626,7 +6626,7 @@ impl<'a> ProjectDatabaseIndexeCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6882,7 +6882,7 @@ impl<'a> ProjectDatabaseIndexeDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7138,7 +7138,7 @@ impl<'a> ProjectDatabaseIndexeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7430,7 +7430,7 @@ impl<'a> ProjectDatabaseIndexeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7716,7 +7716,7 @@ impl<'a> ProjectDatabaseExportDocumentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/firestore1_beta1/src/lib.rs b/gen/firestore1_beta1/src/lib.rs index 41c560bb57..dfab4e935b 100644 --- a/gen/firestore1_beta1/src/lib.rs +++ b/gen/firestore1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Firestore* crate version *3.0.0+20220221*, where *20220221* is the exact revision of the *firestore:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Firestore* crate version *3.1.0+20220221*, where *20220221* is the exact revision of the *firestore:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Firestore* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/firestore). @@ -94,7 +94,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Firestore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/fitness1-cli/Cargo.toml b/gen/fitness1-cli/Cargo.toml index bca425d6d6..dacd1720c8 100644 --- a/gen/fitness1-cli/Cargo.toml +++ b/gen/fitness1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-fitness1-cli" -version = "3.0.0+20220302" +version = "3.1.0+20220302" authors = ["Sebastian Thiel "] description = "A complete library to interact with fitness (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/fitness1-cli" @@ -20,12 +20,12 @@ name = "fitness1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-fitness1] path = "../fitness1" -version = "3.0.0+20220302" +version = "3.1.0+20220302" diff --git a/gen/fitness1-cli/README.md b/gen/fitness1-cli/README.md index af24a25888..663e847913 100644 --- a/gen/fitness1-cli/README.md +++ b/gen/fitness1-cli/README.md @@ -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 *fitness* API at revision *20220302*. The CLI is at version *3.0.0*. +This documentation was generated from the *fitness* API at revision *20220302*. The CLI is at version *3.1.0*. ```bash fitness1 [options] diff --git a/gen/fitness1-cli/mkdocs.yml b/gen/fitness1-cli/mkdocs.yml index c6a2353d56..85b607c3b7 100644 --- a/gen/fitness1-cli/mkdocs.yml +++ b/gen/fitness1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: fitness v3.0.0+20220302 +site_name: fitness v3.1.0+20220302 site_url: http://byron.github.io/google-apis-rs/google-fitness1-cli site_description: A complete library to interact with fitness (protocol v1) diff --git a/gen/fitness1-cli/src/main.rs b/gen/fitness1-cli/src/main.rs index 2d116ff30c..0b24e0ea1b 100644 --- a/gen/fitness1-cli/src/main.rs +++ b/gen/fitness1-cli/src/main.rs @@ -1040,7 +1040,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/fitness1", 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::Fitness::new(client, auth), @@ -1458,7 +1464,7 @@ async fn main() { let mut app = App::new("fitness1") .author("Sebastian Thiel ") - .version("3.0.0+20220302") + .version("3.1.0+20220302") .about("The Fitness API for managing users' fitness tracking data.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_fitness1_cli") .arg(Arg::with_name("url") diff --git a/gen/fitness1/Cargo.toml b/gen/fitness1/Cargo.toml index abe0ab716d..49c76a59f9 100644 --- a/gen/fitness1/Cargo.toml +++ b/gen/fitness1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-fitness1" -version = "3.0.0+20220302" +version = "3.1.0+20220302" authors = ["Sebastian Thiel "] description = "A complete library to interact with fitness (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/fitness1" homepage = "https://developers.google.com/fit/rest/v1/get-started" -documentation = "https://docs.rs/google-fitness1/3.0.0+20220302" +documentation = "https://docs.rs/google-fitness1/3.1.0+20220302" license = "MIT" keywords = ["fitness", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/fitness1/README.md b/gen/fitness1/README.md index 6e847f3e39..f1ce46c90c 100644 --- a/gen/fitness1/README.md +++ b/gen/fitness1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-fitness1` library allows access to all features of the *Google fitness* service. -This documentation was generated from *fitness* crate version *3.0.0+20220302*, where *20220302* is the exact revision of the *fitness:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *fitness* crate version *3.1.0+20220302*, where *20220302* is the exact revision of the *fitness:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *fitness* *v1* API can be found at the [official documentation site](https://developers.google.com/fit/rest/v1/get-started). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-fitness1/3.0.0+20220302/google_fitness1/Fitness) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-fitness1/3.1.0+20220302/google_fitness1/Fitness) ... * users - * [*data sources create*](https://docs.rs/google-fitness1/3.0.0+20220302/google_fitness1/api::UserDataSourceCreateCall), [*data sources data point changes list*](https://docs.rs/google-fitness1/3.0.0+20220302/google_fitness1/api::UserDataSourceDataPointChangeListCall), [*data sources datasets delete*](https://docs.rs/google-fitness1/3.0.0+20220302/google_fitness1/api::UserDataSourceDatasetDeleteCall), [*data sources datasets get*](https://docs.rs/google-fitness1/3.0.0+20220302/google_fitness1/api::UserDataSourceDatasetGetCall), [*data sources datasets patch*](https://docs.rs/google-fitness1/3.0.0+20220302/google_fitness1/api::UserDataSourceDatasetPatchCall), [*data sources delete*](https://docs.rs/google-fitness1/3.0.0+20220302/google_fitness1/api::UserDataSourceDeleteCall), [*data sources get*](https://docs.rs/google-fitness1/3.0.0+20220302/google_fitness1/api::UserDataSourceGetCall), [*data sources list*](https://docs.rs/google-fitness1/3.0.0+20220302/google_fitness1/api::UserDataSourceListCall), [*data sources update*](https://docs.rs/google-fitness1/3.0.0+20220302/google_fitness1/api::UserDataSourceUpdateCall), [*dataset aggregate*](https://docs.rs/google-fitness1/3.0.0+20220302/google_fitness1/api::UserDatasetAggregateCall), [*sessions delete*](https://docs.rs/google-fitness1/3.0.0+20220302/google_fitness1/api::UserSessionDeleteCall), [*sessions list*](https://docs.rs/google-fitness1/3.0.0+20220302/google_fitness1/api::UserSessionListCall) and [*sessions update*](https://docs.rs/google-fitness1/3.0.0+20220302/google_fitness1/api::UserSessionUpdateCall) + * [*data sources create*](https://docs.rs/google-fitness1/3.1.0+20220302/google_fitness1/api::UserDataSourceCreateCall), [*data sources data point changes list*](https://docs.rs/google-fitness1/3.1.0+20220302/google_fitness1/api::UserDataSourceDataPointChangeListCall), [*data sources datasets delete*](https://docs.rs/google-fitness1/3.1.0+20220302/google_fitness1/api::UserDataSourceDatasetDeleteCall), [*data sources datasets get*](https://docs.rs/google-fitness1/3.1.0+20220302/google_fitness1/api::UserDataSourceDatasetGetCall), [*data sources datasets patch*](https://docs.rs/google-fitness1/3.1.0+20220302/google_fitness1/api::UserDataSourceDatasetPatchCall), [*data sources delete*](https://docs.rs/google-fitness1/3.1.0+20220302/google_fitness1/api::UserDataSourceDeleteCall), [*data sources get*](https://docs.rs/google-fitness1/3.1.0+20220302/google_fitness1/api::UserDataSourceGetCall), [*data sources list*](https://docs.rs/google-fitness1/3.1.0+20220302/google_fitness1/api::UserDataSourceListCall), [*data sources update*](https://docs.rs/google-fitness1/3.1.0+20220302/google_fitness1/api::UserDataSourceUpdateCall), [*dataset aggregate*](https://docs.rs/google-fitness1/3.1.0+20220302/google_fitness1/api::UserDatasetAggregateCall), [*sessions delete*](https://docs.rs/google-fitness1/3.1.0+20220302/google_fitness1/api::UserSessionDeleteCall), [*sessions list*](https://docs.rs/google-fitness1/3.1.0+20220302/google_fitness1/api::UserSessionListCall) and [*sessions update*](https://docs.rs/google-fitness1/3.1.0+20220302/google_fitness1/api::UserSessionUpdateCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-fitness1/3.0.0+20220302/google_fitness1/Fitness)** +* **[Hub](https://docs.rs/google-fitness1/3.1.0+20220302/google_fitness1/Fitness)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-fitness1/3.0.0+20220302/google_fitness1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-fitness1/3.0.0+20220302/google_fitness1/client::CallBuilder) -* **[Resources](https://docs.rs/google-fitness1/3.0.0+20220302/google_fitness1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-fitness1/3.1.0+20220302/google_fitness1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-fitness1/3.1.0+20220302/google_fitness1/client::CallBuilder) +* **[Resources](https://docs.rs/google-fitness1/3.1.0+20220302/google_fitness1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-fitness1/3.0.0+20220302/google_fitness1/client::Part)** + * **[Parts](https://docs.rs/google-fitness1/3.1.0+20220302/google_fitness1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-fitness1/3.0.0+20220302/google_fitness1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-fitness1/3.1.0+20220302/google_fitness1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -94,7 +94,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Fitness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Fitness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -127,17 +127,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-fitness1/3.0.0+20220302/google_fitness1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-fitness1/3.1.0+20220302/google_fitness1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-fitness1/3.0.0+20220302/google_fitness1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-fitness1/3.1.0+20220302/google_fitness1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-fitness1/3.0.0+20220302/google_fitness1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-fitness1/3.1.0+20220302/google_fitness1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-fitness1/3.0.0+20220302/google_fitness1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-fitness1/3.1.0+20220302/google_fitness1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -147,29 +147,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-fitness1/3.0.0+20220302/google_fitness1/client::Delegate) to the -[Method Builder](https://docs.rs/google-fitness1/3.0.0+20220302/google_fitness1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-fitness1/3.1.0+20220302/google_fitness1/client::Delegate) to the +[Method Builder](https://docs.rs/google-fitness1/3.1.0+20220302/google_fitness1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-fitness1/3.0.0+20220302/google_fitness1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-fitness1/3.1.0+20220302/google_fitness1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-fitness1/3.0.0+20220302/google_fitness1/client::RequestValue) and -[decodable](https://docs.rs/google-fitness1/3.0.0+20220302/google_fitness1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-fitness1/3.1.0+20220302/google_fitness1/client::RequestValue) and +[decodable](https://docs.rs/google-fitness1/3.1.0+20220302/google_fitness1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-fitness1/3.0.0+20220302/google_fitness1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-fitness1/3.1.0+20220302/google_fitness1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-fitness1/3.0.0+20220302/google_fitness1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-fitness1/3.1.0+20220302/google_fitness1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-fitness1/3.0.0+20220302/google_fitness1/client::RequestValue) are moved +* [request values](https://docs.rs/google-fitness1/3.1.0+20220302/google_fitness1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/fitness1/src/api.rs b/gen/fitness1/src/api.rs index b9614705ec..61b754b51f 100644 --- a/gen/fitness1/src/api.rs +++ b/gen/fitness1/src/api.rs @@ -155,7 +155,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Fitness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Fitness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -203,7 +203,7 @@ impl<'a, > Fitness<> { Fitness { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://fitness.googleapis.com/fitness/v1/users/".to_string(), _root_url: "https://fitness.googleapis.com/".to_string(), } @@ -214,7 +214,7 @@ impl<'a, > Fitness<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -783,7 +783,7 @@ impl client::Part for ValueMapValEntry {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Fitness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Fitness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `data_sources_create(...)`, `data_sources_data_point_changes_list(...)`, `data_sources_datasets_delete(...)`, `data_sources_datasets_get(...)`, `data_sources_datasets_patch(...)`, `data_sources_delete(...)`, `data_sources_get(...)`, `data_sources_list(...)`, `data_sources_update(...)`, `dataset_aggregate(...)`, `sessions_delete(...)`, `sessions_list(...)` and `sessions_update(...)` /// // to build up your call. @@ -1096,7 +1096,7 @@ impl<'a> UserMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fitness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fitness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1384,7 +1384,7 @@ impl<'a> UserDataSourceDataPointChangeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fitness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fitness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1649,7 +1649,7 @@ impl<'a> UserDataSourceDatasetDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fitness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fitness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1950,7 +1950,7 @@ impl<'a> UserDataSourceDatasetGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fitness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fitness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2256,7 +2256,7 @@ impl<'a> UserDataSourceDatasetPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fitness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fitness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2537,7 +2537,7 @@ impl<'a> UserDataSourceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fitness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fitness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2801,7 +2801,7 @@ impl<'a> UserDataSourceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fitness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fitness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3065,7 +3065,7 @@ impl<'a> UserDataSourceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fitness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fitness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3333,7 +3333,7 @@ impl<'a> UserDataSourceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fitness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fitness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3627,7 +3627,7 @@ impl<'a> UserDataSourceUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fitness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fitness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3908,7 +3908,7 @@ impl<'a> UserDatasetAggregateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fitness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fitness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4161,7 +4161,7 @@ impl<'a> UserSessionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fitness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fitness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4477,7 +4477,7 @@ impl<'a> UserSessionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fitness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fitness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/fitness1/src/lib.rs b/gen/fitness1/src/lib.rs index 2503c2472f..0e01451037 100644 --- a/gen/fitness1/src/lib.rs +++ b/gen/fitness1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *fitness* crate version *3.0.0+20220302*, where *20220302* is the exact revision of the *fitness:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *fitness* crate version *3.1.0+20220302*, where *20220302* is the exact revision of the *fitness:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *fitness* *v1* API can be found at the //! [official documentation site](https://developers.google.com/fit/rest/v1/get-started). @@ -95,7 +95,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Fitness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Fitness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/fusiontables2-cli/Cargo.toml b/gen/fusiontables2-cli/Cargo.toml index 7fffce26e1..b2cc033ea9 100644 --- a/gen/fusiontables2-cli/Cargo.toml +++ b/gen/fusiontables2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-fusiontables2-cli" -version = "3.0.0+20171117" +version = "3.1.0+20171117" authors = ["Sebastian Thiel "] description = "A complete library to interact with fusiontables (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/fusiontables2-cli" @@ -20,12 +20,12 @@ name = "fusiontables2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-fusiontables2] path = "../fusiontables2" -version = "3.0.0+20171117" +version = "3.1.0+20171117" diff --git a/gen/fusiontables2-cli/README.md b/gen/fusiontables2-cli/README.md index a7218f8253..a9da8c02b3 100644 --- a/gen/fusiontables2-cli/README.md +++ b/gen/fusiontables2-cli/README.md @@ -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 *fusiontables* API at revision *20171117*. The CLI is at version *3.0.0*. +This documentation was generated from the *fusiontables* API at revision *20171117*. The CLI is at version *3.1.0*. ```bash fusiontables2 [options] diff --git a/gen/fusiontables2-cli/mkdocs.yml b/gen/fusiontables2-cli/mkdocs.yml index 5cfc6c1f81..51ae485d0f 100644 --- a/gen/fusiontables2-cli/mkdocs.yml +++ b/gen/fusiontables2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: fusiontables v3.0.0+20171117 +site_name: fusiontables v3.1.0+20171117 site_url: http://byron.github.io/google-apis-rs/google-fusiontables2-cli site_description: A complete library to interact with fusiontables (protocol v2) diff --git a/gen/fusiontables2-cli/src/main.rs b/gen/fusiontables2-cli/src/main.rs index fdcafd8e15..ea199531a3 100644 --- a/gen/fusiontables2-cli/src/main.rs +++ b/gen/fusiontables2-cli/src/main.rs @@ -2687,7 +2687,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/fusiontables2", 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::Fusiontables::new(client, auth), @@ -3642,7 +3648,7 @@ async fn main() { let mut app = App::new("fusiontables2") .author("Sebastian Thiel ") - .version("3.0.0+20171117") + .version("3.1.0+20171117") .about("API for working with Fusion Tables data.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_fusiontables2_cli") .arg(Arg::with_name("url") diff --git a/gen/fusiontables2/Cargo.toml b/gen/fusiontables2/Cargo.toml index 8a25f1de1e..7f75a42440 100644 --- a/gen/fusiontables2/Cargo.toml +++ b/gen/fusiontables2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-fusiontables2" -version = "3.0.0+20171117" +version = "3.1.0+20171117" authors = ["Sebastian Thiel "] description = "A complete library to interact with fusiontables (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/fusiontables2" homepage = "https://developers.google.com/fusiontables" -documentation = "https://docs.rs/google-fusiontables2/3.0.0+20171117" +documentation = "https://docs.rs/google-fusiontables2/3.1.0+20171117" license = "MIT" keywords = ["fusiontables", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/fusiontables2/README.md b/gen/fusiontables2/README.md index 6d328e10b4..3b085aa83f 100644 --- a/gen/fusiontables2/README.md +++ b/gen/fusiontables2/README.md @@ -5,38 +5,38 @@ DO NOT EDIT ! --> The `google-fusiontables2` library allows access to all features of the *Google fusiontables* service. -This documentation was generated from *fusiontables* crate version *3.0.0+20171117*, where *20171117* is the exact revision of the *fusiontables:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *fusiontables* crate version *3.1.0+20171117*, where *20171117* is the exact revision of the *fusiontables:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *fusiontables* *v2* API can be found at the [official documentation site](https://developers.google.com/fusiontables). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/Fusiontables) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/Fusiontables) ... -* [column](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::Column) - * [*delete*](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::ColumnDeleteCall), [*get*](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::ColumnGetCall), [*insert*](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::ColumnInsertCall), [*list*](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::ColumnListCall), [*patch*](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::ColumnPatchCall) and [*update*](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::ColumnUpdateCall) +* [column](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::Column) + * [*delete*](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::ColumnDeleteCall), [*get*](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::ColumnGetCall), [*insert*](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::ColumnInsertCall), [*list*](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::ColumnListCall), [*patch*](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::ColumnPatchCall) and [*update*](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::ColumnUpdateCall) * query - * [*sql*](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::QuerySqlCall) and [*sql get*](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::QuerySqlGetCall) + * [*sql*](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::QuerySqlCall) and [*sql get*](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::QuerySqlGetCall) * style - * [*delete*](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::StyleDeleteCall), [*get*](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::StyleGetCall), [*insert*](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::StyleInsertCall), [*list*](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::StyleListCall), [*patch*](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::StylePatchCall) and [*update*](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::StyleUpdateCall) -* [table](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::Table) - * [*copy*](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::TableCopyCall), [*delete*](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::TableDeleteCall), [*get*](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::TableGetCall), [*import rows*](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::TableImportRowCall), [*import table*](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::TableImportTableCall), [*insert*](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::TableInsertCall), [*list*](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::TableListCall), [*patch*](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::TablePatchCall), [*refetch sheet*](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::TableRefetchSheetCall), [*replace rows*](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::TableReplaceRowCall) and [*update*](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::TableUpdateCall) -* [task](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::Task) - * [*delete*](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::TaskDeleteCall), [*get*](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::TaskGetCall) and [*list*](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::TaskListCall) -* [template](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::Template) - * [*delete*](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::TemplateDeleteCall), [*get*](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::TemplateGetCall), [*insert*](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::TemplateInsertCall), [*list*](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::TemplateListCall), [*patch*](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::TemplatePatchCall) and [*update*](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::TemplateUpdateCall) + * [*delete*](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::StyleDeleteCall), [*get*](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::StyleGetCall), [*insert*](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::StyleInsertCall), [*list*](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::StyleListCall), [*patch*](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::StylePatchCall) and [*update*](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::StyleUpdateCall) +* [table](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::Table) + * [*copy*](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::TableCopyCall), [*delete*](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::TableDeleteCall), [*get*](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::TableGetCall), [*import rows*](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::TableImportRowCall), [*import table*](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::TableImportTableCall), [*insert*](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::TableInsertCall), [*list*](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::TableListCall), [*patch*](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::TablePatchCall), [*refetch sheet*](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::TableRefetchSheetCall), [*replace rows*](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::TableReplaceRowCall) and [*update*](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::TableUpdateCall) +* [task](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::Task) + * [*delete*](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::TaskDeleteCall), [*get*](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::TaskGetCall) and [*list*](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::TaskListCall) +* [template](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::Template) + * [*delete*](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::TemplateDeleteCall), [*get*](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::TemplateGetCall), [*insert*](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::TemplateInsertCall), [*list*](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::TemplateListCall), [*patch*](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::TemplatePatchCall) and [*update*](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::TemplateUpdateCall) Upload supported by ... -* [*import rows table*](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::TableImportRowCall) -* [*import table table*](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::TableImportTableCall) -* [*replace rows table*](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::TableReplaceRowCall) +* [*import rows table*](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::TableImportRowCall) +* [*import table table*](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::TableImportTableCall) +* [*replace rows table*](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::TableReplaceRowCall) Download supported by ... -* [*sql query*](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::QuerySqlCall) -* [*sql get query*](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/api::QuerySqlGetCall) +* [*sql query*](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::QuerySqlCall) +* [*sql get query*](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/api::QuerySqlGetCall) @@ -44,17 +44,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/Fusiontables)** +* **[Hub](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/Fusiontables)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/client::CallBuilder) -* **[Resources](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/client::CallBuilder) +* **[Resources](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/client::Part)** + * **[Parts](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -117,7 +117,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `upload(...)`. // Values shown here are possibly random and not representative ! @@ -147,17 +147,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -167,29 +167,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/client::Delegate) to the -[Method Builder](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/client::Delegate) to the +[Method Builder](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/client::RequestValue) and -[decodable](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/client::RequestValue) and +[decodable](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-fusiontables2/3.0.0+20171117/google_fusiontables2/client::RequestValue) are moved +* [request values](https://docs.rs/google-fusiontables2/3.1.0+20171117/google_fusiontables2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/fusiontables2/src/api.rs b/gen/fusiontables2/src/api.rs index 2e6f5c012f..e9039e6ac7 100644 --- a/gen/fusiontables2/src/api.rs +++ b/gen/fusiontables2/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `upload(...)`. /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > Fusiontables<> { Fusiontables { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/fusiontables/v2/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -146,7 +146,7 @@ impl<'a, > Fusiontables<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -759,7 +759,7 @@ impl client::Part for StyleFunctionGradientColors {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -918,7 +918,7 @@ impl<'a> ColumnMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `sql(...)` and `sql_get(...)` /// // to build up your call. @@ -1017,7 +1017,7 @@ impl<'a> QueryMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -1176,7 +1176,7 @@ impl<'a> StyleMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `copy(...)`, `delete(...)`, `get(...)`, `import_rows(...)`, `import_table(...)`, `insert(...)`, `list(...)`, `patch(...)`, `refetch_sheet(...)`, `replace_rows(...)` and `update(...)` /// // to build up your call. @@ -1420,7 +1420,7 @@ impl<'a> TableMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)` and `list(...)` /// // to build up your call. @@ -1519,7 +1519,7 @@ impl<'a> TaskMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -1685,7 +1685,7 @@ impl<'a> TemplateMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1934,7 +1934,7 @@ impl<'a> ColumnDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2195,7 +2195,7 @@ impl<'a> ColumnGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2472,7 +2472,7 @@ impl<'a> ColumnInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2745,7 +2745,7 @@ impl<'a> ColumnListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3035,7 +3035,7 @@ impl<'a> ColumnPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3336,7 +3336,7 @@ impl<'a> ColumnUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3618,7 +3618,7 @@ impl<'a> QuerySqlCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3888,7 +3888,7 @@ impl<'a> QuerySqlGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4137,7 +4137,7 @@ impl<'a> StyleDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4398,7 +4398,7 @@ impl<'a> StyleGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4675,7 +4675,7 @@ impl<'a> StyleInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4948,7 +4948,7 @@ impl<'a> StyleListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5238,7 +5238,7 @@ impl<'a> StylePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5527,7 +5527,7 @@ impl<'a> StyleUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5787,7 +5787,7 @@ impl<'a> TableCopyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6024,7 +6024,7 @@ impl<'a> TableDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6273,7 +6273,7 @@ impl<'a> TableGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `upload(...)`. /// // Values shown here are possibly random and not representative ! @@ -6690,7 +6690,7 @@ impl<'a> TableImportRowCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `upload(...)`. /// // Values shown here are possibly random and not representative ! @@ -7050,7 +7050,7 @@ impl<'a> TableImportTableCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7294,7 +7294,7 @@ impl<'a> TableInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7534,7 +7534,7 @@ impl<'a> TableListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7823,7 +7823,7 @@ impl<'a> TablePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8072,7 +8072,7 @@ impl<'a> TableRefetchSheetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `upload(...)`. /// // Values shown here are possibly random and not representative ! @@ -8489,7 +8489,7 @@ impl<'a> TableReplaceRowCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8778,7 +8778,7 @@ impl<'a> TableUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9027,7 +9027,7 @@ impl<'a> TaskDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9287,7 +9287,7 @@ impl<'a> TaskGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9571,7 +9571,7 @@ impl<'a> TaskListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9820,7 +9820,7 @@ impl<'a> TemplateDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10081,7 +10081,7 @@ impl<'a> TemplateGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10358,7 +10358,7 @@ impl<'a> TemplateInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10631,7 +10631,7 @@ impl<'a> TemplateListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10921,7 +10921,7 @@ impl<'a> TemplatePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/fusiontables2/src/lib.rs b/gen/fusiontables2/src/lib.rs index 148468af52..4d556f6e39 100644 --- a/gen/fusiontables2/src/lib.rs +++ b/gen/fusiontables2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *fusiontables* crate version *3.0.0+20171117*, where *20171117* is the exact revision of the *fusiontables:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *fusiontables* crate version *3.1.0+20171117*, where *20171117* is the exact revision of the *fusiontables:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *fusiontables* *v2* API can be found at the //! [official documentation site](https://developers.google.com/fusiontables). @@ -118,7 +118,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Fusiontables::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `upload(...)`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/games1-cli/Cargo.toml b/gen/games1-cli/Cargo.toml index e8f9bb55ea..07a5e3f539 100644 --- a/gen/games1-cli/Cargo.toml +++ b/gen/games1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-games1-cli" -version = "3.0.0+20220217" +version = "3.1.0+20220217" authors = ["Sebastian Thiel "] description = "A complete library to interact with Games (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/games1-cli" @@ -20,12 +20,12 @@ name = "games1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-games1] path = "../games1" -version = "3.0.0+20220217" +version = "3.1.0+20220217" diff --git a/gen/games1-cli/README.md b/gen/games1-cli/README.md index 2868900242..7eec2db87b 100644 --- a/gen/games1-cli/README.md +++ b/gen/games1-cli/README.md @@ -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 *Games* API at revision *20220217*. The CLI is at version *3.0.0*. +This documentation was generated from the *Games* API at revision *20220217*. The CLI is at version *3.1.0*. ```bash games1 [options] diff --git a/gen/games1-cli/mkdocs.yml b/gen/games1-cli/mkdocs.yml index 3d7ffcbdad..916fd5514a 100644 --- a/gen/games1-cli/mkdocs.yml +++ b/gen/games1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Games v3.0.0+20220217 +site_name: Games v3.1.0+20220217 site_url: http://byron.github.io/google-apis-rs/google-games1-cli site_description: A complete library to interact with Games (protocol v1) diff --git a/gen/games1-cli/src/main.rs b/gen/games1-cli/src/main.rs index a687b1e2fe..374d61514d 100644 --- a/gen/games1-cli/src/main.rs +++ b/gen/games1-cli/src/main.rs @@ -2026,7 +2026,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/games1", 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::Games::new(client, auth), @@ -2742,7 +2748,7 @@ async fn main() { let mut app = App::new("games1") .author("Sebastian Thiel ") - .version("3.0.0+20220217") + .version("3.1.0+20220217") .about("The Google Play games service allows developers to enhance games with social leaderboards, achievements, game state, sign-in with Google, and more.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_games1_cli") .arg(Arg::with_name("url") diff --git a/gen/games1/Cargo.toml b/gen/games1/Cargo.toml index 93654d127e..4ecbfc5df5 100644 --- a/gen/games1/Cargo.toml +++ b/gen/games1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-games1" -version = "3.0.0+20220217" +version = "3.1.0+20220217" authors = ["Sebastian Thiel "] description = "A complete library to interact with Games (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/games1" homepage = "https://developers.google.com/games/" -documentation = "https://docs.rs/google-games1/3.0.0+20220217" +documentation = "https://docs.rs/google-games1/3.1.0+20220217" license = "MIT" keywords = ["games", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/games1/README.md b/gen/games1/README.md index 768cb9d1bb..f5f0481a7b 100644 --- a/gen/games1/README.md +++ b/gen/games1/README.md @@ -5,36 +5,36 @@ DO NOT EDIT ! --> The `google-games1` library allows access to all features of the *Google Games* service. -This documentation was generated from *Games* crate version *3.0.0+20220217*, where *20220217* is the exact revision of the *games:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Games* crate version *3.1.0+20220217*, where *20220217* is the exact revision of the *games:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Games* *v1* API can be found at the [official documentation site](https://developers.google.com/games/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-games1/3.0.0+20220217/google_games1/Games) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-games1/3.1.0+20220217/google_games1/Games) ... -* [achievement definitions](https://docs.rs/google-games1/3.0.0+20220217/google_games1/api::AchievementDefinition) - * [*list*](https://docs.rs/google-games1/3.0.0+20220217/google_games1/api::AchievementDefinitionListCall) +* [achievement definitions](https://docs.rs/google-games1/3.1.0+20220217/google_games1/api::AchievementDefinition) + * [*list*](https://docs.rs/google-games1/3.1.0+20220217/google_games1/api::AchievementDefinitionListCall) * achievements - * [*increment*](https://docs.rs/google-games1/3.0.0+20220217/google_games1/api::AchievementIncrementCall), [*list*](https://docs.rs/google-games1/3.0.0+20220217/google_games1/api::AchievementListCall), [*reveal*](https://docs.rs/google-games1/3.0.0+20220217/google_games1/api::AchievementRevealCall), [*set steps at least*](https://docs.rs/google-games1/3.0.0+20220217/google_games1/api::AchievementSetStepsAtLeastCall), [*unlock*](https://docs.rs/google-games1/3.0.0+20220217/google_games1/api::AchievementUnlockCall) and [*update multiple*](https://docs.rs/google-games1/3.0.0+20220217/google_games1/api::AchievementUpdateMultipleCall) -* [applications](https://docs.rs/google-games1/3.0.0+20220217/google_games1/api::Application) - * [*get*](https://docs.rs/google-games1/3.0.0+20220217/google_games1/api::ApplicationGetCall), [*get end point*](https://docs.rs/google-games1/3.0.0+20220217/google_games1/api::ApplicationGetEndPointCall), [*played*](https://docs.rs/google-games1/3.0.0+20220217/google_games1/api::ApplicationPlayedCall) and [*verify*](https://docs.rs/google-games1/3.0.0+20220217/google_games1/api::ApplicationVerifyCall) + * [*increment*](https://docs.rs/google-games1/3.1.0+20220217/google_games1/api::AchievementIncrementCall), [*list*](https://docs.rs/google-games1/3.1.0+20220217/google_games1/api::AchievementListCall), [*reveal*](https://docs.rs/google-games1/3.1.0+20220217/google_games1/api::AchievementRevealCall), [*set steps at least*](https://docs.rs/google-games1/3.1.0+20220217/google_games1/api::AchievementSetStepsAtLeastCall), [*unlock*](https://docs.rs/google-games1/3.1.0+20220217/google_games1/api::AchievementUnlockCall) and [*update multiple*](https://docs.rs/google-games1/3.1.0+20220217/google_games1/api::AchievementUpdateMultipleCall) +* [applications](https://docs.rs/google-games1/3.1.0+20220217/google_games1/api::Application) + * [*get*](https://docs.rs/google-games1/3.1.0+20220217/google_games1/api::ApplicationGetCall), [*get end point*](https://docs.rs/google-games1/3.1.0+20220217/google_games1/api::ApplicationGetEndPointCall), [*played*](https://docs.rs/google-games1/3.1.0+20220217/google_games1/api::ApplicationPlayedCall) and [*verify*](https://docs.rs/google-games1/3.1.0+20220217/google_games1/api::ApplicationVerifyCall) * events - * [*list by player*](https://docs.rs/google-games1/3.0.0+20220217/google_games1/api::EventListByPlayerCall), [*list definitions*](https://docs.rs/google-games1/3.0.0+20220217/google_games1/api::EventListDefinitionCall) and [*record*](https://docs.rs/google-games1/3.0.0+20220217/google_games1/api::EventRecordCall) -* [leaderboards](https://docs.rs/google-games1/3.0.0+20220217/google_games1/api::Leaderboard) - * [*get*](https://docs.rs/google-games1/3.0.0+20220217/google_games1/api::LeaderboardGetCall) and [*list*](https://docs.rs/google-games1/3.0.0+20220217/google_games1/api::LeaderboardListCall) + * [*list by player*](https://docs.rs/google-games1/3.1.0+20220217/google_games1/api::EventListByPlayerCall), [*list definitions*](https://docs.rs/google-games1/3.1.0+20220217/google_games1/api::EventListDefinitionCall) and [*record*](https://docs.rs/google-games1/3.1.0+20220217/google_games1/api::EventRecordCall) +* [leaderboards](https://docs.rs/google-games1/3.1.0+20220217/google_games1/api::Leaderboard) + * [*get*](https://docs.rs/google-games1/3.1.0+20220217/google_games1/api::LeaderboardGetCall) and [*list*](https://docs.rs/google-games1/3.1.0+20220217/google_games1/api::LeaderboardListCall) * metagame - * [*get metagame config*](https://docs.rs/google-games1/3.0.0+20220217/google_games1/api::MetagameGetMetagameConfigCall) and [*list categories by player*](https://docs.rs/google-games1/3.0.0+20220217/google_games1/api::MetagameListCategoriesByPlayerCall) -* [players](https://docs.rs/google-games1/3.0.0+20220217/google_games1/api::Player) - * [*get*](https://docs.rs/google-games1/3.0.0+20220217/google_games1/api::PlayerGetCall) and [*list*](https://docs.rs/google-games1/3.0.0+20220217/google_games1/api::PlayerListCall) + * [*get metagame config*](https://docs.rs/google-games1/3.1.0+20220217/google_games1/api::MetagameGetMetagameConfigCall) and [*list categories by player*](https://docs.rs/google-games1/3.1.0+20220217/google_games1/api::MetagameListCategoriesByPlayerCall) +* [players](https://docs.rs/google-games1/3.1.0+20220217/google_games1/api::Player) + * [*get*](https://docs.rs/google-games1/3.1.0+20220217/google_games1/api::PlayerGetCall) and [*list*](https://docs.rs/google-games1/3.1.0+20220217/google_games1/api::PlayerListCall) * revisions - * [*check*](https://docs.rs/google-games1/3.0.0+20220217/google_games1/api::RevisionCheckCall) + * [*check*](https://docs.rs/google-games1/3.1.0+20220217/google_games1/api::RevisionCheckCall) * scores - * [*get*](https://docs.rs/google-games1/3.0.0+20220217/google_games1/api::ScoreGetCall), [*list*](https://docs.rs/google-games1/3.0.0+20220217/google_games1/api::ScoreListCall), [*list window*](https://docs.rs/google-games1/3.0.0+20220217/google_games1/api::ScoreListWindowCall), [*submit*](https://docs.rs/google-games1/3.0.0+20220217/google_games1/api::ScoreSubmitCall) and [*submit multiple*](https://docs.rs/google-games1/3.0.0+20220217/google_games1/api::ScoreSubmitMultipleCall) -* [snapshots](https://docs.rs/google-games1/3.0.0+20220217/google_games1/api::Snapshot) - * [*get*](https://docs.rs/google-games1/3.0.0+20220217/google_games1/api::SnapshotGetCall) and [*list*](https://docs.rs/google-games1/3.0.0+20220217/google_games1/api::SnapshotListCall) + * [*get*](https://docs.rs/google-games1/3.1.0+20220217/google_games1/api::ScoreGetCall), [*list*](https://docs.rs/google-games1/3.1.0+20220217/google_games1/api::ScoreListCall), [*list window*](https://docs.rs/google-games1/3.1.0+20220217/google_games1/api::ScoreListWindowCall), [*submit*](https://docs.rs/google-games1/3.1.0+20220217/google_games1/api::ScoreSubmitCall) and [*submit multiple*](https://docs.rs/google-games1/3.1.0+20220217/google_games1/api::ScoreSubmitMultipleCall) +* [snapshots](https://docs.rs/google-games1/3.1.0+20220217/google_games1/api::Snapshot) + * [*get*](https://docs.rs/google-games1/3.1.0+20220217/google_games1/api::SnapshotGetCall) and [*list*](https://docs.rs/google-games1/3.1.0+20220217/google_games1/api::SnapshotListCall) * stats - * [*get*](https://docs.rs/google-games1/3.0.0+20220217/google_games1/api::StatGetCall) + * [*get*](https://docs.rs/google-games1/3.1.0+20220217/google_games1/api::StatGetCall) @@ -43,17 +43,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-games1/3.0.0+20220217/google_games1/Games)** +* **[Hub](https://docs.rs/google-games1/3.1.0+20220217/google_games1/Games)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-games1/3.0.0+20220217/google_games1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-games1/3.0.0+20220217/google_games1/client::CallBuilder) -* **[Resources](https://docs.rs/google-games1/3.0.0+20220217/google_games1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-games1/3.1.0+20220217/google_games1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-games1/3.1.0+20220217/google_games1/client::CallBuilder) +* **[Resources](https://docs.rs/google-games1/3.1.0+20220217/google_games1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-games1/3.0.0+20220217/google_games1/client::Part)** + * **[Parts](https://docs.rs/google-games1/3.1.0+20220217/google_games1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-games1/3.0.0+20220217/google_games1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-games1/3.1.0+20220217/google_games1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -113,7 +113,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -143,17 +143,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-games1/3.0.0+20220217/google_games1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-games1/3.1.0+20220217/google_games1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-games1/3.0.0+20220217/google_games1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-games1/3.1.0+20220217/google_games1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-games1/3.0.0+20220217/google_games1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-games1/3.1.0+20220217/google_games1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-games1/3.0.0+20220217/google_games1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-games1/3.1.0+20220217/google_games1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -163,29 +163,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-games1/3.0.0+20220217/google_games1/client::Delegate) to the -[Method Builder](https://docs.rs/google-games1/3.0.0+20220217/google_games1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-games1/3.1.0+20220217/google_games1/client::Delegate) to the +[Method Builder](https://docs.rs/google-games1/3.1.0+20220217/google_games1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-games1/3.0.0+20220217/google_games1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-games1/3.1.0+20220217/google_games1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-games1/3.0.0+20220217/google_games1/client::RequestValue) and -[decodable](https://docs.rs/google-games1/3.0.0+20220217/google_games1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-games1/3.1.0+20220217/google_games1/client::RequestValue) and +[decodable](https://docs.rs/google-games1/3.1.0+20220217/google_games1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-games1/3.0.0+20220217/google_games1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-games1/3.1.0+20220217/google_games1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-games1/3.0.0+20220217/google_games1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-games1/3.1.0+20220217/google_games1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-games1/3.0.0+20220217/google_games1/client::RequestValue) are moved +* [request values](https://docs.rs/google-games1/3.1.0+20220217/google_games1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/games1/src/api.rs b/gen/games1/src/api.rs index 7ea46c4b5a..b1784cc2b9 100644 --- a/gen/games1/src/api.rs +++ b/gen/games1/src/api.rs @@ -74,7 +74,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > Games<> { Games { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://games.googleapis.com/".to_string(), _root_url: "https://games.googleapis.com/".to_string(), } @@ -160,7 +160,7 @@ impl<'a, > Games<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1764,7 +1764,7 @@ impl client::Part for PlayerName {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -1820,7 +1820,7 @@ impl<'a> AchievementDefinitionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `increment(...)`, `list(...)`, `reveal(...)`, `set_steps_at_least(...)`, `unlock(...)` and `update_multiple(...)` /// // to build up your call. @@ -1972,7 +1972,7 @@ impl<'a> AchievementMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `get_end_point(...)`, `played(...)` and `verify(...)` /// // to build up your call. @@ -2075,7 +2075,7 @@ impl<'a> ApplicationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list_by_player(...)`, `list_definitions(...)` and `record(...)` /// // to build up your call. @@ -2164,7 +2164,7 @@ impl<'a> EventMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -2238,7 +2238,7 @@ impl<'a> LeaderboardMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get_metagame_config(...)` and `list_categories_by_player(...)` /// // to build up your call. @@ -2313,7 +2313,7 @@ impl<'a> MetagameMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -2392,7 +2392,7 @@ impl<'a> PlayerMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `check(...)` /// // to build up your call. @@ -2450,7 +2450,7 @@ impl<'a> RevisionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)`, `list_window(...)`, `submit(...)` and `submit_multiple(...)` /// // to build up your call. @@ -2605,7 +2605,7 @@ impl<'a> ScoreMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -2684,7 +2684,7 @@ impl<'a> SnapshotMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -2744,7 +2744,7 @@ impl<'a> StatMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2999,7 +2999,7 @@ impl<'a> AchievementDefinitionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3275,7 +3275,7 @@ impl<'a> AchievementIncrementCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3575,7 +3575,7 @@ impl<'a> AchievementListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3827,7 +3827,7 @@ impl<'a> AchievementRevealCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4091,7 +4091,7 @@ impl<'a> AchievementSetStepsAtLeastCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4344,7 +4344,7 @@ impl<'a> AchievementUnlockCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4592,7 +4592,7 @@ impl<'a> AchievementUpdateMultipleCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4868,7 +4868,7 @@ impl<'a> ApplicationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5111,7 +5111,7 @@ impl<'a> ApplicationGetEndPointCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5319,7 +5319,7 @@ impl<'a> ApplicationPlayedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5571,7 +5571,7 @@ impl<'a> ApplicationVerifyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5826,7 +5826,7 @@ impl<'a> EventListByPlayerCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6082,7 +6082,7 @@ impl<'a> EventListDefinitionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6342,7 +6342,7 @@ impl<'a> EventRecordCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6606,7 +6606,7 @@ impl<'a> LeaderboardGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6861,7 +6861,7 @@ impl<'a> LeaderboardListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7080,7 +7080,7 @@ impl<'a> MetagameGetMetagameConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7380,7 +7380,7 @@ impl<'a> MetagameListCategoriesByPlayerCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7644,7 +7644,7 @@ impl<'a> PlayerGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7932,7 +7932,7 @@ impl<'a> PlayerListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8163,7 +8163,7 @@ impl<'a> RevisionCheckCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8487,7 +8487,7 @@ impl<'a> ScoreGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8799,7 +8799,7 @@ impl<'a> ScoreListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9135,7 +9135,7 @@ impl<'a> ScoreListWindowCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9424,7 +9424,7 @@ impl<'a> ScoreSubmitCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9684,7 +9684,7 @@ impl<'a> ScoreSubmitMultipleCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9948,7 +9948,7 @@ impl<'a> SnapshotGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10236,7 +10236,7 @@ impl<'a> SnapshotListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/games1/src/lib.rs b/gen/games1/src/lib.rs index 2a4ccd309a..8dc96988bb 100644 --- a/gen/games1/src/lib.rs +++ b/gen/games1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Games* crate version *3.0.0+20220217*, where *20220217* is the exact revision of the *games:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Games* crate version *3.1.0+20220217*, where *20220217* is the exact revision of the *games:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Games* *v1* API can be found at the //! [official documentation site](https://developers.google.com/games/). @@ -114,7 +114,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Games::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/gamesconfiguration1_configuration-cli/Cargo.toml b/gen/gamesconfiguration1_configuration-cli/Cargo.toml index e3bb88617b..2e067f7cc5 100644 --- a/gen/gamesconfiguration1_configuration-cli/Cargo.toml +++ b/gen/gamesconfiguration1_configuration-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-gamesconfiguration1_configuration-cli" -version = "3.0.0+20220217" +version = "3.1.0+20220217" authors = ["Sebastian Thiel "] description = "A complete library to interact with Games Configuration (protocol v1configuration)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/gamesconfiguration1_configuration-cli" @@ -20,12 +20,12 @@ name = "gamesconfiguration1-configuration" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-gamesconfiguration1_configuration] path = "../gamesconfiguration1_configuration" -version = "3.0.0+20220217" +version = "3.1.0+20220217" diff --git a/gen/gamesconfiguration1_configuration-cli/README.md b/gen/gamesconfiguration1_configuration-cli/README.md index 2cf7e26a02..6441b4d4ab 100644 --- a/gen/gamesconfiguration1_configuration-cli/README.md +++ b/gen/gamesconfiguration1_configuration-cli/README.md @@ -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 *Games Configuration* API at revision *20220217*. The CLI is at version *3.0.0*. +This documentation was generated from the *Games Configuration* API at revision *20220217*. The CLI is at version *3.1.0*. ```bash gamesconfiguration1-configuration [options] diff --git a/gen/gamesconfiguration1_configuration-cli/mkdocs.yml b/gen/gamesconfiguration1_configuration-cli/mkdocs.yml index ffed035385..50d7fbeac0 100644 --- a/gen/gamesconfiguration1_configuration-cli/mkdocs.yml +++ b/gen/gamesconfiguration1_configuration-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Games Configuration v3.0.0+20220217 +site_name: Games Configuration v3.1.0+20220217 site_url: http://byron.github.io/google-apis-rs/google-gamesconfiguration1_configuration-cli site_description: A complete library to interact with Games Configuration (protocol v1configuration) diff --git a/gen/gamesconfiguration1_configuration-cli/src/main.rs b/gen/gamesconfiguration1_configuration-cli/src/main.rs index c86e052eb0..588e5748ba 100644 --- a/gen/gamesconfiguration1_configuration-cli/src/main.rs +++ b/gen/gamesconfiguration1_configuration-cli/src/main.rs @@ -939,7 +939,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/gamesconfiguration1-configuration", 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::GamesConfiguration::new(client, auth), @@ -1254,7 +1260,7 @@ async fn main() { let mut app = App::new("gamesconfiguration1-configuration") .author("Sebastian Thiel ") - .version("3.0.0+20220217") + .version("3.1.0+20220217") .about("The Google Play Game Services Publishing API allows developers to configure their games in Game Services.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_gamesconfiguration1_configuration_cli") .arg(Arg::with_name("url") diff --git a/gen/gamesconfiguration1_configuration/Cargo.toml b/gen/gamesconfiguration1_configuration/Cargo.toml index af4f1046b5..0d20b9176b 100644 --- a/gen/gamesconfiguration1_configuration/Cargo.toml +++ b/gen/gamesconfiguration1_configuration/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-gamesconfiguration1_configuration" -version = "3.0.0+20220217" +version = "3.1.0+20220217" authors = ["Sebastian Thiel "] description = "A complete library to interact with Games Configuration (protocol v1configuration)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/gamesconfiguration1_configuration" homepage = "https://developers.google.com/games/" -documentation = "https://docs.rs/google-gamesconfiguration1_configuration/3.0.0+20220217" +documentation = "https://docs.rs/google-gamesconfiguration1_configuration/3.1.0+20220217" license = "MIT" keywords = ["gamesConfiguration", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/gamesconfiguration1_configuration/README.md b/gen/gamesconfiguration1_configuration/README.md index 0ca2c5c2df..b7e8a34105 100644 --- a/gen/gamesconfiguration1_configuration/README.md +++ b/gen/gamesconfiguration1_configuration/README.md @@ -5,25 +5,25 @@ DO NOT EDIT ! --> The `google-gamesconfiguration1_configuration` library allows access to all features of the *Google Games Configuration* service. -This documentation was generated from *Games Configuration* crate version *3.0.0+20220217*, where *20220217* is the exact revision of the *gamesConfiguration:v1configuration* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Games Configuration* crate version *3.1.0+20220217*, where *20220217* is the exact revision of the *gamesConfiguration:v1configuration* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Games Configuration* *v1_configuration* API can be found at the [official documentation site](https://developers.google.com/games/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gamesconfiguration1_configuration/3.0.0+20220217/google_gamesconfiguration1_configuration/GamesConfiguration) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gamesconfiguration1_configuration/3.1.0+20220217/google_gamesconfiguration1_configuration/GamesConfiguration) ... -* [achievement configurations](https://docs.rs/google-gamesconfiguration1_configuration/3.0.0+20220217/google_gamesconfiguration1_configuration/api::AchievementConfiguration) - * [*delete*](https://docs.rs/google-gamesconfiguration1_configuration/3.0.0+20220217/google_gamesconfiguration1_configuration/api::AchievementConfigurationDeleteCall), [*get*](https://docs.rs/google-gamesconfiguration1_configuration/3.0.0+20220217/google_gamesconfiguration1_configuration/api::AchievementConfigurationGetCall), [*insert*](https://docs.rs/google-gamesconfiguration1_configuration/3.0.0+20220217/google_gamesconfiguration1_configuration/api::AchievementConfigurationInsertCall), [*list*](https://docs.rs/google-gamesconfiguration1_configuration/3.0.0+20220217/google_gamesconfiguration1_configuration/api::AchievementConfigurationListCall) and [*update*](https://docs.rs/google-gamesconfiguration1_configuration/3.0.0+20220217/google_gamesconfiguration1_configuration/api::AchievementConfigurationUpdateCall) -* [image configurations](https://docs.rs/google-gamesconfiguration1_configuration/3.0.0+20220217/google_gamesconfiguration1_configuration/api::ImageConfiguration) - * [*upload*](https://docs.rs/google-gamesconfiguration1_configuration/3.0.0+20220217/google_gamesconfiguration1_configuration/api::ImageConfigurationUploadCall) -* [leaderboard configurations](https://docs.rs/google-gamesconfiguration1_configuration/3.0.0+20220217/google_gamesconfiguration1_configuration/api::LeaderboardConfiguration) - * [*delete*](https://docs.rs/google-gamesconfiguration1_configuration/3.0.0+20220217/google_gamesconfiguration1_configuration/api::LeaderboardConfigurationDeleteCall), [*get*](https://docs.rs/google-gamesconfiguration1_configuration/3.0.0+20220217/google_gamesconfiguration1_configuration/api::LeaderboardConfigurationGetCall), [*insert*](https://docs.rs/google-gamesconfiguration1_configuration/3.0.0+20220217/google_gamesconfiguration1_configuration/api::LeaderboardConfigurationInsertCall), [*list*](https://docs.rs/google-gamesconfiguration1_configuration/3.0.0+20220217/google_gamesconfiguration1_configuration/api::LeaderboardConfigurationListCall) and [*update*](https://docs.rs/google-gamesconfiguration1_configuration/3.0.0+20220217/google_gamesconfiguration1_configuration/api::LeaderboardConfigurationUpdateCall) +* [achievement configurations](https://docs.rs/google-gamesconfiguration1_configuration/3.1.0+20220217/google_gamesconfiguration1_configuration/api::AchievementConfiguration) + * [*delete*](https://docs.rs/google-gamesconfiguration1_configuration/3.1.0+20220217/google_gamesconfiguration1_configuration/api::AchievementConfigurationDeleteCall), [*get*](https://docs.rs/google-gamesconfiguration1_configuration/3.1.0+20220217/google_gamesconfiguration1_configuration/api::AchievementConfigurationGetCall), [*insert*](https://docs.rs/google-gamesconfiguration1_configuration/3.1.0+20220217/google_gamesconfiguration1_configuration/api::AchievementConfigurationInsertCall), [*list*](https://docs.rs/google-gamesconfiguration1_configuration/3.1.0+20220217/google_gamesconfiguration1_configuration/api::AchievementConfigurationListCall) and [*update*](https://docs.rs/google-gamesconfiguration1_configuration/3.1.0+20220217/google_gamesconfiguration1_configuration/api::AchievementConfigurationUpdateCall) +* [image configurations](https://docs.rs/google-gamesconfiguration1_configuration/3.1.0+20220217/google_gamesconfiguration1_configuration/api::ImageConfiguration) + * [*upload*](https://docs.rs/google-gamesconfiguration1_configuration/3.1.0+20220217/google_gamesconfiguration1_configuration/api::ImageConfigurationUploadCall) +* [leaderboard configurations](https://docs.rs/google-gamesconfiguration1_configuration/3.1.0+20220217/google_gamesconfiguration1_configuration/api::LeaderboardConfiguration) + * [*delete*](https://docs.rs/google-gamesconfiguration1_configuration/3.1.0+20220217/google_gamesconfiguration1_configuration/api::LeaderboardConfigurationDeleteCall), [*get*](https://docs.rs/google-gamesconfiguration1_configuration/3.1.0+20220217/google_gamesconfiguration1_configuration/api::LeaderboardConfigurationGetCall), [*insert*](https://docs.rs/google-gamesconfiguration1_configuration/3.1.0+20220217/google_gamesconfiguration1_configuration/api::LeaderboardConfigurationInsertCall), [*list*](https://docs.rs/google-gamesconfiguration1_configuration/3.1.0+20220217/google_gamesconfiguration1_configuration/api::LeaderboardConfigurationListCall) and [*update*](https://docs.rs/google-gamesconfiguration1_configuration/3.1.0+20220217/google_gamesconfiguration1_configuration/api::LeaderboardConfigurationUpdateCall) Upload supported by ... -* [*upload image configurations*](https://docs.rs/google-gamesconfiguration1_configuration/3.0.0+20220217/google_gamesconfiguration1_configuration/api::ImageConfigurationUploadCall) +* [*upload image configurations*](https://docs.rs/google-gamesconfiguration1_configuration/3.1.0+20220217/google_gamesconfiguration1_configuration/api::ImageConfigurationUploadCall) @@ -31,17 +31,17 @@ Upload supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-gamesconfiguration1_configuration/3.0.0+20220217/google_gamesconfiguration1_configuration/GamesConfiguration)** +* **[Hub](https://docs.rs/google-gamesconfiguration1_configuration/3.1.0+20220217/google_gamesconfiguration1_configuration/GamesConfiguration)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-gamesconfiguration1_configuration/3.0.0+20220217/google_gamesconfiguration1_configuration/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-gamesconfiguration1_configuration/3.0.0+20220217/google_gamesconfiguration1_configuration/client::CallBuilder) -* **[Resources](https://docs.rs/google-gamesconfiguration1_configuration/3.0.0+20220217/google_gamesconfiguration1_configuration/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-gamesconfiguration1_configuration/3.1.0+20220217/google_gamesconfiguration1_configuration/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-gamesconfiguration1_configuration/3.1.0+20220217/google_gamesconfiguration1_configuration/client::CallBuilder) +* **[Resources](https://docs.rs/google-gamesconfiguration1_configuration/3.1.0+20220217/google_gamesconfiguration1_configuration/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-gamesconfiguration1_configuration/3.0.0+20220217/google_gamesconfiguration1_configuration/client::Part)** + * **[Parts](https://docs.rs/google-gamesconfiguration1_configuration/3.1.0+20220217/google_gamesconfiguration1_configuration/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-gamesconfiguration1_configuration/3.0.0+20220217/google_gamesconfiguration1_configuration/client::CallBuilder)** +* **[Activities](https://docs.rs/google-gamesconfiguration1_configuration/3.1.0+20220217/google_gamesconfiguration1_configuration/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -102,7 +102,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = GamesConfiguration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = GamesConfiguration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-gamesconfiguration1_configuration/3.0.0+20220217/google_gamesconfiguration1_configuration/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-gamesconfiguration1_configuration/3.1.0+20220217/google_gamesconfiguration1_configuration/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-gamesconfiguration1_configuration/3.0.0+20220217/google_gamesconfiguration1_configuration/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-gamesconfiguration1_configuration/3.1.0+20220217/google_gamesconfiguration1_configuration/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-gamesconfiguration1_configuration/3.0.0+20220217/google_gamesconfiguration1_configuration/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-gamesconfiguration1_configuration/3.1.0+20220217/google_gamesconfiguration1_configuration/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-gamesconfiguration1_configuration/3.0.0+20220217/google_gamesconfiguration1_configuration/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-gamesconfiguration1_configuration/3.1.0+20220217/google_gamesconfiguration1_configuration/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -152,29 +152,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-gamesconfiguration1_configuration/3.0.0+20220217/google_gamesconfiguration1_configuration/client::Delegate) to the -[Method Builder](https://docs.rs/google-gamesconfiguration1_configuration/3.0.0+20220217/google_gamesconfiguration1_configuration/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-gamesconfiguration1_configuration/3.1.0+20220217/google_gamesconfiguration1_configuration/client::Delegate) to the +[Method Builder](https://docs.rs/google-gamesconfiguration1_configuration/3.1.0+20220217/google_gamesconfiguration1_configuration/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-gamesconfiguration1_configuration/3.0.0+20220217/google_gamesconfiguration1_configuration/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-gamesconfiguration1_configuration/3.1.0+20220217/google_gamesconfiguration1_configuration/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-gamesconfiguration1_configuration/3.0.0+20220217/google_gamesconfiguration1_configuration/client::RequestValue) and -[decodable](https://docs.rs/google-gamesconfiguration1_configuration/3.0.0+20220217/google_gamesconfiguration1_configuration/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-gamesconfiguration1_configuration/3.1.0+20220217/google_gamesconfiguration1_configuration/client::RequestValue) and +[decodable](https://docs.rs/google-gamesconfiguration1_configuration/3.1.0+20220217/google_gamesconfiguration1_configuration/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-gamesconfiguration1_configuration/3.0.0+20220217/google_gamesconfiguration1_configuration/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-gamesconfiguration1_configuration/3.1.0+20220217/google_gamesconfiguration1_configuration/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-gamesconfiguration1_configuration/3.0.0+20220217/google_gamesconfiguration1_configuration/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-gamesconfiguration1_configuration/3.1.0+20220217/google_gamesconfiguration1_configuration/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-gamesconfiguration1_configuration/3.0.0+20220217/google_gamesconfiguration1_configuration/client::RequestValue) are moved +* [request values](https://docs.rs/google-gamesconfiguration1_configuration/3.1.0+20220217/google_gamesconfiguration1_configuration/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/gamesconfiguration1_configuration/src/api.rs b/gen/gamesconfiguration1_configuration/src/api.rs index bfc368828b..5215841e9a 100644 --- a/gen/gamesconfiguration1_configuration/src/api.rs +++ b/gen/gamesconfiguration1_configuration/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = GamesConfiguration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = GamesConfiguration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -115,7 +115,7 @@ impl<'a, > GamesConfiguration<> { GamesConfiguration { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://gamesconfiguration.googleapis.com/".to_string(), _root_url: "https://gamesconfiguration.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > GamesConfiguration<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -468,7 +468,7 @@ impl client::Part for LocalizedStringBundle {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = GamesConfiguration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = GamesConfiguration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)` and `update(...)` /// // to build up your call. @@ -600,7 +600,7 @@ impl<'a> AchievementConfigurationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = GamesConfiguration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = GamesConfiguration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `upload(...)` /// // to build up your call. @@ -660,7 +660,7 @@ impl<'a> ImageConfigurationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = GamesConfiguration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = GamesConfiguration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)` and `update(...)` /// // to build up your call. @@ -799,7 +799,7 @@ impl<'a> LeaderboardConfigurationMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GamesConfiguration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GamesConfiguration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1040,7 +1040,7 @@ impl<'a> AchievementConfigurationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GamesConfiguration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GamesConfiguration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1293,7 +1293,7 @@ impl<'a> AchievementConfigurationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GamesConfiguration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GamesConfiguration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1574,7 +1574,7 @@ impl<'a> AchievementConfigurationInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GamesConfiguration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GamesConfiguration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1851,7 +1851,7 @@ impl<'a> AchievementConfigurationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GamesConfiguration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GamesConfiguration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2133,7 +2133,7 @@ impl<'a> AchievementConfigurationUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GamesConfiguration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GamesConfiguration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `upload(...)`. /// // Values shown here are possibly random and not representative ! @@ -2426,7 +2426,7 @@ impl<'a> ImageConfigurationUploadCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GamesConfiguration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GamesConfiguration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2667,7 +2667,7 @@ impl<'a> LeaderboardConfigurationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GamesConfiguration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GamesConfiguration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2920,7 +2920,7 @@ impl<'a> LeaderboardConfigurationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GamesConfiguration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GamesConfiguration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3201,7 +3201,7 @@ impl<'a> LeaderboardConfigurationInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GamesConfiguration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GamesConfiguration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3478,7 +3478,7 @@ impl<'a> LeaderboardConfigurationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GamesConfiguration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GamesConfiguration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/gamesconfiguration1_configuration/src/lib.rs b/gen/gamesconfiguration1_configuration/src/lib.rs index 097210338e..5c5be88123 100644 --- a/gen/gamesconfiguration1_configuration/src/lib.rs +++ b/gen/gamesconfiguration1_configuration/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Games Configuration* crate version *3.0.0+20220217*, where *20220217* is the exact revision of the *gamesConfiguration:v1configuration* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Games Configuration* crate version *3.1.0+20220217*, where *20220217* is the exact revision of the *gamesConfiguration:v1configuration* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Games Configuration* *v1_configuration* API can be found at the //! [official documentation site](https://developers.google.com/games/). @@ -103,7 +103,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = GamesConfiguration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = GamesConfiguration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/gameservices1-cli/Cargo.toml b/gen/gameservices1-cli/Cargo.toml index d81f283683..1c467e7cc1 100644 --- a/gen/gameservices1-cli/Cargo.toml +++ b/gen/gameservices1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-gameservices1-cli" -version = "3.0.0+20220223" +version = "3.1.0+20220223" authors = ["Sebastian Thiel "] description = "A complete library to interact with Game Services (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/gameservices1-cli" @@ -20,12 +20,12 @@ name = "gameservices1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-gameservices1] path = "../gameservices1" -version = "3.0.0+20220223" +version = "3.1.0+20220223" diff --git a/gen/gameservices1-cli/README.md b/gen/gameservices1-cli/README.md index af9a8d16df..1c10045079 100644 --- a/gen/gameservices1-cli/README.md +++ b/gen/gameservices1-cli/README.md @@ -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 *Game Services* API at revision *20220223*. The CLI is at version *3.0.0*. +This documentation was generated from the *Game Services* API at revision *20220223*. The CLI is at version *3.1.0*. ```bash gameservices1 [options] diff --git a/gen/gameservices1-cli/mkdocs.yml b/gen/gameservices1-cli/mkdocs.yml index f379c46da5..86e03471e6 100644 --- a/gen/gameservices1-cli/mkdocs.yml +++ b/gen/gameservices1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Game Services v3.0.0+20220223 +site_name: Game Services v3.1.0+20220223 site_url: http://byron.github.io/google-apis-rs/google-gameservices1-cli site_description: A complete library to interact with Game Services (protocol v1) diff --git a/gen/gameservices1-cli/src/main.rs b/gen/gameservices1-cli/src/main.rs index a8ded74c7d..11b6f5f856 100644 --- a/gen/gameservices1-cli/src/main.rs +++ b/gen/gameservices1-cli/src/main.rs @@ -2842,7 +2842,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/gameservices1", 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::GameServices::new(client, auth), @@ -3772,7 +3778,7 @@ async fn main() { let mut app = App::new("gameservices1") .author("Sebastian Thiel ") - .version("3.0.0+20220223") + .version("3.1.0+20220223") .about("Deploy and manage infrastructure for global multiplayer gaming experiences.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_gameservices1_cli") .arg(Arg::with_name("url") diff --git a/gen/gameservices1/Cargo.toml b/gen/gameservices1/Cargo.toml index 9a717b8198..ac8d868bca 100644 --- a/gen/gameservices1/Cargo.toml +++ b/gen/gameservices1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-gameservices1" -version = "3.0.0+20220223" +version = "3.1.0+20220223" authors = ["Sebastian Thiel "] description = "A complete library to interact with Game Services (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/gameservices1" homepage = "https://cloud.google.com/solutions/gaming/" -documentation = "https://docs.rs/google-gameservices1/3.0.0+20220223" +documentation = "https://docs.rs/google-gameservices1/3.1.0+20220223" license = "MIT" keywords = ["gameservices", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/gameservices1/README.md b/gen/gameservices1/README.md index 5dd6bb9c55..0ee67d379f 100644 --- a/gen/gameservices1/README.md +++ b/gen/gameservices1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-gameservices1` library allows access to all features of the *Google Game Services* service. -This documentation was generated from *Game Services* crate version *3.0.0+20220223*, where *20220223* is the exact revision of the *gameservices:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Game Services* crate version *3.1.0+20220223*, where *20220223* is the exact revision of the *gameservices:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Game Services* *v1* API can be found at the [official documentation site](https://cloud.google.com/solutions/gaming/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/GameServices) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/GameServices) ... * projects - * [*locations game server deployments configs create*](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/api::ProjectLocationGameServerDeploymentConfigCreateCall), [*locations game server deployments configs delete*](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/api::ProjectLocationGameServerDeploymentConfigDeleteCall), [*locations game server deployments configs get*](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/api::ProjectLocationGameServerDeploymentConfigGetCall), [*locations game server deployments configs list*](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/api::ProjectLocationGameServerDeploymentConfigListCall), [*locations game server deployments create*](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/api::ProjectLocationGameServerDeploymentCreateCall), [*locations game server deployments delete*](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/api::ProjectLocationGameServerDeploymentDeleteCall), [*locations game server deployments fetch deployment state*](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/api::ProjectLocationGameServerDeploymentFetchDeploymentStateCall), [*locations game server deployments get*](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/api::ProjectLocationGameServerDeploymentGetCall), [*locations game server deployments get iam policy*](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/api::ProjectLocationGameServerDeploymentGetIamPolicyCall), [*locations game server deployments get rollout*](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/api::ProjectLocationGameServerDeploymentGetRolloutCall), [*locations game server deployments list*](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/api::ProjectLocationGameServerDeploymentListCall), [*locations game server deployments patch*](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/api::ProjectLocationGameServerDeploymentPatchCall), [*locations game server deployments preview rollout*](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/api::ProjectLocationGameServerDeploymentPreviewRolloutCall), [*locations game server deployments set iam policy*](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/api::ProjectLocationGameServerDeploymentSetIamPolicyCall), [*locations game server deployments test iam permissions*](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/api::ProjectLocationGameServerDeploymentTestIamPermissionCall), [*locations game server deployments update rollout*](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/api::ProjectLocationGameServerDeploymentUpdateRolloutCall), [*locations get*](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/api::ProjectLocationOperationListCall), [*locations realms create*](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/api::ProjectLocationRealmCreateCall), [*locations realms delete*](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/api::ProjectLocationRealmDeleteCall), [*locations realms game server clusters create*](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/api::ProjectLocationRealmGameServerClusterCreateCall), [*locations realms game server clusters delete*](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/api::ProjectLocationRealmGameServerClusterDeleteCall), [*locations realms game server clusters get*](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/api::ProjectLocationRealmGameServerClusterGetCall), [*locations realms game server clusters list*](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/api::ProjectLocationRealmGameServerClusterListCall), [*locations realms game server clusters patch*](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/api::ProjectLocationRealmGameServerClusterPatchCall), [*locations realms game server clusters preview create*](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/api::ProjectLocationRealmGameServerClusterPreviewCreateCall), [*locations realms game server clusters preview delete*](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/api::ProjectLocationRealmGameServerClusterPreviewDeleteCall), [*locations realms game server clusters preview update*](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/api::ProjectLocationRealmGameServerClusterPreviewUpdateCall), [*locations realms get*](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/api::ProjectLocationRealmGetCall), [*locations realms list*](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/api::ProjectLocationRealmListCall), [*locations realms patch*](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/api::ProjectLocationRealmPatchCall) and [*locations realms preview update*](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/api::ProjectLocationRealmPreviewUpdateCall) + * [*locations game server deployments configs create*](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/api::ProjectLocationGameServerDeploymentConfigCreateCall), [*locations game server deployments configs delete*](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/api::ProjectLocationGameServerDeploymentConfigDeleteCall), [*locations game server deployments configs get*](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/api::ProjectLocationGameServerDeploymentConfigGetCall), [*locations game server deployments configs list*](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/api::ProjectLocationGameServerDeploymentConfigListCall), [*locations game server deployments create*](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/api::ProjectLocationGameServerDeploymentCreateCall), [*locations game server deployments delete*](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/api::ProjectLocationGameServerDeploymentDeleteCall), [*locations game server deployments fetch deployment state*](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/api::ProjectLocationGameServerDeploymentFetchDeploymentStateCall), [*locations game server deployments get*](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/api::ProjectLocationGameServerDeploymentGetCall), [*locations game server deployments get iam policy*](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/api::ProjectLocationGameServerDeploymentGetIamPolicyCall), [*locations game server deployments get rollout*](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/api::ProjectLocationGameServerDeploymentGetRolloutCall), [*locations game server deployments list*](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/api::ProjectLocationGameServerDeploymentListCall), [*locations game server deployments patch*](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/api::ProjectLocationGameServerDeploymentPatchCall), [*locations game server deployments preview rollout*](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/api::ProjectLocationGameServerDeploymentPreviewRolloutCall), [*locations game server deployments set iam policy*](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/api::ProjectLocationGameServerDeploymentSetIamPolicyCall), [*locations game server deployments test iam permissions*](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/api::ProjectLocationGameServerDeploymentTestIamPermissionCall), [*locations game server deployments update rollout*](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/api::ProjectLocationGameServerDeploymentUpdateRolloutCall), [*locations get*](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/api::ProjectLocationOperationListCall), [*locations realms create*](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/api::ProjectLocationRealmCreateCall), [*locations realms delete*](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/api::ProjectLocationRealmDeleteCall), [*locations realms game server clusters create*](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/api::ProjectLocationRealmGameServerClusterCreateCall), [*locations realms game server clusters delete*](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/api::ProjectLocationRealmGameServerClusterDeleteCall), [*locations realms game server clusters get*](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/api::ProjectLocationRealmGameServerClusterGetCall), [*locations realms game server clusters list*](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/api::ProjectLocationRealmGameServerClusterListCall), [*locations realms game server clusters patch*](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/api::ProjectLocationRealmGameServerClusterPatchCall), [*locations realms game server clusters preview create*](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/api::ProjectLocationRealmGameServerClusterPreviewCreateCall), [*locations realms game server clusters preview delete*](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/api::ProjectLocationRealmGameServerClusterPreviewDeleteCall), [*locations realms game server clusters preview update*](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/api::ProjectLocationRealmGameServerClusterPreviewUpdateCall), [*locations realms get*](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/api::ProjectLocationRealmGetCall), [*locations realms list*](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/api::ProjectLocationRealmListCall), [*locations realms patch*](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/api::ProjectLocationRealmPatchCall) and [*locations realms preview update*](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/api::ProjectLocationRealmPreviewUpdateCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/GameServices)** +* **[Hub](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/GameServices)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/client::CallBuilder) -* **[Resources](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/client::CallBuilder) +* **[Resources](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/client::Part)** + * **[Parts](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -103,7 +103,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -137,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -157,29 +157,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/client::Delegate) to the -[Method Builder](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/client::Delegate) to the +[Method Builder](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/client::RequestValue) and -[decodable](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/client::RequestValue) and +[decodable](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-gameservices1/3.0.0+20220223/google_gameservices1/client::RequestValue) are moved +* [request values](https://docs.rs/google-gameservices1/3.1.0+20220223/google_gameservices1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/gameservices1/src/api.rs b/gen/gameservices1/src/api.rs index 0b63a92aea..787a219b03 100644 --- a/gen/gameservices1/src/api.rs +++ b/gen/gameservices1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > GameServices<> { GameServices { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://gameservices.googleapis.com/".to_string(), _root_url: "https://gameservices.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > GameServices<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1420,7 +1420,7 @@ impl client::ResponseResult for TestIamPermissionsResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_game_server_deployments_configs_create(...)`, `locations_game_server_deployments_configs_delete(...)`, `locations_game_server_deployments_configs_get(...)`, `locations_game_server_deployments_configs_list(...)`, `locations_game_server_deployments_create(...)`, `locations_game_server_deployments_delete(...)`, `locations_game_server_deployments_fetch_deployment_state(...)`, `locations_game_server_deployments_get(...)`, `locations_game_server_deployments_get_iam_policy(...)`, `locations_game_server_deployments_get_rollout(...)`, `locations_game_server_deployments_list(...)`, `locations_game_server_deployments_patch(...)`, `locations_game_server_deployments_preview_rollout(...)`, `locations_game_server_deployments_set_iam_policy(...)`, `locations_game_server_deployments_test_iam_permissions(...)`, `locations_game_server_deployments_update_rollout(...)`, `locations_get(...)`, `locations_list(...)`, `locations_operations_cancel(...)`, `locations_operations_delete(...)`, `locations_operations_get(...)`, `locations_operations_list(...)`, `locations_realms_create(...)`, `locations_realms_delete(...)`, `locations_realms_game_server_clusters_create(...)`, `locations_realms_game_server_clusters_delete(...)`, `locations_realms_game_server_clusters_get(...)`, `locations_realms_game_server_clusters_list(...)`, `locations_realms_game_server_clusters_patch(...)`, `locations_realms_game_server_clusters_preview_create(...)`, `locations_realms_game_server_clusters_preview_delete(...)`, `locations_realms_game_server_clusters_preview_update(...)`, `locations_realms_get(...)`, `locations_realms_list(...)`, `locations_realms_patch(...)` and `locations_realms_preview_update(...)` /// // to build up your call. @@ -2157,7 +2157,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2454,7 +2454,7 @@ impl<'a> ProjectLocationGameServerDeploymentConfigCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2710,7 +2710,7 @@ impl<'a> ProjectLocationGameServerDeploymentConfigDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2966,7 +2966,7 @@ impl<'a> ProjectLocationGameServerDeploymentConfigGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3271,7 +3271,7 @@ impl<'a> ProjectLocationGameServerDeploymentConfigListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3568,7 +3568,7 @@ impl<'a> ProjectLocationGameServerDeploymentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3825,7 +3825,7 @@ impl<'a> ProjectLocationGameServerDeploymentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4110,7 +4110,7 @@ impl<'a> ProjectLocationGameServerDeploymentFetchDeploymentStateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4366,7 +4366,7 @@ impl<'a> ProjectLocationGameServerDeploymentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4634,7 +4634,7 @@ impl<'a> ProjectLocationGameServerDeploymentGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4890,7 +4890,7 @@ impl<'a> ProjectLocationGameServerDeploymentGetRolloutCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5195,7 +5195,7 @@ impl<'a> ProjectLocationGameServerDeploymentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5493,7 +5493,7 @@ impl<'a> ProjectLocationGameServerDeploymentPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5803,7 +5803,7 @@ impl<'a> ProjectLocationGameServerDeploymentPreviewRolloutCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6089,7 +6089,7 @@ impl<'a> ProjectLocationGameServerDeploymentSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6375,7 +6375,7 @@ impl<'a> ProjectLocationGameServerDeploymentTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6673,7 +6673,7 @@ impl<'a> ProjectLocationGameServerDeploymentUpdateRolloutCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6958,7 +6958,7 @@ impl<'a> ProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7214,7 +7214,7 @@ impl<'a> ProjectLocationOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7470,7 +7470,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7763,7 +7763,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8060,7 +8060,7 @@ impl<'a> ProjectLocationRealmGameServerClusterCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8316,7 +8316,7 @@ impl<'a> ProjectLocationRealmGameServerClusterDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8584,7 +8584,7 @@ impl<'a> ProjectLocationRealmGameServerClusterGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8901,7 +8901,7 @@ impl<'a> ProjectLocationRealmGameServerClusterListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9199,7 +9199,7 @@ impl<'a> ProjectLocationRealmGameServerClusterPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9520,7 +9520,7 @@ impl<'a> ProjectLocationRealmGameServerClusterPreviewCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9789,7 +9789,7 @@ impl<'a> ProjectLocationRealmGameServerClusterPreviewDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10099,7 +10099,7 @@ impl<'a> ProjectLocationRealmGameServerClusterPreviewUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10396,7 +10396,7 @@ impl<'a> ProjectLocationRealmCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10652,7 +10652,7 @@ impl<'a> ProjectLocationRealmDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10908,7 +10908,7 @@ impl<'a> ProjectLocationRealmGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11213,7 +11213,7 @@ impl<'a> ProjectLocationRealmListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11511,7 +11511,7 @@ impl<'a> ProjectLocationRealmPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11820,7 +11820,7 @@ impl<'a> ProjectLocationRealmPreviewUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12076,7 +12076,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/gameservices1/src/lib.rs b/gen/gameservices1/src/lib.rs index e2ef9da345..bc6501b686 100644 --- a/gen/gameservices1/src/lib.rs +++ b/gen/gameservices1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Game Services* crate version *3.0.0+20220223*, where *20220223* is the exact revision of the *gameservices:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Game Services* crate version *3.1.0+20220223*, where *20220223* is the exact revision of the *gameservices:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Game Services* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/solutions/gaming/). @@ -104,7 +104,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = GameServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/gamesmanagement1_management-cli/Cargo.toml b/gen/gamesmanagement1_management-cli/Cargo.toml index edadba4212..19fc08a8b9 100644 --- a/gen/gamesmanagement1_management-cli/Cargo.toml +++ b/gen/gamesmanagement1_management-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-gamesmanagement1_management-cli" -version = "3.0.0+20220217" +version = "3.1.0+20220217" authors = ["Sebastian Thiel "] description = "A complete library to interact with Games Management (protocol v1management)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/gamesmanagement1_management-cli" @@ -20,12 +20,12 @@ name = "gamesmanagement1-management" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-gamesmanagement1_management] path = "../gamesmanagement1_management" -version = "3.0.0+20220217" +version = "3.1.0+20220217" diff --git a/gen/gamesmanagement1_management-cli/README.md b/gen/gamesmanagement1_management-cli/README.md index e42fc7ce81..3790760923 100644 --- a/gen/gamesmanagement1_management-cli/README.md +++ b/gen/gamesmanagement1_management-cli/README.md @@ -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 *Games Management* API at revision *20220217*. The CLI is at version *3.0.0*. +This documentation was generated from the *Games Management* API at revision *20220217*. The CLI is at version *3.1.0*. ```bash gamesmanagement1-management [options] diff --git a/gen/gamesmanagement1_management-cli/mkdocs.yml b/gen/gamesmanagement1_management-cli/mkdocs.yml index 91e14cff77..1f64af9e2f 100644 --- a/gen/gamesmanagement1_management-cli/mkdocs.yml +++ b/gen/gamesmanagement1_management-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Games Management v3.0.0+20220217 +site_name: Games Management v3.1.0+20220217 site_url: http://byron.github.io/google-apis-rs/google-gamesmanagement1_management-cli site_description: A complete library to interact with Games Management (protocol v1management) diff --git a/gen/gamesmanagement1_management-cli/src/main.rs b/gen/gamesmanagement1_management-cli/src/main.rs index 732d98d555..54878ab4a9 100644 --- a/gen/gamesmanagement1_management-cli/src/main.rs +++ b/gen/gamesmanagement1_management-cli/src/main.rs @@ -1116,7 +1116,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/gamesmanagement1-management", 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::GamesManagement::new(client, auth), @@ -1464,7 +1470,7 @@ async fn main() { let mut app = App::new("gamesmanagement1-management") .author("Sebastian Thiel ") - .version("3.0.0+20220217") + .version("3.1.0+20220217") .about("The Google Play Game Management API allows developers to manage resources from the Google Play Game service.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_gamesmanagement1_management_cli") .arg(Arg::with_name("url") diff --git a/gen/gamesmanagement1_management/Cargo.toml b/gen/gamesmanagement1_management/Cargo.toml index c1c8ae67df..1506fa7984 100644 --- a/gen/gamesmanagement1_management/Cargo.toml +++ b/gen/gamesmanagement1_management/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-gamesmanagement1_management" -version = "3.0.0+20220217" +version = "3.1.0+20220217" authors = ["Sebastian Thiel "] description = "A complete library to interact with Games Management (protocol v1management)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/gamesmanagement1_management" homepage = "https://developers.google.com/games/" -documentation = "https://docs.rs/google-gamesmanagement1_management/3.0.0+20220217" +documentation = "https://docs.rs/google-gamesmanagement1_management/3.1.0+20220217" license = "MIT" keywords = ["gamesManagement", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/gamesmanagement1_management/README.md b/gen/gamesmanagement1_management/README.md index 1fc732a1a7..88f59da2ae 100644 --- a/gen/gamesmanagement1_management/README.md +++ b/gen/gamesmanagement1_management/README.md @@ -5,24 +5,24 @@ DO NOT EDIT ! --> The `google-gamesmanagement1_management` library allows access to all features of the *Google Games Management* service. -This documentation was generated from *Games Management* crate version *3.0.0+20220217*, where *20220217* is the exact revision of the *gamesManagement:v1management* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Games Management* crate version *3.1.0+20220217*, where *20220217* is the exact revision of the *gamesManagement:v1management* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Games Management* *v1_management* API can be found at the [official documentation site](https://developers.google.com/games/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gamesmanagement1_management/3.0.0+20220217/google_gamesmanagement1_management/GamesManagement) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gamesmanagement1_management/3.1.0+20220217/google_gamesmanagement1_management/GamesManagement) ... * achievements - * [*reset*](https://docs.rs/google-gamesmanagement1_management/3.0.0+20220217/google_gamesmanagement1_management/api::AchievementResetCall), [*reset all*](https://docs.rs/google-gamesmanagement1_management/3.0.0+20220217/google_gamesmanagement1_management/api::AchievementResetAllCall), [*reset all for all players*](https://docs.rs/google-gamesmanagement1_management/3.0.0+20220217/google_gamesmanagement1_management/api::AchievementResetAllForAllPlayerCall), [*reset for all players*](https://docs.rs/google-gamesmanagement1_management/3.0.0+20220217/google_gamesmanagement1_management/api::AchievementResetForAllPlayerCall) and [*reset multiple for all players*](https://docs.rs/google-gamesmanagement1_management/3.0.0+20220217/google_gamesmanagement1_management/api::AchievementResetMultipleForAllPlayerCall) + * [*reset*](https://docs.rs/google-gamesmanagement1_management/3.1.0+20220217/google_gamesmanagement1_management/api::AchievementResetCall), [*reset all*](https://docs.rs/google-gamesmanagement1_management/3.1.0+20220217/google_gamesmanagement1_management/api::AchievementResetAllCall), [*reset all for all players*](https://docs.rs/google-gamesmanagement1_management/3.1.0+20220217/google_gamesmanagement1_management/api::AchievementResetAllForAllPlayerCall), [*reset for all players*](https://docs.rs/google-gamesmanagement1_management/3.1.0+20220217/google_gamesmanagement1_management/api::AchievementResetForAllPlayerCall) and [*reset multiple for all players*](https://docs.rs/google-gamesmanagement1_management/3.1.0+20220217/google_gamesmanagement1_management/api::AchievementResetMultipleForAllPlayerCall) * applications - * [*list hidden*](https://docs.rs/google-gamesmanagement1_management/3.0.0+20220217/google_gamesmanagement1_management/api::ApplicationListHiddenCall) + * [*list hidden*](https://docs.rs/google-gamesmanagement1_management/3.1.0+20220217/google_gamesmanagement1_management/api::ApplicationListHiddenCall) * events - * [*reset*](https://docs.rs/google-gamesmanagement1_management/3.0.0+20220217/google_gamesmanagement1_management/api::EventResetCall), [*reset all*](https://docs.rs/google-gamesmanagement1_management/3.0.0+20220217/google_gamesmanagement1_management/api::EventResetAllCall), [*reset all for all players*](https://docs.rs/google-gamesmanagement1_management/3.0.0+20220217/google_gamesmanagement1_management/api::EventResetAllForAllPlayerCall), [*reset for all players*](https://docs.rs/google-gamesmanagement1_management/3.0.0+20220217/google_gamesmanagement1_management/api::EventResetForAllPlayerCall) and [*reset multiple for all players*](https://docs.rs/google-gamesmanagement1_management/3.0.0+20220217/google_gamesmanagement1_management/api::EventResetMultipleForAllPlayerCall) -* [players](https://docs.rs/google-gamesmanagement1_management/3.0.0+20220217/google_gamesmanagement1_management/api::Player) - * [*hide*](https://docs.rs/google-gamesmanagement1_management/3.0.0+20220217/google_gamesmanagement1_management/api::PlayerHideCall) and [*unhide*](https://docs.rs/google-gamesmanagement1_management/3.0.0+20220217/google_gamesmanagement1_management/api::PlayerUnhideCall) + * [*reset*](https://docs.rs/google-gamesmanagement1_management/3.1.0+20220217/google_gamesmanagement1_management/api::EventResetCall), [*reset all*](https://docs.rs/google-gamesmanagement1_management/3.1.0+20220217/google_gamesmanagement1_management/api::EventResetAllCall), [*reset all for all players*](https://docs.rs/google-gamesmanagement1_management/3.1.0+20220217/google_gamesmanagement1_management/api::EventResetAllForAllPlayerCall), [*reset for all players*](https://docs.rs/google-gamesmanagement1_management/3.1.0+20220217/google_gamesmanagement1_management/api::EventResetForAllPlayerCall) and [*reset multiple for all players*](https://docs.rs/google-gamesmanagement1_management/3.1.0+20220217/google_gamesmanagement1_management/api::EventResetMultipleForAllPlayerCall) +* [players](https://docs.rs/google-gamesmanagement1_management/3.1.0+20220217/google_gamesmanagement1_management/api::Player) + * [*hide*](https://docs.rs/google-gamesmanagement1_management/3.1.0+20220217/google_gamesmanagement1_management/api::PlayerHideCall) and [*unhide*](https://docs.rs/google-gamesmanagement1_management/3.1.0+20220217/google_gamesmanagement1_management/api::PlayerUnhideCall) * scores - * [*reset*](https://docs.rs/google-gamesmanagement1_management/3.0.0+20220217/google_gamesmanagement1_management/api::ScoreResetCall), [*reset all*](https://docs.rs/google-gamesmanagement1_management/3.0.0+20220217/google_gamesmanagement1_management/api::ScoreResetAllCall), [*reset all for all players*](https://docs.rs/google-gamesmanagement1_management/3.0.0+20220217/google_gamesmanagement1_management/api::ScoreResetAllForAllPlayerCall), [*reset for all players*](https://docs.rs/google-gamesmanagement1_management/3.0.0+20220217/google_gamesmanagement1_management/api::ScoreResetForAllPlayerCall) and [*reset multiple for all players*](https://docs.rs/google-gamesmanagement1_management/3.0.0+20220217/google_gamesmanagement1_management/api::ScoreResetMultipleForAllPlayerCall) + * [*reset*](https://docs.rs/google-gamesmanagement1_management/3.1.0+20220217/google_gamesmanagement1_management/api::ScoreResetCall), [*reset all*](https://docs.rs/google-gamesmanagement1_management/3.1.0+20220217/google_gamesmanagement1_management/api::ScoreResetAllCall), [*reset all for all players*](https://docs.rs/google-gamesmanagement1_management/3.1.0+20220217/google_gamesmanagement1_management/api::ScoreResetAllForAllPlayerCall), [*reset for all players*](https://docs.rs/google-gamesmanagement1_management/3.1.0+20220217/google_gamesmanagement1_management/api::ScoreResetForAllPlayerCall) and [*reset multiple for all players*](https://docs.rs/google-gamesmanagement1_management/3.1.0+20220217/google_gamesmanagement1_management/api::ScoreResetMultipleForAllPlayerCall) @@ -31,17 +31,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-gamesmanagement1_management/3.0.0+20220217/google_gamesmanagement1_management/GamesManagement)** +* **[Hub](https://docs.rs/google-gamesmanagement1_management/3.1.0+20220217/google_gamesmanagement1_management/GamesManagement)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-gamesmanagement1_management/3.0.0+20220217/google_gamesmanagement1_management/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-gamesmanagement1_management/3.0.0+20220217/google_gamesmanagement1_management/client::CallBuilder) -* **[Resources](https://docs.rs/google-gamesmanagement1_management/3.0.0+20220217/google_gamesmanagement1_management/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-gamesmanagement1_management/3.1.0+20220217/google_gamesmanagement1_management/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-gamesmanagement1_management/3.1.0+20220217/google_gamesmanagement1_management/client::CallBuilder) +* **[Resources](https://docs.rs/google-gamesmanagement1_management/3.1.0+20220217/google_gamesmanagement1_management/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-gamesmanagement1_management/3.0.0+20220217/google_gamesmanagement1_management/client::Part)** + * **[Parts](https://docs.rs/google-gamesmanagement1_management/3.1.0+20220217/google_gamesmanagement1_management/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-gamesmanagement1_management/3.0.0+20220217/google_gamesmanagement1_management/client::CallBuilder)** +* **[Activities](https://docs.rs/google-gamesmanagement1_management/3.1.0+20220217/google_gamesmanagement1_management/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -99,7 +99,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -127,17 +127,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-gamesmanagement1_management/3.0.0+20220217/google_gamesmanagement1_management/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-gamesmanagement1_management/3.1.0+20220217/google_gamesmanagement1_management/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-gamesmanagement1_management/3.0.0+20220217/google_gamesmanagement1_management/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-gamesmanagement1_management/3.1.0+20220217/google_gamesmanagement1_management/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-gamesmanagement1_management/3.0.0+20220217/google_gamesmanagement1_management/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-gamesmanagement1_management/3.1.0+20220217/google_gamesmanagement1_management/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-gamesmanagement1_management/3.0.0+20220217/google_gamesmanagement1_management/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-gamesmanagement1_management/3.1.0+20220217/google_gamesmanagement1_management/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -147,29 +147,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-gamesmanagement1_management/3.0.0+20220217/google_gamesmanagement1_management/client::Delegate) to the -[Method Builder](https://docs.rs/google-gamesmanagement1_management/3.0.0+20220217/google_gamesmanagement1_management/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-gamesmanagement1_management/3.1.0+20220217/google_gamesmanagement1_management/client::Delegate) to the +[Method Builder](https://docs.rs/google-gamesmanagement1_management/3.1.0+20220217/google_gamesmanagement1_management/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-gamesmanagement1_management/3.0.0+20220217/google_gamesmanagement1_management/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-gamesmanagement1_management/3.1.0+20220217/google_gamesmanagement1_management/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-gamesmanagement1_management/3.0.0+20220217/google_gamesmanagement1_management/client::RequestValue) and -[decodable](https://docs.rs/google-gamesmanagement1_management/3.0.0+20220217/google_gamesmanagement1_management/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-gamesmanagement1_management/3.1.0+20220217/google_gamesmanagement1_management/client::RequestValue) and +[decodable](https://docs.rs/google-gamesmanagement1_management/3.1.0+20220217/google_gamesmanagement1_management/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-gamesmanagement1_management/3.0.0+20220217/google_gamesmanagement1_management/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-gamesmanagement1_management/3.1.0+20220217/google_gamesmanagement1_management/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-gamesmanagement1_management/3.0.0+20220217/google_gamesmanagement1_management/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-gamesmanagement1_management/3.1.0+20220217/google_gamesmanagement1_management/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-gamesmanagement1_management/3.0.0+20220217/google_gamesmanagement1_management/client::RequestValue) are moved +* [request values](https://docs.rs/google-gamesmanagement1_management/3.1.0+20220217/google_gamesmanagement1_management/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/gamesmanagement1_management/src/api.rs b/gen/gamesmanagement1_management/src/api.rs index e0d303c446..71f97773c0 100644 --- a/gen/gamesmanagement1_management/src/api.rs +++ b/gen/gamesmanagement1_management/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -113,7 +113,7 @@ impl<'a, > GamesManagement<> { GamesManagement { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://gamesmanagement.googleapis.com/".to_string(), _root_url: "https://gamesmanagement.googleapis.com/".to_string(), } @@ -136,7 +136,7 @@ impl<'a, > GamesManagement<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -505,7 +505,7 @@ impl client::Part for PlayerName {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `reset(...)`, `reset_all(...)`, `reset_all_for_all_players(...)`, `reset_for_all_players(...)` and `reset_multiple_for_all_players(...)` /// // to build up your call. @@ -621,7 +621,7 @@ impl<'a> AchievementMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list_hidden(...)` /// // to build up your call. @@ -681,7 +681,7 @@ impl<'a> ApplicationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `reset(...)`, `reset_all(...)`, `reset_all_for_all_players(...)`, `reset_for_all_players(...)` and `reset_multiple_for_all_players(...)` /// // to build up your call. @@ -797,7 +797,7 @@ impl<'a> EventMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `hide(...)` and `unhide(...)` /// // to build up your call. @@ -876,7 +876,7 @@ impl<'a> PlayerMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `reset(...)`, `reset_all(...)`, `reset_all_for_all_players(...)`, `reset_for_all_players(...)` and `reset_multiple_for_all_players(...)` /// // to build up your call. @@ -999,7 +999,7 @@ impl<'a> ScoreMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1251,7 +1251,7 @@ impl<'a> AchievementResetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1470,7 +1470,7 @@ impl<'a> AchievementResetAllCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1678,7 +1678,7 @@ impl<'a> AchievementResetAllForAllPlayerCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1920,7 +1920,7 @@ impl<'a> AchievementResetForAllPlayerCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2157,7 +2157,7 @@ impl<'a> AchievementResetMultipleForAllPlayerCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2433,7 +2433,7 @@ impl<'a> ApplicationListHiddenCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2674,7 +2674,7 @@ impl<'a> EventResetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2882,7 +2882,7 @@ impl<'a> EventResetAllCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3090,7 +3090,7 @@ impl<'a> EventResetAllForAllPlayerCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3332,7 +3332,7 @@ impl<'a> EventResetForAllPlayerCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3569,7 +3569,7 @@ impl<'a> EventResetMultipleForAllPlayerCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3822,7 +3822,7 @@ impl<'a> PlayerHideCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4075,7 +4075,7 @@ impl<'a> PlayerUnhideCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4327,7 +4327,7 @@ impl<'a> ScoreResetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4546,7 +4546,7 @@ impl<'a> ScoreResetAllCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4754,7 +4754,7 @@ impl<'a> ScoreResetAllForAllPlayerCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4996,7 +4996,7 @@ impl<'a> ScoreResetForAllPlayerCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/gamesmanagement1_management/src/lib.rs b/gen/gamesmanagement1_management/src/lib.rs index 6722fb5f13..bb16d9308b 100644 --- a/gen/gamesmanagement1_management/src/lib.rs +++ b/gen/gamesmanagement1_management/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Games Management* crate version *3.0.0+20220217*, where *20220217* is the exact revision of the *gamesManagement:v1management* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Games Management* crate version *3.1.0+20220217*, where *20220217* is the exact revision of the *gamesManagement:v1management* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Games Management* *v1_management* API can be found at the //! [official documentation site](https://developers.google.com/games/). @@ -100,7 +100,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = GamesManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/gan1_beta1-cli/Cargo.toml b/gen/gan1_beta1-cli/Cargo.toml index 5932f2c3b5..386cb11026 100644 --- a/gen/gan1_beta1-cli/Cargo.toml +++ b/gen/gan1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-gan1_beta1-cli" -version = "3.0.0+20130205" +version = "3.1.0+20130205" authors = ["Sebastian Thiel "] description = "A complete library to interact with gan (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/gan1_beta1-cli" @@ -20,12 +20,12 @@ name = "gan1-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-gan1_beta1] path = "../gan1_beta1" -version = "3.0.0+20130205" +version = "3.1.0+20130205" diff --git a/gen/gan1_beta1-cli/README.md b/gen/gan1_beta1-cli/README.md index 620cfbba22..726f7acdc0 100644 --- a/gen/gan1_beta1-cli/README.md +++ b/gen/gan1_beta1-cli/README.md @@ -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 *gan* API at revision *20130205*. The CLI is at version *3.0.0*. +This documentation was generated from the *gan* API at revision *20130205*. The CLI is at version *3.1.0*. ```bash gan1-beta1 [options] diff --git a/gen/gan1_beta1-cli/mkdocs.yml b/gen/gan1_beta1-cli/mkdocs.yml index 2c89ea8a6f..2580b66d12 100644 --- a/gen/gan1_beta1-cli/mkdocs.yml +++ b/gen/gan1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: gan v3.0.0+20130205 +site_name: gan v3.1.0+20130205 site_url: http://byron.github.io/google-apis-rs/google-gan1_beta1-cli site_description: A complete library to interact with gan (protocol v1beta1) diff --git a/gen/gan1_beta1-cli/src/main.rs b/gen/gan1_beta1-cli/src/main.rs index b112bdb1e8..8e680e9a3c 100644 --- a/gen/gan1_beta1-cli/src/main.rs +++ b/gen/gan1_beta1-cli/src/main.rs @@ -897,7 +897,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/gan1-beta1", 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::Gan::new(client, auth), @@ -1243,7 +1249,7 @@ async fn main() { let mut app = App::new("gan1-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20130205") + .version("3.1.0+20130205") .about("Lets you have programmatic access to your Google Affiliate Network data.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_gan1_beta1_cli") .arg(Arg::with_name("folder") diff --git a/gen/gan1_beta1/Cargo.toml b/gen/gan1_beta1/Cargo.toml index eebf542f5a..85d9dad39f 100644 --- a/gen/gan1_beta1/Cargo.toml +++ b/gen/gan1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-gan1_beta1" -version = "3.0.0+20130205" +version = "3.1.0+20130205" authors = ["Sebastian Thiel "] description = "A complete library to interact with gan (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/gan1_beta1" homepage = "https://developers.google.com/affiliate-network/" -documentation = "https://docs.rs/google-gan1_beta1/3.0.0+20130205" +documentation = "https://docs.rs/google-gan1_beta1/3.1.0+20130205" license = "MIT" keywords = ["gan", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/gan1_beta1/README.md b/gen/gan1_beta1/README.md index 0434191223..9598c7f5f6 100644 --- a/gen/gan1_beta1/README.md +++ b/gen/gan1_beta1/README.md @@ -5,26 +5,26 @@ DO NOT EDIT ! --> The `google-gan1_beta1` library allows access to all features of the *Google gan* service. -This documentation was generated from *gan* crate version *3.0.0+20130205*, where *20130205* is the exact revision of the *gan:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *gan* crate version *3.1.0+20130205*, where *20130205* is the exact revision of the *gan:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *gan* *v1_beta1* API can be found at the [official documentation site](https://developers.google.com/affiliate-network/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gan1_beta1/3.0.0+20130205/google_gan1_beta1/Gan) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gan1_beta1/3.1.0+20130205/google_gan1_beta1/Gan) ... -* [advertisers](https://docs.rs/google-gan1_beta1/3.0.0+20130205/google_gan1_beta1/api::Advertiser) - * [*get*](https://docs.rs/google-gan1_beta1/3.0.0+20130205/google_gan1_beta1/api::AdvertiserGetCall) and [*list*](https://docs.rs/google-gan1_beta1/3.0.0+20130205/google_gan1_beta1/api::AdvertiserListCall) -* [cc offers](https://docs.rs/google-gan1_beta1/3.0.0+20130205/google_gan1_beta1/api::CcOffer) - * [*list*](https://docs.rs/google-gan1_beta1/3.0.0+20130205/google_gan1_beta1/api::CcOfferListCall) -* [events](https://docs.rs/google-gan1_beta1/3.0.0+20130205/google_gan1_beta1/api::Event) - * [*list*](https://docs.rs/google-gan1_beta1/3.0.0+20130205/google_gan1_beta1/api::EventListCall) -* [links](https://docs.rs/google-gan1_beta1/3.0.0+20130205/google_gan1_beta1/api::Link) - * [*get*](https://docs.rs/google-gan1_beta1/3.0.0+20130205/google_gan1_beta1/api::LinkGetCall), [*insert*](https://docs.rs/google-gan1_beta1/3.0.0+20130205/google_gan1_beta1/api::LinkInsertCall) and [*list*](https://docs.rs/google-gan1_beta1/3.0.0+20130205/google_gan1_beta1/api::LinkListCall) -* [publishers](https://docs.rs/google-gan1_beta1/3.0.0+20130205/google_gan1_beta1/api::Publisher) - * [*get*](https://docs.rs/google-gan1_beta1/3.0.0+20130205/google_gan1_beta1/api::PublisherGetCall) and [*list*](https://docs.rs/google-gan1_beta1/3.0.0+20130205/google_gan1_beta1/api::PublisherListCall) -* [reports](https://docs.rs/google-gan1_beta1/3.0.0+20130205/google_gan1_beta1/api::Report) - * [*get*](https://docs.rs/google-gan1_beta1/3.0.0+20130205/google_gan1_beta1/api::ReportGetCall) +* [advertisers](https://docs.rs/google-gan1_beta1/3.1.0+20130205/google_gan1_beta1/api::Advertiser) + * [*get*](https://docs.rs/google-gan1_beta1/3.1.0+20130205/google_gan1_beta1/api::AdvertiserGetCall) and [*list*](https://docs.rs/google-gan1_beta1/3.1.0+20130205/google_gan1_beta1/api::AdvertiserListCall) +* [cc offers](https://docs.rs/google-gan1_beta1/3.1.0+20130205/google_gan1_beta1/api::CcOffer) + * [*list*](https://docs.rs/google-gan1_beta1/3.1.0+20130205/google_gan1_beta1/api::CcOfferListCall) +* [events](https://docs.rs/google-gan1_beta1/3.1.0+20130205/google_gan1_beta1/api::Event) + * [*list*](https://docs.rs/google-gan1_beta1/3.1.0+20130205/google_gan1_beta1/api::EventListCall) +* [links](https://docs.rs/google-gan1_beta1/3.1.0+20130205/google_gan1_beta1/api::Link) + * [*get*](https://docs.rs/google-gan1_beta1/3.1.0+20130205/google_gan1_beta1/api::LinkGetCall), [*insert*](https://docs.rs/google-gan1_beta1/3.1.0+20130205/google_gan1_beta1/api::LinkInsertCall) and [*list*](https://docs.rs/google-gan1_beta1/3.1.0+20130205/google_gan1_beta1/api::LinkListCall) +* [publishers](https://docs.rs/google-gan1_beta1/3.1.0+20130205/google_gan1_beta1/api::Publisher) + * [*get*](https://docs.rs/google-gan1_beta1/3.1.0+20130205/google_gan1_beta1/api::PublisherGetCall) and [*list*](https://docs.rs/google-gan1_beta1/3.1.0+20130205/google_gan1_beta1/api::PublisherListCall) +* [reports](https://docs.rs/google-gan1_beta1/3.1.0+20130205/google_gan1_beta1/api::Report) + * [*get*](https://docs.rs/google-gan1_beta1/3.1.0+20130205/google_gan1_beta1/api::ReportGetCall) @@ -33,17 +33,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-gan1_beta1/3.0.0+20130205/google_gan1_beta1/Gan)** +* **[Hub](https://docs.rs/google-gan1_beta1/3.1.0+20130205/google_gan1_beta1/Gan)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-gan1_beta1/3.0.0+20130205/google_gan1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-gan1_beta1/3.0.0+20130205/google_gan1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-gan1_beta1/3.0.0+20130205/google_gan1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-gan1_beta1/3.1.0+20130205/google_gan1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-gan1_beta1/3.1.0+20130205/google_gan1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-gan1_beta1/3.1.0+20130205/google_gan1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-gan1_beta1/3.0.0+20130205/google_gan1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-gan1_beta1/3.1.0+20130205/google_gan1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-gan1_beta1/3.0.0+20130205/google_gan1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-gan1_beta1/3.1.0+20130205/google_gan1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -102,7 +102,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Gan::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Gan::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -143,17 +143,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-gan1_beta1/3.0.0+20130205/google_gan1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-gan1_beta1/3.1.0+20130205/google_gan1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-gan1_beta1/3.0.0+20130205/google_gan1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-gan1_beta1/3.1.0+20130205/google_gan1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-gan1_beta1/3.0.0+20130205/google_gan1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-gan1_beta1/3.1.0+20130205/google_gan1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-gan1_beta1/3.0.0+20130205/google_gan1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-gan1_beta1/3.1.0+20130205/google_gan1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -163,29 +163,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-gan1_beta1/3.0.0+20130205/google_gan1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-gan1_beta1/3.0.0+20130205/google_gan1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-gan1_beta1/3.1.0+20130205/google_gan1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-gan1_beta1/3.1.0+20130205/google_gan1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-gan1_beta1/3.0.0+20130205/google_gan1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-gan1_beta1/3.1.0+20130205/google_gan1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-gan1_beta1/3.0.0+20130205/google_gan1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-gan1_beta1/3.0.0+20130205/google_gan1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-gan1_beta1/3.1.0+20130205/google_gan1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-gan1_beta1/3.1.0+20130205/google_gan1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-gan1_beta1/3.0.0+20130205/google_gan1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-gan1_beta1/3.1.0+20130205/google_gan1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-gan1_beta1/3.0.0+20130205/google_gan1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-gan1_beta1/3.1.0+20130205/google_gan1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-gan1_beta1/3.0.0+20130205/google_gan1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-gan1_beta1/3.1.0+20130205/google_gan1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/gan1_beta1/src/api.rs b/gen/gan1_beta1/src/api.rs index da2e58c0ee..bcb4b44dae 100644 --- a/gen/gan1_beta1/src/api.rs +++ b/gen/gan1_beta1/src/api.rs @@ -48,7 +48,7 @@ use crate::client; /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Gan::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Gan::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -104,7 +104,7 @@ impl<'a, > Gan<> { Gan { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/gan/v1beta1/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -130,7 +130,7 @@ impl<'a, > Gan<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -945,7 +945,7 @@ impl client::Part for LinkSpecialOffers {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Gan::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Gan::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -1030,7 +1030,7 @@ impl<'a> AdvertiserMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Gan::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Gan::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -1089,7 +1089,7 @@ impl<'a> CcOfferMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Gan::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Gan::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -1164,7 +1164,7 @@ impl<'a> EventMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Gan::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Gan::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -1276,7 +1276,7 @@ impl<'a> LinkMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Gan::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Gan::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -1361,7 +1361,7 @@ impl<'a> PublisherMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Gan::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Gan::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -1440,7 +1440,7 @@ impl<'a> ReportMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gan::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gan::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1682,7 +1682,7 @@ impl<'a> AdvertiserGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gan::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gan::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1996,7 +1996,7 @@ impl<'a> AdvertiserListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gan::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gan::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2241,7 +2241,7 @@ impl<'a> CcOfferListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gan::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gan::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2663,7 +2663,7 @@ impl<'a> EventListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gan::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gan::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2906,7 +2906,7 @@ impl<'a> LinkGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gan::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gan::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3165,7 +3165,7 @@ impl<'a> LinkInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gan::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gan::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3560,7 +3560,7 @@ impl<'a> LinkListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gan::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gan::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3802,7 +3802,7 @@ impl<'a> PublisherGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gan::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gan::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4116,7 +4116,7 @@ impl<'a> PublisherListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gan::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gan::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/gan1_beta1/src/lib.rs b/gen/gan1_beta1/src/lib.rs index 0dedf0cdee..7131bed519 100644 --- a/gen/gan1_beta1/src/lib.rs +++ b/gen/gan1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *gan* crate version *3.0.0+20130205*, where *20130205* is the exact revision of the *gan:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *gan* crate version *3.1.0+20130205*, where *20130205* is the exact revision of the *gan:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *gan* *v1_beta1* API can be found at the //! [official documentation site](https://developers.google.com/affiliate-network/). @@ -103,7 +103,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Gan::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Gan::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/genomics1-cli/Cargo.toml b/gen/genomics1-cli/Cargo.toml index 326300651b..d4ed536a8a 100644 --- a/gen/genomics1-cli/Cargo.toml +++ b/gen/genomics1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-genomics1-cli" -version = "3.0.0+20210324" +version = "3.1.0+20210324" authors = ["Sebastian Thiel "] description = "A complete library to interact with genomics (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/genomics1-cli" @@ -20,12 +20,12 @@ name = "genomics1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-genomics1] path = "../genomics1" -version = "3.0.0+20210324" +version = "3.1.0+20210324" diff --git a/gen/genomics1-cli/README.md b/gen/genomics1-cli/README.md index 9735c54682..e09c472487 100644 --- a/gen/genomics1-cli/README.md +++ b/gen/genomics1-cli/README.md @@ -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 *genomics* API at revision *20210324*. The CLI is at version *3.0.0*. +This documentation was generated from the *genomics* API at revision *20210324*. The CLI is at version *3.1.0*. ```bash genomics1 [options] diff --git a/gen/genomics1-cli/mkdocs.yml b/gen/genomics1-cli/mkdocs.yml index 980749cd3b..60b5857ea3 100644 --- a/gen/genomics1-cli/mkdocs.yml +++ b/gen/genomics1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: genomics v3.0.0+20210324 +site_name: genomics v3.1.0+20210324 site_url: http://byron.github.io/google-apis-rs/google-genomics1-cli site_description: A complete library to interact with genomics (protocol v1) diff --git a/gen/genomics1-cli/src/main.rs b/gen/genomics1-cli/src/main.rs index 7dbb70b516..ef27dd098a 100644 --- a/gen/genomics1-cli/src/main.rs +++ b/gen/genomics1-cli/src/main.rs @@ -296,7 +296,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/genomics1", 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::Genomics::new(client, auth), @@ -410,7 +416,7 @@ async fn main() { let mut app = App::new("genomics1") .author("Sebastian Thiel ") - .version("3.0.0+20210324") + .version("3.1.0+20210324") .about("Uploads, processes, queries, and searches Genomics data in the cloud.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_genomics1_cli") .arg(Arg::with_name("url") diff --git a/gen/genomics1/Cargo.toml b/gen/genomics1/Cargo.toml index 7b90b20eb0..da5158b728 100644 --- a/gen/genomics1/Cargo.toml +++ b/gen/genomics1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-genomics1" -version = "3.0.0+20210324" +version = "3.1.0+20210324" authors = ["Sebastian Thiel "] description = "A complete library to interact with genomics (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/genomics1" homepage = "https://cloud.google.com/genomics" -documentation = "https://docs.rs/google-genomics1/3.0.0+20210324" +documentation = "https://docs.rs/google-genomics1/3.1.0+20210324" license = "MIT" keywords = ["genomics", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/genomics1/README.md b/gen/genomics1/README.md index 1c41e773a4..f0f88b21c8 100644 --- a/gen/genomics1/README.md +++ b/gen/genomics1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-genomics1` library allows access to all features of the *Google genomics* service. -This documentation was generated from *genomics* crate version *3.0.0+20210324*, where *20210324* is the exact revision of the *genomics:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *genomics* crate version *3.1.0+20210324*, where *20210324* is the exact revision of the *genomics:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *genomics* *v1* API can be found at the [official documentation site](https://cloud.google.com/genomics). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-genomics1/3.0.0+20210324/google_genomics1/Genomics) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-genomics1/3.1.0+20210324/google_genomics1/Genomics) ... -* [operations](https://docs.rs/google-genomics1/3.0.0+20210324/google_genomics1/api::Operation) - * [*cancel*](https://docs.rs/google-genomics1/3.0.0+20210324/google_genomics1/api::OperationCancelCall), [*get*](https://docs.rs/google-genomics1/3.0.0+20210324/google_genomics1/api::OperationGetCall) and [*list*](https://docs.rs/google-genomics1/3.0.0+20210324/google_genomics1/api::OperationListCall) +* [operations](https://docs.rs/google-genomics1/3.1.0+20210324/google_genomics1/api::Operation) + * [*cancel*](https://docs.rs/google-genomics1/3.1.0+20210324/google_genomics1/api::OperationCancelCall), [*get*](https://docs.rs/google-genomics1/3.1.0+20210324/google_genomics1/api::OperationGetCall) and [*list*](https://docs.rs/google-genomics1/3.1.0+20210324/google_genomics1/api::OperationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-genomics1/3.0.0+20210324/google_genomics1/Genomics)** +* **[Hub](https://docs.rs/google-genomics1/3.1.0+20210324/google_genomics1/Genomics)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-genomics1/3.0.0+20210324/google_genomics1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-genomics1/3.0.0+20210324/google_genomics1/client::CallBuilder) -* **[Resources](https://docs.rs/google-genomics1/3.0.0+20210324/google_genomics1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-genomics1/3.1.0+20210324/google_genomics1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-genomics1/3.1.0+20210324/google_genomics1/client::CallBuilder) +* **[Resources](https://docs.rs/google-genomics1/3.1.0+20210324/google_genomics1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-genomics1/3.0.0+20210324/google_genomics1/client::Part)** + * **[Parts](https://docs.rs/google-genomics1/3.1.0+20210324/google_genomics1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-genomics1/3.0.0+20210324/google_genomics1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-genomics1/3.1.0+20210324/google_genomics1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -92,7 +92,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Genomics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Genomics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -123,17 +123,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-genomics1/3.0.0+20210324/google_genomics1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-genomics1/3.1.0+20210324/google_genomics1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-genomics1/3.0.0+20210324/google_genomics1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-genomics1/3.1.0+20210324/google_genomics1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-genomics1/3.0.0+20210324/google_genomics1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-genomics1/3.1.0+20210324/google_genomics1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-genomics1/3.0.0+20210324/google_genomics1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-genomics1/3.1.0+20210324/google_genomics1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -143,29 +143,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-genomics1/3.0.0+20210324/google_genomics1/client::Delegate) to the -[Method Builder](https://docs.rs/google-genomics1/3.0.0+20210324/google_genomics1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-genomics1/3.1.0+20210324/google_genomics1/client::Delegate) to the +[Method Builder](https://docs.rs/google-genomics1/3.1.0+20210324/google_genomics1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-genomics1/3.0.0+20210324/google_genomics1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-genomics1/3.1.0+20210324/google_genomics1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-genomics1/3.0.0+20210324/google_genomics1/client::RequestValue) and -[decodable](https://docs.rs/google-genomics1/3.0.0+20210324/google_genomics1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-genomics1/3.1.0+20210324/google_genomics1/client::RequestValue) and +[decodable](https://docs.rs/google-genomics1/3.1.0+20210324/google_genomics1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-genomics1/3.0.0+20210324/google_genomics1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-genomics1/3.1.0+20210324/google_genomics1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-genomics1/3.0.0+20210324/google_genomics1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-genomics1/3.1.0+20210324/google_genomics1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-genomics1/3.0.0+20210324/google_genomics1/client::RequestValue) are moved +* [request values](https://docs.rs/google-genomics1/3.1.0+20210324/google_genomics1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/genomics1/src/api.rs b/gen/genomics1/src/api.rs index b04cd4e9b2..aa985d9f4a 100644 --- a/gen/genomics1/src/api.rs +++ b/gen/genomics1/src/api.rs @@ -74,7 +74,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Genomics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Genomics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > Genomics<> { Genomics { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://genomics.googleapis.com/".to_string(), _root_url: "https://genomics.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > Genomics<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -282,7 +282,7 @@ impl client::Part for Status {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Genomics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Genomics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `cancel(...)`, `get(...)` and `list(...)` /// // to build up your call. @@ -387,7 +387,7 @@ impl<'a> OperationMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Genomics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Genomics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -672,7 +672,7 @@ impl<'a> OperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Genomics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Genomics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -928,7 +928,7 @@ impl<'a> OperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Genomics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Genomics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/genomics1/src/lib.rs b/gen/genomics1/src/lib.rs index 633cc36d77..0203610220 100644 --- a/gen/genomics1/src/lib.rs +++ b/gen/genomics1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *genomics* crate version *3.0.0+20210324*, where *20210324* is the exact revision of the *genomics:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *genomics* crate version *3.1.0+20210324*, where *20210324* is the exact revision of the *genomics:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *genomics* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/genomics). @@ -93,7 +93,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Genomics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Genomics::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/gkehub1-cli/Cargo.toml b/gen/gkehub1-cli/Cargo.toml index cda5ee7507..3a5165c127 100644 --- a/gen/gkehub1-cli/Cargo.toml +++ b/gen/gkehub1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-gkehub1-cli" -version = "3.0.0+20220211" +version = "3.1.0+20220211" authors = ["Sebastian Thiel "] description = "A complete library to interact with GKE Hub (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/gkehub1-cli" @@ -20,12 +20,12 @@ name = "gkehub1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-gkehub1] path = "../gkehub1" -version = "3.0.0+20220211" +version = "3.1.0+20220211" diff --git a/gen/gkehub1-cli/README.md b/gen/gkehub1-cli/README.md index 2c17df0fea..80ab3d60be 100644 --- a/gen/gkehub1-cli/README.md +++ b/gen/gkehub1-cli/README.md @@ -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 *GKE Hub* API at revision *20220211*. The CLI is at version *3.0.0*. +This documentation was generated from the *GKE Hub* API at revision *20220211*. The CLI is at version *3.1.0*. ```bash gkehub1 [options] diff --git a/gen/gkehub1-cli/mkdocs.yml b/gen/gkehub1-cli/mkdocs.yml index db3c4492af..d6f10a6079 100644 --- a/gen/gkehub1-cli/mkdocs.yml +++ b/gen/gkehub1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: GKE Hub v3.0.0+20220211 +site_name: GKE Hub v3.1.0+20220211 site_url: http://byron.github.io/google-apis-rs/google-gkehub1-cli site_description: A complete library to interact with GKE Hub (protocol v1) diff --git a/gen/gkehub1-cli/src/main.rs b/gen/gkehub1-cli/src/main.rs index 53c3045289..86c6aa544e 100644 --- a/gen/gkehub1-cli/src/main.rs +++ b/gen/gkehub1-cli/src/main.rs @@ -1850,7 +1850,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/gkehub1", 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::GKEHub::new(client, auth), @@ -2452,7 +2458,7 @@ async fn main() { let mut app = App::new("gkehub1") .author("Sebastian Thiel ") - .version("3.0.0+20220211") + .version("3.1.0+20220211") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_gkehub1_cli") .arg(Arg::with_name("url") diff --git a/gen/gkehub1/Cargo.toml b/gen/gkehub1/Cargo.toml index e3617dcceb..33fd36a9bd 100644 --- a/gen/gkehub1/Cargo.toml +++ b/gen/gkehub1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-gkehub1" -version = "3.0.0+20220211" +version = "3.1.0+20220211" authors = ["Sebastian Thiel "] description = "A complete library to interact with GKE Hub (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/gkehub1" homepage = "https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster" -documentation = "https://docs.rs/google-gkehub1/3.0.0+20220211" +documentation = "https://docs.rs/google-gkehub1/3.1.0+20220211" license = "MIT" keywords = ["gkehub", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/gkehub1/README.md b/gen/gkehub1/README.md index 51bf1f5f07..50de0db000 100644 --- a/gen/gkehub1/README.md +++ b/gen/gkehub1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-gkehub1` library allows access to all features of the *Google GKE Hub* service. -This documentation was generated from *GKE Hub* crate version *3.0.0+20220211*, where *20220211* is the exact revision of the *gkehub:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *GKE Hub* crate version *3.1.0+20220211*, where *20220211* is the exact revision of the *gkehub:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *GKE Hub* *v1* API can be found at the [official documentation site](https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gkehub1/3.0.0+20220211/google_gkehub1/GKEHub) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gkehub1/3.1.0+20220211/google_gkehub1/GKEHub) ... * projects - * [*locations features create*](https://docs.rs/google-gkehub1/3.0.0+20220211/google_gkehub1/api::ProjectLocationFeatureCreateCall), [*locations features delete*](https://docs.rs/google-gkehub1/3.0.0+20220211/google_gkehub1/api::ProjectLocationFeatureDeleteCall), [*locations features get*](https://docs.rs/google-gkehub1/3.0.0+20220211/google_gkehub1/api::ProjectLocationFeatureGetCall), [*locations features get iam policy*](https://docs.rs/google-gkehub1/3.0.0+20220211/google_gkehub1/api::ProjectLocationFeatureGetIamPolicyCall), [*locations features list*](https://docs.rs/google-gkehub1/3.0.0+20220211/google_gkehub1/api::ProjectLocationFeatureListCall), [*locations features patch*](https://docs.rs/google-gkehub1/3.0.0+20220211/google_gkehub1/api::ProjectLocationFeaturePatchCall), [*locations features set iam policy*](https://docs.rs/google-gkehub1/3.0.0+20220211/google_gkehub1/api::ProjectLocationFeatureSetIamPolicyCall), [*locations features test iam permissions*](https://docs.rs/google-gkehub1/3.0.0+20220211/google_gkehub1/api::ProjectLocationFeatureTestIamPermissionCall), [*locations get*](https://docs.rs/google-gkehub1/3.0.0+20220211/google_gkehub1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-gkehub1/3.0.0+20220211/google_gkehub1/api::ProjectLocationListCall), [*locations memberships create*](https://docs.rs/google-gkehub1/3.0.0+20220211/google_gkehub1/api::ProjectLocationMembershipCreateCall), [*locations memberships delete*](https://docs.rs/google-gkehub1/3.0.0+20220211/google_gkehub1/api::ProjectLocationMembershipDeleteCall), [*locations memberships generate connect manifest*](https://docs.rs/google-gkehub1/3.0.0+20220211/google_gkehub1/api::ProjectLocationMembershipGenerateConnectManifestCall), [*locations memberships get*](https://docs.rs/google-gkehub1/3.0.0+20220211/google_gkehub1/api::ProjectLocationMembershipGetCall), [*locations memberships get iam policy*](https://docs.rs/google-gkehub1/3.0.0+20220211/google_gkehub1/api::ProjectLocationMembershipGetIamPolicyCall), [*locations memberships list*](https://docs.rs/google-gkehub1/3.0.0+20220211/google_gkehub1/api::ProjectLocationMembershipListCall), [*locations memberships patch*](https://docs.rs/google-gkehub1/3.0.0+20220211/google_gkehub1/api::ProjectLocationMembershipPatchCall), [*locations memberships set iam policy*](https://docs.rs/google-gkehub1/3.0.0+20220211/google_gkehub1/api::ProjectLocationMembershipSetIamPolicyCall), [*locations memberships test iam permissions*](https://docs.rs/google-gkehub1/3.0.0+20220211/google_gkehub1/api::ProjectLocationMembershipTestIamPermissionCall), [*locations operations cancel*](https://docs.rs/google-gkehub1/3.0.0+20220211/google_gkehub1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-gkehub1/3.0.0+20220211/google_gkehub1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-gkehub1/3.0.0+20220211/google_gkehub1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-gkehub1/3.0.0+20220211/google_gkehub1/api::ProjectLocationOperationListCall) + * [*locations features create*](https://docs.rs/google-gkehub1/3.1.0+20220211/google_gkehub1/api::ProjectLocationFeatureCreateCall), [*locations features delete*](https://docs.rs/google-gkehub1/3.1.0+20220211/google_gkehub1/api::ProjectLocationFeatureDeleteCall), [*locations features get*](https://docs.rs/google-gkehub1/3.1.0+20220211/google_gkehub1/api::ProjectLocationFeatureGetCall), [*locations features get iam policy*](https://docs.rs/google-gkehub1/3.1.0+20220211/google_gkehub1/api::ProjectLocationFeatureGetIamPolicyCall), [*locations features list*](https://docs.rs/google-gkehub1/3.1.0+20220211/google_gkehub1/api::ProjectLocationFeatureListCall), [*locations features patch*](https://docs.rs/google-gkehub1/3.1.0+20220211/google_gkehub1/api::ProjectLocationFeaturePatchCall), [*locations features set iam policy*](https://docs.rs/google-gkehub1/3.1.0+20220211/google_gkehub1/api::ProjectLocationFeatureSetIamPolicyCall), [*locations features test iam permissions*](https://docs.rs/google-gkehub1/3.1.0+20220211/google_gkehub1/api::ProjectLocationFeatureTestIamPermissionCall), [*locations get*](https://docs.rs/google-gkehub1/3.1.0+20220211/google_gkehub1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-gkehub1/3.1.0+20220211/google_gkehub1/api::ProjectLocationListCall), [*locations memberships create*](https://docs.rs/google-gkehub1/3.1.0+20220211/google_gkehub1/api::ProjectLocationMembershipCreateCall), [*locations memberships delete*](https://docs.rs/google-gkehub1/3.1.0+20220211/google_gkehub1/api::ProjectLocationMembershipDeleteCall), [*locations memberships generate connect manifest*](https://docs.rs/google-gkehub1/3.1.0+20220211/google_gkehub1/api::ProjectLocationMembershipGenerateConnectManifestCall), [*locations memberships get*](https://docs.rs/google-gkehub1/3.1.0+20220211/google_gkehub1/api::ProjectLocationMembershipGetCall), [*locations memberships get iam policy*](https://docs.rs/google-gkehub1/3.1.0+20220211/google_gkehub1/api::ProjectLocationMembershipGetIamPolicyCall), [*locations memberships list*](https://docs.rs/google-gkehub1/3.1.0+20220211/google_gkehub1/api::ProjectLocationMembershipListCall), [*locations memberships patch*](https://docs.rs/google-gkehub1/3.1.0+20220211/google_gkehub1/api::ProjectLocationMembershipPatchCall), [*locations memberships set iam policy*](https://docs.rs/google-gkehub1/3.1.0+20220211/google_gkehub1/api::ProjectLocationMembershipSetIamPolicyCall), [*locations memberships test iam permissions*](https://docs.rs/google-gkehub1/3.1.0+20220211/google_gkehub1/api::ProjectLocationMembershipTestIamPermissionCall), [*locations operations cancel*](https://docs.rs/google-gkehub1/3.1.0+20220211/google_gkehub1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-gkehub1/3.1.0+20220211/google_gkehub1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-gkehub1/3.1.0+20220211/google_gkehub1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-gkehub1/3.1.0+20220211/google_gkehub1/api::ProjectLocationOperationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-gkehub1/3.0.0+20220211/google_gkehub1/GKEHub)** +* **[Hub](https://docs.rs/google-gkehub1/3.1.0+20220211/google_gkehub1/GKEHub)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-gkehub1/3.0.0+20220211/google_gkehub1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-gkehub1/3.0.0+20220211/google_gkehub1/client::CallBuilder) -* **[Resources](https://docs.rs/google-gkehub1/3.0.0+20220211/google_gkehub1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-gkehub1/3.1.0+20220211/google_gkehub1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-gkehub1/3.1.0+20220211/google_gkehub1/client::CallBuilder) +* **[Resources](https://docs.rs/google-gkehub1/3.1.0+20220211/google_gkehub1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-gkehub1/3.0.0+20220211/google_gkehub1/client::Part)** + * **[Parts](https://docs.rs/google-gkehub1/3.1.0+20220211/google_gkehub1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-gkehub1/3.0.0+20220211/google_gkehub1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-gkehub1/3.1.0+20220211/google_gkehub1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -97,7 +97,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-gkehub1/3.0.0+20220211/google_gkehub1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-gkehub1/3.1.0+20220211/google_gkehub1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-gkehub1/3.0.0+20220211/google_gkehub1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-gkehub1/3.1.0+20220211/google_gkehub1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-gkehub1/3.0.0+20220211/google_gkehub1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-gkehub1/3.1.0+20220211/google_gkehub1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-gkehub1/3.0.0+20220211/google_gkehub1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-gkehub1/3.1.0+20220211/google_gkehub1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -152,29 +152,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-gkehub1/3.0.0+20220211/google_gkehub1/client::Delegate) to the -[Method Builder](https://docs.rs/google-gkehub1/3.0.0+20220211/google_gkehub1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-gkehub1/3.1.0+20220211/google_gkehub1/client::Delegate) to the +[Method Builder](https://docs.rs/google-gkehub1/3.1.0+20220211/google_gkehub1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-gkehub1/3.0.0+20220211/google_gkehub1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-gkehub1/3.1.0+20220211/google_gkehub1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-gkehub1/3.0.0+20220211/google_gkehub1/client::RequestValue) and -[decodable](https://docs.rs/google-gkehub1/3.0.0+20220211/google_gkehub1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-gkehub1/3.1.0+20220211/google_gkehub1/client::RequestValue) and +[decodable](https://docs.rs/google-gkehub1/3.1.0+20220211/google_gkehub1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-gkehub1/3.0.0+20220211/google_gkehub1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-gkehub1/3.1.0+20220211/google_gkehub1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-gkehub1/3.0.0+20220211/google_gkehub1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-gkehub1/3.1.0+20220211/google_gkehub1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-gkehub1/3.0.0+20220211/google_gkehub1/client::RequestValue) are moved +* [request values](https://docs.rs/google-gkehub1/3.1.0+20220211/google_gkehub1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/gkehub1/src/api.rs b/gen/gkehub1/src/api.rs index 641ea95276..3ff1d07646 100644 --- a/gen/gkehub1/src/api.rs +++ b/gen/gkehub1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -121,7 +121,7 @@ impl<'a, > GKEHub<> { GKEHub { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://gkehub.googleapis.com/".to_string(), _root_url: "https://gkehub.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > GKEHub<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1488,7 +1488,7 @@ impl client::Part for TypeMeta {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_features_create(...)`, `locations_features_delete(...)`, `locations_features_get(...)`, `locations_features_get_iam_policy(...)`, `locations_features_list(...)`, `locations_features_patch(...)`, `locations_features_set_iam_policy(...)`, `locations_features_test_iam_permissions(...)`, `locations_get(...)`, `locations_list(...)`, `locations_memberships_create(...)`, `locations_memberships_delete(...)`, `locations_memberships_generate_connect_manifest(...)`, `locations_memberships_get(...)`, `locations_memberships_get_iam_policy(...)`, `locations_memberships_list(...)`, `locations_memberships_patch(...)`, `locations_memberships_set_iam_policy(...)`, `locations_memberships_test_iam_permissions(...)`, `locations_operations_cancel(...)`, `locations_operations_delete(...)`, `locations_operations_get(...)` and `locations_operations_list(...)` /// // to build up your call. @@ -1979,7 +1979,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2288,7 +2288,7 @@ impl<'a> ProjectLocationFeatureCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2568,7 +2568,7 @@ impl<'a> ProjectLocationFeatureDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2824,7 +2824,7 @@ impl<'a> ProjectLocationFeatureGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3092,7 +3092,7 @@ impl<'a> ProjectLocationFeatureGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3397,7 +3397,7 @@ impl<'a> ProjectLocationFeatureListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3707,7 +3707,7 @@ impl<'a> ProjectLocationFeaturePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3993,7 +3993,7 @@ impl<'a> ProjectLocationFeatureSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4279,7 +4279,7 @@ impl<'a> ProjectLocationFeatureTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4588,7 +4588,7 @@ impl<'a> ProjectLocationMembershipCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4856,7 +4856,7 @@ impl<'a> ProjectLocationMembershipDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5184,7 +5184,7 @@ impl<'a> ProjectLocationMembershipGenerateConnectManifestCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5440,7 +5440,7 @@ impl<'a> ProjectLocationMembershipGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5708,7 +5708,7 @@ impl<'a> ProjectLocationMembershipGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6013,7 +6013,7 @@ impl<'a> ProjectLocationMembershipListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6323,7 +6323,7 @@ impl<'a> ProjectLocationMembershipPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6609,7 +6609,7 @@ impl<'a> ProjectLocationMembershipSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6895,7 +6895,7 @@ impl<'a> ProjectLocationMembershipTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7180,7 +7180,7 @@ impl<'a> ProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7436,7 +7436,7 @@ impl<'a> ProjectLocationOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7692,7 +7692,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7984,7 +7984,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8240,7 +8240,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/gkehub1/src/lib.rs b/gen/gkehub1/src/lib.rs index d284395dae..f854fcd1e8 100644 --- a/gen/gkehub1/src/lib.rs +++ b/gen/gkehub1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *GKE Hub* crate version *3.0.0+20220211*, where *20220211* is the exact revision of the *gkehub:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *GKE Hub* crate version *3.1.0+20220211*, where *20220211* is the exact revision of the *gkehub:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *GKE Hub* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/anthos/multicluster-management/connect/registering-a-cluster). @@ -98,7 +98,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = GKEHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/gmail1-cli/Cargo.toml b/gen/gmail1-cli/Cargo.toml index f1ea99d0f3..0a7da0d7c9 100644 --- a/gen/gmail1-cli/Cargo.toml +++ b/gen/gmail1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-gmail1-cli" -version = "3.0.0+20220228" +version = "3.1.0+20220228" authors = ["Sebastian Thiel "] description = "A complete library to interact with Gmail (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/gmail1-cli" @@ -20,12 +20,12 @@ name = "gmail1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-gmail1] path = "../gmail1" -version = "3.0.0+20220228" +version = "3.1.0+20220228" diff --git a/gen/gmail1-cli/README.md b/gen/gmail1-cli/README.md index f39fa9c1f5..ab1bbba47a 100644 --- a/gen/gmail1-cli/README.md +++ b/gen/gmail1-cli/README.md @@ -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 *Gmail* API at revision *20220228*. The CLI is at version *3.0.0*. +This documentation was generated from the *Gmail* API at revision *20220228*. The CLI is at version *3.1.0*. ```bash gmail1 [options] diff --git a/gen/gmail1-cli/mkdocs.yml b/gen/gmail1-cli/mkdocs.yml index 5874d80906..18fd210519 100644 --- a/gen/gmail1-cli/mkdocs.yml +++ b/gen/gmail1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Gmail v3.0.0+20220228 +site_name: Gmail v3.1.0+20220228 site_url: http://byron.github.io/google-apis-rs/google-gmail1-cli site_description: A complete library to interact with Gmail (protocol v1) diff --git a/gen/gmail1-cli/src/main.rs b/gen/gmail1-cli/src/main.rs index 052d2673ed..4de0cf1ce7 100644 --- a/gen/gmail1-cli/src/main.rs +++ b/gen/gmail1-cli/src/main.rs @@ -4878,7 +4878,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/gmail1", 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::Gmail::new(client, auth), @@ -6753,7 +6759,7 @@ async fn main() { let mut app = App::new("gmail1") .author("Sebastian Thiel ") - .version("3.0.0+20220228") + .version("3.1.0+20220228") .about("The Gmail API lets you view and manage Gmail mailbox data like threads, messages, and labels.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_gmail1_cli") .arg(Arg::with_name("url") diff --git a/gen/gmail1/Cargo.toml b/gen/gmail1/Cargo.toml index cc65ffc451..6a927c67cd 100644 --- a/gen/gmail1/Cargo.toml +++ b/gen/gmail1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-gmail1" -version = "3.0.0+20220228" +version = "3.1.0+20220228" authors = ["Sebastian Thiel "] description = "A complete library to interact with Gmail (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/gmail1" homepage = "https://developers.google.com/gmail/api/" -documentation = "https://docs.rs/google-gmail1/3.0.0+20220228" +documentation = "https://docs.rs/google-gmail1/3.1.0+20220228" license = "MIT" keywords = ["gmail", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/gmail1/README.md b/gen/gmail1/README.md index ab7f453e1f..54ac27af9a 100644 --- a/gen/gmail1/README.md +++ b/gen/gmail1/README.md @@ -5,26 +5,26 @@ DO NOT EDIT ! --> The `google-gmail1` library allows access to all features of the *Google Gmail* service. -This documentation was generated from *Gmail* crate version *3.0.0+20220228*, where *20220228* is the exact revision of the *gmail:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Gmail* crate version *3.1.0+20220228*, where *20220228* is the exact revision of the *gmail:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Gmail* *v1* API can be found at the [official documentation site](https://developers.google.com/gmail/api/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/Gmail) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/Gmail) ... * users - * [*drafts create*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserDraftCreateCall), [*drafts delete*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserDraftDeleteCall), [*drafts get*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserDraftGetCall), [*drafts list*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserDraftListCall), [*drafts send*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserDraftSendCall), [*drafts update*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserDraftUpdateCall), [*get profile*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserGetProfileCall), [*history list*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserHistoryListCall), [*labels create*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserLabelCreateCall), [*labels delete*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserLabelDeleteCall), [*labels get*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserLabelGetCall), [*labels list*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserLabelListCall), [*labels patch*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserLabelPatchCall), [*labels update*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserLabelUpdateCall), [*messages attachments get*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserMessageAttachmentGetCall), [*messages batch delete*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserMessageBatchDeleteCall), [*messages batch modify*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserMessageBatchModifyCall), [*messages delete*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserMessageDeleteCall), [*messages get*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserMessageGetCall), [*messages import*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserMessageImportCall), [*messages insert*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserMessageInsertCall), [*messages list*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserMessageListCall), [*messages modify*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserMessageModifyCall), [*messages send*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserMessageSendCall), [*messages trash*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserMessageTrashCall), [*messages untrash*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserMessageUntrashCall), [*settings delegates create*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserSettingDelegateCreateCall), [*settings delegates delete*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserSettingDelegateDeleteCall), [*settings delegates get*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserSettingDelegateGetCall), [*settings delegates list*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserSettingDelegateListCall), [*settings filters create*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserSettingFilterCreateCall), [*settings filters delete*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserSettingFilterDeleteCall), [*settings filters get*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserSettingFilterGetCall), [*settings filters list*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserSettingFilterListCall), [*settings forwarding addresses create*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserSettingForwardingAddresseCreateCall), [*settings forwarding addresses delete*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserSettingForwardingAddresseDeleteCall), [*settings forwarding addresses get*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserSettingForwardingAddresseGetCall), [*settings forwarding addresses list*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserSettingForwardingAddresseListCall), [*settings get auto forwarding*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserSettingGetAutoForwardingCall), [*settings get imap*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserSettingGetImapCall), [*settings get language*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserSettingGetLanguageCall), [*settings get pop*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserSettingGetPopCall), [*settings get vacation*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserSettingGetVacationCall), [*settings send as create*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserSettingSendACreateCall), [*settings send as delete*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserSettingSendADeleteCall), [*settings send as get*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserSettingSendAGetCall), [*settings send as list*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserSettingSendAListCall), [*settings send as patch*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserSettingSendAPatchCall), [*settings send as smime info delete*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserSettingSendASmimeInfoDeleteCall), [*settings send as smime info get*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserSettingSendASmimeInfoGetCall), [*settings send as smime info insert*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserSettingSendASmimeInfoInsertCall), [*settings send as smime info list*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserSettingSendASmimeInfoListCall), [*settings send as smime info set default*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserSettingSendASmimeInfoSetDefaultCall), [*settings send as update*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserSettingSendAUpdateCall), [*settings send as verify*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserSettingSendAVerifyCall), [*settings update auto forwarding*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserSettingUpdateAutoForwardingCall), [*settings update imap*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserSettingUpdateImapCall), [*settings update language*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserSettingUpdateLanguageCall), [*settings update pop*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserSettingUpdatePopCall), [*settings update vacation*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserSettingUpdateVacationCall), [*stop*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserStopCall), [*threads delete*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserThreadDeleteCall), [*threads get*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserThreadGetCall), [*threads list*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserThreadListCall), [*threads modify*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserThreadModifyCall), [*threads trash*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserThreadTrashCall), [*threads untrash*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserThreadUntrashCall) and [*watch*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserWatchCall) + * [*drafts create*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserDraftCreateCall), [*drafts delete*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserDraftDeleteCall), [*drafts get*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserDraftGetCall), [*drafts list*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserDraftListCall), [*drafts send*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserDraftSendCall), [*drafts update*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserDraftUpdateCall), [*get profile*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserGetProfileCall), [*history list*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserHistoryListCall), [*labels create*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserLabelCreateCall), [*labels delete*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserLabelDeleteCall), [*labels get*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserLabelGetCall), [*labels list*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserLabelListCall), [*labels patch*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserLabelPatchCall), [*labels update*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserLabelUpdateCall), [*messages attachments get*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserMessageAttachmentGetCall), [*messages batch delete*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserMessageBatchDeleteCall), [*messages batch modify*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserMessageBatchModifyCall), [*messages delete*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserMessageDeleteCall), [*messages get*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserMessageGetCall), [*messages import*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserMessageImportCall), [*messages insert*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserMessageInsertCall), [*messages list*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserMessageListCall), [*messages modify*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserMessageModifyCall), [*messages send*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserMessageSendCall), [*messages trash*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserMessageTrashCall), [*messages untrash*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserMessageUntrashCall), [*settings delegates create*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserSettingDelegateCreateCall), [*settings delegates delete*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserSettingDelegateDeleteCall), [*settings delegates get*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserSettingDelegateGetCall), [*settings delegates list*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserSettingDelegateListCall), [*settings filters create*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserSettingFilterCreateCall), [*settings filters delete*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserSettingFilterDeleteCall), [*settings filters get*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserSettingFilterGetCall), [*settings filters list*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserSettingFilterListCall), [*settings forwarding addresses create*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserSettingForwardingAddresseCreateCall), [*settings forwarding addresses delete*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserSettingForwardingAddresseDeleteCall), [*settings forwarding addresses get*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserSettingForwardingAddresseGetCall), [*settings forwarding addresses list*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserSettingForwardingAddresseListCall), [*settings get auto forwarding*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserSettingGetAutoForwardingCall), [*settings get imap*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserSettingGetImapCall), [*settings get language*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserSettingGetLanguageCall), [*settings get pop*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserSettingGetPopCall), [*settings get vacation*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserSettingGetVacationCall), [*settings send as create*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserSettingSendACreateCall), [*settings send as delete*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserSettingSendADeleteCall), [*settings send as get*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserSettingSendAGetCall), [*settings send as list*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserSettingSendAListCall), [*settings send as patch*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserSettingSendAPatchCall), [*settings send as smime info delete*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserSettingSendASmimeInfoDeleteCall), [*settings send as smime info get*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserSettingSendASmimeInfoGetCall), [*settings send as smime info insert*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserSettingSendASmimeInfoInsertCall), [*settings send as smime info list*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserSettingSendASmimeInfoListCall), [*settings send as smime info set default*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserSettingSendASmimeInfoSetDefaultCall), [*settings send as update*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserSettingSendAUpdateCall), [*settings send as verify*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserSettingSendAVerifyCall), [*settings update auto forwarding*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserSettingUpdateAutoForwardingCall), [*settings update imap*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserSettingUpdateImapCall), [*settings update language*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserSettingUpdateLanguageCall), [*settings update pop*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserSettingUpdatePopCall), [*settings update vacation*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserSettingUpdateVacationCall), [*stop*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserStopCall), [*threads delete*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserThreadDeleteCall), [*threads get*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserThreadGetCall), [*threads list*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserThreadListCall), [*threads modify*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserThreadModifyCall), [*threads trash*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserThreadTrashCall), [*threads untrash*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserThreadUntrashCall) and [*watch*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserWatchCall) Upload supported by ... -* [*drafts create users*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserDraftCreateCall) -* [*drafts send users*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserDraftSendCall) -* [*drafts update users*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserDraftUpdateCall) -* [*messages import users*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserMessageImportCall) -* [*messages insert users*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserMessageInsertCall) -* [*messages send users*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/api::UserMessageSendCall) +* [*drafts create users*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserDraftCreateCall) +* [*drafts send users*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserDraftSendCall) +* [*drafts update users*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserDraftUpdateCall) +* [*messages import users*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserMessageImportCall) +* [*messages insert users*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserMessageInsertCall) +* [*messages send users*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/api::UserMessageSendCall) @@ -32,17 +32,17 @@ Upload supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/Gmail)** +* **[Hub](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/Gmail)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/client::CallBuilder) -* **[Resources](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/client::CallBuilder) +* **[Resources](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/client::Part)** + * **[Parts](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -108,7 +108,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -145,17 +145,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -165,29 +165,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/client::Delegate) to the -[Method Builder](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/client::Delegate) to the +[Method Builder](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/client::RequestValue) and -[decodable](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/client::RequestValue) and +[decodable](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-gmail1/3.0.0+20220228/google_gmail1/client::RequestValue) are moved +* [request values](https://docs.rs/google-gmail1/3.1.0+20220228/google_gmail1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/gmail1/src/api.rs b/gen/gmail1/src/api.rs index 5de36a8500..dc2e86c896 100644 --- a/gen/gmail1/src/api.rs +++ b/gen/gmail1/src/api.rs @@ -124,7 +124,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -176,7 +176,7 @@ impl<'a, > Gmail<> { Gmail { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://gmail.googleapis.com/".to_string(), _root_url: "https://gmail.googleapis.com/".to_string(), } @@ -187,7 +187,7 @@ impl<'a, > Gmail<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1286,7 +1286,7 @@ impl client::ResponseResult for WatchResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `drafts_create(...)`, `drafts_delete(...)`, `drafts_get(...)`, `drafts_list(...)`, `drafts_send(...)`, `drafts_update(...)`, `get_profile(...)`, `history_list(...)`, `labels_create(...)`, `labels_delete(...)`, `labels_get(...)`, `labels_list(...)`, `labels_patch(...)`, `labels_update(...)`, `messages_attachments_get(...)`, `messages_batch_delete(...)`, `messages_batch_modify(...)`, `messages_delete(...)`, `messages_get(...)`, `messages_import(...)`, `messages_insert(...)`, `messages_list(...)`, `messages_modify(...)`, `messages_send(...)`, `messages_trash(...)`, `messages_untrash(...)`, `settings_delegates_create(...)`, `settings_delegates_delete(...)`, `settings_delegates_get(...)`, `settings_delegates_list(...)`, `settings_filters_create(...)`, `settings_filters_delete(...)`, `settings_filters_get(...)`, `settings_filters_list(...)`, `settings_forwarding_addresses_create(...)`, `settings_forwarding_addresses_delete(...)`, `settings_forwarding_addresses_get(...)`, `settings_forwarding_addresses_list(...)`, `settings_get_auto_forwarding(...)`, `settings_get_imap(...)`, `settings_get_language(...)`, `settings_get_pop(...)`, `settings_get_vacation(...)`, `settings_send_as_create(...)`, `settings_send_as_delete(...)`, `settings_send_as_get(...)`, `settings_send_as_list(...)`, `settings_send_as_patch(...)`, `settings_send_as_smime_info_delete(...)`, `settings_send_as_smime_info_get(...)`, `settings_send_as_smime_info_insert(...)`, `settings_send_as_smime_info_list(...)`, `settings_send_as_smime_info_set_default(...)`, `settings_send_as_update(...)`, `settings_send_as_verify(...)`, `settings_update_auto_forwarding(...)`, `settings_update_imap(...)`, `settings_update_language(...)`, `settings_update_pop(...)`, `settings_update_vacation(...)`, `stop(...)`, `threads_delete(...)`, `threads_get(...)`, `threads_list(...)`, `threads_modify(...)`, `threads_trash(...)`, `threads_untrash(...)` and `watch(...)` /// // to build up your call. @@ -2650,7 +2650,7 @@ impl<'a> UserMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3044,7 +3044,7 @@ impl<'a> UserDraftCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3297,7 +3297,7 @@ impl<'a> UserDraftDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3573,7 +3573,7 @@ impl<'a> UserDraftGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3875,7 +3875,7 @@ impl<'a> UserDraftListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4271,7 +4271,7 @@ impl<'a> UserDraftSendCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4677,7 +4677,7 @@ impl<'a> UserDraftUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4993,7 +4993,7 @@ impl<'a> UserHistoryListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5274,7 +5274,7 @@ impl<'a> UserLabelCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5527,7 +5527,7 @@ impl<'a> UserLabelDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5791,7 +5791,7 @@ impl<'a> UserLabelGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6044,7 +6044,7 @@ impl<'a> UserLabelListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6338,7 +6338,7 @@ impl<'a> UserLabelPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6631,7 +6631,7 @@ impl<'a> UserLabelUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6908,7 +6908,7 @@ impl<'a> UserMessageAttachmentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7179,7 +7179,7 @@ impl<'a> UserMessageBatchDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7449,7 +7449,7 @@ impl<'a> UserMessageBatchModifyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7702,7 +7702,7 @@ impl<'a> UserMessageDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7995,7 +7995,7 @@ impl<'a> UserMessageGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8439,7 +8439,7 @@ impl<'a> UserMessageImportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8857,7 +8857,7 @@ impl<'a> UserMessageInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9173,7 +9173,7 @@ impl<'a> UserMessageListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9468,7 +9468,7 @@ impl<'a> UserMessageModifyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9862,7 +9862,7 @@ impl<'a> UserMessageSendCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10126,7 +10126,7 @@ impl<'a> UserMessageTrashCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10391,7 +10391,7 @@ impl<'a> UserMessageUntrashCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10672,7 +10672,7 @@ impl<'a> UserSettingDelegateCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10925,7 +10925,7 @@ impl<'a> UserSettingDelegateDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11189,7 +11189,7 @@ impl<'a> UserSettingDelegateGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11442,7 +11442,7 @@ impl<'a> UserSettingDelegateListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11723,7 +11723,7 @@ impl<'a> UserSettingFilterCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11976,7 +11976,7 @@ impl<'a> UserSettingFilterDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12240,7 +12240,7 @@ impl<'a> UserSettingFilterGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12493,7 +12493,7 @@ impl<'a> UserSettingFilterListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12774,7 +12774,7 @@ impl<'a> UserSettingForwardingAddresseCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13027,7 +13027,7 @@ impl<'a> UserSettingForwardingAddresseDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13291,7 +13291,7 @@ impl<'a> UserSettingForwardingAddresseGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13543,7 +13543,7 @@ impl<'a> UserSettingForwardingAddresseListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13808,7 +13808,7 @@ impl<'a> UserSettingSendASmimeInfoDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14085,7 +14085,7 @@ impl<'a> UserSettingSendASmimeInfoGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14378,7 +14378,7 @@ impl<'a> UserSettingSendASmimeInfoInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14642,7 +14642,7 @@ impl<'a> UserSettingSendASmimeInfoListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14908,7 +14908,7 @@ impl<'a> UserSettingSendASmimeInfoSetDefaultCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15189,7 +15189,7 @@ impl<'a> UserSettingSendACreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15442,7 +15442,7 @@ impl<'a> UserSettingSendADeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15706,7 +15706,7 @@ impl<'a> UserSettingSendAGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15959,7 +15959,7 @@ impl<'a> UserSettingSendAListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16253,7 +16253,7 @@ impl<'a> UserSettingSendAPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16546,7 +16546,7 @@ impl<'a> UserSettingSendAUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16799,7 +16799,7 @@ impl<'a> UserSettingSendAVerifyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17051,7 +17051,7 @@ impl<'a> UserSettingGetAutoForwardingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17303,7 +17303,7 @@ impl<'a> UserSettingGetImapCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17555,7 +17555,7 @@ impl<'a> UserSettingGetLanguageCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17807,7 +17807,7 @@ impl<'a> UserSettingGetPopCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18060,7 +18060,7 @@ impl<'a> UserSettingGetVacationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18342,7 +18342,7 @@ impl<'a> UserSettingUpdateAutoForwardingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18624,7 +18624,7 @@ impl<'a> UserSettingUpdateImapCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18906,7 +18906,7 @@ impl<'a> UserSettingUpdateLanguageCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19188,7 +19188,7 @@ impl<'a> UserSettingUpdatePopCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19469,7 +19469,7 @@ impl<'a> UserSettingUpdateVacationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19722,7 +19722,7 @@ impl<'a> UserThreadDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20013,7 +20013,7 @@ impl<'a> UserThreadGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20329,7 +20329,7 @@ impl<'a> UserThreadListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20622,7 +20622,7 @@ impl<'a> UserThreadModifyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20886,7 +20886,7 @@ impl<'a> UserThreadTrashCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21150,7 +21150,7 @@ impl<'a> UserThreadUntrashCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21402,7 +21402,7 @@ impl<'a> UserGetProfileCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21644,7 +21644,7 @@ impl<'a> UserStopCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/gmail1/src/lib.rs b/gen/gmail1/src/lib.rs index 2602b7400f..c74dcfb579 100644 --- a/gen/gmail1/src/lib.rs +++ b/gen/gmail1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Gmail* crate version *3.0.0+20220228*, where *20220228* is the exact revision of the *gmail:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Gmail* crate version *3.1.0+20220228*, where *20220228* is the exact revision of the *gmail:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Gmail* *v1* API can be found at the //! [official documentation site](https://developers.google.com/gmail/api/). @@ -109,7 +109,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Gmail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/gmailpostmastertools1-cli/Cargo.toml b/gen/gmailpostmastertools1-cli/Cargo.toml index abf8ea7bfd..efff22e690 100644 --- a/gen/gmailpostmastertools1-cli/Cargo.toml +++ b/gen/gmailpostmastertools1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-gmailpostmastertools1-cli" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with Postmaster Tools (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/gmailpostmastertools1-cli" @@ -20,12 +20,12 @@ name = "gmailpostmastertools1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-gmailpostmastertools1] path = "../gmailpostmastertools1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" diff --git a/gen/gmailpostmastertools1-cli/README.md b/gen/gmailpostmastertools1-cli/README.md index 572134f4d8..8627a46aa3 100644 --- a/gen/gmailpostmastertools1-cli/README.md +++ b/gen/gmailpostmastertools1-cli/README.md @@ -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 *Postmaster Tools* API at revision *20220305*. The CLI is at version *3.0.0*. +This documentation was generated from the *Postmaster Tools* API at revision *20220305*. The CLI is at version *3.1.0*. ```bash gmailpostmastertools1 [options] diff --git a/gen/gmailpostmastertools1-cli/mkdocs.yml b/gen/gmailpostmastertools1-cli/mkdocs.yml index 3cd60ac578..e8e7d21582 100644 --- a/gen/gmailpostmastertools1-cli/mkdocs.yml +++ b/gen/gmailpostmastertools1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Postmaster Tools v3.0.0+20220305 +site_name: Postmaster Tools v3.1.0+20220305 site_url: http://byron.github.io/google-apis-rs/google-gmailpostmastertools1-cli site_description: A complete library to interact with Postmaster Tools (protocol v1) diff --git a/gen/gmailpostmastertools1-cli/src/main.rs b/gen/gmailpostmastertools1-cli/src/main.rs index c76e417551..3a810ae90f 100644 --- a/gen/gmailpostmastertools1-cli/src/main.rs +++ b/gen/gmailpostmastertools1-cli/src/main.rs @@ -341,7 +341,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/gmailpostmastertools1", 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::PostmasterTools::new(client, auth), @@ -465,7 +471,7 @@ async fn main() { let mut app = App::new("gmailpostmastertools1") .author("Sebastian Thiel ") - .version("3.0.0+20220305") + .version("3.1.0+20220305") .about("The Postmaster Tools API is a RESTful API that provides programmatic access to email traffic metrics (like spam reports, delivery errors etc) otherwise available through the Gmail Postmaster Tools UI currently.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_gmailpostmastertools1_cli") .arg(Arg::with_name("url") diff --git a/gen/gmailpostmastertools1/Cargo.toml b/gen/gmailpostmastertools1/Cargo.toml index 9ab62a303f..ab03ada7a0 100644 --- a/gen/gmailpostmastertools1/Cargo.toml +++ b/gen/gmailpostmastertools1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-gmailpostmastertools1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with Postmaster Tools (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/gmailpostmastertools1" homepage = "https://developers.google.com/gmail/postmaster" -documentation = "https://docs.rs/google-gmailpostmastertools1/3.0.0+20220305" +documentation = "https://docs.rs/google-gmailpostmastertools1/3.1.0+20220305" license = "MIT" keywords = ["gmailpostmastertools", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/gmailpostmastertools1/README.md b/gen/gmailpostmastertools1/README.md index 9a3a24b6dc..2de6e6e83b 100644 --- a/gen/gmailpostmastertools1/README.md +++ b/gen/gmailpostmastertools1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-gmailpostmastertools1` library allows access to all features of the *Google Postmaster Tools* service. -This documentation was generated from *Postmaster Tools* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *gmailpostmastertools:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Postmaster Tools* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *gmailpostmastertools:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Postmaster Tools* *v1* API can be found at the [official documentation site](https://developers.google.com/gmail/postmaster). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gmailpostmastertools1/3.0.0+20220305/google_gmailpostmastertools1/PostmasterTools) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gmailpostmastertools1/3.1.0+20220305/google_gmailpostmastertools1/PostmasterTools) ... -* [domains](https://docs.rs/google-gmailpostmastertools1/3.0.0+20220305/google_gmailpostmastertools1/api::Domain) - * [*get*](https://docs.rs/google-gmailpostmastertools1/3.0.0+20220305/google_gmailpostmastertools1/api::DomainGetCall), [*list*](https://docs.rs/google-gmailpostmastertools1/3.0.0+20220305/google_gmailpostmastertools1/api::DomainListCall), [*traffic stats get*](https://docs.rs/google-gmailpostmastertools1/3.0.0+20220305/google_gmailpostmastertools1/api::DomainTrafficStatGetCall) and [*traffic stats list*](https://docs.rs/google-gmailpostmastertools1/3.0.0+20220305/google_gmailpostmastertools1/api::DomainTrafficStatListCall) +* [domains](https://docs.rs/google-gmailpostmastertools1/3.1.0+20220305/google_gmailpostmastertools1/api::Domain) + * [*get*](https://docs.rs/google-gmailpostmastertools1/3.1.0+20220305/google_gmailpostmastertools1/api::DomainGetCall), [*list*](https://docs.rs/google-gmailpostmastertools1/3.1.0+20220305/google_gmailpostmastertools1/api::DomainListCall), [*traffic stats get*](https://docs.rs/google-gmailpostmastertools1/3.1.0+20220305/google_gmailpostmastertools1/api::DomainTrafficStatGetCall) and [*traffic stats list*](https://docs.rs/google-gmailpostmastertools1/3.1.0+20220305/google_gmailpostmastertools1/api::DomainTrafficStatListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-gmailpostmastertools1/3.0.0+20220305/google_gmailpostmastertools1/PostmasterTools)** +* **[Hub](https://docs.rs/google-gmailpostmastertools1/3.1.0+20220305/google_gmailpostmastertools1/PostmasterTools)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-gmailpostmastertools1/3.0.0+20220305/google_gmailpostmastertools1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-gmailpostmastertools1/3.0.0+20220305/google_gmailpostmastertools1/client::CallBuilder) -* **[Resources](https://docs.rs/google-gmailpostmastertools1/3.0.0+20220305/google_gmailpostmastertools1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-gmailpostmastertools1/3.1.0+20220305/google_gmailpostmastertools1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-gmailpostmastertools1/3.1.0+20220305/google_gmailpostmastertools1/client::CallBuilder) +* **[Resources](https://docs.rs/google-gmailpostmastertools1/3.1.0+20220305/google_gmailpostmastertools1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-gmailpostmastertools1/3.0.0+20220305/google_gmailpostmastertools1/client::Part)** + * **[Parts](https://docs.rs/google-gmailpostmastertools1/3.1.0+20220305/google_gmailpostmastertools1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-gmailpostmastertools1/3.0.0+20220305/google_gmailpostmastertools1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-gmailpostmastertools1/3.1.0+20220305/google_gmailpostmastertools1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -93,7 +93,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = PostmasterTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = PostmasterTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -129,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-gmailpostmastertools1/3.0.0+20220305/google_gmailpostmastertools1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-gmailpostmastertools1/3.1.0+20220305/google_gmailpostmastertools1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-gmailpostmastertools1/3.0.0+20220305/google_gmailpostmastertools1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-gmailpostmastertools1/3.1.0+20220305/google_gmailpostmastertools1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-gmailpostmastertools1/3.0.0+20220305/google_gmailpostmastertools1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-gmailpostmastertools1/3.1.0+20220305/google_gmailpostmastertools1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-gmailpostmastertools1/3.0.0+20220305/google_gmailpostmastertools1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-gmailpostmastertools1/3.1.0+20220305/google_gmailpostmastertools1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -149,29 +149,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-gmailpostmastertools1/3.0.0+20220305/google_gmailpostmastertools1/client::Delegate) to the -[Method Builder](https://docs.rs/google-gmailpostmastertools1/3.0.0+20220305/google_gmailpostmastertools1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-gmailpostmastertools1/3.1.0+20220305/google_gmailpostmastertools1/client::Delegate) to the +[Method Builder](https://docs.rs/google-gmailpostmastertools1/3.1.0+20220305/google_gmailpostmastertools1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-gmailpostmastertools1/3.0.0+20220305/google_gmailpostmastertools1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-gmailpostmastertools1/3.1.0+20220305/google_gmailpostmastertools1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-gmailpostmastertools1/3.0.0+20220305/google_gmailpostmastertools1/client::RequestValue) and -[decodable](https://docs.rs/google-gmailpostmastertools1/3.0.0+20220305/google_gmailpostmastertools1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-gmailpostmastertools1/3.1.0+20220305/google_gmailpostmastertools1/client::RequestValue) and +[decodable](https://docs.rs/google-gmailpostmastertools1/3.1.0+20220305/google_gmailpostmastertools1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-gmailpostmastertools1/3.0.0+20220305/google_gmailpostmastertools1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-gmailpostmastertools1/3.1.0+20220305/google_gmailpostmastertools1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-gmailpostmastertools1/3.0.0+20220305/google_gmailpostmastertools1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-gmailpostmastertools1/3.1.0+20220305/google_gmailpostmastertools1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-gmailpostmastertools1/3.0.0+20220305/google_gmailpostmastertools1/client::RequestValue) are moved +* [request values](https://docs.rs/google-gmailpostmastertools1/3.1.0+20220305/google_gmailpostmastertools1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/gmailpostmastertools1/src/api.rs b/gen/gmailpostmastertools1/src/api.rs index ad9eae59ed..4c540672f4 100644 --- a/gen/gmailpostmastertools1/src/api.rs +++ b/gen/gmailpostmastertools1/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = PostmasterTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = PostmasterTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -121,7 +121,7 @@ impl<'a, > PostmasterTools<> { PostmasterTools { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://gmailpostmastertools.googleapis.com/".to_string(), _root_url: "https://gmailpostmastertools.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > PostmasterTools<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -359,7 +359,7 @@ impl client::ResponseResult for TrafficStats {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = PostmasterTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = PostmasterTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)`, `traffic_stats_get(...)` and `traffic_stats_list(...)` /// // to build up your call. @@ -480,7 +480,7 @@ impl<'a> DomainMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PostmasterTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PostmasterTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -736,7 +736,7 @@ impl<'a> DomainTrafficStatGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PostmasterTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PostmasterTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1088,7 +1088,7 @@ impl<'a> DomainTrafficStatListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PostmasterTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PostmasterTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1344,7 +1344,7 @@ impl<'a> DomainGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PostmasterTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PostmasterTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/gmailpostmastertools1/src/lib.rs b/gen/gmailpostmastertools1/src/lib.rs index a60f2c9e81..d77cc5e6e1 100644 --- a/gen/gmailpostmastertools1/src/lib.rs +++ b/gen/gmailpostmastertools1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Postmaster Tools* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *gmailpostmastertools:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Postmaster Tools* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *gmailpostmastertools:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Postmaster Tools* *v1* API can be found at the //! [official documentation site](https://developers.google.com/gmail/postmaster). @@ -94,7 +94,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = PostmasterTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = PostmasterTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/gmailpostmastertools1_beta1-cli/Cargo.toml b/gen/gmailpostmastertools1_beta1-cli/Cargo.toml index c0676ae392..c32582db71 100644 --- a/gen/gmailpostmastertools1_beta1-cli/Cargo.toml +++ b/gen/gmailpostmastertools1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-gmailpostmastertools1_beta1-cli" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with Postmaster Tools (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/gmailpostmastertools1_beta1-cli" @@ -20,12 +20,12 @@ name = "gmailpostmastertools1-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-gmailpostmastertools1_beta1] path = "../gmailpostmastertools1_beta1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" diff --git a/gen/gmailpostmastertools1_beta1-cli/README.md b/gen/gmailpostmastertools1_beta1-cli/README.md index c8f3cf1f30..b572fe6125 100644 --- a/gen/gmailpostmastertools1_beta1-cli/README.md +++ b/gen/gmailpostmastertools1_beta1-cli/README.md @@ -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 *Postmaster Tools* API at revision *20220305*. The CLI is at version *3.0.0*. +This documentation was generated from the *Postmaster Tools* API at revision *20220305*. The CLI is at version *3.1.0*. ```bash gmailpostmastertools1-beta1 [options] diff --git a/gen/gmailpostmastertools1_beta1-cli/mkdocs.yml b/gen/gmailpostmastertools1_beta1-cli/mkdocs.yml index 53f459e00c..80be02968d 100644 --- a/gen/gmailpostmastertools1_beta1-cli/mkdocs.yml +++ b/gen/gmailpostmastertools1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Postmaster Tools v3.0.0+20220305 +site_name: Postmaster Tools v3.1.0+20220305 site_url: http://byron.github.io/google-apis-rs/google-gmailpostmastertools1_beta1-cli site_description: A complete library to interact with Postmaster Tools (protocol v1beta1) diff --git a/gen/gmailpostmastertools1_beta1-cli/src/main.rs b/gen/gmailpostmastertools1_beta1-cli/src/main.rs index 06327c6a7a..b414d68750 100644 --- a/gen/gmailpostmastertools1_beta1-cli/src/main.rs +++ b/gen/gmailpostmastertools1_beta1-cli/src/main.rs @@ -341,7 +341,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/gmailpostmastertools1-beta1", 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::PostmasterTools::new(client, auth), @@ -465,7 +471,7 @@ async fn main() { let mut app = App::new("gmailpostmastertools1-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20220305") + .version("3.1.0+20220305") .about("The Postmaster Tools API is a RESTful API that provides programmatic access to email traffic metrics (like spam reports, delivery errors etc) otherwise available through the Gmail Postmaster Tools UI currently.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_gmailpostmastertools1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/gmailpostmastertools1_beta1/Cargo.toml b/gen/gmailpostmastertools1_beta1/Cargo.toml index 2e24d40152..cacfbd88bc 100644 --- a/gen/gmailpostmastertools1_beta1/Cargo.toml +++ b/gen/gmailpostmastertools1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-gmailpostmastertools1_beta1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with Postmaster Tools (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/gmailpostmastertools1_beta1" homepage = "https://developers.google.com/gmail/postmaster" -documentation = "https://docs.rs/google-gmailpostmastertools1_beta1/3.0.0+20220305" +documentation = "https://docs.rs/google-gmailpostmastertools1_beta1/3.1.0+20220305" license = "MIT" keywords = ["gmailpostmastertools", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/gmailpostmastertools1_beta1/README.md b/gen/gmailpostmastertools1_beta1/README.md index e05103eabc..ebc3a4b816 100644 --- a/gen/gmailpostmastertools1_beta1/README.md +++ b/gen/gmailpostmastertools1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-gmailpostmastertools1_beta1` library allows access to all features of the *Google Postmaster Tools* service. -This documentation was generated from *Postmaster Tools* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *gmailpostmastertools:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Postmaster Tools* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *gmailpostmastertools:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Postmaster Tools* *v1_beta1* API can be found at the [official documentation site](https://developers.google.com/gmail/postmaster). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gmailpostmastertools1_beta1/3.0.0+20220305/google_gmailpostmastertools1_beta1/PostmasterTools) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gmailpostmastertools1_beta1/3.1.0+20220305/google_gmailpostmastertools1_beta1/PostmasterTools) ... -* [domains](https://docs.rs/google-gmailpostmastertools1_beta1/3.0.0+20220305/google_gmailpostmastertools1_beta1/api::Domain) - * [*get*](https://docs.rs/google-gmailpostmastertools1_beta1/3.0.0+20220305/google_gmailpostmastertools1_beta1/api::DomainGetCall), [*list*](https://docs.rs/google-gmailpostmastertools1_beta1/3.0.0+20220305/google_gmailpostmastertools1_beta1/api::DomainListCall), [*traffic stats get*](https://docs.rs/google-gmailpostmastertools1_beta1/3.0.0+20220305/google_gmailpostmastertools1_beta1/api::DomainTrafficStatGetCall) and [*traffic stats list*](https://docs.rs/google-gmailpostmastertools1_beta1/3.0.0+20220305/google_gmailpostmastertools1_beta1/api::DomainTrafficStatListCall) +* [domains](https://docs.rs/google-gmailpostmastertools1_beta1/3.1.0+20220305/google_gmailpostmastertools1_beta1/api::Domain) + * [*get*](https://docs.rs/google-gmailpostmastertools1_beta1/3.1.0+20220305/google_gmailpostmastertools1_beta1/api::DomainGetCall), [*list*](https://docs.rs/google-gmailpostmastertools1_beta1/3.1.0+20220305/google_gmailpostmastertools1_beta1/api::DomainListCall), [*traffic stats get*](https://docs.rs/google-gmailpostmastertools1_beta1/3.1.0+20220305/google_gmailpostmastertools1_beta1/api::DomainTrafficStatGetCall) and [*traffic stats list*](https://docs.rs/google-gmailpostmastertools1_beta1/3.1.0+20220305/google_gmailpostmastertools1_beta1/api::DomainTrafficStatListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-gmailpostmastertools1_beta1/3.0.0+20220305/google_gmailpostmastertools1_beta1/PostmasterTools)** +* **[Hub](https://docs.rs/google-gmailpostmastertools1_beta1/3.1.0+20220305/google_gmailpostmastertools1_beta1/PostmasterTools)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-gmailpostmastertools1_beta1/3.0.0+20220305/google_gmailpostmastertools1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-gmailpostmastertools1_beta1/3.0.0+20220305/google_gmailpostmastertools1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-gmailpostmastertools1_beta1/3.0.0+20220305/google_gmailpostmastertools1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-gmailpostmastertools1_beta1/3.1.0+20220305/google_gmailpostmastertools1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-gmailpostmastertools1_beta1/3.1.0+20220305/google_gmailpostmastertools1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-gmailpostmastertools1_beta1/3.1.0+20220305/google_gmailpostmastertools1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-gmailpostmastertools1_beta1/3.0.0+20220305/google_gmailpostmastertools1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-gmailpostmastertools1_beta1/3.1.0+20220305/google_gmailpostmastertools1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-gmailpostmastertools1_beta1/3.0.0+20220305/google_gmailpostmastertools1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-gmailpostmastertools1_beta1/3.1.0+20220305/google_gmailpostmastertools1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -93,7 +93,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = PostmasterTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = PostmasterTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -129,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-gmailpostmastertools1_beta1/3.0.0+20220305/google_gmailpostmastertools1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-gmailpostmastertools1_beta1/3.1.0+20220305/google_gmailpostmastertools1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-gmailpostmastertools1_beta1/3.0.0+20220305/google_gmailpostmastertools1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-gmailpostmastertools1_beta1/3.1.0+20220305/google_gmailpostmastertools1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-gmailpostmastertools1_beta1/3.0.0+20220305/google_gmailpostmastertools1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-gmailpostmastertools1_beta1/3.1.0+20220305/google_gmailpostmastertools1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-gmailpostmastertools1_beta1/3.0.0+20220305/google_gmailpostmastertools1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-gmailpostmastertools1_beta1/3.1.0+20220305/google_gmailpostmastertools1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -149,29 +149,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-gmailpostmastertools1_beta1/3.0.0+20220305/google_gmailpostmastertools1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-gmailpostmastertools1_beta1/3.0.0+20220305/google_gmailpostmastertools1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-gmailpostmastertools1_beta1/3.1.0+20220305/google_gmailpostmastertools1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-gmailpostmastertools1_beta1/3.1.0+20220305/google_gmailpostmastertools1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-gmailpostmastertools1_beta1/3.0.0+20220305/google_gmailpostmastertools1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-gmailpostmastertools1_beta1/3.1.0+20220305/google_gmailpostmastertools1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-gmailpostmastertools1_beta1/3.0.0+20220305/google_gmailpostmastertools1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-gmailpostmastertools1_beta1/3.0.0+20220305/google_gmailpostmastertools1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-gmailpostmastertools1_beta1/3.1.0+20220305/google_gmailpostmastertools1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-gmailpostmastertools1_beta1/3.1.0+20220305/google_gmailpostmastertools1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-gmailpostmastertools1_beta1/3.0.0+20220305/google_gmailpostmastertools1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-gmailpostmastertools1_beta1/3.1.0+20220305/google_gmailpostmastertools1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-gmailpostmastertools1_beta1/3.0.0+20220305/google_gmailpostmastertools1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-gmailpostmastertools1_beta1/3.1.0+20220305/google_gmailpostmastertools1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-gmailpostmastertools1_beta1/3.0.0+20220305/google_gmailpostmastertools1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-gmailpostmastertools1_beta1/3.1.0+20220305/google_gmailpostmastertools1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/gmailpostmastertools1_beta1/src/api.rs b/gen/gmailpostmastertools1_beta1/src/api.rs index 0202728ced..b369688ad6 100644 --- a/gen/gmailpostmastertools1_beta1/src/api.rs +++ b/gen/gmailpostmastertools1_beta1/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = PostmasterTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = PostmasterTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -121,7 +121,7 @@ impl<'a, > PostmasterTools<> { PostmasterTools { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://gmailpostmastertools.googleapis.com/".to_string(), _root_url: "https://gmailpostmastertools.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > PostmasterTools<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -362,7 +362,7 @@ impl client::ResponseResult for TrafficStats {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = PostmasterTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = PostmasterTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)`, `traffic_stats_get(...)` and `traffic_stats_list(...)` /// // to build up your call. @@ -483,7 +483,7 @@ impl<'a> DomainMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PostmasterTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PostmasterTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -739,7 +739,7 @@ impl<'a> DomainTrafficStatGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PostmasterTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PostmasterTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1091,7 +1091,7 @@ impl<'a> DomainTrafficStatListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PostmasterTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PostmasterTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1347,7 +1347,7 @@ impl<'a> DomainGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PostmasterTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PostmasterTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/gmailpostmastertools1_beta1/src/lib.rs b/gen/gmailpostmastertools1_beta1/src/lib.rs index 3cb42a289a..8f786ad4b8 100644 --- a/gen/gmailpostmastertools1_beta1/src/lib.rs +++ b/gen/gmailpostmastertools1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Postmaster Tools* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *gmailpostmastertools:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Postmaster Tools* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *gmailpostmastertools:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Postmaster Tools* *v1_beta1* API can be found at the //! [official documentation site](https://developers.google.com/gmail/postmaster). @@ -94,7 +94,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = PostmasterTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = PostmasterTools::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/groupsmigration1-cli/Cargo.toml b/gen/groupsmigration1-cli/Cargo.toml index 499e46e493..ec1a1e4fd5 100644 --- a/gen/groupsmigration1-cli/Cargo.toml +++ b/gen/groupsmigration1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-groupsmigration1-cli" -version = "3.0.0+20220226" +version = "3.1.0+20220226" authors = ["Sebastian Thiel "] description = "A complete library to interact with Groups Migration (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/groupsmigration1-cli" @@ -20,12 +20,12 @@ name = "groupsmigration1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-groupsmigration1] path = "../groupsmigration1" -version = "3.0.0+20220226" +version = "3.1.0+20220226" diff --git a/gen/groupsmigration1-cli/README.md b/gen/groupsmigration1-cli/README.md index a4259e80ab..173534e76b 100644 --- a/gen/groupsmigration1-cli/README.md +++ b/gen/groupsmigration1-cli/README.md @@ -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 *Groups Migration* API at revision *20220226*. The CLI is at version *3.0.0*. +This documentation was generated from the *Groups Migration* API at revision *20220226*. The CLI is at version *3.1.0*. ```bash groupsmigration1 [options] diff --git a/gen/groupsmigration1-cli/mkdocs.yml b/gen/groupsmigration1-cli/mkdocs.yml index 2facedb034..b030fb66d3 100644 --- a/gen/groupsmigration1-cli/mkdocs.yml +++ b/gen/groupsmigration1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Groups Migration v3.0.0+20220226 +site_name: Groups Migration v3.1.0+20220226 site_url: http://byron.github.io/google-apis-rs/google-groupsmigration1-cli site_description: A complete library to interact with Groups Migration (protocol v1) diff --git a/gen/groupsmigration1-cli/src/main.rs b/gen/groupsmigration1-cli/src/main.rs index 6f1a6b15ea..8d873dd2a2 100644 --- a/gen/groupsmigration1-cli/src/main.rs +++ b/gen/groupsmigration1-cli/src/main.rs @@ -147,7 +147,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/groupsmigration1", 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::GroupsMigration::new(client, auth), @@ -218,7 +224,7 @@ async fn main() { let mut app = App::new("groupsmigration1") .author("Sebastian Thiel ") - .version("3.0.0+20220226") + .version("3.1.0+20220226") .about("The Groups Migration API allows domain administrators to archive emails into Google groups.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_groupsmigration1_cli") .arg(Arg::with_name("url") diff --git a/gen/groupsmigration1/Cargo.toml b/gen/groupsmigration1/Cargo.toml index 125a47ff36..37d543cab2 100644 --- a/gen/groupsmigration1/Cargo.toml +++ b/gen/groupsmigration1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-groupsmigration1" -version = "3.0.0+20220226" +version = "3.1.0+20220226" authors = ["Sebastian Thiel "] description = "A complete library to interact with Groups Migration (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/groupsmigration1" homepage = "https://developers.google.com/google-apps/groups-migration/" -documentation = "https://docs.rs/google-groupsmigration1/3.0.0+20220226" +documentation = "https://docs.rs/google-groupsmigration1/3.1.0+20220226" license = "MIT" keywords = ["groupsmigration", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/groupsmigration1/README.md b/gen/groupsmigration1/README.md index 126e887d3a..59be50e6f2 100644 --- a/gen/groupsmigration1/README.md +++ b/gen/groupsmigration1/README.md @@ -5,21 +5,21 @@ DO NOT EDIT ! --> The `google-groupsmigration1` library allows access to all features of the *Google Groups Migration* service. -This documentation was generated from *Groups Migration* crate version *3.0.0+20220226*, where *20220226* is the exact revision of the *groupsmigration:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Groups Migration* crate version *3.1.0+20220226*, where *20220226* is the exact revision of the *groupsmigration:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Groups Migration* *v1* API can be found at the [official documentation site](https://developers.google.com/google-apps/groups-migration/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-groupsmigration1/3.0.0+20220226/google_groupsmigration1/GroupsMigration) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-groupsmigration1/3.1.0+20220226/google_groupsmigration1/GroupsMigration) ... * archive - * [*insert*](https://docs.rs/google-groupsmigration1/3.0.0+20220226/google_groupsmigration1/api::ArchiveInsertCall) + * [*insert*](https://docs.rs/google-groupsmigration1/3.1.0+20220226/google_groupsmigration1/api::ArchiveInsertCall) Upload supported by ... -* [*insert archive*](https://docs.rs/google-groupsmigration1/3.0.0+20220226/google_groupsmigration1/api::ArchiveInsertCall) +* [*insert archive*](https://docs.rs/google-groupsmigration1/3.1.0+20220226/google_groupsmigration1/api::ArchiveInsertCall) @@ -27,17 +27,17 @@ Upload supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-groupsmigration1/3.0.0+20220226/google_groupsmigration1/GroupsMigration)** +* **[Hub](https://docs.rs/google-groupsmigration1/3.1.0+20220226/google_groupsmigration1/GroupsMigration)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-groupsmigration1/3.0.0+20220226/google_groupsmigration1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-groupsmigration1/3.0.0+20220226/google_groupsmigration1/client::CallBuilder) -* **[Resources](https://docs.rs/google-groupsmigration1/3.0.0+20220226/google_groupsmigration1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-groupsmigration1/3.1.0+20220226/google_groupsmigration1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-groupsmigration1/3.1.0+20220226/google_groupsmigration1/client::CallBuilder) +* **[Resources](https://docs.rs/google-groupsmigration1/3.1.0+20220226/google_groupsmigration1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-groupsmigration1/3.0.0+20220226/google_groupsmigration1/client::Part)** + * **[Parts](https://docs.rs/google-groupsmigration1/3.1.0+20220226/google_groupsmigration1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-groupsmigration1/3.0.0+20220226/google_groupsmigration1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-groupsmigration1/3.1.0+20220226/google_groupsmigration1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -95,7 +95,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = GroupsMigration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = GroupsMigration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `upload(...)`. // Values shown here are possibly random and not representative ! @@ -123,17 +123,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-groupsmigration1/3.0.0+20220226/google_groupsmigration1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-groupsmigration1/3.1.0+20220226/google_groupsmigration1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-groupsmigration1/3.0.0+20220226/google_groupsmigration1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-groupsmigration1/3.1.0+20220226/google_groupsmigration1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-groupsmigration1/3.0.0+20220226/google_groupsmigration1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-groupsmigration1/3.1.0+20220226/google_groupsmigration1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-groupsmigration1/3.0.0+20220226/google_groupsmigration1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-groupsmigration1/3.1.0+20220226/google_groupsmigration1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -143,29 +143,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-groupsmigration1/3.0.0+20220226/google_groupsmigration1/client::Delegate) to the -[Method Builder](https://docs.rs/google-groupsmigration1/3.0.0+20220226/google_groupsmigration1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-groupsmigration1/3.1.0+20220226/google_groupsmigration1/client::Delegate) to the +[Method Builder](https://docs.rs/google-groupsmigration1/3.1.0+20220226/google_groupsmigration1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-groupsmigration1/3.0.0+20220226/google_groupsmigration1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-groupsmigration1/3.1.0+20220226/google_groupsmigration1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-groupsmigration1/3.0.0+20220226/google_groupsmigration1/client::RequestValue) and -[decodable](https://docs.rs/google-groupsmigration1/3.0.0+20220226/google_groupsmigration1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-groupsmigration1/3.1.0+20220226/google_groupsmigration1/client::RequestValue) and +[decodable](https://docs.rs/google-groupsmigration1/3.1.0+20220226/google_groupsmigration1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-groupsmigration1/3.0.0+20220226/google_groupsmigration1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-groupsmigration1/3.1.0+20220226/google_groupsmigration1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-groupsmigration1/3.0.0+20220226/google_groupsmigration1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-groupsmigration1/3.1.0+20220226/google_groupsmigration1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-groupsmigration1/3.0.0+20220226/google_groupsmigration1/client::RequestValue) are moved +* [request values](https://docs.rs/google-groupsmigration1/3.1.0+20220226/google_groupsmigration1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/groupsmigration1/src/api.rs b/gen/groupsmigration1/src/api.rs index 08dd104b0b..2e35ffaa68 100644 --- a/gen/groupsmigration1/src/api.rs +++ b/gen/groupsmigration1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = GroupsMigration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = GroupsMigration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `upload(...)`. /// // Values shown here are possibly random and not representative ! @@ -114,7 +114,7 @@ impl<'a, > GroupsMigration<> { GroupsMigration { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://groupsmigration.googleapis.com/".to_string(), _root_url: "https://groupsmigration.googleapis.com/".to_string(), } @@ -125,7 +125,7 @@ impl<'a, > GroupsMigration<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -200,7 +200,7 @@ impl client::ResponseResult for Groups {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = GroupsMigration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = GroupsMigration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `insert(...)` /// // to build up your call. @@ -266,7 +266,7 @@ impl<'a> ArchiveMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = GroupsMigration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = GroupsMigration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `upload(...)`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/groupsmigration1/src/lib.rs b/gen/groupsmigration1/src/lib.rs index 44993f34d7..aa5e930735 100644 --- a/gen/groupsmigration1/src/lib.rs +++ b/gen/groupsmigration1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Groups Migration* crate version *3.0.0+20220226*, where *20220226* is the exact revision of the *groupsmigration:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Groups Migration* crate version *3.1.0+20220226*, where *20220226* is the exact revision of the *groupsmigration:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Groups Migration* *v1* API can be found at the //! [official documentation site](https://developers.google.com/google-apps/groups-migration/). @@ -96,7 +96,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = GroupsMigration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = GroupsMigration::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `upload(...)`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/groupssettings1-cli/Cargo.toml b/gen/groupssettings1-cli/Cargo.toml index b95a7897c5..8800b433b6 100644 --- a/gen/groupssettings1-cli/Cargo.toml +++ b/gen/groupssettings1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-groupssettings1-cli" -version = "3.0.0+20220224" +version = "3.1.0+20220224" authors = ["Sebastian Thiel "] description = "A complete library to interact with groupssettings (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/groupssettings1-cli" @@ -20,12 +20,12 @@ name = "groupssettings1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-groupssettings1] path = "../groupssettings1" -version = "3.0.0+20220224" +version = "3.1.0+20220224" diff --git a/gen/groupssettings1-cli/README.md b/gen/groupssettings1-cli/README.md index db3480b841..05e7e99d81 100644 --- a/gen/groupssettings1-cli/README.md +++ b/gen/groupssettings1-cli/README.md @@ -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 *groupssettings* API at revision *20220224*. The CLI is at version *3.0.0*. +This documentation was generated from the *groupssettings* API at revision *20220224*. The CLI is at version *3.1.0*. ```bash groupssettings1 [options] diff --git a/gen/groupssettings1-cli/mkdocs.yml b/gen/groupssettings1-cli/mkdocs.yml index 425032aea9..41d544d4a6 100644 --- a/gen/groupssettings1-cli/mkdocs.yml +++ b/gen/groupssettings1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: groupssettings v3.0.0+20220224 +site_name: groupssettings v3.1.0+20220224 site_url: http://byron.github.io/google-apis-rs/google-groupssettings1-cli site_description: A complete library to interact with groupssettings (protocol v1) diff --git a/gen/groupssettings1-cli/src/main.rs b/gen/groupssettings1-cli/src/main.rs index 78b2bd3cbd..a2b37b62a9 100644 --- a/gen/groupssettings1-cli/src/main.rs +++ b/gen/groupssettings1-cli/src/main.rs @@ -442,7 +442,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/groupssettings1", 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::Groupssettings::new(client, auth), @@ -559,7 +565,7 @@ async fn main() { let mut app = App::new("groupssettings1") .author("Sebastian Thiel ") - .version("3.0.0+20220224") + .version("3.1.0+20220224") .about("Manages permission levels and related settings of a group.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_groupssettings1_cli") .arg(Arg::with_name("url") diff --git a/gen/groupssettings1/Cargo.toml b/gen/groupssettings1/Cargo.toml index 9ba428542a..352642cf65 100644 --- a/gen/groupssettings1/Cargo.toml +++ b/gen/groupssettings1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-groupssettings1" -version = "3.0.0+20220224" +version = "3.1.0+20220224" authors = ["Sebastian Thiel "] description = "A complete library to interact with groupssettings (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/groupssettings1" homepage = "https://developers.google.com/google-apps/groups-settings/get_started" -documentation = "https://docs.rs/google-groupssettings1/3.0.0+20220224" +documentation = "https://docs.rs/google-groupssettings1/3.1.0+20220224" license = "MIT" keywords = ["groupssettings", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/groupssettings1/README.md b/gen/groupssettings1/README.md index a5410b7ec6..f00ec300d6 100644 --- a/gen/groupssettings1/README.md +++ b/gen/groupssettings1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-groupssettings1` library allows access to all features of the *Google groupssettings* service. -This documentation was generated from *groupssettings* crate version *3.0.0+20220224*, where *20220224* is the exact revision of the *groupssettings:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *groupssettings* crate version *3.1.0+20220224*, where *20220224* is the exact revision of the *groupssettings:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *groupssettings* *v1* API can be found at the [official documentation site](https://developers.google.com/google-apps/groups-settings/get_started). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-groupssettings1/3.0.0+20220224/google_groupssettings1/Groupssettings) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-groupssettings1/3.1.0+20220224/google_groupssettings1/Groupssettings) ... * groups - * [*get*](https://docs.rs/google-groupssettings1/3.0.0+20220224/google_groupssettings1/api::GroupGetCall), [*patch*](https://docs.rs/google-groupssettings1/3.0.0+20220224/google_groupssettings1/api::GroupPatchCall) and [*update*](https://docs.rs/google-groupssettings1/3.0.0+20220224/google_groupssettings1/api::GroupUpdateCall) + * [*get*](https://docs.rs/google-groupssettings1/3.1.0+20220224/google_groupssettings1/api::GroupGetCall), [*patch*](https://docs.rs/google-groupssettings1/3.1.0+20220224/google_groupssettings1/api::GroupPatchCall) and [*update*](https://docs.rs/google-groupssettings1/3.1.0+20220224/google_groupssettings1/api::GroupUpdateCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-groupssettings1/3.0.0+20220224/google_groupssettings1/Groupssettings)** +* **[Hub](https://docs.rs/google-groupssettings1/3.1.0+20220224/google_groupssettings1/Groupssettings)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-groupssettings1/3.0.0+20220224/google_groupssettings1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-groupssettings1/3.0.0+20220224/google_groupssettings1/client::CallBuilder) -* **[Resources](https://docs.rs/google-groupssettings1/3.0.0+20220224/google_groupssettings1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-groupssettings1/3.1.0+20220224/google_groupssettings1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-groupssettings1/3.1.0+20220224/google_groupssettings1/client::CallBuilder) +* **[Resources](https://docs.rs/google-groupssettings1/3.1.0+20220224/google_groupssettings1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-groupssettings1/3.0.0+20220224/google_groupssettings1/client::Part)** + * **[Parts](https://docs.rs/google-groupssettings1/3.1.0+20220224/google_groupssettings1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-groupssettings1/3.0.0+20220224/google_groupssettings1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-groupssettings1/3.1.0+20220224/google_groupssettings1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -93,7 +93,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Groupssettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Groupssettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -126,17 +126,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-groupssettings1/3.0.0+20220224/google_groupssettings1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-groupssettings1/3.1.0+20220224/google_groupssettings1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-groupssettings1/3.0.0+20220224/google_groupssettings1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-groupssettings1/3.1.0+20220224/google_groupssettings1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-groupssettings1/3.0.0+20220224/google_groupssettings1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-groupssettings1/3.1.0+20220224/google_groupssettings1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-groupssettings1/3.0.0+20220224/google_groupssettings1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-groupssettings1/3.1.0+20220224/google_groupssettings1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -146,29 +146,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-groupssettings1/3.0.0+20220224/google_groupssettings1/client::Delegate) to the -[Method Builder](https://docs.rs/google-groupssettings1/3.0.0+20220224/google_groupssettings1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-groupssettings1/3.1.0+20220224/google_groupssettings1/client::Delegate) to the +[Method Builder](https://docs.rs/google-groupssettings1/3.1.0+20220224/google_groupssettings1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-groupssettings1/3.0.0+20220224/google_groupssettings1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-groupssettings1/3.1.0+20220224/google_groupssettings1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-groupssettings1/3.0.0+20220224/google_groupssettings1/client::RequestValue) and -[decodable](https://docs.rs/google-groupssettings1/3.0.0+20220224/google_groupssettings1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-groupssettings1/3.1.0+20220224/google_groupssettings1/client::RequestValue) and +[decodable](https://docs.rs/google-groupssettings1/3.1.0+20220224/google_groupssettings1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-groupssettings1/3.0.0+20220224/google_groupssettings1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-groupssettings1/3.1.0+20220224/google_groupssettings1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-groupssettings1/3.0.0+20220224/google_groupssettings1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-groupssettings1/3.1.0+20220224/google_groupssettings1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-groupssettings1/3.0.0+20220224/google_groupssettings1/client::RequestValue) are moved +* [request values](https://docs.rs/google-groupssettings1/3.1.0+20220224/google_groupssettings1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/groupssettings1/src/api.rs b/gen/groupssettings1/src/api.rs index 84ff141e0d..9bd4406643 100644 --- a/gen/groupssettings1/src/api.rs +++ b/gen/groupssettings1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Groupssettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Groupssettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > Groupssettings<> { Groupssettings { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/groups/v1/groups/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -130,7 +130,7 @@ impl<'a, > Groupssettings<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -586,7 +586,7 @@ impl client::ResponseResult for Groups {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Groupssettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Groupssettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -689,7 +689,7 @@ impl<'a> GroupMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Groupssettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Groupssettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -938,7 +938,7 @@ impl<'a> GroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Groupssettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Groupssettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1216,7 +1216,7 @@ impl<'a> GroupPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Groupssettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Groupssettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/groupssettings1/src/lib.rs b/gen/groupssettings1/src/lib.rs index 425629f20b..bf5786c736 100644 --- a/gen/groupssettings1/src/lib.rs +++ b/gen/groupssettings1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *groupssettings* crate version *3.0.0+20220224*, where *20220224* is the exact revision of the *groupssettings:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *groupssettings* crate version *3.1.0+20220224*, where *20220224* is the exact revision of the *groupssettings:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *groupssettings* *v1* API can be found at the //! [official documentation site](https://developers.google.com/google-apps/groups-settings/get_started). @@ -94,7 +94,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Groupssettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Groupssettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/healthcare1-cli/Cargo.toml b/gen/healthcare1-cli/Cargo.toml index ba2d070fb4..c9dde65f37 100644 --- a/gen/healthcare1-cli/Cargo.toml +++ b/gen/healthcare1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-healthcare1-cli" -version = "3.0.0+20220223" +version = "3.1.0+20220223" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Healthcare (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/healthcare1-cli" @@ -20,12 +20,12 @@ name = "healthcare1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-healthcare1] path = "../healthcare1" -version = "3.0.0+20220223" +version = "3.1.0+20220223" diff --git a/gen/healthcare1-cli/README.md b/gen/healthcare1-cli/README.md index 7e80ce387c..a5ea3b9585 100644 --- a/gen/healthcare1-cli/README.md +++ b/gen/healthcare1-cli/README.md @@ -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 *Cloud Healthcare* API at revision *20220223*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Healthcare* API at revision *20220223*. The CLI is at version *3.1.0*. ```bash healthcare1 [options] diff --git a/gen/healthcare1-cli/mkdocs.yml b/gen/healthcare1-cli/mkdocs.yml index 7cb3932d2f..6d0134bf4a 100644 --- a/gen/healthcare1-cli/mkdocs.yml +++ b/gen/healthcare1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Healthcare v3.0.0+20220223 +site_name: Cloud Healthcare v3.1.0+20220223 site_url: http://byron.github.io/google-apis-rs/google-healthcare1-cli site_description: A complete library to interact with Cloud Healthcare (protocol v1) diff --git a/gen/healthcare1-cli/src/main.rs b/gen/healthcare1-cli/src/main.rs index ec2f7bd79d..1aba7e83c3 100644 --- a/gen/healthcare1-cli/src/main.rs +++ b/gen/healthcare1-cli/src/main.rs @@ -9179,7 +9179,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/healthcare1", 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::CloudHealthcare::new(client, auth), @@ -12407,7 +12413,7 @@ async fn main() { let mut app = App::new("healthcare1") .author("Sebastian Thiel ") - .version("3.0.0+20220223") + .version("3.1.0+20220223") .about("Manage, store, and access healthcare data in Google Cloud Platform.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_healthcare1_cli") .arg(Arg::with_name("url") diff --git a/gen/healthcare1/Cargo.toml b/gen/healthcare1/Cargo.toml index 3fd31147e8..6cf5c96baf 100644 --- a/gen/healthcare1/Cargo.toml +++ b/gen/healthcare1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-healthcare1" -version = "3.0.0+20220223" +version = "3.1.0+20220223" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Healthcare (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/healthcare1" homepage = "https://cloud.google.com/healthcare" -documentation = "https://docs.rs/google-healthcare1/3.0.0+20220223" +documentation = "https://docs.rs/google-healthcare1/3.1.0+20220223" license = "MIT" keywords = ["healthcare", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/healthcare1/README.md b/gen/healthcare1/README.md index abdd94aa3c..8c710fd1f7 100644 --- a/gen/healthcare1/README.md +++ b/gen/healthcare1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-healthcare1` library allows access to all features of the *Google Cloud Healthcare* service. -This documentation was generated from *Cloud Healthcare* crate version *3.0.0+20220223*, where *20220223* is the exact revision of the *healthcare:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Healthcare* crate version *3.1.0+20220223*, where *20220223* is the exact revision of the *healthcare:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Healthcare* *v1* API can be found at the [official documentation site](https://cloud.google.com/healthcare). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/CloudHealthcare) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/CloudHealthcare) ... * projects - * [*locations datasets consent stores attribute definitions create*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionCreateCall), [*locations datasets consent stores attribute definitions delete*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionDeleteCall), [*locations datasets consent stores attribute definitions get*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionGetCall), [*locations datasets consent stores attribute definitions list*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionListCall), [*locations datasets consent stores attribute definitions patch*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionPatchCall), [*locations datasets consent stores check data access*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreCheckDataAccesCall), [*locations datasets consent stores consent artifacts create*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentArtifactCreateCall), [*locations datasets consent stores consent artifacts delete*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentArtifactDeleteCall), [*locations datasets consent stores consent artifacts get*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentArtifactGetCall), [*locations datasets consent stores consent artifacts list*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentArtifactListCall), [*locations datasets consent stores consents activate*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentActivateCall), [*locations datasets consent stores consents create*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentCreateCall), [*locations datasets consent stores consents delete*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentDeleteCall), [*locations datasets consent stores consents delete revision*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentDeleteRevisionCall), [*locations datasets consent stores consents get*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentGetCall), [*locations datasets consent stores consents list*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentListCall), [*locations datasets consent stores consents list revisions*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentListRevisionCall), [*locations datasets consent stores consents patch*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentPatchCall), [*locations datasets consent stores consents reject*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentRejectCall), [*locations datasets consent stores consents revoke*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentRevokeCall), [*locations datasets consent stores create*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreCreateCall), [*locations datasets consent stores delete*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreDeleteCall), [*locations datasets consent stores evaluate user consents*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreEvaluateUserConsentCall), [*locations datasets consent stores get*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreGetCall), [*locations datasets consent stores get iam policy*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreGetIamPolicyCall), [*locations datasets consent stores list*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreListCall), [*locations datasets consent stores patch*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStorePatchCall), [*locations datasets consent stores query accessible data*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreQueryAccessibleDataCall), [*locations datasets consent stores set iam policy*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreSetIamPolicyCall), [*locations datasets consent stores test iam permissions*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreTestIamPermissionCall), [*locations datasets consent stores user data mappings archive*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreUserDataMappingArchiveCall), [*locations datasets consent stores user data mappings create*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreUserDataMappingCreateCall), [*locations datasets consent stores user data mappings delete*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreUserDataMappingDeleteCall), [*locations datasets consent stores user data mappings get*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreUserDataMappingGetCall), [*locations datasets consent stores user data mappings list*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreUserDataMappingListCall), [*locations datasets consent stores user data mappings patch*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreUserDataMappingPatchCall), [*locations datasets create*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetCreateCall), [*locations datasets deidentify*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetDeidentifyCall), [*locations datasets delete*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetDeleteCall), [*locations datasets dicom stores create*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreCreateCall), [*locations datasets dicom stores deidentify*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreDeidentifyCall), [*locations datasets dicom stores delete*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreDeleteCall), [*locations datasets dicom stores export*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreExportCall), [*locations datasets dicom stores get*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreGetCall), [*locations datasets dicom stores get iam policy*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreGetIamPolicyCall), [*locations datasets dicom stores import*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreImportCall), [*locations datasets dicom stores list*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreListCall), [*locations datasets dicom stores patch*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStorePatchCall), [*locations datasets dicom stores search for instances*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreSearchForInstanceCall), [*locations datasets dicom stores search for series*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreSearchForSeryCall), [*locations datasets dicom stores search for studies*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreSearchForStudyCall), [*locations datasets dicom stores set iam policy*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreSetIamPolicyCall), [*locations datasets dicom stores store instances*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreStoreInstanceCall), [*locations datasets dicom stores studies delete*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudyDeleteCall), [*locations datasets dicom stores studies retrieve metadata*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudyRetrieveMetadataCall), [*locations datasets dicom stores studies retrieve study*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudyRetrieveStudyCall), [*locations datasets dicom stores studies search for instances*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySearchForInstanceCall), [*locations datasets dicom stores studies search for series*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySearchForSeryCall), [*locations datasets dicom stores studies series delete*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryDeleteCall), [*locations datasets dicom stores studies series instances delete*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceDeleteCall), [*locations datasets dicom stores studies series instances frames retrieve frames*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceFrameRetrieveFrameCall), [*locations datasets dicom stores studies series instances frames retrieve rendered*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceFrameRetrieveRenderedCall), [*locations datasets dicom stores studies series instances retrieve instance*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceRetrieveInstanceCall), [*locations datasets dicom stores studies series instances retrieve metadata*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceRetrieveMetadataCall), [*locations datasets dicom stores studies series instances retrieve rendered*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceRetrieveRenderedCall), [*locations datasets dicom stores studies series retrieve metadata*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryRetrieveMetadataCall), [*locations datasets dicom stores studies series retrieve series*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryRetrieveSeryCall), [*locations datasets dicom stores studies series search for instances*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySerySearchForInstanceCall), [*locations datasets dicom stores studies store instances*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudyStoreInstanceCall), [*locations datasets dicom stores test iam permissions*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreTestIamPermissionCall), [*locations datasets fhir stores create*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreCreateCall), [*locations datasets fhir stores deidentify*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreDeidentifyCall), [*locations datasets fhir stores delete*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreDeleteCall), [*locations datasets fhir stores export*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreExportCall), [*locations datasets fhir stores fhir patient-everything*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirPatientEverythingCall), [*locations datasets fhir stores fhir resource-purge*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirResourcePurgeCall), [*locations datasets fhir stores fhir resource-validate*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirResourceValidateCall), [*locations datasets fhir stores fhir capabilities*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirCapabilityCall), [*locations datasets fhir stores fhir create*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirCreateCall), [*locations datasets fhir stores fhir delete*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirDeleteCall), [*locations datasets fhir stores fhir execute bundle*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirExecuteBundleCall), [*locations datasets fhir stores fhir history*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirHistoryCall), [*locations datasets fhir stores fhir patch*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirPatchCall), [*locations datasets fhir stores fhir read*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirReadCall), [*locations datasets fhir stores fhir search*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirSearchCall), [*locations datasets fhir stores fhir search-type*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirSearchTypeCall), [*locations datasets fhir stores fhir update*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirUpdateCall), [*locations datasets fhir stores fhir vread*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirVreadCall), [*locations datasets fhir stores get*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreGetCall), [*locations datasets fhir stores get iam policy*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreGetIamPolicyCall), [*locations datasets fhir stores import*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreImportCall), [*locations datasets fhir stores list*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreListCall), [*locations datasets fhir stores patch*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStorePatchCall), [*locations datasets fhir stores set iam policy*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreSetIamPolicyCall), [*locations datasets fhir stores test iam permissions*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreTestIamPermissionCall), [*locations datasets get*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetGetCall), [*locations datasets get iam policy*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetGetIamPolicyCall), [*locations datasets hl7 v2 stores create*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreCreateCall), [*locations datasets hl7 v2 stores delete*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreDeleteCall), [*locations datasets hl7 v2 stores export*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreExportCall), [*locations datasets hl7 v2 stores get*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreGetCall), [*locations datasets hl7 v2 stores get iam policy*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreGetIamPolicyCall), [*locations datasets hl7 v2 stores import*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreImportCall), [*locations datasets hl7 v2 stores list*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreListCall), [*locations datasets hl7 v2 stores messages create*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreMessageCreateCall), [*locations datasets hl7 v2 stores messages delete*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreMessageDeleteCall), [*locations datasets hl7 v2 stores messages get*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreMessageGetCall), [*locations datasets hl7 v2 stores messages ingest*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreMessageIngestCall), [*locations datasets hl7 v2 stores messages list*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreMessageListCall), [*locations datasets hl7 v2 stores messages patch*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreMessagePatchCall), [*locations datasets hl7 v2 stores patch*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetHl7V2StorePatchCall), [*locations datasets hl7 v2 stores set iam policy*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreSetIamPolicyCall), [*locations datasets hl7 v2 stores test iam permissions*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreTestIamPermissionCall), [*locations datasets list*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetListCall), [*locations datasets operations cancel*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetOperationCancelCall), [*locations datasets operations get*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetOperationGetCall), [*locations datasets operations list*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetOperationListCall), [*locations datasets patch*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetPatchCall), [*locations datasets set iam policy*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetSetIamPolicyCall), [*locations datasets test iam permissions*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationDatasetTestIamPermissionCall), [*locations get*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationListCall) and [*locations services nlp analyze entities*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/api::ProjectLocationServiceNlpAnalyzeEntityCall) + * [*locations datasets consent stores attribute definitions create*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionCreateCall), [*locations datasets consent stores attribute definitions delete*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionDeleteCall), [*locations datasets consent stores attribute definitions get*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionGetCall), [*locations datasets consent stores attribute definitions list*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionListCall), [*locations datasets consent stores attribute definitions patch*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionPatchCall), [*locations datasets consent stores check data access*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreCheckDataAccesCall), [*locations datasets consent stores consent artifacts create*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentArtifactCreateCall), [*locations datasets consent stores consent artifacts delete*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentArtifactDeleteCall), [*locations datasets consent stores consent artifacts get*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentArtifactGetCall), [*locations datasets consent stores consent artifacts list*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentArtifactListCall), [*locations datasets consent stores consents activate*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentActivateCall), [*locations datasets consent stores consents create*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentCreateCall), [*locations datasets consent stores consents delete*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentDeleteCall), [*locations datasets consent stores consents delete revision*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentDeleteRevisionCall), [*locations datasets consent stores consents get*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentGetCall), [*locations datasets consent stores consents list*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentListCall), [*locations datasets consent stores consents list revisions*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentListRevisionCall), [*locations datasets consent stores consents patch*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentPatchCall), [*locations datasets consent stores consents reject*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentRejectCall), [*locations datasets consent stores consents revoke*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreConsentRevokeCall), [*locations datasets consent stores create*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreCreateCall), [*locations datasets consent stores delete*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreDeleteCall), [*locations datasets consent stores evaluate user consents*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreEvaluateUserConsentCall), [*locations datasets consent stores get*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreGetCall), [*locations datasets consent stores get iam policy*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreGetIamPolicyCall), [*locations datasets consent stores list*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreListCall), [*locations datasets consent stores patch*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStorePatchCall), [*locations datasets consent stores query accessible data*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreQueryAccessibleDataCall), [*locations datasets consent stores set iam policy*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreSetIamPolicyCall), [*locations datasets consent stores test iam permissions*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreTestIamPermissionCall), [*locations datasets consent stores user data mappings archive*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreUserDataMappingArchiveCall), [*locations datasets consent stores user data mappings create*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreUserDataMappingCreateCall), [*locations datasets consent stores user data mappings delete*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreUserDataMappingDeleteCall), [*locations datasets consent stores user data mappings get*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreUserDataMappingGetCall), [*locations datasets consent stores user data mappings list*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreUserDataMappingListCall), [*locations datasets consent stores user data mappings patch*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetConsentStoreUserDataMappingPatchCall), [*locations datasets create*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetCreateCall), [*locations datasets deidentify*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetDeidentifyCall), [*locations datasets delete*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetDeleteCall), [*locations datasets dicom stores create*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreCreateCall), [*locations datasets dicom stores deidentify*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreDeidentifyCall), [*locations datasets dicom stores delete*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreDeleteCall), [*locations datasets dicom stores export*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreExportCall), [*locations datasets dicom stores get*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreGetCall), [*locations datasets dicom stores get iam policy*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreGetIamPolicyCall), [*locations datasets dicom stores import*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreImportCall), [*locations datasets dicom stores list*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreListCall), [*locations datasets dicom stores patch*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStorePatchCall), [*locations datasets dicom stores search for instances*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreSearchForInstanceCall), [*locations datasets dicom stores search for series*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreSearchForSeryCall), [*locations datasets dicom stores search for studies*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreSearchForStudyCall), [*locations datasets dicom stores set iam policy*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreSetIamPolicyCall), [*locations datasets dicom stores store instances*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreStoreInstanceCall), [*locations datasets dicom stores studies delete*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudyDeleteCall), [*locations datasets dicom stores studies retrieve metadata*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudyRetrieveMetadataCall), [*locations datasets dicom stores studies retrieve study*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudyRetrieveStudyCall), [*locations datasets dicom stores studies search for instances*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySearchForInstanceCall), [*locations datasets dicom stores studies search for series*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySearchForSeryCall), [*locations datasets dicom stores studies series delete*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryDeleteCall), [*locations datasets dicom stores studies series instances delete*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceDeleteCall), [*locations datasets dicom stores studies series instances frames retrieve frames*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceFrameRetrieveFrameCall), [*locations datasets dicom stores studies series instances frames retrieve rendered*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceFrameRetrieveRenderedCall), [*locations datasets dicom stores studies series instances retrieve instance*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceRetrieveInstanceCall), [*locations datasets dicom stores studies series instances retrieve metadata*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceRetrieveMetadataCall), [*locations datasets dicom stores studies series instances retrieve rendered*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceRetrieveRenderedCall), [*locations datasets dicom stores studies series retrieve metadata*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryRetrieveMetadataCall), [*locations datasets dicom stores studies series retrieve series*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySeryRetrieveSeryCall), [*locations datasets dicom stores studies series search for instances*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudySerySearchForInstanceCall), [*locations datasets dicom stores studies store instances*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreStudyStoreInstanceCall), [*locations datasets dicom stores test iam permissions*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetDicomStoreTestIamPermissionCall), [*locations datasets fhir stores create*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreCreateCall), [*locations datasets fhir stores deidentify*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreDeidentifyCall), [*locations datasets fhir stores delete*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreDeleteCall), [*locations datasets fhir stores export*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreExportCall), [*locations datasets fhir stores fhir patient-everything*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirPatientEverythingCall), [*locations datasets fhir stores fhir resource-purge*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirResourcePurgeCall), [*locations datasets fhir stores fhir resource-validate*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirResourceValidateCall), [*locations datasets fhir stores fhir capabilities*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirCapabilityCall), [*locations datasets fhir stores fhir create*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirCreateCall), [*locations datasets fhir stores fhir delete*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirDeleteCall), [*locations datasets fhir stores fhir execute bundle*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirExecuteBundleCall), [*locations datasets fhir stores fhir history*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirHistoryCall), [*locations datasets fhir stores fhir patch*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirPatchCall), [*locations datasets fhir stores fhir read*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirReadCall), [*locations datasets fhir stores fhir search*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirSearchCall), [*locations datasets fhir stores fhir search-type*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirSearchTypeCall), [*locations datasets fhir stores fhir update*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirUpdateCall), [*locations datasets fhir stores fhir vread*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreFhirVreadCall), [*locations datasets fhir stores get*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreGetCall), [*locations datasets fhir stores get iam policy*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreGetIamPolicyCall), [*locations datasets fhir stores import*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreImportCall), [*locations datasets fhir stores list*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreListCall), [*locations datasets fhir stores patch*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStorePatchCall), [*locations datasets fhir stores set iam policy*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreSetIamPolicyCall), [*locations datasets fhir stores test iam permissions*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetFhirStoreTestIamPermissionCall), [*locations datasets get*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetGetCall), [*locations datasets get iam policy*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetGetIamPolicyCall), [*locations datasets hl7 v2 stores create*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreCreateCall), [*locations datasets hl7 v2 stores delete*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreDeleteCall), [*locations datasets hl7 v2 stores export*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreExportCall), [*locations datasets hl7 v2 stores get*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreGetCall), [*locations datasets hl7 v2 stores get iam policy*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreGetIamPolicyCall), [*locations datasets hl7 v2 stores import*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreImportCall), [*locations datasets hl7 v2 stores list*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreListCall), [*locations datasets hl7 v2 stores messages create*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreMessageCreateCall), [*locations datasets hl7 v2 stores messages delete*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreMessageDeleteCall), [*locations datasets hl7 v2 stores messages get*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreMessageGetCall), [*locations datasets hl7 v2 stores messages ingest*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreMessageIngestCall), [*locations datasets hl7 v2 stores messages list*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreMessageListCall), [*locations datasets hl7 v2 stores messages patch*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreMessagePatchCall), [*locations datasets hl7 v2 stores patch*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetHl7V2StorePatchCall), [*locations datasets hl7 v2 stores set iam policy*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreSetIamPolicyCall), [*locations datasets hl7 v2 stores test iam permissions*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetHl7V2StoreTestIamPermissionCall), [*locations datasets list*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetListCall), [*locations datasets operations cancel*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetOperationCancelCall), [*locations datasets operations get*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetOperationGetCall), [*locations datasets operations list*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetOperationListCall), [*locations datasets patch*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetPatchCall), [*locations datasets set iam policy*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetSetIamPolicyCall), [*locations datasets test iam permissions*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationDatasetTestIamPermissionCall), [*locations get*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationListCall) and [*locations services nlp analyze entities*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/api::ProjectLocationServiceNlpAnalyzeEntityCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/CloudHealthcare)** +* **[Hub](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/CloudHealthcare)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/client::CallBuilder) -* **[Resources](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/client::CallBuilder) +* **[Resources](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/client::Part)** + * **[Parts](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -119,7 +119,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -153,17 +153,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -173,29 +173,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/client::Delegate) to the -[Method Builder](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/client::Delegate) to the +[Method Builder](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/client::RequestValue) and -[decodable](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/client::RequestValue) and +[decodable](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-healthcare1/3.0.0+20220223/google_healthcare1/client::RequestValue) are moved +* [request values](https://docs.rs/google-healthcare1/3.1.0+20220223/google_healthcare1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/healthcare1/src/api.rs b/gen/healthcare1/src/api.rs index 1741bedb16..0cfba0752a 100644 --- a/gen/healthcare1/src/api.rs +++ b/gen/healthcare1/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > CloudHealthcare<> { CloudHealthcare { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://healthcare.googleapis.com/".to_string(), _root_url: "https://healthcare.googleapis.com/".to_string(), } @@ -130,7 +130,7 @@ impl<'a, > CloudHealthcare<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -2688,7 +2688,7 @@ impl client::Part for VersionSource {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_datasets_consent_stores_attribute_definitions_create(...)`, `locations_datasets_consent_stores_attribute_definitions_delete(...)`, `locations_datasets_consent_stores_attribute_definitions_get(...)`, `locations_datasets_consent_stores_attribute_definitions_list(...)`, `locations_datasets_consent_stores_attribute_definitions_patch(...)`, `locations_datasets_consent_stores_check_data_access(...)`, `locations_datasets_consent_stores_consent_artifacts_create(...)`, `locations_datasets_consent_stores_consent_artifacts_delete(...)`, `locations_datasets_consent_stores_consent_artifacts_get(...)`, `locations_datasets_consent_stores_consent_artifacts_list(...)`, `locations_datasets_consent_stores_consents_activate(...)`, `locations_datasets_consent_stores_consents_create(...)`, `locations_datasets_consent_stores_consents_delete(...)`, `locations_datasets_consent_stores_consents_delete_revision(...)`, `locations_datasets_consent_stores_consents_get(...)`, `locations_datasets_consent_stores_consents_list(...)`, `locations_datasets_consent_stores_consents_list_revisions(...)`, `locations_datasets_consent_stores_consents_patch(...)`, `locations_datasets_consent_stores_consents_reject(...)`, `locations_datasets_consent_stores_consents_revoke(...)`, `locations_datasets_consent_stores_create(...)`, `locations_datasets_consent_stores_delete(...)`, `locations_datasets_consent_stores_evaluate_user_consents(...)`, `locations_datasets_consent_stores_get(...)`, `locations_datasets_consent_stores_get_iam_policy(...)`, `locations_datasets_consent_stores_list(...)`, `locations_datasets_consent_stores_patch(...)`, `locations_datasets_consent_stores_query_accessible_data(...)`, `locations_datasets_consent_stores_set_iam_policy(...)`, `locations_datasets_consent_stores_test_iam_permissions(...)`, `locations_datasets_consent_stores_user_data_mappings_archive(...)`, `locations_datasets_consent_stores_user_data_mappings_create(...)`, `locations_datasets_consent_stores_user_data_mappings_delete(...)`, `locations_datasets_consent_stores_user_data_mappings_get(...)`, `locations_datasets_consent_stores_user_data_mappings_list(...)`, `locations_datasets_consent_stores_user_data_mappings_patch(...)`, `locations_datasets_create(...)`, `locations_datasets_deidentify(...)`, `locations_datasets_delete(...)`, `locations_datasets_dicom_stores_create(...)`, `locations_datasets_dicom_stores_deidentify(...)`, `locations_datasets_dicom_stores_delete(...)`, `locations_datasets_dicom_stores_export(...)`, `locations_datasets_dicom_stores_get(...)`, `locations_datasets_dicom_stores_get_iam_policy(...)`, `locations_datasets_dicom_stores_import(...)`, `locations_datasets_dicom_stores_list(...)`, `locations_datasets_dicom_stores_patch(...)`, `locations_datasets_dicom_stores_search_for_instances(...)`, `locations_datasets_dicom_stores_search_for_series(...)`, `locations_datasets_dicom_stores_search_for_studies(...)`, `locations_datasets_dicom_stores_set_iam_policy(...)`, `locations_datasets_dicom_stores_store_instances(...)`, `locations_datasets_dicom_stores_studies_delete(...)`, `locations_datasets_dicom_stores_studies_retrieve_metadata(...)`, `locations_datasets_dicom_stores_studies_retrieve_study(...)`, `locations_datasets_dicom_stores_studies_search_for_instances(...)`, `locations_datasets_dicom_stores_studies_search_for_series(...)`, `locations_datasets_dicom_stores_studies_series_delete(...)`, `locations_datasets_dicom_stores_studies_series_instances_delete(...)`, `locations_datasets_dicom_stores_studies_series_instances_frames_retrieve_frames(...)`, `locations_datasets_dicom_stores_studies_series_instances_frames_retrieve_rendered(...)`, `locations_datasets_dicom_stores_studies_series_instances_retrieve_instance(...)`, `locations_datasets_dicom_stores_studies_series_instances_retrieve_metadata(...)`, `locations_datasets_dicom_stores_studies_series_instances_retrieve_rendered(...)`, `locations_datasets_dicom_stores_studies_series_retrieve_metadata(...)`, `locations_datasets_dicom_stores_studies_series_retrieve_series(...)`, `locations_datasets_dicom_stores_studies_series_search_for_instances(...)`, `locations_datasets_dicom_stores_studies_store_instances(...)`, `locations_datasets_dicom_stores_test_iam_permissions(...)`, `locations_datasets_fhir_stores_create(...)`, `locations_datasets_fhir_stores_deidentify(...)`, `locations_datasets_fhir_stores_delete(...)`, `locations_datasets_fhir_stores_export(...)`, `locations_datasets_fhir_stores_fhir__patient_everything(...)`, `locations_datasets_fhir_stores_fhir__resource_purge(...)`, `locations_datasets_fhir_stores_fhir__resource_validate(...)`, `locations_datasets_fhir_stores_fhir_capabilities(...)`, `locations_datasets_fhir_stores_fhir_create(...)`, `locations_datasets_fhir_stores_fhir_delete(...)`, `locations_datasets_fhir_stores_fhir_execute_bundle(...)`, `locations_datasets_fhir_stores_fhir_history(...)`, `locations_datasets_fhir_stores_fhir_patch(...)`, `locations_datasets_fhir_stores_fhir_read(...)`, `locations_datasets_fhir_stores_fhir_search(...)`, `locations_datasets_fhir_stores_fhir_search_type(...)`, `locations_datasets_fhir_stores_fhir_update(...)`, `locations_datasets_fhir_stores_fhir_vread(...)`, `locations_datasets_fhir_stores_get(...)`, `locations_datasets_fhir_stores_get_iam_policy(...)`, `locations_datasets_fhir_stores_import(...)`, `locations_datasets_fhir_stores_list(...)`, `locations_datasets_fhir_stores_patch(...)`, `locations_datasets_fhir_stores_set_iam_policy(...)`, `locations_datasets_fhir_stores_test_iam_permissions(...)`, `locations_datasets_get(...)`, `locations_datasets_get_iam_policy(...)`, `locations_datasets_hl7_v2_stores_create(...)`, `locations_datasets_hl7_v2_stores_delete(...)`, `locations_datasets_hl7_v2_stores_export(...)`, `locations_datasets_hl7_v2_stores_get(...)`, `locations_datasets_hl7_v2_stores_get_iam_policy(...)`, `locations_datasets_hl7_v2_stores_import(...)`, `locations_datasets_hl7_v2_stores_list(...)`, `locations_datasets_hl7_v2_stores_messages_create(...)`, `locations_datasets_hl7_v2_stores_messages_delete(...)`, `locations_datasets_hl7_v2_stores_messages_get(...)`, `locations_datasets_hl7_v2_stores_messages_ingest(...)`, `locations_datasets_hl7_v2_stores_messages_list(...)`, `locations_datasets_hl7_v2_stores_messages_patch(...)`, `locations_datasets_hl7_v2_stores_patch(...)`, `locations_datasets_hl7_v2_stores_set_iam_policy(...)`, `locations_datasets_hl7_v2_stores_test_iam_permissions(...)`, `locations_datasets_list(...)`, `locations_datasets_operations_cancel(...)`, `locations_datasets_operations_get(...)`, `locations_datasets_operations_list(...)`, `locations_datasets_patch(...)`, `locations_datasets_set_iam_policy(...)`, `locations_datasets_test_iam_permissions(...)`, `locations_get(...)`, `locations_list(...)` and `locations_services_nlp_analyze_entities(...)` /// // to build up your call. @@ -5060,7 +5060,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5357,7 +5357,7 @@ impl<'a> ProjectLocationDatasetConsentStoreAttributeDefinitionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5613,7 +5613,7 @@ impl<'a> ProjectLocationDatasetConsentStoreAttributeDefinitionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5869,7 +5869,7 @@ impl<'a> ProjectLocationDatasetConsentStoreAttributeDefinitionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6162,7 +6162,7 @@ impl<'a> ProjectLocationDatasetConsentStoreAttributeDefinitionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6460,7 +6460,7 @@ impl<'a> ProjectLocationDatasetConsentStoreAttributeDefinitionPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6745,7 +6745,7 @@ impl<'a> ProjectLocationDatasetConsentStoreConsentArtifactCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7001,7 +7001,7 @@ impl<'a> ProjectLocationDatasetConsentStoreConsentArtifactDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7257,7 +7257,7 @@ impl<'a> ProjectLocationDatasetConsentStoreConsentArtifactGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7550,7 +7550,7 @@ impl<'a> ProjectLocationDatasetConsentStoreConsentArtifactListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7836,7 +7836,7 @@ impl<'a> ProjectLocationDatasetConsentStoreConsentActivateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8121,7 +8121,7 @@ impl<'a> ProjectLocationDatasetConsentStoreConsentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8377,7 +8377,7 @@ impl<'a> ProjectLocationDatasetConsentStoreConsentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8633,7 +8633,7 @@ impl<'a> ProjectLocationDatasetConsentStoreConsentDeleteRevisionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8889,7 +8889,7 @@ impl<'a> ProjectLocationDatasetConsentStoreConsentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9181,7 +9181,7 @@ impl<'a> ProjectLocationDatasetConsentStoreConsentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9474,7 +9474,7 @@ impl<'a> ProjectLocationDatasetConsentStoreConsentListRevisionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9772,7 +9772,7 @@ impl<'a> ProjectLocationDatasetConsentStoreConsentPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10058,7 +10058,7 @@ impl<'a> ProjectLocationDatasetConsentStoreConsentRejectCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10344,7 +10344,7 @@ impl<'a> ProjectLocationDatasetConsentStoreConsentRevokeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10630,7 +10630,7 @@ impl<'a> ProjectLocationDatasetConsentStoreUserDataMappingArchiveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10915,7 +10915,7 @@ impl<'a> ProjectLocationDatasetConsentStoreUserDataMappingCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11171,7 +11171,7 @@ impl<'a> ProjectLocationDatasetConsentStoreUserDataMappingDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11427,7 +11427,7 @@ impl<'a> ProjectLocationDatasetConsentStoreUserDataMappingGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11720,7 +11720,7 @@ impl<'a> ProjectLocationDatasetConsentStoreUserDataMappingListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12018,7 +12018,7 @@ impl<'a> ProjectLocationDatasetConsentStoreUserDataMappingPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12304,7 +12304,7 @@ impl<'a> ProjectLocationDatasetConsentStoreCheckDataAccesCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12601,7 +12601,7 @@ impl<'a> ProjectLocationDatasetConsentStoreCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12858,7 +12858,7 @@ impl<'a> ProjectLocationDatasetConsentStoreDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13143,7 +13143,7 @@ impl<'a> ProjectLocationDatasetConsentStoreEvaluateUserConsentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13399,7 +13399,7 @@ impl<'a> ProjectLocationDatasetConsentStoreGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13667,7 +13667,7 @@ impl<'a> ProjectLocationDatasetConsentStoreGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13960,7 +13960,7 @@ impl<'a> ProjectLocationDatasetConsentStoreListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14258,7 +14258,7 @@ impl<'a> ProjectLocationDatasetConsentStorePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14544,7 +14544,7 @@ impl<'a> ProjectLocationDatasetConsentStoreQueryAccessibleDataCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14830,7 +14830,7 @@ impl<'a> ProjectLocationDatasetConsentStoreSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15115,7 +15115,7 @@ impl<'a> ProjectLocationDatasetConsentStoreTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15383,7 +15383,7 @@ impl<'a> ProjectLocationDatasetDicomStoreStudySeryInstanceFrameRetrieveFrameCall /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15651,7 +15651,7 @@ impl<'a> ProjectLocationDatasetDicomStoreStudySeryInstanceFrameRetrieveRenderedC /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15919,7 +15919,7 @@ impl<'a> ProjectLocationDatasetDicomStoreStudySeryInstanceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16187,7 +16187,7 @@ impl<'a> ProjectLocationDatasetDicomStoreStudySeryInstanceRetrieveInstanceCall<' /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16455,7 +16455,7 @@ impl<'a> ProjectLocationDatasetDicomStoreStudySeryInstanceRetrieveMetadataCall<' /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16723,7 +16723,7 @@ impl<'a> ProjectLocationDatasetDicomStoreStudySeryInstanceRetrieveRenderedCall<' /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16991,7 +16991,7 @@ impl<'a> ProjectLocationDatasetDicomStoreStudySeryDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17259,7 +17259,7 @@ impl<'a> ProjectLocationDatasetDicomStoreStudySeryRetrieveMetadataCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17527,7 +17527,7 @@ impl<'a> ProjectLocationDatasetDicomStoreStudySeryRetrieveSeryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17795,7 +17795,7 @@ impl<'a> ProjectLocationDatasetDicomStoreStudySerySearchForInstanceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18062,7 +18062,7 @@ impl<'a> ProjectLocationDatasetDicomStoreStudyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18330,7 +18330,7 @@ impl<'a> ProjectLocationDatasetDicomStoreStudyRetrieveMetadataCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18598,7 +18598,7 @@ impl<'a> ProjectLocationDatasetDicomStoreStudyRetrieveStudyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18866,7 +18866,7 @@ impl<'a> ProjectLocationDatasetDicomStoreStudySearchForInstanceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19135,7 +19135,7 @@ impl<'a> ProjectLocationDatasetDicomStoreStudySearchForSeryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19433,7 +19433,7 @@ impl<'a> ProjectLocationDatasetDicomStoreStudyStoreInstanceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19731,7 +19731,7 @@ impl<'a> ProjectLocationDatasetDicomStoreCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20016,7 +20016,7 @@ impl<'a> ProjectLocationDatasetDicomStoreDeidentifyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20273,7 +20273,7 @@ impl<'a> ProjectLocationDatasetDicomStoreDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20558,7 +20558,7 @@ impl<'a> ProjectLocationDatasetDicomStoreExportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20814,7 +20814,7 @@ impl<'a> ProjectLocationDatasetDicomStoreGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21083,7 +21083,7 @@ impl<'a> ProjectLocationDatasetDicomStoreGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21368,7 +21368,7 @@ impl<'a> ProjectLocationDatasetDicomStoreImportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21661,7 +21661,7 @@ impl<'a> ProjectLocationDatasetDicomStoreListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21958,7 +21958,7 @@ impl<'a> ProjectLocationDatasetDicomStorePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22226,7 +22226,7 @@ impl<'a> ProjectLocationDatasetDicomStoreSearchForInstanceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22494,7 +22494,7 @@ impl<'a> ProjectLocationDatasetDicomStoreSearchForSeryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22763,7 +22763,7 @@ impl<'a> ProjectLocationDatasetDicomStoreSearchForStudyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23049,7 +23049,7 @@ impl<'a> ProjectLocationDatasetDicomStoreSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23347,7 +23347,7 @@ impl<'a> ProjectLocationDatasetDicomStoreStoreInstanceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23632,7 +23632,7 @@ impl<'a> ProjectLocationDatasetDicomStoreTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23960,7 +23960,7 @@ impl<'a> ProjectLocationDatasetFhirStoreFhirPatientEverythingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24217,7 +24217,7 @@ impl<'a> ProjectLocationDatasetFhirStoreFhirResourcePurgeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24526,7 +24526,7 @@ impl<'a> ProjectLocationDatasetFhirStoreFhirResourceValidateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24783,7 +24783,7 @@ impl<'a> ProjectLocationDatasetFhirStoreFhirCapabilityCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25080,7 +25080,7 @@ impl<'a> ProjectLocationDatasetFhirStoreFhirCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25337,7 +25337,7 @@ impl<'a> ProjectLocationDatasetFhirStoreFhirDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25622,7 +25622,7 @@ impl<'a> ProjectLocationDatasetFhirStoreFhirExecuteBundleCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25927,7 +25927,7 @@ impl<'a> ProjectLocationDatasetFhirStoreFhirHistoryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26212,7 +26212,7 @@ impl<'a> ProjectLocationDatasetFhirStoreFhirPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26469,7 +26469,7 @@ impl<'a> ProjectLocationDatasetFhirStoreFhirReadCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26755,7 +26755,7 @@ impl<'a> ProjectLocationDatasetFhirStoreFhirSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27053,7 +27053,7 @@ impl<'a> ProjectLocationDatasetFhirStoreFhirSearchTypeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27338,7 +27338,7 @@ impl<'a> ProjectLocationDatasetFhirStoreFhirUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27595,7 +27595,7 @@ impl<'a> ProjectLocationDatasetFhirStoreFhirVreadCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27893,7 +27893,7 @@ impl<'a> ProjectLocationDatasetFhirStoreCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -28178,7 +28178,7 @@ impl<'a> ProjectLocationDatasetFhirStoreDeidentifyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28435,7 +28435,7 @@ impl<'a> ProjectLocationDatasetFhirStoreDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -28720,7 +28720,7 @@ impl<'a> ProjectLocationDatasetFhirStoreExportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28976,7 +28976,7 @@ impl<'a> ProjectLocationDatasetFhirStoreGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29245,7 +29245,7 @@ impl<'a> ProjectLocationDatasetFhirStoreGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29530,7 +29530,7 @@ impl<'a> ProjectLocationDatasetFhirStoreImportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29823,7 +29823,7 @@ impl<'a> ProjectLocationDatasetFhirStoreListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -30121,7 +30121,7 @@ impl<'a> ProjectLocationDatasetFhirStorePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -30407,7 +30407,7 @@ impl<'a> ProjectLocationDatasetFhirStoreSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -30693,7 +30693,7 @@ impl<'a> ProjectLocationDatasetFhirStoreTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -30978,7 +30978,7 @@ impl<'a> ProjectLocationDatasetHl7V2StoreMessageCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31234,7 +31234,7 @@ impl<'a> ProjectLocationDatasetHl7V2StoreMessageDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31503,7 +31503,7 @@ impl<'a> ProjectLocationDatasetHl7V2StoreMessageGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -31788,7 +31788,7 @@ impl<'a> ProjectLocationDatasetHl7V2StoreMessageIngestCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32105,7 +32105,7 @@ impl<'a> ProjectLocationDatasetHl7V2StoreMessageListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -32403,7 +32403,7 @@ impl<'a> ProjectLocationDatasetHl7V2StoreMessagePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -32700,7 +32700,7 @@ impl<'a> ProjectLocationDatasetHl7V2StoreCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32957,7 +32957,7 @@ impl<'a> ProjectLocationDatasetHl7V2StoreDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -33242,7 +33242,7 @@ impl<'a> ProjectLocationDatasetHl7V2StoreExportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33498,7 +33498,7 @@ impl<'a> ProjectLocationDatasetHl7V2StoreGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33767,7 +33767,7 @@ impl<'a> ProjectLocationDatasetHl7V2StoreGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -34052,7 +34052,7 @@ impl<'a> ProjectLocationDatasetHl7V2StoreImportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34345,7 +34345,7 @@ impl<'a> ProjectLocationDatasetHl7V2StoreListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -34643,7 +34643,7 @@ impl<'a> ProjectLocationDatasetHl7V2StorePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -34929,7 +34929,7 @@ impl<'a> ProjectLocationDatasetHl7V2StoreSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35215,7 +35215,7 @@ impl<'a> ProjectLocationDatasetHl7V2StoreTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35500,7 +35500,7 @@ impl<'a> ProjectLocationDatasetOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -35756,7 +35756,7 @@ impl<'a> ProjectLocationDatasetOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -36049,7 +36049,7 @@ impl<'a> ProjectLocationDatasetOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -36347,7 +36347,7 @@ impl<'a> ProjectLocationDatasetCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -36632,7 +36632,7 @@ impl<'a> ProjectLocationDatasetDeidentifyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -36888,7 +36888,7 @@ impl<'a> ProjectLocationDatasetDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -37144,7 +37144,7 @@ impl<'a> ProjectLocationDatasetGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -37412,7 +37412,7 @@ impl<'a> ProjectLocationDatasetGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -37693,7 +37693,7 @@ impl<'a> ProjectLocationDatasetListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -37991,7 +37991,7 @@ impl<'a> ProjectLocationDatasetPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -38277,7 +38277,7 @@ impl<'a> ProjectLocationDatasetSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -38563,7 +38563,7 @@ impl<'a> ProjectLocationDatasetTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -38848,7 +38848,7 @@ impl<'a> ProjectLocationServiceNlpAnalyzeEntityCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -39104,7 +39104,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/healthcare1/src/lib.rs b/gen/healthcare1/src/lib.rs index 983d83927a..7eb326e9e7 100644 --- a/gen/healthcare1/src/lib.rs +++ b/gen/healthcare1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Healthcare* crate version *3.0.0+20220223*, where *20220223* is the exact revision of the *healthcare:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Healthcare* crate version *3.1.0+20220223*, where *20220223* is the exact revision of the *healthcare:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Healthcare* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/healthcare). @@ -120,7 +120,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/healthcare1_beta1-cli/Cargo.toml b/gen/healthcare1_beta1-cli/Cargo.toml index a4b9d44ee1..c33f9e540a 100644 --- a/gen/healthcare1_beta1-cli/Cargo.toml +++ b/gen/healthcare1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-healthcare1_beta1-cli" -version = "3.0.0+20220223" +version = "3.1.0+20220223" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Healthcare (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/healthcare1_beta1-cli" @@ -20,12 +20,12 @@ name = "healthcare1-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-healthcare1_beta1] path = "../healthcare1_beta1" -version = "3.0.0+20220223" +version = "3.1.0+20220223" diff --git a/gen/healthcare1_beta1-cli/README.md b/gen/healthcare1_beta1-cli/README.md index b5cea5275e..08a812014c 100644 --- a/gen/healthcare1_beta1-cli/README.md +++ b/gen/healthcare1_beta1-cli/README.md @@ -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 *Cloud Healthcare* API at revision *20220223*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Healthcare* API at revision *20220223*. The CLI is at version *3.1.0*. ```bash healthcare1-beta1 [options] diff --git a/gen/healthcare1_beta1-cli/mkdocs.yml b/gen/healthcare1_beta1-cli/mkdocs.yml index 528e0c0c3f..7936fcebdf 100644 --- a/gen/healthcare1_beta1-cli/mkdocs.yml +++ b/gen/healthcare1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Healthcare v3.0.0+20220223 +site_name: Cloud Healthcare v3.1.0+20220223 site_url: http://byron.github.io/google-apis-rs/google-healthcare1_beta1-cli site_description: A complete library to interact with Cloud Healthcare (protocol v1beta1) diff --git a/gen/healthcare1_beta1-cli/src/main.rs b/gen/healthcare1_beta1-cli/src/main.rs index 6a54c269e0..99a676efb8 100644 --- a/gen/healthcare1_beta1-cli/src/main.rs +++ b/gen/healthcare1_beta1-cli/src/main.rs @@ -11015,7 +11015,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/healthcare1-beta1", 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::CloudHealthcare::new(client, auth), @@ -14861,7 +14867,7 @@ async fn main() { let mut app = App::new("healthcare1-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20220223") + .version("3.1.0+20220223") .about("Manage, store, and access healthcare data in Google Cloud Platform.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_healthcare1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/healthcare1_beta1/Cargo.toml b/gen/healthcare1_beta1/Cargo.toml index 32777e6adf..e0c7d1a7c8 100644 --- a/gen/healthcare1_beta1/Cargo.toml +++ b/gen/healthcare1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-healthcare1_beta1" -version = "3.0.0+20220223" +version = "3.1.0+20220223" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Healthcare (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/healthcare1_beta1" homepage = "https://cloud.google.com/healthcare" -documentation = "https://docs.rs/google-healthcare1_beta1/3.0.0+20220223" +documentation = "https://docs.rs/google-healthcare1_beta1/3.1.0+20220223" license = "MIT" keywords = ["healthcare", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/healthcare1_beta1/README.md b/gen/healthcare1_beta1/README.md index a241b0b083..2e8111714c 100644 --- a/gen/healthcare1_beta1/README.md +++ b/gen/healthcare1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-healthcare1_beta1` library allows access to all features of the *Google Cloud Healthcare* service. -This documentation was generated from *Cloud Healthcare* crate version *3.0.0+20220223*, where *20220223* is the exact revision of the *healthcare:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Healthcare* crate version *3.1.0+20220223*, where *20220223* is the exact revision of the *healthcare:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Healthcare* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/healthcare). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/CloudHealthcare) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/CloudHealthcare) ... * projects - * [*locations datasets annotation stores annotations create*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreAnnotationCreateCall), [*locations datasets annotation stores annotations delete*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreAnnotationDeleteCall), [*locations datasets annotation stores annotations get*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreAnnotationGetCall), [*locations datasets annotation stores annotations list*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreAnnotationListCall), [*locations datasets annotation stores annotations patch*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreAnnotationPatchCall), [*locations datasets annotation stores create*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreCreateCall), [*locations datasets annotation stores delete*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreDeleteCall), [*locations datasets annotation stores evaluate*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreEvaluateCall), [*locations datasets annotation stores export*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreExportCall), [*locations datasets annotation stores get*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreGetCall), [*locations datasets annotation stores get iam policy*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreGetIamPolicyCall), [*locations datasets annotation stores import*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreImportCall), [*locations datasets annotation stores list*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreListCall), [*locations datasets annotation stores patch*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStorePatchCall), [*locations datasets annotation stores set iam policy*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreSetIamPolicyCall), [*locations datasets annotation stores test iam permissions*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreTestIamPermissionCall), [*locations datasets consent stores attribute definitions create*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionCreateCall), [*locations datasets consent stores attribute definitions delete*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionDeleteCall), [*locations datasets consent stores attribute definitions get*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionGetCall), [*locations datasets consent stores attribute definitions list*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionListCall), [*locations datasets consent stores attribute definitions patch*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionPatchCall), [*locations datasets consent stores check data access*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreCheckDataAccesCall), [*locations datasets consent stores consent artifacts create*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentArtifactCreateCall), [*locations datasets consent stores consent artifacts delete*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentArtifactDeleteCall), [*locations datasets consent stores consent artifacts get*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentArtifactGetCall), [*locations datasets consent stores consent artifacts list*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentArtifactListCall), [*locations datasets consent stores consents activate*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentActivateCall), [*locations datasets consent stores consents create*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentCreateCall), [*locations datasets consent stores consents delete*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentDeleteCall), [*locations datasets consent stores consents delete revision*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentDeleteRevisionCall), [*locations datasets consent stores consents get*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentGetCall), [*locations datasets consent stores consents list*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentListCall), [*locations datasets consent stores consents list revisions*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentListRevisionCall), [*locations datasets consent stores consents patch*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentPatchCall), [*locations datasets consent stores consents reject*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentRejectCall), [*locations datasets consent stores consents revoke*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentRevokeCall), [*locations datasets consent stores create*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreCreateCall), [*locations datasets consent stores delete*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreDeleteCall), [*locations datasets consent stores evaluate user consents*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreEvaluateUserConsentCall), [*locations datasets consent stores get*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreGetCall), [*locations datasets consent stores get iam policy*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreGetIamPolicyCall), [*locations datasets consent stores list*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreListCall), [*locations datasets consent stores patch*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStorePatchCall), [*locations datasets consent stores query accessible data*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreQueryAccessibleDataCall), [*locations datasets consent stores set iam policy*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreSetIamPolicyCall), [*locations datasets consent stores test iam permissions*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreTestIamPermissionCall), [*locations datasets consent stores user data mappings archive*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreUserDataMappingArchiveCall), [*locations datasets consent stores user data mappings create*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreUserDataMappingCreateCall), [*locations datasets consent stores user data mappings delete*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreUserDataMappingDeleteCall), [*locations datasets consent stores user data mappings get*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreUserDataMappingGetCall), [*locations datasets consent stores user data mappings list*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreUserDataMappingListCall), [*locations datasets consent stores user data mappings patch*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreUserDataMappingPatchCall), [*locations datasets create*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetCreateCall), [*locations datasets deidentify*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDeidentifyCall), [*locations datasets delete*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDeleteCall), [*locations datasets dicom stores create*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreCreateCall), [*locations datasets dicom stores deidentify*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreDeidentifyCall), [*locations datasets dicom stores delete*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreDeleteCall), [*locations datasets dicom stores export*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreExportCall), [*locations datasets dicom stores get*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreGetCall), [*locations datasets dicom stores get iam policy*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreGetIamPolicyCall), [*locations datasets dicom stores import*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreImportCall), [*locations datasets dicom stores list*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreListCall), [*locations datasets dicom stores patch*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStorePatchCall), [*locations datasets dicom stores search for instances*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreSearchForInstanceCall), [*locations datasets dicom stores search for series*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreSearchForSeryCall), [*locations datasets dicom stores search for studies*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreSearchForStudyCall), [*locations datasets dicom stores set iam policy*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreSetIamPolicyCall), [*locations datasets dicom stores store instances*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStoreInstanceCall), [*locations datasets dicom stores studies delete*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudyDeleteCall), [*locations datasets dicom stores studies retrieve metadata*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudyRetrieveMetadataCall), [*locations datasets dicom stores studies retrieve study*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudyRetrieveStudyCall), [*locations datasets dicom stores studies search for instances*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySearchForInstanceCall), [*locations datasets dicom stores studies search for series*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySearchForSeryCall), [*locations datasets dicom stores studies series delete*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryDeleteCall), [*locations datasets dicom stores studies series instances delete*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceDeleteCall), [*locations datasets dicom stores studies series instances frames retrieve frames*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceFrameRetrieveFrameCall), [*locations datasets dicom stores studies series instances frames retrieve rendered*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceFrameRetrieveRenderedCall), [*locations datasets dicom stores studies series instances retrieve instance*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceRetrieveInstanceCall), [*locations datasets dicom stores studies series instances retrieve metadata*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceRetrieveMetadataCall), [*locations datasets dicom stores studies series instances retrieve rendered*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceRetrieveRenderedCall), [*locations datasets dicom stores studies series retrieve metadata*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryRetrieveMetadataCall), [*locations datasets dicom stores studies series retrieve series*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryRetrieveSeryCall), [*locations datasets dicom stores studies series search for instances*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySerySearchForInstanceCall), [*locations datasets dicom stores studies store instances*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudyStoreInstanceCall), [*locations datasets dicom stores test iam permissions*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreTestIamPermissionCall), [*locations datasets fhir stores configure search*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreConfigureSearchCall), [*locations datasets fhir stores create*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreCreateCall), [*locations datasets fhir stores deidentify*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreDeidentifyCall), [*locations datasets fhir stores delete*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreDeleteCall), [*locations datasets fhir stores export*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreExportCall), [*locations datasets fhir stores fhir concept map-search-translate*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirConceptMapSearchTranslateCall), [*locations datasets fhir stores fhir concept map-translate*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirConceptMapTranslateCall), [*locations datasets fhir stores fhir observation-lastn*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirObservationLastnCall), [*locations datasets fhir stores fhir patient-everything*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirPatientEverythingCall), [*locations datasets fhir stores fhir resource-purge*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirResourcePurgeCall), [*locations datasets fhir stores fhir resource-validate*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirResourceValidateCall), [*locations datasets fhir stores fhir capabilities*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirCapabilityCall), [*locations datasets fhir stores fhir conditional delete*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirConditionalDeleteCall), [*locations datasets fhir stores fhir conditional patch*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirConditionalPatchCall), [*locations datasets fhir stores fhir conditional update*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirConditionalUpdateCall), [*locations datasets fhir stores fhir create*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirCreateCall), [*locations datasets fhir stores fhir delete*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirDeleteCall), [*locations datasets fhir stores fhir execute bundle*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirExecuteBundleCall), [*locations datasets fhir stores fhir history*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirHistoryCall), [*locations datasets fhir stores fhir patch*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirPatchCall), [*locations datasets fhir stores fhir read*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirReadCall), [*locations datasets fhir stores fhir search*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirSearchCall), [*locations datasets fhir stores fhir search-type*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirSearchTypeCall), [*locations datasets fhir stores fhir update*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirUpdateCall), [*locations datasets fhir stores fhir vread*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirVreadCall), [*locations datasets fhir stores get*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreGetCall), [*locations datasets fhir stores get iam policy*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreGetIamPolicyCall), [*locations datasets fhir stores import*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreImportCall), [*locations datasets fhir stores list*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreListCall), [*locations datasets fhir stores patch*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStorePatchCall), [*locations datasets fhir stores set iam policy*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreSetIamPolicyCall), [*locations datasets fhir stores test iam permissions*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreTestIamPermissionCall), [*locations datasets get*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetGetCall), [*locations datasets get iam policy*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetGetIamPolicyCall), [*locations datasets hl7 v2 stores create*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreCreateCall), [*locations datasets hl7 v2 stores delete*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreDeleteCall), [*locations datasets hl7 v2 stores export*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreExportCall), [*locations datasets hl7 v2 stores get*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreGetCall), [*locations datasets hl7 v2 stores get iam policy*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreGetIamPolicyCall), [*locations datasets hl7 v2 stores import*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreImportCall), [*locations datasets hl7 v2 stores list*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreListCall), [*locations datasets hl7 v2 stores messages batch get*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreMessageBatchGetCall), [*locations datasets hl7 v2 stores messages create*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreMessageCreateCall), [*locations datasets hl7 v2 stores messages delete*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreMessageDeleteCall), [*locations datasets hl7 v2 stores messages get*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreMessageGetCall), [*locations datasets hl7 v2 stores messages ingest*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreMessageIngestCall), [*locations datasets hl7 v2 stores messages list*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreMessageListCall), [*locations datasets hl7 v2 stores messages patch*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreMessagePatchCall), [*locations datasets hl7 v2 stores patch*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StorePatchCall), [*locations datasets hl7 v2 stores set iam policy*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreSetIamPolicyCall), [*locations datasets hl7 v2 stores test iam permissions*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreTestIamPermissionCall), [*locations datasets list*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetListCall), [*locations datasets operations cancel*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetOperationCancelCall), [*locations datasets operations get*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetOperationGetCall), [*locations datasets operations list*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetOperationListCall), [*locations datasets patch*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetPatchCall), [*locations datasets set iam policy*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetSetIamPolicyCall), [*locations datasets test iam permissions*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetTestIamPermissionCall), [*locations get*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationListCall) and [*locations services nlp analyze entities*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/api::ProjectLocationServiceNlpAnalyzeEntityCall) + * [*locations datasets annotation stores annotations create*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreAnnotationCreateCall), [*locations datasets annotation stores annotations delete*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreAnnotationDeleteCall), [*locations datasets annotation stores annotations get*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreAnnotationGetCall), [*locations datasets annotation stores annotations list*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreAnnotationListCall), [*locations datasets annotation stores annotations patch*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreAnnotationPatchCall), [*locations datasets annotation stores create*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreCreateCall), [*locations datasets annotation stores delete*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreDeleteCall), [*locations datasets annotation stores evaluate*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreEvaluateCall), [*locations datasets annotation stores export*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreExportCall), [*locations datasets annotation stores get*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreGetCall), [*locations datasets annotation stores get iam policy*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreGetIamPolicyCall), [*locations datasets annotation stores import*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreImportCall), [*locations datasets annotation stores list*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreListCall), [*locations datasets annotation stores patch*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStorePatchCall), [*locations datasets annotation stores set iam policy*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreSetIamPolicyCall), [*locations datasets annotation stores test iam permissions*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetAnnotationStoreTestIamPermissionCall), [*locations datasets consent stores attribute definitions create*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionCreateCall), [*locations datasets consent stores attribute definitions delete*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionDeleteCall), [*locations datasets consent stores attribute definitions get*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionGetCall), [*locations datasets consent stores attribute definitions list*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionListCall), [*locations datasets consent stores attribute definitions patch*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreAttributeDefinitionPatchCall), [*locations datasets consent stores check data access*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreCheckDataAccesCall), [*locations datasets consent stores consent artifacts create*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentArtifactCreateCall), [*locations datasets consent stores consent artifacts delete*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentArtifactDeleteCall), [*locations datasets consent stores consent artifacts get*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentArtifactGetCall), [*locations datasets consent stores consent artifacts list*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentArtifactListCall), [*locations datasets consent stores consents activate*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentActivateCall), [*locations datasets consent stores consents create*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentCreateCall), [*locations datasets consent stores consents delete*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentDeleteCall), [*locations datasets consent stores consents delete revision*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentDeleteRevisionCall), [*locations datasets consent stores consents get*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentGetCall), [*locations datasets consent stores consents list*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentListCall), [*locations datasets consent stores consents list revisions*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentListRevisionCall), [*locations datasets consent stores consents patch*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentPatchCall), [*locations datasets consent stores consents reject*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentRejectCall), [*locations datasets consent stores consents revoke*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreConsentRevokeCall), [*locations datasets consent stores create*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreCreateCall), [*locations datasets consent stores delete*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreDeleteCall), [*locations datasets consent stores evaluate user consents*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreEvaluateUserConsentCall), [*locations datasets consent stores get*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreGetCall), [*locations datasets consent stores get iam policy*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreGetIamPolicyCall), [*locations datasets consent stores list*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreListCall), [*locations datasets consent stores patch*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStorePatchCall), [*locations datasets consent stores query accessible data*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreQueryAccessibleDataCall), [*locations datasets consent stores set iam policy*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreSetIamPolicyCall), [*locations datasets consent stores test iam permissions*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreTestIamPermissionCall), [*locations datasets consent stores user data mappings archive*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreUserDataMappingArchiveCall), [*locations datasets consent stores user data mappings create*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreUserDataMappingCreateCall), [*locations datasets consent stores user data mappings delete*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreUserDataMappingDeleteCall), [*locations datasets consent stores user data mappings get*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreUserDataMappingGetCall), [*locations datasets consent stores user data mappings list*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreUserDataMappingListCall), [*locations datasets consent stores user data mappings patch*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetConsentStoreUserDataMappingPatchCall), [*locations datasets create*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetCreateCall), [*locations datasets deidentify*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDeidentifyCall), [*locations datasets delete*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDeleteCall), [*locations datasets dicom stores create*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreCreateCall), [*locations datasets dicom stores deidentify*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreDeidentifyCall), [*locations datasets dicom stores delete*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreDeleteCall), [*locations datasets dicom stores export*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreExportCall), [*locations datasets dicom stores get*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreGetCall), [*locations datasets dicom stores get iam policy*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreGetIamPolicyCall), [*locations datasets dicom stores import*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreImportCall), [*locations datasets dicom stores list*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreListCall), [*locations datasets dicom stores patch*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStorePatchCall), [*locations datasets dicom stores search for instances*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreSearchForInstanceCall), [*locations datasets dicom stores search for series*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreSearchForSeryCall), [*locations datasets dicom stores search for studies*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreSearchForStudyCall), [*locations datasets dicom stores set iam policy*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreSetIamPolicyCall), [*locations datasets dicom stores store instances*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStoreInstanceCall), [*locations datasets dicom stores studies delete*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudyDeleteCall), [*locations datasets dicom stores studies retrieve metadata*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudyRetrieveMetadataCall), [*locations datasets dicom stores studies retrieve study*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudyRetrieveStudyCall), [*locations datasets dicom stores studies search for instances*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySearchForInstanceCall), [*locations datasets dicom stores studies search for series*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySearchForSeryCall), [*locations datasets dicom stores studies series delete*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryDeleteCall), [*locations datasets dicom stores studies series instances delete*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceDeleteCall), [*locations datasets dicom stores studies series instances frames retrieve frames*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceFrameRetrieveFrameCall), [*locations datasets dicom stores studies series instances frames retrieve rendered*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceFrameRetrieveRenderedCall), [*locations datasets dicom stores studies series instances retrieve instance*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceRetrieveInstanceCall), [*locations datasets dicom stores studies series instances retrieve metadata*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceRetrieveMetadataCall), [*locations datasets dicom stores studies series instances retrieve rendered*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryInstanceRetrieveRenderedCall), [*locations datasets dicom stores studies series retrieve metadata*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryRetrieveMetadataCall), [*locations datasets dicom stores studies series retrieve series*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySeryRetrieveSeryCall), [*locations datasets dicom stores studies series search for instances*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudySerySearchForInstanceCall), [*locations datasets dicom stores studies store instances*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreStudyStoreInstanceCall), [*locations datasets dicom stores test iam permissions*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetDicomStoreTestIamPermissionCall), [*locations datasets fhir stores configure search*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreConfigureSearchCall), [*locations datasets fhir stores create*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreCreateCall), [*locations datasets fhir stores deidentify*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreDeidentifyCall), [*locations datasets fhir stores delete*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreDeleteCall), [*locations datasets fhir stores export*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreExportCall), [*locations datasets fhir stores fhir concept map-search-translate*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirConceptMapSearchTranslateCall), [*locations datasets fhir stores fhir concept map-translate*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirConceptMapTranslateCall), [*locations datasets fhir stores fhir observation-lastn*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirObservationLastnCall), [*locations datasets fhir stores fhir patient-everything*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirPatientEverythingCall), [*locations datasets fhir stores fhir resource-purge*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirResourcePurgeCall), [*locations datasets fhir stores fhir resource-validate*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirResourceValidateCall), [*locations datasets fhir stores fhir capabilities*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirCapabilityCall), [*locations datasets fhir stores fhir conditional delete*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirConditionalDeleteCall), [*locations datasets fhir stores fhir conditional patch*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirConditionalPatchCall), [*locations datasets fhir stores fhir conditional update*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirConditionalUpdateCall), [*locations datasets fhir stores fhir create*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirCreateCall), [*locations datasets fhir stores fhir delete*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirDeleteCall), [*locations datasets fhir stores fhir execute bundle*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirExecuteBundleCall), [*locations datasets fhir stores fhir history*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirHistoryCall), [*locations datasets fhir stores fhir patch*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirPatchCall), [*locations datasets fhir stores fhir read*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirReadCall), [*locations datasets fhir stores fhir search*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirSearchCall), [*locations datasets fhir stores fhir search-type*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirSearchTypeCall), [*locations datasets fhir stores fhir update*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirUpdateCall), [*locations datasets fhir stores fhir vread*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreFhirVreadCall), [*locations datasets fhir stores get*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreGetCall), [*locations datasets fhir stores get iam policy*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreGetIamPolicyCall), [*locations datasets fhir stores import*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreImportCall), [*locations datasets fhir stores list*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreListCall), [*locations datasets fhir stores patch*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStorePatchCall), [*locations datasets fhir stores set iam policy*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreSetIamPolicyCall), [*locations datasets fhir stores test iam permissions*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetFhirStoreTestIamPermissionCall), [*locations datasets get*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetGetCall), [*locations datasets get iam policy*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetGetIamPolicyCall), [*locations datasets hl7 v2 stores create*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreCreateCall), [*locations datasets hl7 v2 stores delete*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreDeleteCall), [*locations datasets hl7 v2 stores export*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreExportCall), [*locations datasets hl7 v2 stores get*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreGetCall), [*locations datasets hl7 v2 stores get iam policy*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreGetIamPolicyCall), [*locations datasets hl7 v2 stores import*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreImportCall), [*locations datasets hl7 v2 stores list*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreListCall), [*locations datasets hl7 v2 stores messages batch get*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreMessageBatchGetCall), [*locations datasets hl7 v2 stores messages create*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreMessageCreateCall), [*locations datasets hl7 v2 stores messages delete*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreMessageDeleteCall), [*locations datasets hl7 v2 stores messages get*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreMessageGetCall), [*locations datasets hl7 v2 stores messages ingest*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreMessageIngestCall), [*locations datasets hl7 v2 stores messages list*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreMessageListCall), [*locations datasets hl7 v2 stores messages patch*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreMessagePatchCall), [*locations datasets hl7 v2 stores patch*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StorePatchCall), [*locations datasets hl7 v2 stores set iam policy*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreSetIamPolicyCall), [*locations datasets hl7 v2 stores test iam permissions*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetHl7V2StoreTestIamPermissionCall), [*locations datasets list*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetListCall), [*locations datasets operations cancel*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetOperationCancelCall), [*locations datasets operations get*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetOperationGetCall), [*locations datasets operations list*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetOperationListCall), [*locations datasets patch*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetPatchCall), [*locations datasets set iam policy*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetSetIamPolicyCall), [*locations datasets test iam permissions*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationDatasetTestIamPermissionCall), [*locations get*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationListCall) and [*locations services nlp analyze entities*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/api::ProjectLocationServiceNlpAnalyzeEntityCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/CloudHealthcare)** +* **[Hub](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/CloudHealthcare)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -124,7 +124,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -158,17 +158,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -178,29 +178,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-healthcare1_beta1/3.0.0+20220223/google_healthcare1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-healthcare1_beta1/3.1.0+20220223/google_healthcare1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/healthcare1_beta1/src/api.rs b/gen/healthcare1_beta1/src/api.rs index 4cf60a636f..43526f9257 100644 --- a/gen/healthcare1_beta1/src/api.rs +++ b/gen/healthcare1_beta1/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > CloudHealthcare<> { CloudHealthcare { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://healthcare.googleapis.com/".to_string(), _root_url: "https://healthcare.googleapis.com/".to_string(), } @@ -130,7 +130,7 @@ impl<'a, > CloudHealthcare<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -3240,7 +3240,7 @@ impl client::Part for Vertex {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_datasets_annotation_stores_annotations_create(...)`, `locations_datasets_annotation_stores_annotations_delete(...)`, `locations_datasets_annotation_stores_annotations_get(...)`, `locations_datasets_annotation_stores_annotations_list(...)`, `locations_datasets_annotation_stores_annotations_patch(...)`, `locations_datasets_annotation_stores_create(...)`, `locations_datasets_annotation_stores_delete(...)`, `locations_datasets_annotation_stores_evaluate(...)`, `locations_datasets_annotation_stores_export(...)`, `locations_datasets_annotation_stores_get(...)`, `locations_datasets_annotation_stores_get_iam_policy(...)`, `locations_datasets_annotation_stores_import(...)`, `locations_datasets_annotation_stores_list(...)`, `locations_datasets_annotation_stores_patch(...)`, `locations_datasets_annotation_stores_set_iam_policy(...)`, `locations_datasets_annotation_stores_test_iam_permissions(...)`, `locations_datasets_consent_stores_attribute_definitions_create(...)`, `locations_datasets_consent_stores_attribute_definitions_delete(...)`, `locations_datasets_consent_stores_attribute_definitions_get(...)`, `locations_datasets_consent_stores_attribute_definitions_list(...)`, `locations_datasets_consent_stores_attribute_definitions_patch(...)`, `locations_datasets_consent_stores_check_data_access(...)`, `locations_datasets_consent_stores_consent_artifacts_create(...)`, `locations_datasets_consent_stores_consent_artifacts_delete(...)`, `locations_datasets_consent_stores_consent_artifacts_get(...)`, `locations_datasets_consent_stores_consent_artifacts_list(...)`, `locations_datasets_consent_stores_consents_activate(...)`, `locations_datasets_consent_stores_consents_create(...)`, `locations_datasets_consent_stores_consents_delete(...)`, `locations_datasets_consent_stores_consents_delete_revision(...)`, `locations_datasets_consent_stores_consents_get(...)`, `locations_datasets_consent_stores_consents_list(...)`, `locations_datasets_consent_stores_consents_list_revisions(...)`, `locations_datasets_consent_stores_consents_patch(...)`, `locations_datasets_consent_stores_consents_reject(...)`, `locations_datasets_consent_stores_consents_revoke(...)`, `locations_datasets_consent_stores_create(...)`, `locations_datasets_consent_stores_delete(...)`, `locations_datasets_consent_stores_evaluate_user_consents(...)`, `locations_datasets_consent_stores_get(...)`, `locations_datasets_consent_stores_get_iam_policy(...)`, `locations_datasets_consent_stores_list(...)`, `locations_datasets_consent_stores_patch(...)`, `locations_datasets_consent_stores_query_accessible_data(...)`, `locations_datasets_consent_stores_set_iam_policy(...)`, `locations_datasets_consent_stores_test_iam_permissions(...)`, `locations_datasets_consent_stores_user_data_mappings_archive(...)`, `locations_datasets_consent_stores_user_data_mappings_create(...)`, `locations_datasets_consent_stores_user_data_mappings_delete(...)`, `locations_datasets_consent_stores_user_data_mappings_get(...)`, `locations_datasets_consent_stores_user_data_mappings_list(...)`, `locations_datasets_consent_stores_user_data_mappings_patch(...)`, `locations_datasets_create(...)`, `locations_datasets_deidentify(...)`, `locations_datasets_delete(...)`, `locations_datasets_dicom_stores_create(...)`, `locations_datasets_dicom_stores_deidentify(...)`, `locations_datasets_dicom_stores_delete(...)`, `locations_datasets_dicom_stores_export(...)`, `locations_datasets_dicom_stores_get(...)`, `locations_datasets_dicom_stores_get_iam_policy(...)`, `locations_datasets_dicom_stores_import(...)`, `locations_datasets_dicom_stores_list(...)`, `locations_datasets_dicom_stores_patch(...)`, `locations_datasets_dicom_stores_search_for_instances(...)`, `locations_datasets_dicom_stores_search_for_series(...)`, `locations_datasets_dicom_stores_search_for_studies(...)`, `locations_datasets_dicom_stores_set_iam_policy(...)`, `locations_datasets_dicom_stores_store_instances(...)`, `locations_datasets_dicom_stores_studies_delete(...)`, `locations_datasets_dicom_stores_studies_retrieve_metadata(...)`, `locations_datasets_dicom_stores_studies_retrieve_study(...)`, `locations_datasets_dicom_stores_studies_search_for_instances(...)`, `locations_datasets_dicom_stores_studies_search_for_series(...)`, `locations_datasets_dicom_stores_studies_series_delete(...)`, `locations_datasets_dicom_stores_studies_series_instances_delete(...)`, `locations_datasets_dicom_stores_studies_series_instances_frames_retrieve_frames(...)`, `locations_datasets_dicom_stores_studies_series_instances_frames_retrieve_rendered(...)`, `locations_datasets_dicom_stores_studies_series_instances_retrieve_instance(...)`, `locations_datasets_dicom_stores_studies_series_instances_retrieve_metadata(...)`, `locations_datasets_dicom_stores_studies_series_instances_retrieve_rendered(...)`, `locations_datasets_dicom_stores_studies_series_retrieve_metadata(...)`, `locations_datasets_dicom_stores_studies_series_retrieve_series(...)`, `locations_datasets_dicom_stores_studies_series_search_for_instances(...)`, `locations_datasets_dicom_stores_studies_store_instances(...)`, `locations_datasets_dicom_stores_test_iam_permissions(...)`, `locations_datasets_fhir_stores_configure_search(...)`, `locations_datasets_fhir_stores_create(...)`, `locations_datasets_fhir_stores_deidentify(...)`, `locations_datasets_fhir_stores_delete(...)`, `locations_datasets_fhir_stores_export(...)`, `locations_datasets_fhir_stores_fhir__concept_map_search_translate(...)`, `locations_datasets_fhir_stores_fhir__concept_map_translate(...)`, `locations_datasets_fhir_stores_fhir__observation_lastn(...)`, `locations_datasets_fhir_stores_fhir__patient_everything(...)`, `locations_datasets_fhir_stores_fhir__resource_purge(...)`, `locations_datasets_fhir_stores_fhir__resource_validate(...)`, `locations_datasets_fhir_stores_fhir_capabilities(...)`, `locations_datasets_fhir_stores_fhir_conditional_delete(...)`, `locations_datasets_fhir_stores_fhir_conditional_patch(...)`, `locations_datasets_fhir_stores_fhir_conditional_update(...)`, `locations_datasets_fhir_stores_fhir_create(...)`, `locations_datasets_fhir_stores_fhir_delete(...)`, `locations_datasets_fhir_stores_fhir_execute_bundle(...)`, `locations_datasets_fhir_stores_fhir_history(...)`, `locations_datasets_fhir_stores_fhir_patch(...)`, `locations_datasets_fhir_stores_fhir_read(...)`, `locations_datasets_fhir_stores_fhir_search(...)`, `locations_datasets_fhir_stores_fhir_search_type(...)`, `locations_datasets_fhir_stores_fhir_update(...)`, `locations_datasets_fhir_stores_fhir_vread(...)`, `locations_datasets_fhir_stores_get(...)`, `locations_datasets_fhir_stores_get_iam_policy(...)`, `locations_datasets_fhir_stores_import(...)`, `locations_datasets_fhir_stores_list(...)`, `locations_datasets_fhir_stores_patch(...)`, `locations_datasets_fhir_stores_set_iam_policy(...)`, `locations_datasets_fhir_stores_test_iam_permissions(...)`, `locations_datasets_get(...)`, `locations_datasets_get_iam_policy(...)`, `locations_datasets_hl7_v2_stores_create(...)`, `locations_datasets_hl7_v2_stores_delete(...)`, `locations_datasets_hl7_v2_stores_export(...)`, `locations_datasets_hl7_v2_stores_get(...)`, `locations_datasets_hl7_v2_stores_get_iam_policy(...)`, `locations_datasets_hl7_v2_stores_import(...)`, `locations_datasets_hl7_v2_stores_list(...)`, `locations_datasets_hl7_v2_stores_messages_batch_get(...)`, `locations_datasets_hl7_v2_stores_messages_create(...)`, `locations_datasets_hl7_v2_stores_messages_delete(...)`, `locations_datasets_hl7_v2_stores_messages_get(...)`, `locations_datasets_hl7_v2_stores_messages_ingest(...)`, `locations_datasets_hl7_v2_stores_messages_list(...)`, `locations_datasets_hl7_v2_stores_messages_patch(...)`, `locations_datasets_hl7_v2_stores_patch(...)`, `locations_datasets_hl7_v2_stores_set_iam_policy(...)`, `locations_datasets_hl7_v2_stores_test_iam_permissions(...)`, `locations_datasets_list(...)`, `locations_datasets_operations_cancel(...)`, `locations_datasets_operations_get(...)`, `locations_datasets_operations_list(...)`, `locations_datasets_patch(...)`, `locations_datasets_set_iam_policy(...)`, `locations_datasets_test_iam_permissions(...)`, `locations_get(...)`, `locations_list(...)` and `locations_services_nlp_analyze_entities(...)` /// // to build up your call. @@ -6072,7 +6072,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6357,7 +6357,7 @@ impl<'a> ProjectLocationDatasetAnnotationStoreAnnotationCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6613,7 +6613,7 @@ impl<'a> ProjectLocationDatasetAnnotationStoreAnnotationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6869,7 +6869,7 @@ impl<'a> ProjectLocationDatasetAnnotationStoreAnnotationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7174,7 +7174,7 @@ impl<'a> ProjectLocationDatasetAnnotationStoreAnnotationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7472,7 +7472,7 @@ impl<'a> ProjectLocationDatasetAnnotationStoreAnnotationPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7769,7 +7769,7 @@ impl<'a> ProjectLocationDatasetAnnotationStoreCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8026,7 +8026,7 @@ impl<'a> ProjectLocationDatasetAnnotationStoreDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8312,7 +8312,7 @@ impl<'a> ProjectLocationDatasetAnnotationStoreEvaluateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8597,7 +8597,7 @@ impl<'a> ProjectLocationDatasetAnnotationStoreExportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8853,7 +8853,7 @@ impl<'a> ProjectLocationDatasetAnnotationStoreGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9122,7 +9122,7 @@ impl<'a> ProjectLocationDatasetAnnotationStoreGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9407,7 +9407,7 @@ impl<'a> ProjectLocationDatasetAnnotationStoreImportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9700,7 +9700,7 @@ impl<'a> ProjectLocationDatasetAnnotationStoreListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9998,7 +9998,7 @@ impl<'a> ProjectLocationDatasetAnnotationStorePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10284,7 +10284,7 @@ impl<'a> ProjectLocationDatasetAnnotationStoreSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10570,7 +10570,7 @@ impl<'a> ProjectLocationDatasetAnnotationStoreTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10867,7 +10867,7 @@ impl<'a> ProjectLocationDatasetConsentStoreAttributeDefinitionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11123,7 +11123,7 @@ impl<'a> ProjectLocationDatasetConsentStoreAttributeDefinitionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11379,7 +11379,7 @@ impl<'a> ProjectLocationDatasetConsentStoreAttributeDefinitionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11672,7 +11672,7 @@ impl<'a> ProjectLocationDatasetConsentStoreAttributeDefinitionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11970,7 +11970,7 @@ impl<'a> ProjectLocationDatasetConsentStoreAttributeDefinitionPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12255,7 +12255,7 @@ impl<'a> ProjectLocationDatasetConsentStoreConsentArtifactCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12511,7 +12511,7 @@ impl<'a> ProjectLocationDatasetConsentStoreConsentArtifactDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12767,7 +12767,7 @@ impl<'a> ProjectLocationDatasetConsentStoreConsentArtifactGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13060,7 +13060,7 @@ impl<'a> ProjectLocationDatasetConsentStoreConsentArtifactListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13346,7 +13346,7 @@ impl<'a> ProjectLocationDatasetConsentStoreConsentActivateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13631,7 +13631,7 @@ impl<'a> ProjectLocationDatasetConsentStoreConsentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13887,7 +13887,7 @@ impl<'a> ProjectLocationDatasetConsentStoreConsentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14143,7 +14143,7 @@ impl<'a> ProjectLocationDatasetConsentStoreConsentDeleteRevisionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14399,7 +14399,7 @@ impl<'a> ProjectLocationDatasetConsentStoreConsentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14691,7 +14691,7 @@ impl<'a> ProjectLocationDatasetConsentStoreConsentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14984,7 +14984,7 @@ impl<'a> ProjectLocationDatasetConsentStoreConsentListRevisionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15282,7 +15282,7 @@ impl<'a> ProjectLocationDatasetConsentStoreConsentPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15568,7 +15568,7 @@ impl<'a> ProjectLocationDatasetConsentStoreConsentRejectCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15854,7 +15854,7 @@ impl<'a> ProjectLocationDatasetConsentStoreConsentRevokeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16140,7 +16140,7 @@ impl<'a> ProjectLocationDatasetConsentStoreUserDataMappingArchiveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16425,7 +16425,7 @@ impl<'a> ProjectLocationDatasetConsentStoreUserDataMappingCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16681,7 +16681,7 @@ impl<'a> ProjectLocationDatasetConsentStoreUserDataMappingDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16937,7 +16937,7 @@ impl<'a> ProjectLocationDatasetConsentStoreUserDataMappingGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17230,7 +17230,7 @@ impl<'a> ProjectLocationDatasetConsentStoreUserDataMappingListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17528,7 +17528,7 @@ impl<'a> ProjectLocationDatasetConsentStoreUserDataMappingPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17814,7 +17814,7 @@ impl<'a> ProjectLocationDatasetConsentStoreCheckDataAccesCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18111,7 +18111,7 @@ impl<'a> ProjectLocationDatasetConsentStoreCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18368,7 +18368,7 @@ impl<'a> ProjectLocationDatasetConsentStoreDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18653,7 +18653,7 @@ impl<'a> ProjectLocationDatasetConsentStoreEvaluateUserConsentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18909,7 +18909,7 @@ impl<'a> ProjectLocationDatasetConsentStoreGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19177,7 +19177,7 @@ impl<'a> ProjectLocationDatasetConsentStoreGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19470,7 +19470,7 @@ impl<'a> ProjectLocationDatasetConsentStoreListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19768,7 +19768,7 @@ impl<'a> ProjectLocationDatasetConsentStorePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20054,7 +20054,7 @@ impl<'a> ProjectLocationDatasetConsentStoreQueryAccessibleDataCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20340,7 +20340,7 @@ impl<'a> ProjectLocationDatasetConsentStoreSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20625,7 +20625,7 @@ impl<'a> ProjectLocationDatasetConsentStoreTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20893,7 +20893,7 @@ impl<'a> ProjectLocationDatasetDicomStoreStudySeryInstanceFrameRetrieveFrameCall /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21161,7 +21161,7 @@ impl<'a> ProjectLocationDatasetDicomStoreStudySeryInstanceFrameRetrieveRenderedC /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21429,7 +21429,7 @@ impl<'a> ProjectLocationDatasetDicomStoreStudySeryInstanceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21697,7 +21697,7 @@ impl<'a> ProjectLocationDatasetDicomStoreStudySeryInstanceRetrieveInstanceCall<' /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21965,7 +21965,7 @@ impl<'a> ProjectLocationDatasetDicomStoreStudySeryInstanceRetrieveMetadataCall<' /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22233,7 +22233,7 @@ impl<'a> ProjectLocationDatasetDicomStoreStudySeryInstanceRetrieveRenderedCall<' /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22501,7 +22501,7 @@ impl<'a> ProjectLocationDatasetDicomStoreStudySeryDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22769,7 +22769,7 @@ impl<'a> ProjectLocationDatasetDicomStoreStudySeryRetrieveMetadataCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23037,7 +23037,7 @@ impl<'a> ProjectLocationDatasetDicomStoreStudySeryRetrieveSeryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23305,7 +23305,7 @@ impl<'a> ProjectLocationDatasetDicomStoreStudySerySearchForInstanceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23572,7 +23572,7 @@ impl<'a> ProjectLocationDatasetDicomStoreStudyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23840,7 +23840,7 @@ impl<'a> ProjectLocationDatasetDicomStoreStudyRetrieveMetadataCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24108,7 +24108,7 @@ impl<'a> ProjectLocationDatasetDicomStoreStudyRetrieveStudyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24376,7 +24376,7 @@ impl<'a> ProjectLocationDatasetDicomStoreStudySearchForInstanceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24645,7 +24645,7 @@ impl<'a> ProjectLocationDatasetDicomStoreStudySearchForSeryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24943,7 +24943,7 @@ impl<'a> ProjectLocationDatasetDicomStoreStudyStoreInstanceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25241,7 +25241,7 @@ impl<'a> ProjectLocationDatasetDicomStoreCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25526,7 +25526,7 @@ impl<'a> ProjectLocationDatasetDicomStoreDeidentifyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25783,7 +25783,7 @@ impl<'a> ProjectLocationDatasetDicomStoreDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26068,7 +26068,7 @@ impl<'a> ProjectLocationDatasetDicomStoreExportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26324,7 +26324,7 @@ impl<'a> ProjectLocationDatasetDicomStoreGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26593,7 +26593,7 @@ impl<'a> ProjectLocationDatasetDicomStoreGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26878,7 +26878,7 @@ impl<'a> ProjectLocationDatasetDicomStoreImportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27171,7 +27171,7 @@ impl<'a> ProjectLocationDatasetDicomStoreListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27468,7 +27468,7 @@ impl<'a> ProjectLocationDatasetDicomStorePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27736,7 +27736,7 @@ impl<'a> ProjectLocationDatasetDicomStoreSearchForInstanceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28004,7 +28004,7 @@ impl<'a> ProjectLocationDatasetDicomStoreSearchForSeryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28273,7 +28273,7 @@ impl<'a> ProjectLocationDatasetDicomStoreSearchForStudyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -28559,7 +28559,7 @@ impl<'a> ProjectLocationDatasetDicomStoreSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -28857,7 +28857,7 @@ impl<'a> ProjectLocationDatasetDicomStoreStoreInstanceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -29142,7 +29142,7 @@ impl<'a> ProjectLocationDatasetDicomStoreTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29470,7 +29470,7 @@ impl<'a> ProjectLocationDatasetFhirStoreFhirConceptMapSearchTranslateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29762,7 +29762,7 @@ impl<'a> ProjectLocationDatasetFhirStoreFhirConceptMapTranslateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30018,7 +30018,7 @@ impl<'a> ProjectLocationDatasetFhirStoreFhirObservationLastnCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30346,7 +30346,7 @@ impl<'a> ProjectLocationDatasetFhirStoreFhirPatientEverythingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30603,7 +30603,7 @@ impl<'a> ProjectLocationDatasetFhirStoreFhirResourcePurgeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -30912,7 +30912,7 @@ impl<'a> ProjectLocationDatasetFhirStoreFhirResourceValidateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31168,7 +31168,7 @@ impl<'a> ProjectLocationDatasetFhirStoreFhirCapabilityCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31437,7 +31437,7 @@ impl<'a> ProjectLocationDatasetFhirStoreFhirConditionalDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -31735,7 +31735,7 @@ impl<'a> ProjectLocationDatasetFhirStoreFhirConditionalPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -32033,7 +32033,7 @@ impl<'a> ProjectLocationDatasetFhirStoreFhirConditionalUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -32330,7 +32330,7 @@ impl<'a> ProjectLocationDatasetFhirStoreFhirCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32587,7 +32587,7 @@ impl<'a> ProjectLocationDatasetFhirStoreFhirDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -32872,7 +32872,7 @@ impl<'a> ProjectLocationDatasetFhirStoreFhirExecuteBundleCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33177,7 +33177,7 @@ impl<'a> ProjectLocationDatasetFhirStoreFhirHistoryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -33462,7 +33462,7 @@ impl<'a> ProjectLocationDatasetFhirStoreFhirPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33719,7 +33719,7 @@ impl<'a> ProjectLocationDatasetFhirStoreFhirReadCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -34005,7 +34005,7 @@ impl<'a> ProjectLocationDatasetFhirStoreFhirSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -34303,7 +34303,7 @@ impl<'a> ProjectLocationDatasetFhirStoreFhirSearchTypeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -34588,7 +34588,7 @@ impl<'a> ProjectLocationDatasetFhirStoreFhirUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34845,7 +34845,7 @@ impl<'a> ProjectLocationDatasetFhirStoreFhirVreadCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35131,7 +35131,7 @@ impl<'a> ProjectLocationDatasetFhirStoreConfigureSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35429,7 +35429,7 @@ impl<'a> ProjectLocationDatasetFhirStoreCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -35714,7 +35714,7 @@ impl<'a> ProjectLocationDatasetFhirStoreDeidentifyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -35971,7 +35971,7 @@ impl<'a> ProjectLocationDatasetFhirStoreDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -36256,7 +36256,7 @@ impl<'a> ProjectLocationDatasetFhirStoreExportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -36512,7 +36512,7 @@ impl<'a> ProjectLocationDatasetFhirStoreGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -36781,7 +36781,7 @@ impl<'a> ProjectLocationDatasetFhirStoreGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -37066,7 +37066,7 @@ impl<'a> ProjectLocationDatasetFhirStoreImportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -37359,7 +37359,7 @@ impl<'a> ProjectLocationDatasetFhirStoreListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -37657,7 +37657,7 @@ impl<'a> ProjectLocationDatasetFhirStorePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -37943,7 +37943,7 @@ impl<'a> ProjectLocationDatasetFhirStoreSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -38228,7 +38228,7 @@ impl<'a> ProjectLocationDatasetFhirStoreTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -38512,7 +38512,7 @@ impl<'a> ProjectLocationDatasetHl7V2StoreMessageBatchGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -38797,7 +38797,7 @@ impl<'a> ProjectLocationDatasetHl7V2StoreMessageCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -39053,7 +39053,7 @@ impl<'a> ProjectLocationDatasetHl7V2StoreMessageDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -39322,7 +39322,7 @@ impl<'a> ProjectLocationDatasetHl7V2StoreMessageGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -39607,7 +39607,7 @@ impl<'a> ProjectLocationDatasetHl7V2StoreMessageIngestCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -39924,7 +39924,7 @@ impl<'a> ProjectLocationDatasetHl7V2StoreMessageListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -40222,7 +40222,7 @@ impl<'a> ProjectLocationDatasetHl7V2StoreMessagePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -40519,7 +40519,7 @@ impl<'a> ProjectLocationDatasetHl7V2StoreCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -40776,7 +40776,7 @@ impl<'a> ProjectLocationDatasetHl7V2StoreDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -41061,7 +41061,7 @@ impl<'a> ProjectLocationDatasetHl7V2StoreExportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -41317,7 +41317,7 @@ impl<'a> ProjectLocationDatasetHl7V2StoreGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -41586,7 +41586,7 @@ impl<'a> ProjectLocationDatasetHl7V2StoreGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -41871,7 +41871,7 @@ impl<'a> ProjectLocationDatasetHl7V2StoreImportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -42164,7 +42164,7 @@ impl<'a> ProjectLocationDatasetHl7V2StoreListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -42462,7 +42462,7 @@ impl<'a> ProjectLocationDatasetHl7V2StorePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -42748,7 +42748,7 @@ impl<'a> ProjectLocationDatasetHl7V2StoreSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -43034,7 +43034,7 @@ impl<'a> ProjectLocationDatasetHl7V2StoreTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -43319,7 +43319,7 @@ impl<'a> ProjectLocationDatasetOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -43575,7 +43575,7 @@ impl<'a> ProjectLocationDatasetOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -43868,7 +43868,7 @@ impl<'a> ProjectLocationDatasetOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -44166,7 +44166,7 @@ impl<'a> ProjectLocationDatasetCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -44451,7 +44451,7 @@ impl<'a> ProjectLocationDatasetDeidentifyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44707,7 +44707,7 @@ impl<'a> ProjectLocationDatasetDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44963,7 +44963,7 @@ impl<'a> ProjectLocationDatasetGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -45231,7 +45231,7 @@ impl<'a> ProjectLocationDatasetGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -45512,7 +45512,7 @@ impl<'a> ProjectLocationDatasetListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -45810,7 +45810,7 @@ impl<'a> ProjectLocationDatasetPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -46096,7 +46096,7 @@ impl<'a> ProjectLocationDatasetSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -46382,7 +46382,7 @@ impl<'a> ProjectLocationDatasetTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -46667,7 +46667,7 @@ impl<'a> ProjectLocationServiceNlpAnalyzeEntityCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46923,7 +46923,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/healthcare1_beta1/src/lib.rs b/gen/healthcare1_beta1/src/lib.rs index 64bab5ab7a..464faf4699 100644 --- a/gen/healthcare1_beta1/src/lib.rs +++ b/gen/healthcare1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Healthcare* crate version *3.0.0+20220223*, where *20220223* is the exact revision of the *healthcare:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Healthcare* crate version *3.1.0+20220223*, where *20220223* is the exact revision of the *healthcare:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Healthcare* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/healthcare). @@ -125,7 +125,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudHealthcare::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/iam1-cli/Cargo.toml b/gen/iam1-cli/Cargo.toml index d0d6c7012e..2bd1385504 100644 --- a/gen/iam1-cli/Cargo.toml +++ b/gen/iam1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-iam1-cli" -version = "3.0.0+20220224" +version = "3.1.0+20220224" authors = ["Sebastian Thiel "] description = "A complete library to interact with Iam (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/iam1-cli" @@ -20,12 +20,12 @@ name = "iam1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-iam1] path = "../iam1" -version = "3.0.0+20220224" +version = "3.1.0+20220224" diff --git a/gen/iam1-cli/README.md b/gen/iam1-cli/README.md index bcfe9ee991..a284d44c42 100644 --- a/gen/iam1-cli/README.md +++ b/gen/iam1-cli/README.md @@ -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 *Iam* API at revision *20220224*. The CLI is at version *3.0.0*. +This documentation was generated from the *Iam* API at revision *20220224*. The CLI is at version *3.1.0*. ```bash iam1 [options] diff --git a/gen/iam1-cli/mkdocs.yml b/gen/iam1-cli/mkdocs.yml index 3c60649156..b1ced00d14 100644 --- a/gen/iam1-cli/mkdocs.yml +++ b/gen/iam1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Iam v3.0.0+20220224 +site_name: Iam v3.1.0+20220224 site_url: http://byron.github.io/google-apis-rs/google-iam1-cli site_description: A complete library to interact with Iam (protocol v1) diff --git a/gen/iam1-cli/src/main.rs b/gen/iam1-cli/src/main.rs index 0f3ed1586d..438995bcc8 100644 --- a/gen/iam1-cli/src/main.rs +++ b/gen/iam1-cli/src/main.rs @@ -4450,7 +4450,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/iam1", 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::Iam::new(client, auth), @@ -5911,7 +5917,7 @@ async fn main() { let mut app = App::new("iam1") .author("Sebastian Thiel ") - .version("3.0.0+20220224") + .version("3.1.0+20220224") .about("Manages identity and access control for Google Cloud Platform resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_iam1_cli") .arg(Arg::with_name("url") diff --git a/gen/iam1/Cargo.toml b/gen/iam1/Cargo.toml index 3d344e04ef..7a046981d6 100644 --- a/gen/iam1/Cargo.toml +++ b/gen/iam1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-iam1" -version = "3.0.0+20220224" +version = "3.1.0+20220224" authors = ["Sebastian Thiel "] description = "A complete library to interact with Iam (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/iam1" homepage = "https://cloud.google.com/iam/" -documentation = "https://docs.rs/google-iam1/3.0.0+20220224" +documentation = "https://docs.rs/google-iam1/3.1.0+20220224" license = "MIT" keywords = ["iam", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/iam1/README.md b/gen/iam1/README.md index ac80452b22..8cf51d5477 100644 --- a/gen/iam1/README.md +++ b/gen/iam1/README.md @@ -5,26 +5,26 @@ DO NOT EDIT ! --> The `google-iam1` library allows access to all features of the *Google Iam* service. -This documentation was generated from *Iam* crate version *3.0.0+20220224*, where *20220224* is the exact revision of the *iam:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Iam* crate version *3.1.0+20220224*, where *20220224* is the exact revision of the *iam:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Iam* *v1* API can be found at the [official documentation site](https://cloud.google.com/iam/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/Iam) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/Iam) ... * iam policies - * [*lint policy*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::IamPolicyLintPolicyCall) and [*query auditable services*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::IamPolicyQueryAuditableServiceCall) + * [*lint policy*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::IamPolicyLintPolicyCall) and [*query auditable services*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::IamPolicyQueryAuditableServiceCall) * locations - * [*workforce pools operations get*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::LocationWorkforcePoolOperationGetCall), [*workforce pools providers operations get*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::LocationWorkforcePoolProviderOperationGetCall) and [*workforce pools subjects operations get*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::LocationWorkforcePoolSubjectOperationGetCall) + * [*workforce pools operations get*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::LocationWorkforcePoolOperationGetCall), [*workforce pools providers operations get*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::LocationWorkforcePoolProviderOperationGetCall) and [*workforce pools subjects operations get*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::LocationWorkforcePoolSubjectOperationGetCall) * organizations - * [*roles create*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::OrganizationRoleCreateCall), [*roles delete*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::OrganizationRoleDeleteCall), [*roles get*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::OrganizationRoleGetCall), [*roles list*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::OrganizationRoleListCall), [*roles patch*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::OrganizationRolePatchCall) and [*roles undelete*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::OrganizationRoleUndeleteCall) -* [permissions](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::Permission) - * [*query testable permissions*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::PermissionQueryTestablePermissionCall) + * [*roles create*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::OrganizationRoleCreateCall), [*roles delete*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::OrganizationRoleDeleteCall), [*roles get*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::OrganizationRoleGetCall), [*roles list*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::OrganizationRoleListCall), [*roles patch*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::OrganizationRolePatchCall) and [*roles undelete*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::OrganizationRoleUndeleteCall) +* [permissions](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::Permission) + * [*query testable permissions*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::PermissionQueryTestablePermissionCall) * projects - * [*locations workload identity pools create*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::ProjectLocationWorkloadIdentityPoolCreateCall), [*locations workload identity pools delete*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::ProjectLocationWorkloadIdentityPoolDeleteCall), [*locations workload identity pools get*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::ProjectLocationWorkloadIdentityPoolGetCall), [*locations workload identity pools list*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::ProjectLocationWorkloadIdentityPoolListCall), [*locations workload identity pools operations get*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::ProjectLocationWorkloadIdentityPoolOperationGetCall), [*locations workload identity pools patch*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::ProjectLocationWorkloadIdentityPoolPatchCall), [*locations workload identity pools providers create*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::ProjectLocationWorkloadIdentityPoolProviderCreateCall), [*locations workload identity pools providers delete*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::ProjectLocationWorkloadIdentityPoolProviderDeleteCall), [*locations workload identity pools providers get*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::ProjectLocationWorkloadIdentityPoolProviderGetCall), [*locations workload identity pools providers keys operations get*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::ProjectLocationWorkloadIdentityPoolProviderKeyOperationGetCall), [*locations workload identity pools providers list*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::ProjectLocationWorkloadIdentityPoolProviderListCall), [*locations workload identity pools providers operations get*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::ProjectLocationWorkloadIdentityPoolProviderOperationGetCall), [*locations workload identity pools providers patch*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::ProjectLocationWorkloadIdentityPoolProviderPatchCall), [*locations workload identity pools providers undelete*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::ProjectLocationWorkloadIdentityPoolProviderUndeleteCall), [*locations workload identity pools undelete*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::ProjectLocationWorkloadIdentityPoolUndeleteCall), [*roles create*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::ProjectRoleCreateCall), [*roles delete*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::ProjectRoleDeleteCall), [*roles get*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::ProjectRoleGetCall), [*roles list*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::ProjectRoleListCall), [*roles patch*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::ProjectRolePatchCall), [*roles undelete*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::ProjectRoleUndeleteCall), [*service accounts create*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::ProjectServiceAccountCreateCall), [*service accounts delete*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::ProjectServiceAccountDeleteCall), [*service accounts disable*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::ProjectServiceAccountDisableCall), [*service accounts enable*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::ProjectServiceAccountEnableCall), [*service accounts get*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::ProjectServiceAccountGetCall), [*service accounts get iam policy*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::ProjectServiceAccountGetIamPolicyCall), [*service accounts keys create*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::ProjectServiceAccountKeyCreateCall), [*service accounts keys delete*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::ProjectServiceAccountKeyDeleteCall), [*service accounts keys disable*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::ProjectServiceAccountKeyDisableCall), [*service accounts keys enable*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::ProjectServiceAccountKeyEnableCall), [*service accounts keys get*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::ProjectServiceAccountKeyGetCall), [*service accounts keys list*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::ProjectServiceAccountKeyListCall), [*service accounts keys upload*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::ProjectServiceAccountKeyUploadCall), [*service accounts list*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::ProjectServiceAccountListCall), [*service accounts patch*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::ProjectServiceAccountPatchCall), [*service accounts set iam policy*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::ProjectServiceAccountSetIamPolicyCall), [*service accounts sign blob*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::ProjectServiceAccountSignBlobCall), [*service accounts sign jwt*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::ProjectServiceAccountSignJwtCall), [*service accounts test iam permissions*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::ProjectServiceAccountTestIamPermissionCall), [*service accounts undelete*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::ProjectServiceAccountUndeleteCall) and [*service accounts update*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::ProjectServiceAccountUpdateCall) -* [roles](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::Role) - * [*get*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::RoleGetCall), [*list*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::RoleListCall) and [*query grantable roles*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/api::RoleQueryGrantableRoleCall) + * [*locations workload identity pools create*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::ProjectLocationWorkloadIdentityPoolCreateCall), [*locations workload identity pools delete*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::ProjectLocationWorkloadIdentityPoolDeleteCall), [*locations workload identity pools get*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::ProjectLocationWorkloadIdentityPoolGetCall), [*locations workload identity pools list*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::ProjectLocationWorkloadIdentityPoolListCall), [*locations workload identity pools operations get*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::ProjectLocationWorkloadIdentityPoolOperationGetCall), [*locations workload identity pools patch*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::ProjectLocationWorkloadIdentityPoolPatchCall), [*locations workload identity pools providers create*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::ProjectLocationWorkloadIdentityPoolProviderCreateCall), [*locations workload identity pools providers delete*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::ProjectLocationWorkloadIdentityPoolProviderDeleteCall), [*locations workload identity pools providers get*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::ProjectLocationWorkloadIdentityPoolProviderGetCall), [*locations workload identity pools providers keys operations get*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::ProjectLocationWorkloadIdentityPoolProviderKeyOperationGetCall), [*locations workload identity pools providers list*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::ProjectLocationWorkloadIdentityPoolProviderListCall), [*locations workload identity pools providers operations get*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::ProjectLocationWorkloadIdentityPoolProviderOperationGetCall), [*locations workload identity pools providers patch*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::ProjectLocationWorkloadIdentityPoolProviderPatchCall), [*locations workload identity pools providers undelete*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::ProjectLocationWorkloadIdentityPoolProviderUndeleteCall), [*locations workload identity pools undelete*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::ProjectLocationWorkloadIdentityPoolUndeleteCall), [*roles create*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::ProjectRoleCreateCall), [*roles delete*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::ProjectRoleDeleteCall), [*roles get*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::ProjectRoleGetCall), [*roles list*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::ProjectRoleListCall), [*roles patch*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::ProjectRolePatchCall), [*roles undelete*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::ProjectRoleUndeleteCall), [*service accounts create*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::ProjectServiceAccountCreateCall), [*service accounts delete*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::ProjectServiceAccountDeleteCall), [*service accounts disable*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::ProjectServiceAccountDisableCall), [*service accounts enable*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::ProjectServiceAccountEnableCall), [*service accounts get*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::ProjectServiceAccountGetCall), [*service accounts get iam policy*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::ProjectServiceAccountGetIamPolicyCall), [*service accounts keys create*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::ProjectServiceAccountKeyCreateCall), [*service accounts keys delete*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::ProjectServiceAccountKeyDeleteCall), [*service accounts keys disable*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::ProjectServiceAccountKeyDisableCall), [*service accounts keys enable*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::ProjectServiceAccountKeyEnableCall), [*service accounts keys get*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::ProjectServiceAccountKeyGetCall), [*service accounts keys list*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::ProjectServiceAccountKeyListCall), [*service accounts keys upload*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::ProjectServiceAccountKeyUploadCall), [*service accounts list*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::ProjectServiceAccountListCall), [*service accounts patch*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::ProjectServiceAccountPatchCall), [*service accounts set iam policy*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::ProjectServiceAccountSetIamPolicyCall), [*service accounts sign blob*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::ProjectServiceAccountSignBlobCall), [*service accounts sign jwt*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::ProjectServiceAccountSignJwtCall), [*service accounts test iam permissions*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::ProjectServiceAccountTestIamPermissionCall), [*service accounts undelete*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::ProjectServiceAccountUndeleteCall) and [*service accounts update*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::ProjectServiceAccountUpdateCall) +* [roles](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::Role) + * [*get*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::RoleGetCall), [*list*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::RoleListCall) and [*query grantable roles*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/api::RoleQueryGrantableRoleCall) @@ -33,17 +33,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/Iam)** +* **[Hub](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/Iam)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/client::CallBuilder) -* **[Resources](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/client::CallBuilder) +* **[Resources](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/client::Part)** + * **[Parts](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -114,7 +114,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -148,17 +148,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -168,29 +168,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/client::Delegate) to the -[Method Builder](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/client::Delegate) to the +[Method Builder](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/client::RequestValue) and -[decodable](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/client::RequestValue) and +[decodable](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-iam1/3.0.0+20220224/google_iam1/client::RequestValue) are moved +* [request values](https://docs.rs/google-iam1/3.1.0+20220224/google_iam1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/iam1/src/api.rs b/gen/iam1/src/api.rs index a07d915de0..499efd2ef1 100644 --- a/gen/iam1/src/api.rs +++ b/gen/iam1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > Iam<> { Iam { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://iam.googleapis.com/".to_string(), _root_url: "https://iam.googleapis.com/".to_string(), } @@ -146,7 +146,7 @@ impl<'a, > Iam<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1345,7 +1345,7 @@ impl client::ResponseResult for WorkloadIdentityPoolProvider {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `lint_policy(...)` and `query_auditable_services(...)` /// // to build up your call. @@ -1420,7 +1420,7 @@ impl<'a> IamPolicyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `workforce_pools_operations_get(...)`, `workforce_pools_providers_operations_get(...)` and `workforce_pools_subjects_operations_get(...)` /// // to build up your call. @@ -1512,7 +1512,7 @@ impl<'a> LocationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `roles_create(...)`, `roles_delete(...)`, `roles_get(...)`, `roles_list(...)`, `roles_patch(...)` and `roles_undelete(...)` /// // to build up your call. @@ -1667,7 +1667,7 @@ impl<'a> OrganizationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `query_testable_permissions(...)` /// // to build up your call. @@ -1725,7 +1725,7 @@ impl<'a> PermissionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_workload_identity_pools_create(...)`, `locations_workload_identity_pools_delete(...)`, `locations_workload_identity_pools_get(...)`, `locations_workload_identity_pools_list(...)`, `locations_workload_identity_pools_operations_get(...)`, `locations_workload_identity_pools_patch(...)`, `locations_workload_identity_pools_providers_create(...)`, `locations_workload_identity_pools_providers_delete(...)`, `locations_workload_identity_pools_providers_get(...)`, `locations_workload_identity_pools_providers_keys_operations_get(...)`, `locations_workload_identity_pools_providers_list(...)`, `locations_workload_identity_pools_providers_operations_get(...)`, `locations_workload_identity_pools_providers_patch(...)`, `locations_workload_identity_pools_providers_undelete(...)`, `locations_workload_identity_pools_undelete(...)`, `roles_create(...)`, `roles_delete(...)`, `roles_get(...)`, `roles_list(...)`, `roles_patch(...)`, `roles_undelete(...)`, `service_accounts_create(...)`, `service_accounts_delete(...)`, `service_accounts_disable(...)`, `service_accounts_enable(...)`, `service_accounts_get(...)`, `service_accounts_get_iam_policy(...)`, `service_accounts_keys_create(...)`, `service_accounts_keys_delete(...)`, `service_accounts_keys_disable(...)`, `service_accounts_keys_enable(...)`, `service_accounts_keys_get(...)`, `service_accounts_keys_list(...)`, `service_accounts_keys_upload(...)`, `service_accounts_list(...)`, `service_accounts_patch(...)`, `service_accounts_set_iam_policy(...)`, `service_accounts_sign_blob(...)`, `service_accounts_sign_jwt(...)`, `service_accounts_test_iam_permissions(...)`, `service_accounts_undelete(...)` and `service_accounts_update(...)` /// // to build up your call. @@ -2547,7 +2547,7 @@ impl<'a> ProjectMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)` and `query_grantable_roles(...)` /// // to build up your call. @@ -2647,7 +2647,7 @@ impl<'a> RoleMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2896,7 +2896,7 @@ impl<'a> IamPolicyLintPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3144,7 +3144,7 @@ impl<'a> IamPolicyQueryAuditableServiceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3400,7 +3400,7 @@ impl<'a> LocationWorkforcePoolOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3656,7 +3656,7 @@ impl<'a> LocationWorkforcePoolProviderOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3913,7 +3913,7 @@ impl<'a> LocationWorkforcePoolSubjectOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4198,7 +4198,7 @@ impl<'a> OrganizationRoleCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4466,7 +4466,7 @@ impl<'a> OrganizationRoleDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4722,7 +4722,7 @@ impl<'a> OrganizationRoleGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5027,7 +5027,7 @@ impl<'a> OrganizationRoleListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5325,7 +5325,7 @@ impl<'a> OrganizationRolePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5611,7 +5611,7 @@ impl<'a> OrganizationRoleUndeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5859,7 +5859,7 @@ impl<'a> PermissionQueryTestablePermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6115,7 +6115,7 @@ impl<'a> ProjectLocationWorkloadIdentityPoolOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6371,7 +6371,7 @@ impl<'a> ProjectLocationWorkloadIdentityPoolProviderKeyOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6628,7 +6628,7 @@ impl<'a> ProjectLocationWorkloadIdentityPoolProviderOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6925,7 +6925,7 @@ impl<'a> ProjectLocationWorkloadIdentityPoolProviderCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7181,7 +7181,7 @@ impl<'a> ProjectLocationWorkloadIdentityPoolProviderDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7437,7 +7437,7 @@ impl<'a> ProjectLocationWorkloadIdentityPoolProviderGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7730,7 +7730,7 @@ impl<'a> ProjectLocationWorkloadIdentityPoolProviderListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8028,7 +8028,7 @@ impl<'a> ProjectLocationWorkloadIdentityPoolProviderPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8314,7 +8314,7 @@ impl<'a> ProjectLocationWorkloadIdentityPoolProviderUndeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8611,7 +8611,7 @@ impl<'a> ProjectLocationWorkloadIdentityPoolCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8867,7 +8867,7 @@ impl<'a> ProjectLocationWorkloadIdentityPoolDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9123,7 +9123,7 @@ impl<'a> ProjectLocationWorkloadIdentityPoolGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9416,7 +9416,7 @@ impl<'a> ProjectLocationWorkloadIdentityPoolListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9714,7 +9714,7 @@ impl<'a> ProjectLocationWorkloadIdentityPoolPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10000,7 +10000,7 @@ impl<'a> ProjectLocationWorkloadIdentityPoolUndeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10285,7 +10285,7 @@ impl<'a> ProjectRoleCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10553,7 +10553,7 @@ impl<'a> ProjectRoleDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10809,7 +10809,7 @@ impl<'a> ProjectRoleGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11114,7 +11114,7 @@ impl<'a> ProjectRoleListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11412,7 +11412,7 @@ impl<'a> ProjectRolePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11698,7 +11698,7 @@ impl<'a> ProjectRoleUndeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11983,7 +11983,7 @@ impl<'a> ProjectServiceAccountKeyCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12240,7 +12240,7 @@ impl<'a> ProjectServiceAccountKeyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12526,7 +12526,7 @@ impl<'a> ProjectServiceAccountKeyDisableCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12811,7 +12811,7 @@ impl<'a> ProjectServiceAccountKeyEnableCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13079,7 +13079,7 @@ impl<'a> ProjectServiceAccountKeyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13351,7 +13351,7 @@ impl<'a> ProjectServiceAccountKeyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13637,7 +13637,7 @@ impl<'a> ProjectServiceAccountKeyUploadCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13922,7 +13922,7 @@ impl<'a> ProjectServiceAccountCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14179,7 +14179,7 @@ impl<'a> ProjectServiceAccountDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14465,7 +14465,7 @@ impl<'a> ProjectServiceAccountDisableCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14750,7 +14750,7 @@ impl<'a> ProjectServiceAccountEnableCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15006,7 +15006,7 @@ impl<'a> ProjectServiceAccountGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15274,7 +15274,7 @@ impl<'a> ProjectServiceAccountGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15555,7 +15555,7 @@ impl<'a> ProjectServiceAccountListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15841,7 +15841,7 @@ impl<'a> ProjectServiceAccountPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16127,7 +16127,7 @@ impl<'a> ProjectServiceAccountSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16413,7 +16413,7 @@ impl<'a> ProjectServiceAccountSignBlobCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16699,7 +16699,7 @@ impl<'a> ProjectServiceAccountSignJwtCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16985,7 +16985,7 @@ impl<'a> ProjectServiceAccountTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17271,7 +17271,7 @@ impl<'a> ProjectServiceAccountUndeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17556,7 +17556,7 @@ impl<'a> ProjectServiceAccountUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17812,7 +17812,7 @@ impl<'a> RoleGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18092,7 +18092,7 @@ impl<'a> RoleListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/iam1/src/lib.rs b/gen/iam1/src/lib.rs index 8703bb82b9..bd4381da74 100644 --- a/gen/iam1/src/lib.rs +++ b/gen/iam1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Iam* crate version *3.0.0+20220224*, where *20220224* is the exact revision of the *iam:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Iam* crate version *3.1.0+20220224*, where *20220224* is the exact revision of the *iam:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Iam* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/iam/). @@ -115,7 +115,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Iam::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/iamcredentials1-cli/Cargo.toml b/gen/iamcredentials1-cli/Cargo.toml index 0388133838..ee6285c12c 100644 --- a/gen/iamcredentials1-cli/Cargo.toml +++ b/gen/iamcredentials1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-iamcredentials1-cli" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with IAM Credentials (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/iamcredentials1-cli" @@ -20,12 +20,12 @@ name = "iamcredentials1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-iamcredentials1] path = "../iamcredentials1" -version = "3.0.0+20220225" +version = "3.1.0+20220225" diff --git a/gen/iamcredentials1-cli/README.md b/gen/iamcredentials1-cli/README.md index 192ab33345..50bb5d48ab 100644 --- a/gen/iamcredentials1-cli/README.md +++ b/gen/iamcredentials1-cli/README.md @@ -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 *IAM Credentials* API at revision *20220225*. The CLI is at version *3.0.0*. +This documentation was generated from the *IAM Credentials* API at revision *20220225*. The CLI is at version *3.1.0*. ```bash iamcredentials1 [options] diff --git a/gen/iamcredentials1-cli/mkdocs.yml b/gen/iamcredentials1-cli/mkdocs.yml index 5afcc66494..0be6459809 100644 --- a/gen/iamcredentials1-cli/mkdocs.yml +++ b/gen/iamcredentials1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: IAM Credentials v3.0.0+20220225 +site_name: IAM Credentials v3.1.0+20220225 site_url: http://byron.github.io/google-apis-rs/google-iamcredentials1-cli site_description: A complete library to interact with IAM Credentials (protocol v1) diff --git a/gen/iamcredentials1-cli/src/main.rs b/gen/iamcredentials1-cli/src/main.rs index 64d90997c7..59232c1b6b 100644 --- a/gen/iamcredentials1-cli/src/main.rs +++ b/gen/iamcredentials1-cli/src/main.rs @@ -447,7 +447,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/iamcredentials1", 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::IAMCredentials::new(client, auth), @@ -601,7 +607,7 @@ async fn main() { let mut app = App::new("iamcredentials1") .author("Sebastian Thiel ") - .version("3.0.0+20220225") + .version("3.1.0+20220225") .about("Creates short-lived credentials for impersonating IAM service accounts. To enable this API, you must enable the IAM API (iam.googleapis.com). ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_iamcredentials1_cli") .arg(Arg::with_name("url") diff --git a/gen/iamcredentials1/Cargo.toml b/gen/iamcredentials1/Cargo.toml index 06587f33cf..315f975a79 100644 --- a/gen/iamcredentials1/Cargo.toml +++ b/gen/iamcredentials1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-iamcredentials1" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with IAM Credentials (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/iamcredentials1" homepage = "https://cloud.google.com/iam/docs/creating-short-lived-service-account-credentials" -documentation = "https://docs.rs/google-iamcredentials1/3.0.0+20220225" +documentation = "https://docs.rs/google-iamcredentials1/3.1.0+20220225" license = "MIT" keywords = ["iamcredentials", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/iamcredentials1/README.md b/gen/iamcredentials1/README.md index ff39655dfa..a35b4d3691 100644 --- a/gen/iamcredentials1/README.md +++ b/gen/iamcredentials1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-iamcredentials1` library allows access to all features of the *Google IAM Credentials* service. -This documentation was generated from *IAM Credentials* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *iamcredentials:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *IAM Credentials* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *iamcredentials:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *IAM Credentials* *v1* API can be found at the [official documentation site](https://cloud.google.com/iam/docs/creating-short-lived-service-account-credentials). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-iamcredentials1/3.0.0+20220225/google_iamcredentials1/IAMCredentials) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-iamcredentials1/3.1.0+20220225/google_iamcredentials1/IAMCredentials) ... * projects - * [*service accounts generate access token*](https://docs.rs/google-iamcredentials1/3.0.0+20220225/google_iamcredentials1/api::ProjectServiceAccountGenerateAccessTokenCall), [*service accounts generate id token*](https://docs.rs/google-iamcredentials1/3.0.0+20220225/google_iamcredentials1/api::ProjectServiceAccountGenerateIdTokenCall), [*service accounts sign blob*](https://docs.rs/google-iamcredentials1/3.0.0+20220225/google_iamcredentials1/api::ProjectServiceAccountSignBlobCall) and [*service accounts sign jwt*](https://docs.rs/google-iamcredentials1/3.0.0+20220225/google_iamcredentials1/api::ProjectServiceAccountSignJwtCall) + * [*service accounts generate access token*](https://docs.rs/google-iamcredentials1/3.1.0+20220225/google_iamcredentials1/api::ProjectServiceAccountGenerateAccessTokenCall), [*service accounts generate id token*](https://docs.rs/google-iamcredentials1/3.1.0+20220225/google_iamcredentials1/api::ProjectServiceAccountGenerateIdTokenCall), [*service accounts sign blob*](https://docs.rs/google-iamcredentials1/3.1.0+20220225/google_iamcredentials1/api::ProjectServiceAccountSignBlobCall) and [*service accounts sign jwt*](https://docs.rs/google-iamcredentials1/3.1.0+20220225/google_iamcredentials1/api::ProjectServiceAccountSignJwtCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-iamcredentials1/3.0.0+20220225/google_iamcredentials1/IAMCredentials)** +* **[Hub](https://docs.rs/google-iamcredentials1/3.1.0+20220225/google_iamcredentials1/IAMCredentials)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-iamcredentials1/3.0.0+20220225/google_iamcredentials1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-iamcredentials1/3.0.0+20220225/google_iamcredentials1/client::CallBuilder) -* **[Resources](https://docs.rs/google-iamcredentials1/3.0.0+20220225/google_iamcredentials1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-iamcredentials1/3.1.0+20220225/google_iamcredentials1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-iamcredentials1/3.1.0+20220225/google_iamcredentials1/client::CallBuilder) +* **[Resources](https://docs.rs/google-iamcredentials1/3.1.0+20220225/google_iamcredentials1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-iamcredentials1/3.0.0+20220225/google_iamcredentials1/client::Part)** + * **[Parts](https://docs.rs/google-iamcredentials1/3.1.0+20220225/google_iamcredentials1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-iamcredentials1/3.0.0+20220225/google_iamcredentials1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-iamcredentials1/3.1.0+20220225/google_iamcredentials1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -91,7 +91,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = IAMCredentials::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = IAMCredentials::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -124,17 +124,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-iamcredentials1/3.0.0+20220225/google_iamcredentials1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-iamcredentials1/3.1.0+20220225/google_iamcredentials1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-iamcredentials1/3.0.0+20220225/google_iamcredentials1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-iamcredentials1/3.1.0+20220225/google_iamcredentials1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-iamcredentials1/3.0.0+20220225/google_iamcredentials1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-iamcredentials1/3.1.0+20220225/google_iamcredentials1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-iamcredentials1/3.0.0+20220225/google_iamcredentials1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-iamcredentials1/3.1.0+20220225/google_iamcredentials1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -144,29 +144,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-iamcredentials1/3.0.0+20220225/google_iamcredentials1/client::Delegate) to the -[Method Builder](https://docs.rs/google-iamcredentials1/3.0.0+20220225/google_iamcredentials1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-iamcredentials1/3.1.0+20220225/google_iamcredentials1/client::Delegate) to the +[Method Builder](https://docs.rs/google-iamcredentials1/3.1.0+20220225/google_iamcredentials1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-iamcredentials1/3.0.0+20220225/google_iamcredentials1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-iamcredentials1/3.1.0+20220225/google_iamcredentials1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-iamcredentials1/3.0.0+20220225/google_iamcredentials1/client::RequestValue) and -[decodable](https://docs.rs/google-iamcredentials1/3.0.0+20220225/google_iamcredentials1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-iamcredentials1/3.1.0+20220225/google_iamcredentials1/client::RequestValue) and +[decodable](https://docs.rs/google-iamcredentials1/3.1.0+20220225/google_iamcredentials1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-iamcredentials1/3.0.0+20220225/google_iamcredentials1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-iamcredentials1/3.1.0+20220225/google_iamcredentials1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-iamcredentials1/3.0.0+20220225/google_iamcredentials1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-iamcredentials1/3.1.0+20220225/google_iamcredentials1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-iamcredentials1/3.0.0+20220225/google_iamcredentials1/client::RequestValue) are moved +* [request values](https://docs.rs/google-iamcredentials1/3.1.0+20220225/google_iamcredentials1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/iamcredentials1/src/api.rs b/gen/iamcredentials1/src/api.rs index 3dd1cc84d2..365d9ad0b2 100644 --- a/gen/iamcredentials1/src/api.rs +++ b/gen/iamcredentials1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = IAMCredentials::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = IAMCredentials::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > IAMCredentials<> { IAMCredentials { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://iamcredentials.googleapis.com/".to_string(), _root_url: "https://iamcredentials.googleapis.com/".to_string(), } @@ -130,7 +130,7 @@ impl<'a, > IAMCredentials<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -353,7 +353,7 @@ impl client::ResponseResult for SignJwtResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = IAMCredentials::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = IAMCredentials::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `service_accounts_generate_access_token(...)`, `service_accounts_generate_id_token(...)`, `service_accounts_sign_blob(...)` and `service_accounts_sign_jwt(...)` /// // to build up your call. @@ -478,7 +478,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = IAMCredentials::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = IAMCredentials::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -764,7 +764,7 @@ impl<'a> ProjectServiceAccountGenerateAccessTokenCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = IAMCredentials::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = IAMCredentials::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1050,7 +1050,7 @@ impl<'a> ProjectServiceAccountGenerateIdTokenCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = IAMCredentials::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = IAMCredentials::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1336,7 +1336,7 @@ impl<'a> ProjectServiceAccountSignBlobCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = IAMCredentials::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = IAMCredentials::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/iamcredentials1/src/lib.rs b/gen/iamcredentials1/src/lib.rs index 154d383559..f4fb4a3e58 100644 --- a/gen/iamcredentials1/src/lib.rs +++ b/gen/iamcredentials1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *IAM Credentials* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *iamcredentials:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *IAM Credentials* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *iamcredentials:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *IAM Credentials* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/iam/docs/creating-short-lived-service-account-credentials). @@ -92,7 +92,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = IAMCredentials::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = IAMCredentials::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/iap1-cli/Cargo.toml b/gen/iap1-cli/Cargo.toml index bcde89118a..64a3530046 100644 --- a/gen/iap1-cli/Cargo.toml +++ b/gen/iap1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-iap1-cli" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud IAP (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/iap1-cli" @@ -20,12 +20,12 @@ name = "iap1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-iap1] path = "../iap1" -version = "3.0.0+20220225" +version = "3.1.0+20220225" diff --git a/gen/iap1-cli/README.md b/gen/iap1-cli/README.md index 15e707856f..28b213dfe6 100644 --- a/gen/iap1-cli/README.md +++ b/gen/iap1-cli/README.md @@ -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 *Cloud IAP* API at revision *20220225*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud IAP* API at revision *20220225*. The CLI is at version *3.1.0*. ```bash iap1 [options] diff --git a/gen/iap1-cli/mkdocs.yml b/gen/iap1-cli/mkdocs.yml index 4c9a3cff1d..80a8b04bc5 100644 --- a/gen/iap1-cli/mkdocs.yml +++ b/gen/iap1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud IAP v3.0.0+20220225 +site_name: Cloud IAP v3.1.0+20220225 site_url: http://byron.github.io/google-apis-rs/google-iap1-cli site_description: A complete library to interact with Cloud IAP (protocol v1) diff --git a/gen/iap1-cli/src/main.rs b/gen/iap1-cli/src/main.rs index 14b247dbb2..a0caaf0039 100644 --- a/gen/iap1-cli/src/main.rs +++ b/gen/iap1-cli/src/main.rs @@ -1079,7 +1079,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/iap1", 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::CloudIAP::new(client, auth), @@ -1452,7 +1458,7 @@ async fn main() { let mut app = App::new("iap1") .author("Sebastian Thiel ") - .version("3.0.0+20220225") + .version("3.1.0+20220225") .about("Controls access to cloud applications running on Google Cloud Platform.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_iap1_cli") .arg(Arg::with_name("url") diff --git a/gen/iap1/Cargo.toml b/gen/iap1/Cargo.toml index 42860fc59c..a9f577047c 100644 --- a/gen/iap1/Cargo.toml +++ b/gen/iap1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-iap1" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud IAP (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/iap1" homepage = "https://cloud.google.com/iap" -documentation = "https://docs.rs/google-iap1/3.0.0+20220225" +documentation = "https://docs.rs/google-iap1/3.1.0+20220225" license = "MIT" keywords = ["iap", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/iap1/README.md b/gen/iap1/README.md index 762004e84a..839b7d92af 100644 --- a/gen/iap1/README.md +++ b/gen/iap1/README.md @@ -5,24 +5,24 @@ DO NOT EDIT ! --> The `google-iap1` library allows access to all features of the *Google Cloud IAP* service. -This documentation was generated from *Cloud IAP* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *iap:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud IAP* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *iap:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud IAP* *v1* API can be found at the [official documentation site](https://cloud.google.com/iap). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-iap1/3.0.0+20220225/google_iap1/CloudIAP) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-iap1/3.1.0+20220225/google_iap1/CloudIAP) ... * projects - * [*brands create*](https://docs.rs/google-iap1/3.0.0+20220225/google_iap1/api::ProjectBrandCreateCall), [*brands get*](https://docs.rs/google-iap1/3.0.0+20220225/google_iap1/api::ProjectBrandGetCall), [*brands identity aware proxy clients create*](https://docs.rs/google-iap1/3.0.0+20220225/google_iap1/api::ProjectBrandIdentityAwareProxyClientCreateCall), [*brands identity aware proxy clients delete*](https://docs.rs/google-iap1/3.0.0+20220225/google_iap1/api::ProjectBrandIdentityAwareProxyClientDeleteCall), [*brands identity aware proxy clients get*](https://docs.rs/google-iap1/3.0.0+20220225/google_iap1/api::ProjectBrandIdentityAwareProxyClientGetCall), [*brands identity aware proxy clients list*](https://docs.rs/google-iap1/3.0.0+20220225/google_iap1/api::ProjectBrandIdentityAwareProxyClientListCall), [*brands identity aware proxy clients reset secret*](https://docs.rs/google-iap1/3.0.0+20220225/google_iap1/api::ProjectBrandIdentityAwareProxyClientResetSecretCall) and [*brands list*](https://docs.rs/google-iap1/3.0.0+20220225/google_iap1/api::ProjectBrandListCall) + * [*brands create*](https://docs.rs/google-iap1/3.1.0+20220225/google_iap1/api::ProjectBrandCreateCall), [*brands get*](https://docs.rs/google-iap1/3.1.0+20220225/google_iap1/api::ProjectBrandGetCall), [*brands identity aware proxy clients create*](https://docs.rs/google-iap1/3.1.0+20220225/google_iap1/api::ProjectBrandIdentityAwareProxyClientCreateCall), [*brands identity aware proxy clients delete*](https://docs.rs/google-iap1/3.1.0+20220225/google_iap1/api::ProjectBrandIdentityAwareProxyClientDeleteCall), [*brands identity aware proxy clients get*](https://docs.rs/google-iap1/3.1.0+20220225/google_iap1/api::ProjectBrandIdentityAwareProxyClientGetCall), [*brands identity aware proxy clients list*](https://docs.rs/google-iap1/3.1.0+20220225/google_iap1/api::ProjectBrandIdentityAwareProxyClientListCall), [*brands identity aware proxy clients reset secret*](https://docs.rs/google-iap1/3.1.0+20220225/google_iap1/api::ProjectBrandIdentityAwareProxyClientResetSecretCall) and [*brands list*](https://docs.rs/google-iap1/3.1.0+20220225/google_iap1/api::ProjectBrandListCall) Other activities are ... -* [get iam policy](https://docs.rs/google-iap1/3.0.0+20220225/google_iap1/api::MethodGetIamPolicyCall) -* [get iap settings](https://docs.rs/google-iap1/3.0.0+20220225/google_iap1/api::MethodGetIapSettingCall) -* [set iam policy](https://docs.rs/google-iap1/3.0.0+20220225/google_iap1/api::MethodSetIamPolicyCall) -* [test iam permissions](https://docs.rs/google-iap1/3.0.0+20220225/google_iap1/api::MethodTestIamPermissionCall) -* [update iap settings](https://docs.rs/google-iap1/3.0.0+20220225/google_iap1/api::MethodUpdateIapSettingCall) +* [get iam policy](https://docs.rs/google-iap1/3.1.0+20220225/google_iap1/api::MethodGetIamPolicyCall) +* [get iap settings](https://docs.rs/google-iap1/3.1.0+20220225/google_iap1/api::MethodGetIapSettingCall) +* [set iam policy](https://docs.rs/google-iap1/3.1.0+20220225/google_iap1/api::MethodSetIamPolicyCall) +* [test iam permissions](https://docs.rs/google-iap1/3.1.0+20220225/google_iap1/api::MethodTestIamPermissionCall) +* [update iap settings](https://docs.rs/google-iap1/3.1.0+20220225/google_iap1/api::MethodUpdateIapSettingCall) @@ -30,17 +30,17 @@ Other activities are ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-iap1/3.0.0+20220225/google_iap1/CloudIAP)** +* **[Hub](https://docs.rs/google-iap1/3.1.0+20220225/google_iap1/CloudIAP)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-iap1/3.0.0+20220225/google_iap1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-iap1/3.0.0+20220225/google_iap1/client::CallBuilder) -* **[Resources](https://docs.rs/google-iap1/3.0.0+20220225/google_iap1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-iap1/3.1.0+20220225/google_iap1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-iap1/3.1.0+20220225/google_iap1/client::CallBuilder) +* **[Resources](https://docs.rs/google-iap1/3.1.0+20220225/google_iap1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-iap1/3.0.0+20220225/google_iap1/client::Part)** + * **[Parts](https://docs.rs/google-iap1/3.1.0+20220225/google_iap1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-iap1/3.0.0+20220225/google_iap1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-iap1/3.1.0+20220225/google_iap1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -100,7 +100,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -133,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-iap1/3.0.0+20220225/google_iap1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-iap1/3.1.0+20220225/google_iap1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-iap1/3.0.0+20220225/google_iap1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-iap1/3.1.0+20220225/google_iap1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-iap1/3.0.0+20220225/google_iap1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-iap1/3.1.0+20220225/google_iap1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-iap1/3.0.0+20220225/google_iap1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-iap1/3.1.0+20220225/google_iap1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -153,29 +153,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-iap1/3.0.0+20220225/google_iap1/client::Delegate) to the -[Method Builder](https://docs.rs/google-iap1/3.0.0+20220225/google_iap1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-iap1/3.1.0+20220225/google_iap1/client::Delegate) to the +[Method Builder](https://docs.rs/google-iap1/3.1.0+20220225/google_iap1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-iap1/3.0.0+20220225/google_iap1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-iap1/3.1.0+20220225/google_iap1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-iap1/3.0.0+20220225/google_iap1/client::RequestValue) and -[decodable](https://docs.rs/google-iap1/3.0.0+20220225/google_iap1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-iap1/3.1.0+20220225/google_iap1/client::RequestValue) and +[decodable](https://docs.rs/google-iap1/3.1.0+20220225/google_iap1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-iap1/3.0.0+20220225/google_iap1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-iap1/3.1.0+20220225/google_iap1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-iap1/3.0.0+20220225/google_iap1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-iap1/3.1.0+20220225/google_iap1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-iap1/3.0.0+20220225/google_iap1/client::RequestValue) are moved +* [request values](https://docs.rs/google-iap1/3.1.0+20220225/google_iap1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/iap1/src/api.rs b/gen/iap1/src/api.rs index d0efdeec65..2f4958046a 100644 --- a/gen/iap1/src/api.rs +++ b/gen/iap1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > CloudIAP<> { CloudIAP { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://iap.googleapis.com/".to_string(), _root_url: "https://iap.googleapis.com/".to_string(), } @@ -133,7 +133,7 @@ impl<'a, > CloudIAP<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -684,7 +684,7 @@ impl client::ResponseResult for TestIamPermissionsResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `brands_create(...)`, `brands_get(...)`, `brands_identity_aware_proxy_clients_create(...)`, `brands_identity_aware_proxy_clients_delete(...)`, `brands_identity_aware_proxy_clients_get(...)`, `brands_identity_aware_proxy_clients_list(...)`, `brands_identity_aware_proxy_clients_reset_secret(...)` and `brands_list(...)` /// // to build up your call. @@ -869,7 +869,7 @@ impl<'a> ProjectMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get_iam_policy(...)`, `get_iap_settings(...)`, `set_iam_policy(...)`, `test_iam_permissions(...)` and `update_iap_settings(...)` /// // to build up your call. @@ -1012,7 +1012,7 @@ impl<'a> MethodMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1297,7 +1297,7 @@ impl<'a> ProjectBrandIdentityAwareProxyClientCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1553,7 +1553,7 @@ impl<'a> ProjectBrandIdentityAwareProxyClientDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1809,7 +1809,7 @@ impl<'a> ProjectBrandIdentityAwareProxyClientGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2090,7 +2090,7 @@ impl<'a> ProjectBrandIdentityAwareProxyClientListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2376,7 +2376,7 @@ impl<'a> ProjectBrandIdentityAwareProxyClientResetSecretCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2661,7 +2661,7 @@ impl<'a> ProjectBrandCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2917,7 +2917,7 @@ impl<'a> ProjectBrandGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3174,7 +3174,7 @@ impl<'a> ProjectBrandListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3459,7 +3459,7 @@ impl<'a> MethodGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3716,7 +3716,7 @@ impl<'a> MethodGetIapSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4002,7 +4002,7 @@ impl<'a> MethodSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4288,7 +4288,7 @@ impl<'a> MethodTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/iap1/src/lib.rs b/gen/iap1/src/lib.rs index 999c10a843..a870f951d6 100644 --- a/gen/iap1/src/lib.rs +++ b/gen/iap1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud IAP* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *iap:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud IAP* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *iap:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud IAP* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/iap). @@ -101,7 +101,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/iap1_beta1-cli/Cargo.toml b/gen/iap1_beta1-cli/Cargo.toml index e31730ae54..59eb432dbb 100644 --- a/gen/iap1_beta1-cli/Cargo.toml +++ b/gen/iap1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-iap1_beta1-cli" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud IAP (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/iap1_beta1-cli" @@ -20,12 +20,12 @@ name = "iap1-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-iap1_beta1] path = "../iap1_beta1" -version = "3.0.0+20220225" +version = "3.1.0+20220225" diff --git a/gen/iap1_beta1-cli/README.md b/gen/iap1_beta1-cli/README.md index ec85f73448..a4bc8cf9b9 100644 --- a/gen/iap1_beta1-cli/README.md +++ b/gen/iap1_beta1-cli/README.md @@ -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 *Cloud IAP* API at revision *20220225*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud IAP* API at revision *20220225*. The CLI is at version *3.1.0*. ```bash iap1-beta1 [options] diff --git a/gen/iap1_beta1-cli/mkdocs.yml b/gen/iap1_beta1-cli/mkdocs.yml index d6b295b9d1..f82fcf10d2 100644 --- a/gen/iap1_beta1-cli/mkdocs.yml +++ b/gen/iap1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud IAP v3.0.0+20220225 +site_name: Cloud IAP v3.1.0+20220225 site_url: http://byron.github.io/google-apis-rs/google-iap1_beta1-cli site_description: A complete library to interact with Cloud IAP (protocol v1beta1) diff --git a/gen/iap1_beta1-cli/src/main.rs b/gen/iap1_beta1-cli/src/main.rs index 4ad068f060..d2d5cfe213 100644 --- a/gen/iap1_beta1-cli/src/main.rs +++ b/gen/iap1_beta1-cli/src/main.rs @@ -354,7 +354,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/iap1-beta1", 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::CloudIAP::new(client, auth), @@ -480,7 +486,7 @@ async fn main() { let mut app = App::new("iap1-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20220225") + .version("3.1.0+20220225") .about("Controls access to cloud applications running on Google Cloud Platform.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_iap1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/iap1_beta1/Cargo.toml b/gen/iap1_beta1/Cargo.toml index f322607990..583c118098 100644 --- a/gen/iap1_beta1/Cargo.toml +++ b/gen/iap1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-iap1_beta1" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud IAP (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/iap1_beta1" homepage = "https://cloud.google.com/iap" -documentation = "https://docs.rs/google-iap1_beta1/3.0.0+20220225" +documentation = "https://docs.rs/google-iap1_beta1/3.1.0+20220225" license = "MIT" keywords = ["iap", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/iap1_beta1/README.md b/gen/iap1_beta1/README.md index 4270987069..a7960bf07c 100644 --- a/gen/iap1_beta1/README.md +++ b/gen/iap1_beta1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-iap1_beta1` library allows access to all features of the *Google Cloud IAP* service. -This documentation was generated from *Cloud IAP* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *iap:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud IAP* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *iap:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud IAP* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/iap). # Features -Use the following functionality with ease from the central [hub](https://docs.rs/google-iap1_beta1/3.0.0+20220225/google_iap1_beta1/CloudIAP) ... +Use the following functionality with ease from the central [hub](https://docs.rs/google-iap1_beta1/3.1.0+20220225/google_iap1_beta1/CloudIAP) ... -* [get iam policy](https://docs.rs/google-iap1_beta1/3.0.0+20220225/google_iap1_beta1/api::MethodGetIamPolicyCall) -* [set iam policy](https://docs.rs/google-iap1_beta1/3.0.0+20220225/google_iap1_beta1/api::MethodSetIamPolicyCall) -* [test iam permissions](https://docs.rs/google-iap1_beta1/3.0.0+20220225/google_iap1_beta1/api::MethodTestIamPermissionCall) +* [get iam policy](https://docs.rs/google-iap1_beta1/3.1.0+20220225/google_iap1_beta1/api::MethodGetIamPolicyCall) +* [set iam policy](https://docs.rs/google-iap1_beta1/3.1.0+20220225/google_iap1_beta1/api::MethodSetIamPolicyCall) +* [test iam permissions](https://docs.rs/google-iap1_beta1/3.1.0+20220225/google_iap1_beta1/api::MethodTestIamPermissionCall) @@ -24,17 +24,17 @@ Use the following functionality with ease from the central [hub](https://docs.rs The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-iap1_beta1/3.0.0+20220225/google_iap1_beta1/CloudIAP)** +* **[Hub](https://docs.rs/google-iap1_beta1/3.1.0+20220225/google_iap1_beta1/CloudIAP)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-iap1_beta1/3.0.0+20220225/google_iap1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-iap1_beta1/3.0.0+20220225/google_iap1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-iap1_beta1/3.0.0+20220225/google_iap1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-iap1_beta1/3.1.0+20220225/google_iap1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-iap1_beta1/3.1.0+20220225/google_iap1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-iap1_beta1/3.1.0+20220225/google_iap1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-iap1_beta1/3.0.0+20220225/google_iap1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-iap1_beta1/3.1.0+20220225/google_iap1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-iap1_beta1/3.0.0+20220225/google_iap1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-iap1_beta1/3.1.0+20220225/google_iap1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -93,7 +93,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -126,17 +126,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-iap1_beta1/3.0.0+20220225/google_iap1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-iap1_beta1/3.1.0+20220225/google_iap1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-iap1_beta1/3.0.0+20220225/google_iap1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-iap1_beta1/3.1.0+20220225/google_iap1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-iap1_beta1/3.0.0+20220225/google_iap1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-iap1_beta1/3.1.0+20220225/google_iap1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-iap1_beta1/3.0.0+20220225/google_iap1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-iap1_beta1/3.1.0+20220225/google_iap1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -146,29 +146,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-iap1_beta1/3.0.0+20220225/google_iap1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-iap1_beta1/3.0.0+20220225/google_iap1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-iap1_beta1/3.1.0+20220225/google_iap1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-iap1_beta1/3.1.0+20220225/google_iap1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-iap1_beta1/3.0.0+20220225/google_iap1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-iap1_beta1/3.1.0+20220225/google_iap1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-iap1_beta1/3.0.0+20220225/google_iap1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-iap1_beta1/3.0.0+20220225/google_iap1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-iap1_beta1/3.1.0+20220225/google_iap1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-iap1_beta1/3.1.0+20220225/google_iap1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-iap1_beta1/3.0.0+20220225/google_iap1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-iap1_beta1/3.1.0+20220225/google_iap1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-iap1_beta1/3.0.0+20220225/google_iap1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-iap1_beta1/3.1.0+20220225/google_iap1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-iap1_beta1/3.0.0+20220225/google_iap1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-iap1_beta1/3.1.0+20220225/google_iap1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/iap1_beta1/src/api.rs b/gen/iap1_beta1/src/api.rs index a03c3de4a0..9480f2ebb2 100644 --- a/gen/iap1_beta1/src/api.rs +++ b/gen/iap1_beta1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > CloudIAP<> { CloudIAP { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://iap.googleapis.com/".to_string(), _root_url: "https://iap.googleapis.com/".to_string(), } @@ -130,7 +130,7 @@ impl<'a, > CloudIAP<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -329,7 +329,7 @@ impl client::ResponseResult for TestIamPermissionsResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get_iam_policy(...)`, `set_iam_policy(...)` and `test_iam_permissions(...)` /// // to build up your call. @@ -435,7 +435,7 @@ impl<'a> MethodMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -721,7 +721,7 @@ impl<'a> MethodGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1007,7 +1007,7 @@ impl<'a> MethodSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/iap1_beta1/src/lib.rs b/gen/iap1_beta1/src/lib.rs index bfb6c0663e..e78958a6ad 100644 --- a/gen/iap1_beta1/src/lib.rs +++ b/gen/iap1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud IAP* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *iap:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud IAP* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *iap:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud IAP* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/iap). @@ -94,7 +94,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudIAP::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/ideahub1_beta-cli/Cargo.toml b/gen/ideahub1_beta-cli/Cargo.toml index 1799e1d440..50890eafda 100644 --- a/gen/ideahub1_beta-cli/Cargo.toml +++ b/gen/ideahub1_beta-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-ideahub1_beta-cli" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with Ideahub (protocol v1beta)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/ideahub1_beta-cli" @@ -20,12 +20,12 @@ name = "ideahub1-beta" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-ideahub1_beta] path = "../ideahub1_beta" -version = "3.0.0+20220305" +version = "3.1.0+20220305" diff --git a/gen/ideahub1_beta-cli/README.md b/gen/ideahub1_beta-cli/README.md index cb0df102c3..b627920c35 100644 --- a/gen/ideahub1_beta-cli/README.md +++ b/gen/ideahub1_beta-cli/README.md @@ -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 *Ideahub* API at revision *20220305*. The CLI is at version *3.0.0*. +This documentation was generated from the *Ideahub* API at revision *20220305*. The CLI is at version *3.1.0*. ```bash ideahub1-beta [options] diff --git a/gen/ideahub1_beta-cli/mkdocs.yml b/gen/ideahub1_beta-cli/mkdocs.yml index 8f5e31498e..61410c7d2a 100644 --- a/gen/ideahub1_beta-cli/mkdocs.yml +++ b/gen/ideahub1_beta-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Ideahub v3.0.0+20220305 +site_name: Ideahub v3.1.0+20220305 site_url: http://byron.github.io/google-apis-rs/google-ideahub1_beta-cli site_description: A complete library to interact with Ideahub (protocol v1beta) diff --git a/gen/ideahub1_beta-cli/src/main.rs b/gen/ideahub1_beta-cli/src/main.rs index 4664bbc080..46d1734e4c 100644 --- a/gen/ideahub1_beta-cli/src/main.rs +++ b/gen/ideahub1_beta-cli/src/main.rs @@ -484,7 +484,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/ideahub1-beta", 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::Ideahub::new(client, auth), @@ -654,7 +660,7 @@ async fn main() { let mut app = App::new("ideahub1-beta") .author("Sebastian Thiel ") - .version("3.0.0+20220305") + .version("3.1.0+20220305") .about("This is an invitation-only API.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_ideahub1_beta_cli") .arg(Arg::with_name("folder") diff --git a/gen/ideahub1_beta/Cargo.toml b/gen/ideahub1_beta/Cargo.toml index 7d9a7b0307..e665a77646 100644 --- a/gen/ideahub1_beta/Cargo.toml +++ b/gen/ideahub1_beta/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-ideahub1_beta" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with Ideahub (protocol v1beta)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/ideahub1_beta" homepage = "https://console.cloud.google.com/apis/library/ideahub.googleapis.com" -documentation = "https://docs.rs/google-ideahub1_beta/3.0.0+20220305" +documentation = "https://docs.rs/google-ideahub1_beta/3.1.0+20220305" license = "MIT" keywords = ["ideahub", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/ideahub1_beta/README.md b/gen/ideahub1_beta/README.md index 0608ae0d57..229b7fb559 100644 --- a/gen/ideahub1_beta/README.md +++ b/gen/ideahub1_beta/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-ideahub1_beta` library allows access to all features of the *Google Ideahub* service. -This documentation was generated from *Ideahub* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *ideahub:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Ideahub* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *ideahub:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Ideahub* *v1_beta* API can be found at the [official documentation site](https://console.cloud.google.com/apis/library/ideahub.googleapis.com). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-ideahub1_beta/3.0.0+20220305/google_ideahub1_beta/Ideahub) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-ideahub1_beta/3.1.0+20220305/google_ideahub1_beta/Ideahub) ... * platforms - * [*properties idea activities create*](https://docs.rs/google-ideahub1_beta/3.0.0+20220305/google_ideahub1_beta/api::PlatformPropertyIdeaActivityCreateCall), [*properties idea states patch*](https://docs.rs/google-ideahub1_beta/3.0.0+20220305/google_ideahub1_beta/api::PlatformPropertyIdeaStatePatchCall), [*properties ideas list*](https://docs.rs/google-ideahub1_beta/3.0.0+20220305/google_ideahub1_beta/api::PlatformPropertyIdeaListCall), [*properties locales list*](https://docs.rs/google-ideahub1_beta/3.0.0+20220305/google_ideahub1_beta/api::PlatformPropertyLocaleListCall) and [*properties topic states patch*](https://docs.rs/google-ideahub1_beta/3.0.0+20220305/google_ideahub1_beta/api::PlatformPropertyTopicStatePatchCall) + * [*properties idea activities create*](https://docs.rs/google-ideahub1_beta/3.1.0+20220305/google_ideahub1_beta/api::PlatformPropertyIdeaActivityCreateCall), [*properties idea states patch*](https://docs.rs/google-ideahub1_beta/3.1.0+20220305/google_ideahub1_beta/api::PlatformPropertyIdeaStatePatchCall), [*properties ideas list*](https://docs.rs/google-ideahub1_beta/3.1.0+20220305/google_ideahub1_beta/api::PlatformPropertyIdeaListCall), [*properties locales list*](https://docs.rs/google-ideahub1_beta/3.1.0+20220305/google_ideahub1_beta/api::PlatformPropertyLocaleListCall) and [*properties topic states patch*](https://docs.rs/google-ideahub1_beta/3.1.0+20220305/google_ideahub1_beta/api::PlatformPropertyTopicStatePatchCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-ideahub1_beta/3.0.0+20220305/google_ideahub1_beta/Ideahub)** +* **[Hub](https://docs.rs/google-ideahub1_beta/3.1.0+20220305/google_ideahub1_beta/Ideahub)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-ideahub1_beta/3.0.0+20220305/google_ideahub1_beta/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-ideahub1_beta/3.0.0+20220305/google_ideahub1_beta/client::CallBuilder) -* **[Resources](https://docs.rs/google-ideahub1_beta/3.0.0+20220305/google_ideahub1_beta/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-ideahub1_beta/3.1.0+20220305/google_ideahub1_beta/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-ideahub1_beta/3.1.0+20220305/google_ideahub1_beta/client::CallBuilder) +* **[Resources](https://docs.rs/google-ideahub1_beta/3.1.0+20220305/google_ideahub1_beta/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-ideahub1_beta/3.0.0+20220305/google_ideahub1_beta/client::Part)** + * **[Parts](https://docs.rs/google-ideahub1_beta/3.1.0+20220305/google_ideahub1_beta/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-ideahub1_beta/3.0.0+20220305/google_ideahub1_beta/client::CallBuilder)** +* **[Activities](https://docs.rs/google-ideahub1_beta/3.1.0+20220305/google_ideahub1_beta/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -91,7 +91,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Ideahub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Ideahub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -124,17 +124,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-ideahub1_beta/3.0.0+20220305/google_ideahub1_beta/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-ideahub1_beta/3.1.0+20220305/google_ideahub1_beta/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-ideahub1_beta/3.0.0+20220305/google_ideahub1_beta/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-ideahub1_beta/3.1.0+20220305/google_ideahub1_beta/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-ideahub1_beta/3.0.0+20220305/google_ideahub1_beta/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-ideahub1_beta/3.1.0+20220305/google_ideahub1_beta/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-ideahub1_beta/3.0.0+20220305/google_ideahub1_beta/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-ideahub1_beta/3.1.0+20220305/google_ideahub1_beta/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -144,29 +144,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-ideahub1_beta/3.0.0+20220305/google_ideahub1_beta/client::Delegate) to the -[Method Builder](https://docs.rs/google-ideahub1_beta/3.0.0+20220305/google_ideahub1_beta/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-ideahub1_beta/3.1.0+20220305/google_ideahub1_beta/client::Delegate) to the +[Method Builder](https://docs.rs/google-ideahub1_beta/3.1.0+20220305/google_ideahub1_beta/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-ideahub1_beta/3.0.0+20220305/google_ideahub1_beta/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-ideahub1_beta/3.1.0+20220305/google_ideahub1_beta/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-ideahub1_beta/3.0.0+20220305/google_ideahub1_beta/client::RequestValue) and -[decodable](https://docs.rs/google-ideahub1_beta/3.0.0+20220305/google_ideahub1_beta/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-ideahub1_beta/3.1.0+20220305/google_ideahub1_beta/client::RequestValue) and +[decodable](https://docs.rs/google-ideahub1_beta/3.1.0+20220305/google_ideahub1_beta/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-ideahub1_beta/3.0.0+20220305/google_ideahub1_beta/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-ideahub1_beta/3.1.0+20220305/google_ideahub1_beta/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-ideahub1_beta/3.0.0+20220305/google_ideahub1_beta/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-ideahub1_beta/3.1.0+20220305/google_ideahub1_beta/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-ideahub1_beta/3.0.0+20220305/google_ideahub1_beta/client::RequestValue) are moved +* [request values](https://docs.rs/google-ideahub1_beta/3.1.0+20220305/google_ideahub1_beta/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/ideahub1_beta/src/api.rs b/gen/ideahub1_beta/src/api.rs index 06e0050cba..caf7470b8f 100644 --- a/gen/ideahub1_beta/src/api.rs +++ b/gen/ideahub1_beta/src/api.rs @@ -49,7 +49,7 @@ use crate::client; /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Ideahub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Ideahub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -97,7 +97,7 @@ impl<'a, > Ideahub<> { Ideahub { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://ideahub.googleapis.com/".to_string(), _root_url: "https://ideahub.googleapis.com/".to_string(), } @@ -108,7 +108,7 @@ impl<'a, > Ideahub<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -329,7 +329,7 @@ impl client::ResponseResult for GoogleSearchIdeahubV1betaTopicState {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Ideahub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Ideahub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `properties_idea_activities_create(...)`, `properties_idea_states_patch(...)`, `properties_ideas_list(...)`, `properties_locales_list(...)` and `properties_topic_states_patch(...)` /// // to build up your call. @@ -472,7 +472,7 @@ impl<'a> PlatformMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Ideahub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Ideahub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -728,7 +728,7 @@ impl<'a> PlatformPropertyIdeaActivityCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Ideahub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Ideahub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -995,7 +995,7 @@ impl<'a> PlatformPropertyIdeaStatePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Ideahub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Ideahub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1269,7 +1269,7 @@ impl<'a> PlatformPropertyIdeaListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Ideahub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Ideahub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1520,7 +1520,7 @@ impl<'a> PlatformPropertyLocaleListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Ideahub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Ideahub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/ideahub1_beta/src/lib.rs b/gen/ideahub1_beta/src/lib.rs index 4c74c735bb..d2e7bc1336 100644 --- a/gen/ideahub1_beta/src/lib.rs +++ b/gen/ideahub1_beta/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Ideahub* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *ideahub:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Ideahub* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *ideahub:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Ideahub* *v1_beta* API can be found at the //! [official documentation site](https://console.cloud.google.com/apis/library/ideahub.googleapis.com). @@ -92,7 +92,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Ideahub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Ideahub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/identitytoolkit3-cli/Cargo.toml b/gen/identitytoolkit3-cli/Cargo.toml index 9a4f712804..bfa32c62dc 100644 --- a/gen/identitytoolkit3-cli/Cargo.toml +++ b/gen/identitytoolkit3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-identitytoolkit3-cli" -version = "3.0.0+20180723" +version = "3.1.0+20180723" authors = ["Sebastian Thiel "] description = "A complete library to interact with Identity Toolkit (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/identitytoolkit3-cli" @@ -20,12 +20,12 @@ name = "identitytoolkit3" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-identitytoolkit3] path = "../identitytoolkit3" -version = "3.0.0+20180723" +version = "3.1.0+20180723" diff --git a/gen/identitytoolkit3-cli/README.md b/gen/identitytoolkit3-cli/README.md index 427a7063c7..a188972ca9 100644 --- a/gen/identitytoolkit3-cli/README.md +++ b/gen/identitytoolkit3-cli/README.md @@ -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 *Identity Toolkit* API at revision *20180723*. The CLI is at version *3.0.0*. +This documentation was generated from the *Identity Toolkit* API at revision *20180723*. The CLI is at version *3.1.0*. ```bash identitytoolkit3 [options] diff --git a/gen/identitytoolkit3-cli/mkdocs.yml b/gen/identitytoolkit3-cli/mkdocs.yml index 2d51a6d9de..e36315c864 100644 --- a/gen/identitytoolkit3-cli/mkdocs.yml +++ b/gen/identitytoolkit3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Identity Toolkit v3.0.0+20180723 +site_name: Identity Toolkit v3.1.0+20180723 site_url: http://byron.github.io/google-apis-rs/google-identitytoolkit3-cli site_description: A complete library to interact with Identity Toolkit (protocol v3) diff --git a/gen/identitytoolkit3-cli/src/main.rs b/gen/identitytoolkit3-cli/src/main.rs index 59a3afe94d..5567d4032f 100644 --- a/gen/identitytoolkit3-cli/src/main.rs +++ b/gen/identitytoolkit3-cli/src/main.rs @@ -1911,7 +1911,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/identitytoolkit3", 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::IdentityToolkit::new(client, auth), @@ -2372,7 +2378,7 @@ async fn main() { let mut app = App::new("identitytoolkit3") .author("Sebastian Thiel ") - .version("3.0.0+20180723") + .version("3.1.0+20180723") .about("Help the third party sites to implement federated login.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_identitytoolkit3_cli") .arg(Arg::with_name("url") diff --git a/gen/identitytoolkit3/Cargo.toml b/gen/identitytoolkit3/Cargo.toml index df075e9037..7b6bb6cbfc 100644 --- a/gen/identitytoolkit3/Cargo.toml +++ b/gen/identitytoolkit3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-identitytoolkit3" -version = "3.0.0+20180723" +version = "3.1.0+20180723" authors = ["Sebastian Thiel "] description = "A complete library to interact with Identity Toolkit (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/identitytoolkit3" homepage = "https://developers.google.com/identity-toolkit/v3/" -documentation = "https://docs.rs/google-identitytoolkit3/3.0.0+20180723" +documentation = "https://docs.rs/google-identitytoolkit3/3.1.0+20180723" license = "MIT" keywords = ["identitytoolkit", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/identitytoolkit3/README.md b/gen/identitytoolkit3/README.md index 092ab97d97..901efdf3da 100644 --- a/gen/identitytoolkit3/README.md +++ b/gen/identitytoolkit3/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-identitytoolkit3` library allows access to all features of the *Google Identity Toolkit* service. -This documentation was generated from *Identity Toolkit* crate version *3.0.0+20180723*, where *20180723* is the exact revision of the *identitytoolkit:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Identity Toolkit* crate version *3.1.0+20180723*, where *20180723* is the exact revision of the *identitytoolkit:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Identity Toolkit* *v3* API can be found at the [official documentation site](https://developers.google.com/identity-toolkit/v3/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-identitytoolkit3/3.0.0+20180723/google_identitytoolkit3/IdentityToolkit) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-identitytoolkit3/3.1.0+20180723/google_identitytoolkit3/IdentityToolkit) ... -* [relyingparty](https://docs.rs/google-identitytoolkit3/3.0.0+20180723/google_identitytoolkit3/api::Relyingparty) - * [*create auth uri*](https://docs.rs/google-identitytoolkit3/3.0.0+20180723/google_identitytoolkit3/api::RelyingpartyCreateAuthUriCall), [*delete account*](https://docs.rs/google-identitytoolkit3/3.0.0+20180723/google_identitytoolkit3/api::RelyingpartyDeleteAccountCall), [*download account*](https://docs.rs/google-identitytoolkit3/3.0.0+20180723/google_identitytoolkit3/api::RelyingpartyDownloadAccountCall), [*email link signin*](https://docs.rs/google-identitytoolkit3/3.0.0+20180723/google_identitytoolkit3/api::RelyingpartyEmailLinkSigninCall), [*get account info*](https://docs.rs/google-identitytoolkit3/3.0.0+20180723/google_identitytoolkit3/api::RelyingpartyGetAccountInfoCall), [*get oob confirmation code*](https://docs.rs/google-identitytoolkit3/3.0.0+20180723/google_identitytoolkit3/api::RelyingpartyGetOobConfirmationCodeCall), [*get project config*](https://docs.rs/google-identitytoolkit3/3.0.0+20180723/google_identitytoolkit3/api::RelyingpartyGetProjectConfigCall), [*get public keys*](https://docs.rs/google-identitytoolkit3/3.0.0+20180723/google_identitytoolkit3/api::RelyingpartyGetPublicKeyCall), [*get recaptcha param*](https://docs.rs/google-identitytoolkit3/3.0.0+20180723/google_identitytoolkit3/api::RelyingpartyGetRecaptchaParamCall), [*reset password*](https://docs.rs/google-identitytoolkit3/3.0.0+20180723/google_identitytoolkit3/api::RelyingpartyResetPasswordCall), [*send verification code*](https://docs.rs/google-identitytoolkit3/3.0.0+20180723/google_identitytoolkit3/api::RelyingpartySendVerificationCodeCall), [*set account info*](https://docs.rs/google-identitytoolkit3/3.0.0+20180723/google_identitytoolkit3/api::RelyingpartySetAccountInfoCall), [*set project config*](https://docs.rs/google-identitytoolkit3/3.0.0+20180723/google_identitytoolkit3/api::RelyingpartySetProjectConfigCall), [*sign out user*](https://docs.rs/google-identitytoolkit3/3.0.0+20180723/google_identitytoolkit3/api::RelyingpartySignOutUserCall), [*signup new user*](https://docs.rs/google-identitytoolkit3/3.0.0+20180723/google_identitytoolkit3/api::RelyingpartySignupNewUserCall), [*upload account*](https://docs.rs/google-identitytoolkit3/3.0.0+20180723/google_identitytoolkit3/api::RelyingpartyUploadAccountCall), [*verify assertion*](https://docs.rs/google-identitytoolkit3/3.0.0+20180723/google_identitytoolkit3/api::RelyingpartyVerifyAssertionCall), [*verify custom token*](https://docs.rs/google-identitytoolkit3/3.0.0+20180723/google_identitytoolkit3/api::RelyingpartyVerifyCustomTokenCall), [*verify password*](https://docs.rs/google-identitytoolkit3/3.0.0+20180723/google_identitytoolkit3/api::RelyingpartyVerifyPasswordCall) and [*verify phone number*](https://docs.rs/google-identitytoolkit3/3.0.0+20180723/google_identitytoolkit3/api::RelyingpartyVerifyPhoneNumberCall) +* [relyingparty](https://docs.rs/google-identitytoolkit3/3.1.0+20180723/google_identitytoolkit3/api::Relyingparty) + * [*create auth uri*](https://docs.rs/google-identitytoolkit3/3.1.0+20180723/google_identitytoolkit3/api::RelyingpartyCreateAuthUriCall), [*delete account*](https://docs.rs/google-identitytoolkit3/3.1.0+20180723/google_identitytoolkit3/api::RelyingpartyDeleteAccountCall), [*download account*](https://docs.rs/google-identitytoolkit3/3.1.0+20180723/google_identitytoolkit3/api::RelyingpartyDownloadAccountCall), [*email link signin*](https://docs.rs/google-identitytoolkit3/3.1.0+20180723/google_identitytoolkit3/api::RelyingpartyEmailLinkSigninCall), [*get account info*](https://docs.rs/google-identitytoolkit3/3.1.0+20180723/google_identitytoolkit3/api::RelyingpartyGetAccountInfoCall), [*get oob confirmation code*](https://docs.rs/google-identitytoolkit3/3.1.0+20180723/google_identitytoolkit3/api::RelyingpartyGetOobConfirmationCodeCall), [*get project config*](https://docs.rs/google-identitytoolkit3/3.1.0+20180723/google_identitytoolkit3/api::RelyingpartyGetProjectConfigCall), [*get public keys*](https://docs.rs/google-identitytoolkit3/3.1.0+20180723/google_identitytoolkit3/api::RelyingpartyGetPublicKeyCall), [*get recaptcha param*](https://docs.rs/google-identitytoolkit3/3.1.0+20180723/google_identitytoolkit3/api::RelyingpartyGetRecaptchaParamCall), [*reset password*](https://docs.rs/google-identitytoolkit3/3.1.0+20180723/google_identitytoolkit3/api::RelyingpartyResetPasswordCall), [*send verification code*](https://docs.rs/google-identitytoolkit3/3.1.0+20180723/google_identitytoolkit3/api::RelyingpartySendVerificationCodeCall), [*set account info*](https://docs.rs/google-identitytoolkit3/3.1.0+20180723/google_identitytoolkit3/api::RelyingpartySetAccountInfoCall), [*set project config*](https://docs.rs/google-identitytoolkit3/3.1.0+20180723/google_identitytoolkit3/api::RelyingpartySetProjectConfigCall), [*sign out user*](https://docs.rs/google-identitytoolkit3/3.1.0+20180723/google_identitytoolkit3/api::RelyingpartySignOutUserCall), [*signup new user*](https://docs.rs/google-identitytoolkit3/3.1.0+20180723/google_identitytoolkit3/api::RelyingpartySignupNewUserCall), [*upload account*](https://docs.rs/google-identitytoolkit3/3.1.0+20180723/google_identitytoolkit3/api::RelyingpartyUploadAccountCall), [*verify assertion*](https://docs.rs/google-identitytoolkit3/3.1.0+20180723/google_identitytoolkit3/api::RelyingpartyVerifyAssertionCall), [*verify custom token*](https://docs.rs/google-identitytoolkit3/3.1.0+20180723/google_identitytoolkit3/api::RelyingpartyVerifyCustomTokenCall), [*verify password*](https://docs.rs/google-identitytoolkit3/3.1.0+20180723/google_identitytoolkit3/api::RelyingpartyVerifyPasswordCall) and [*verify phone number*](https://docs.rs/google-identitytoolkit3/3.1.0+20180723/google_identitytoolkit3/api::RelyingpartyVerifyPhoneNumberCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-identitytoolkit3/3.0.0+20180723/google_identitytoolkit3/IdentityToolkit)** +* **[Hub](https://docs.rs/google-identitytoolkit3/3.1.0+20180723/google_identitytoolkit3/IdentityToolkit)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-identitytoolkit3/3.0.0+20180723/google_identitytoolkit3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-identitytoolkit3/3.0.0+20180723/google_identitytoolkit3/client::CallBuilder) -* **[Resources](https://docs.rs/google-identitytoolkit3/3.0.0+20180723/google_identitytoolkit3/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-identitytoolkit3/3.1.0+20180723/google_identitytoolkit3/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-identitytoolkit3/3.1.0+20180723/google_identitytoolkit3/client::CallBuilder) +* **[Resources](https://docs.rs/google-identitytoolkit3/3.1.0+20180723/google_identitytoolkit3/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-identitytoolkit3/3.0.0+20180723/google_identitytoolkit3/client::Part)** + * **[Parts](https://docs.rs/google-identitytoolkit3/3.1.0+20180723/google_identitytoolkit3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-identitytoolkit3/3.0.0+20180723/google_identitytoolkit3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-identitytoolkit3/3.1.0+20180723/google_identitytoolkit3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -91,7 +91,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -124,17 +124,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-identitytoolkit3/3.0.0+20180723/google_identitytoolkit3/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-identitytoolkit3/3.1.0+20180723/google_identitytoolkit3/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-identitytoolkit3/3.0.0+20180723/google_identitytoolkit3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-identitytoolkit3/3.1.0+20180723/google_identitytoolkit3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-identitytoolkit3/3.0.0+20180723/google_identitytoolkit3/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-identitytoolkit3/3.1.0+20180723/google_identitytoolkit3/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-identitytoolkit3/3.0.0+20180723/google_identitytoolkit3/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-identitytoolkit3/3.1.0+20180723/google_identitytoolkit3/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -144,29 +144,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-identitytoolkit3/3.0.0+20180723/google_identitytoolkit3/client::Delegate) to the -[Method Builder](https://docs.rs/google-identitytoolkit3/3.0.0+20180723/google_identitytoolkit3/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-identitytoolkit3/3.1.0+20180723/google_identitytoolkit3/client::Delegate) to the +[Method Builder](https://docs.rs/google-identitytoolkit3/3.1.0+20180723/google_identitytoolkit3/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-identitytoolkit3/3.0.0+20180723/google_identitytoolkit3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-identitytoolkit3/3.1.0+20180723/google_identitytoolkit3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-identitytoolkit3/3.0.0+20180723/google_identitytoolkit3/client::RequestValue) and -[decodable](https://docs.rs/google-identitytoolkit3/3.0.0+20180723/google_identitytoolkit3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-identitytoolkit3/3.1.0+20180723/google_identitytoolkit3/client::RequestValue) and +[decodable](https://docs.rs/google-identitytoolkit3/3.1.0+20180723/google_identitytoolkit3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-identitytoolkit3/3.0.0+20180723/google_identitytoolkit3/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-identitytoolkit3/3.1.0+20180723/google_identitytoolkit3/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-identitytoolkit3/3.0.0+20180723/google_identitytoolkit3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-identitytoolkit3/3.1.0+20180723/google_identitytoolkit3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-identitytoolkit3/3.0.0+20180723/google_identitytoolkit3/client::RequestValue) are moved +* [request values](https://docs.rs/google-identitytoolkit3/3.1.0+20180723/google_identitytoolkit3/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/identitytoolkit3/src/api.rs b/gen/identitytoolkit3/src/api.rs index 84973914c3..c31baf37dc 100644 --- a/gen/identitytoolkit3/src/api.rs +++ b/gen/identitytoolkit3/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -123,7 +123,7 @@ impl<'a, > IdentityToolkit<> { IdentityToolkit { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/identitytoolkit/v3/relyingparty/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -134,7 +134,7 @@ impl<'a, > IdentityToolkit<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -602,7 +602,7 @@ impl client::ResponseResult for IdentitytoolkitRelyingpartyGetProjectConfigRespo /// * [get public keys relyingparty](RelyingpartyGetPublicKeyCall) (response) /// #[derive(Default, Clone, Debug, Serialize, Deserialize)] -pub struct IdentitytoolkitRelyingpartyGetPublicKeysResponse(Option>); +pub struct IdentitytoolkitRelyingpartyGetPublicKeysResponse(pub Option>); impl client::ResponseResult for IdentitytoolkitRelyingpartyGetPublicKeysResponse {} @@ -1779,7 +1779,7 @@ impl client::Part for UserInfoProviderUserInfo {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create_auth_uri(...)`, `delete_account(...)`, `download_account(...)`, `email_link_signin(...)`, `get_account_info(...)`, `get_oob_confirmation_code(...)`, `get_project_config(...)`, `get_public_keys(...)`, `get_recaptcha_param(...)`, `reset_password(...)`, `send_verification_code(...)`, `set_account_info(...)`, `set_project_config(...)`, `sign_out_user(...)`, `signup_new_user(...)`, `upload_account(...)`, `verify_assertion(...)`, `verify_custom_token(...)`, `verify_password(...)` and `verify_phone_number(...)` /// // to build up your call. @@ -2155,7 +2155,7 @@ impl<'a> RelyingpartyMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2400,7 +2400,7 @@ impl<'a> RelyingpartyCreateAuthUriCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2645,7 +2645,7 @@ impl<'a> RelyingpartyDeleteAccountCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2890,7 +2890,7 @@ impl<'a> RelyingpartyDownloadAccountCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3135,7 +3135,7 @@ impl<'a> RelyingpartyEmailLinkSigninCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3380,7 +3380,7 @@ impl<'a> RelyingpartyGetAccountInfoCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3624,7 +3624,7 @@ impl<'a> RelyingpartyGetOobConfirmationCodeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3863,7 +3863,7 @@ impl<'a> RelyingpartyGetProjectConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4078,7 +4078,7 @@ impl<'a> RelyingpartyGetPublicKeyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4294,7 +4294,7 @@ impl<'a> RelyingpartyGetRecaptchaParamCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4539,7 +4539,7 @@ impl<'a> RelyingpartyResetPasswordCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4784,7 +4784,7 @@ impl<'a> RelyingpartySendVerificationCodeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5029,7 +5029,7 @@ impl<'a> RelyingpartySetAccountInfoCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5274,7 +5274,7 @@ impl<'a> RelyingpartySetProjectConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5519,7 +5519,7 @@ impl<'a> RelyingpartySignOutUserCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5764,7 +5764,7 @@ impl<'a> RelyingpartySignupNewUserCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6009,7 +6009,7 @@ impl<'a> RelyingpartyUploadAccountCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6254,7 +6254,7 @@ impl<'a> RelyingpartyVerifyAssertionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6499,7 +6499,7 @@ impl<'a> RelyingpartyVerifyCustomTokenCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6744,7 +6744,7 @@ impl<'a> RelyingpartyVerifyPasswordCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/identitytoolkit3/src/lib.rs b/gen/identitytoolkit3/src/lib.rs index 75942c0125..a0dfabcefc 100644 --- a/gen/identitytoolkit3/src/lib.rs +++ b/gen/identitytoolkit3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Identity Toolkit* crate version *3.0.0+20180723*, where *20180723* is the exact revision of the *identitytoolkit:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Identity Toolkit* crate version *3.1.0+20180723*, where *20180723* is the exact revision of the *identitytoolkit:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Identity Toolkit* *v3* API can be found at the //! [official documentation site](https://developers.google.com/identity-toolkit/v3/). @@ -92,7 +92,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = IdentityToolkit::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/ids1-cli/Cargo.toml b/gen/ids1-cli/Cargo.toml index 095d4edef3..ccece36c89 100644 --- a/gen/ids1-cli/Cargo.toml +++ b/gen/ids1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-ids1-cli" -version = "3.0.0+20220221" +version = "3.1.0+20220221" authors = ["Sebastian Thiel "] description = "A complete library to interact with IDS (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/ids1-cli" @@ -20,12 +20,12 @@ name = "ids1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-ids1] path = "../ids1" -version = "3.0.0+20220221" +version = "3.1.0+20220221" diff --git a/gen/ids1-cli/README.md b/gen/ids1-cli/README.md index 150beb38e1..7787ba0d6f 100644 --- a/gen/ids1-cli/README.md +++ b/gen/ids1-cli/README.md @@ -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 *IDS* API at revision *20220221*. The CLI is at version *3.0.0*. +This documentation was generated from the *IDS* API at revision *20220221*. The CLI is at version *3.1.0*. ```bash ids1 [options] diff --git a/gen/ids1-cli/mkdocs.yml b/gen/ids1-cli/mkdocs.yml index 6f7d46dbd6..c5dfdbd8dc 100644 --- a/gen/ids1-cli/mkdocs.yml +++ b/gen/ids1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: IDS v3.0.0+20220221 +site_name: IDS v3.1.0+20220221 site_url: http://byron.github.io/google-apis-rs/google-ids1-cli site_description: A complete library to interact with IDS (protocol v1) diff --git a/gen/ids1-cli/src/main.rs b/gen/ids1-cli/src/main.rs index 96fca2190b..45b4e882fb 100644 --- a/gen/ids1-cli/src/main.rs +++ b/gen/ids1-cli/src/main.rs @@ -995,7 +995,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/ids1", 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::IDS::new(client, auth), @@ -1347,7 +1353,7 @@ async fn main() { let mut app = App::new("ids1") .author("Sebastian Thiel ") - .version("3.0.0+20220221") + .version("3.1.0+20220221") .about("Cloud IDS (Cloud Intrusion Detection System) detects malware, spyware, command-and-control attacks, and other network-based threats. Its security efficacy is industry leading, built with Palo Alto Networks technologies. When you use this product, your organization name and consumption levels will be shared with Palo Alto Networks.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_ids1_cli") .arg(Arg::with_name("url") diff --git a/gen/ids1/Cargo.toml b/gen/ids1/Cargo.toml index ebfbcc03e6..96f18526cf 100644 --- a/gen/ids1/Cargo.toml +++ b/gen/ids1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-ids1" -version = "3.0.0+20220221" +version = "3.1.0+20220221" authors = ["Sebastian Thiel "] description = "A complete library to interact with IDS (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/ids1" homepage = "https://cloud.google.com/" -documentation = "https://docs.rs/google-ids1/3.0.0+20220221" +documentation = "https://docs.rs/google-ids1/3.1.0+20220221" license = "MIT" keywords = ["ids", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/ids1/README.md b/gen/ids1/README.md index 9c3ef8b1e4..48f4b05445 100644 --- a/gen/ids1/README.md +++ b/gen/ids1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-ids1` library allows access to all features of the *Google IDS* service. -This documentation was generated from *IDS* crate version *3.0.0+20220221*, where *20220221* is the exact revision of the *ids:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *IDS* crate version *3.1.0+20220221*, where *20220221* is the exact revision of the *ids:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *IDS* *v1* API can be found at the [official documentation site](https://cloud.google.com/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-ids1/3.0.0+20220221/google_ids1/IDS) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-ids1/3.1.0+20220221/google_ids1/IDS) ... * projects - * [*locations endpoints create*](https://docs.rs/google-ids1/3.0.0+20220221/google_ids1/api::ProjectLocationEndpointCreateCall), [*locations endpoints delete*](https://docs.rs/google-ids1/3.0.0+20220221/google_ids1/api::ProjectLocationEndpointDeleteCall), [*locations endpoints get*](https://docs.rs/google-ids1/3.0.0+20220221/google_ids1/api::ProjectLocationEndpointGetCall), [*locations endpoints get iam policy*](https://docs.rs/google-ids1/3.0.0+20220221/google_ids1/api::ProjectLocationEndpointGetIamPolicyCall), [*locations endpoints list*](https://docs.rs/google-ids1/3.0.0+20220221/google_ids1/api::ProjectLocationEndpointListCall), [*locations endpoints set iam policy*](https://docs.rs/google-ids1/3.0.0+20220221/google_ids1/api::ProjectLocationEndpointSetIamPolicyCall), [*locations endpoints test iam permissions*](https://docs.rs/google-ids1/3.0.0+20220221/google_ids1/api::ProjectLocationEndpointTestIamPermissionCall), [*locations get*](https://docs.rs/google-ids1/3.0.0+20220221/google_ids1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-ids1/3.0.0+20220221/google_ids1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-ids1/3.0.0+20220221/google_ids1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-ids1/3.0.0+20220221/google_ids1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-ids1/3.0.0+20220221/google_ids1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-ids1/3.0.0+20220221/google_ids1/api::ProjectLocationOperationListCall) + * [*locations endpoints create*](https://docs.rs/google-ids1/3.1.0+20220221/google_ids1/api::ProjectLocationEndpointCreateCall), [*locations endpoints delete*](https://docs.rs/google-ids1/3.1.0+20220221/google_ids1/api::ProjectLocationEndpointDeleteCall), [*locations endpoints get*](https://docs.rs/google-ids1/3.1.0+20220221/google_ids1/api::ProjectLocationEndpointGetCall), [*locations endpoints get iam policy*](https://docs.rs/google-ids1/3.1.0+20220221/google_ids1/api::ProjectLocationEndpointGetIamPolicyCall), [*locations endpoints list*](https://docs.rs/google-ids1/3.1.0+20220221/google_ids1/api::ProjectLocationEndpointListCall), [*locations endpoints set iam policy*](https://docs.rs/google-ids1/3.1.0+20220221/google_ids1/api::ProjectLocationEndpointSetIamPolicyCall), [*locations endpoints test iam permissions*](https://docs.rs/google-ids1/3.1.0+20220221/google_ids1/api::ProjectLocationEndpointTestIamPermissionCall), [*locations get*](https://docs.rs/google-ids1/3.1.0+20220221/google_ids1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-ids1/3.1.0+20220221/google_ids1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-ids1/3.1.0+20220221/google_ids1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-ids1/3.1.0+20220221/google_ids1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-ids1/3.1.0+20220221/google_ids1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-ids1/3.1.0+20220221/google_ids1/api::ProjectLocationOperationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-ids1/3.0.0+20220221/google_ids1/IDS)** +* **[Hub](https://docs.rs/google-ids1/3.1.0+20220221/google_ids1/IDS)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-ids1/3.0.0+20220221/google_ids1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-ids1/3.0.0+20220221/google_ids1/client::CallBuilder) -* **[Resources](https://docs.rs/google-ids1/3.0.0+20220221/google_ids1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-ids1/3.1.0+20220221/google_ids1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-ids1/3.1.0+20220221/google_ids1/client::CallBuilder) +* **[Resources](https://docs.rs/google-ids1/3.1.0+20220221/google_ids1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-ids1/3.0.0+20220221/google_ids1/client::Part)** + * **[Parts](https://docs.rs/google-ids1/3.1.0+20220221/google_ids1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-ids1/3.0.0+20220221/google_ids1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-ids1/3.1.0+20220221/google_ids1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -93,7 +93,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = IDS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = IDS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -128,17 +128,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-ids1/3.0.0+20220221/google_ids1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-ids1/3.1.0+20220221/google_ids1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-ids1/3.0.0+20220221/google_ids1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-ids1/3.1.0+20220221/google_ids1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-ids1/3.0.0+20220221/google_ids1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-ids1/3.1.0+20220221/google_ids1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-ids1/3.0.0+20220221/google_ids1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-ids1/3.1.0+20220221/google_ids1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -148,29 +148,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-ids1/3.0.0+20220221/google_ids1/client::Delegate) to the -[Method Builder](https://docs.rs/google-ids1/3.0.0+20220221/google_ids1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-ids1/3.1.0+20220221/google_ids1/client::Delegate) to the +[Method Builder](https://docs.rs/google-ids1/3.1.0+20220221/google_ids1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-ids1/3.0.0+20220221/google_ids1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-ids1/3.1.0+20220221/google_ids1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-ids1/3.0.0+20220221/google_ids1/client::RequestValue) and -[decodable](https://docs.rs/google-ids1/3.0.0+20220221/google_ids1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-ids1/3.1.0+20220221/google_ids1/client::RequestValue) and +[decodable](https://docs.rs/google-ids1/3.1.0+20220221/google_ids1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-ids1/3.0.0+20220221/google_ids1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-ids1/3.1.0+20220221/google_ids1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-ids1/3.0.0+20220221/google_ids1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-ids1/3.1.0+20220221/google_ids1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-ids1/3.0.0+20220221/google_ids1/client::RequestValue) are moved +* [request values](https://docs.rs/google-ids1/3.1.0+20220221/google_ids1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/ids1/src/api.rs b/gen/ids1/src/api.rs index db0c741728..4a48a30ec4 100644 --- a/gen/ids1/src/api.rs +++ b/gen/ids1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = IDS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = IDS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -121,7 +121,7 @@ impl<'a, > IDS<> { IDS { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://ids.googleapis.com/".to_string(), _root_url: "https://ids.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > IDS<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -552,7 +552,7 @@ impl client::ResponseResult for TestIamPermissionsResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = IDS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = IDS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_endpoints_create(...)`, `locations_endpoints_delete(...)`, `locations_endpoints_get(...)`, `locations_endpoints_get_iam_policy(...)`, `locations_endpoints_list(...)`, `locations_endpoints_set_iam_policy(...)`, `locations_endpoints_test_iam_permissions(...)`, `locations_get(...)`, `locations_list(...)`, `locations_operations_cancel(...)`, `locations_operations_delete(...)`, `locations_operations_get(...)` and `locations_operations_list(...)` /// // to build up your call. @@ -844,7 +844,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = IDS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = IDS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1153,7 +1153,7 @@ impl<'a> ProjectLocationEndpointCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = IDS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = IDS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1421,7 +1421,7 @@ impl<'a> ProjectLocationEndpointDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = IDS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = IDS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1677,7 +1677,7 @@ impl<'a> ProjectLocationEndpointGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = IDS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = IDS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1945,7 +1945,7 @@ impl<'a> ProjectLocationEndpointGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = IDS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = IDS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2250,7 +2250,7 @@ impl<'a> ProjectLocationEndpointListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = IDS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = IDS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2536,7 +2536,7 @@ impl<'a> ProjectLocationEndpointSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = IDS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = IDS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2822,7 +2822,7 @@ impl<'a> ProjectLocationEndpointTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = IDS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = IDS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3107,7 +3107,7 @@ impl<'a> ProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = IDS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = IDS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3363,7 +3363,7 @@ impl<'a> ProjectLocationOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = IDS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = IDS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3619,7 +3619,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = IDS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = IDS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3911,7 +3911,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = IDS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = IDS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4167,7 +4167,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = IDS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = IDS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/ids1/src/lib.rs b/gen/ids1/src/lib.rs index 9cf81bc3ed..4f90066935 100644 --- a/gen/ids1/src/lib.rs +++ b/gen/ids1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *IDS* crate version *3.0.0+20220221*, where *20220221* is the exact revision of the *ids:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *IDS* crate version *3.1.0+20220221*, where *20220221* is the exact revision of the *ids:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *IDS* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/). @@ -94,7 +94,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = IDS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = IDS::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/indexing3-cli/Cargo.toml b/gen/indexing3-cli/Cargo.toml index ae6ed9f0f9..4f7934696e 100644 --- a/gen/indexing3-cli/Cargo.toml +++ b/gen/indexing3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-indexing3-cli" -version = "3.0.0+20220126" +version = "3.1.0+20220126" authors = ["Sebastian Thiel "] description = "A complete library to interact with Indexing (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/indexing3-cli" @@ -20,12 +20,12 @@ name = "indexing3" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-indexing3] path = "../indexing3" -version = "3.0.0+20220126" +version = "3.1.0+20220126" diff --git a/gen/indexing3-cli/README.md b/gen/indexing3-cli/README.md index f240203e79..e5d68487bb 100644 --- a/gen/indexing3-cli/README.md +++ b/gen/indexing3-cli/README.md @@ -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 *Indexing* API at revision *20220126*. The CLI is at version *3.0.0*. +This documentation was generated from the *Indexing* API at revision *20220126*. The CLI is at version *3.1.0*. ```bash indexing3 [options] diff --git a/gen/indexing3-cli/mkdocs.yml b/gen/indexing3-cli/mkdocs.yml index 36e8910db0..8d3c75cb5a 100644 --- a/gen/indexing3-cli/mkdocs.yml +++ b/gen/indexing3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Indexing v3.0.0+20220126 +site_name: Indexing v3.1.0+20220126 site_url: http://byron.github.io/google-apis-rs/google-indexing3-cli site_description: A complete library to interact with Indexing (protocol v3) diff --git a/gen/indexing3-cli/src/main.rs b/gen/indexing3-cli/src/main.rs index 46023ebda1..2db6b65fa9 100644 --- a/gen/indexing3-cli/src/main.rs +++ b/gen/indexing3-cli/src/main.rs @@ -238,7 +238,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/indexing3", 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::Indexing::new(client, auth), @@ -318,7 +324,7 @@ async fn main() { let mut app = App::new("indexing3") .author("Sebastian Thiel ") - .version("3.0.0+20220126") + .version("3.1.0+20220126") .about("Notifies Google when your web pages change.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_indexing3_cli") .arg(Arg::with_name("url") diff --git a/gen/indexing3/Cargo.toml b/gen/indexing3/Cargo.toml index 137eb94de0..52ac0e17d3 100644 --- a/gen/indexing3/Cargo.toml +++ b/gen/indexing3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-indexing3" -version = "3.0.0+20220126" +version = "3.1.0+20220126" authors = ["Sebastian Thiel "] description = "A complete library to interact with Indexing (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/indexing3" homepage = "https://developers.google.com/search/apis/indexing-api/" -documentation = "https://docs.rs/google-indexing3/3.0.0+20220126" +documentation = "https://docs.rs/google-indexing3/3.1.0+20220126" license = "MIT" keywords = ["indexing", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/indexing3/README.md b/gen/indexing3/README.md index 2d36acfa2b..1f0c95fcc7 100644 --- a/gen/indexing3/README.md +++ b/gen/indexing3/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-indexing3` library allows access to all features of the *Google Indexing* service. -This documentation was generated from *Indexing* crate version *3.0.0+20220126*, where *20220126* is the exact revision of the *indexing:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Indexing* crate version *3.1.0+20220126*, where *20220126* is the exact revision of the *indexing:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Indexing* *v3* API can be found at the [official documentation site](https://developers.google.com/search/apis/indexing-api/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-indexing3/3.0.0+20220126/google_indexing3/Indexing) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-indexing3/3.1.0+20220126/google_indexing3/Indexing) ... -* [url notifications](https://docs.rs/google-indexing3/3.0.0+20220126/google_indexing3/api::UrlNotification) - * [*get metadata*](https://docs.rs/google-indexing3/3.0.0+20220126/google_indexing3/api::UrlNotificationGetMetadataCall) and [*publish*](https://docs.rs/google-indexing3/3.0.0+20220126/google_indexing3/api::UrlNotificationPublishCall) +* [url notifications](https://docs.rs/google-indexing3/3.1.0+20220126/google_indexing3/api::UrlNotification) + * [*get metadata*](https://docs.rs/google-indexing3/3.1.0+20220126/google_indexing3/api::UrlNotificationGetMetadataCall) and [*publish*](https://docs.rs/google-indexing3/3.1.0+20220126/google_indexing3/api::UrlNotificationPublishCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-indexing3/3.0.0+20220126/google_indexing3/Indexing)** +* **[Hub](https://docs.rs/google-indexing3/3.1.0+20220126/google_indexing3/Indexing)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-indexing3/3.0.0+20220126/google_indexing3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-indexing3/3.0.0+20220126/google_indexing3/client::CallBuilder) -* **[Resources](https://docs.rs/google-indexing3/3.0.0+20220126/google_indexing3/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-indexing3/3.1.0+20220126/google_indexing3/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-indexing3/3.1.0+20220126/google_indexing3/client::CallBuilder) +* **[Resources](https://docs.rs/google-indexing3/3.1.0+20220126/google_indexing3/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-indexing3/3.0.0+20220126/google_indexing3/client::Part)** + * **[Parts](https://docs.rs/google-indexing3/3.1.0+20220126/google_indexing3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-indexing3/3.0.0+20220126/google_indexing3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-indexing3/3.1.0+20220126/google_indexing3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -91,7 +91,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Indexing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Indexing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -120,17 +120,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-indexing3/3.0.0+20220126/google_indexing3/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-indexing3/3.1.0+20220126/google_indexing3/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-indexing3/3.0.0+20220126/google_indexing3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-indexing3/3.1.0+20220126/google_indexing3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-indexing3/3.0.0+20220126/google_indexing3/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-indexing3/3.1.0+20220126/google_indexing3/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-indexing3/3.0.0+20220126/google_indexing3/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-indexing3/3.1.0+20220126/google_indexing3/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -140,29 +140,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-indexing3/3.0.0+20220126/google_indexing3/client::Delegate) to the -[Method Builder](https://docs.rs/google-indexing3/3.0.0+20220126/google_indexing3/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-indexing3/3.1.0+20220126/google_indexing3/client::Delegate) to the +[Method Builder](https://docs.rs/google-indexing3/3.1.0+20220126/google_indexing3/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-indexing3/3.0.0+20220126/google_indexing3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-indexing3/3.1.0+20220126/google_indexing3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-indexing3/3.0.0+20220126/google_indexing3/client::RequestValue) and -[decodable](https://docs.rs/google-indexing3/3.0.0+20220126/google_indexing3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-indexing3/3.1.0+20220126/google_indexing3/client::RequestValue) and +[decodable](https://docs.rs/google-indexing3/3.1.0+20220126/google_indexing3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-indexing3/3.0.0+20220126/google_indexing3/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-indexing3/3.1.0+20220126/google_indexing3/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-indexing3/3.0.0+20220126/google_indexing3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-indexing3/3.1.0+20220126/google_indexing3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-indexing3/3.0.0+20220126/google_indexing3/client::RequestValue) are moved +* [request values](https://docs.rs/google-indexing3/3.1.0+20220126/google_indexing3/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/indexing3/src/api.rs b/gen/indexing3/src/api.rs index 2a2a35cfaf..7dcf8abbd5 100644 --- a/gen/indexing3/src/api.rs +++ b/gen/indexing3/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Indexing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Indexing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -114,7 +114,7 @@ impl<'a, > Indexing<> { Indexing { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://indexing.googleapis.com/".to_string(), _root_url: "https://indexing.googleapis.com/".to_string(), } @@ -125,7 +125,7 @@ impl<'a, > Indexing<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -248,7 +248,7 @@ impl client::ResponseResult for UrlNotificationMetadata {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Indexing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Indexing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get_metadata(...)` and `publish(...)` /// // to build up your call. @@ -326,7 +326,7 @@ impl<'a> UrlNotificationMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Indexing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Indexing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -558,7 +558,7 @@ impl<'a> UrlNotificationGetMetadataCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Indexing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Indexing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/indexing3/src/lib.rs b/gen/indexing3/src/lib.rs index cc7642ace1..e36d8624d6 100644 --- a/gen/indexing3/src/lib.rs +++ b/gen/indexing3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Indexing* crate version *3.0.0+20220126*, where *20220126* is the exact revision of the *indexing:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Indexing* crate version *3.1.0+20220126*, where *20220126* is the exact revision of the *indexing:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Indexing* *v3* API can be found at the //! [official documentation site](https://developers.google.com/search/apis/indexing-api/). @@ -92,7 +92,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Indexing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Indexing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/jobs3-cli/Cargo.toml b/gen/jobs3-cli/Cargo.toml index 69ae5ccf60..2fafbbde98 100644 --- a/gen/jobs3-cli/Cargo.toml +++ b/gen/jobs3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-jobs3-cli" -version = "3.0.0+20220211" +version = "3.1.0+20220211" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Talent Solution (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/jobs3-cli" @@ -20,12 +20,12 @@ name = "jobs3" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-jobs3] path = "../jobs3" -version = "3.0.0+20220211" +version = "3.1.0+20220211" diff --git a/gen/jobs3-cli/README.md b/gen/jobs3-cli/README.md index 59793dbb46..eec344bad9 100644 --- a/gen/jobs3-cli/README.md +++ b/gen/jobs3-cli/README.md @@ -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 *Cloud Talent Solution* API at revision *20220211*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Talent Solution* API at revision *20220211*. The CLI is at version *3.1.0*. ```bash jobs3 [options] diff --git a/gen/jobs3-cli/mkdocs.yml b/gen/jobs3-cli/mkdocs.yml index 7c10214fcc..5cb3bd4d48 100644 --- a/gen/jobs3-cli/mkdocs.yml +++ b/gen/jobs3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Talent Solution v3.0.0+20220211 +site_name: Cloud Talent Solution v3.1.0+20220211 site_url: http://byron.github.io/google-apis-rs/google-jobs3-cli site_description: A complete library to interact with Cloud Talent Solution (protocol v3) diff --git a/gen/jobs3-cli/src/main.rs b/gen/jobs3-cli/src/main.rs index 5de09806dd..fe85723a3c 100644 --- a/gen/jobs3-cli/src/main.rs +++ b/gen/jobs3-cli/src/main.rs @@ -1457,7 +1457,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/jobs3", 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::CloudTalentSolution::new(client, auth), @@ -1877,7 +1883,7 @@ async fn main() { let mut app = App::new("jobs3") .author("Sebastian Thiel ") - .version("3.0.0+20220211") + .version("3.1.0+20220211") .about("Cloud Talent Solution provides the capability to create, read, update, and delete job postings, as well as search jobs based on keywords and filters. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_jobs3_cli") .arg(Arg::with_name("url") diff --git a/gen/jobs3/Cargo.toml b/gen/jobs3/Cargo.toml index 9679ddc887..4aa19a01bd 100644 --- a/gen/jobs3/Cargo.toml +++ b/gen/jobs3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-jobs3" -version = "3.0.0+20220211" +version = "3.1.0+20220211" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Talent Solution (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/jobs3" homepage = "https://cloud.google.com/talent-solution/job-search/docs/" -documentation = "https://docs.rs/google-jobs3/3.0.0+20220211" +documentation = "https://docs.rs/google-jobs3/3.1.0+20220211" license = "MIT" keywords = ["jobs", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/jobs3/README.md b/gen/jobs3/README.md index deadeb16fa..dbee220d84 100644 --- a/gen/jobs3/README.md +++ b/gen/jobs3/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-jobs3` library allows access to all features of the *Google Cloud Talent Solution* service. -This documentation was generated from *Cloud Talent Solution* crate version *3.0.0+20220211*, where *20220211* is the exact revision of the *jobs:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Talent Solution* crate version *3.1.0+20220211*, where *20220211* is the exact revision of the *jobs:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Talent Solution* *v3* API can be found at the [official documentation site](https://cloud.google.com/talent-solution/job-search/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-jobs3/3.0.0+20220211/google_jobs3/CloudTalentSolution) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-jobs3/3.1.0+20220211/google_jobs3/CloudTalentSolution) ... * projects - * [*client events create*](https://docs.rs/google-jobs3/3.0.0+20220211/google_jobs3/api::ProjectClientEventCreateCall), [*companies create*](https://docs.rs/google-jobs3/3.0.0+20220211/google_jobs3/api::ProjectCompanyCreateCall), [*companies delete*](https://docs.rs/google-jobs3/3.0.0+20220211/google_jobs3/api::ProjectCompanyDeleteCall), [*companies get*](https://docs.rs/google-jobs3/3.0.0+20220211/google_jobs3/api::ProjectCompanyGetCall), [*companies list*](https://docs.rs/google-jobs3/3.0.0+20220211/google_jobs3/api::ProjectCompanyListCall), [*companies patch*](https://docs.rs/google-jobs3/3.0.0+20220211/google_jobs3/api::ProjectCompanyPatchCall), [*complete*](https://docs.rs/google-jobs3/3.0.0+20220211/google_jobs3/api::ProjectCompleteCall), [*jobs batch delete*](https://docs.rs/google-jobs3/3.0.0+20220211/google_jobs3/api::ProjectJobBatchDeleteCall), [*jobs create*](https://docs.rs/google-jobs3/3.0.0+20220211/google_jobs3/api::ProjectJobCreateCall), [*jobs delete*](https://docs.rs/google-jobs3/3.0.0+20220211/google_jobs3/api::ProjectJobDeleteCall), [*jobs get*](https://docs.rs/google-jobs3/3.0.0+20220211/google_jobs3/api::ProjectJobGetCall), [*jobs list*](https://docs.rs/google-jobs3/3.0.0+20220211/google_jobs3/api::ProjectJobListCall), [*jobs patch*](https://docs.rs/google-jobs3/3.0.0+20220211/google_jobs3/api::ProjectJobPatchCall), [*jobs search*](https://docs.rs/google-jobs3/3.0.0+20220211/google_jobs3/api::ProjectJobSearchCall) and [*jobs search for alert*](https://docs.rs/google-jobs3/3.0.0+20220211/google_jobs3/api::ProjectJobSearchForAlertCall) + * [*client events create*](https://docs.rs/google-jobs3/3.1.0+20220211/google_jobs3/api::ProjectClientEventCreateCall), [*companies create*](https://docs.rs/google-jobs3/3.1.0+20220211/google_jobs3/api::ProjectCompanyCreateCall), [*companies delete*](https://docs.rs/google-jobs3/3.1.0+20220211/google_jobs3/api::ProjectCompanyDeleteCall), [*companies get*](https://docs.rs/google-jobs3/3.1.0+20220211/google_jobs3/api::ProjectCompanyGetCall), [*companies list*](https://docs.rs/google-jobs3/3.1.0+20220211/google_jobs3/api::ProjectCompanyListCall), [*companies patch*](https://docs.rs/google-jobs3/3.1.0+20220211/google_jobs3/api::ProjectCompanyPatchCall), [*complete*](https://docs.rs/google-jobs3/3.1.0+20220211/google_jobs3/api::ProjectCompleteCall), [*jobs batch delete*](https://docs.rs/google-jobs3/3.1.0+20220211/google_jobs3/api::ProjectJobBatchDeleteCall), [*jobs create*](https://docs.rs/google-jobs3/3.1.0+20220211/google_jobs3/api::ProjectJobCreateCall), [*jobs delete*](https://docs.rs/google-jobs3/3.1.0+20220211/google_jobs3/api::ProjectJobDeleteCall), [*jobs get*](https://docs.rs/google-jobs3/3.1.0+20220211/google_jobs3/api::ProjectJobGetCall), [*jobs list*](https://docs.rs/google-jobs3/3.1.0+20220211/google_jobs3/api::ProjectJobListCall), [*jobs patch*](https://docs.rs/google-jobs3/3.1.0+20220211/google_jobs3/api::ProjectJobPatchCall), [*jobs search*](https://docs.rs/google-jobs3/3.1.0+20220211/google_jobs3/api::ProjectJobSearchCall) and [*jobs search for alert*](https://docs.rs/google-jobs3/3.1.0+20220211/google_jobs3/api::ProjectJobSearchForAlertCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-jobs3/3.0.0+20220211/google_jobs3/CloudTalentSolution)** +* **[Hub](https://docs.rs/google-jobs3/3.1.0+20220211/google_jobs3/CloudTalentSolution)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-jobs3/3.0.0+20220211/google_jobs3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-jobs3/3.0.0+20220211/google_jobs3/client::CallBuilder) -* **[Resources](https://docs.rs/google-jobs3/3.0.0+20220211/google_jobs3/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-jobs3/3.1.0+20220211/google_jobs3/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-jobs3/3.1.0+20220211/google_jobs3/client::CallBuilder) +* **[Resources](https://docs.rs/google-jobs3/3.1.0+20220211/google_jobs3/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-jobs3/3.0.0+20220211/google_jobs3/client::Part)** + * **[Parts](https://docs.rs/google-jobs3/3.1.0+20220211/google_jobs3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-jobs3/3.0.0+20220211/google_jobs3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-jobs3/3.1.0+20220211/google_jobs3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -93,7 +93,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -126,17 +126,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-jobs3/3.0.0+20220211/google_jobs3/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-jobs3/3.1.0+20220211/google_jobs3/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-jobs3/3.0.0+20220211/google_jobs3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-jobs3/3.1.0+20220211/google_jobs3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-jobs3/3.0.0+20220211/google_jobs3/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-jobs3/3.1.0+20220211/google_jobs3/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-jobs3/3.0.0+20220211/google_jobs3/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-jobs3/3.1.0+20220211/google_jobs3/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -146,29 +146,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-jobs3/3.0.0+20220211/google_jobs3/client::Delegate) to the -[Method Builder](https://docs.rs/google-jobs3/3.0.0+20220211/google_jobs3/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-jobs3/3.1.0+20220211/google_jobs3/client::Delegate) to the +[Method Builder](https://docs.rs/google-jobs3/3.1.0+20220211/google_jobs3/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-jobs3/3.0.0+20220211/google_jobs3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-jobs3/3.1.0+20220211/google_jobs3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-jobs3/3.0.0+20220211/google_jobs3/client::RequestValue) and -[decodable](https://docs.rs/google-jobs3/3.0.0+20220211/google_jobs3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-jobs3/3.1.0+20220211/google_jobs3/client::RequestValue) and +[decodable](https://docs.rs/google-jobs3/3.1.0+20220211/google_jobs3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-jobs3/3.0.0+20220211/google_jobs3/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-jobs3/3.1.0+20220211/google_jobs3/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-jobs3/3.0.0+20220211/google_jobs3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-jobs3/3.1.0+20220211/google_jobs3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-jobs3/3.0.0+20220211/google_jobs3/client::RequestValue) are moved +* [request values](https://docs.rs/google-jobs3/3.1.0+20220211/google_jobs3/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/jobs3/src/api.rs b/gen/jobs3/src/api.rs index 6a8d118a20..82cab5dfb4 100644 --- a/gen/jobs3/src/api.rs +++ b/gen/jobs3/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -123,7 +123,7 @@ impl<'a, > CloudTalentSolution<> { CloudTalentSolution { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://jobs.googleapis.com/".to_string(), _root_url: "https://jobs.googleapis.com/".to_string(), } @@ -134,7 +134,7 @@ impl<'a, > CloudTalentSolution<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1409,7 +1409,7 @@ impl client::RequestValue for UpdateJobRequest {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `client_events_create(...)`, `companies_create(...)`, `companies_delete(...)`, `companies_get(...)`, `companies_list(...)`, `companies_patch(...)`, `complete(...)`, `jobs_batch_delete(...)`, `jobs_create(...)`, `jobs_delete(...)`, `jobs_get(...)`, `jobs_list(...)`, `jobs_patch(...)`, `jobs_search(...)` and `jobs_search_for_alert(...)` /// // to build up your call. @@ -1743,7 +1743,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2029,7 +2029,7 @@ impl<'a> ProjectClientEventCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2314,7 +2314,7 @@ impl<'a> ProjectCompanyCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2570,7 +2570,7 @@ impl<'a> ProjectCompanyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2826,7 +2826,7 @@ impl<'a> ProjectCompanyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3119,7 +3119,7 @@ impl<'a> ProjectCompanyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3405,7 +3405,7 @@ impl<'a> ProjectCompanyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3691,7 +3691,7 @@ impl<'a> ProjectJobBatchDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3976,7 +3976,7 @@ impl<'a> ProjectJobCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4232,7 +4232,7 @@ impl<'a> ProjectJobDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4488,7 +4488,7 @@ impl<'a> ProjectJobGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4793,7 +4793,7 @@ impl<'a> ProjectJobListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5079,7 +5079,7 @@ impl<'a> ProjectJobPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5365,7 +5365,7 @@ impl<'a> ProjectJobSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5650,7 +5650,7 @@ impl<'a> ProjectJobSearchForAlertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/jobs3/src/lib.rs b/gen/jobs3/src/lib.rs index 37d4534f37..1e50ae292f 100644 --- a/gen/jobs3/src/lib.rs +++ b/gen/jobs3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Talent Solution* crate version *3.0.0+20220211*, where *20220211* is the exact revision of the *jobs:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Talent Solution* crate version *3.1.0+20220211*, where *20220211* is the exact revision of the *jobs:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Talent Solution* *v3* API can be found at the //! [official documentation site](https://cloud.google.com/talent-solution/job-search/docs/). @@ -94,7 +94,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/jobs4-cli/Cargo.toml b/gen/jobs4-cli/Cargo.toml index 05cb2593a8..ea87962af1 100644 --- a/gen/jobs4-cli/Cargo.toml +++ b/gen/jobs4-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-jobs4-cli" -version = "3.0.0+20220211" +version = "3.1.0+20220211" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Talent Solution (protocol v4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/jobs4-cli" @@ -20,12 +20,12 @@ name = "jobs4" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-jobs4] path = "../jobs4" -version = "3.0.0+20220211" +version = "3.1.0+20220211" diff --git a/gen/jobs4-cli/README.md b/gen/jobs4-cli/README.md index a6f3339cf6..985fd55304 100644 --- a/gen/jobs4-cli/README.md +++ b/gen/jobs4-cli/README.md @@ -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 *Cloud Talent Solution* API at revision *20220211*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Talent Solution* API at revision *20220211*. The CLI is at version *3.1.0*. ```bash jobs4 [options] diff --git a/gen/jobs4-cli/mkdocs.yml b/gen/jobs4-cli/mkdocs.yml index 61ed25b20e..c9c2e7707c 100644 --- a/gen/jobs4-cli/mkdocs.yml +++ b/gen/jobs4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Talent Solution v3.0.0+20220211 +site_name: Cloud Talent Solution v3.1.0+20220211 site_url: http://byron.github.io/google-apis-rs/google-jobs4-cli site_description: A complete library to interact with Cloud Talent Solution (protocol v4) diff --git a/gen/jobs4-cli/src/main.rs b/gen/jobs4-cli/src/main.rs index 9f8a8bbb4c..42f470c5c6 100644 --- a/gen/jobs4-cli/src/main.rs +++ b/gen/jobs4-cli/src/main.rs @@ -2049,7 +2049,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/jobs4", 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::CloudTalentSolution::new(client, auth), @@ -2669,7 +2675,7 @@ async fn main() { let mut app = App::new("jobs4") .author("Sebastian Thiel ") - .version("3.0.0+20220211") + .version("3.1.0+20220211") .about("Cloud Talent Solution provides the capability to create, read, update, and delete job postings, as well as search jobs based on keywords and filters. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_jobs4_cli") .arg(Arg::with_name("url") diff --git a/gen/jobs4/Cargo.toml b/gen/jobs4/Cargo.toml index 1166a8aaf1..da0468054c 100644 --- a/gen/jobs4/Cargo.toml +++ b/gen/jobs4/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-jobs4" -version = "3.0.0+20220211" +version = "3.1.0+20220211" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Talent Solution (protocol v4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/jobs4" homepage = "https://cloud.google.com/talent-solution/job-search/docs/" -documentation = "https://docs.rs/google-jobs4/3.0.0+20220211" +documentation = "https://docs.rs/google-jobs4/3.1.0+20220211" license = "MIT" keywords = ["jobs", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/jobs4/README.md b/gen/jobs4/README.md index ff394fcfbc..c46df74832 100644 --- a/gen/jobs4/README.md +++ b/gen/jobs4/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-jobs4` library allows access to all features of the *Google Cloud Talent Solution* service. -This documentation was generated from *Cloud Talent Solution* crate version *3.0.0+20220211*, where *20220211* is the exact revision of the *jobs:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Talent Solution* crate version *3.1.0+20220211*, where *20220211* is the exact revision of the *jobs:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Talent Solution* *v4* API can be found at the [official documentation site](https://cloud.google.com/talent-solution/job-search/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-jobs4/3.0.0+20220211/google_jobs4/CloudTalentSolution) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-jobs4/3.1.0+20220211/google_jobs4/CloudTalentSolution) ... * projects - * [*operations get*](https://docs.rs/google-jobs4/3.0.0+20220211/google_jobs4/api::ProjectOperationGetCall), [*tenants client events create*](https://docs.rs/google-jobs4/3.0.0+20220211/google_jobs4/api::ProjectTenantClientEventCreateCall), [*tenants companies create*](https://docs.rs/google-jobs4/3.0.0+20220211/google_jobs4/api::ProjectTenantCompanyCreateCall), [*tenants companies delete*](https://docs.rs/google-jobs4/3.0.0+20220211/google_jobs4/api::ProjectTenantCompanyDeleteCall), [*tenants companies get*](https://docs.rs/google-jobs4/3.0.0+20220211/google_jobs4/api::ProjectTenantCompanyGetCall), [*tenants companies list*](https://docs.rs/google-jobs4/3.0.0+20220211/google_jobs4/api::ProjectTenantCompanyListCall), [*tenants companies patch*](https://docs.rs/google-jobs4/3.0.0+20220211/google_jobs4/api::ProjectTenantCompanyPatchCall), [*tenants complete query*](https://docs.rs/google-jobs4/3.0.0+20220211/google_jobs4/api::ProjectTenantCompleteQueryCall), [*tenants create*](https://docs.rs/google-jobs4/3.0.0+20220211/google_jobs4/api::ProjectTenantCreateCall), [*tenants delete*](https://docs.rs/google-jobs4/3.0.0+20220211/google_jobs4/api::ProjectTenantDeleteCall), [*tenants get*](https://docs.rs/google-jobs4/3.0.0+20220211/google_jobs4/api::ProjectTenantGetCall), [*tenants jobs batch create*](https://docs.rs/google-jobs4/3.0.0+20220211/google_jobs4/api::ProjectTenantJobBatchCreateCall), [*tenants jobs batch delete*](https://docs.rs/google-jobs4/3.0.0+20220211/google_jobs4/api::ProjectTenantJobBatchDeleteCall), [*tenants jobs batch update*](https://docs.rs/google-jobs4/3.0.0+20220211/google_jobs4/api::ProjectTenantJobBatchUpdateCall), [*tenants jobs create*](https://docs.rs/google-jobs4/3.0.0+20220211/google_jobs4/api::ProjectTenantJobCreateCall), [*tenants jobs delete*](https://docs.rs/google-jobs4/3.0.0+20220211/google_jobs4/api::ProjectTenantJobDeleteCall), [*tenants jobs get*](https://docs.rs/google-jobs4/3.0.0+20220211/google_jobs4/api::ProjectTenantJobGetCall), [*tenants jobs list*](https://docs.rs/google-jobs4/3.0.0+20220211/google_jobs4/api::ProjectTenantJobListCall), [*tenants jobs patch*](https://docs.rs/google-jobs4/3.0.0+20220211/google_jobs4/api::ProjectTenantJobPatchCall), [*tenants jobs search*](https://docs.rs/google-jobs4/3.0.0+20220211/google_jobs4/api::ProjectTenantJobSearchCall), [*tenants jobs search for alert*](https://docs.rs/google-jobs4/3.0.0+20220211/google_jobs4/api::ProjectTenantJobSearchForAlertCall), [*tenants list*](https://docs.rs/google-jobs4/3.0.0+20220211/google_jobs4/api::ProjectTenantListCall) and [*tenants patch*](https://docs.rs/google-jobs4/3.0.0+20220211/google_jobs4/api::ProjectTenantPatchCall) + * [*operations get*](https://docs.rs/google-jobs4/3.1.0+20220211/google_jobs4/api::ProjectOperationGetCall), [*tenants client events create*](https://docs.rs/google-jobs4/3.1.0+20220211/google_jobs4/api::ProjectTenantClientEventCreateCall), [*tenants companies create*](https://docs.rs/google-jobs4/3.1.0+20220211/google_jobs4/api::ProjectTenantCompanyCreateCall), [*tenants companies delete*](https://docs.rs/google-jobs4/3.1.0+20220211/google_jobs4/api::ProjectTenantCompanyDeleteCall), [*tenants companies get*](https://docs.rs/google-jobs4/3.1.0+20220211/google_jobs4/api::ProjectTenantCompanyGetCall), [*tenants companies list*](https://docs.rs/google-jobs4/3.1.0+20220211/google_jobs4/api::ProjectTenantCompanyListCall), [*tenants companies patch*](https://docs.rs/google-jobs4/3.1.0+20220211/google_jobs4/api::ProjectTenantCompanyPatchCall), [*tenants complete query*](https://docs.rs/google-jobs4/3.1.0+20220211/google_jobs4/api::ProjectTenantCompleteQueryCall), [*tenants create*](https://docs.rs/google-jobs4/3.1.0+20220211/google_jobs4/api::ProjectTenantCreateCall), [*tenants delete*](https://docs.rs/google-jobs4/3.1.0+20220211/google_jobs4/api::ProjectTenantDeleteCall), [*tenants get*](https://docs.rs/google-jobs4/3.1.0+20220211/google_jobs4/api::ProjectTenantGetCall), [*tenants jobs batch create*](https://docs.rs/google-jobs4/3.1.0+20220211/google_jobs4/api::ProjectTenantJobBatchCreateCall), [*tenants jobs batch delete*](https://docs.rs/google-jobs4/3.1.0+20220211/google_jobs4/api::ProjectTenantJobBatchDeleteCall), [*tenants jobs batch update*](https://docs.rs/google-jobs4/3.1.0+20220211/google_jobs4/api::ProjectTenantJobBatchUpdateCall), [*tenants jobs create*](https://docs.rs/google-jobs4/3.1.0+20220211/google_jobs4/api::ProjectTenantJobCreateCall), [*tenants jobs delete*](https://docs.rs/google-jobs4/3.1.0+20220211/google_jobs4/api::ProjectTenantJobDeleteCall), [*tenants jobs get*](https://docs.rs/google-jobs4/3.1.0+20220211/google_jobs4/api::ProjectTenantJobGetCall), [*tenants jobs list*](https://docs.rs/google-jobs4/3.1.0+20220211/google_jobs4/api::ProjectTenantJobListCall), [*tenants jobs patch*](https://docs.rs/google-jobs4/3.1.0+20220211/google_jobs4/api::ProjectTenantJobPatchCall), [*tenants jobs search*](https://docs.rs/google-jobs4/3.1.0+20220211/google_jobs4/api::ProjectTenantJobSearchCall), [*tenants jobs search for alert*](https://docs.rs/google-jobs4/3.1.0+20220211/google_jobs4/api::ProjectTenantJobSearchForAlertCall), [*tenants list*](https://docs.rs/google-jobs4/3.1.0+20220211/google_jobs4/api::ProjectTenantListCall) and [*tenants patch*](https://docs.rs/google-jobs4/3.1.0+20220211/google_jobs4/api::ProjectTenantPatchCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-jobs4/3.0.0+20220211/google_jobs4/CloudTalentSolution)** +* **[Hub](https://docs.rs/google-jobs4/3.1.0+20220211/google_jobs4/CloudTalentSolution)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-jobs4/3.0.0+20220211/google_jobs4/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-jobs4/3.0.0+20220211/google_jobs4/client::CallBuilder) -* **[Resources](https://docs.rs/google-jobs4/3.0.0+20220211/google_jobs4/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-jobs4/3.1.0+20220211/google_jobs4/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-jobs4/3.1.0+20220211/google_jobs4/client::CallBuilder) +* **[Resources](https://docs.rs/google-jobs4/3.1.0+20220211/google_jobs4/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-jobs4/3.0.0+20220211/google_jobs4/client::Part)** + * **[Parts](https://docs.rs/google-jobs4/3.1.0+20220211/google_jobs4/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-jobs4/3.0.0+20220211/google_jobs4/client::CallBuilder)** +* **[Activities](https://docs.rs/google-jobs4/3.1.0+20220211/google_jobs4/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -94,7 +94,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -127,17 +127,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-jobs4/3.0.0+20220211/google_jobs4/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-jobs4/3.1.0+20220211/google_jobs4/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-jobs4/3.0.0+20220211/google_jobs4/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-jobs4/3.1.0+20220211/google_jobs4/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-jobs4/3.0.0+20220211/google_jobs4/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-jobs4/3.1.0+20220211/google_jobs4/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-jobs4/3.0.0+20220211/google_jobs4/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-jobs4/3.1.0+20220211/google_jobs4/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -147,29 +147,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-jobs4/3.0.0+20220211/google_jobs4/client::Delegate) to the -[Method Builder](https://docs.rs/google-jobs4/3.0.0+20220211/google_jobs4/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-jobs4/3.1.0+20220211/google_jobs4/client::Delegate) to the +[Method Builder](https://docs.rs/google-jobs4/3.1.0+20220211/google_jobs4/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-jobs4/3.0.0+20220211/google_jobs4/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-jobs4/3.1.0+20220211/google_jobs4/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-jobs4/3.0.0+20220211/google_jobs4/client::RequestValue) and -[decodable](https://docs.rs/google-jobs4/3.0.0+20220211/google_jobs4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-jobs4/3.1.0+20220211/google_jobs4/client::RequestValue) and +[decodable](https://docs.rs/google-jobs4/3.1.0+20220211/google_jobs4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-jobs4/3.0.0+20220211/google_jobs4/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-jobs4/3.1.0+20220211/google_jobs4/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-jobs4/3.0.0+20220211/google_jobs4/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-jobs4/3.1.0+20220211/google_jobs4/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-jobs4/3.0.0+20220211/google_jobs4/client::RequestValue) are moved +* [request values](https://docs.rs/google-jobs4/3.1.0+20220211/google_jobs4/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/jobs4/src/api.rs b/gen/jobs4/src/api.rs index 4e68f894d1..a3cef178c3 100644 --- a/gen/jobs4/src/api.rs +++ b/gen/jobs4/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -123,7 +123,7 @@ impl<'a, > CloudTalentSolution<> { CloudTalentSolution { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://jobs.googleapis.com/".to_string(), _root_url: "https://jobs.googleapis.com/".to_string(), } @@ -134,7 +134,7 @@ impl<'a, > CloudTalentSolution<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1308,7 +1308,7 @@ impl client::Part for TimestampRange {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `operations_get(...)`, `tenants_client_events_create(...)`, `tenants_companies_create(...)`, `tenants_companies_delete(...)`, `tenants_companies_get(...)`, `tenants_companies_list(...)`, `tenants_companies_patch(...)`, `tenants_complete_query(...)`, `tenants_create(...)`, `tenants_delete(...)`, `tenants_get(...)`, `tenants_jobs_batch_create(...)`, `tenants_jobs_batch_delete(...)`, `tenants_jobs_batch_update(...)`, `tenants_jobs_create(...)`, `tenants_jobs_delete(...)`, `tenants_jobs_get(...)`, `tenants_jobs_list(...)`, `tenants_jobs_patch(...)`, `tenants_jobs_search(...)`, `tenants_jobs_search_for_alert(...)`, `tenants_list(...)` and `tenants_patch(...)` /// // to build up your call. @@ -1789,7 +1789,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2046,7 +2046,7 @@ impl<'a> ProjectOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2332,7 +2332,7 @@ impl<'a> ProjectTenantClientEventCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2617,7 +2617,7 @@ impl<'a> ProjectTenantCompanyCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2873,7 +2873,7 @@ impl<'a> ProjectTenantCompanyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3129,7 +3129,7 @@ impl<'a> ProjectTenantCompanyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3422,7 +3422,7 @@ impl<'a> ProjectTenantCompanyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3720,7 +3720,7 @@ impl<'a> ProjectTenantCompanyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4006,7 +4006,7 @@ impl<'a> ProjectTenantJobBatchCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4292,7 +4292,7 @@ impl<'a> ProjectTenantJobBatchDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4578,7 +4578,7 @@ impl<'a> ProjectTenantJobBatchUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4863,7 +4863,7 @@ impl<'a> ProjectTenantJobCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5119,7 +5119,7 @@ impl<'a> ProjectTenantJobDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5375,7 +5375,7 @@ impl<'a> ProjectTenantJobGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5680,7 +5680,7 @@ impl<'a> ProjectTenantJobListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5978,7 +5978,7 @@ impl<'a> ProjectTenantJobPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6264,7 +6264,7 @@ impl<'a> ProjectTenantJobSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6549,7 +6549,7 @@ impl<'a> ProjectTenantJobSearchForAlertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6881,7 +6881,7 @@ impl<'a> ProjectTenantCompleteQueryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7166,7 +7166,7 @@ impl<'a> ProjectTenantCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7422,7 +7422,7 @@ impl<'a> ProjectTenantDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7678,7 +7678,7 @@ impl<'a> ProjectTenantGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7959,7 +7959,7 @@ impl<'a> ProjectTenantListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/jobs4/src/lib.rs b/gen/jobs4/src/lib.rs index 5bd461f2f1..c046495cbe 100644 --- a/gen/jobs4/src/lib.rs +++ b/gen/jobs4/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Talent Solution* crate version *3.0.0+20220211*, where *20220211* is the exact revision of the *jobs:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Talent Solution* crate version *3.1.0+20220211*, where *20220211* is the exact revision of the *jobs:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Talent Solution* *v4* API can be found at the //! [official documentation site](https://cloud.google.com/talent-solution/job-search/docs/). @@ -95,7 +95,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudTalentSolution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/keep1-cli/Cargo.toml b/gen/keep1-cli/Cargo.toml index aae6917971..7cce0e0919 100644 --- a/gen/keep1-cli/Cargo.toml +++ b/gen/keep1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-keep1-cli" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with Keep (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/keep1-cli" @@ -20,12 +20,12 @@ name = "keep1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-keep1] path = "../keep1" -version = "3.0.0+20220301" +version = "3.1.0+20220301" diff --git a/gen/keep1-cli/README.md b/gen/keep1-cli/README.md index 21cf64ea6c..d0a16def53 100644 --- a/gen/keep1-cli/README.md +++ b/gen/keep1-cli/README.md @@ -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 *Keep* API at revision *20220301*. The CLI is at version *3.0.0*. +This documentation was generated from the *Keep* API at revision *20220301*. The CLI is at version *3.1.0*. ```bash keep1 [options] diff --git a/gen/keep1-cli/mkdocs.yml b/gen/keep1-cli/mkdocs.yml index 4d84af7c64..0650cfe41a 100644 --- a/gen/keep1-cli/mkdocs.yml +++ b/gen/keep1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Keep v3.0.0+20220301 +site_name: Keep v3.1.0+20220301 site_url: http://byron.github.io/google-apis-rs/google-keep1-cli site_description: A complete library to interact with Keep (protocol v1) diff --git a/gen/keep1-cli/src/main.rs b/gen/keep1-cli/src/main.rs index 8d0ab963c5..2e06e73055 100644 --- a/gen/keep1-cli/src/main.rs +++ b/gen/keep1-cli/src/main.rs @@ -610,7 +610,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/keep1", 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::Keep::new(client, auth), @@ -815,7 +821,7 @@ async fn main() { let mut app = App::new("keep1") .author("Sebastian Thiel ") - .version("3.0.0+20220301") + .version("3.1.0+20220301") .about("This API is an enterprise-only API used to create and manage the Keep notes within your domain, including resolving issues identified by CASB software.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_keep1_cli") .arg(Arg::with_name("url") diff --git a/gen/keep1/Cargo.toml b/gen/keep1/Cargo.toml index 31e98c64b3..88e5b9c1c0 100644 --- a/gen/keep1/Cargo.toml +++ b/gen/keep1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-keep1" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with Keep (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/keep1" homepage = "https://developers.google.com/keep/api" -documentation = "https://docs.rs/google-keep1/3.0.0+20220301" +documentation = "https://docs.rs/google-keep1/3.1.0+20220301" license = "MIT" keywords = ["keep", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/keep1/README.md b/gen/keep1/README.md index d4d891c47f..451336fa28 100644 --- a/gen/keep1/README.md +++ b/gen/keep1/README.md @@ -5,23 +5,23 @@ DO NOT EDIT ! --> The `google-keep1` library allows access to all features of the *Google Keep* service. -This documentation was generated from *Keep* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *keep:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Keep* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *keep:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Keep* *v1* API can be found at the [official documentation site](https://developers.google.com/keep/api). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-keep1/3.0.0+20220301/google_keep1/Keep) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-keep1/3.1.0+20220301/google_keep1/Keep) ... * media - * [*download*](https://docs.rs/google-keep1/3.0.0+20220301/google_keep1/api::MediaDownloadCall) -* [notes](https://docs.rs/google-keep1/3.0.0+20220301/google_keep1/api::Note) - * [*create*](https://docs.rs/google-keep1/3.0.0+20220301/google_keep1/api::NoteCreateCall), [*delete*](https://docs.rs/google-keep1/3.0.0+20220301/google_keep1/api::NoteDeleteCall), [*get*](https://docs.rs/google-keep1/3.0.0+20220301/google_keep1/api::NoteGetCall), [*list*](https://docs.rs/google-keep1/3.0.0+20220301/google_keep1/api::NoteListCall), [*permissions batch create*](https://docs.rs/google-keep1/3.0.0+20220301/google_keep1/api::NotePermissionBatchCreateCall) and [*permissions batch delete*](https://docs.rs/google-keep1/3.0.0+20220301/google_keep1/api::NotePermissionBatchDeleteCall) + * [*download*](https://docs.rs/google-keep1/3.1.0+20220301/google_keep1/api::MediaDownloadCall) +* [notes](https://docs.rs/google-keep1/3.1.0+20220301/google_keep1/api::Note) + * [*create*](https://docs.rs/google-keep1/3.1.0+20220301/google_keep1/api::NoteCreateCall), [*delete*](https://docs.rs/google-keep1/3.1.0+20220301/google_keep1/api::NoteDeleteCall), [*get*](https://docs.rs/google-keep1/3.1.0+20220301/google_keep1/api::NoteGetCall), [*list*](https://docs.rs/google-keep1/3.1.0+20220301/google_keep1/api::NoteListCall), [*permissions batch create*](https://docs.rs/google-keep1/3.1.0+20220301/google_keep1/api::NotePermissionBatchCreateCall) and [*permissions batch delete*](https://docs.rs/google-keep1/3.1.0+20220301/google_keep1/api::NotePermissionBatchDeleteCall) Download supported by ... -* [*download media*](https://docs.rs/google-keep1/3.0.0+20220301/google_keep1/api::MediaDownloadCall) +* [*download media*](https://docs.rs/google-keep1/3.1.0+20220301/google_keep1/api::MediaDownloadCall) @@ -29,17 +29,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-keep1/3.0.0+20220301/google_keep1/Keep)** +* **[Hub](https://docs.rs/google-keep1/3.1.0+20220301/google_keep1/Keep)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-keep1/3.0.0+20220301/google_keep1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-keep1/3.0.0+20220301/google_keep1/client::CallBuilder) -* **[Resources](https://docs.rs/google-keep1/3.0.0+20220301/google_keep1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-keep1/3.1.0+20220301/google_keep1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-keep1/3.1.0+20220301/google_keep1/client::CallBuilder) +* **[Resources](https://docs.rs/google-keep1/3.1.0+20220301/google_keep1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-keep1/3.0.0+20220301/google_keep1/client::Part)** + * **[Parts](https://docs.rs/google-keep1/3.1.0+20220301/google_keep1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-keep1/3.0.0+20220301/google_keep1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-keep1/3.1.0+20220301/google_keep1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -101,7 +101,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Keep::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Keep::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-keep1/3.0.0+20220301/google_keep1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-keep1/3.1.0+20220301/google_keep1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-keep1/3.0.0+20220301/google_keep1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-keep1/3.1.0+20220301/google_keep1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-keep1/3.0.0+20220301/google_keep1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-keep1/3.1.0+20220301/google_keep1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-keep1/3.0.0+20220301/google_keep1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-keep1/3.1.0+20220301/google_keep1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -152,29 +152,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-keep1/3.0.0+20220301/google_keep1/client::Delegate) to the -[Method Builder](https://docs.rs/google-keep1/3.0.0+20220301/google_keep1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-keep1/3.1.0+20220301/google_keep1/client::Delegate) to the +[Method Builder](https://docs.rs/google-keep1/3.1.0+20220301/google_keep1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-keep1/3.0.0+20220301/google_keep1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-keep1/3.1.0+20220301/google_keep1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-keep1/3.0.0+20220301/google_keep1/client::RequestValue) and -[decodable](https://docs.rs/google-keep1/3.0.0+20220301/google_keep1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-keep1/3.1.0+20220301/google_keep1/client::RequestValue) and +[decodable](https://docs.rs/google-keep1/3.1.0+20220301/google_keep1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-keep1/3.0.0+20220301/google_keep1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-keep1/3.1.0+20220301/google_keep1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-keep1/3.0.0+20220301/google_keep1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-keep1/3.1.0+20220301/google_keep1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-keep1/3.0.0+20220301/google_keep1/client::RequestValue) are moved +* [request values](https://docs.rs/google-keep1/3.1.0+20220301/google_keep1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/keep1/src/api.rs b/gen/keep1/src/api.rs index 25ecb1ec06..ae17ece348 100644 --- a/gen/keep1/src/api.rs +++ b/gen/keep1/src/api.rs @@ -74,7 +74,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Keep::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Keep::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > Keep<> { Keep { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://keep.googleapis.com/".to_string(), _root_url: "https://keep.googleapis.com/".to_string(), } @@ -134,7 +134,7 @@ impl<'a, > Keep<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -480,7 +480,7 @@ impl client::Part for User {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Keep::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Keep::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `download(...)` /// // to build up your call. @@ -539,7 +539,7 @@ impl<'a> MediaMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Keep::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Keep::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)`, `get(...)`, `list(...)`, `permissions_batch_create(...)` and `permissions_batch_delete(...)` /// // to build up your call. @@ -696,7 +696,7 @@ impl<'a> NoteMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Keep::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Keep::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -981,7 +981,7 @@ impl<'a> MediaDownloadCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Keep::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Keep::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1267,7 +1267,7 @@ impl<'a> NotePermissionBatchCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Keep::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Keep::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1553,7 +1553,7 @@ impl<'a> NotePermissionBatchDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Keep::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Keep::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1801,7 +1801,7 @@ impl<'a> NoteCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Keep::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Keep::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2057,7 +2057,7 @@ impl<'a> NoteDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Keep::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Keep::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2313,7 +2313,7 @@ impl<'a> NoteGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Keep::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Keep::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/keep1/src/lib.rs b/gen/keep1/src/lib.rs index 784f1def52..31459ce5ba 100644 --- a/gen/keep1/src/lib.rs +++ b/gen/keep1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Keep* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *keep:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Keep* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *keep:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Keep* *v1* API can be found at the //! [official documentation site](https://developers.google.com/keep/api). @@ -102,7 +102,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Keep::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Keep::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/language1-cli/Cargo.toml b/gen/language1-cli/Cargo.toml index 6d46e292e7..1534a8c73e 100644 --- a/gen/language1-cli/Cargo.toml +++ b/gen/language1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-language1-cli" -version = "3.0.0+20220218" +version = "3.1.0+20220218" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Natural Language (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/language1-cli" @@ -20,12 +20,12 @@ name = "language1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-language1] path = "../language1" -version = "3.0.0+20220218" +version = "3.1.0+20220218" diff --git a/gen/language1-cli/README.md b/gen/language1-cli/README.md index d932c4cde6..2ad6634181 100644 --- a/gen/language1-cli/README.md +++ b/gen/language1-cli/README.md @@ -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 *Cloud Natural Language* API at revision *20220218*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Natural Language* API at revision *20220218*. The CLI is at version *3.1.0*. ```bash language1 [options] diff --git a/gen/language1-cli/mkdocs.yml b/gen/language1-cli/mkdocs.yml index 040f5c52c5..453413d478 100644 --- a/gen/language1-cli/mkdocs.yml +++ b/gen/language1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Natural Language v3.0.0+20220218 +site_name: Cloud Natural Language v3.1.0+20220218 site_url: http://byron.github.io/google-apis-rs/google-language1-cli site_description: A complete library to interact with Cloud Natural Language (protocol v1) diff --git a/gen/language1-cli/src/main.rs b/gen/language1-cli/src/main.rs index 8a5970dd23..22dba426ff 100644 --- a/gen/language1-cli/src/main.rs +++ b/gen/language1-cli/src/main.rs @@ -645,7 +645,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/language1", 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::CloudNaturalLanguage::new(client, auth), @@ -819,7 +825,7 @@ async fn main() { let mut app = App::new("language1") .author("Sebastian Thiel ") - .version("3.0.0+20220218") + .version("3.1.0+20220218") .about("Provides natural language understanding technologies, such as sentiment analysis, entity recognition, entity sentiment analysis, and other text annotations, to developers.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_language1_cli") .arg(Arg::with_name("url") diff --git a/gen/language1/Cargo.toml b/gen/language1/Cargo.toml index 6c8debf056..2504f530d9 100644 --- a/gen/language1/Cargo.toml +++ b/gen/language1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-language1" -version = "3.0.0+20220218" +version = "3.1.0+20220218" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Natural Language (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/language1" homepage = "https://cloud.google.com/natural-language/" -documentation = "https://docs.rs/google-language1/3.0.0+20220218" +documentation = "https://docs.rs/google-language1/3.1.0+20220218" license = "MIT" keywords = ["language", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/language1/README.md b/gen/language1/README.md index 610bbce7ed..643eb1eb3d 100644 --- a/gen/language1/README.md +++ b/gen/language1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-language1` library allows access to all features of the *Google Cloud Natural Language* service. -This documentation was generated from *Cloud Natural Language* crate version *3.0.0+20220218*, where *20220218* is the exact revision of the *language:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Natural Language* crate version *3.1.0+20220218*, where *20220218* is the exact revision of the *language:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Natural Language* *v1* API can be found at the [official documentation site](https://cloud.google.com/natural-language/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-language1/3.0.0+20220218/google_language1/CloudNaturalLanguage) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-language1/3.1.0+20220218/google_language1/CloudNaturalLanguage) ... -* [documents](https://docs.rs/google-language1/3.0.0+20220218/google_language1/api::Document) - * [*analyze entities*](https://docs.rs/google-language1/3.0.0+20220218/google_language1/api::DocumentAnalyzeEntityCall), [*analyze entity sentiment*](https://docs.rs/google-language1/3.0.0+20220218/google_language1/api::DocumentAnalyzeEntitySentimentCall), [*analyze sentiment*](https://docs.rs/google-language1/3.0.0+20220218/google_language1/api::DocumentAnalyzeSentimentCall), [*analyze syntax*](https://docs.rs/google-language1/3.0.0+20220218/google_language1/api::DocumentAnalyzeSyntaxCall), [*annotate text*](https://docs.rs/google-language1/3.0.0+20220218/google_language1/api::DocumentAnnotateTextCall) and [*classify text*](https://docs.rs/google-language1/3.0.0+20220218/google_language1/api::DocumentClassifyTextCall) +* [documents](https://docs.rs/google-language1/3.1.0+20220218/google_language1/api::Document) + * [*analyze entities*](https://docs.rs/google-language1/3.1.0+20220218/google_language1/api::DocumentAnalyzeEntityCall), [*analyze entity sentiment*](https://docs.rs/google-language1/3.1.0+20220218/google_language1/api::DocumentAnalyzeEntitySentimentCall), [*analyze sentiment*](https://docs.rs/google-language1/3.1.0+20220218/google_language1/api::DocumentAnalyzeSentimentCall), [*analyze syntax*](https://docs.rs/google-language1/3.1.0+20220218/google_language1/api::DocumentAnalyzeSyntaxCall), [*annotate text*](https://docs.rs/google-language1/3.1.0+20220218/google_language1/api::DocumentAnnotateTextCall) and [*classify text*](https://docs.rs/google-language1/3.1.0+20220218/google_language1/api::DocumentClassifyTextCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-language1/3.0.0+20220218/google_language1/CloudNaturalLanguage)** +* **[Hub](https://docs.rs/google-language1/3.1.0+20220218/google_language1/CloudNaturalLanguage)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-language1/3.0.0+20220218/google_language1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-language1/3.0.0+20220218/google_language1/client::CallBuilder) -* **[Resources](https://docs.rs/google-language1/3.0.0+20220218/google_language1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-language1/3.1.0+20220218/google_language1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-language1/3.1.0+20220218/google_language1/client::CallBuilder) +* **[Resources](https://docs.rs/google-language1/3.1.0+20220218/google_language1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-language1/3.0.0+20220218/google_language1/client::Part)** + * **[Parts](https://docs.rs/google-language1/3.1.0+20220218/google_language1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-language1/3.0.0+20220218/google_language1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-language1/3.1.0+20220218/google_language1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -96,7 +96,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudNaturalLanguage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudNaturalLanguage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -129,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-language1/3.0.0+20220218/google_language1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-language1/3.1.0+20220218/google_language1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-language1/3.0.0+20220218/google_language1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-language1/3.1.0+20220218/google_language1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-language1/3.0.0+20220218/google_language1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-language1/3.1.0+20220218/google_language1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-language1/3.0.0+20220218/google_language1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-language1/3.1.0+20220218/google_language1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -149,29 +149,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-language1/3.0.0+20220218/google_language1/client::Delegate) to the -[Method Builder](https://docs.rs/google-language1/3.0.0+20220218/google_language1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-language1/3.1.0+20220218/google_language1/client::Delegate) to the +[Method Builder](https://docs.rs/google-language1/3.1.0+20220218/google_language1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-language1/3.0.0+20220218/google_language1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-language1/3.1.0+20220218/google_language1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-language1/3.0.0+20220218/google_language1/client::RequestValue) and -[decodable](https://docs.rs/google-language1/3.0.0+20220218/google_language1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-language1/3.1.0+20220218/google_language1/client::RequestValue) and +[decodable](https://docs.rs/google-language1/3.1.0+20220218/google_language1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-language1/3.0.0+20220218/google_language1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-language1/3.1.0+20220218/google_language1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-language1/3.0.0+20220218/google_language1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-language1/3.1.0+20220218/google_language1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-language1/3.0.0+20220218/google_language1/client::RequestValue) are moved +* [request values](https://docs.rs/google-language1/3.1.0+20220218/google_language1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/language1/src/api.rs b/gen/language1/src/api.rs index b0e1d2ec86..2a61a51ca0 100644 --- a/gen/language1/src/api.rs +++ b/gen/language1/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudNaturalLanguage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudNaturalLanguage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -123,7 +123,7 @@ impl<'a, > CloudNaturalLanguage<> { CloudNaturalLanguage { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://language.googleapis.com/".to_string(), _root_url: "https://language.googleapis.com/".to_string(), } @@ -134,7 +134,7 @@ impl<'a, > CloudNaturalLanguage<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -677,7 +677,7 @@ impl client::Part for Token {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudNaturalLanguage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudNaturalLanguage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `analyze_entities(...)`, `analyze_entity_sentiment(...)`, `analyze_sentiment(...)`, `analyze_syntax(...)`, `annotate_text(...)` and `classify_text(...)` /// // to build up your call. @@ -828,7 +828,7 @@ impl<'a> DocumentMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudNaturalLanguage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudNaturalLanguage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1077,7 +1077,7 @@ impl<'a> DocumentAnalyzeEntityCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudNaturalLanguage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudNaturalLanguage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1326,7 +1326,7 @@ impl<'a> DocumentAnalyzeEntitySentimentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudNaturalLanguage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudNaturalLanguage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1575,7 +1575,7 @@ impl<'a> DocumentAnalyzeSentimentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudNaturalLanguage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudNaturalLanguage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1824,7 +1824,7 @@ impl<'a> DocumentAnalyzeSyntaxCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudNaturalLanguage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudNaturalLanguage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2073,7 +2073,7 @@ impl<'a> DocumentAnnotateTextCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudNaturalLanguage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudNaturalLanguage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/language1/src/lib.rs b/gen/language1/src/lib.rs index 34a1de5d7a..d4e0b9e86e 100644 --- a/gen/language1/src/lib.rs +++ b/gen/language1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Natural Language* crate version *3.0.0+20220218*, where *20220218* is the exact revision of the *language:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Natural Language* crate version *3.1.0+20220218*, where *20220218* is the exact revision of the *language:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Natural Language* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/natural-language/). @@ -97,7 +97,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudNaturalLanguage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudNaturalLanguage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/language1_beta1-cli/Cargo.toml b/gen/language1_beta1-cli/Cargo.toml index 7ea95729a7..5681526abf 100644 --- a/gen/language1_beta1-cli/Cargo.toml +++ b/gen/language1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-language1_beta1-cli" -version = "3.0.0+20220218" +version = "3.1.0+20220218" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Natural Language (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/language1_beta1-cli" @@ -20,12 +20,12 @@ name = "language1-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-language1_beta1] path = "../language1_beta1" -version = "3.0.0+20220218" +version = "3.1.0+20220218" diff --git a/gen/language1_beta1-cli/README.md b/gen/language1_beta1-cli/README.md index a8269541de..96266dc08c 100644 --- a/gen/language1_beta1-cli/README.md +++ b/gen/language1_beta1-cli/README.md @@ -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 *Cloud Natural Language* API at revision *20220218*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Natural Language* API at revision *20220218*. The CLI is at version *3.1.0*. ```bash language1-beta1 [options] diff --git a/gen/language1_beta1-cli/mkdocs.yml b/gen/language1_beta1-cli/mkdocs.yml index 943cb042fd..85c01ff331 100644 --- a/gen/language1_beta1-cli/mkdocs.yml +++ b/gen/language1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Natural Language v3.0.0+20220218 +site_name: Cloud Natural Language v3.1.0+20220218 site_url: http://byron.github.io/google-apis-rs/google-language1_beta1-cli site_description: A complete library to interact with Cloud Natural Language (protocol v1beta1) diff --git a/gen/language1_beta1-cli/src/main.rs b/gen/language1_beta1-cli/src/main.rs index 7f0e107748..c6d7ddfc7e 100644 --- a/gen/language1_beta1-cli/src/main.rs +++ b/gen/language1_beta1-cli/src/main.rs @@ -460,7 +460,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/language1-beta1", 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::CloudNaturalLanguage::new(client, auth), @@ -590,7 +596,7 @@ async fn main() { let mut app = App::new("language1-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20220218") + .version("3.1.0+20220218") .about("Provides natural language understanding technologies, such as sentiment analysis, entity recognition, entity sentiment analysis, and other text annotations, to developers.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_language1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/language1_beta1/Cargo.toml b/gen/language1_beta1/Cargo.toml index 2d4a458342..8419822922 100644 --- a/gen/language1_beta1/Cargo.toml +++ b/gen/language1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-language1_beta1" -version = "3.0.0+20220218" +version = "3.1.0+20220218" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Natural Language (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/language1_beta1" homepage = "https://cloud.google.com/natural-language/" -documentation = "https://docs.rs/google-language1_beta1/3.0.0+20220218" +documentation = "https://docs.rs/google-language1_beta1/3.1.0+20220218" license = "MIT" keywords = ["language", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/language1_beta1/README.md b/gen/language1_beta1/README.md index 7f1722e601..167370d377 100644 --- a/gen/language1_beta1/README.md +++ b/gen/language1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-language1_beta1` library allows access to all features of the *Google Cloud Natural Language* service. -This documentation was generated from *Cloud Natural Language* crate version *3.0.0+20220218*, where *20220218* is the exact revision of the *language:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Natural Language* crate version *3.1.0+20220218*, where *20220218* is the exact revision of the *language:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Natural Language* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/natural-language/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-language1_beta1/3.0.0+20220218/google_language1_beta1/CloudNaturalLanguage) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-language1_beta1/3.1.0+20220218/google_language1_beta1/CloudNaturalLanguage) ... -* [documents](https://docs.rs/google-language1_beta1/3.0.0+20220218/google_language1_beta1/api::Document) - * [*analyze entities*](https://docs.rs/google-language1_beta1/3.0.0+20220218/google_language1_beta1/api::DocumentAnalyzeEntityCall), [*analyze sentiment*](https://docs.rs/google-language1_beta1/3.0.0+20220218/google_language1_beta1/api::DocumentAnalyzeSentimentCall), [*analyze syntax*](https://docs.rs/google-language1_beta1/3.0.0+20220218/google_language1_beta1/api::DocumentAnalyzeSyntaxCall) and [*annotate text*](https://docs.rs/google-language1_beta1/3.0.0+20220218/google_language1_beta1/api::DocumentAnnotateTextCall) +* [documents](https://docs.rs/google-language1_beta1/3.1.0+20220218/google_language1_beta1/api::Document) + * [*analyze entities*](https://docs.rs/google-language1_beta1/3.1.0+20220218/google_language1_beta1/api::DocumentAnalyzeEntityCall), [*analyze sentiment*](https://docs.rs/google-language1_beta1/3.1.0+20220218/google_language1_beta1/api::DocumentAnalyzeSentimentCall), [*analyze syntax*](https://docs.rs/google-language1_beta1/3.1.0+20220218/google_language1_beta1/api::DocumentAnalyzeSyntaxCall) and [*annotate text*](https://docs.rs/google-language1_beta1/3.1.0+20220218/google_language1_beta1/api::DocumentAnnotateTextCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-language1_beta1/3.0.0+20220218/google_language1_beta1/CloudNaturalLanguage)** +* **[Hub](https://docs.rs/google-language1_beta1/3.1.0+20220218/google_language1_beta1/CloudNaturalLanguage)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-language1_beta1/3.0.0+20220218/google_language1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-language1_beta1/3.0.0+20220218/google_language1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-language1_beta1/3.0.0+20220218/google_language1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-language1_beta1/3.1.0+20220218/google_language1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-language1_beta1/3.1.0+20220218/google_language1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-language1_beta1/3.1.0+20220218/google_language1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-language1_beta1/3.0.0+20220218/google_language1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-language1_beta1/3.1.0+20220218/google_language1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-language1_beta1/3.0.0+20220218/google_language1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-language1_beta1/3.1.0+20220218/google_language1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -94,7 +94,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudNaturalLanguage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudNaturalLanguage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -127,17 +127,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-language1_beta1/3.0.0+20220218/google_language1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-language1_beta1/3.1.0+20220218/google_language1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-language1_beta1/3.0.0+20220218/google_language1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-language1_beta1/3.1.0+20220218/google_language1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-language1_beta1/3.0.0+20220218/google_language1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-language1_beta1/3.1.0+20220218/google_language1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-language1_beta1/3.0.0+20220218/google_language1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-language1_beta1/3.1.0+20220218/google_language1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -147,29 +147,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-language1_beta1/3.0.0+20220218/google_language1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-language1_beta1/3.0.0+20220218/google_language1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-language1_beta1/3.1.0+20220218/google_language1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-language1_beta1/3.1.0+20220218/google_language1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-language1_beta1/3.0.0+20220218/google_language1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-language1_beta1/3.1.0+20220218/google_language1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-language1_beta1/3.0.0+20220218/google_language1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-language1_beta1/3.0.0+20220218/google_language1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-language1_beta1/3.1.0+20220218/google_language1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-language1_beta1/3.1.0+20220218/google_language1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-language1_beta1/3.0.0+20220218/google_language1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-language1_beta1/3.1.0+20220218/google_language1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-language1_beta1/3.0.0+20220218/google_language1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-language1_beta1/3.1.0+20220218/google_language1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-language1_beta1/3.0.0+20220218/google_language1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-language1_beta1/3.1.0+20220218/google_language1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/language1_beta1/src/api.rs b/gen/language1_beta1/src/api.rs index d1f549d39d..aa671451d7 100644 --- a/gen/language1_beta1/src/api.rs +++ b/gen/language1_beta1/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudNaturalLanguage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudNaturalLanguage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -123,7 +123,7 @@ impl<'a, > CloudNaturalLanguage<> { CloudNaturalLanguage { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://language.googleapis.com/".to_string(), _root_url: "https://language.googleapis.com/".to_string(), } @@ -134,7 +134,7 @@ impl<'a, > CloudNaturalLanguage<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -573,7 +573,7 @@ impl client::Part for Token {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudNaturalLanguage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudNaturalLanguage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `analyze_entities(...)`, `analyze_sentiment(...)`, `analyze_syntax(...)` and `annotate_text(...)` /// // to build up your call. @@ -690,7 +690,7 @@ impl<'a> DocumentMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudNaturalLanguage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudNaturalLanguage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -939,7 +939,7 @@ impl<'a> DocumentAnalyzeEntityCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudNaturalLanguage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudNaturalLanguage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1188,7 +1188,7 @@ impl<'a> DocumentAnalyzeSentimentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudNaturalLanguage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudNaturalLanguage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1437,7 +1437,7 @@ impl<'a> DocumentAnalyzeSyntaxCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudNaturalLanguage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudNaturalLanguage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/language1_beta1/src/lib.rs b/gen/language1_beta1/src/lib.rs index 0a3273810c..8c6b6bc44c 100644 --- a/gen/language1_beta1/src/lib.rs +++ b/gen/language1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Natural Language* crate version *3.0.0+20220218*, where *20220218* is the exact revision of the *language:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Natural Language* crate version *3.1.0+20220218*, where *20220218* is the exact revision of the *language:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Natural Language* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/natural-language/). @@ -95,7 +95,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudNaturalLanguage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudNaturalLanguage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/libraryagent1-cli/Cargo.toml b/gen/libraryagent1-cli/Cargo.toml index bdd8ce1bc4..0f49f2492a 100644 --- a/gen/libraryagent1-cli/Cargo.toml +++ b/gen/libraryagent1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-libraryagent1-cli" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with Libraryagent (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/libraryagent1-cli" @@ -20,12 +20,12 @@ name = "libraryagent1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-libraryagent1] path = "../libraryagent1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" diff --git a/gen/libraryagent1-cli/README.md b/gen/libraryagent1-cli/README.md index 67b0c35aef..b24574ed07 100644 --- a/gen/libraryagent1-cli/README.md +++ b/gen/libraryagent1-cli/README.md @@ -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 *Libraryagent* API at revision *20220305*. The CLI is at version *3.0.0*. +This documentation was generated from the *Libraryagent* API at revision *20220305*. The CLI is at version *3.1.0*. ```bash libraryagent1 [options] diff --git a/gen/libraryagent1-cli/mkdocs.yml b/gen/libraryagent1-cli/mkdocs.yml index 2923027815..cc1785bd1c 100644 --- a/gen/libraryagent1-cli/mkdocs.yml +++ b/gen/libraryagent1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Libraryagent v3.0.0+20220305 +site_name: Libraryagent v3.1.0+20220305 site_url: http://byron.github.io/google-apis-rs/google-libraryagent1-cli site_description: A complete library to interact with Libraryagent (protocol v1) diff --git a/gen/libraryagent1-cli/src/main.rs b/gen/libraryagent1-cli/src/main.rs index cbec08aef6..e063769f1e 100644 --- a/gen/libraryagent1-cli/src/main.rs +++ b/gen/libraryagent1-cli/src/main.rs @@ -433,7 +433,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/libraryagent1", 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::Libraryagent::new(client, auth), @@ -601,7 +607,7 @@ async fn main() { let mut app = App::new("libraryagent1") .author("Sebastian Thiel ") - .version("3.0.0+20220305") + .version("3.1.0+20220305") .about("A simple Google Example Library API.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_libraryagent1_cli") .arg(Arg::with_name("url") diff --git a/gen/libraryagent1/Cargo.toml b/gen/libraryagent1/Cargo.toml index 8eebdf9da7..a86cab5556 100644 --- a/gen/libraryagent1/Cargo.toml +++ b/gen/libraryagent1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-libraryagent1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with Libraryagent (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/libraryagent1" homepage = "https://cloud.google.com/docs/quota" -documentation = "https://docs.rs/google-libraryagent1/3.0.0+20220305" +documentation = "https://docs.rs/google-libraryagent1/3.1.0+20220305" license = "MIT" keywords = ["libraryagent", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/libraryagent1/README.md b/gen/libraryagent1/README.md index ed525e9cfb..9d580f0e68 100644 --- a/gen/libraryagent1/README.md +++ b/gen/libraryagent1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-libraryagent1` library allows access to all features of the *Google Libraryagent* service. -This documentation was generated from *Libraryagent* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *libraryagent:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Libraryagent* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *libraryagent:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Libraryagent* *v1* API can be found at the [official documentation site](https://cloud.google.com/docs/quota). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-libraryagent1/3.0.0+20220305/google_libraryagent1/Libraryagent) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-libraryagent1/3.1.0+20220305/google_libraryagent1/Libraryagent) ... * shelves - * [*books borrow*](https://docs.rs/google-libraryagent1/3.0.0+20220305/google_libraryagent1/api::ShelveBookBorrowCall), [*books get*](https://docs.rs/google-libraryagent1/3.0.0+20220305/google_libraryagent1/api::ShelveBookGetCall), [*books list*](https://docs.rs/google-libraryagent1/3.0.0+20220305/google_libraryagent1/api::ShelveBookListCall), [*books return*](https://docs.rs/google-libraryagent1/3.0.0+20220305/google_libraryagent1/api::ShelveBookReturnCall), [*get*](https://docs.rs/google-libraryagent1/3.0.0+20220305/google_libraryagent1/api::ShelveGetCall) and [*list*](https://docs.rs/google-libraryagent1/3.0.0+20220305/google_libraryagent1/api::ShelveListCall) + * [*books borrow*](https://docs.rs/google-libraryagent1/3.1.0+20220305/google_libraryagent1/api::ShelveBookBorrowCall), [*books get*](https://docs.rs/google-libraryagent1/3.1.0+20220305/google_libraryagent1/api::ShelveBookGetCall), [*books list*](https://docs.rs/google-libraryagent1/3.1.0+20220305/google_libraryagent1/api::ShelveBookListCall), [*books return*](https://docs.rs/google-libraryagent1/3.1.0+20220305/google_libraryagent1/api::ShelveBookReturnCall), [*get*](https://docs.rs/google-libraryagent1/3.1.0+20220305/google_libraryagent1/api::ShelveGetCall) and [*list*](https://docs.rs/google-libraryagent1/3.1.0+20220305/google_libraryagent1/api::ShelveListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-libraryagent1/3.0.0+20220305/google_libraryagent1/Libraryagent)** +* **[Hub](https://docs.rs/google-libraryagent1/3.1.0+20220305/google_libraryagent1/Libraryagent)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-libraryagent1/3.0.0+20220305/google_libraryagent1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-libraryagent1/3.0.0+20220305/google_libraryagent1/client::CallBuilder) -* **[Resources](https://docs.rs/google-libraryagent1/3.0.0+20220305/google_libraryagent1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-libraryagent1/3.1.0+20220305/google_libraryagent1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-libraryagent1/3.1.0+20220305/google_libraryagent1/client::CallBuilder) +* **[Resources](https://docs.rs/google-libraryagent1/3.1.0+20220305/google_libraryagent1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-libraryagent1/3.0.0+20220305/google_libraryagent1/client::Part)** + * **[Parts](https://docs.rs/google-libraryagent1/3.1.0+20220305/google_libraryagent1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-libraryagent1/3.0.0+20220305/google_libraryagent1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-libraryagent1/3.1.0+20220305/google_libraryagent1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -92,7 +92,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Libraryagent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Libraryagent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -120,17 +120,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-libraryagent1/3.0.0+20220305/google_libraryagent1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-libraryagent1/3.1.0+20220305/google_libraryagent1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-libraryagent1/3.0.0+20220305/google_libraryagent1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-libraryagent1/3.1.0+20220305/google_libraryagent1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-libraryagent1/3.0.0+20220305/google_libraryagent1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-libraryagent1/3.1.0+20220305/google_libraryagent1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-libraryagent1/3.0.0+20220305/google_libraryagent1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-libraryagent1/3.1.0+20220305/google_libraryagent1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -140,29 +140,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-libraryagent1/3.0.0+20220305/google_libraryagent1/client::Delegate) to the -[Method Builder](https://docs.rs/google-libraryagent1/3.0.0+20220305/google_libraryagent1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-libraryagent1/3.1.0+20220305/google_libraryagent1/client::Delegate) to the +[Method Builder](https://docs.rs/google-libraryagent1/3.1.0+20220305/google_libraryagent1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-libraryagent1/3.0.0+20220305/google_libraryagent1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-libraryagent1/3.1.0+20220305/google_libraryagent1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-libraryagent1/3.0.0+20220305/google_libraryagent1/client::RequestValue) and -[decodable](https://docs.rs/google-libraryagent1/3.0.0+20220305/google_libraryagent1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-libraryagent1/3.1.0+20220305/google_libraryagent1/client::RequestValue) and +[decodable](https://docs.rs/google-libraryagent1/3.1.0+20220305/google_libraryagent1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-libraryagent1/3.0.0+20220305/google_libraryagent1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-libraryagent1/3.1.0+20220305/google_libraryagent1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-libraryagent1/3.0.0+20220305/google_libraryagent1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-libraryagent1/3.1.0+20220305/google_libraryagent1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-libraryagent1/3.0.0+20220305/google_libraryagent1/client::RequestValue) are moved +* [request values](https://docs.rs/google-libraryagent1/3.1.0+20220305/google_libraryagent1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/libraryagent1/src/api.rs b/gen/libraryagent1/src/api.rs index d8c1cdcc9f..f593e0095d 100644 --- a/gen/libraryagent1/src/api.rs +++ b/gen/libraryagent1/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Libraryagent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Libraryagent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -113,7 +113,7 @@ impl<'a, > Libraryagent<> { Libraryagent { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://libraryagent.googleapis.com/".to_string(), _root_url: "https://libraryagent.googleapis.com/".to_string(), } @@ -124,7 +124,7 @@ impl<'a, > Libraryagent<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -266,7 +266,7 @@ impl client::ResponseResult for GoogleExampleLibraryagentV1Shelf {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Libraryagent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Libraryagent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `books_borrow(...)`, `books_get(...)`, `books_list(...)`, `books_return(...)`, `get(...)` and `list(...)` /// // to build up your call. @@ -415,7 +415,7 @@ impl<'a> ShelveMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Libraryagent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Libraryagent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -671,7 +671,7 @@ impl<'a> ShelveBookBorrowCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Libraryagent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Libraryagent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -927,7 +927,7 @@ impl<'a> ShelveBookGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Libraryagent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Libraryagent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1207,7 +1207,7 @@ impl<'a> ShelveBookListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Libraryagent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Libraryagent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1463,7 +1463,7 @@ impl<'a> ShelveBookReturnCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Libraryagent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Libraryagent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1719,7 +1719,7 @@ impl<'a> ShelveGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Libraryagent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Libraryagent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/libraryagent1/src/lib.rs b/gen/libraryagent1/src/lib.rs index b4bdaabd38..d4e9cc8676 100644 --- a/gen/libraryagent1/src/lib.rs +++ b/gen/libraryagent1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Libraryagent* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *libraryagent:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Libraryagent* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *libraryagent:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Libraryagent* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/docs/quota). @@ -93,7 +93,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Libraryagent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Libraryagent::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/licensing1-cli/Cargo.toml b/gen/licensing1-cli/Cargo.toml index b6a1e067f4..ce17b3c048 100644 --- a/gen/licensing1-cli/Cargo.toml +++ b/gen/licensing1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-licensing1-cli" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with licensing (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/licensing1-cli" @@ -20,12 +20,12 @@ name = "licensing1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-licensing1] path = "../licensing1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" diff --git a/gen/licensing1-cli/README.md b/gen/licensing1-cli/README.md index 3cd7c9ab81..fe52f49177 100644 --- a/gen/licensing1-cli/README.md +++ b/gen/licensing1-cli/README.md @@ -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 *licensing* API at revision *20220305*. The CLI is at version *3.0.0*. +This documentation was generated from the *licensing* API at revision *20220305*. The CLI is at version *3.1.0*. ```bash licensing1 [options] diff --git a/gen/licensing1-cli/mkdocs.yml b/gen/licensing1-cli/mkdocs.yml index 1fe0647ddf..07102b70df 100644 --- a/gen/licensing1-cli/mkdocs.yml +++ b/gen/licensing1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: licensing v3.0.0+20220305 +site_name: licensing v3.1.0+20220305 site_url: http://byron.github.io/google-apis-rs/google-licensing1-cli site_description: A complete library to interact with licensing (protocol v1) diff --git a/gen/licensing1-cli/src/main.rs b/gen/licensing1-cli/src/main.rs index 63159a895d..1f3e5483d0 100644 --- a/gen/licensing1-cli/src/main.rs +++ b/gen/licensing1-cli/src/main.rs @@ -601,7 +601,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/licensing1", 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::Licensing::new(client, auth), @@ -887,7 +893,7 @@ async fn main() { let mut app = App::new("licensing1") .author("Sebastian Thiel ") - .version("3.0.0+20220305") + .version("3.1.0+20220305") .about("The Google Enterprise License Manager API's allows you to license apps for all the users of a domain managed by you.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_licensing1_cli") .arg(Arg::with_name("url") diff --git a/gen/licensing1/Cargo.toml b/gen/licensing1/Cargo.toml index 281186949b..af3ce9e626 100644 --- a/gen/licensing1/Cargo.toml +++ b/gen/licensing1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-licensing1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with licensing (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/licensing1" homepage = "https://developers.google.com/admin-sdk/licensing/" -documentation = "https://docs.rs/google-licensing1/3.0.0+20220305" +documentation = "https://docs.rs/google-licensing1/3.1.0+20220305" license = "MIT" keywords = ["licensing", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/licensing1/README.md b/gen/licensing1/README.md index 3af21e65a8..0a8501fe74 100644 --- a/gen/licensing1/README.md +++ b/gen/licensing1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-licensing1` library allows access to all features of the *Google licensing* service. -This documentation was generated from *licensing* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *licensing:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *licensing* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *licensing:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *licensing* *v1* API can be found at the [official documentation site](https://developers.google.com/admin-sdk/licensing/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-licensing1/3.0.0+20220305/google_licensing1/Licensing) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-licensing1/3.1.0+20220305/google_licensing1/Licensing) ... -* [license assignments](https://docs.rs/google-licensing1/3.0.0+20220305/google_licensing1/api::LicenseAssignment) - * [*delete*](https://docs.rs/google-licensing1/3.0.0+20220305/google_licensing1/api::LicenseAssignmentDeleteCall), [*get*](https://docs.rs/google-licensing1/3.0.0+20220305/google_licensing1/api::LicenseAssignmentGetCall), [*insert*](https://docs.rs/google-licensing1/3.0.0+20220305/google_licensing1/api::LicenseAssignmentInsertCall), [*list for product*](https://docs.rs/google-licensing1/3.0.0+20220305/google_licensing1/api::LicenseAssignmentListForProductCall), [*list for product and sku*](https://docs.rs/google-licensing1/3.0.0+20220305/google_licensing1/api::LicenseAssignmentListForProductAndSkuCall), [*patch*](https://docs.rs/google-licensing1/3.0.0+20220305/google_licensing1/api::LicenseAssignmentPatchCall) and [*update*](https://docs.rs/google-licensing1/3.0.0+20220305/google_licensing1/api::LicenseAssignmentUpdateCall) +* [license assignments](https://docs.rs/google-licensing1/3.1.0+20220305/google_licensing1/api::LicenseAssignment) + * [*delete*](https://docs.rs/google-licensing1/3.1.0+20220305/google_licensing1/api::LicenseAssignmentDeleteCall), [*get*](https://docs.rs/google-licensing1/3.1.0+20220305/google_licensing1/api::LicenseAssignmentGetCall), [*insert*](https://docs.rs/google-licensing1/3.1.0+20220305/google_licensing1/api::LicenseAssignmentInsertCall), [*list for product*](https://docs.rs/google-licensing1/3.1.0+20220305/google_licensing1/api::LicenseAssignmentListForProductCall), [*list for product and sku*](https://docs.rs/google-licensing1/3.1.0+20220305/google_licensing1/api::LicenseAssignmentListForProductAndSkuCall), [*patch*](https://docs.rs/google-licensing1/3.1.0+20220305/google_licensing1/api::LicenseAssignmentPatchCall) and [*update*](https://docs.rs/google-licensing1/3.1.0+20220305/google_licensing1/api::LicenseAssignmentUpdateCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-licensing1/3.0.0+20220305/google_licensing1/Licensing)** +* **[Hub](https://docs.rs/google-licensing1/3.1.0+20220305/google_licensing1/Licensing)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-licensing1/3.0.0+20220305/google_licensing1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-licensing1/3.0.0+20220305/google_licensing1/client::CallBuilder) -* **[Resources](https://docs.rs/google-licensing1/3.0.0+20220305/google_licensing1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-licensing1/3.1.0+20220305/google_licensing1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-licensing1/3.1.0+20220305/google_licensing1/client::CallBuilder) +* **[Resources](https://docs.rs/google-licensing1/3.1.0+20220305/google_licensing1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-licensing1/3.0.0+20220305/google_licensing1/client::Part)** + * **[Parts](https://docs.rs/google-licensing1/3.1.0+20220305/google_licensing1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-licensing1/3.0.0+20220305/google_licensing1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-licensing1/3.1.0+20220305/google_licensing1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -96,7 +96,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Licensing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Licensing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -126,17 +126,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-licensing1/3.0.0+20220305/google_licensing1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-licensing1/3.1.0+20220305/google_licensing1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-licensing1/3.0.0+20220305/google_licensing1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-licensing1/3.1.0+20220305/google_licensing1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-licensing1/3.0.0+20220305/google_licensing1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-licensing1/3.1.0+20220305/google_licensing1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-licensing1/3.0.0+20220305/google_licensing1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-licensing1/3.1.0+20220305/google_licensing1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -146,29 +146,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-licensing1/3.0.0+20220305/google_licensing1/client::Delegate) to the -[Method Builder](https://docs.rs/google-licensing1/3.0.0+20220305/google_licensing1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-licensing1/3.1.0+20220305/google_licensing1/client::Delegate) to the +[Method Builder](https://docs.rs/google-licensing1/3.1.0+20220305/google_licensing1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-licensing1/3.0.0+20220305/google_licensing1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-licensing1/3.1.0+20220305/google_licensing1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-licensing1/3.0.0+20220305/google_licensing1/client::RequestValue) and -[decodable](https://docs.rs/google-licensing1/3.0.0+20220305/google_licensing1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-licensing1/3.1.0+20220305/google_licensing1/client::RequestValue) and +[decodable](https://docs.rs/google-licensing1/3.1.0+20220305/google_licensing1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-licensing1/3.0.0+20220305/google_licensing1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-licensing1/3.1.0+20220305/google_licensing1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-licensing1/3.0.0+20220305/google_licensing1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-licensing1/3.1.0+20220305/google_licensing1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-licensing1/3.0.0+20220305/google_licensing1/client::RequestValue) are moved +* [request values](https://docs.rs/google-licensing1/3.1.0+20220305/google_licensing1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/licensing1/src/api.rs b/gen/licensing1/src/api.rs index 912eb11f2c..2e73d9b062 100644 --- a/gen/licensing1/src/api.rs +++ b/gen/licensing1/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Licensing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Licensing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -115,7 +115,7 @@ impl<'a, > Licensing<> { Licensing { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://licensing.googleapis.com/".to_string(), _root_url: "https://licensing.googleapis.com/".to_string(), } @@ -126,7 +126,7 @@ impl<'a, > Licensing<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -286,7 +286,7 @@ impl client::ResponseResult for LicenseAssignmentList {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Licensing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Licensing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list_for_product(...)`, `list_for_product_and_sku(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -487,7 +487,7 @@ impl<'a> LicenseAssignmentMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Licensing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Licensing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -763,7 +763,7 @@ impl<'a> LicenseAssignmentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Licensing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Licensing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1040,7 +1040,7 @@ impl<'a> LicenseAssignmentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Licensing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Licensing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1333,7 +1333,7 @@ impl<'a> LicenseAssignmentInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Licensing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Licensing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1621,7 +1621,7 @@ impl<'a> LicenseAssignmentListForProductCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Licensing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Licensing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1922,7 +1922,7 @@ impl<'a> LicenseAssignmentListForProductAndSkuCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Licensing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Licensing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2228,7 +2228,7 @@ impl<'a> LicenseAssignmentPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Licensing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Licensing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/licensing1/src/lib.rs b/gen/licensing1/src/lib.rs index c0711ef0a9..e3f998f45e 100644 --- a/gen/licensing1/src/lib.rs +++ b/gen/licensing1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *licensing* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *licensing:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *licensing* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *licensing:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *licensing* *v1* API can be found at the //! [official documentation site](https://developers.google.com/admin-sdk/licensing/). @@ -97,7 +97,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Licensing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Licensing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/lifesciences2_beta-cli/Cargo.toml b/gen/lifesciences2_beta-cli/Cargo.toml index 213a0d15a5..e9b1491811 100644 --- a/gen/lifesciences2_beta-cli/Cargo.toml +++ b/gen/lifesciences2_beta-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-lifesciences2_beta-cli" -version = "3.0.0+20220211" +version = "3.1.0+20220211" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Life Sciences (protocol v2beta)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/lifesciences2_beta-cli" @@ -20,12 +20,12 @@ name = "lifesciences2-beta" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-lifesciences2_beta] path = "../lifesciences2_beta" -version = "3.0.0+20220211" +version = "3.1.0+20220211" diff --git a/gen/lifesciences2_beta-cli/README.md b/gen/lifesciences2_beta-cli/README.md index ca0422dffc..ce5f92b252 100644 --- a/gen/lifesciences2_beta-cli/README.md +++ b/gen/lifesciences2_beta-cli/README.md @@ -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 *Cloud Life Sciences* API at revision *20220211*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Life Sciences* API at revision *20220211*. The CLI is at version *3.1.0*. ```bash lifesciences2-beta [options] diff --git a/gen/lifesciences2_beta-cli/mkdocs.yml b/gen/lifesciences2_beta-cli/mkdocs.yml index 18165540dc..b2261cbb13 100644 --- a/gen/lifesciences2_beta-cli/mkdocs.yml +++ b/gen/lifesciences2_beta-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Life Sciences v3.0.0+20220211 +site_name: Cloud Life Sciences v3.1.0+20220211 site_url: http://byron.github.io/google-apis-rs/google-lifesciences2_beta-cli site_description: A complete library to interact with Cloud Life Sciences (protocol v2beta) diff --git a/gen/lifesciences2_beta-cli/src/main.rs b/gen/lifesciences2_beta-cli/src/main.rs index 3924cba56c..35843b957f 100644 --- a/gen/lifesciences2_beta-cli/src/main.rs +++ b/gen/lifesciences2_beta-cli/src/main.rs @@ -526,7 +526,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/lifesciences2-beta", 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::CloudLifeSciences::new(client, auth), @@ -712,7 +718,7 @@ async fn main() { let mut app = App::new("lifesciences2-beta") .author("Sebastian Thiel ") - .version("3.0.0+20220211") + .version("3.1.0+20220211") .about("Cloud Life Sciences is a suite of services and tools for managing, processing, and transforming life sciences data.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_lifesciences2_beta_cli") .arg(Arg::with_name("url") diff --git a/gen/lifesciences2_beta/Cargo.toml b/gen/lifesciences2_beta/Cargo.toml index 21b09518c3..d0da24ae60 100644 --- a/gen/lifesciences2_beta/Cargo.toml +++ b/gen/lifesciences2_beta/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-lifesciences2_beta" -version = "3.0.0+20220211" +version = "3.1.0+20220211" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Life Sciences (protocol v2beta)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/lifesciences2_beta" homepage = "https://cloud.google.com/life-sciences" -documentation = "https://docs.rs/google-lifesciences2_beta/3.0.0+20220211" +documentation = "https://docs.rs/google-lifesciences2_beta/3.1.0+20220211" license = "MIT" keywords = ["lifesciences", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/lifesciences2_beta/README.md b/gen/lifesciences2_beta/README.md index 24a27ecb9e..6df2b02428 100644 --- a/gen/lifesciences2_beta/README.md +++ b/gen/lifesciences2_beta/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-lifesciences2_beta` library allows access to all features of the *Google Cloud Life Sciences* service. -This documentation was generated from *Cloud Life Sciences* crate version *3.0.0+20220211*, where *20220211* is the exact revision of the *lifesciences:v2beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Life Sciences* crate version *3.1.0+20220211*, where *20220211* is the exact revision of the *lifesciences:v2beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Life Sciences* *v2_beta* API can be found at the [official documentation site](https://cloud.google.com/life-sciences). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-lifesciences2_beta/3.0.0+20220211/google_lifesciences2_beta/CloudLifeSciences) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-lifesciences2_beta/3.1.0+20220211/google_lifesciences2_beta/CloudLifeSciences) ... * projects - * [*locations get*](https://docs.rs/google-lifesciences2_beta/3.0.0+20220211/google_lifesciences2_beta/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-lifesciences2_beta/3.0.0+20220211/google_lifesciences2_beta/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-lifesciences2_beta/3.0.0+20220211/google_lifesciences2_beta/api::ProjectLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-lifesciences2_beta/3.0.0+20220211/google_lifesciences2_beta/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-lifesciences2_beta/3.0.0+20220211/google_lifesciences2_beta/api::ProjectLocationOperationListCall) and [*locations pipelines run*](https://docs.rs/google-lifesciences2_beta/3.0.0+20220211/google_lifesciences2_beta/api::ProjectLocationPipelineRunCall) + * [*locations get*](https://docs.rs/google-lifesciences2_beta/3.1.0+20220211/google_lifesciences2_beta/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-lifesciences2_beta/3.1.0+20220211/google_lifesciences2_beta/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-lifesciences2_beta/3.1.0+20220211/google_lifesciences2_beta/api::ProjectLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-lifesciences2_beta/3.1.0+20220211/google_lifesciences2_beta/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-lifesciences2_beta/3.1.0+20220211/google_lifesciences2_beta/api::ProjectLocationOperationListCall) and [*locations pipelines run*](https://docs.rs/google-lifesciences2_beta/3.1.0+20220211/google_lifesciences2_beta/api::ProjectLocationPipelineRunCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-lifesciences2_beta/3.0.0+20220211/google_lifesciences2_beta/CloudLifeSciences)** +* **[Hub](https://docs.rs/google-lifesciences2_beta/3.1.0+20220211/google_lifesciences2_beta/CloudLifeSciences)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-lifesciences2_beta/3.0.0+20220211/google_lifesciences2_beta/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-lifesciences2_beta/3.0.0+20220211/google_lifesciences2_beta/client::CallBuilder) -* **[Resources](https://docs.rs/google-lifesciences2_beta/3.0.0+20220211/google_lifesciences2_beta/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-lifesciences2_beta/3.1.0+20220211/google_lifesciences2_beta/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-lifesciences2_beta/3.1.0+20220211/google_lifesciences2_beta/client::CallBuilder) +* **[Resources](https://docs.rs/google-lifesciences2_beta/3.1.0+20220211/google_lifesciences2_beta/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-lifesciences2_beta/3.0.0+20220211/google_lifesciences2_beta/client::Part)** + * **[Parts](https://docs.rs/google-lifesciences2_beta/3.1.0+20220211/google_lifesciences2_beta/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-lifesciences2_beta/3.0.0+20220211/google_lifesciences2_beta/client::CallBuilder)** +* **[Activities](https://docs.rs/google-lifesciences2_beta/3.1.0+20220211/google_lifesciences2_beta/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -92,7 +92,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudLifeSciences::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudLifeSciences::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -125,17 +125,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-lifesciences2_beta/3.0.0+20220211/google_lifesciences2_beta/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-lifesciences2_beta/3.1.0+20220211/google_lifesciences2_beta/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-lifesciences2_beta/3.0.0+20220211/google_lifesciences2_beta/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-lifesciences2_beta/3.1.0+20220211/google_lifesciences2_beta/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-lifesciences2_beta/3.0.0+20220211/google_lifesciences2_beta/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-lifesciences2_beta/3.1.0+20220211/google_lifesciences2_beta/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-lifesciences2_beta/3.0.0+20220211/google_lifesciences2_beta/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-lifesciences2_beta/3.1.0+20220211/google_lifesciences2_beta/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -145,29 +145,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-lifesciences2_beta/3.0.0+20220211/google_lifesciences2_beta/client::Delegate) to the -[Method Builder](https://docs.rs/google-lifesciences2_beta/3.0.0+20220211/google_lifesciences2_beta/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-lifesciences2_beta/3.1.0+20220211/google_lifesciences2_beta/client::Delegate) to the +[Method Builder](https://docs.rs/google-lifesciences2_beta/3.1.0+20220211/google_lifesciences2_beta/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-lifesciences2_beta/3.0.0+20220211/google_lifesciences2_beta/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-lifesciences2_beta/3.1.0+20220211/google_lifesciences2_beta/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-lifesciences2_beta/3.0.0+20220211/google_lifesciences2_beta/client::RequestValue) and -[decodable](https://docs.rs/google-lifesciences2_beta/3.0.0+20220211/google_lifesciences2_beta/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-lifesciences2_beta/3.1.0+20220211/google_lifesciences2_beta/client::RequestValue) and +[decodable](https://docs.rs/google-lifesciences2_beta/3.1.0+20220211/google_lifesciences2_beta/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-lifesciences2_beta/3.0.0+20220211/google_lifesciences2_beta/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-lifesciences2_beta/3.1.0+20220211/google_lifesciences2_beta/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-lifesciences2_beta/3.0.0+20220211/google_lifesciences2_beta/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-lifesciences2_beta/3.1.0+20220211/google_lifesciences2_beta/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-lifesciences2_beta/3.0.0+20220211/google_lifesciences2_beta/client::RequestValue) are moved +* [request values](https://docs.rs/google-lifesciences2_beta/3.1.0+20220211/google_lifesciences2_beta/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/lifesciences2_beta/src/api.rs b/gen/lifesciences2_beta/src/api.rs index e0605e7c6f..ff57e2f7c8 100644 --- a/gen/lifesciences2_beta/src/api.rs +++ b/gen/lifesciences2_beta/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudLifeSciences::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudLifeSciences::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > CloudLifeSciences<> { CloudLifeSciences { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://lifesciences.googleapis.com/".to_string(), _root_url: "https://lifesciences.googleapis.com/".to_string(), } @@ -130,7 +130,7 @@ impl<'a, > CloudLifeSciences<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -678,7 +678,7 @@ impl client::Part for Volume {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudLifeSciences::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudLifeSciences::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_get(...)`, `locations_list(...)`, `locations_operations_cancel(...)`, `locations_operations_get(...)`, `locations_operations_list(...)` and `locations_pipelines_run(...)` /// // to build up your call. @@ -839,7 +839,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudLifeSciences::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudLifeSciences::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1124,7 +1124,7 @@ impl<'a> ProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudLifeSciences::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudLifeSciences::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1380,7 +1380,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudLifeSciences::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudLifeSciences::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1673,7 +1673,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudLifeSciences::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudLifeSciences::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1958,7 +1958,7 @@ impl<'a> ProjectLocationPipelineRunCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudLifeSciences::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudLifeSciences::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2214,7 +2214,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudLifeSciences::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudLifeSciences::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/lifesciences2_beta/src/lib.rs b/gen/lifesciences2_beta/src/lib.rs index 7b305f35bf..c487410db3 100644 --- a/gen/lifesciences2_beta/src/lib.rs +++ b/gen/lifesciences2_beta/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Life Sciences* crate version *3.0.0+20220211*, where *20220211* is the exact revision of the *lifesciences:v2beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Life Sciences* crate version *3.1.0+20220211*, where *20220211* is the exact revision of the *lifesciences:v2beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Life Sciences* *v2_beta* API can be found at the //! [official documentation site](https://cloud.google.com/life-sciences). @@ -93,7 +93,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudLifeSciences::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudLifeSciences::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/localservices1-cli/Cargo.toml b/gen/localservices1-cli/Cargo.toml index 08a99dfc00..be09b384a0 100644 --- a/gen/localservices1-cli/Cargo.toml +++ b/gen/localservices1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-localservices1-cli" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with Localservices (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/localservices1-cli" @@ -20,12 +20,12 @@ name = "localservices1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-localservices1] path = "../localservices1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" diff --git a/gen/localservices1-cli/README.md b/gen/localservices1-cli/README.md index 96b86306cc..1f2ddc804d 100644 --- a/gen/localservices1-cli/README.md +++ b/gen/localservices1-cli/README.md @@ -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 *Localservices* API at revision *20220305*. The CLI is at version *3.0.0*. +This documentation was generated from the *Localservices* API at revision *20220305*. The CLI is at version *3.1.0*. ```bash localservices1 [options] diff --git a/gen/localservices1-cli/mkdocs.yml b/gen/localservices1-cli/mkdocs.yml index 1e92565851..2f9a2cb343 100644 --- a/gen/localservices1-cli/mkdocs.yml +++ b/gen/localservices1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Localservices v3.0.0+20220305 +site_name: Localservices v3.1.0+20220305 site_url: http://byron.github.io/google-apis-rs/google-localservices1-cli site_description: A complete library to interact with Localservices (protocol v1) diff --git a/gen/localservices1-cli/src/main.rs b/gen/localservices1-cli/src/main.rs index 98ece955bd..17b28fede6 100644 --- a/gen/localservices1-cli/src/main.rs +++ b/gen/localservices1-cli/src/main.rs @@ -263,7 +263,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/localservices1", 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::Localservices::new(client, auth), @@ -340,7 +346,7 @@ async fn main() { let mut app = App::new("localservices1") .author("Sebastian Thiel ") - .version("3.0.0+20220305") + .version("3.1.0+20220305") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_localservices1_cli") .arg(Arg::with_name("url") diff --git a/gen/localservices1/Cargo.toml b/gen/localservices1/Cargo.toml index 0b05f71547..886f65cb2a 100644 --- a/gen/localservices1/Cargo.toml +++ b/gen/localservices1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-localservices1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with Localservices (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/localservices1" homepage = "https://ads.google.com/local-services-ads/" -documentation = "https://docs.rs/google-localservices1/3.0.0+20220305" +documentation = "https://docs.rs/google-localservices1/3.1.0+20220305" license = "MIT" keywords = ["localservices", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/localservices1/README.md b/gen/localservices1/README.md index b934773b93..ec996b3f58 100644 --- a/gen/localservices1/README.md +++ b/gen/localservices1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-localservices1` library allows access to all features of the *Google Localservices* service. -This documentation was generated from *Localservices* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *localservices:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Localservices* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *localservices:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Localservices* *v1* API can be found at the [official documentation site](https://ads.google.com/local-services-ads/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-localservices1/3.0.0+20220305/google_localservices1/Localservices) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-localservices1/3.1.0+20220305/google_localservices1/Localservices) ... * account reports - * [*search*](https://docs.rs/google-localservices1/3.0.0+20220305/google_localservices1/api::AccountReportSearchCall) + * [*search*](https://docs.rs/google-localservices1/3.1.0+20220305/google_localservices1/api::AccountReportSearchCall) * detailed lead reports - * [*search*](https://docs.rs/google-localservices1/3.0.0+20220305/google_localservices1/api::DetailedLeadReportSearchCall) + * [*search*](https://docs.rs/google-localservices1/3.1.0+20220305/google_localservices1/api::DetailedLeadReportSearchCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-localservices1/3.0.0+20220305/google_localservices1/Localservices)** +* **[Hub](https://docs.rs/google-localservices1/3.1.0+20220305/google_localservices1/Localservices)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-localservices1/3.0.0+20220305/google_localservices1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-localservices1/3.0.0+20220305/google_localservices1/client::CallBuilder) -* **[Resources](https://docs.rs/google-localservices1/3.0.0+20220305/google_localservices1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-localservices1/3.1.0+20220305/google_localservices1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-localservices1/3.1.0+20220305/google_localservices1/client::CallBuilder) +* **[Resources](https://docs.rs/google-localservices1/3.1.0+20220305/google_localservices1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-localservices1/3.0.0+20220305/google_localservices1/client::Part)** + * **[Parts](https://docs.rs/google-localservices1/3.1.0+20220305/google_localservices1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-localservices1/3.0.0+20220305/google_localservices1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-localservices1/3.1.0+20220305/google_localservices1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -92,7 +92,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Localservices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Localservices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -129,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-localservices1/3.0.0+20220305/google_localservices1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-localservices1/3.1.0+20220305/google_localservices1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-localservices1/3.0.0+20220305/google_localservices1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-localservices1/3.1.0+20220305/google_localservices1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-localservices1/3.0.0+20220305/google_localservices1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-localservices1/3.1.0+20220305/google_localservices1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-localservices1/3.0.0+20220305/google_localservices1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-localservices1/3.1.0+20220305/google_localservices1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -149,29 +149,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-localservices1/3.0.0+20220305/google_localservices1/client::Delegate) to the -[Method Builder](https://docs.rs/google-localservices1/3.0.0+20220305/google_localservices1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-localservices1/3.1.0+20220305/google_localservices1/client::Delegate) to the +[Method Builder](https://docs.rs/google-localservices1/3.1.0+20220305/google_localservices1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-localservices1/3.0.0+20220305/google_localservices1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-localservices1/3.1.0+20220305/google_localservices1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-localservices1/3.0.0+20220305/google_localservices1/client::RequestValue) and -[decodable](https://docs.rs/google-localservices1/3.0.0+20220305/google_localservices1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-localservices1/3.1.0+20220305/google_localservices1/client::RequestValue) and +[decodable](https://docs.rs/google-localservices1/3.1.0+20220305/google_localservices1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-localservices1/3.0.0+20220305/google_localservices1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-localservices1/3.1.0+20220305/google_localservices1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-localservices1/3.0.0+20220305/google_localservices1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-localservices1/3.1.0+20220305/google_localservices1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-localservices1/3.0.0+20220305/google_localservices1/client::RequestValue) are moved +* [request values](https://docs.rs/google-localservices1/3.1.0+20220305/google_localservices1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/localservices1/src/api.rs b/gen/localservices1/src/api.rs index 92195adbf1..882c6a0965 100644 --- a/gen/localservices1/src/api.rs +++ b/gen/localservices1/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Localservices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Localservices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -122,7 +122,7 @@ impl<'a, > Localservices<> { Localservices { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://localservices.googleapis.com/".to_string(), _root_url: "https://localservices.googleapis.com/".to_string(), } @@ -136,7 +136,7 @@ impl<'a, > Localservices<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -451,7 +451,7 @@ impl client::Part for GoogleTypeTimeZone {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Localservices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Localservices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `search(...)` /// // to build up your call. @@ -513,7 +513,7 @@ impl<'a> AccountReportMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Localservices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Localservices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `search(...)` /// // to build up your call. @@ -582,7 +582,7 @@ impl<'a> DetailedLeadReportMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Localservices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Localservices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -909,7 +909,7 @@ impl<'a> AccountReportSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Localservices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Localservices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/localservices1/src/lib.rs b/gen/localservices1/src/lib.rs index 35a21565ed..73116ef013 100644 --- a/gen/localservices1/src/lib.rs +++ b/gen/localservices1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Localservices* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *localservices:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Localservices* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *localservices:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Localservices* *v1* API can be found at the //! [official documentation site](https://ads.google.com/local-services-ads/). @@ -93,7 +93,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Localservices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Localservices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/logging2-cli/Cargo.toml b/gen/logging2-cli/Cargo.toml index b14269c6fb..e9e6b11af7 100644 --- a/gen/logging2-cli/Cargo.toml +++ b/gen/logging2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-logging2-cli" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with Logging (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/logging2-cli" @@ -20,12 +20,12 @@ name = "logging2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-logging2] path = "../logging2" -version = "3.0.0+20220225" +version = "3.1.0+20220225" diff --git a/gen/logging2-cli/README.md b/gen/logging2-cli/README.md index 1de9a99c0e..6d82c5fe1b 100644 --- a/gen/logging2-cli/README.md +++ b/gen/logging2-cli/README.md @@ -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 *Logging* API at revision *20220225*. The CLI is at version *3.0.0*. +This documentation was generated from the *Logging* API at revision *20220225*. The CLI is at version *3.1.0*. ```bash logging2 [options] diff --git a/gen/logging2-cli/mkdocs.yml b/gen/logging2-cli/mkdocs.yml index d62009c1da..d391e88a74 100644 --- a/gen/logging2-cli/mkdocs.yml +++ b/gen/logging2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Logging v3.0.0+20220225 +site_name: Logging v3.1.0+20220225 site_url: http://byron.github.io/google-apis-rs/google-logging2-cli site_description: A complete library to interact with Logging (protocol v2) diff --git a/gen/logging2-cli/src/main.rs b/gen/logging2-cli/src/main.rs index 762a8fa0c1..80b6801794 100644 --- a/gen/logging2-cli/src/main.rs +++ b/gen/logging2-cli/src/main.rs @@ -12534,7 +12534,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/logging2", 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::Logging::new(client, auth), @@ -16684,7 +16690,7 @@ async fn main() { let mut app = App::new("logging2") .author("Sebastian Thiel ") - .version("3.0.0+20220225") + .version("3.1.0+20220225") .about("Writes log entries and manages your Cloud Logging configuration.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_logging2_cli") .arg(Arg::with_name("url") diff --git a/gen/logging2/Cargo.toml b/gen/logging2/Cargo.toml index f3924177ed..aac29c49c7 100644 --- a/gen/logging2/Cargo.toml +++ b/gen/logging2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-logging2" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with Logging (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/logging2" homepage = "https://cloud.google.com/logging/docs/" -documentation = "https://docs.rs/google-logging2/3.0.0+20220225" +documentation = "https://docs.rs/google-logging2/3.1.0+20220225" license = "MIT" keywords = ["logging", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/logging2/README.md b/gen/logging2/README.md index ee71f6aff2..ecaad4ddc5 100644 --- a/gen/logging2/README.md +++ b/gen/logging2/README.md @@ -5,41 +5,41 @@ DO NOT EDIT ! --> The `google-logging2` library allows access to all features of the *Google Logging* service. -This documentation was generated from *Logging* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *logging:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Logging* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *logging:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Logging* *v2* API can be found at the [official documentation site](https://cloud.google.com/logging/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/Logging) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/Logging) ... * billing accounts - * [*buckets get*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::BillingAccountBucketGetCall), [*buckets views get*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::BillingAccountBucketViewGetCall), [*exclusions create*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::BillingAccountExclusionCreateCall), [*exclusions delete*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::BillingAccountExclusionDeleteCall), [*exclusions get*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::BillingAccountExclusionGetCall), [*exclusions list*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::BillingAccountExclusionListCall), [*exclusions patch*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::BillingAccountExclusionPatchCall), [*get cmek settings*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::BillingAccountGetCmekSettingCall), [*get settings*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::BillingAccountGetSettingCall), [*locations buckets create*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::BillingAccountLocationBucketCreateCall), [*locations buckets delete*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::BillingAccountLocationBucketDeleteCall), [*locations buckets list*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::BillingAccountLocationBucketListCall), [*locations buckets patch*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::BillingAccountLocationBucketPatchCall), [*locations buckets undelete*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::BillingAccountLocationBucketUndeleteCall), [*locations buckets views create*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::BillingAccountLocationBucketViewCreateCall), [*locations buckets views delete*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::BillingAccountLocationBucketViewDeleteCall), [*locations buckets views list*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::BillingAccountLocationBucketViewListCall), [*locations buckets views patch*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::BillingAccountLocationBucketViewPatchCall), [*locations get*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::BillingAccountLocationGetCall), [*locations list*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::BillingAccountLocationListCall), [*locations operations cancel*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::BillingAccountLocationOperationCancelCall), [*locations operations list*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::BillingAccountLocationOperationListCall), [*logs delete*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::BillingAccountLogDeleteCall), [*logs list*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::BillingAccountLogListCall), [*operations get*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::BillingAccountOperationGetCall), [*sinks create*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::BillingAccountSinkCreateCall), [*sinks delete*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::BillingAccountSinkDeleteCall), [*sinks get*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::BillingAccountSinkGetCall), [*sinks list*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::BillingAccountSinkListCall), [*sinks patch*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::BillingAccountSinkPatchCall) and [*sinks update*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::BillingAccountSinkUpdateCall) + * [*buckets get*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::BillingAccountBucketGetCall), [*buckets views get*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::BillingAccountBucketViewGetCall), [*exclusions create*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::BillingAccountExclusionCreateCall), [*exclusions delete*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::BillingAccountExclusionDeleteCall), [*exclusions get*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::BillingAccountExclusionGetCall), [*exclusions list*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::BillingAccountExclusionListCall), [*exclusions patch*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::BillingAccountExclusionPatchCall), [*get cmek settings*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::BillingAccountGetCmekSettingCall), [*get settings*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::BillingAccountGetSettingCall), [*locations buckets create*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::BillingAccountLocationBucketCreateCall), [*locations buckets delete*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::BillingAccountLocationBucketDeleteCall), [*locations buckets list*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::BillingAccountLocationBucketListCall), [*locations buckets patch*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::BillingAccountLocationBucketPatchCall), [*locations buckets undelete*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::BillingAccountLocationBucketUndeleteCall), [*locations buckets views create*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::BillingAccountLocationBucketViewCreateCall), [*locations buckets views delete*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::BillingAccountLocationBucketViewDeleteCall), [*locations buckets views list*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::BillingAccountLocationBucketViewListCall), [*locations buckets views patch*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::BillingAccountLocationBucketViewPatchCall), [*locations get*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::BillingAccountLocationGetCall), [*locations list*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::BillingAccountLocationListCall), [*locations operations cancel*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::BillingAccountLocationOperationCancelCall), [*locations operations list*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::BillingAccountLocationOperationListCall), [*logs delete*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::BillingAccountLogDeleteCall), [*logs list*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::BillingAccountLogListCall), [*operations get*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::BillingAccountOperationGetCall), [*sinks create*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::BillingAccountSinkCreateCall), [*sinks delete*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::BillingAccountSinkDeleteCall), [*sinks get*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::BillingAccountSinkGetCall), [*sinks list*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::BillingAccountSinkListCall), [*sinks patch*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::BillingAccountSinkPatchCall) and [*sinks update*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::BillingAccountSinkUpdateCall) * entries - * [*copy*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::EntryCopyCall), [*list*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::EntryListCall), [*tail*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::EntryTailCall) and [*write*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::EntryWriteCall) + * [*copy*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::EntryCopyCall), [*list*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::EntryListCall), [*tail*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::EntryTailCall) and [*write*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::EntryWriteCall) * exclusions - * [*create*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::ExclusionCreateCall), [*delete*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::ExclusionDeleteCall), [*get*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::ExclusionGetCall), [*list*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::ExclusionListCall) and [*patch*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::ExclusionPatchCall) + * [*create*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::ExclusionCreateCall), [*delete*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::ExclusionDeleteCall), [*get*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::ExclusionGetCall), [*list*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::ExclusionListCall) and [*patch*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::ExclusionPatchCall) * folders - * [*exclusions create*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::FolderExclusionCreateCall), [*exclusions delete*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::FolderExclusionDeleteCall), [*exclusions get*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::FolderExclusionGetCall), [*exclusions list*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::FolderExclusionListCall), [*exclusions patch*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::FolderExclusionPatchCall), [*get cmek settings*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::FolderGetCmekSettingCall), [*get settings*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::FolderGetSettingCall), [*locations buckets create*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::FolderLocationBucketCreateCall), [*locations buckets delete*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::FolderLocationBucketDeleteCall), [*locations buckets get*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::FolderLocationBucketGetCall), [*locations buckets list*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::FolderLocationBucketListCall), [*locations buckets patch*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::FolderLocationBucketPatchCall), [*locations buckets undelete*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::FolderLocationBucketUndeleteCall), [*locations buckets views create*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::FolderLocationBucketViewCreateCall), [*locations buckets views delete*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::FolderLocationBucketViewDeleteCall), [*locations buckets views get*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::FolderLocationBucketViewGetCall), [*locations buckets views list*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::FolderLocationBucketViewListCall), [*locations buckets views patch*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::FolderLocationBucketViewPatchCall), [*locations get*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::FolderLocationGetCall), [*locations list*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::FolderLocationListCall), [*locations operations cancel*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::FolderLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::FolderLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::FolderLocationOperationListCall), [*logs delete*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::FolderLogDeleteCall), [*logs list*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::FolderLogListCall), [*sinks create*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::FolderSinkCreateCall), [*sinks delete*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::FolderSinkDeleteCall), [*sinks get*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::FolderSinkGetCall), [*sinks list*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::FolderSinkListCall), [*sinks patch*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::FolderSinkPatchCall), [*sinks update*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::FolderSinkUpdateCall) and [*update settings*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::FolderUpdateSettingCall) -* [locations](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::Location) - * [*buckets create*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::LocationBucketCreateCall), [*buckets delete*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::LocationBucketDeleteCall), [*buckets get*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::LocationBucketGetCall), [*buckets list*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::LocationBucketListCall), [*buckets patch*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::LocationBucketPatchCall), [*buckets undelete*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::LocationBucketUndeleteCall), [*buckets views create*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::LocationBucketViewCreateCall), [*buckets views delete*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::LocationBucketViewDeleteCall), [*buckets views get*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::LocationBucketViewGetCall), [*buckets views list*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::LocationBucketViewListCall), [*buckets views patch*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::LocationBucketViewPatchCall), [*get*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::LocationGetCall), [*list*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::LocationListCall), [*operations cancel*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::LocationOperationCancelCall), [*operations get*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::LocationOperationGetCall) and [*operations list*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::LocationOperationListCall) + * [*exclusions create*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::FolderExclusionCreateCall), [*exclusions delete*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::FolderExclusionDeleteCall), [*exclusions get*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::FolderExclusionGetCall), [*exclusions list*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::FolderExclusionListCall), [*exclusions patch*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::FolderExclusionPatchCall), [*get cmek settings*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::FolderGetCmekSettingCall), [*get settings*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::FolderGetSettingCall), [*locations buckets create*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::FolderLocationBucketCreateCall), [*locations buckets delete*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::FolderLocationBucketDeleteCall), [*locations buckets get*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::FolderLocationBucketGetCall), [*locations buckets list*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::FolderLocationBucketListCall), [*locations buckets patch*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::FolderLocationBucketPatchCall), [*locations buckets undelete*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::FolderLocationBucketUndeleteCall), [*locations buckets views create*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::FolderLocationBucketViewCreateCall), [*locations buckets views delete*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::FolderLocationBucketViewDeleteCall), [*locations buckets views get*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::FolderLocationBucketViewGetCall), [*locations buckets views list*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::FolderLocationBucketViewListCall), [*locations buckets views patch*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::FolderLocationBucketViewPatchCall), [*locations get*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::FolderLocationGetCall), [*locations list*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::FolderLocationListCall), [*locations operations cancel*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::FolderLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::FolderLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::FolderLocationOperationListCall), [*logs delete*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::FolderLogDeleteCall), [*logs list*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::FolderLogListCall), [*sinks create*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::FolderSinkCreateCall), [*sinks delete*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::FolderSinkDeleteCall), [*sinks get*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::FolderSinkGetCall), [*sinks list*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::FolderSinkListCall), [*sinks patch*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::FolderSinkPatchCall), [*sinks update*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::FolderSinkUpdateCall) and [*update settings*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::FolderUpdateSettingCall) +* [locations](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::Location) + * [*buckets create*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::LocationBucketCreateCall), [*buckets delete*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::LocationBucketDeleteCall), [*buckets get*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::LocationBucketGetCall), [*buckets list*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::LocationBucketListCall), [*buckets patch*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::LocationBucketPatchCall), [*buckets undelete*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::LocationBucketUndeleteCall), [*buckets views create*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::LocationBucketViewCreateCall), [*buckets views delete*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::LocationBucketViewDeleteCall), [*buckets views get*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::LocationBucketViewGetCall), [*buckets views list*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::LocationBucketViewListCall), [*buckets views patch*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::LocationBucketViewPatchCall), [*get*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::LocationGetCall), [*list*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::LocationListCall), [*operations cancel*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::LocationOperationCancelCall), [*operations get*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::LocationOperationGetCall) and [*operations list*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::LocationOperationListCall) * logs - * [*delete*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::LogDeleteCall) and [*list*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::LogListCall) -* [monitored resource descriptors](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::MonitoredResourceDescriptor) - * [*list*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::MonitoredResourceDescriptorListCall) + * [*delete*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::LogDeleteCall) and [*list*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::LogListCall) +* [monitored resource descriptors](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::MonitoredResourceDescriptor) + * [*list*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::MonitoredResourceDescriptorListCall) * organizations - * [*exclusions create*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::OrganizationExclusionCreateCall), [*exclusions delete*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::OrganizationExclusionDeleteCall), [*exclusions get*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::OrganizationExclusionGetCall), [*exclusions list*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::OrganizationExclusionListCall), [*exclusions patch*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::OrganizationExclusionPatchCall), [*get cmek settings*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::OrganizationGetCmekSettingCall), [*get settings*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::OrganizationGetSettingCall), [*locations buckets create*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::OrganizationLocationBucketCreateCall), [*locations buckets delete*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::OrganizationLocationBucketDeleteCall), [*locations buckets get*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::OrganizationLocationBucketGetCall), [*locations buckets list*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::OrganizationLocationBucketListCall), [*locations buckets patch*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::OrganizationLocationBucketPatchCall), [*locations buckets undelete*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::OrganizationLocationBucketUndeleteCall), [*locations buckets views create*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::OrganizationLocationBucketViewCreateCall), [*locations buckets views delete*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::OrganizationLocationBucketViewDeleteCall), [*locations buckets views get*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::OrganizationLocationBucketViewGetCall), [*locations buckets views list*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::OrganizationLocationBucketViewListCall), [*locations buckets views patch*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::OrganizationLocationBucketViewPatchCall), [*locations get*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::OrganizationLocationGetCall), [*locations list*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::OrganizationLocationListCall), [*locations operations cancel*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::OrganizationLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::OrganizationLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::OrganizationLocationOperationListCall), [*logs delete*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::OrganizationLogDeleteCall), [*logs list*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::OrganizationLogListCall), [*sinks create*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::OrganizationSinkCreateCall), [*sinks delete*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::OrganizationSinkDeleteCall), [*sinks get*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::OrganizationSinkGetCall), [*sinks list*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::OrganizationSinkListCall), [*sinks patch*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::OrganizationSinkPatchCall), [*sinks update*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::OrganizationSinkUpdateCall), [*update cmek settings*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::OrganizationUpdateCmekSettingCall) and [*update settings*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::OrganizationUpdateSettingCall) + * [*exclusions create*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::OrganizationExclusionCreateCall), [*exclusions delete*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::OrganizationExclusionDeleteCall), [*exclusions get*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::OrganizationExclusionGetCall), [*exclusions list*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::OrganizationExclusionListCall), [*exclusions patch*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::OrganizationExclusionPatchCall), [*get cmek settings*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::OrganizationGetCmekSettingCall), [*get settings*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::OrganizationGetSettingCall), [*locations buckets create*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::OrganizationLocationBucketCreateCall), [*locations buckets delete*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::OrganizationLocationBucketDeleteCall), [*locations buckets get*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::OrganizationLocationBucketGetCall), [*locations buckets list*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::OrganizationLocationBucketListCall), [*locations buckets patch*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::OrganizationLocationBucketPatchCall), [*locations buckets undelete*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::OrganizationLocationBucketUndeleteCall), [*locations buckets views create*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::OrganizationLocationBucketViewCreateCall), [*locations buckets views delete*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::OrganizationLocationBucketViewDeleteCall), [*locations buckets views get*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::OrganizationLocationBucketViewGetCall), [*locations buckets views list*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::OrganizationLocationBucketViewListCall), [*locations buckets views patch*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::OrganizationLocationBucketViewPatchCall), [*locations get*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::OrganizationLocationGetCall), [*locations list*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::OrganizationLocationListCall), [*locations operations cancel*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::OrganizationLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::OrganizationLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::OrganizationLocationOperationListCall), [*logs delete*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::OrganizationLogDeleteCall), [*logs list*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::OrganizationLogListCall), [*sinks create*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::OrganizationSinkCreateCall), [*sinks delete*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::OrganizationSinkDeleteCall), [*sinks get*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::OrganizationSinkGetCall), [*sinks list*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::OrganizationSinkListCall), [*sinks patch*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::OrganizationSinkPatchCall), [*sinks update*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::OrganizationSinkUpdateCall), [*update cmek settings*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::OrganizationUpdateCmekSettingCall) and [*update settings*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::OrganizationUpdateSettingCall) * projects - * [*exclusions create*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::ProjectExclusionCreateCall), [*exclusions delete*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::ProjectExclusionDeleteCall), [*exclusions get*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::ProjectExclusionGetCall), [*exclusions list*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::ProjectExclusionListCall), [*exclusions patch*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::ProjectExclusionPatchCall), [*get cmek settings*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::ProjectGetCmekSettingCall), [*get settings*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::ProjectGetSettingCall), [*locations buckets create*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::ProjectLocationBucketCreateCall), [*locations buckets delete*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::ProjectLocationBucketDeleteCall), [*locations buckets get*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::ProjectLocationBucketGetCall), [*locations buckets list*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::ProjectLocationBucketListCall), [*locations buckets patch*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::ProjectLocationBucketPatchCall), [*locations buckets undelete*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::ProjectLocationBucketUndeleteCall), [*locations buckets views create*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::ProjectLocationBucketViewCreateCall), [*locations buckets views delete*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::ProjectLocationBucketViewDeleteCall), [*locations buckets views get*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::ProjectLocationBucketViewGetCall), [*locations buckets views list*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::ProjectLocationBucketViewListCall), [*locations buckets views patch*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::ProjectLocationBucketViewPatchCall), [*locations get*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::ProjectLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::ProjectLocationOperationListCall), [*logs delete*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::ProjectLogDeleteCall), [*logs list*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::ProjectLogListCall), [*metrics create*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::ProjectMetricCreateCall), [*metrics delete*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::ProjectMetricDeleteCall), [*metrics get*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::ProjectMetricGetCall), [*metrics list*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::ProjectMetricListCall), [*metrics update*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::ProjectMetricUpdateCall), [*sinks create*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::ProjectSinkCreateCall), [*sinks delete*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::ProjectSinkDeleteCall), [*sinks get*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::ProjectSinkGetCall), [*sinks list*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::ProjectSinkListCall), [*sinks patch*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::ProjectSinkPatchCall) and [*sinks update*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::ProjectSinkUpdateCall) + * [*exclusions create*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::ProjectExclusionCreateCall), [*exclusions delete*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::ProjectExclusionDeleteCall), [*exclusions get*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::ProjectExclusionGetCall), [*exclusions list*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::ProjectExclusionListCall), [*exclusions patch*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::ProjectExclusionPatchCall), [*get cmek settings*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::ProjectGetCmekSettingCall), [*get settings*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::ProjectGetSettingCall), [*locations buckets create*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::ProjectLocationBucketCreateCall), [*locations buckets delete*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::ProjectLocationBucketDeleteCall), [*locations buckets get*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::ProjectLocationBucketGetCall), [*locations buckets list*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::ProjectLocationBucketListCall), [*locations buckets patch*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::ProjectLocationBucketPatchCall), [*locations buckets undelete*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::ProjectLocationBucketUndeleteCall), [*locations buckets views create*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::ProjectLocationBucketViewCreateCall), [*locations buckets views delete*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::ProjectLocationBucketViewDeleteCall), [*locations buckets views get*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::ProjectLocationBucketViewGetCall), [*locations buckets views list*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::ProjectLocationBucketViewListCall), [*locations buckets views patch*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::ProjectLocationBucketViewPatchCall), [*locations get*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::ProjectLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::ProjectLocationOperationListCall), [*logs delete*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::ProjectLogDeleteCall), [*logs list*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::ProjectLogListCall), [*metrics create*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::ProjectMetricCreateCall), [*metrics delete*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::ProjectMetricDeleteCall), [*metrics get*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::ProjectMetricGetCall), [*metrics list*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::ProjectMetricListCall), [*metrics update*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::ProjectMetricUpdateCall), [*sinks create*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::ProjectSinkCreateCall), [*sinks delete*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::ProjectSinkDeleteCall), [*sinks get*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::ProjectSinkGetCall), [*sinks list*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::ProjectSinkListCall), [*sinks patch*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::ProjectSinkPatchCall) and [*sinks update*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::ProjectSinkUpdateCall) * sinks - * [*create*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::SinkCreateCall), [*delete*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::SinkDeleteCall), [*get*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::SinkGetCall), [*list*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::SinkListCall) and [*update*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::SinkUpdateCall) + * [*create*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::SinkCreateCall), [*delete*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::SinkDeleteCall), [*get*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::SinkGetCall), [*list*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::SinkListCall) and [*update*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::SinkUpdateCall) Other activities are ... -* [get cmek settings](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::MethodGetCmekSettingCall) -* [get settings](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::MethodGetSettingCall) -* [update cmek settings](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::MethodUpdateCmekSettingCall) -* [update settings](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/api::MethodUpdateSettingCall) +* [get cmek settings](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::MethodGetCmekSettingCall) +* [get settings](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::MethodGetSettingCall) +* [update cmek settings](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::MethodUpdateCmekSettingCall) +* [update settings](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/api::MethodUpdateSettingCall) @@ -47,17 +47,17 @@ Other activities are ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/Logging)** +* **[Hub](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/Logging)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/client::CallBuilder) -* **[Resources](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/client::CallBuilder) +* **[Resources](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/client::Part)** + * **[Parts](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -150,7 +150,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -183,17 +183,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -203,29 +203,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/client::Delegate) to the -[Method Builder](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/client::Delegate) to the +[Method Builder](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/client::RequestValue) and -[decodable](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/client::RequestValue) and +[decodable](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-logging2/3.0.0+20220225/google_logging2/client::RequestValue) are moved +* [request values](https://docs.rs/google-logging2/3.1.0+20220225/google_logging2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/logging2/src/api.rs b/gen/logging2/src/api.rs index 37877376cc..a1196192e2 100644 --- a/gen/logging2/src/api.rs +++ b/gen/logging2/src/api.rs @@ -87,7 +87,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -135,7 +135,7 @@ impl<'a, > Logging<> { Logging { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://logging.googleapis.com/".to_string(), _root_url: "https://logging.googleapis.com/".to_string(), } @@ -176,7 +176,7 @@ impl<'a, > Logging<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1531,7 +1531,7 @@ impl client::ResponseResult for WriteLogEntriesResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `buckets_get(...)`, `buckets_views_get(...)`, `exclusions_create(...)`, `exclusions_delete(...)`, `exclusions_get(...)`, `exclusions_list(...)`, `exclusions_patch(...)`, `get_cmek_settings(...)`, `get_settings(...)`, `locations_buckets_create(...)`, `locations_buckets_delete(...)`, `locations_buckets_list(...)`, `locations_buckets_patch(...)`, `locations_buckets_undelete(...)`, `locations_buckets_views_create(...)`, `locations_buckets_views_delete(...)`, `locations_buckets_views_list(...)`, `locations_buckets_views_patch(...)`, `locations_get(...)`, `locations_list(...)`, `locations_operations_cancel(...)`, `locations_operations_list(...)`, `logs_delete(...)`, `logs_list(...)`, `operations_get(...)`, `sinks_create(...)`, `sinks_delete(...)`, `sinks_get(...)`, `sinks_list(...)`, `sinks_patch(...)` and `sinks_update(...)` /// // to build up your call. @@ -2148,7 +2148,7 @@ impl<'a> BillingAccountMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `copy(...)`, `list(...)`, `tail(...)` and `write(...)` /// // to build up your call. @@ -2257,7 +2257,7 @@ impl<'a> EntryMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)`, `get(...)`, `list(...)` and `patch(...)` /// // to build up your call. @@ -2390,7 +2390,7 @@ impl<'a> ExclusionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `exclusions_create(...)`, `exclusions_delete(...)`, `exclusions_get(...)`, `exclusions_list(...)`, `exclusions_patch(...)`, `get_cmek_settings(...)`, `get_settings(...)`, `locations_buckets_create(...)`, `locations_buckets_delete(...)`, `locations_buckets_get(...)`, `locations_buckets_list(...)`, `locations_buckets_patch(...)`, `locations_buckets_undelete(...)`, `locations_buckets_views_create(...)`, `locations_buckets_views_delete(...)`, `locations_buckets_views_get(...)`, `locations_buckets_views_list(...)`, `locations_buckets_views_patch(...)`, `locations_get(...)`, `locations_list(...)`, `locations_operations_cancel(...)`, `locations_operations_get(...)`, `locations_operations_list(...)`, `logs_delete(...)`, `logs_list(...)`, `sinks_create(...)`, `sinks_delete(...)`, `sinks_get(...)`, `sinks_list(...)`, `sinks_patch(...)`, `sinks_update(...)` and `update_settings(...)` /// // to build up your call. @@ -3027,7 +3027,7 @@ impl<'a> FolderMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `buckets_create(...)`, `buckets_delete(...)`, `buckets_get(...)`, `buckets_list(...)`, `buckets_patch(...)`, `buckets_undelete(...)`, `buckets_views_create(...)`, `buckets_views_delete(...)`, `buckets_views_get(...)`, `buckets_views_list(...)`, `buckets_views_patch(...)`, `get(...)`, `list(...)`, `operations_cancel(...)`, `operations_get(...)` and `operations_list(...)` /// // to build up your call. @@ -3366,7 +3366,7 @@ impl<'a> LocationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)` and `list(...)` /// // to build up your call. @@ -3444,7 +3444,7 @@ impl<'a> LogMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -3499,7 +3499,7 @@ impl<'a> MonitoredResourceDescriptorMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `exclusions_create(...)`, `exclusions_delete(...)`, `exclusions_get(...)`, `exclusions_list(...)`, `exclusions_patch(...)`, `get_cmek_settings(...)`, `get_settings(...)`, `locations_buckets_create(...)`, `locations_buckets_delete(...)`, `locations_buckets_get(...)`, `locations_buckets_list(...)`, `locations_buckets_patch(...)`, `locations_buckets_undelete(...)`, `locations_buckets_views_create(...)`, `locations_buckets_views_delete(...)`, `locations_buckets_views_get(...)`, `locations_buckets_views_list(...)`, `locations_buckets_views_patch(...)`, `locations_get(...)`, `locations_list(...)`, `locations_operations_cancel(...)`, `locations_operations_get(...)`, `locations_operations_list(...)`, `logs_delete(...)`, `logs_list(...)`, `sinks_create(...)`, `sinks_delete(...)`, `sinks_get(...)`, `sinks_list(...)`, `sinks_patch(...)`, `sinks_update(...)`, `update_cmek_settings(...)` and `update_settings(...)` /// // to build up your call. @@ -4156,7 +4156,7 @@ impl<'a> OrganizationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `exclusions_create(...)`, `exclusions_delete(...)`, `exclusions_get(...)`, `exclusions_list(...)`, `exclusions_patch(...)`, `get_cmek_settings(...)`, `get_settings(...)`, `locations_buckets_create(...)`, `locations_buckets_delete(...)`, `locations_buckets_get(...)`, `locations_buckets_list(...)`, `locations_buckets_patch(...)`, `locations_buckets_undelete(...)`, `locations_buckets_views_create(...)`, `locations_buckets_views_delete(...)`, `locations_buckets_views_get(...)`, `locations_buckets_views_list(...)`, `locations_buckets_views_patch(...)`, `locations_get(...)`, `locations_list(...)`, `locations_operations_cancel(...)`, `locations_operations_get(...)`, `locations_operations_list(...)`, `logs_delete(...)`, `logs_list(...)`, `metrics_create(...)`, `metrics_delete(...)`, `metrics_get(...)`, `metrics_list(...)`, `metrics_update(...)`, `sinks_create(...)`, `sinks_delete(...)`, `sinks_get(...)`, `sinks_list(...)`, `sinks_patch(...)` and `sinks_update(...)` /// // to build up your call. @@ -4864,7 +4864,7 @@ impl<'a> ProjectMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)`, `get(...)`, `list(...)` and `update(...)` /// // to build up your call. @@ -4999,7 +4999,7 @@ impl<'a> SinkMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get_cmek_settings(...)`, `get_settings(...)`, `update_cmek_settings(...)` and `update_settings(...)` /// // to build up your call. @@ -5121,7 +5121,7 @@ impl<'a> MethodMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5377,7 +5377,7 @@ impl<'a> BillingAccountBucketViewGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5634,7 +5634,7 @@ impl<'a> BillingAccountBucketGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5919,7 +5919,7 @@ impl<'a> BillingAccountExclusionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6175,7 +6175,7 @@ impl<'a> BillingAccountExclusionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6431,7 +6431,7 @@ impl<'a> BillingAccountExclusionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6712,7 +6712,7 @@ impl<'a> BillingAccountExclusionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7010,7 +7010,7 @@ impl<'a> BillingAccountExclusionPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7307,7 +7307,7 @@ impl<'a> BillingAccountLocationBucketViewCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7563,7 +7563,7 @@ impl<'a> BillingAccountLocationBucketViewDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7844,7 +7844,7 @@ impl<'a> BillingAccountLocationBucketViewListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8142,7 +8142,7 @@ impl<'a> BillingAccountLocationBucketViewPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8439,7 +8439,7 @@ impl<'a> BillingAccountLocationBucketCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8695,7 +8695,7 @@ impl<'a> BillingAccountLocationBucketDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8976,7 +8976,7 @@ impl<'a> BillingAccountLocationBucketListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9274,7 +9274,7 @@ impl<'a> BillingAccountLocationBucketPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9560,7 +9560,7 @@ impl<'a> BillingAccountLocationBucketUndeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9845,7 +9845,7 @@ impl<'a> BillingAccountLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10137,7 +10137,7 @@ impl<'a> BillingAccountLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10393,7 +10393,7 @@ impl<'a> BillingAccountLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10685,7 +10685,7 @@ impl<'a> BillingAccountLocationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10941,7 +10941,7 @@ impl<'a> BillingAccountLogDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11236,7 +11236,7 @@ impl<'a> BillingAccountLogListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11493,7 +11493,7 @@ impl<'a> BillingAccountOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11790,7 +11790,7 @@ impl<'a> BillingAccountSinkCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12046,7 +12046,7 @@ impl<'a> BillingAccountSinkDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12302,7 +12302,7 @@ impl<'a> BillingAccountSinkGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12583,7 +12583,7 @@ impl<'a> BillingAccountSinkListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12893,7 +12893,7 @@ impl<'a> BillingAccountSinkPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13202,7 +13202,7 @@ impl<'a> BillingAccountSinkUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13458,7 +13458,7 @@ impl<'a> BillingAccountGetCmekSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13715,7 +13715,7 @@ impl<'a> BillingAccountGetSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13964,7 +13964,7 @@ impl<'a> EntryCopyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14213,7 +14213,7 @@ impl<'a> EntryListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14462,7 +14462,7 @@ impl<'a> EntryTailCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14711,7 +14711,7 @@ impl<'a> EntryWriteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14996,7 +14996,7 @@ impl<'a> ExclusionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15252,7 +15252,7 @@ impl<'a> ExclusionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15508,7 +15508,7 @@ impl<'a> ExclusionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15789,7 +15789,7 @@ impl<'a> ExclusionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16087,7 +16087,7 @@ impl<'a> ExclusionPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16372,7 +16372,7 @@ impl<'a> FolderExclusionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16628,7 +16628,7 @@ impl<'a> FolderExclusionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16884,7 +16884,7 @@ impl<'a> FolderExclusionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17165,7 +17165,7 @@ impl<'a> FolderExclusionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17463,7 +17463,7 @@ impl<'a> FolderExclusionPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17760,7 +17760,7 @@ impl<'a> FolderLocationBucketViewCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18016,7 +18016,7 @@ impl<'a> FolderLocationBucketViewDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18272,7 +18272,7 @@ impl<'a> FolderLocationBucketViewGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18553,7 +18553,7 @@ impl<'a> FolderLocationBucketViewListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18851,7 +18851,7 @@ impl<'a> FolderLocationBucketViewPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19148,7 +19148,7 @@ impl<'a> FolderLocationBucketCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19404,7 +19404,7 @@ impl<'a> FolderLocationBucketDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19660,7 +19660,7 @@ impl<'a> FolderLocationBucketGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19941,7 +19941,7 @@ impl<'a> FolderLocationBucketListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20239,7 +20239,7 @@ impl<'a> FolderLocationBucketPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20525,7 +20525,7 @@ impl<'a> FolderLocationBucketUndeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20810,7 +20810,7 @@ impl<'a> FolderLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21066,7 +21066,7 @@ impl<'a> FolderLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21358,7 +21358,7 @@ impl<'a> FolderLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21614,7 +21614,7 @@ impl<'a> FolderLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21906,7 +21906,7 @@ impl<'a> FolderLocationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22162,7 +22162,7 @@ impl<'a> FolderLogDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22458,7 +22458,7 @@ impl<'a> FolderLogListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22755,7 +22755,7 @@ impl<'a> FolderSinkCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23011,7 +23011,7 @@ impl<'a> FolderSinkDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23267,7 +23267,7 @@ impl<'a> FolderSinkGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23548,7 +23548,7 @@ impl<'a> FolderSinkListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23858,7 +23858,7 @@ impl<'a> FolderSinkPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24167,7 +24167,7 @@ impl<'a> FolderSinkUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24423,7 +24423,7 @@ impl<'a> FolderGetCmekSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24680,7 +24680,7 @@ impl<'a> FolderGetSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24978,7 +24978,7 @@ impl<'a> FolderUpdateSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25275,7 +25275,7 @@ impl<'a> LocationBucketViewCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25531,7 +25531,7 @@ impl<'a> LocationBucketViewDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25787,7 +25787,7 @@ impl<'a> LocationBucketViewGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26068,7 +26068,7 @@ impl<'a> LocationBucketViewListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26366,7 +26366,7 @@ impl<'a> LocationBucketViewPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26663,7 +26663,7 @@ impl<'a> LocationBucketCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26919,7 +26919,7 @@ impl<'a> LocationBucketDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27175,7 +27175,7 @@ impl<'a> LocationBucketGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -27456,7 +27456,7 @@ impl<'a> LocationBucketListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27754,7 +27754,7 @@ impl<'a> LocationBucketPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -28040,7 +28040,7 @@ impl<'a> LocationBucketUndeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -28325,7 +28325,7 @@ impl<'a> LocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28581,7 +28581,7 @@ impl<'a> LocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -28873,7 +28873,7 @@ impl<'a> LocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29129,7 +29129,7 @@ impl<'a> LocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29421,7 +29421,7 @@ impl<'a> LocationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29677,7 +29677,7 @@ impl<'a> LogDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -29972,7 +29972,7 @@ impl<'a> LogListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30216,7 +30216,7 @@ impl<'a> MonitoredResourceDescriptorListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -30501,7 +30501,7 @@ impl<'a> OrganizationExclusionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -30757,7 +30757,7 @@ impl<'a> OrganizationExclusionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31013,7 +31013,7 @@ impl<'a> OrganizationExclusionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -31294,7 +31294,7 @@ impl<'a> OrganizationExclusionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -31592,7 +31592,7 @@ impl<'a> OrganizationExclusionPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -31889,7 +31889,7 @@ impl<'a> OrganizationLocationBucketViewCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32145,7 +32145,7 @@ impl<'a> OrganizationLocationBucketViewDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32401,7 +32401,7 @@ impl<'a> OrganizationLocationBucketViewGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -32682,7 +32682,7 @@ impl<'a> OrganizationLocationBucketViewListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -32980,7 +32980,7 @@ impl<'a> OrganizationLocationBucketViewPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -33277,7 +33277,7 @@ impl<'a> OrganizationLocationBucketCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33533,7 +33533,7 @@ impl<'a> OrganizationLocationBucketDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -33789,7 +33789,7 @@ impl<'a> OrganizationLocationBucketGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -34070,7 +34070,7 @@ impl<'a> OrganizationLocationBucketListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -34368,7 +34368,7 @@ impl<'a> OrganizationLocationBucketPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -34654,7 +34654,7 @@ impl<'a> OrganizationLocationBucketUndeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -34939,7 +34939,7 @@ impl<'a> OrganizationLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -35195,7 +35195,7 @@ impl<'a> OrganizationLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -35487,7 +35487,7 @@ impl<'a> OrganizationLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -35743,7 +35743,7 @@ impl<'a> OrganizationLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -36035,7 +36035,7 @@ impl<'a> OrganizationLocationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -36291,7 +36291,7 @@ impl<'a> OrganizationLogDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -36587,7 +36587,7 @@ impl<'a> OrganizationLogListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -36884,7 +36884,7 @@ impl<'a> OrganizationSinkCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -37140,7 +37140,7 @@ impl<'a> OrganizationSinkDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -37396,7 +37396,7 @@ impl<'a> OrganizationSinkGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -37677,7 +37677,7 @@ impl<'a> OrganizationSinkListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -37987,7 +37987,7 @@ impl<'a> OrganizationSinkPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -38296,7 +38296,7 @@ impl<'a> OrganizationSinkUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -38552,7 +38552,7 @@ impl<'a> OrganizationGetCmekSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -38809,7 +38809,7 @@ impl<'a> OrganizationGetSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -39107,7 +39107,7 @@ impl<'a> OrganizationUpdateCmekSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -39405,7 +39405,7 @@ impl<'a> OrganizationUpdateSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -39690,7 +39690,7 @@ impl<'a> ProjectExclusionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -39946,7 +39946,7 @@ impl<'a> ProjectExclusionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -40202,7 +40202,7 @@ impl<'a> ProjectExclusionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -40483,7 +40483,7 @@ impl<'a> ProjectExclusionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -40781,7 +40781,7 @@ impl<'a> ProjectExclusionPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -41078,7 +41078,7 @@ impl<'a> ProjectLocationBucketViewCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -41334,7 +41334,7 @@ impl<'a> ProjectLocationBucketViewDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -41590,7 +41590,7 @@ impl<'a> ProjectLocationBucketViewGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -41871,7 +41871,7 @@ impl<'a> ProjectLocationBucketViewListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -42169,7 +42169,7 @@ impl<'a> ProjectLocationBucketViewPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -42466,7 +42466,7 @@ impl<'a> ProjectLocationBucketCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -42722,7 +42722,7 @@ impl<'a> ProjectLocationBucketDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -42978,7 +42978,7 @@ impl<'a> ProjectLocationBucketGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -43259,7 +43259,7 @@ impl<'a> ProjectLocationBucketListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -43557,7 +43557,7 @@ impl<'a> ProjectLocationBucketPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -43843,7 +43843,7 @@ impl<'a> ProjectLocationBucketUndeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -44128,7 +44128,7 @@ impl<'a> ProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44384,7 +44384,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44676,7 +44676,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -44932,7 +44932,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -45224,7 +45224,7 @@ impl<'a> ProjectLocationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -45480,7 +45480,7 @@ impl<'a> ProjectLogDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -45776,7 +45776,7 @@ impl<'a> ProjectLogListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -46061,7 +46061,7 @@ impl<'a> ProjectMetricCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46317,7 +46317,7 @@ impl<'a> ProjectMetricDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46573,7 +46573,7 @@ impl<'a> ProjectMetricGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -46854,7 +46854,7 @@ impl<'a> ProjectMetricListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -47140,7 +47140,7 @@ impl<'a> ProjectMetricUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -47437,7 +47437,7 @@ impl<'a> ProjectSinkCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47693,7 +47693,7 @@ impl<'a> ProjectSinkDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -47949,7 +47949,7 @@ impl<'a> ProjectSinkGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -48230,7 +48230,7 @@ impl<'a> ProjectSinkListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -48540,7 +48540,7 @@ impl<'a> ProjectSinkPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -48849,7 +48849,7 @@ impl<'a> ProjectSinkUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49105,7 +49105,7 @@ impl<'a> ProjectGetCmekSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49362,7 +49362,7 @@ impl<'a> ProjectGetSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -49659,7 +49659,7 @@ impl<'a> SinkCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -49915,7 +49915,7 @@ impl<'a> SinkDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -50171,7 +50171,7 @@ impl<'a> SinkGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -50452,7 +50452,7 @@ impl<'a> SinkListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -50761,7 +50761,7 @@ impl<'a> SinkUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -51017,7 +51017,7 @@ impl<'a> MethodGetCmekSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -51274,7 +51274,7 @@ impl<'a> MethodGetSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -51572,7 +51572,7 @@ impl<'a> MethodUpdateCmekSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/logging2/src/lib.rs b/gen/logging2/src/lib.rs index 1f198be8d7..1789971c82 100644 --- a/gen/logging2/src/lib.rs +++ b/gen/logging2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Logging* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *logging:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Logging* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *logging:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Logging* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/logging/docs/). @@ -151,7 +151,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/logging2_beta1-cli/Cargo.toml b/gen/logging2_beta1-cli/Cargo.toml index 50287bc014..e100956b12 100644 --- a/gen/logging2_beta1-cli/Cargo.toml +++ b/gen/logging2_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-logging2_beta1-cli" -version = "3.0.0+20190325" +version = "3.1.0+20190325" authors = ["Sebastian Thiel "] description = "A complete library to interact with Logging (protocol v2beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/logging2_beta1-cli" @@ -20,12 +20,12 @@ name = "logging2-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-logging2_beta1] path = "../logging2_beta1" -version = "3.0.0+20190325" +version = "3.1.0+20190325" diff --git a/gen/logging2_beta1-cli/README.md b/gen/logging2_beta1-cli/README.md index 4299dfa452..de287a8b32 100644 --- a/gen/logging2_beta1-cli/README.md +++ b/gen/logging2_beta1-cli/README.md @@ -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 *Logging* API at revision *20190325*. The CLI is at version *3.0.0*. +This documentation was generated from the *Logging* API at revision *20190325*. The CLI is at version *3.1.0*. ```bash logging2-beta1 [options] diff --git a/gen/logging2_beta1-cli/mkdocs.yml b/gen/logging2_beta1-cli/mkdocs.yml index 0419ead265..4421974a0b 100644 --- a/gen/logging2_beta1-cli/mkdocs.yml +++ b/gen/logging2_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Logging v3.0.0+20190325 +site_name: Logging v3.1.0+20190325 site_url: http://byron.github.io/google-apis-rs/google-logging2_beta1-cli site_description: A complete library to interact with Logging (protocol v2beta1) diff --git a/gen/logging2_beta1-cli/src/main.rs b/gen/logging2_beta1-cli/src/main.rs index 955ae18aba..b12f8e0a25 100644 --- a/gen/logging2_beta1-cli/src/main.rs +++ b/gen/logging2_beta1-cli/src/main.rs @@ -1122,7 +1122,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/logging2-beta1", 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::Logging::new(client, auth), @@ -1509,7 +1515,7 @@ async fn main() { let mut app = App::new("logging2-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20190325") + .version("3.1.0+20190325") .about("Writes log entries and manages your Logging configuration.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_logging2_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/logging2_beta1/Cargo.toml b/gen/logging2_beta1/Cargo.toml index 84cfbd7116..bb67640222 100644 --- a/gen/logging2_beta1/Cargo.toml +++ b/gen/logging2_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-logging2_beta1" -version = "3.0.0+20190325" +version = "3.1.0+20190325" authors = ["Sebastian Thiel "] description = "A complete library to interact with Logging (protocol v2beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/logging2_beta1" homepage = "https://cloud.google.com/logging/docs/" -documentation = "https://docs.rs/google-logging2_beta1/3.0.0+20190325" +documentation = "https://docs.rs/google-logging2_beta1/3.1.0+20190325" license = "MIT" keywords = ["logging", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/logging2_beta1/README.md b/gen/logging2_beta1/README.md index 611dab43da..f2bbf185be 100644 --- a/gen/logging2_beta1/README.md +++ b/gen/logging2_beta1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-logging2_beta1` library allows access to all features of the *Google Logging* service. -This documentation was generated from *Logging* crate version *3.0.0+20190325*, where *20190325* is the exact revision of the *logging:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Logging* crate version *3.1.0+20190325*, where *20190325* is the exact revision of the *logging:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Logging* *v2_beta1* API can be found at the [official documentation site](https://cloud.google.com/logging/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-logging2_beta1/3.0.0+20190325/google_logging2_beta1/Logging) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-logging2_beta1/3.1.0+20190325/google_logging2_beta1/Logging) ... * entries - * [*list*](https://docs.rs/google-logging2_beta1/3.0.0+20190325/google_logging2_beta1/api::EntryListCall) and [*write*](https://docs.rs/google-logging2_beta1/3.0.0+20190325/google_logging2_beta1/api::EntryWriteCall) -* [monitored resource descriptors](https://docs.rs/google-logging2_beta1/3.0.0+20190325/google_logging2_beta1/api::MonitoredResourceDescriptor) - * [*list*](https://docs.rs/google-logging2_beta1/3.0.0+20190325/google_logging2_beta1/api::MonitoredResourceDescriptorListCall) + * [*list*](https://docs.rs/google-logging2_beta1/3.1.0+20190325/google_logging2_beta1/api::EntryListCall) and [*write*](https://docs.rs/google-logging2_beta1/3.1.0+20190325/google_logging2_beta1/api::EntryWriteCall) +* [monitored resource descriptors](https://docs.rs/google-logging2_beta1/3.1.0+20190325/google_logging2_beta1/api::MonitoredResourceDescriptor) + * [*list*](https://docs.rs/google-logging2_beta1/3.1.0+20190325/google_logging2_beta1/api::MonitoredResourceDescriptorListCall) * projects - * [*metrics create*](https://docs.rs/google-logging2_beta1/3.0.0+20190325/google_logging2_beta1/api::ProjectMetricCreateCall), [*metrics delete*](https://docs.rs/google-logging2_beta1/3.0.0+20190325/google_logging2_beta1/api::ProjectMetricDeleteCall), [*metrics get*](https://docs.rs/google-logging2_beta1/3.0.0+20190325/google_logging2_beta1/api::ProjectMetricGetCall), [*metrics list*](https://docs.rs/google-logging2_beta1/3.0.0+20190325/google_logging2_beta1/api::ProjectMetricListCall), [*metrics update*](https://docs.rs/google-logging2_beta1/3.0.0+20190325/google_logging2_beta1/api::ProjectMetricUpdateCall), [*sinks create*](https://docs.rs/google-logging2_beta1/3.0.0+20190325/google_logging2_beta1/api::ProjectSinkCreateCall), [*sinks delete*](https://docs.rs/google-logging2_beta1/3.0.0+20190325/google_logging2_beta1/api::ProjectSinkDeleteCall), [*sinks get*](https://docs.rs/google-logging2_beta1/3.0.0+20190325/google_logging2_beta1/api::ProjectSinkGetCall), [*sinks list*](https://docs.rs/google-logging2_beta1/3.0.0+20190325/google_logging2_beta1/api::ProjectSinkListCall) and [*sinks update*](https://docs.rs/google-logging2_beta1/3.0.0+20190325/google_logging2_beta1/api::ProjectSinkUpdateCall) + * [*metrics create*](https://docs.rs/google-logging2_beta1/3.1.0+20190325/google_logging2_beta1/api::ProjectMetricCreateCall), [*metrics delete*](https://docs.rs/google-logging2_beta1/3.1.0+20190325/google_logging2_beta1/api::ProjectMetricDeleteCall), [*metrics get*](https://docs.rs/google-logging2_beta1/3.1.0+20190325/google_logging2_beta1/api::ProjectMetricGetCall), [*metrics list*](https://docs.rs/google-logging2_beta1/3.1.0+20190325/google_logging2_beta1/api::ProjectMetricListCall), [*metrics update*](https://docs.rs/google-logging2_beta1/3.1.0+20190325/google_logging2_beta1/api::ProjectMetricUpdateCall), [*sinks create*](https://docs.rs/google-logging2_beta1/3.1.0+20190325/google_logging2_beta1/api::ProjectSinkCreateCall), [*sinks delete*](https://docs.rs/google-logging2_beta1/3.1.0+20190325/google_logging2_beta1/api::ProjectSinkDeleteCall), [*sinks get*](https://docs.rs/google-logging2_beta1/3.1.0+20190325/google_logging2_beta1/api::ProjectSinkGetCall), [*sinks list*](https://docs.rs/google-logging2_beta1/3.1.0+20190325/google_logging2_beta1/api::ProjectSinkListCall) and [*sinks update*](https://docs.rs/google-logging2_beta1/3.1.0+20190325/google_logging2_beta1/api::ProjectSinkUpdateCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-logging2_beta1/3.0.0+20190325/google_logging2_beta1/Logging)** +* **[Hub](https://docs.rs/google-logging2_beta1/3.1.0+20190325/google_logging2_beta1/Logging)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-logging2_beta1/3.0.0+20190325/google_logging2_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-logging2_beta1/3.0.0+20190325/google_logging2_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-logging2_beta1/3.0.0+20190325/google_logging2_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-logging2_beta1/3.1.0+20190325/google_logging2_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-logging2_beta1/3.1.0+20190325/google_logging2_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-logging2_beta1/3.1.0+20190325/google_logging2_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-logging2_beta1/3.0.0+20190325/google_logging2_beta1/client::Part)** + * **[Parts](https://docs.rs/google-logging2_beta1/3.1.0+20190325/google_logging2_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-logging2_beta1/3.0.0+20190325/google_logging2_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-logging2_beta1/3.1.0+20190325/google_logging2_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -97,7 +97,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -130,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-logging2_beta1/3.0.0+20190325/google_logging2_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-logging2_beta1/3.1.0+20190325/google_logging2_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-logging2_beta1/3.0.0+20190325/google_logging2_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-logging2_beta1/3.1.0+20190325/google_logging2_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-logging2_beta1/3.0.0+20190325/google_logging2_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-logging2_beta1/3.1.0+20190325/google_logging2_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-logging2_beta1/3.0.0+20190325/google_logging2_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-logging2_beta1/3.1.0+20190325/google_logging2_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -150,29 +150,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-logging2_beta1/3.0.0+20190325/google_logging2_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-logging2_beta1/3.0.0+20190325/google_logging2_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-logging2_beta1/3.1.0+20190325/google_logging2_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-logging2_beta1/3.1.0+20190325/google_logging2_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-logging2_beta1/3.0.0+20190325/google_logging2_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-logging2_beta1/3.1.0+20190325/google_logging2_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-logging2_beta1/3.0.0+20190325/google_logging2_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-logging2_beta1/3.0.0+20190325/google_logging2_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-logging2_beta1/3.1.0+20190325/google_logging2_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-logging2_beta1/3.1.0+20190325/google_logging2_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-logging2_beta1/3.0.0+20190325/google_logging2_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-logging2_beta1/3.1.0+20190325/google_logging2_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-logging2_beta1/3.0.0+20190325/google_logging2_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-logging2_beta1/3.1.0+20190325/google_logging2_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-logging2_beta1/3.0.0+20190325/google_logging2_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-logging2_beta1/3.1.0+20190325/google_logging2_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/logging2_beta1/src/api.rs b/gen/logging2_beta1/src/api.rs index af5ab902b5..e365598d34 100644 --- a/gen/logging2_beta1/src/api.rs +++ b/gen/logging2_beta1/src/api.rs @@ -87,7 +87,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -135,7 +135,7 @@ impl<'a, > Logging<> { Logging { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://logging.googleapis.com/".to_string(), _root_url: "https://logging.googleapis.com/".to_string(), } @@ -152,7 +152,7 @@ impl<'a, > Logging<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -905,7 +905,7 @@ impl client::ResponseResult for WriteLogEntriesResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` and `write(...)` /// // to build up your call. @@ -980,7 +980,7 @@ impl<'a> EntryMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -1035,7 +1035,7 @@ impl<'a> MonitoredResourceDescriptorMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `metrics_create(...)`, `metrics_delete(...)`, `metrics_get(...)`, `metrics_list(...)`, `metrics_update(...)`, `sinks_create(...)`, `sinks_delete(...)`, `sinks_get(...)`, `sinks_list(...)` and `sinks_update(...)` /// // to build up your call. @@ -1304,7 +1304,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1553,7 +1553,7 @@ impl<'a> EntryListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1801,7 +1801,7 @@ impl<'a> EntryWriteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2045,7 +2045,7 @@ impl<'a> MonitoredResourceDescriptorListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2332,7 +2332,7 @@ impl<'a> ProjectMetricCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2590,7 +2590,7 @@ impl<'a> ProjectMetricDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2848,7 +2848,7 @@ impl<'a> ProjectMetricGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3131,7 +3131,7 @@ impl<'a> ProjectMetricListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3419,7 +3419,7 @@ impl<'a> ProjectMetricUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3721,7 +3721,7 @@ impl<'a> ProjectSinkCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3982,7 +3982,7 @@ impl<'a> ProjectSinkDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4243,7 +4243,7 @@ impl<'a> ProjectSinkGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4529,7 +4529,7 @@ impl<'a> ProjectSinkListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/logging2_beta1/src/lib.rs b/gen/logging2_beta1/src/lib.rs index 1ab0a67f01..1606d1c9d3 100644 --- a/gen/logging2_beta1/src/lib.rs +++ b/gen/logging2_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Logging* crate version *3.0.0+20190325*, where *20190325* is the exact revision of the *logging:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Logging* crate version *3.1.0+20190325*, where *20190325* is the exact revision of the *logging:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Logging* *v2_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/logging/docs/). @@ -98,7 +98,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Logging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/managedidentities1-cli/Cargo.toml b/gen/managedidentities1-cli/Cargo.toml index 7978927c4c..43eefcbc18 100644 --- a/gen/managedidentities1-cli/Cargo.toml +++ b/gen/managedidentities1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-managedidentities1-cli" -version = "3.0.0+20220216" +version = "3.1.0+20220216" authors = ["Sebastian Thiel "] description = "A complete library to interact with Managed Service for Microsoft Active Directory Consumer API (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/managedidentities1-cli" @@ -20,12 +20,12 @@ name = "managedidentities1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-managedidentities1] path = "../managedidentities1" -version = "3.0.0+20220216" +version = "3.1.0+20220216" diff --git a/gen/managedidentities1-cli/README.md b/gen/managedidentities1-cli/README.md index 9473607cb6..4c43d5cce4 100644 --- a/gen/managedidentities1-cli/README.md +++ b/gen/managedidentities1-cli/README.md @@ -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 *Managed Service for Microsoft Active Directory Consumer API* API at revision *20220216*. The CLI is at version *3.0.0*. +This documentation was generated from the *Managed Service for Microsoft Active Directory Consumer API* API at revision *20220216*. The CLI is at version *3.1.0*. ```bash managedidentities1 [options] diff --git a/gen/managedidentities1-cli/mkdocs.yml b/gen/managedidentities1-cli/mkdocs.yml index 1e519573af..16d4eb22fa 100644 --- a/gen/managedidentities1-cli/mkdocs.yml +++ b/gen/managedidentities1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Managed Service for Microsoft Active Directory Consumer API v3.0.0+20220216 +site_name: Managed Service for Microsoft Active Directory Consumer API v3.1.0+20220216 site_url: http://byron.github.io/google-apis-rs/google-managedidentities1-cli site_description: A complete library to interact with Managed Service for Microsoft Active Directory Consumer API (protocol v1) diff --git a/gen/managedidentities1-cli/src/main.rs b/gen/managedidentities1-cli/src/main.rs index d5272c2ae7..d2d6be87c1 100644 --- a/gen/managedidentities1-cli/src/main.rs +++ b/gen/managedidentities1-cli/src/main.rs @@ -3149,7 +3149,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/managedidentities1", 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::ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(client, auth), @@ -4191,7 +4197,7 @@ async fn main() { let mut app = App::new("managedidentities1") .author("Sebastian Thiel ") - .version("3.0.0+20220216") + .version("3.1.0+20220216") .about("The Managed Service for Microsoft Active Directory API is used for managing a highly available, hardened service running Microsoft Active Directory (AD).") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_managedidentities1_cli") .arg(Arg::with_name("url") diff --git a/gen/managedidentities1/Cargo.toml b/gen/managedidentities1/Cargo.toml index 122bd0b797..3f9240efbe 100644 --- a/gen/managedidentities1/Cargo.toml +++ b/gen/managedidentities1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-managedidentities1" -version = "3.0.0+20220216" +version = "3.1.0+20220216" authors = ["Sebastian Thiel "] description = "A complete library to interact with Managed Service for Microsoft Active Directory Consumer API (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/managedidentities1" homepage = "https://cloud.google.com/managed-microsoft-ad/" -documentation = "https://docs.rs/google-managedidentities1/3.0.0+20220216" +documentation = "https://docs.rs/google-managedidentities1/3.1.0+20220216" license = "MIT" keywords = ["managedidentities", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/managedidentities1/README.md b/gen/managedidentities1/README.md index c5429f9cb9..f835b0b96b 100644 --- a/gen/managedidentities1/README.md +++ b/gen/managedidentities1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-managedidentities1` library allows access to all features of the *Google Managed Service for Microsoft Active Directory Consumer API* service. -This documentation was generated from *Managed Service for Microsoft Active Directory Consumer API* crate version *3.0.0+20220216*, where *20220216* is the exact revision of the *managedidentities:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Managed Service for Microsoft Active Directory Consumer API* crate version *3.1.0+20220216*, where *20220216* is the exact revision of the *managedidentities:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Managed Service for Microsoft Active Directory Consumer API* *v1* API can be found at the [official documentation site](https://cloud.google.com/managed-microsoft-ad/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/ManagedServiceForMicrosoftActiveDirectoryConsumerAPI) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/ManagedServiceForMicrosoftActiveDirectoryConsumerAPI) ... * projects - * [*locations get*](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/api::ProjectLocationGetCall), [*locations global domains attach trust*](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainAttachTrustCall), [*locations global domains backups create*](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainBackupCreateCall), [*locations global domains backups delete*](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainBackupDeleteCall), [*locations global domains backups get*](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainBackupGetCall), [*locations global domains backups get iam policy*](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainBackupGetIamPolicyCall), [*locations global domains backups list*](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainBackupListCall), [*locations global domains backups patch*](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainBackupPatchCall), [*locations global domains backups set iam policy*](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainBackupSetIamPolicyCall), [*locations global domains backups test iam permissions*](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainBackupTestIamPermissionCall), [*locations global domains create*](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainCreateCall), [*locations global domains delete*](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainDeleteCall), [*locations global domains detach trust*](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainDetachTrustCall), [*locations global domains get*](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainGetCall), [*locations global domains get iam policy*](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainGetIamPolicyCall), [*locations global domains get ldapssettings*](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainGetLdapssettingCall), [*locations global domains list*](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainListCall), [*locations global domains patch*](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainPatchCall), [*locations global domains reconfigure trust*](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainReconfigureTrustCall), [*locations global domains reset admin password*](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainResetAdminPasswordCall), [*locations global domains restore*](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainRestoreCall), [*locations global domains set iam policy*](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainSetIamPolicyCall), [*locations global domains sql integrations get*](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainSqlIntegrationGetCall), [*locations global domains sql integrations list*](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainSqlIntegrationListCall), [*locations global domains test iam permissions*](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainTestIamPermissionCall), [*locations global domains update ldapssettings*](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainUpdateLdapssettingCall), [*locations global domains validate trust*](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainValidateTrustCall), [*locations global operations cancel*](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/api::ProjectLocationGlobalOperationCancelCall), [*locations global operations delete*](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/api::ProjectLocationGlobalOperationDeleteCall), [*locations global operations get*](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/api::ProjectLocationGlobalOperationGetCall), [*locations global operations list*](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/api::ProjectLocationGlobalOperationListCall), [*locations global peerings create*](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/api::ProjectLocationGlobalPeeringCreateCall), [*locations global peerings delete*](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/api::ProjectLocationGlobalPeeringDeleteCall), [*locations global peerings get*](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/api::ProjectLocationGlobalPeeringGetCall), [*locations global peerings get iam policy*](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/api::ProjectLocationGlobalPeeringGetIamPolicyCall), [*locations global peerings list*](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/api::ProjectLocationGlobalPeeringListCall), [*locations global peerings patch*](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/api::ProjectLocationGlobalPeeringPatchCall), [*locations global peerings set iam policy*](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/api::ProjectLocationGlobalPeeringSetIamPolicyCall), [*locations global peerings test iam permissions*](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/api::ProjectLocationGlobalPeeringTestIamPermissionCall) and [*locations list*](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/api::ProjectLocationListCall) + * [*locations get*](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/api::ProjectLocationGetCall), [*locations global domains attach trust*](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainAttachTrustCall), [*locations global domains backups create*](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainBackupCreateCall), [*locations global domains backups delete*](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainBackupDeleteCall), [*locations global domains backups get*](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainBackupGetCall), [*locations global domains backups get iam policy*](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainBackupGetIamPolicyCall), [*locations global domains backups list*](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainBackupListCall), [*locations global domains backups patch*](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainBackupPatchCall), [*locations global domains backups set iam policy*](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainBackupSetIamPolicyCall), [*locations global domains backups test iam permissions*](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainBackupTestIamPermissionCall), [*locations global domains create*](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainCreateCall), [*locations global domains delete*](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainDeleteCall), [*locations global domains detach trust*](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainDetachTrustCall), [*locations global domains get*](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainGetCall), [*locations global domains get iam policy*](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainGetIamPolicyCall), [*locations global domains get ldapssettings*](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainGetLdapssettingCall), [*locations global domains list*](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainListCall), [*locations global domains patch*](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainPatchCall), [*locations global domains reconfigure trust*](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainReconfigureTrustCall), [*locations global domains reset admin password*](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainResetAdminPasswordCall), [*locations global domains restore*](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainRestoreCall), [*locations global domains set iam policy*](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainSetIamPolicyCall), [*locations global domains sql integrations get*](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainSqlIntegrationGetCall), [*locations global domains sql integrations list*](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainSqlIntegrationListCall), [*locations global domains test iam permissions*](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainTestIamPermissionCall), [*locations global domains update ldapssettings*](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainUpdateLdapssettingCall), [*locations global domains validate trust*](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/api::ProjectLocationGlobalDomainValidateTrustCall), [*locations global operations cancel*](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/api::ProjectLocationGlobalOperationCancelCall), [*locations global operations delete*](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/api::ProjectLocationGlobalOperationDeleteCall), [*locations global operations get*](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/api::ProjectLocationGlobalOperationGetCall), [*locations global operations list*](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/api::ProjectLocationGlobalOperationListCall), [*locations global peerings create*](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/api::ProjectLocationGlobalPeeringCreateCall), [*locations global peerings delete*](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/api::ProjectLocationGlobalPeeringDeleteCall), [*locations global peerings get*](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/api::ProjectLocationGlobalPeeringGetCall), [*locations global peerings get iam policy*](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/api::ProjectLocationGlobalPeeringGetIamPolicyCall), [*locations global peerings list*](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/api::ProjectLocationGlobalPeeringListCall), [*locations global peerings patch*](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/api::ProjectLocationGlobalPeeringPatchCall), [*locations global peerings set iam policy*](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/api::ProjectLocationGlobalPeeringSetIamPolicyCall), [*locations global peerings test iam permissions*](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/api::ProjectLocationGlobalPeeringTestIamPermissionCall) and [*locations list*](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/api::ProjectLocationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/ManagedServiceForMicrosoftActiveDirectoryConsumerAPI)** +* **[Hub](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/ManagedServiceForMicrosoftActiveDirectoryConsumerAPI)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/client::CallBuilder) -* **[Resources](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/client::CallBuilder) +* **[Resources](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/client::Part)** + * **[Parts](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -106,7 +106,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -140,17 +140,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -160,29 +160,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/client::Delegate) to the -[Method Builder](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/client::Delegate) to the +[Method Builder](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/client::RequestValue) and -[decodable](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/client::RequestValue) and +[decodable](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-managedidentities1/3.0.0+20220216/google_managedidentities1/client::RequestValue) are moved +* [request values](https://docs.rs/google-managedidentities1/3.1.0+20220216/google_managedidentities1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/managedidentities1/src/api.rs b/gen/managedidentities1/src/api.rs index 8eba66f5d2..0a3c84f16a 100644 --- a/gen/managedidentities1/src/api.rs +++ b/gen/managedidentities1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > ManagedServiceForMicrosoftActiveDirectoryConsumerAPI<> { ManagedServiceForMicrosoftActiveDirectoryConsumerAPI { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://managedidentities.googleapis.com/".to_string(), _root_url: "https://managedidentities.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > ManagedServiceForMicrosoftActiveDirectoryConsumerAPI<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -945,7 +945,7 @@ impl client::RequestValue for ValidateTrustRequest {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_get(...)`, `locations_global_domains_attach_trust(...)`, `locations_global_domains_backups_create(...)`, `locations_global_domains_backups_delete(...)`, `locations_global_domains_backups_get(...)`, `locations_global_domains_backups_get_iam_policy(...)`, `locations_global_domains_backups_list(...)`, `locations_global_domains_backups_patch(...)`, `locations_global_domains_backups_set_iam_policy(...)`, `locations_global_domains_backups_test_iam_permissions(...)`, `locations_global_domains_create(...)`, `locations_global_domains_delete(...)`, `locations_global_domains_detach_trust(...)`, `locations_global_domains_get(...)`, `locations_global_domains_get_iam_policy(...)`, `locations_global_domains_get_ldapssettings(...)`, `locations_global_domains_list(...)`, `locations_global_domains_patch(...)`, `locations_global_domains_reconfigure_trust(...)`, `locations_global_domains_reset_admin_password(...)`, `locations_global_domains_restore(...)`, `locations_global_domains_set_iam_policy(...)`, `locations_global_domains_sql_integrations_get(...)`, `locations_global_domains_sql_integrations_list(...)`, `locations_global_domains_test_iam_permissions(...)`, `locations_global_domains_update_ldapssettings(...)`, `locations_global_domains_validate_trust(...)`, `locations_global_operations_cancel(...)`, `locations_global_operations_delete(...)`, `locations_global_operations_get(...)`, `locations_global_operations_list(...)`, `locations_global_peerings_create(...)`, `locations_global_peerings_delete(...)`, `locations_global_peerings_get(...)`, `locations_global_peerings_get_iam_policy(...)`, `locations_global_peerings_list(...)`, `locations_global_peerings_patch(...)`, `locations_global_peerings_set_iam_policy(...)`, `locations_global_peerings_test_iam_permissions(...)` and `locations_list(...)` /// // to build up your call. @@ -1746,7 +1746,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2043,7 +2043,7 @@ impl<'a> ProjectLocationGlobalDomainBackupCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2299,7 +2299,7 @@ impl<'a> ProjectLocationGlobalDomainBackupDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2555,7 +2555,7 @@ impl<'a> ProjectLocationGlobalDomainBackupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2823,7 +2823,7 @@ impl<'a> ProjectLocationGlobalDomainBackupGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3128,7 +3128,7 @@ impl<'a> ProjectLocationGlobalDomainBackupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3426,7 +3426,7 @@ impl<'a> ProjectLocationGlobalDomainBackupPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3712,7 +3712,7 @@ impl<'a> ProjectLocationGlobalDomainBackupSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3997,7 +3997,7 @@ impl<'a> ProjectLocationGlobalDomainBackupTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4253,7 +4253,7 @@ impl<'a> ProjectLocationGlobalDomainSqlIntegrationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4558,7 +4558,7 @@ impl<'a> ProjectLocationGlobalDomainSqlIntegrationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4844,7 +4844,7 @@ impl<'a> ProjectLocationGlobalDomainAttachTrustCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5141,7 +5141,7 @@ impl<'a> ProjectLocationGlobalDomainCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5398,7 +5398,7 @@ impl<'a> ProjectLocationGlobalDomainDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5683,7 +5683,7 @@ impl<'a> ProjectLocationGlobalDomainDetachTrustCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5939,7 +5939,7 @@ impl<'a> ProjectLocationGlobalDomainGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6207,7 +6207,7 @@ impl<'a> ProjectLocationGlobalDomainGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6463,7 +6463,7 @@ impl<'a> ProjectLocationGlobalDomainGetLdapssettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6768,7 +6768,7 @@ impl<'a> ProjectLocationGlobalDomainListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7066,7 +7066,7 @@ impl<'a> ProjectLocationGlobalDomainPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7352,7 +7352,7 @@ impl<'a> ProjectLocationGlobalDomainReconfigureTrustCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7638,7 +7638,7 @@ impl<'a> ProjectLocationGlobalDomainResetAdminPasswordCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7924,7 +7924,7 @@ impl<'a> ProjectLocationGlobalDomainRestoreCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8210,7 +8210,7 @@ impl<'a> ProjectLocationGlobalDomainSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8496,7 +8496,7 @@ impl<'a> ProjectLocationGlobalDomainTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8794,7 +8794,7 @@ impl<'a> ProjectLocationGlobalDomainUpdateLdapssettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9080,7 +9080,7 @@ impl<'a> ProjectLocationGlobalDomainValidateTrustCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9365,7 +9365,7 @@ impl<'a> ProjectLocationGlobalOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9621,7 +9621,7 @@ impl<'a> ProjectLocationGlobalOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9877,7 +9877,7 @@ impl<'a> ProjectLocationGlobalOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10170,7 +10170,7 @@ impl<'a> ProjectLocationGlobalOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10467,7 +10467,7 @@ impl<'a> ProjectLocationGlobalPeeringCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10723,7 +10723,7 @@ impl<'a> ProjectLocationGlobalPeeringDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10979,7 +10979,7 @@ impl<'a> ProjectLocationGlobalPeeringGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11247,7 +11247,7 @@ impl<'a> ProjectLocationGlobalPeeringGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11552,7 +11552,7 @@ impl<'a> ProjectLocationGlobalPeeringListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11850,7 +11850,7 @@ impl<'a> ProjectLocationGlobalPeeringPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12136,7 +12136,7 @@ impl<'a> ProjectLocationGlobalPeeringSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12421,7 +12421,7 @@ impl<'a> ProjectLocationGlobalPeeringTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12677,7 +12677,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/managedidentities1/src/lib.rs b/gen/managedidentities1/src/lib.rs index 2c95185a0e..1c3c7ba931 100644 --- a/gen/managedidentities1/src/lib.rs +++ b/gen/managedidentities1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Managed Service for Microsoft Active Directory Consumer API* crate version *3.0.0+20220216*, where *20220216* is the exact revision of the *managedidentities:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Managed Service for Microsoft Active Directory Consumer API* crate version *3.1.0+20220216*, where *20220216* is the exact revision of the *managedidentities:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Managed Service for Microsoft Active Directory Consumer API* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/managed-microsoft-ad/). @@ -107,7 +107,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = ManagedServiceForMicrosoftActiveDirectoryConsumerAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/manager1_beta2-cli/Cargo.toml b/gen/manager1_beta2-cli/Cargo.toml index 101c1c77bf..c93fe32c42 100644 --- a/gen/manager1_beta2-cli/Cargo.toml +++ b/gen/manager1_beta2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-manager1_beta2-cli" -version = "3.0.0+20140915" +version = "3.1.0+20140915" authors = ["Sebastian Thiel "] description = "A complete library to interact with manager (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/manager1_beta2-cli" @@ -20,12 +20,12 @@ name = "manager1-beta2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-manager1_beta2] path = "../manager1_beta2" -version = "3.0.0+20140915" +version = "3.1.0+20140915" diff --git a/gen/manager1_beta2-cli/README.md b/gen/manager1_beta2-cli/README.md index 17230e8187..f3c2a5e2f9 100644 --- a/gen/manager1_beta2-cli/README.md +++ b/gen/manager1_beta2-cli/README.md @@ -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 *manager* API at revision *20140915*. The CLI is at version *3.0.0*. +This documentation was generated from the *manager* API at revision *20140915*. The CLI is at version *3.1.0*. ```bash manager1-beta2 [options] diff --git a/gen/manager1_beta2-cli/mkdocs.yml b/gen/manager1_beta2-cli/mkdocs.yml index 8f028ad733..b6c399f9f2 100644 --- a/gen/manager1_beta2-cli/mkdocs.yml +++ b/gen/manager1_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: manager v3.0.0+20140915 +site_name: manager v3.1.0+20140915 site_url: http://byron.github.io/google-apis-rs/google-manager1_beta2-cli site_description: A complete library to interact with manager (protocol v1beta2) diff --git a/gen/manager1_beta2-cli/src/main.rs b/gen/manager1_beta2-cli/src/main.rs index 62262d5d25..8cf485fd79 100644 --- a/gen/manager1_beta2-cli/src/main.rs +++ b/gen/manager1_beta2-cli/src/main.rs @@ -607,7 +607,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/manager1-beta2", 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::Manager::new(client, auth), @@ -873,7 +879,7 @@ async fn main() { let mut app = App::new("manager1-beta2") .author("Sebastian Thiel ") - .version("3.0.0+20140915") + .version("3.1.0+20140915") .about("The Deployment Manager API allows users to declaratively configure, deploy and run complex solutions on the Google Cloud Platform.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_manager1_beta2_cli") .arg(Arg::with_name("url") diff --git a/gen/manager1_beta2/Cargo.toml b/gen/manager1_beta2/Cargo.toml index db6d3bbfd2..28f2a9d9e3 100644 --- a/gen/manager1_beta2/Cargo.toml +++ b/gen/manager1_beta2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-manager1_beta2" -version = "3.0.0+20140915" +version = "3.1.0+20140915" authors = ["Sebastian Thiel "] description = "A complete library to interact with manager (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/manager1_beta2" homepage = "https://developers.google.com/deployment-manager/" -documentation = "https://docs.rs/google-manager1_beta2/3.0.0+20140915" +documentation = "https://docs.rs/google-manager1_beta2/3.1.0+20140915" license = "MIT" keywords = ["manager", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/manager1_beta2/README.md b/gen/manager1_beta2/README.md index d10caa97fc..23474bb007 100644 --- a/gen/manager1_beta2/README.md +++ b/gen/manager1_beta2/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-manager1_beta2` library allows access to all features of the *Google manager* service. -This documentation was generated from *manager* crate version *3.0.0+20140915*, where *20140915* is the exact revision of the *manager:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *manager* crate version *3.1.0+20140915*, where *20140915* is the exact revision of the *manager:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *manager* *v1_beta2* API can be found at the [official documentation site](https://developers.google.com/deployment-manager/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-manager1_beta2/3.0.0+20140915/google_manager1_beta2/Manager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-manager1_beta2/3.1.0+20140915/google_manager1_beta2/Manager) ... -* [deployments](https://docs.rs/google-manager1_beta2/3.0.0+20140915/google_manager1_beta2/api::Deployment) - * [*delete*](https://docs.rs/google-manager1_beta2/3.0.0+20140915/google_manager1_beta2/api::DeploymentDeleteCall), [*get*](https://docs.rs/google-manager1_beta2/3.0.0+20140915/google_manager1_beta2/api::DeploymentGetCall), [*insert*](https://docs.rs/google-manager1_beta2/3.0.0+20140915/google_manager1_beta2/api::DeploymentInsertCall) and [*list*](https://docs.rs/google-manager1_beta2/3.0.0+20140915/google_manager1_beta2/api::DeploymentListCall) -* [templates](https://docs.rs/google-manager1_beta2/3.0.0+20140915/google_manager1_beta2/api::Template) - * [*delete*](https://docs.rs/google-manager1_beta2/3.0.0+20140915/google_manager1_beta2/api::TemplateDeleteCall), [*get*](https://docs.rs/google-manager1_beta2/3.0.0+20140915/google_manager1_beta2/api::TemplateGetCall), [*insert*](https://docs.rs/google-manager1_beta2/3.0.0+20140915/google_manager1_beta2/api::TemplateInsertCall) and [*list*](https://docs.rs/google-manager1_beta2/3.0.0+20140915/google_manager1_beta2/api::TemplateListCall) +* [deployments](https://docs.rs/google-manager1_beta2/3.1.0+20140915/google_manager1_beta2/api::Deployment) + * [*delete*](https://docs.rs/google-manager1_beta2/3.1.0+20140915/google_manager1_beta2/api::DeploymentDeleteCall), [*get*](https://docs.rs/google-manager1_beta2/3.1.0+20140915/google_manager1_beta2/api::DeploymentGetCall), [*insert*](https://docs.rs/google-manager1_beta2/3.1.0+20140915/google_manager1_beta2/api::DeploymentInsertCall) and [*list*](https://docs.rs/google-manager1_beta2/3.1.0+20140915/google_manager1_beta2/api::DeploymentListCall) +* [templates](https://docs.rs/google-manager1_beta2/3.1.0+20140915/google_manager1_beta2/api::Template) + * [*delete*](https://docs.rs/google-manager1_beta2/3.1.0+20140915/google_manager1_beta2/api::TemplateDeleteCall), [*get*](https://docs.rs/google-manager1_beta2/3.1.0+20140915/google_manager1_beta2/api::TemplateGetCall), [*insert*](https://docs.rs/google-manager1_beta2/3.1.0+20140915/google_manager1_beta2/api::TemplateInsertCall) and [*list*](https://docs.rs/google-manager1_beta2/3.1.0+20140915/google_manager1_beta2/api::TemplateListCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-manager1_beta2/3.0.0+20140915/google_manager1_beta2/Manager)** +* **[Hub](https://docs.rs/google-manager1_beta2/3.1.0+20140915/google_manager1_beta2/Manager)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-manager1_beta2/3.0.0+20140915/google_manager1_beta2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-manager1_beta2/3.0.0+20140915/google_manager1_beta2/client::CallBuilder) -* **[Resources](https://docs.rs/google-manager1_beta2/3.0.0+20140915/google_manager1_beta2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-manager1_beta2/3.1.0+20140915/google_manager1_beta2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-manager1_beta2/3.1.0+20140915/google_manager1_beta2/client::CallBuilder) +* **[Resources](https://docs.rs/google-manager1_beta2/3.1.0+20140915/google_manager1_beta2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-manager1_beta2/3.0.0+20140915/google_manager1_beta2/client::Part)** + * **[Parts](https://docs.rs/google-manager1_beta2/3.1.0+20140915/google_manager1_beta2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-manager1_beta2/3.0.0+20140915/google_manager1_beta2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-manager1_beta2/3.1.0+20140915/google_manager1_beta2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -95,7 +95,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Manager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Manager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -125,17 +125,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-manager1_beta2/3.0.0+20140915/google_manager1_beta2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-manager1_beta2/3.1.0+20140915/google_manager1_beta2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-manager1_beta2/3.0.0+20140915/google_manager1_beta2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-manager1_beta2/3.1.0+20140915/google_manager1_beta2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-manager1_beta2/3.0.0+20140915/google_manager1_beta2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-manager1_beta2/3.1.0+20140915/google_manager1_beta2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-manager1_beta2/3.0.0+20140915/google_manager1_beta2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-manager1_beta2/3.1.0+20140915/google_manager1_beta2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -145,29 +145,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-manager1_beta2/3.0.0+20140915/google_manager1_beta2/client::Delegate) to the -[Method Builder](https://docs.rs/google-manager1_beta2/3.0.0+20140915/google_manager1_beta2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-manager1_beta2/3.1.0+20140915/google_manager1_beta2/client::Delegate) to the +[Method Builder](https://docs.rs/google-manager1_beta2/3.1.0+20140915/google_manager1_beta2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-manager1_beta2/3.0.0+20140915/google_manager1_beta2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-manager1_beta2/3.1.0+20140915/google_manager1_beta2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-manager1_beta2/3.0.0+20140915/google_manager1_beta2/client::RequestValue) and -[decodable](https://docs.rs/google-manager1_beta2/3.0.0+20140915/google_manager1_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-manager1_beta2/3.1.0+20140915/google_manager1_beta2/client::RequestValue) and +[decodable](https://docs.rs/google-manager1_beta2/3.1.0+20140915/google_manager1_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-manager1_beta2/3.0.0+20140915/google_manager1_beta2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-manager1_beta2/3.1.0+20140915/google_manager1_beta2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-manager1_beta2/3.0.0+20140915/google_manager1_beta2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-manager1_beta2/3.1.0+20140915/google_manager1_beta2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-manager1_beta2/3.0.0+20140915/google_manager1_beta2/client::RequestValue) are moved +* [request values](https://docs.rs/google-manager1_beta2/3.1.0+20140915/google_manager1_beta2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/manager1_beta2/src/api.rs b/gen/manager1_beta2/src/api.rs index 47c4fd653e..ff9c0945f8 100644 --- a/gen/manager1_beta2/src/api.rs +++ b/gen/manager1_beta2/src/api.rs @@ -94,7 +94,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Manager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Manager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -139,7 +139,7 @@ impl<'a, > Manager<> { Manager { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/manager/v1beta2/projects/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -153,7 +153,7 @@ impl<'a, > Manager<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -955,7 +955,7 @@ impl client::ResponseResult for TemplatesListResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Manager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Manager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -1080,7 +1080,7 @@ impl<'a> DeploymentMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Manager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Manager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -1204,7 +1204,7 @@ impl<'a> TemplateMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Manager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Manager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1462,7 +1462,7 @@ impl<'a> DeploymentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Manager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Manager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1732,7 +1732,7 @@ impl<'a> DeploymentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Manager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Manager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2019,7 +2019,7 @@ impl<'a> DeploymentInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Manager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Manager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2301,7 +2301,7 @@ impl<'a> DeploymentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Manager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Manager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2548,7 +2548,7 @@ impl<'a> TemplateDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Manager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Manager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2807,7 +2807,7 @@ impl<'a> TemplateGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Manager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Manager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3083,7 +3083,7 @@ impl<'a> TemplateInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Manager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Manager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/manager1_beta2/src/lib.rs b/gen/manager1_beta2/src/lib.rs index 7e9c863d79..ed64f9d387 100644 --- a/gen/manager1_beta2/src/lib.rs +++ b/gen/manager1_beta2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *manager* crate version *3.0.0+20140915*, where *20140915* is the exact revision of the *manager:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *manager* crate version *3.1.0+20140915*, where *20140915* is the exact revision of the *manager:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *manager* *v1_beta2* API can be found at the //! [official documentation site](https://developers.google.com/deployment-manager/). @@ -96,7 +96,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Manager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Manager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/manufacturers1-cli/Cargo.toml b/gen/manufacturers1-cli/Cargo.toml index bb4c7300b0..bc08bcc030 100644 --- a/gen/manufacturers1-cli/Cargo.toml +++ b/gen/manufacturers1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-manufacturers1-cli" -version = "3.0.0+20220303" +version = "3.1.0+20220303" authors = ["Sebastian Thiel "] description = "A complete library to interact with Manufacturer Center (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/manufacturers1-cli" @@ -20,12 +20,12 @@ name = "manufacturers1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-manufacturers1] path = "../manufacturers1" -version = "3.0.0+20220303" +version = "3.1.0+20220303" diff --git a/gen/manufacturers1-cli/README.md b/gen/manufacturers1-cli/README.md index 893a1fb64b..48fb03f9c1 100644 --- a/gen/manufacturers1-cli/README.md +++ b/gen/manufacturers1-cli/README.md @@ -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 *Manufacturer Center* API at revision *20220303*. The CLI is at version *3.0.0*. +This documentation was generated from the *Manufacturer Center* API at revision *20220303*. The CLI is at version *3.1.0*. ```bash manufacturers1 [options] diff --git a/gen/manufacturers1-cli/mkdocs.yml b/gen/manufacturers1-cli/mkdocs.yml index f1a3fd9271..d29b3caf7a 100644 --- a/gen/manufacturers1-cli/mkdocs.yml +++ b/gen/manufacturers1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Manufacturer Center v3.0.0+20220303 +site_name: Manufacturer Center v3.1.0+20220303 site_url: http://byron.github.io/google-apis-rs/google-manufacturers1-cli site_description: A complete library to interact with Manufacturer Center (protocol v1) diff --git a/gen/manufacturers1-cli/src/main.rs b/gen/manufacturers1-cli/src/main.rs index cb5922c01e..4bbb56fd74 100644 --- a/gen/manufacturers1-cli/src/main.rs +++ b/gen/manufacturers1-cli/src/main.rs @@ -394,7 +394,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/manufacturers1", 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::ManufacturerCenter::new(client, auth), @@ -548,7 +554,7 @@ async fn main() { let mut app = App::new("manufacturers1") .author("Sebastian Thiel ") - .version("3.0.0+20220303") + .version("3.1.0+20220303") .about("Public API for managing Manufacturer Center related data.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_manufacturers1_cli") .arg(Arg::with_name("url") diff --git a/gen/manufacturers1/Cargo.toml b/gen/manufacturers1/Cargo.toml index bca999586f..770b0cb6f9 100644 --- a/gen/manufacturers1/Cargo.toml +++ b/gen/manufacturers1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-manufacturers1" -version = "3.0.0+20220303" +version = "3.1.0+20220303" authors = ["Sebastian Thiel "] description = "A complete library to interact with Manufacturer Center (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/manufacturers1" homepage = "https://developers.google.com/manufacturers/" -documentation = "https://docs.rs/google-manufacturers1/3.0.0+20220303" +documentation = "https://docs.rs/google-manufacturers1/3.1.0+20220303" license = "MIT" keywords = ["manufacturers", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/manufacturers1/README.md b/gen/manufacturers1/README.md index 3e93ca1fd3..b5b074589a 100644 --- a/gen/manufacturers1/README.md +++ b/gen/manufacturers1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-manufacturers1` library allows access to all features of the *Google Manufacturer Center* service. -This documentation was generated from *Manufacturer Center* crate version *3.0.0+20220303*, where *20220303* is the exact revision of the *manufacturers:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Manufacturer Center* crate version *3.1.0+20220303*, where *20220303* is the exact revision of the *manufacturers:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Manufacturer Center* *v1* API can be found at the [official documentation site](https://developers.google.com/manufacturers/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-manufacturers1/3.0.0+20220303/google_manufacturers1/ManufacturerCenter) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-manufacturers1/3.1.0+20220303/google_manufacturers1/ManufacturerCenter) ... * accounts - * [*products delete*](https://docs.rs/google-manufacturers1/3.0.0+20220303/google_manufacturers1/api::AccountProductDeleteCall), [*products get*](https://docs.rs/google-manufacturers1/3.0.0+20220303/google_manufacturers1/api::AccountProductGetCall), [*products list*](https://docs.rs/google-manufacturers1/3.0.0+20220303/google_manufacturers1/api::AccountProductListCall) and [*products update*](https://docs.rs/google-manufacturers1/3.0.0+20220303/google_manufacturers1/api::AccountProductUpdateCall) + * [*products delete*](https://docs.rs/google-manufacturers1/3.1.0+20220303/google_manufacturers1/api::AccountProductDeleteCall), [*products get*](https://docs.rs/google-manufacturers1/3.1.0+20220303/google_manufacturers1/api::AccountProductGetCall), [*products list*](https://docs.rs/google-manufacturers1/3.1.0+20220303/google_manufacturers1/api::AccountProductListCall) and [*products update*](https://docs.rs/google-manufacturers1/3.1.0+20220303/google_manufacturers1/api::AccountProductUpdateCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-manufacturers1/3.0.0+20220303/google_manufacturers1/ManufacturerCenter)** +* **[Hub](https://docs.rs/google-manufacturers1/3.1.0+20220303/google_manufacturers1/ManufacturerCenter)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-manufacturers1/3.0.0+20220303/google_manufacturers1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-manufacturers1/3.0.0+20220303/google_manufacturers1/client::CallBuilder) -* **[Resources](https://docs.rs/google-manufacturers1/3.0.0+20220303/google_manufacturers1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-manufacturers1/3.1.0+20220303/google_manufacturers1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-manufacturers1/3.1.0+20220303/google_manufacturers1/client::CallBuilder) +* **[Resources](https://docs.rs/google-manufacturers1/3.1.0+20220303/google_manufacturers1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-manufacturers1/3.0.0+20220303/google_manufacturers1/client::Part)** + * **[Parts](https://docs.rs/google-manufacturers1/3.1.0+20220303/google_manufacturers1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-manufacturers1/3.0.0+20220303/google_manufacturers1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-manufacturers1/3.1.0+20220303/google_manufacturers1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -92,7 +92,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = ManufacturerCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = ManufacturerCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -125,17 +125,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-manufacturers1/3.0.0+20220303/google_manufacturers1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-manufacturers1/3.1.0+20220303/google_manufacturers1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-manufacturers1/3.0.0+20220303/google_manufacturers1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-manufacturers1/3.1.0+20220303/google_manufacturers1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-manufacturers1/3.0.0+20220303/google_manufacturers1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-manufacturers1/3.1.0+20220303/google_manufacturers1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-manufacturers1/3.0.0+20220303/google_manufacturers1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-manufacturers1/3.1.0+20220303/google_manufacturers1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -145,29 +145,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-manufacturers1/3.0.0+20220303/google_manufacturers1/client::Delegate) to the -[Method Builder](https://docs.rs/google-manufacturers1/3.0.0+20220303/google_manufacturers1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-manufacturers1/3.1.0+20220303/google_manufacturers1/client::Delegate) to the +[Method Builder](https://docs.rs/google-manufacturers1/3.1.0+20220303/google_manufacturers1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-manufacturers1/3.0.0+20220303/google_manufacturers1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-manufacturers1/3.1.0+20220303/google_manufacturers1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-manufacturers1/3.0.0+20220303/google_manufacturers1/client::RequestValue) and -[decodable](https://docs.rs/google-manufacturers1/3.0.0+20220303/google_manufacturers1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-manufacturers1/3.1.0+20220303/google_manufacturers1/client::RequestValue) and +[decodable](https://docs.rs/google-manufacturers1/3.1.0+20220303/google_manufacturers1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-manufacturers1/3.0.0+20220303/google_manufacturers1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-manufacturers1/3.1.0+20220303/google_manufacturers1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-manufacturers1/3.0.0+20220303/google_manufacturers1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-manufacturers1/3.1.0+20220303/google_manufacturers1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-manufacturers1/3.0.0+20220303/google_manufacturers1/client::RequestValue) are moved +* [request values](https://docs.rs/google-manufacturers1/3.1.0+20220303/google_manufacturers1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/manufacturers1/src/api.rs b/gen/manufacturers1/src/api.rs index 76486c03b1..189056c81a 100644 --- a/gen/manufacturers1/src/api.rs +++ b/gen/manufacturers1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ManufacturerCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ManufacturerCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > ManufacturerCenter<> { ManufacturerCenter { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://manufacturers.googleapis.com/".to_string(), _root_url: "https://manufacturers.googleapis.com/".to_string(), } @@ -130,7 +130,7 @@ impl<'a, > ManufacturerCenter<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -512,7 +512,7 @@ impl client::Part for ProductDetail {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ManufacturerCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ManufacturerCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `products_delete(...)`, `products_get(...)`, `products_list(...)` and `products_update(...)` /// // to build up your call. @@ -640,7 +640,7 @@ impl<'a> AccountMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManufacturerCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManufacturerCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -908,7 +908,7 @@ impl<'a> AccountProductDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManufacturerCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManufacturerCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1191,7 +1191,7 @@ impl<'a> AccountProductGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManufacturerCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManufacturerCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1487,7 +1487,7 @@ impl<'a> AccountProductListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ManufacturerCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ManufacturerCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/manufacturers1/src/lib.rs b/gen/manufacturers1/src/lib.rs index d8d08865ab..21307e4879 100644 --- a/gen/manufacturers1/src/lib.rs +++ b/gen/manufacturers1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Manufacturer Center* crate version *3.0.0+20220303*, where *20220303* is the exact revision of the *manufacturers:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Manufacturer Center* crate version *3.1.0+20220303*, where *20220303* is the exact revision of the *manufacturers:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Manufacturer Center* *v1* API can be found at the //! [official documentation site](https://developers.google.com/manufacturers/). @@ -93,7 +93,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = ManufacturerCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = ManufacturerCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/memcache1-cli/Cargo.toml b/gen/memcache1-cli/Cargo.toml index b986126cac..266844efbe 100644 --- a/gen/memcache1-cli/Cargo.toml +++ b/gen/memcache1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-memcache1-cli" -version = "3.0.0+20220224" +version = "3.1.0+20220224" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Memorystore for Memcached (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/memcache1-cli" @@ -20,12 +20,12 @@ name = "memcache1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-memcache1] path = "../memcache1" -version = "3.0.0+20220224" +version = "3.1.0+20220224" diff --git a/gen/memcache1-cli/README.md b/gen/memcache1-cli/README.md index d01952e46b..5008185155 100644 --- a/gen/memcache1-cli/README.md +++ b/gen/memcache1-cli/README.md @@ -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 *Cloud Memorystore for Memcached* API at revision *20220224*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Memorystore for Memcached* API at revision *20220224*. The CLI is at version *3.1.0*. ```bash memcache1 [options] diff --git a/gen/memcache1-cli/mkdocs.yml b/gen/memcache1-cli/mkdocs.yml index 0887da1db9..4da2c4795b 100644 --- a/gen/memcache1-cli/mkdocs.yml +++ b/gen/memcache1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Memorystore for Memcached v3.0.0+20220224 +site_name: Cloud Memorystore for Memcached v3.1.0+20220224 site_url: http://byron.github.io/google-apis-rs/google-memcache1-cli site_description: A complete library to interact with Cloud Memorystore for Memcached (protocol v1) diff --git a/gen/memcache1-cli/src/main.rs b/gen/memcache1-cli/src/main.rs index 16e91ccb72..7c806624de 100644 --- a/gen/memcache1-cli/src/main.rs +++ b/gen/memcache1-cli/src/main.rs @@ -1042,7 +1042,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/memcache1", 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::CloudMemorystoreForMemcached::new(client, auth), @@ -1400,7 +1406,7 @@ async fn main() { let mut app = App::new("memcache1") .author("Sebastian Thiel ") - .version("3.0.0+20220224") + .version("3.1.0+20220224") .about("Google Cloud Memorystore for Memcached API is used for creating and managing Memcached instances in GCP.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_memcache1_cli") .arg(Arg::with_name("url") diff --git a/gen/memcache1/Cargo.toml b/gen/memcache1/Cargo.toml index 07b774a45b..3192fb73f3 100644 --- a/gen/memcache1/Cargo.toml +++ b/gen/memcache1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-memcache1" -version = "3.0.0+20220224" +version = "3.1.0+20220224" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Memorystore for Memcached (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/memcache1" homepage = "https://cloud.google.com/memorystore/" -documentation = "https://docs.rs/google-memcache1/3.0.0+20220224" +documentation = "https://docs.rs/google-memcache1/3.1.0+20220224" license = "MIT" keywords = ["memcache", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/memcache1/README.md b/gen/memcache1/README.md index 3a0b439060..723768f38c 100644 --- a/gen/memcache1/README.md +++ b/gen/memcache1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-memcache1` library allows access to all features of the *Google Cloud Memorystore for Memcached* service. -This documentation was generated from *Cloud Memorystore for Memcached* crate version *3.0.0+20220224*, where *20220224* is the exact revision of the *memcache:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Memorystore for Memcached* crate version *3.1.0+20220224*, where *20220224* is the exact revision of the *memcache:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Memorystore for Memcached* *v1* API can be found at the [official documentation site](https://cloud.google.com/memorystore/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-memcache1/3.0.0+20220224/google_memcache1/CloudMemorystoreForMemcached) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-memcache1/3.1.0+20220224/google_memcache1/CloudMemorystoreForMemcached) ... * projects - * [*locations get*](https://docs.rs/google-memcache1/3.0.0+20220224/google_memcache1/api::ProjectLocationGetCall), [*locations instances apply parameters*](https://docs.rs/google-memcache1/3.0.0+20220224/google_memcache1/api::ProjectLocationInstanceApplyParameterCall), [*locations instances create*](https://docs.rs/google-memcache1/3.0.0+20220224/google_memcache1/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-memcache1/3.0.0+20220224/google_memcache1/api::ProjectLocationInstanceDeleteCall), [*locations instances get*](https://docs.rs/google-memcache1/3.0.0+20220224/google_memcache1/api::ProjectLocationInstanceGetCall), [*locations instances list*](https://docs.rs/google-memcache1/3.0.0+20220224/google_memcache1/api::ProjectLocationInstanceListCall), [*locations instances patch*](https://docs.rs/google-memcache1/3.0.0+20220224/google_memcache1/api::ProjectLocationInstancePatchCall), [*locations instances update parameters*](https://docs.rs/google-memcache1/3.0.0+20220224/google_memcache1/api::ProjectLocationInstanceUpdateParameterCall), [*locations list*](https://docs.rs/google-memcache1/3.0.0+20220224/google_memcache1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-memcache1/3.0.0+20220224/google_memcache1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-memcache1/3.0.0+20220224/google_memcache1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-memcache1/3.0.0+20220224/google_memcache1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-memcache1/3.0.0+20220224/google_memcache1/api::ProjectLocationOperationListCall) + * [*locations get*](https://docs.rs/google-memcache1/3.1.0+20220224/google_memcache1/api::ProjectLocationGetCall), [*locations instances apply parameters*](https://docs.rs/google-memcache1/3.1.0+20220224/google_memcache1/api::ProjectLocationInstanceApplyParameterCall), [*locations instances create*](https://docs.rs/google-memcache1/3.1.0+20220224/google_memcache1/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-memcache1/3.1.0+20220224/google_memcache1/api::ProjectLocationInstanceDeleteCall), [*locations instances get*](https://docs.rs/google-memcache1/3.1.0+20220224/google_memcache1/api::ProjectLocationInstanceGetCall), [*locations instances list*](https://docs.rs/google-memcache1/3.1.0+20220224/google_memcache1/api::ProjectLocationInstanceListCall), [*locations instances patch*](https://docs.rs/google-memcache1/3.1.0+20220224/google_memcache1/api::ProjectLocationInstancePatchCall), [*locations instances update parameters*](https://docs.rs/google-memcache1/3.1.0+20220224/google_memcache1/api::ProjectLocationInstanceUpdateParameterCall), [*locations list*](https://docs.rs/google-memcache1/3.1.0+20220224/google_memcache1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-memcache1/3.1.0+20220224/google_memcache1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-memcache1/3.1.0+20220224/google_memcache1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-memcache1/3.1.0+20220224/google_memcache1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-memcache1/3.1.0+20220224/google_memcache1/api::ProjectLocationOperationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-memcache1/3.0.0+20220224/google_memcache1/CloudMemorystoreForMemcached)** +* **[Hub](https://docs.rs/google-memcache1/3.1.0+20220224/google_memcache1/CloudMemorystoreForMemcached)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-memcache1/3.0.0+20220224/google_memcache1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-memcache1/3.0.0+20220224/google_memcache1/client::CallBuilder) -* **[Resources](https://docs.rs/google-memcache1/3.0.0+20220224/google_memcache1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-memcache1/3.1.0+20220224/google_memcache1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-memcache1/3.1.0+20220224/google_memcache1/client::CallBuilder) +* **[Resources](https://docs.rs/google-memcache1/3.1.0+20220224/google_memcache1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-memcache1/3.0.0+20220224/google_memcache1/client::Part)** + * **[Parts](https://docs.rs/google-memcache1/3.1.0+20220224/google_memcache1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-memcache1/3.0.0+20220224/google_memcache1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-memcache1/3.1.0+20220224/google_memcache1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -96,7 +96,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -130,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-memcache1/3.0.0+20220224/google_memcache1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-memcache1/3.1.0+20220224/google_memcache1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-memcache1/3.0.0+20220224/google_memcache1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-memcache1/3.1.0+20220224/google_memcache1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-memcache1/3.0.0+20220224/google_memcache1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-memcache1/3.1.0+20220224/google_memcache1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-memcache1/3.0.0+20220224/google_memcache1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-memcache1/3.1.0+20220224/google_memcache1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -150,29 +150,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-memcache1/3.0.0+20220224/google_memcache1/client::Delegate) to the -[Method Builder](https://docs.rs/google-memcache1/3.0.0+20220224/google_memcache1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-memcache1/3.1.0+20220224/google_memcache1/client::Delegate) to the +[Method Builder](https://docs.rs/google-memcache1/3.1.0+20220224/google_memcache1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-memcache1/3.0.0+20220224/google_memcache1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-memcache1/3.1.0+20220224/google_memcache1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-memcache1/3.0.0+20220224/google_memcache1/client::RequestValue) and -[decodable](https://docs.rs/google-memcache1/3.0.0+20220224/google_memcache1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-memcache1/3.1.0+20220224/google_memcache1/client::RequestValue) and +[decodable](https://docs.rs/google-memcache1/3.1.0+20220224/google_memcache1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-memcache1/3.0.0+20220224/google_memcache1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-memcache1/3.1.0+20220224/google_memcache1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-memcache1/3.0.0+20220224/google_memcache1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-memcache1/3.1.0+20220224/google_memcache1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-memcache1/3.0.0+20220224/google_memcache1/client::RequestValue) are moved +* [request values](https://docs.rs/google-memcache1/3.1.0+20220224/google_memcache1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/memcache1/src/api.rs b/gen/memcache1/src/api.rs index 0f97ba71cf..1e9caf83d6 100644 --- a/gen/memcache1/src/api.rs +++ b/gen/memcache1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > CloudMemorystoreForMemcached<> { CloudMemorystoreForMemcached { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://memcache.googleapis.com/".to_string(), _root_url: "https://memcache.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > CloudMemorystoreForMemcached<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -533,7 +533,7 @@ impl client::RequestValue for UpdateParametersRequest {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_get(...)`, `locations_instances_apply_parameters(...)`, `locations_instances_create(...)`, `locations_instances_delete(...)`, `locations_instances_get(...)`, `locations_instances_list(...)`, `locations_instances_patch(...)`, `locations_instances_update_parameters(...)`, `locations_list(...)`, `locations_operations_cancel(...)`, `locations_operations_delete(...)`, `locations_operations_get(...)` and `locations_operations_list(...)` /// // to build up your call. @@ -825,7 +825,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1111,7 +1111,7 @@ impl<'a> ProjectLocationInstanceApplyParameterCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1408,7 +1408,7 @@ impl<'a> ProjectLocationInstanceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1664,7 +1664,7 @@ impl<'a> ProjectLocationInstanceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1920,7 +1920,7 @@ impl<'a> ProjectLocationInstanceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2225,7 +2225,7 @@ impl<'a> ProjectLocationInstanceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2523,7 +2523,7 @@ impl<'a> ProjectLocationInstancePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2809,7 +2809,7 @@ impl<'a> ProjectLocationInstanceUpdateParameterCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3094,7 +3094,7 @@ impl<'a> ProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3350,7 +3350,7 @@ impl<'a> ProjectLocationOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3606,7 +3606,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3898,7 +3898,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4154,7 +4154,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/memcache1/src/lib.rs b/gen/memcache1/src/lib.rs index 30a85688e1..5ef5d1269d 100644 --- a/gen/memcache1/src/lib.rs +++ b/gen/memcache1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Memorystore for Memcached* crate version *3.0.0+20220224*, where *20220224* is the exact revision of the *memcache:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Memorystore for Memcached* crate version *3.1.0+20220224*, where *20220224* is the exact revision of the *memcache:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Memorystore for Memcached* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/memorystore/). @@ -97,7 +97,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/memcache1_beta2-cli/Cargo.toml b/gen/memcache1_beta2-cli/Cargo.toml index 49409aa94f..818de8889b 100644 --- a/gen/memcache1_beta2-cli/Cargo.toml +++ b/gen/memcache1_beta2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-memcache1_beta2-cli" -version = "3.0.0+20220224" +version = "3.1.0+20220224" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Memorystore for Memcached (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/memcache1_beta2-cli" @@ -20,12 +20,12 @@ name = "memcache1-beta2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-memcache1_beta2] path = "../memcache1_beta2" -version = "3.0.0+20220224" +version = "3.1.0+20220224" diff --git a/gen/memcache1_beta2-cli/README.md b/gen/memcache1_beta2-cli/README.md index 0da86bd022..e66f065b24 100644 --- a/gen/memcache1_beta2-cli/README.md +++ b/gen/memcache1_beta2-cli/README.md @@ -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 *Cloud Memorystore for Memcached* API at revision *20220224*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Memorystore for Memcached* API at revision *20220224*. The CLI is at version *3.1.0*. ```bash memcache1-beta2 [options] diff --git a/gen/memcache1_beta2-cli/mkdocs.yml b/gen/memcache1_beta2-cli/mkdocs.yml index ae70bb2359..a5ef523894 100644 --- a/gen/memcache1_beta2-cli/mkdocs.yml +++ b/gen/memcache1_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Memorystore for Memcached v3.0.0+20220224 +site_name: Cloud Memorystore for Memcached v3.1.0+20220224 site_url: http://byron.github.io/google-apis-rs/google-memcache1_beta2-cli site_description: A complete library to interact with Cloud Memorystore for Memcached (protocol v1beta2) diff --git a/gen/memcache1_beta2-cli/src/main.rs b/gen/memcache1_beta2-cli/src/main.rs index 802f373c4a..3c19d3e3b5 100644 --- a/gen/memcache1_beta2-cli/src/main.rs +++ b/gen/memcache1_beta2-cli/src/main.rs @@ -1133,7 +1133,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/memcache1-beta2", 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::CloudMemorystoreForMemcached::new(client, auth), @@ -1519,7 +1525,7 @@ async fn main() { let mut app = App::new("memcache1-beta2") .author("Sebastian Thiel ") - .version("3.0.0+20220224") + .version("3.1.0+20220224") .about("Google Cloud Memorystore for Memcached API is used for creating and managing Memcached instances in GCP.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_memcache1_beta2_cli") .arg(Arg::with_name("url") diff --git a/gen/memcache1_beta2/Cargo.toml b/gen/memcache1_beta2/Cargo.toml index 35c186dfa7..5b7d480946 100644 --- a/gen/memcache1_beta2/Cargo.toml +++ b/gen/memcache1_beta2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-memcache1_beta2" -version = "3.0.0+20220224" +version = "3.1.0+20220224" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Memorystore for Memcached (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/memcache1_beta2" homepage = "https://cloud.google.com/memorystore/" -documentation = "https://docs.rs/google-memcache1_beta2/3.0.0+20220224" +documentation = "https://docs.rs/google-memcache1_beta2/3.1.0+20220224" license = "MIT" keywords = ["memcache", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/memcache1_beta2/README.md b/gen/memcache1_beta2/README.md index 8e8552c9fc..3f83f75547 100644 --- a/gen/memcache1_beta2/README.md +++ b/gen/memcache1_beta2/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-memcache1_beta2` library allows access to all features of the *Google Cloud Memorystore for Memcached* service. -This documentation was generated from *Cloud Memorystore for Memcached* crate version *3.0.0+20220224*, where *20220224* is the exact revision of the *memcache:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Memorystore for Memcached* crate version *3.1.0+20220224*, where *20220224* is the exact revision of the *memcache:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Memorystore for Memcached* *v1_beta2* API can be found at the [official documentation site](https://cloud.google.com/memorystore/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-memcache1_beta2/3.0.0+20220224/google_memcache1_beta2/CloudMemorystoreForMemcached) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-memcache1_beta2/3.1.0+20220224/google_memcache1_beta2/CloudMemorystoreForMemcached) ... * projects - * [*locations get*](https://docs.rs/google-memcache1_beta2/3.0.0+20220224/google_memcache1_beta2/api::ProjectLocationGetCall), [*locations instances apply parameters*](https://docs.rs/google-memcache1_beta2/3.0.0+20220224/google_memcache1_beta2/api::ProjectLocationInstanceApplyParameterCall), [*locations instances apply software update*](https://docs.rs/google-memcache1_beta2/3.0.0+20220224/google_memcache1_beta2/api::ProjectLocationInstanceApplySoftwareUpdateCall), [*locations instances create*](https://docs.rs/google-memcache1_beta2/3.0.0+20220224/google_memcache1_beta2/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-memcache1_beta2/3.0.0+20220224/google_memcache1_beta2/api::ProjectLocationInstanceDeleteCall), [*locations instances get*](https://docs.rs/google-memcache1_beta2/3.0.0+20220224/google_memcache1_beta2/api::ProjectLocationInstanceGetCall), [*locations instances list*](https://docs.rs/google-memcache1_beta2/3.0.0+20220224/google_memcache1_beta2/api::ProjectLocationInstanceListCall), [*locations instances patch*](https://docs.rs/google-memcache1_beta2/3.0.0+20220224/google_memcache1_beta2/api::ProjectLocationInstancePatchCall), [*locations instances update parameters*](https://docs.rs/google-memcache1_beta2/3.0.0+20220224/google_memcache1_beta2/api::ProjectLocationInstanceUpdateParameterCall), [*locations list*](https://docs.rs/google-memcache1_beta2/3.0.0+20220224/google_memcache1_beta2/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-memcache1_beta2/3.0.0+20220224/google_memcache1_beta2/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-memcache1_beta2/3.0.0+20220224/google_memcache1_beta2/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-memcache1_beta2/3.0.0+20220224/google_memcache1_beta2/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-memcache1_beta2/3.0.0+20220224/google_memcache1_beta2/api::ProjectLocationOperationListCall) + * [*locations get*](https://docs.rs/google-memcache1_beta2/3.1.0+20220224/google_memcache1_beta2/api::ProjectLocationGetCall), [*locations instances apply parameters*](https://docs.rs/google-memcache1_beta2/3.1.0+20220224/google_memcache1_beta2/api::ProjectLocationInstanceApplyParameterCall), [*locations instances apply software update*](https://docs.rs/google-memcache1_beta2/3.1.0+20220224/google_memcache1_beta2/api::ProjectLocationInstanceApplySoftwareUpdateCall), [*locations instances create*](https://docs.rs/google-memcache1_beta2/3.1.0+20220224/google_memcache1_beta2/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-memcache1_beta2/3.1.0+20220224/google_memcache1_beta2/api::ProjectLocationInstanceDeleteCall), [*locations instances get*](https://docs.rs/google-memcache1_beta2/3.1.0+20220224/google_memcache1_beta2/api::ProjectLocationInstanceGetCall), [*locations instances list*](https://docs.rs/google-memcache1_beta2/3.1.0+20220224/google_memcache1_beta2/api::ProjectLocationInstanceListCall), [*locations instances patch*](https://docs.rs/google-memcache1_beta2/3.1.0+20220224/google_memcache1_beta2/api::ProjectLocationInstancePatchCall), [*locations instances update parameters*](https://docs.rs/google-memcache1_beta2/3.1.0+20220224/google_memcache1_beta2/api::ProjectLocationInstanceUpdateParameterCall), [*locations list*](https://docs.rs/google-memcache1_beta2/3.1.0+20220224/google_memcache1_beta2/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-memcache1_beta2/3.1.0+20220224/google_memcache1_beta2/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-memcache1_beta2/3.1.0+20220224/google_memcache1_beta2/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-memcache1_beta2/3.1.0+20220224/google_memcache1_beta2/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-memcache1_beta2/3.1.0+20220224/google_memcache1_beta2/api::ProjectLocationOperationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-memcache1_beta2/3.0.0+20220224/google_memcache1_beta2/CloudMemorystoreForMemcached)** +* **[Hub](https://docs.rs/google-memcache1_beta2/3.1.0+20220224/google_memcache1_beta2/CloudMemorystoreForMemcached)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-memcache1_beta2/3.0.0+20220224/google_memcache1_beta2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-memcache1_beta2/3.0.0+20220224/google_memcache1_beta2/client::CallBuilder) -* **[Resources](https://docs.rs/google-memcache1_beta2/3.0.0+20220224/google_memcache1_beta2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-memcache1_beta2/3.1.0+20220224/google_memcache1_beta2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-memcache1_beta2/3.1.0+20220224/google_memcache1_beta2/client::CallBuilder) +* **[Resources](https://docs.rs/google-memcache1_beta2/3.1.0+20220224/google_memcache1_beta2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-memcache1_beta2/3.0.0+20220224/google_memcache1_beta2/client::Part)** + * **[Parts](https://docs.rs/google-memcache1_beta2/3.1.0+20220224/google_memcache1_beta2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-memcache1_beta2/3.0.0+20220224/google_memcache1_beta2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-memcache1_beta2/3.1.0+20220224/google_memcache1_beta2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -97,7 +97,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -131,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-memcache1_beta2/3.0.0+20220224/google_memcache1_beta2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-memcache1_beta2/3.1.0+20220224/google_memcache1_beta2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-memcache1_beta2/3.0.0+20220224/google_memcache1_beta2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-memcache1_beta2/3.1.0+20220224/google_memcache1_beta2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-memcache1_beta2/3.0.0+20220224/google_memcache1_beta2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-memcache1_beta2/3.1.0+20220224/google_memcache1_beta2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-memcache1_beta2/3.0.0+20220224/google_memcache1_beta2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-memcache1_beta2/3.1.0+20220224/google_memcache1_beta2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -151,29 +151,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-memcache1_beta2/3.0.0+20220224/google_memcache1_beta2/client::Delegate) to the -[Method Builder](https://docs.rs/google-memcache1_beta2/3.0.0+20220224/google_memcache1_beta2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-memcache1_beta2/3.1.0+20220224/google_memcache1_beta2/client::Delegate) to the +[Method Builder](https://docs.rs/google-memcache1_beta2/3.1.0+20220224/google_memcache1_beta2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-memcache1_beta2/3.0.0+20220224/google_memcache1_beta2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-memcache1_beta2/3.1.0+20220224/google_memcache1_beta2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-memcache1_beta2/3.0.0+20220224/google_memcache1_beta2/client::RequestValue) and -[decodable](https://docs.rs/google-memcache1_beta2/3.0.0+20220224/google_memcache1_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-memcache1_beta2/3.1.0+20220224/google_memcache1_beta2/client::RequestValue) and +[decodable](https://docs.rs/google-memcache1_beta2/3.1.0+20220224/google_memcache1_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-memcache1_beta2/3.0.0+20220224/google_memcache1_beta2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-memcache1_beta2/3.1.0+20220224/google_memcache1_beta2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-memcache1_beta2/3.0.0+20220224/google_memcache1_beta2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-memcache1_beta2/3.1.0+20220224/google_memcache1_beta2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-memcache1_beta2/3.0.0+20220224/google_memcache1_beta2/client::RequestValue) are moved +* [request values](https://docs.rs/google-memcache1_beta2/3.1.0+20220224/google_memcache1_beta2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/memcache1_beta2/src/api.rs b/gen/memcache1_beta2/src/api.rs index 1be33f0cc1..6310858f73 100644 --- a/gen/memcache1_beta2/src/api.rs +++ b/gen/memcache1_beta2/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > CloudMemorystoreForMemcached<> { CloudMemorystoreForMemcached { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://memcache.googleapis.com/".to_string(), _root_url: "https://memcache.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > CloudMemorystoreForMemcached<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -562,7 +562,7 @@ impl client::RequestValue for UpdateParametersRequest {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_get(...)`, `locations_instances_apply_parameters(...)`, `locations_instances_apply_software_update(...)`, `locations_instances_create(...)`, `locations_instances_delete(...)`, `locations_instances_get(...)`, `locations_instances_list(...)`, `locations_instances_patch(...)`, `locations_instances_update_parameters(...)`, `locations_list(...)`, `locations_operations_cancel(...)`, `locations_operations_delete(...)`, `locations_operations_get(...)` and `locations_operations_list(...)` /// // to build up your call. @@ -873,7 +873,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1159,7 +1159,7 @@ impl<'a> ProjectLocationInstanceApplyParameterCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1445,7 +1445,7 @@ impl<'a> ProjectLocationInstanceApplySoftwareUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1742,7 +1742,7 @@ impl<'a> ProjectLocationInstanceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1998,7 +1998,7 @@ impl<'a> ProjectLocationInstanceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2254,7 +2254,7 @@ impl<'a> ProjectLocationInstanceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2559,7 +2559,7 @@ impl<'a> ProjectLocationInstanceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2857,7 +2857,7 @@ impl<'a> ProjectLocationInstancePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3143,7 +3143,7 @@ impl<'a> ProjectLocationInstanceUpdateParameterCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3428,7 +3428,7 @@ impl<'a> ProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3684,7 +3684,7 @@ impl<'a> ProjectLocationOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3940,7 +3940,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4232,7 +4232,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4488,7 +4488,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/memcache1_beta2/src/lib.rs b/gen/memcache1_beta2/src/lib.rs index 7afbc9eb53..fe328d8b0d 100644 --- a/gen/memcache1_beta2/src/lib.rs +++ b/gen/memcache1_beta2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Memorystore for Memcached* crate version *3.0.0+20220224*, where *20220224* is the exact revision of the *memcache:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Memorystore for Memcached* crate version *3.1.0+20220224*, where *20220224* is the exact revision of the *memcache:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Memorystore for Memcached* *v1_beta2* API can be found at the //! [official documentation site](https://cloud.google.com/memorystore/). @@ -98,7 +98,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudMemorystoreForMemcached::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/metastore1_beta-cli/Cargo.toml b/gen/metastore1_beta-cli/Cargo.toml index 177e5fbda7..6db60af64b 100644 --- a/gen/metastore1_beta-cli/Cargo.toml +++ b/gen/metastore1_beta-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-metastore1_beta-cli" -version = "3.0.0+20220222" +version = "3.1.0+20220222" authors = ["Sebastian Thiel "] description = "A complete library to interact with Dataproc Metastore (protocol v1beta)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/metastore1_beta-cli" @@ -20,12 +20,12 @@ name = "metastore1-beta" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-metastore1_beta] path = "../metastore1_beta" -version = "3.0.0+20220222" +version = "3.1.0+20220222" diff --git a/gen/metastore1_beta-cli/README.md b/gen/metastore1_beta-cli/README.md index f6a2d14332..62b19f6d1b 100644 --- a/gen/metastore1_beta-cli/README.md +++ b/gen/metastore1_beta-cli/README.md @@ -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 *Dataproc Metastore* API at revision *20220222*. The CLI is at version *3.0.0*. +This documentation was generated from the *Dataproc Metastore* API at revision *20220222*. The CLI is at version *3.1.0*. ```bash metastore1-beta [options] diff --git a/gen/metastore1_beta-cli/mkdocs.yml b/gen/metastore1_beta-cli/mkdocs.yml index 4af183d1c4..8af21ddbe0 100644 --- a/gen/metastore1_beta-cli/mkdocs.yml +++ b/gen/metastore1_beta-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Dataproc Metastore v3.0.0+20220222 +site_name: Dataproc Metastore v3.1.0+20220222 site_url: http://byron.github.io/google-apis-rs/google-metastore1_beta-cli site_description: A complete library to interact with Dataproc Metastore (protocol v1beta) diff --git a/gen/metastore1_beta-cli/src/main.rs b/gen/metastore1_beta-cli/src/main.rs index 945a64aaa0..3b922e4d62 100644 --- a/gen/metastore1_beta-cli/src/main.rs +++ b/gen/metastore1_beta-cli/src/main.rs @@ -2654,7 +2654,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/metastore1-beta", 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::DataprocMetastore::new(client, auth), @@ -3518,7 +3524,7 @@ async fn main() { let mut app = App::new("metastore1-beta") .author("Sebastian Thiel ") - .version("3.0.0+20220222") + .version("3.1.0+20220222") .about("The Dataproc Metastore API is used to manage the lifecycle and configuration of metastore services.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_metastore1_beta_cli") .arg(Arg::with_name("url") diff --git a/gen/metastore1_beta/Cargo.toml b/gen/metastore1_beta/Cargo.toml index 33033d7efd..1dc6f6d0dc 100644 --- a/gen/metastore1_beta/Cargo.toml +++ b/gen/metastore1_beta/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-metastore1_beta" -version = "3.0.0+20220222" +version = "3.1.0+20220222" authors = ["Sebastian Thiel "] description = "A complete library to interact with Dataproc Metastore (protocol v1beta)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/metastore1_beta" homepage = "https://cloud.google.com/dataproc-metastore/docs" -documentation = "https://docs.rs/google-metastore1_beta/3.0.0+20220222" +documentation = "https://docs.rs/google-metastore1_beta/3.1.0+20220222" license = "MIT" keywords = ["metastore", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/metastore1_beta/README.md b/gen/metastore1_beta/README.md index eda538da59..59cbfc37b2 100644 --- a/gen/metastore1_beta/README.md +++ b/gen/metastore1_beta/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-metastore1_beta` library allows access to all features of the *Google Dataproc Metastore* service. -This documentation was generated from *Dataproc Metastore* crate version *3.0.0+20220222*, where *20220222* is the exact revision of the *metastore:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Dataproc Metastore* crate version *3.1.0+20220222*, where *20220222* is the exact revision of the *metastore:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Dataproc Metastore* *v1_beta* API can be found at the [official documentation site](https://cloud.google.com/dataproc-metastore/docs). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/DataprocMetastore) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/DataprocMetastore) ... * projects - * [*locations get*](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/api::ProjectLocationListCall), [*locations operations delete*](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/api::ProjectLocationOperationListCall), [*locations services backups create*](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/api::ProjectLocationServiceBackupCreateCall), [*locations services backups delete*](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/api::ProjectLocationServiceBackupDeleteCall), [*locations services backups get*](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/api::ProjectLocationServiceBackupGetCall), [*locations services backups get iam policy*](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/api::ProjectLocationServiceBackupGetIamPolicyCall), [*locations services backups list*](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/api::ProjectLocationServiceBackupListCall), [*locations services backups set iam policy*](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/api::ProjectLocationServiceBackupSetIamPolicyCall), [*locations services backups test iam permissions*](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/api::ProjectLocationServiceBackupTestIamPermissionCall), [*locations services create*](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/api::ProjectLocationServiceCreateCall), [*locations services databases get iam policy*](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/api::ProjectLocationServiceDatabaseGetIamPolicyCall), [*locations services databases set iam policy*](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/api::ProjectLocationServiceDatabaseSetIamPolicyCall), [*locations services databases tables get iam policy*](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/api::ProjectLocationServiceDatabaseTableGetIamPolicyCall), [*locations services databases tables set iam policy*](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/api::ProjectLocationServiceDatabaseTableSetIamPolicyCall), [*locations services databases tables test iam permissions*](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/api::ProjectLocationServiceDatabaseTableTestIamPermissionCall), [*locations services databases test iam permissions*](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/api::ProjectLocationServiceDatabaseTestIamPermissionCall), [*locations services delete*](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/api::ProjectLocationServiceDeleteCall), [*locations services export metadata*](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/api::ProjectLocationServiceExportMetadataCall), [*locations services get*](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/api::ProjectLocationServiceGetCall), [*locations services get iam policy*](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/api::ProjectLocationServiceGetIamPolicyCall), [*locations services list*](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/api::ProjectLocationServiceListCall), [*locations services metadata imports create*](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/api::ProjectLocationServiceMetadataImportCreateCall), [*locations services metadata imports get*](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/api::ProjectLocationServiceMetadataImportGetCall), [*locations services metadata imports list*](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/api::ProjectLocationServiceMetadataImportListCall), [*locations services metadata imports patch*](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/api::ProjectLocationServiceMetadataImportPatchCall), [*locations services patch*](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/api::ProjectLocationServicePatchCall), [*locations services remove iam policy*](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/api::ProjectLocationServiceRemoveIamPolicyCall), [*locations services restore*](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/api::ProjectLocationServiceRestoreCall), [*locations services set iam policy*](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/api::ProjectLocationServiceSetIamPolicyCall) and [*locations services test iam permissions*](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/api::ProjectLocationServiceTestIamPermissionCall) + * [*locations get*](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/api::ProjectLocationListCall), [*locations operations delete*](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/api::ProjectLocationOperationListCall), [*locations services backups create*](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/api::ProjectLocationServiceBackupCreateCall), [*locations services backups delete*](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/api::ProjectLocationServiceBackupDeleteCall), [*locations services backups get*](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/api::ProjectLocationServiceBackupGetCall), [*locations services backups get iam policy*](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/api::ProjectLocationServiceBackupGetIamPolicyCall), [*locations services backups list*](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/api::ProjectLocationServiceBackupListCall), [*locations services backups set iam policy*](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/api::ProjectLocationServiceBackupSetIamPolicyCall), [*locations services backups test iam permissions*](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/api::ProjectLocationServiceBackupTestIamPermissionCall), [*locations services create*](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/api::ProjectLocationServiceCreateCall), [*locations services databases get iam policy*](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/api::ProjectLocationServiceDatabaseGetIamPolicyCall), [*locations services databases set iam policy*](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/api::ProjectLocationServiceDatabaseSetIamPolicyCall), [*locations services databases tables get iam policy*](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/api::ProjectLocationServiceDatabaseTableGetIamPolicyCall), [*locations services databases tables set iam policy*](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/api::ProjectLocationServiceDatabaseTableSetIamPolicyCall), [*locations services databases tables test iam permissions*](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/api::ProjectLocationServiceDatabaseTableTestIamPermissionCall), [*locations services databases test iam permissions*](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/api::ProjectLocationServiceDatabaseTestIamPermissionCall), [*locations services delete*](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/api::ProjectLocationServiceDeleteCall), [*locations services export metadata*](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/api::ProjectLocationServiceExportMetadataCall), [*locations services get*](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/api::ProjectLocationServiceGetCall), [*locations services get iam policy*](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/api::ProjectLocationServiceGetIamPolicyCall), [*locations services list*](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/api::ProjectLocationServiceListCall), [*locations services metadata imports create*](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/api::ProjectLocationServiceMetadataImportCreateCall), [*locations services metadata imports get*](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/api::ProjectLocationServiceMetadataImportGetCall), [*locations services metadata imports list*](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/api::ProjectLocationServiceMetadataImportListCall), [*locations services metadata imports patch*](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/api::ProjectLocationServiceMetadataImportPatchCall), [*locations services patch*](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/api::ProjectLocationServicePatchCall), [*locations services remove iam policy*](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/api::ProjectLocationServiceRemoveIamPolicyCall), [*locations services restore*](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/api::ProjectLocationServiceRestoreCall), [*locations services set iam policy*](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/api::ProjectLocationServiceSetIamPolicyCall) and [*locations services test iam permissions*](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/api::ProjectLocationServiceTestIamPermissionCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/DataprocMetastore)** +* **[Hub](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/DataprocMetastore)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/client::CallBuilder) -* **[Resources](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/client::CallBuilder) +* **[Resources](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/client::Part)** + * **[Parts](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/client::CallBuilder)** +* **[Activities](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -100,7 +100,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -135,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -155,29 +155,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/client::Delegate) to the -[Method Builder](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/client::Delegate) to the +[Method Builder](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/client::RequestValue) and -[decodable](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/client::RequestValue) and +[decodable](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-metastore1_beta/3.0.0+20220222/google_metastore1_beta/client::RequestValue) are moved +* [request values](https://docs.rs/google-metastore1_beta/3.1.0+20220222/google_metastore1_beta/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/metastore1_beta/src/api.rs b/gen/metastore1_beta/src/api.rs index 524db7436d..50fa2f3a79 100644 --- a/gen/metastore1_beta/src/api.rs +++ b/gen/metastore1_beta/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -121,7 +121,7 @@ impl<'a, > DataprocMetastore<> { DataprocMetastore { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://metastore.googleapis.com/".to_string(), _root_url: "https://metastore.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > DataprocMetastore<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1070,7 +1070,7 @@ impl client::ResponseResult for TestIamPermissionsResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_get(...)`, `locations_list(...)`, `locations_operations_delete(...)`, `locations_operations_get(...)`, `locations_operations_list(...)`, `locations_services_backups_create(...)`, `locations_services_backups_delete(...)`, `locations_services_backups_get(...)`, `locations_services_backups_get_iam_policy(...)`, `locations_services_backups_list(...)`, `locations_services_backups_set_iam_policy(...)`, `locations_services_backups_test_iam_permissions(...)`, `locations_services_create(...)`, `locations_services_databases_get_iam_policy(...)`, `locations_services_databases_set_iam_policy(...)`, `locations_services_databases_tables_get_iam_policy(...)`, `locations_services_databases_tables_set_iam_policy(...)`, `locations_services_databases_tables_test_iam_permissions(...)`, `locations_services_databases_test_iam_permissions(...)`, `locations_services_delete(...)`, `locations_services_export_metadata(...)`, `locations_services_get(...)`, `locations_services_get_iam_policy(...)`, `locations_services_list(...)`, `locations_services_metadata_imports_create(...)`, `locations_services_metadata_imports_get(...)`, `locations_services_metadata_imports_list(...)`, `locations_services_metadata_imports_patch(...)`, `locations_services_patch(...)`, `locations_services_remove_iam_policy(...)`, `locations_services_restore(...)`, `locations_services_set_iam_policy(...)` and `locations_services_test_iam_permissions(...)` /// // to build up your call. @@ -1745,7 +1745,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2001,7 +2001,7 @@ impl<'a> ProjectLocationOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2257,7 +2257,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2550,7 +2550,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2859,7 +2859,7 @@ impl<'a> ProjectLocationServiceBackupCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3127,7 +3127,7 @@ impl<'a> ProjectLocationServiceBackupDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3383,7 +3383,7 @@ impl<'a> ProjectLocationServiceBackupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3651,7 +3651,7 @@ impl<'a> ProjectLocationServiceBackupGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3956,7 +3956,7 @@ impl<'a> ProjectLocationServiceBackupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4242,7 +4242,7 @@ impl<'a> ProjectLocationServiceBackupSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4527,7 +4527,7 @@ impl<'a> ProjectLocationServiceBackupTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4796,7 +4796,7 @@ impl<'a> ProjectLocationServiceDatabaseTableGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5082,7 +5082,7 @@ impl<'a> ProjectLocationServiceDatabaseTableSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5367,7 +5367,7 @@ impl<'a> ProjectLocationServiceDatabaseTableTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5636,7 +5636,7 @@ impl<'a> ProjectLocationServiceDatabaseGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5922,7 +5922,7 @@ impl<'a> ProjectLocationServiceDatabaseSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6208,7 +6208,7 @@ impl<'a> ProjectLocationServiceDatabaseTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6517,7 +6517,7 @@ impl<'a> ProjectLocationServiceMetadataImportCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6773,7 +6773,7 @@ impl<'a> ProjectLocationServiceMetadataImportGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7078,7 +7078,7 @@ impl<'a> ProjectLocationServiceMetadataImportListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7388,7 +7388,7 @@ impl<'a> ProjectLocationServiceMetadataImportPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7697,7 +7697,7 @@ impl<'a> ProjectLocationServiceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7966,7 +7966,7 @@ impl<'a> ProjectLocationServiceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8251,7 +8251,7 @@ impl<'a> ProjectLocationServiceExportMetadataCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8507,7 +8507,7 @@ impl<'a> ProjectLocationServiceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8775,7 +8775,7 @@ impl<'a> ProjectLocationServiceGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9080,7 +9080,7 @@ impl<'a> ProjectLocationServiceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9390,7 +9390,7 @@ impl<'a> ProjectLocationServicePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9676,7 +9676,7 @@ impl<'a> ProjectLocationServiceRemoveIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9962,7 +9962,7 @@ impl<'a> ProjectLocationServiceRestoreCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10248,7 +10248,7 @@ impl<'a> ProjectLocationServiceSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10533,7 +10533,7 @@ impl<'a> ProjectLocationServiceTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10789,7 +10789,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/metastore1_beta/src/lib.rs b/gen/metastore1_beta/src/lib.rs index 6d04e17505..4628fe63aa 100644 --- a/gen/metastore1_beta/src/lib.rs +++ b/gen/metastore1_beta/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Dataproc Metastore* crate version *3.0.0+20220222*, where *20220222* is the exact revision of the *metastore:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Dataproc Metastore* crate version *3.1.0+20220222*, where *20220222* is the exact revision of the *metastore:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Dataproc Metastore* *v1_beta* API can be found at the //! [official documentation site](https://cloud.google.com/dataproc-metastore/docs). @@ -101,7 +101,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = DataprocMetastore::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/mirror1-cli/Cargo.toml b/gen/mirror1-cli/Cargo.toml index 153051c516..7f6d7ce7e8 100644 --- a/gen/mirror1-cli/Cargo.toml +++ b/gen/mirror1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-mirror1-cli" -version = "3.0.0+20190424" +version = "3.1.0+20190424" authors = ["Sebastian Thiel "] description = "A complete library to interact with mirror (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/mirror1-cli" @@ -20,12 +20,12 @@ name = "mirror1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-mirror1] path = "../mirror1" -version = "3.0.0+20190424" +version = "3.1.0+20190424" diff --git a/gen/mirror1-cli/README.md b/gen/mirror1-cli/README.md index b8de28b503..9b0269557e 100644 --- a/gen/mirror1-cli/README.md +++ b/gen/mirror1-cli/README.md @@ -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 *mirror* API at revision *20190424*. The CLI is at version *3.0.0*. +This documentation was generated from the *mirror* API at revision *20190424*. The CLI is at version *3.1.0*. ```bash mirror1 [options] diff --git a/gen/mirror1-cli/mkdocs.yml b/gen/mirror1-cli/mkdocs.yml index 7bcbe7da14..ef3e83169d 100644 --- a/gen/mirror1-cli/mkdocs.yml +++ b/gen/mirror1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: mirror v3.0.0+20190424 +site_name: mirror v3.1.0+20190424 site_url: http://byron.github.io/google-apis-rs/google-mirror1-cli site_description: A complete library to interact with mirror (protocol v1) diff --git a/gen/mirror1-cli/src/main.rs b/gen/mirror1-cli/src/main.rs index e0c9754191..d21f85ac93 100644 --- a/gen/mirror1-cli/src/main.rs +++ b/gen/mirror1-cli/src/main.rs @@ -1927,7 +1927,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/mirror1", 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::Mirror::new(client, auth), @@ -2542,7 +2548,7 @@ async fn main() { let mut app = App::new("mirror1") .author("Sebastian Thiel ") - .version("3.0.0+20190424") + .version("3.1.0+20190424") .about("Interacts with Glass users via the timeline.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_mirror1_cli") .arg(Arg::with_name("url") diff --git a/gen/mirror1/Cargo.toml b/gen/mirror1/Cargo.toml index 30bf9b2df0..a990d03e55 100644 --- a/gen/mirror1/Cargo.toml +++ b/gen/mirror1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-mirror1" -version = "3.0.0+20190424" +version = "3.1.0+20190424" authors = ["Sebastian Thiel "] description = "A complete library to interact with mirror (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/mirror1" homepage = "https://developers.google.com/glass" -documentation = "https://docs.rs/google-mirror1/3.0.0+20190424" +documentation = "https://docs.rs/google-mirror1/3.1.0+20190424" license = "MIT" keywords = ["mirror", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/mirror1/README.md b/gen/mirror1/README.md index c26bb73f8f..deab15bc7c 100644 --- a/gen/mirror1/README.md +++ b/gen/mirror1/README.md @@ -5,37 +5,37 @@ DO NOT EDIT ! --> The `google-mirror1` library allows access to all features of the *Google mirror* service. -This documentation was generated from *mirror* crate version *3.0.0+20190424*, where *20190424* is the exact revision of the *mirror:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *mirror* crate version *3.1.0+20190424*, where *20190424* is the exact revision of the *mirror:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *mirror* *v1* API can be found at the [official documentation site](https://developers.google.com/glass). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/Mirror) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/Mirror) ... -* [accounts](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/api::Account) - * [*insert*](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/api::AccountInsertCall) -* [contacts](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/api::Contact) - * [*delete*](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/api::ContactDeleteCall), [*get*](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/api::ContactGetCall), [*insert*](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/api::ContactInsertCall), [*list*](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/api::ContactListCall), [*patch*](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/api::ContactPatchCall) and [*update*](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/api::ContactUpdateCall) -* [locations](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/api::Location) - * [*get*](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/api::LocationGetCall) and [*list*](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/api::LocationListCall) -* [settings](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/api::Setting) - * [*get*](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/api::SettingGetCall) -* [subscriptions](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/api::Subscription) - * [*delete*](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/api::SubscriptionDeleteCall), [*insert*](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/api::SubscriptionInsertCall), [*list*](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/api::SubscriptionListCall) and [*update*](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/api::SubscriptionUpdateCall) +* [accounts](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/api::Account) + * [*insert*](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/api::AccountInsertCall) +* [contacts](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/api::Contact) + * [*delete*](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/api::ContactDeleteCall), [*get*](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/api::ContactGetCall), [*insert*](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/api::ContactInsertCall), [*list*](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/api::ContactListCall), [*patch*](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/api::ContactPatchCall) and [*update*](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/api::ContactUpdateCall) +* [locations](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/api::Location) + * [*get*](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/api::LocationGetCall) and [*list*](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/api::LocationListCall) +* [settings](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/api::Setting) + * [*get*](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/api::SettingGetCall) +* [subscriptions](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/api::Subscription) + * [*delete*](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/api::SubscriptionDeleteCall), [*insert*](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/api::SubscriptionInsertCall), [*list*](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/api::SubscriptionListCall) and [*update*](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/api::SubscriptionUpdateCall) * timeline - * [*attachments delete*](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/api::TimelineAttachmentDeleteCall), [*attachments get*](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/api::TimelineAttachmentGetCall), [*attachments insert*](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/api::TimelineAttachmentInsertCall), [*attachments list*](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/api::TimelineAttachmentListCall), [*delete*](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/api::TimelineDeleteCall), [*get*](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/api::TimelineGetCall), [*insert*](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/api::TimelineInsertCall), [*list*](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/api::TimelineListCall), [*patch*](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/api::TimelinePatchCall) and [*update*](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/api::TimelineUpdateCall) + * [*attachments delete*](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/api::TimelineAttachmentDeleteCall), [*attachments get*](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/api::TimelineAttachmentGetCall), [*attachments insert*](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/api::TimelineAttachmentInsertCall), [*attachments list*](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/api::TimelineAttachmentListCall), [*delete*](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/api::TimelineDeleteCall), [*get*](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/api::TimelineGetCall), [*insert*](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/api::TimelineInsertCall), [*list*](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/api::TimelineListCall), [*patch*](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/api::TimelinePatchCall) and [*update*](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/api::TimelineUpdateCall) Upload supported by ... -* [*attachments insert timeline*](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/api::TimelineAttachmentInsertCall) -* [*insert timeline*](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/api::TimelineInsertCall) -* [*update timeline*](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/api::TimelineUpdateCall) +* [*attachments insert timeline*](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/api::TimelineAttachmentInsertCall) +* [*insert timeline*](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/api::TimelineInsertCall) +* [*update timeline*](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/api::TimelineUpdateCall) Download supported by ... -* [*attachments get timeline*](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/api::TimelineAttachmentGetCall) +* [*attachments get timeline*](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/api::TimelineAttachmentGetCall) @@ -43,17 +43,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/Mirror)** +* **[Hub](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/Mirror)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/client::CallBuilder) -* **[Resources](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/client::CallBuilder) +* **[Resources](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/client::Part)** + * **[Parts](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -116,7 +116,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -149,17 +149,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -169,29 +169,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/client::Delegate) to the -[Method Builder](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/client::Delegate) to the +[Method Builder](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/client::RequestValue) and -[decodable](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/client::RequestValue) and +[decodable](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-mirror1/3.0.0+20190424/google_mirror1/client::RequestValue) are moved +* [request values](https://docs.rs/google-mirror1/3.1.0+20190424/google_mirror1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/mirror1/src/api.rs b/gen/mirror1/src/api.rs index 8ad6e3763d..2fb36b7bb3 100644 --- a/gen/mirror1/src/api.rs +++ b/gen/mirror1/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -123,7 +123,7 @@ impl<'a, > Mirror<> { Mirror { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/mirror/v1/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -149,7 +149,7 @@ impl<'a, > Mirror<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -828,7 +828,7 @@ impl client::Part for UserData {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `insert(...)` /// // to build up your call. @@ -891,7 +891,7 @@ impl<'a> AccountMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -1033,7 +1033,7 @@ impl<'a> ContactMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -1103,7 +1103,7 @@ impl<'a> LocationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -1163,7 +1163,7 @@ impl<'a> SettingMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `insert(...)`, `list(...)` and `update(...)` /// // to build up your call. @@ -1269,7 +1269,7 @@ impl<'a> SubscriptionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `attachments_delete(...)`, `attachments_get(...)`, `attachments_insert(...)`, `attachments_list(...)`, `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -1498,7 +1498,7 @@ impl<'a> TimelineMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1769,7 +1769,7 @@ impl<'a> AccountInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2006,7 +2006,7 @@ impl<'a> ContactDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2255,7 +2255,7 @@ impl<'a> ContactGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2499,7 +2499,7 @@ impl<'a> ContactInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2715,7 +2715,7 @@ impl<'a> ContactListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2993,7 +2993,7 @@ impl<'a> ContactPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3270,7 +3270,7 @@ impl<'a> ContactUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3518,7 +3518,7 @@ impl<'a> LocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3733,7 +3733,7 @@ impl<'a> LocationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3983,7 +3983,7 @@ impl<'a> SettingGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4221,7 +4221,7 @@ impl<'a> SubscriptionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4465,7 +4465,7 @@ impl<'a> SubscriptionInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4681,7 +4681,7 @@ impl<'a> SubscriptionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4958,7 +4958,7 @@ impl<'a> SubscriptionUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5212,7 +5212,7 @@ impl<'a> TimelineAttachmentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5489,7 +5489,7 @@ impl<'a> TimelineAttachmentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `upload_resumable(...)`. /// // Values shown here are possibly random and not representative ! @@ -5845,7 +5845,7 @@ impl<'a> TimelineAttachmentInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6093,7 +6093,7 @@ impl<'a> TimelineAttachmentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6330,7 +6330,7 @@ impl<'a> TimelineDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6580,7 +6580,7 @@ impl<'a> TimelineGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6937,7 +6937,7 @@ impl<'a> TimelineInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7237,7 +7237,7 @@ impl<'a> TimelineListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7516,7 +7516,7 @@ impl<'a> TimelinePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/mirror1/src/lib.rs b/gen/mirror1/src/lib.rs index 08fd6d727c..3ad81493f8 100644 --- a/gen/mirror1/src/lib.rs +++ b/gen/mirror1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *mirror* crate version *3.0.0+20190424*, where *20190424* is the exact revision of the *mirror:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *mirror* crate version *3.1.0+20190424*, where *20190424* is the exact revision of the *mirror:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *mirror* *v1* API can be found at the //! [official documentation site](https://developers.google.com/glass). @@ -117,7 +117,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Mirror::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/ml1-cli/Cargo.toml b/gen/ml1-cli/Cargo.toml index 776ec5205c..3c1cf4095d 100644 --- a/gen/ml1-cli/Cargo.toml +++ b/gen/ml1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-ml1-cli" -version = "3.0.0+20220212" +version = "3.1.0+20220212" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Machine Learning Engine (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/ml1-cli" @@ -20,12 +20,12 @@ name = "ml1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-ml1] path = "../ml1" -version = "3.0.0+20220212" +version = "3.1.0+20220212" diff --git a/gen/ml1-cli/README.md b/gen/ml1-cli/README.md index 9c6bb5ceab..cac137bcef 100644 --- a/gen/ml1-cli/README.md +++ b/gen/ml1-cli/README.md @@ -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 *Cloud Machine Learning Engine* API at revision *20220212*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Machine Learning Engine* API at revision *20220212*. The CLI is at version *3.1.0*. ```bash ml1 [options] diff --git a/gen/ml1-cli/mkdocs.yml b/gen/ml1-cli/mkdocs.yml index 6b3b6fdd8e..0e3199ec69 100644 --- a/gen/ml1-cli/mkdocs.yml +++ b/gen/ml1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Machine Learning Engine v3.0.0+20220212 +site_name: Cloud Machine Learning Engine v3.1.0+20220212 site_url: http://byron.github.io/google-apis-rs/google-ml1-cli site_description: A complete library to interact with Cloud Machine Learning Engine (protocol v1) diff --git a/gen/ml1-cli/src/main.rs b/gen/ml1-cli/src/main.rs index 17777690e0..e57e4a9b19 100644 --- a/gen/ml1-cli/src/main.rs +++ b/gen/ml1-cli/src/main.rs @@ -3776,7 +3776,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/ml1", 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::CloudMachineLearningEngine::new(client, auth), @@ -4962,7 +4968,7 @@ async fn main() { let mut app = App::new("ml1") .author("Sebastian Thiel ") - .version("3.0.0+20220212") + .version("3.1.0+20220212") .about("An API to enable creating and using machine learning models.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_ml1_cli") .arg(Arg::with_name("url") diff --git a/gen/ml1/Cargo.toml b/gen/ml1/Cargo.toml index e8eee0a8e1..a7c78269b5 100644 --- a/gen/ml1/Cargo.toml +++ b/gen/ml1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-ml1" -version = "3.0.0+20220212" +version = "3.1.0+20220212" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Machine Learning Engine (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/ml1" homepage = "https://cloud.google.com/ml/" -documentation = "https://docs.rs/google-ml1/3.0.0+20220212" +documentation = "https://docs.rs/google-ml1/3.1.0+20220212" license = "MIT" keywords = ["ml", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/ml1/README.md b/gen/ml1/README.md index c0390f2965..f1819c5196 100644 --- a/gen/ml1/README.md +++ b/gen/ml1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-ml1` library allows access to all features of the *Google Cloud Machine Learning Engine* service. -This documentation was generated from *Cloud Machine Learning Engine* crate version *3.0.0+20220212*, where *20220212* is the exact revision of the *ml:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Machine Learning Engine* crate version *3.1.0+20220212*, where *20220212* is the exact revision of the *ml:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Machine Learning Engine* *v1* API can be found at the [official documentation site](https://cloud.google.com/ml/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/CloudMachineLearningEngine) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/CloudMachineLearningEngine) ... * projects - * [*explain*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectExplainCall), [*get config*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectGetConfigCall), [*jobs cancel*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectJobCancelCall), [*jobs create*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectJobCreateCall), [*jobs get*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectJobGetCall), [*jobs get iam policy*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectJobGetIamPolicyCall), [*jobs list*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectJobListCall), [*jobs patch*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectJobPatchCall), [*jobs set iam policy*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectJobSetIamPolicyCall), [*jobs test iam permissions*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectJobTestIamPermissionCall), [*locations get*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectLocationOperationGetCall), [*locations studies create*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectLocationStudyCreateCall), [*locations studies delete*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectLocationStudyDeleteCall), [*locations studies get*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectLocationStudyGetCall), [*locations studies list*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectLocationStudyListCall), [*locations studies trials add measurement*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectLocationStudyTrialAddMeasurementCall), [*locations studies trials check early stopping state*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectLocationStudyTrialCheckEarlyStoppingStateCall), [*locations studies trials complete*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectLocationStudyTrialCompleteCall), [*locations studies trials create*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectLocationStudyTrialCreateCall), [*locations studies trials delete*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectLocationStudyTrialDeleteCall), [*locations studies trials get*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectLocationStudyTrialGetCall), [*locations studies trials list*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectLocationStudyTrialListCall), [*locations studies trials list optimal trials*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectLocationStudyTrialListOptimalTrialCall), [*locations studies trials stop*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectLocationStudyTrialStopCall), [*locations studies trials suggest*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectLocationStudyTrialSuggestCall), [*models create*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectModelCreateCall), [*models delete*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectModelDeleteCall), [*models get*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectModelGetCall), [*models get iam policy*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectModelGetIamPolicyCall), [*models list*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectModelListCall), [*models patch*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectModelPatchCall), [*models set iam policy*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectModelSetIamPolicyCall), [*models test iam permissions*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectModelTestIamPermissionCall), [*models versions create*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectModelVersionCreateCall), [*models versions delete*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectModelVersionDeleteCall), [*models versions get*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectModelVersionGetCall), [*models versions list*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectModelVersionListCall), [*models versions patch*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectModelVersionPatchCall), [*models versions set default*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectModelVersionSetDefaultCall), [*operations cancel*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectOperationCancelCall), [*operations get*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectOperationGetCall), [*operations list*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectOperationListCall) and [*predict*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/api::ProjectPredictCall) + * [*explain*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectExplainCall), [*get config*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectGetConfigCall), [*jobs cancel*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectJobCancelCall), [*jobs create*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectJobCreateCall), [*jobs get*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectJobGetCall), [*jobs get iam policy*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectJobGetIamPolicyCall), [*jobs list*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectJobListCall), [*jobs patch*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectJobPatchCall), [*jobs set iam policy*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectJobSetIamPolicyCall), [*jobs test iam permissions*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectJobTestIamPermissionCall), [*locations get*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectLocationOperationCancelCall), [*locations operations get*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectLocationOperationGetCall), [*locations studies create*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectLocationStudyCreateCall), [*locations studies delete*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectLocationStudyDeleteCall), [*locations studies get*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectLocationStudyGetCall), [*locations studies list*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectLocationStudyListCall), [*locations studies trials add measurement*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectLocationStudyTrialAddMeasurementCall), [*locations studies trials check early stopping state*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectLocationStudyTrialCheckEarlyStoppingStateCall), [*locations studies trials complete*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectLocationStudyTrialCompleteCall), [*locations studies trials create*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectLocationStudyTrialCreateCall), [*locations studies trials delete*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectLocationStudyTrialDeleteCall), [*locations studies trials get*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectLocationStudyTrialGetCall), [*locations studies trials list*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectLocationStudyTrialListCall), [*locations studies trials list optimal trials*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectLocationStudyTrialListOptimalTrialCall), [*locations studies trials stop*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectLocationStudyTrialStopCall), [*locations studies trials suggest*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectLocationStudyTrialSuggestCall), [*models create*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectModelCreateCall), [*models delete*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectModelDeleteCall), [*models get*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectModelGetCall), [*models get iam policy*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectModelGetIamPolicyCall), [*models list*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectModelListCall), [*models patch*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectModelPatchCall), [*models set iam policy*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectModelSetIamPolicyCall), [*models test iam permissions*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectModelTestIamPermissionCall), [*models versions create*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectModelVersionCreateCall), [*models versions delete*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectModelVersionDeleteCall), [*models versions get*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectModelVersionGetCall), [*models versions list*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectModelVersionListCall), [*models versions patch*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectModelVersionPatchCall), [*models versions set default*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectModelVersionSetDefaultCall), [*operations cancel*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectOperationCancelCall), [*operations get*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectOperationGetCall), [*operations list*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectOperationListCall) and [*predict*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/api::ProjectPredictCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/CloudMachineLearningEngine)** +* **[Hub](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/CloudMachineLearningEngine)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/client::CallBuilder) -* **[Resources](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/client::CallBuilder) +* **[Resources](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/client::Part)** + * **[Parts](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -99,7 +99,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -133,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -153,29 +153,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/client::Delegate) to the -[Method Builder](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/client::Delegate) to the +[Method Builder](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/client::RequestValue) and -[decodable](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/client::RequestValue) and +[decodable](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-ml1/3.0.0+20220212/google_ml1/client::RequestValue) are moved +* [request values](https://docs.rs/google-ml1/3.1.0+20220212/google_ml1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/ml1/src/api.rs b/gen/ml1/src/api.rs index 03970f2fbe..c5b117d3db 100644 --- a/gen/ml1/src/api.rs +++ b/gen/ml1/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -124,7 +124,7 @@ impl<'a, > CloudMachineLearningEngine<> { CloudMachineLearningEngine { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://ml.googleapis.com/".to_string(), _root_url: "https://ml.googleapis.com/".to_string(), } @@ -135,7 +135,7 @@ impl<'a, > CloudMachineLearningEngine<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -2008,7 +2008,7 @@ impl client::Part for GoogleType__Expr {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `explain(...)`, `get_config(...)`, `jobs_cancel(...)`, `jobs_create(...)`, `jobs_get(...)`, `jobs_get_iam_policy(...)`, `jobs_list(...)`, `jobs_patch(...)`, `jobs_set_iam_policy(...)`, `jobs_test_iam_permissions(...)`, `locations_get(...)`, `locations_list(...)`, `locations_operations_cancel(...)`, `locations_operations_get(...)`, `locations_studies_create(...)`, `locations_studies_delete(...)`, `locations_studies_get(...)`, `locations_studies_list(...)`, `locations_studies_trials_add_measurement(...)`, `locations_studies_trials_check_early_stopping_state(...)`, `locations_studies_trials_complete(...)`, `locations_studies_trials_create(...)`, `locations_studies_trials_delete(...)`, `locations_studies_trials_get(...)`, `locations_studies_trials_list(...)`, `locations_studies_trials_list_optimal_trials(...)`, `locations_studies_trials_stop(...)`, `locations_studies_trials_suggest(...)`, `models_create(...)`, `models_delete(...)`, `models_get(...)`, `models_get_iam_policy(...)`, `models_list(...)`, `models_patch(...)`, `models_set_iam_policy(...)`, `models_test_iam_permissions(...)`, `models_versions_create(...)`, `models_versions_delete(...)`, `models_versions_get(...)`, `models_versions_list(...)`, `models_versions_patch(...)`, `models_versions_set_default(...)`, `operations_cancel(...)`, `operations_get(...)`, `operations_list(...)` and `predict(...)` /// // to build up your call. @@ -2903,7 +2903,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3189,7 +3189,7 @@ impl<'a> ProjectJobCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3474,7 +3474,7 @@ impl<'a> ProjectJobCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3730,7 +3730,7 @@ impl<'a> ProjectJobGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3998,7 +3998,7 @@ impl<'a> ProjectJobGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4291,7 +4291,7 @@ impl<'a> ProjectJobListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4589,7 +4589,7 @@ impl<'a> ProjectJobPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4875,7 +4875,7 @@ impl<'a> ProjectJobSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5160,7 +5160,7 @@ impl<'a> ProjectJobTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5416,7 +5416,7 @@ impl<'a> ProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5673,7 +5673,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5959,7 +5959,7 @@ impl<'a> ProjectLocationStudyTrialAddMeasurementCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6245,7 +6245,7 @@ impl<'a> ProjectLocationStudyTrialCheckEarlyStoppingStateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6531,7 +6531,7 @@ impl<'a> ProjectLocationStudyTrialCompleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6816,7 +6816,7 @@ impl<'a> ProjectLocationStudyTrialCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7072,7 +7072,7 @@ impl<'a> ProjectLocationStudyTrialDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7328,7 +7328,7 @@ impl<'a> ProjectLocationStudyTrialGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7585,7 +7585,7 @@ impl<'a> ProjectLocationStudyTrialListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7871,7 +7871,7 @@ impl<'a> ProjectLocationStudyTrialListOptimalTrialCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8157,7 +8157,7 @@ impl<'a> ProjectLocationStudyTrialStopCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8443,7 +8443,7 @@ impl<'a> ProjectLocationStudyTrialSuggestCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8740,7 +8740,7 @@ impl<'a> ProjectLocationStudyCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8996,7 +8996,7 @@ impl<'a> ProjectLocationStudyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9252,7 +9252,7 @@ impl<'a> ProjectLocationStudyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9508,7 +9508,7 @@ impl<'a> ProjectLocationStudyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9764,7 +9764,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10045,7 +10045,7 @@ impl<'a> ProjectLocationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10330,7 +10330,7 @@ impl<'a> ProjectModelVersionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10586,7 +10586,7 @@ impl<'a> ProjectModelVersionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10842,7 +10842,7 @@ impl<'a> ProjectModelVersionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11135,7 +11135,7 @@ impl<'a> ProjectModelVersionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11433,7 +11433,7 @@ impl<'a> ProjectModelVersionPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11719,7 +11719,7 @@ impl<'a> ProjectModelVersionSetDefaultCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12004,7 +12004,7 @@ impl<'a> ProjectModelCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12260,7 +12260,7 @@ impl<'a> ProjectModelDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12516,7 +12516,7 @@ impl<'a> ProjectModelGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12784,7 +12784,7 @@ impl<'a> ProjectModelGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13077,7 +13077,7 @@ impl<'a> ProjectModelListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13375,7 +13375,7 @@ impl<'a> ProjectModelPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13661,7 +13661,7 @@ impl<'a> ProjectModelSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13946,7 +13946,7 @@ impl<'a> ProjectModelTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14202,7 +14202,7 @@ impl<'a> ProjectOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14458,7 +14458,7 @@ impl<'a> ProjectOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14751,7 +14751,7 @@ impl<'a> ProjectOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15036,7 +15036,7 @@ impl<'a> ProjectExplainCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15293,7 +15293,7 @@ impl<'a> ProjectGetConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/ml1/src/lib.rs b/gen/ml1/src/lib.rs index 927c3232dd..9e0ec427b3 100644 --- a/gen/ml1/src/lib.rs +++ b/gen/ml1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Machine Learning Engine* crate version *3.0.0+20220212*, where *20220212* is the exact revision of the *ml:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Machine Learning Engine* crate version *3.1.0+20220212*, where *20220212* is the exact revision of the *ml:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Machine Learning Engine* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/ml/). @@ -100,7 +100,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudMachineLearningEngine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/monitoring3-cli/Cargo.toml b/gen/monitoring3-cli/Cargo.toml index 05e19fee8f..0346aa5f8f 100644 --- a/gen/monitoring3-cli/Cargo.toml +++ b/gen/monitoring3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-monitoring3-cli" -version = "3.0.0+20220218" +version = "3.1.0+20220218" authors = ["Sebastian Thiel "] description = "A complete library to interact with Monitoring (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/monitoring3-cli" @@ -20,12 +20,12 @@ name = "monitoring3" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-monitoring3] path = "../monitoring3" -version = "3.0.0+20220218" +version = "3.1.0+20220218" diff --git a/gen/monitoring3-cli/README.md b/gen/monitoring3-cli/README.md index 4b2d9ba151..32d953bc68 100644 --- a/gen/monitoring3-cli/README.md +++ b/gen/monitoring3-cli/README.md @@ -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 *Monitoring* API at revision *20220218*. The CLI is at version *3.0.0*. +This documentation was generated from the *Monitoring* API at revision *20220218*. The CLI is at version *3.1.0*. ```bash monitoring3 [options] diff --git a/gen/monitoring3-cli/mkdocs.yml b/gen/monitoring3-cli/mkdocs.yml index a20cb263c1..9d146cfd0e 100644 --- a/gen/monitoring3-cli/mkdocs.yml +++ b/gen/monitoring3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Monitoring v3.0.0+20220218 +site_name: Monitoring v3.1.0+20220218 site_url: http://byron.github.io/google-apis-rs/google-monitoring3-cli site_description: A complete library to interact with Monitoring (protocol v3) diff --git a/gen/monitoring3-cli/src/main.rs b/gen/monitoring3-cli/src/main.rs index b54efdf6b2..b9fbf28343 100644 --- a/gen/monitoring3-cli/src/main.rs +++ b/gen/monitoring3-cli/src/main.rs @@ -4049,7 +4049,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/monitoring3", 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::Monitoring::new(client, auth), @@ -5317,7 +5323,7 @@ async fn main() { let mut app = App::new("monitoring3") .author("Sebastian Thiel ") - .version("3.0.0+20220218") + .version("3.1.0+20220218") .about("Manages your Cloud Monitoring data and configurations.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_monitoring3_cli") .arg(Arg::with_name("url") diff --git a/gen/monitoring3/Cargo.toml b/gen/monitoring3/Cargo.toml index 402d2082ed..6e42f0ba14 100644 --- a/gen/monitoring3/Cargo.toml +++ b/gen/monitoring3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-monitoring3" -version = "3.0.0+20220218" +version = "3.1.0+20220218" authors = ["Sebastian Thiel "] description = "A complete library to interact with Monitoring (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/monitoring3" homepage = "https://cloud.google.com/monitoring/api/" -documentation = "https://docs.rs/google-monitoring3/3.0.0+20220218" +documentation = "https://docs.rs/google-monitoring3/3.1.0+20220218" license = "MIT" keywords = ["monitoring", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/monitoring3/README.md b/gen/monitoring3/README.md index 0bd9de5ee1..fa05bbdb84 100644 --- a/gen/monitoring3/README.md +++ b/gen/monitoring3/README.md @@ -5,24 +5,24 @@ DO NOT EDIT ! --> The `google-monitoring3` library allows access to all features of the *Google Monitoring* service. -This documentation was generated from *Monitoring* crate version *3.0.0+20220218*, where *20220218* is the exact revision of the *monitoring:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Monitoring* crate version *3.1.0+20220218*, where *20220218* is the exact revision of the *monitoring:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Monitoring* *v3* API can be found at the [official documentation site](https://cloud.google.com/monitoring/api/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/Monitoring) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/Monitoring) ... * folders - * [*time series list*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::FolderTimeSeryListCall) + * [*time series list*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::FolderTimeSeryListCall) * organizations - * [*time series list*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::OrganizationTimeSeryListCall) + * [*time series list*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::OrganizationTimeSeryListCall) * projects - * [*alert policies create*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ProjectAlertPolicyCreateCall), [*alert policies delete*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ProjectAlertPolicyDeleteCall), [*alert policies get*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ProjectAlertPolicyGetCall), [*alert policies list*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ProjectAlertPolicyListCall), [*alert policies patch*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ProjectAlertPolicyPatchCall), [*collectd time series create*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ProjectCollectdTimeSeryCreateCall), [*groups create*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ProjectGroupCreateCall), [*groups delete*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ProjectGroupDeleteCall), [*groups get*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ProjectGroupGetCall), [*groups list*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ProjectGroupListCall), [*groups members list*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ProjectGroupMemberListCall), [*groups update*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ProjectGroupUpdateCall), [*metric descriptors create*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ProjectMetricDescriptorCreateCall), [*metric descriptors delete*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ProjectMetricDescriptorDeleteCall), [*metric descriptors get*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ProjectMetricDescriptorGetCall), [*metric descriptors list*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ProjectMetricDescriptorListCall), [*monitored resource descriptors get*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ProjectMonitoredResourceDescriptorGetCall), [*monitored resource descriptors list*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ProjectMonitoredResourceDescriptorListCall), [*notification channel descriptors get*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ProjectNotificationChannelDescriptorGetCall), [*notification channel descriptors list*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ProjectNotificationChannelDescriptorListCall), [*notification channels create*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ProjectNotificationChannelCreateCall), [*notification channels delete*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ProjectNotificationChannelDeleteCall), [*notification channels get*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ProjectNotificationChannelGetCall), [*notification channels get verification code*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ProjectNotificationChannelGetVerificationCodeCall), [*notification channels list*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ProjectNotificationChannelListCall), [*notification channels patch*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ProjectNotificationChannelPatchCall), [*notification channels send verification code*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ProjectNotificationChannelSendVerificationCodeCall), [*notification channels verify*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ProjectNotificationChannelVerifyCall), [*time series create*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ProjectTimeSeryCreateCall), [*time series create service*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ProjectTimeSeryCreateServiceCall), [*time series list*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ProjectTimeSeryListCall), [*time series query*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ProjectTimeSeryQueryCall), [*uptime check configs create*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ProjectUptimeCheckConfigCreateCall), [*uptime check configs delete*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ProjectUptimeCheckConfigDeleteCall), [*uptime check configs get*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ProjectUptimeCheckConfigGetCall), [*uptime check configs list*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ProjectUptimeCheckConfigListCall) and [*uptime check configs patch*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ProjectUptimeCheckConfigPatchCall) -* [services](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::Service) - * [*create*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ServiceCreateCall), [*delete*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ServiceDeleteCall), [*get*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ServiceGetCall), [*list*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ServiceListCall), [*patch*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ServicePatchCall), [*service level objectives create*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ServiceServiceLevelObjectiveCreateCall), [*service level objectives delete*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ServiceServiceLevelObjectiveDeleteCall), [*service level objectives get*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ServiceServiceLevelObjectiveGetCall), [*service level objectives list*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ServiceServiceLevelObjectiveListCall) and [*service level objectives patch*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::ServiceServiceLevelObjectivePatchCall) -* [uptime check ips](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::UptimeCheckIp) - * [*list*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/api::UptimeCheckIpListCall) + * [*alert policies create*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ProjectAlertPolicyCreateCall), [*alert policies delete*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ProjectAlertPolicyDeleteCall), [*alert policies get*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ProjectAlertPolicyGetCall), [*alert policies list*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ProjectAlertPolicyListCall), [*alert policies patch*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ProjectAlertPolicyPatchCall), [*collectd time series create*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ProjectCollectdTimeSeryCreateCall), [*groups create*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ProjectGroupCreateCall), [*groups delete*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ProjectGroupDeleteCall), [*groups get*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ProjectGroupGetCall), [*groups list*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ProjectGroupListCall), [*groups members list*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ProjectGroupMemberListCall), [*groups update*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ProjectGroupUpdateCall), [*metric descriptors create*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ProjectMetricDescriptorCreateCall), [*metric descriptors delete*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ProjectMetricDescriptorDeleteCall), [*metric descriptors get*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ProjectMetricDescriptorGetCall), [*metric descriptors list*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ProjectMetricDescriptorListCall), [*monitored resource descriptors get*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ProjectMonitoredResourceDescriptorGetCall), [*monitored resource descriptors list*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ProjectMonitoredResourceDescriptorListCall), [*notification channel descriptors get*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ProjectNotificationChannelDescriptorGetCall), [*notification channel descriptors list*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ProjectNotificationChannelDescriptorListCall), [*notification channels create*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ProjectNotificationChannelCreateCall), [*notification channels delete*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ProjectNotificationChannelDeleteCall), [*notification channels get*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ProjectNotificationChannelGetCall), [*notification channels get verification code*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ProjectNotificationChannelGetVerificationCodeCall), [*notification channels list*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ProjectNotificationChannelListCall), [*notification channels patch*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ProjectNotificationChannelPatchCall), [*notification channels send verification code*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ProjectNotificationChannelSendVerificationCodeCall), [*notification channels verify*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ProjectNotificationChannelVerifyCall), [*time series create*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ProjectTimeSeryCreateCall), [*time series create service*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ProjectTimeSeryCreateServiceCall), [*time series list*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ProjectTimeSeryListCall), [*time series query*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ProjectTimeSeryQueryCall), [*uptime check configs create*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ProjectUptimeCheckConfigCreateCall), [*uptime check configs delete*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ProjectUptimeCheckConfigDeleteCall), [*uptime check configs get*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ProjectUptimeCheckConfigGetCall), [*uptime check configs list*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ProjectUptimeCheckConfigListCall) and [*uptime check configs patch*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ProjectUptimeCheckConfigPatchCall) +* [services](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::Service) + * [*create*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ServiceCreateCall), [*delete*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ServiceDeleteCall), [*get*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ServiceGetCall), [*list*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ServiceListCall), [*patch*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ServicePatchCall), [*service level objectives create*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ServiceServiceLevelObjectiveCreateCall), [*service level objectives delete*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ServiceServiceLevelObjectiveDeleteCall), [*service level objectives get*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ServiceServiceLevelObjectiveGetCall), [*service level objectives list*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ServiceServiceLevelObjectiveListCall) and [*service level objectives patch*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::ServiceServiceLevelObjectivePatchCall) +* [uptime check ips](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::UptimeCheckIp) + * [*list*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/api::UptimeCheckIpListCall) @@ -31,17 +31,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/Monitoring)** +* **[Hub](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/Monitoring)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/client::CallBuilder) -* **[Resources](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/client::CallBuilder) +* **[Resources](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/client::Part)** + * **[Parts](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -107,7 +107,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -139,17 +139,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -159,29 +159,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/client::Delegate) to the -[Method Builder](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/client::Delegate) to the +[Method Builder](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/client::RequestValue) and -[decodable](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/client::RequestValue) and +[decodable](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-monitoring3/3.0.0+20220218/google_monitoring3/client::RequestValue) are moved +* [request values](https://docs.rs/google-monitoring3/3.1.0+20220218/google_monitoring3/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/monitoring3/src/api.rs b/gen/monitoring3/src/api.rs index 82b8def1d0..3b5dbf1177 100644 --- a/gen/monitoring3/src/api.rs +++ b/gen/monitoring3/src/api.rs @@ -82,7 +82,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -129,7 +129,7 @@ impl<'a, > Monitoring<> { Monitoring { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://monitoring.googleapis.com/".to_string(), _root_url: "https://monitoring.googleapis.com/".to_string(), } @@ -152,7 +152,7 @@ impl<'a, > Monitoring<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -2282,7 +2282,7 @@ impl client::Part for WindowsBasedSli {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `time_series_list(...)` /// // to build up your call. @@ -2355,7 +2355,7 @@ impl<'a> FolderMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `time_series_list(...)` /// // to build up your call. @@ -2428,7 +2428,7 @@ impl<'a> OrganizationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `alert_policies_create(...)`, `alert_policies_delete(...)`, `alert_policies_get(...)`, `alert_policies_list(...)`, `alert_policies_patch(...)`, `collectd_time_series_create(...)`, `groups_create(...)`, `groups_delete(...)`, `groups_get(...)`, `groups_list(...)`, `groups_members_list(...)`, `groups_update(...)`, `metric_descriptors_create(...)`, `metric_descriptors_delete(...)`, `metric_descriptors_get(...)`, `metric_descriptors_list(...)`, `monitored_resource_descriptors_get(...)`, `monitored_resource_descriptors_list(...)`, `notification_channel_descriptors_get(...)`, `notification_channel_descriptors_list(...)`, `notification_channels_create(...)`, `notification_channels_delete(...)`, `notification_channels_get(...)`, `notification_channels_get_verification_code(...)`, `notification_channels_list(...)`, `notification_channels_patch(...)`, `notification_channels_send_verification_code(...)`, `notification_channels_verify(...)`, `time_series_create(...)`, `time_series_create_service(...)`, `time_series_list(...)`, `time_series_query(...)`, `uptime_check_configs_create(...)`, `uptime_check_configs_delete(...)`, `uptime_check_configs_get(...)`, `uptime_check_configs_list(...)` and `uptime_check_configs_patch(...)` /// // to build up your call. @@ -3180,7 +3180,7 @@ impl<'a> ProjectMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)`, `get(...)`, `list(...)`, `patch(...)`, `service_level_objectives_create(...)`, `service_level_objectives_delete(...)`, `service_level_objectives_get(...)`, `service_level_objectives_list(...)` and `service_level_objectives_patch(...)` /// // to build up your call. @@ -3411,7 +3411,7 @@ impl<'a> ServiceMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -3473,7 +3473,7 @@ impl<'a> UptimeCheckIpMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3915,7 +3915,7 @@ impl<'a> FolderTimeSeryListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4358,7 +4358,7 @@ impl<'a> OrganizationTimeSeryListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4643,7 +4643,7 @@ impl<'a> ProjectAlertPolicyCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4899,7 +4899,7 @@ impl<'a> ProjectAlertPolicyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5155,7 +5155,7 @@ impl<'a> ProjectAlertPolicyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5460,7 +5460,7 @@ impl<'a> ProjectAlertPolicyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5758,7 +5758,7 @@ impl<'a> ProjectAlertPolicyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6043,7 +6043,7 @@ impl<'a> ProjectCollectdTimeSeryCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6360,7 +6360,7 @@ impl<'a> ProjectGroupMemberListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6657,7 +6657,7 @@ impl<'a> ProjectGroupCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6925,7 +6925,7 @@ impl<'a> ProjectGroupDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7181,7 +7181,7 @@ impl<'a> ProjectGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7498,7 +7498,7 @@ impl<'a> ProjectGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7796,7 +7796,7 @@ impl<'a> ProjectGroupUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8081,7 +8081,7 @@ impl<'a> ProjectMetricDescriptorCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8337,7 +8337,7 @@ impl<'a> ProjectMetricDescriptorDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8593,7 +8593,7 @@ impl<'a> ProjectMetricDescriptorGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8885,7 +8885,7 @@ impl<'a> ProjectMetricDescriptorListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9141,7 +9141,7 @@ impl<'a> ProjectMonitoredResourceDescriptorGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9433,7 +9433,7 @@ impl<'a> ProjectMonitoredResourceDescriptorListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9689,7 +9689,7 @@ impl<'a> ProjectNotificationChannelDescriptorGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9970,7 +9970,7 @@ impl<'a> ProjectNotificationChannelDescriptorListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10255,7 +10255,7 @@ impl<'a> ProjectNotificationChannelCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10523,7 +10523,7 @@ impl<'a> ProjectNotificationChannelDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10780,7 +10780,7 @@ impl<'a> ProjectNotificationChannelGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11065,7 +11065,7 @@ impl<'a> ProjectNotificationChannelGetVerificationCodeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11370,7 +11370,7 @@ impl<'a> ProjectNotificationChannelListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11668,7 +11668,7 @@ impl<'a> ProjectNotificationChannelPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11954,7 +11954,7 @@ impl<'a> ProjectNotificationChannelSendVerificationCodeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12240,7 +12240,7 @@ impl<'a> ProjectNotificationChannelVerifyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12526,7 +12526,7 @@ impl<'a> ProjectTimeSeryCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12811,7 +12811,7 @@ impl<'a> ProjectTimeSeryCreateServiceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13254,7 +13254,7 @@ impl<'a> ProjectTimeSeryListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13540,7 +13540,7 @@ impl<'a> ProjectTimeSeryQueryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13825,7 +13825,7 @@ impl<'a> ProjectUptimeCheckConfigCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14081,7 +14081,7 @@ impl<'a> ProjectUptimeCheckConfigDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14337,7 +14337,7 @@ impl<'a> ProjectUptimeCheckConfigGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14618,7 +14618,7 @@ impl<'a> ProjectUptimeCheckConfigListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14916,7 +14916,7 @@ impl<'a> ProjectUptimeCheckConfigPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15213,7 +15213,7 @@ impl<'a> ServiceServiceLevelObjectiveCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15469,7 +15469,7 @@ impl<'a> ServiceServiceLevelObjectiveDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15737,7 +15737,7 @@ impl<'a> ServiceServiceLevelObjectiveGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16042,7 +16042,7 @@ impl<'a> ServiceServiceLevelObjectiveListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16340,7 +16340,7 @@ impl<'a> ServiceServiceLevelObjectivePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16637,7 +16637,7 @@ impl<'a> ServiceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16893,7 +16893,7 @@ impl<'a> ServiceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17149,7 +17149,7 @@ impl<'a> ServiceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17442,7 +17442,7 @@ impl<'a> ServiceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17739,7 +17739,7 @@ impl<'a> ServicePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/monitoring3/src/lib.rs b/gen/monitoring3/src/lib.rs index 75eea5b606..08cc1d6638 100644 --- a/gen/monitoring3/src/lib.rs +++ b/gen/monitoring3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Monitoring* crate version *3.0.0+20220218*, where *20220218* is the exact revision of the *monitoring:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Monitoring* crate version *3.1.0+20220218*, where *20220218* is the exact revision of the *monitoring:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Monitoring* *v3* API can be found at the //! [official documentation site](https://cloud.google.com/monitoring/api/). @@ -108,7 +108,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Monitoring::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/mybusiness4-cli/Cargo.toml b/gen/mybusiness4-cli/Cargo.toml index 19226f2b4f..b17582edf3 100644 --- a/gen/mybusiness4-cli/Cargo.toml +++ b/gen/mybusiness4-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-mybusiness4-cli" -version = "3.0.0+0" +version = "3.1.0+0" authors = ["Sebastian Thiel "] description = "A complete library to interact with My Business (protocol v4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/mybusiness4-cli" @@ -20,12 +20,12 @@ name = "mybusiness4" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-mybusiness4] path = "../mybusiness4" -version = "3.0.0+0" +version = "3.1.0+0" diff --git a/gen/mybusiness4-cli/README.md b/gen/mybusiness4-cli/README.md index b57915e30a..dc2860da2c 100644 --- a/gen/mybusiness4-cli/README.md +++ b/gen/mybusiness4-cli/README.md @@ -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 *My Business* API at revision *0*. The CLI is at version *3.0.0*. +This documentation was generated from the *My Business* API at revision *0*. The CLI is at version *3.1.0*. ```bash mybusiness4 [options] diff --git a/gen/mybusiness4-cli/mkdocs.yml b/gen/mybusiness4-cli/mkdocs.yml index 21deba5e7a..9699339195 100644 --- a/gen/mybusiness4-cli/mkdocs.yml +++ b/gen/mybusiness4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: My Business v3.0.0+0 +site_name: My Business v3.1.0+0 site_url: http://byron.github.io/google-apis-rs/google-mybusiness4-cli site_description: A complete library to interact with My Business (protocol v4) diff --git a/gen/mybusiness4-cli/src/main.rs b/gen/mybusiness4-cli/src/main.rs index f143fec2fe..7c7d2d1bde 100644 --- a/gen/mybusiness4-cli/src/main.rs +++ b/gen/mybusiness4-cli/src/main.rs @@ -5537,7 +5537,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/mybusiness4", 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::MyBusiness::new(client, auth), @@ -7418,7 +7424,7 @@ async fn main() { let mut app = App::new("mybusiness4") .author("Sebastian Thiel ") - .version("3.0.0+0") + .version("3.1.0+0") .about("The Google My Business API provides an interface for managing business location information on Google.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_mybusiness4_cli") .arg(Arg::with_name("folder") diff --git a/gen/mybusiness4/Cargo.toml b/gen/mybusiness4/Cargo.toml index 1e315ea630..13f9fece89 100644 --- a/gen/mybusiness4/Cargo.toml +++ b/gen/mybusiness4/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-mybusiness4" -version = "3.0.0+0" +version = "3.1.0+0" authors = ["Sebastian Thiel "] description = "A complete library to interact with My Business (protocol v4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/mybusiness4" homepage = "https://developers.google.com/my-business/" -documentation = "https://docs.rs/google-mybusiness4/3.0.0+0" +documentation = "https://docs.rs/google-mybusiness4/3.1.0+0" license = "MIT" keywords = ["mybusiness", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/mybusiness4/README.md b/gen/mybusiness4/README.md index 79ae4faaa0..2f9c6fa6a6 100644 --- a/gen/mybusiness4/README.md +++ b/gen/mybusiness4/README.md @@ -5,26 +5,26 @@ DO NOT EDIT ! --> The `google-mybusiness4` library allows access to all features of the *Google My Business* service. -This documentation was generated from *My Business* crate version *3.0.0+0*, where *0* is the exact revision of the *mybusiness:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *My Business* crate version *3.1.0+0*, where *0* is the exact revision of the *mybusiness:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *My Business* *v4* API can be found at the [official documentation site](https://developers.google.com/my-business/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/MyBusiness) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/MyBusiness) ... -* [accounts](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::Account) - * [*admins create*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountAdminCreateCall), [*admins delete*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountAdminDeleteCall), [*admins list*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountAdminListCall), [*admins patch*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountAdminPatchCall), [*create*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountCreateCall), [*delete notifications*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountDeleteNotificationCall), [*generate account number*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountGenerateAccountNumberCall), [*get*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountGetCall), [*get notifications*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountGetNotificationCall), [*invitations accept*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountInvitationAcceptCall), [*invitations decline*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountInvitationDeclineCall), [*invitations list*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountInvitationListCall), [*list*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountListCall), [*list recommend google locations*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountListRecommendGoogleLocationCall), [*locations admins create*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationAdminCreateCall), [*locations admins delete*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationAdminDeleteCall), [*locations admins list*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationAdminListCall), [*locations admins patch*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationAdminPatchCall), [*locations associate*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationAssociateCall), [*locations batch get*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationBatchGetCall), [*locations batch get reviews*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationBatchGetReviewCall), [*locations clear association*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationClearAssociationCall), [*locations create*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationCreateCall), [*locations delete*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationDeleteCall), [*locations fetch verification options*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationFetchVerificationOptionCall), [*locations find matches*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationFindMatcheCall), [*locations followers get metadata*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationFollowerGetMetadataCall), [*locations get*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationGetCall), [*locations get google updated*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationGetGoogleUpdatedCall), [*locations list*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationListCall), [*locations local posts create*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationLocalPostCreateCall), [*locations local posts delete*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationLocalPostDeleteCall), [*locations local posts get*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationLocalPostGetCall), [*locations local posts list*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationLocalPostListCall), [*locations local posts patch*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationLocalPostPatchCall), [*locations local posts report insights*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationLocalPostReportInsightCall), [*locations media create*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationMediaCreateCall), [*locations media customers get*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationMediaCustomerGetCall), [*locations media customers list*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationMediaCustomerListCall), [*locations media delete*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationMediaDeleteCall), [*locations media get*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationMediaGetCall), [*locations media list*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationMediaListCall), [*locations media patch*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationMediaPatchCall), [*locations media start upload*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationMediaStartUploadCall), [*locations patch*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationPatchCall), [*locations questions answers delete*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationQuestionAnswerDeleteCall), [*locations questions answers list*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationQuestionAnswerListCall), [*locations questions answers upsert*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationQuestionAnswerUpsertCall), [*locations questions create*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationQuestionCreateCall), [*locations questions delete*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationQuestionDeleteCall), [*locations questions list*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationQuestionListCall), [*locations questions patch*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationQuestionPatchCall), [*locations report insights*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationReportInsightCall), [*locations reviews delete reply*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationReviewDeleteReplyCall), [*locations reviews get*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationReviewGetCall), [*locations reviews list*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationReviewListCall), [*locations reviews update reply*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationReviewUpdateReplyCall), [*locations transfer*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationTransferCall), [*locations verifications complete*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationVerificationCompleteCall), [*locations verifications list*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationVerificationListCall), [*locations verify*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountLocationVerifyCall), [*update*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountUpdateCall) and [*update notifications*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AccountUpdateNotificationCall) -* [attributes](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::Attribute) - * [*list*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::AttributeListCall) -* [categories](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::Category) - * [*list*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::CategoryListCall) -* [chains](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::Chain) - * [*get*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::ChainGetCall) and [*search*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::ChainSearchCall) -* [google locations](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::GoogleLocation) - * [*report*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::GoogleLocationReportCall) and [*search*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::GoogleLocationSearchCall) -* [verification tokens](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::VerificationToken) - * [*generate*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/api::VerificationTokenGenerateCall) +* [accounts](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::Account) + * [*admins create*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountAdminCreateCall), [*admins delete*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountAdminDeleteCall), [*admins list*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountAdminListCall), [*admins patch*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountAdminPatchCall), [*create*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountCreateCall), [*delete notifications*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountDeleteNotificationCall), [*generate account number*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountGenerateAccountNumberCall), [*get*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountGetCall), [*get notifications*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountGetNotificationCall), [*invitations accept*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountInvitationAcceptCall), [*invitations decline*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountInvitationDeclineCall), [*invitations list*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountInvitationListCall), [*list*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountListCall), [*list recommend google locations*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountListRecommendGoogleLocationCall), [*locations admins create*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationAdminCreateCall), [*locations admins delete*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationAdminDeleteCall), [*locations admins list*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationAdminListCall), [*locations admins patch*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationAdminPatchCall), [*locations associate*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationAssociateCall), [*locations batch get*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationBatchGetCall), [*locations batch get reviews*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationBatchGetReviewCall), [*locations clear association*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationClearAssociationCall), [*locations create*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationCreateCall), [*locations delete*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationDeleteCall), [*locations fetch verification options*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationFetchVerificationOptionCall), [*locations find matches*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationFindMatcheCall), [*locations followers get metadata*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationFollowerGetMetadataCall), [*locations get*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationGetCall), [*locations get google updated*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationGetGoogleUpdatedCall), [*locations list*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationListCall), [*locations local posts create*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationLocalPostCreateCall), [*locations local posts delete*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationLocalPostDeleteCall), [*locations local posts get*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationLocalPostGetCall), [*locations local posts list*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationLocalPostListCall), [*locations local posts patch*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationLocalPostPatchCall), [*locations local posts report insights*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationLocalPostReportInsightCall), [*locations media create*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationMediaCreateCall), [*locations media customers get*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationMediaCustomerGetCall), [*locations media customers list*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationMediaCustomerListCall), [*locations media delete*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationMediaDeleteCall), [*locations media get*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationMediaGetCall), [*locations media list*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationMediaListCall), [*locations media patch*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationMediaPatchCall), [*locations media start upload*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationMediaStartUploadCall), [*locations patch*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationPatchCall), [*locations questions answers delete*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationQuestionAnswerDeleteCall), [*locations questions answers list*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationQuestionAnswerListCall), [*locations questions answers upsert*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationQuestionAnswerUpsertCall), [*locations questions create*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationQuestionCreateCall), [*locations questions delete*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationQuestionDeleteCall), [*locations questions list*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationQuestionListCall), [*locations questions patch*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationQuestionPatchCall), [*locations report insights*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationReportInsightCall), [*locations reviews delete reply*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationReviewDeleteReplyCall), [*locations reviews get*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationReviewGetCall), [*locations reviews list*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationReviewListCall), [*locations reviews update reply*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationReviewUpdateReplyCall), [*locations transfer*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationTransferCall), [*locations verifications complete*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationVerificationCompleteCall), [*locations verifications list*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationVerificationListCall), [*locations verify*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountLocationVerifyCall), [*update*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountUpdateCall) and [*update notifications*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AccountUpdateNotificationCall) +* [attributes](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::Attribute) + * [*list*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::AttributeListCall) +* [categories](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::Category) + * [*list*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::CategoryListCall) +* [chains](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::Chain) + * [*get*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::ChainGetCall) and [*search*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::ChainSearchCall) +* [google locations](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::GoogleLocation) + * [*report*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::GoogleLocationReportCall) and [*search*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::GoogleLocationSearchCall) +* [verification tokens](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::VerificationToken) + * [*generate*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/api::VerificationTokenGenerateCall) @@ -33,17 +33,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/MyBusiness)** +* **[Hub](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/MyBusiness)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/client::CallBuilder) -* **[Resources](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/client::CallBuilder) +* **[Resources](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/client::Part)** + * **[Parts](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/client::CallBuilder)** +* **[Activities](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -162,7 +162,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -195,17 +195,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -215,29 +215,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/client::Delegate) to the -[Method Builder](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/client::Delegate) to the +[Method Builder](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/client::RequestValue) and -[decodable](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/client::RequestValue) and +[decodable](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-mybusiness4/3.0.0+0/google_mybusiness4/client::RequestValue) are moved +* [request values](https://docs.rs/google-mybusiness4/3.1.0+0/google_mybusiness4/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/mybusiness4/src/api.rs b/gen/mybusiness4/src/api.rs index a14d461f27..67597856fd 100644 --- a/gen/mybusiness4/src/api.rs +++ b/gen/mybusiness4/src/api.rs @@ -48,7 +48,7 @@ use crate::client; /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -96,7 +96,7 @@ impl<'a, > MyBusiness<> { MyBusiness { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://mybusiness.googleapis.com/".to_string(), _root_url: "https://mybusiness.googleapis.com/".to_string(), } @@ -122,7 +122,7 @@ impl<'a, > MyBusiness<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -3609,7 +3609,7 @@ impl client::Part for VettedPartnerInput {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `admins_create(...)`, `admins_delete(...)`, `admins_list(...)`, `admins_patch(...)`, `create(...)`, `delete_notifications(...)`, `generate_account_number(...)`, `get(...)`, `get_notifications(...)`, `invitations_accept(...)`, `invitations_decline(...)`, `invitations_list(...)`, `list(...)`, `list_recommend_google_locations(...)`, `locations_admins_create(...)`, `locations_admins_delete(...)`, `locations_admins_list(...)`, `locations_admins_patch(...)`, `locations_associate(...)`, `locations_batch_get(...)`, `locations_batch_get_reviews(...)`, `locations_clear_association(...)`, `locations_create(...)`, `locations_delete(...)`, `locations_fetch_verification_options(...)`, `locations_find_matches(...)`, `locations_followers_get_metadata(...)`, `locations_get(...)`, `locations_get_google_updated(...)`, `locations_list(...)`, `locations_local_posts_create(...)`, `locations_local_posts_delete(...)`, `locations_local_posts_get(...)`, `locations_local_posts_list(...)`, `locations_local_posts_patch(...)`, `locations_local_posts_report_insights(...)`, `locations_media_create(...)`, `locations_media_customers_get(...)`, `locations_media_customers_list(...)`, `locations_media_delete(...)`, `locations_media_get(...)`, `locations_media_list(...)`, `locations_media_patch(...)`, `locations_media_start_upload(...)`, `locations_patch(...)`, `locations_questions_answers_delete(...)`, `locations_questions_answers_list(...)`, `locations_questions_answers_upsert(...)`, `locations_questions_create(...)`, `locations_questions_delete(...)`, `locations_questions_list(...)`, `locations_questions_patch(...)`, `locations_report_insights(...)`, `locations_reviews_delete_reply(...)`, `locations_reviews_get(...)`, `locations_reviews_list(...)`, `locations_reviews_update_reply(...)`, `locations_transfer(...)`, `locations_verifications_complete(...)`, `locations_verifications_list(...)`, `locations_verify(...)`, `update(...)` and `update_notifications(...)` /// // to build up your call. @@ -4859,7 +4859,7 @@ impl<'a> AccountMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -4918,7 +4918,7 @@ impl<'a> AttributeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -4980,7 +4980,7 @@ impl<'a> CategoryMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `search(...)` /// // to build up your call. @@ -5051,7 +5051,7 @@ impl<'a> ChainMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `report(...)` and `search(...)` /// // to build up your call. @@ -5128,7 +5128,7 @@ impl<'a> GoogleLocationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `generate(...)` /// // to build up your call. @@ -5199,7 +5199,7 @@ impl<'a> VerificationTokenMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5454,7 +5454,7 @@ impl<'a> AccountAdminCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5680,7 +5680,7 @@ impl<'a> AccountAdminDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5908,7 +5908,7 @@ impl<'a> AccountAdminListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6164,7 +6164,7 @@ impl<'a> AccountAdminPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6420,7 +6420,7 @@ impl<'a> AccountInvitationAcceptCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6675,7 +6675,7 @@ impl<'a> AccountInvitationDeclineCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6918,7 +6918,7 @@ impl<'a> AccountInvitationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7173,7 +7173,7 @@ impl<'a> AccountLocationAdminCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7399,7 +7399,7 @@ impl<'a> AccountLocationAdminDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7627,7 +7627,7 @@ impl<'a> AccountLocationAdminListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7886,7 +7886,7 @@ impl<'a> AccountLocationAdminPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8115,7 +8115,7 @@ impl<'a> AccountLocationFollowerGetMetadataCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8371,7 +8371,7 @@ impl<'a> AccountLocationLocalPostCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8598,7 +8598,7 @@ impl<'a> AccountLocationLocalPostDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8824,7 +8824,7 @@ impl<'a> AccountLocationLocalPostGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9076,7 +9076,7 @@ impl<'a> AccountLocationLocalPostListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9349,7 +9349,7 @@ impl<'a> AccountLocationLocalPostPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9604,7 +9604,7 @@ impl<'a> AccountLocationLocalPostReportInsightCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9831,7 +9831,7 @@ impl<'a> AccountLocationMediaCustomerGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10083,7 +10083,7 @@ impl<'a> AccountLocationMediaCustomerListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10338,7 +10338,7 @@ impl<'a> AccountLocationMediaCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10564,7 +10564,7 @@ impl<'a> AccountLocationMediaDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10790,7 +10790,7 @@ impl<'a> AccountLocationMediaGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11045,7 +11045,7 @@ impl<'a> AccountLocationMediaListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11315,7 +11315,7 @@ impl<'a> AccountLocationMediaPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11570,7 +11570,7 @@ impl<'a> AccountLocationMediaStartUploadCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11796,7 +11796,7 @@ impl<'a> AccountLocationQuestionAnswerDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12064,7 +12064,7 @@ impl<'a> AccountLocationQuestionAnswerListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12320,7 +12320,7 @@ impl<'a> AccountLocationQuestionAnswerUpsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12575,7 +12575,7 @@ impl<'a> AccountLocationQuestionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12802,7 +12802,7 @@ impl<'a> AccountLocationQuestionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13095,7 +13095,7 @@ impl<'a> AccountLocationQuestionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13351,7 +13351,7 @@ impl<'a> AccountLocationQuestionPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13579,7 +13579,7 @@ impl<'a> AccountLocationReviewDeleteReplyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13806,7 +13806,7 @@ impl<'a> AccountLocationReviewGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14076,7 +14076,7 @@ impl<'a> AccountLocationReviewListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14335,7 +14335,7 @@ impl<'a> AccountLocationReviewUpdateReplyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14590,7 +14590,7 @@ impl<'a> AccountLocationVerificationCompleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14844,7 +14844,7 @@ impl<'a> AccountLocationVerificationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15100,7 +15100,7 @@ impl<'a> AccountLocationAssociateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15359,7 +15359,7 @@ impl<'a> AccountLocationBatchGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15617,7 +15617,7 @@ impl<'a> AccountLocationBatchGetReviewCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15874,7 +15874,7 @@ impl<'a> AccountLocationClearAssociationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16161,7 +16161,7 @@ impl<'a> AccountLocationCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16389,7 +16389,7 @@ impl<'a> AccountLocationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16646,7 +16646,7 @@ impl<'a> AccountLocationFetchVerificationOptionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16902,7 +16902,7 @@ impl<'a> AccountLocationFindMatcheCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17129,7 +17129,7 @@ impl<'a> AccountLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17355,7 +17355,7 @@ impl<'a> AccountLocationGetGoogleUpdatedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17665,7 +17665,7 @@ impl<'a> AccountLocationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17967,7 +17967,7 @@ impl<'a> AccountLocationPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18227,7 +18227,7 @@ impl<'a> AccountLocationReportInsightCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18483,7 +18483,7 @@ impl<'a> AccountLocationTransferCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18747,7 +18747,7 @@ impl<'a> AccountLocationVerifyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18978,7 +18978,7 @@ impl<'a> AccountCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19207,7 +19207,7 @@ impl<'a> AccountDeleteNotificationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19463,7 +19463,7 @@ impl<'a> AccountGenerateAccountNumberCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19689,7 +19689,7 @@ impl<'a> AccountGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19917,7 +19917,7 @@ impl<'a> AccountGetNotificationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20176,7 +20176,7 @@ impl<'a> AccountListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20433,7 +20433,7 @@ impl<'a> AccountListRecommendGoogleLocationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20709,7 +20709,7 @@ impl<'a> AccountUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20965,7 +20965,7 @@ impl<'a> AccountUpdateNotificationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21234,7 +21234,7 @@ impl<'a> AttributeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21486,7 +21486,7 @@ impl<'a> CategoryListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21712,7 +21712,7 @@ impl<'a> ChainGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21929,7 +21929,7 @@ impl<'a> ChainSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22187,7 +22187,7 @@ impl<'a> GoogleLocationReportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22409,7 +22409,7 @@ impl<'a> GoogleLocationSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/mybusiness4/src/lib.rs b/gen/mybusiness4/src/lib.rs index 732955598e..d567be94a9 100644 --- a/gen/mybusiness4/src/lib.rs +++ b/gen/mybusiness4/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *My Business* crate version *3.0.0+0*, where *0* is the exact revision of the *mybusiness:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *My Business* crate version *3.1.0+0*, where *0* is the exact revision of the *mybusiness:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *My Business* *v4* API can be found at the //! [official documentation site](https://developers.google.com/my-business/). @@ -163,7 +163,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = MyBusiness::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/mybusinessaccountmanagement1-cli/Cargo.toml b/gen/mybusinessaccountmanagement1-cli/Cargo.toml index d1dba9dc6d..c4c6f71998 100644 --- a/gen/mybusinessaccountmanagement1-cli/Cargo.toml +++ b/gen/mybusinessaccountmanagement1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-mybusinessaccountmanagement1-cli" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with My Business Account Management (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/mybusinessaccountmanagement1-cli" @@ -20,12 +20,12 @@ name = "mybusinessaccountmanagement1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-mybusinessaccountmanagement1] path = "../mybusinessaccountmanagement1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" diff --git a/gen/mybusinessaccountmanagement1-cli/README.md b/gen/mybusinessaccountmanagement1-cli/README.md index d578b06164..f7f1b57754 100644 --- a/gen/mybusinessaccountmanagement1-cli/README.md +++ b/gen/mybusinessaccountmanagement1-cli/README.md @@ -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 *My Business Account Management* API at revision *20220305*. The CLI is at version *3.0.0*. +This documentation was generated from the *My Business Account Management* API at revision *20220305*. The CLI is at version *3.1.0*. ```bash mybusinessaccountmanagement1 [options] diff --git a/gen/mybusinessaccountmanagement1-cli/mkdocs.yml b/gen/mybusinessaccountmanagement1-cli/mkdocs.yml index ffed636578..947febbee9 100644 --- a/gen/mybusinessaccountmanagement1-cli/mkdocs.yml +++ b/gen/mybusinessaccountmanagement1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: My Business Account Management v3.0.0+20220305 +site_name: My Business Account Management v3.1.0+20220305 site_url: http://byron.github.io/google-apis-rs/google-mybusinessaccountmanagement1-cli site_description: A complete library to interact with My Business Account Management (protocol v1) diff --git a/gen/mybusinessaccountmanagement1-cli/src/main.rs b/gen/mybusinessaccountmanagement1-cli/src/main.rs index cb7b2f2dff..2abbe53427 100644 --- a/gen/mybusinessaccountmanagement1-cli/src/main.rs +++ b/gen/mybusinessaccountmanagement1-cli/src/main.rs @@ -1310,7 +1310,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/mybusinessaccountmanagement1", 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::MyBusinessAccountManagement::new(client, auth), @@ -1749,7 +1755,7 @@ async fn main() { let mut app = App::new("mybusinessaccountmanagement1") .author("Sebastian Thiel ") - .version("3.0.0+20220305") + .version("3.1.0+20220305") .about("The My Business Account Management API provides an interface for managing access to a location on Google.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_mybusinessaccountmanagement1_cli") .arg(Arg::with_name("folder") diff --git a/gen/mybusinessaccountmanagement1/Cargo.toml b/gen/mybusinessaccountmanagement1/Cargo.toml index d944706508..75827cfd90 100644 --- a/gen/mybusinessaccountmanagement1/Cargo.toml +++ b/gen/mybusinessaccountmanagement1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-mybusinessaccountmanagement1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with My Business Account Management (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/mybusinessaccountmanagement1" homepage = "https://developers.google.com/my-business/" -documentation = "https://docs.rs/google-mybusinessaccountmanagement1/3.0.0+20220305" +documentation = "https://docs.rs/google-mybusinessaccountmanagement1/3.1.0+20220305" license = "MIT" keywords = ["mybusinessaccountman", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/mybusinessaccountmanagement1/README.md b/gen/mybusinessaccountmanagement1/README.md index 5f00b02d68..1fc2614727 100644 --- a/gen/mybusinessaccountmanagement1/README.md +++ b/gen/mybusinessaccountmanagement1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-mybusinessaccountmanagement1` library allows access to all features of the *Google My Business Account Management* service. -This documentation was generated from *My Business Account Management* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *mybusinessaccountmanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *My Business Account Management* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *mybusinessaccountmanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *My Business Account Management* *v1* API can be found at the [official documentation site](https://developers.google.com/my-business/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-mybusinessaccountmanagement1/3.0.0+20220305/google_mybusinessaccountmanagement1/MyBusinessAccountManagement) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-mybusinessaccountmanagement1/3.1.0+20220305/google_mybusinessaccountmanagement1/MyBusinessAccountManagement) ... -* [accounts](https://docs.rs/google-mybusinessaccountmanagement1/3.0.0+20220305/google_mybusinessaccountmanagement1/api::Account) - * [*admins create*](https://docs.rs/google-mybusinessaccountmanagement1/3.0.0+20220305/google_mybusinessaccountmanagement1/api::AccountAdminCreateCall), [*admins delete*](https://docs.rs/google-mybusinessaccountmanagement1/3.0.0+20220305/google_mybusinessaccountmanagement1/api::AccountAdminDeleteCall), [*admins list*](https://docs.rs/google-mybusinessaccountmanagement1/3.0.0+20220305/google_mybusinessaccountmanagement1/api::AccountAdminListCall), [*admins patch*](https://docs.rs/google-mybusinessaccountmanagement1/3.0.0+20220305/google_mybusinessaccountmanagement1/api::AccountAdminPatchCall), [*create*](https://docs.rs/google-mybusinessaccountmanagement1/3.0.0+20220305/google_mybusinessaccountmanagement1/api::AccountCreateCall), [*get*](https://docs.rs/google-mybusinessaccountmanagement1/3.0.0+20220305/google_mybusinessaccountmanagement1/api::AccountGetCall), [*invitations accept*](https://docs.rs/google-mybusinessaccountmanagement1/3.0.0+20220305/google_mybusinessaccountmanagement1/api::AccountInvitationAcceptCall), [*invitations decline*](https://docs.rs/google-mybusinessaccountmanagement1/3.0.0+20220305/google_mybusinessaccountmanagement1/api::AccountInvitationDeclineCall), [*invitations list*](https://docs.rs/google-mybusinessaccountmanagement1/3.0.0+20220305/google_mybusinessaccountmanagement1/api::AccountInvitationListCall), [*list*](https://docs.rs/google-mybusinessaccountmanagement1/3.0.0+20220305/google_mybusinessaccountmanagement1/api::AccountListCall) and [*patch*](https://docs.rs/google-mybusinessaccountmanagement1/3.0.0+20220305/google_mybusinessaccountmanagement1/api::AccountPatchCall) +* [accounts](https://docs.rs/google-mybusinessaccountmanagement1/3.1.0+20220305/google_mybusinessaccountmanagement1/api::Account) + * [*admins create*](https://docs.rs/google-mybusinessaccountmanagement1/3.1.0+20220305/google_mybusinessaccountmanagement1/api::AccountAdminCreateCall), [*admins delete*](https://docs.rs/google-mybusinessaccountmanagement1/3.1.0+20220305/google_mybusinessaccountmanagement1/api::AccountAdminDeleteCall), [*admins list*](https://docs.rs/google-mybusinessaccountmanagement1/3.1.0+20220305/google_mybusinessaccountmanagement1/api::AccountAdminListCall), [*admins patch*](https://docs.rs/google-mybusinessaccountmanagement1/3.1.0+20220305/google_mybusinessaccountmanagement1/api::AccountAdminPatchCall), [*create*](https://docs.rs/google-mybusinessaccountmanagement1/3.1.0+20220305/google_mybusinessaccountmanagement1/api::AccountCreateCall), [*get*](https://docs.rs/google-mybusinessaccountmanagement1/3.1.0+20220305/google_mybusinessaccountmanagement1/api::AccountGetCall), [*invitations accept*](https://docs.rs/google-mybusinessaccountmanagement1/3.1.0+20220305/google_mybusinessaccountmanagement1/api::AccountInvitationAcceptCall), [*invitations decline*](https://docs.rs/google-mybusinessaccountmanagement1/3.1.0+20220305/google_mybusinessaccountmanagement1/api::AccountInvitationDeclineCall), [*invitations list*](https://docs.rs/google-mybusinessaccountmanagement1/3.1.0+20220305/google_mybusinessaccountmanagement1/api::AccountInvitationListCall), [*list*](https://docs.rs/google-mybusinessaccountmanagement1/3.1.0+20220305/google_mybusinessaccountmanagement1/api::AccountListCall) and [*patch*](https://docs.rs/google-mybusinessaccountmanagement1/3.1.0+20220305/google_mybusinessaccountmanagement1/api::AccountPatchCall) * locations - * [*admins create*](https://docs.rs/google-mybusinessaccountmanagement1/3.0.0+20220305/google_mybusinessaccountmanagement1/api::LocationAdminCreateCall), [*admins delete*](https://docs.rs/google-mybusinessaccountmanagement1/3.0.0+20220305/google_mybusinessaccountmanagement1/api::LocationAdminDeleteCall), [*admins list*](https://docs.rs/google-mybusinessaccountmanagement1/3.0.0+20220305/google_mybusinessaccountmanagement1/api::LocationAdminListCall), [*admins patch*](https://docs.rs/google-mybusinessaccountmanagement1/3.0.0+20220305/google_mybusinessaccountmanagement1/api::LocationAdminPatchCall) and [*transfer*](https://docs.rs/google-mybusinessaccountmanagement1/3.0.0+20220305/google_mybusinessaccountmanagement1/api::LocationTransferCall) + * [*admins create*](https://docs.rs/google-mybusinessaccountmanagement1/3.1.0+20220305/google_mybusinessaccountmanagement1/api::LocationAdminCreateCall), [*admins delete*](https://docs.rs/google-mybusinessaccountmanagement1/3.1.0+20220305/google_mybusinessaccountmanagement1/api::LocationAdminDeleteCall), [*admins list*](https://docs.rs/google-mybusinessaccountmanagement1/3.1.0+20220305/google_mybusinessaccountmanagement1/api::LocationAdminListCall), [*admins patch*](https://docs.rs/google-mybusinessaccountmanagement1/3.1.0+20220305/google_mybusinessaccountmanagement1/api::LocationAdminPatchCall) and [*transfer*](https://docs.rs/google-mybusinessaccountmanagement1/3.1.0+20220305/google_mybusinessaccountmanagement1/api::LocationTransferCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-mybusinessaccountmanagement1/3.0.0+20220305/google_mybusinessaccountmanagement1/MyBusinessAccountManagement)** +* **[Hub](https://docs.rs/google-mybusinessaccountmanagement1/3.1.0+20220305/google_mybusinessaccountmanagement1/MyBusinessAccountManagement)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-mybusinessaccountmanagement1/3.0.0+20220305/google_mybusinessaccountmanagement1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-mybusinessaccountmanagement1/3.0.0+20220305/google_mybusinessaccountmanagement1/client::CallBuilder) -* **[Resources](https://docs.rs/google-mybusinessaccountmanagement1/3.0.0+20220305/google_mybusinessaccountmanagement1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-mybusinessaccountmanagement1/3.1.0+20220305/google_mybusinessaccountmanagement1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-mybusinessaccountmanagement1/3.1.0+20220305/google_mybusinessaccountmanagement1/client::CallBuilder) +* **[Resources](https://docs.rs/google-mybusinessaccountmanagement1/3.1.0+20220305/google_mybusinessaccountmanagement1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-mybusinessaccountmanagement1/3.0.0+20220305/google_mybusinessaccountmanagement1/client::Part)** + * **[Parts](https://docs.rs/google-mybusinessaccountmanagement1/3.1.0+20220305/google_mybusinessaccountmanagement1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-mybusinessaccountmanagement1/3.0.0+20220305/google_mybusinessaccountmanagement1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-mybusinessaccountmanagement1/3.1.0+20220305/google_mybusinessaccountmanagement1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -102,7 +102,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = MyBusinessAccountManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = MyBusinessAccountManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-mybusinessaccountmanagement1/3.0.0+20220305/google_mybusinessaccountmanagement1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-mybusinessaccountmanagement1/3.1.0+20220305/google_mybusinessaccountmanagement1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-mybusinessaccountmanagement1/3.0.0+20220305/google_mybusinessaccountmanagement1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-mybusinessaccountmanagement1/3.1.0+20220305/google_mybusinessaccountmanagement1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-mybusinessaccountmanagement1/3.0.0+20220305/google_mybusinessaccountmanagement1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-mybusinessaccountmanagement1/3.1.0+20220305/google_mybusinessaccountmanagement1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-mybusinessaccountmanagement1/3.0.0+20220305/google_mybusinessaccountmanagement1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-mybusinessaccountmanagement1/3.1.0+20220305/google_mybusinessaccountmanagement1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -154,29 +154,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-mybusinessaccountmanagement1/3.0.0+20220305/google_mybusinessaccountmanagement1/client::Delegate) to the -[Method Builder](https://docs.rs/google-mybusinessaccountmanagement1/3.0.0+20220305/google_mybusinessaccountmanagement1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-mybusinessaccountmanagement1/3.1.0+20220305/google_mybusinessaccountmanagement1/client::Delegate) to the +[Method Builder](https://docs.rs/google-mybusinessaccountmanagement1/3.1.0+20220305/google_mybusinessaccountmanagement1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-mybusinessaccountmanagement1/3.0.0+20220305/google_mybusinessaccountmanagement1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-mybusinessaccountmanagement1/3.1.0+20220305/google_mybusinessaccountmanagement1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-mybusinessaccountmanagement1/3.0.0+20220305/google_mybusinessaccountmanagement1/client::RequestValue) and -[decodable](https://docs.rs/google-mybusinessaccountmanagement1/3.0.0+20220305/google_mybusinessaccountmanagement1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-mybusinessaccountmanagement1/3.1.0+20220305/google_mybusinessaccountmanagement1/client::RequestValue) and +[decodable](https://docs.rs/google-mybusinessaccountmanagement1/3.1.0+20220305/google_mybusinessaccountmanagement1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-mybusinessaccountmanagement1/3.0.0+20220305/google_mybusinessaccountmanagement1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-mybusinessaccountmanagement1/3.1.0+20220305/google_mybusinessaccountmanagement1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-mybusinessaccountmanagement1/3.0.0+20220305/google_mybusinessaccountmanagement1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-mybusinessaccountmanagement1/3.1.0+20220305/google_mybusinessaccountmanagement1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-mybusinessaccountmanagement1/3.0.0+20220305/google_mybusinessaccountmanagement1/client::RequestValue) are moved +* [request values](https://docs.rs/google-mybusinessaccountmanagement1/3.1.0+20220305/google_mybusinessaccountmanagement1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/mybusinessaccountmanagement1/src/api.rs b/gen/mybusinessaccountmanagement1/src/api.rs index 9d65e2e075..521d435067 100644 --- a/gen/mybusinessaccountmanagement1/src/api.rs +++ b/gen/mybusinessaccountmanagement1/src/api.rs @@ -48,7 +48,7 @@ use crate::client; /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = MyBusinessAccountManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = MyBusinessAccountManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -95,7 +95,7 @@ impl<'a, > MyBusinessAccountManagement<> { MyBusinessAccountManagement { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://mybusinessaccountmanagement.googleapis.com/".to_string(), _root_url: "https://mybusinessaccountmanagement.googleapis.com/".to_string(), } @@ -109,7 +109,7 @@ impl<'a, > MyBusinessAccountManagement<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -490,7 +490,7 @@ impl client::RequestValue for TransferLocationRequest {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = MyBusinessAccountManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = MyBusinessAccountManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `admins_create(...)`, `admins_delete(...)`, `admins_list(...)`, `admins_patch(...)`, `create(...)`, `get(...)`, `invitations_accept(...)`, `invitations_decline(...)`, `invitations_list(...)`, `list(...)` and `patch(...)` /// // to build up your call. @@ -720,7 +720,7 @@ impl<'a> AccountMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = MyBusinessAccountManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = MyBusinessAccountManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `admins_create(...)`, `admins_delete(...)`, `admins_list(...)`, `admins_patch(...)` and `transfer(...)` /// // to build up your call. @@ -856,7 +856,7 @@ impl<'a> LocationMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessAccountManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessAccountManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1111,7 +1111,7 @@ impl<'a> AccountAdminCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessAccountManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessAccountManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1337,7 +1337,7 @@ impl<'a> AccountAdminDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessAccountManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessAccountManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1564,7 +1564,7 @@ impl<'a> AccountAdminListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessAccountManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessAccountManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1832,7 +1832,7 @@ impl<'a> AccountAdminPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessAccountManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessAccountManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2088,7 +2088,7 @@ impl<'a> AccountInvitationAcceptCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessAccountManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessAccountManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2343,7 +2343,7 @@ impl<'a> AccountInvitationDeclineCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessAccountManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessAccountManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2582,7 +2582,7 @@ impl<'a> AccountInvitationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessAccountManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessAccountManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2800,7 +2800,7 @@ impl<'a> AccountCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessAccountManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessAccountManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3026,7 +3026,7 @@ impl<'a> AccountGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessAccountManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessAccountManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3264,7 +3264,7 @@ impl<'a> AccountListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessAccountManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessAccountManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3544,7 +3544,7 @@ impl<'a> AccountPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessAccountManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessAccountManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3799,7 +3799,7 @@ impl<'a> LocationAdminCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessAccountManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessAccountManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4025,7 +4025,7 @@ impl<'a> LocationAdminDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessAccountManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessAccountManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4252,7 +4252,7 @@ impl<'a> LocationAdminListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessAccountManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessAccountManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4520,7 +4520,7 @@ impl<'a> LocationAdminPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessAccountManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessAccountManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/mybusinessaccountmanagement1/src/lib.rs b/gen/mybusinessaccountmanagement1/src/lib.rs index 7efb06bb1e..9738bd0d62 100644 --- a/gen/mybusinessaccountmanagement1/src/lib.rs +++ b/gen/mybusinessaccountmanagement1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *My Business Account Management* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *mybusinessaccountmanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *My Business Account Management* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *mybusinessaccountmanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *My Business Account Management* *v1* API can be found at the //! [official documentation site](https://developers.google.com/my-business/). @@ -103,7 +103,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = MyBusinessAccountManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = MyBusinessAccountManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/mybusinessbusinesscalls1-cli/Cargo.toml b/gen/mybusinessbusinesscalls1-cli/Cargo.toml index f985e8334e..497c6883f7 100644 --- a/gen/mybusinessbusinesscalls1-cli/Cargo.toml +++ b/gen/mybusinessbusinesscalls1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-mybusinessbusinesscalls1-cli" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with My Business Business Calls (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/mybusinessbusinesscalls1-cli" @@ -20,12 +20,12 @@ name = "mybusinessbusinesscalls1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-mybusinessbusinesscalls1] path = "../mybusinessbusinesscalls1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" diff --git a/gen/mybusinessbusinesscalls1-cli/README.md b/gen/mybusinessbusinesscalls1-cli/README.md index c98899df97..aebf0ad3c8 100644 --- a/gen/mybusinessbusinesscalls1-cli/README.md +++ b/gen/mybusinessbusinesscalls1-cli/README.md @@ -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 *My Business Business Calls* API at revision *20220305*. The CLI is at version *3.0.0*. +This documentation was generated from the *My Business Business Calls* API at revision *20220305*. The CLI is at version *3.1.0*. ```bash mybusinessbusinesscalls1 [options] diff --git a/gen/mybusinessbusinesscalls1-cli/mkdocs.yml b/gen/mybusinessbusinesscalls1-cli/mkdocs.yml index 06bbdf243a..37eba1da7d 100644 --- a/gen/mybusinessbusinesscalls1-cli/mkdocs.yml +++ b/gen/mybusinessbusinesscalls1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: My Business Business Calls v3.0.0+20220305 +site_name: My Business Business Calls v3.1.0+20220305 site_url: http://byron.github.io/google-apis-rs/google-mybusinessbusinesscalls1-cli site_description: A complete library to interact with My Business Business Calls (protocol v1) diff --git a/gen/mybusinessbusinesscalls1-cli/src/main.rs b/gen/mybusinessbusinesscalls1-cli/src/main.rs index abb2537b65..52e491da72 100644 --- a/gen/mybusinessbusinesscalls1-cli/src/main.rs +++ b/gen/mybusinessbusinesscalls1-cli/src/main.rs @@ -294,7 +294,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/mybusinessbusinesscalls1", 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::MyBusinessBusinessCalls::new(client, auth), @@ -408,7 +414,7 @@ async fn main() { let mut app = App::new("mybusinessbusinesscalls1") .author("Sebastian Thiel ") - .version("3.0.0+20220305") + .version("3.1.0+20220305") .about("The My Business Business Calls API manages business calls information of a location on Google.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_mybusinessbusinesscalls1_cli") .arg(Arg::with_name("folder") diff --git a/gen/mybusinessbusinesscalls1/Cargo.toml b/gen/mybusinessbusinesscalls1/Cargo.toml index c934e807f6..a0212c4912 100644 --- a/gen/mybusinessbusinesscalls1/Cargo.toml +++ b/gen/mybusinessbusinesscalls1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-mybusinessbusinesscalls1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with My Business Business Calls (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/mybusinessbusinesscalls1" homepage = "https://developers.google.com/my-business/" -documentation = "https://docs.rs/google-mybusinessbusinesscalls1/3.0.0+20220305" +documentation = "https://docs.rs/google-mybusinessbusinesscalls1/3.1.0+20220305" license = "MIT" keywords = ["mybusinessbusinessca", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/mybusinessbusinesscalls1/README.md b/gen/mybusinessbusinesscalls1/README.md index d8e4bc960a..efbbed57dc 100644 --- a/gen/mybusinessbusinesscalls1/README.md +++ b/gen/mybusinessbusinesscalls1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-mybusinessbusinesscalls1` library allows access to all features of the *Google My Business Business Calls* service. -This documentation was generated from *My Business Business Calls* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *mybusinessbusinesscalls:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *My Business Business Calls* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *mybusinessbusinesscalls:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *My Business Business Calls* *v1* API can be found at the [official documentation site](https://developers.google.com/my-business/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-mybusinessbusinesscalls1/3.0.0+20220305/google_mybusinessbusinesscalls1/MyBusinessBusinessCalls) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-mybusinessbusinesscalls1/3.1.0+20220305/google_mybusinessbusinesscalls1/MyBusinessBusinessCalls) ... * locations - * [*businesscallsinsights list*](https://docs.rs/google-mybusinessbusinesscalls1/3.0.0+20220305/google_mybusinessbusinesscalls1/api::LocationBusinesscallsinsightListCall), [*get businesscallssettings*](https://docs.rs/google-mybusinessbusinesscalls1/3.0.0+20220305/google_mybusinessbusinesscalls1/api::LocationGetBusinesscallssettingCall) and [*update businesscallssettings*](https://docs.rs/google-mybusinessbusinesscalls1/3.0.0+20220305/google_mybusinessbusinesscalls1/api::LocationUpdateBusinesscallssettingCall) + * [*businesscallsinsights list*](https://docs.rs/google-mybusinessbusinesscalls1/3.1.0+20220305/google_mybusinessbusinesscalls1/api::LocationBusinesscallsinsightListCall), [*get businesscallssettings*](https://docs.rs/google-mybusinessbusinesscalls1/3.1.0+20220305/google_mybusinessbusinesscalls1/api::LocationGetBusinesscallssettingCall) and [*update businesscallssettings*](https://docs.rs/google-mybusinessbusinesscalls1/3.1.0+20220305/google_mybusinessbusinesscalls1/api::LocationUpdateBusinesscallssettingCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-mybusinessbusinesscalls1/3.0.0+20220305/google_mybusinessbusinesscalls1/MyBusinessBusinessCalls)** +* **[Hub](https://docs.rs/google-mybusinessbusinesscalls1/3.1.0+20220305/google_mybusinessbusinesscalls1/MyBusinessBusinessCalls)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-mybusinessbusinesscalls1/3.0.0+20220305/google_mybusinessbusinesscalls1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-mybusinessbusinesscalls1/3.0.0+20220305/google_mybusinessbusinesscalls1/client::CallBuilder) -* **[Resources](https://docs.rs/google-mybusinessbusinesscalls1/3.0.0+20220305/google_mybusinessbusinesscalls1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-mybusinessbusinesscalls1/3.1.0+20220305/google_mybusinessbusinesscalls1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-mybusinessbusinesscalls1/3.1.0+20220305/google_mybusinessbusinesscalls1/client::CallBuilder) +* **[Resources](https://docs.rs/google-mybusinessbusinesscalls1/3.1.0+20220305/google_mybusinessbusinesscalls1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-mybusinessbusinesscalls1/3.0.0+20220305/google_mybusinessbusinesscalls1/client::Part)** + * **[Parts](https://docs.rs/google-mybusinessbusinesscalls1/3.1.0+20220305/google_mybusinessbusinesscalls1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-mybusinessbusinesscalls1/3.0.0+20220305/google_mybusinessbusinesscalls1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-mybusinessbusinesscalls1/3.1.0+20220305/google_mybusinessbusinesscalls1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -92,7 +92,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = MyBusinessBusinessCalls::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = MyBusinessBusinessCalls::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -126,17 +126,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-mybusinessbusinesscalls1/3.0.0+20220305/google_mybusinessbusinesscalls1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-mybusinessbusinesscalls1/3.1.0+20220305/google_mybusinessbusinesscalls1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-mybusinessbusinesscalls1/3.0.0+20220305/google_mybusinessbusinesscalls1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-mybusinessbusinesscalls1/3.1.0+20220305/google_mybusinessbusinesscalls1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-mybusinessbusinesscalls1/3.0.0+20220305/google_mybusinessbusinesscalls1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-mybusinessbusinesscalls1/3.1.0+20220305/google_mybusinessbusinesscalls1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-mybusinessbusinesscalls1/3.0.0+20220305/google_mybusinessbusinesscalls1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-mybusinessbusinesscalls1/3.1.0+20220305/google_mybusinessbusinesscalls1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -146,29 +146,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-mybusinessbusinesscalls1/3.0.0+20220305/google_mybusinessbusinesscalls1/client::Delegate) to the -[Method Builder](https://docs.rs/google-mybusinessbusinesscalls1/3.0.0+20220305/google_mybusinessbusinesscalls1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-mybusinessbusinesscalls1/3.1.0+20220305/google_mybusinessbusinesscalls1/client::Delegate) to the +[Method Builder](https://docs.rs/google-mybusinessbusinesscalls1/3.1.0+20220305/google_mybusinessbusinesscalls1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-mybusinessbusinesscalls1/3.0.0+20220305/google_mybusinessbusinesscalls1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-mybusinessbusinesscalls1/3.1.0+20220305/google_mybusinessbusinesscalls1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-mybusinessbusinesscalls1/3.0.0+20220305/google_mybusinessbusinesscalls1/client::RequestValue) and -[decodable](https://docs.rs/google-mybusinessbusinesscalls1/3.0.0+20220305/google_mybusinessbusinesscalls1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-mybusinessbusinesscalls1/3.1.0+20220305/google_mybusinessbusinesscalls1/client::RequestValue) and +[decodable](https://docs.rs/google-mybusinessbusinesscalls1/3.1.0+20220305/google_mybusinessbusinesscalls1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-mybusinessbusinesscalls1/3.0.0+20220305/google_mybusinessbusinesscalls1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-mybusinessbusinesscalls1/3.1.0+20220305/google_mybusinessbusinesscalls1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-mybusinessbusinesscalls1/3.0.0+20220305/google_mybusinessbusinesscalls1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-mybusinessbusinesscalls1/3.1.0+20220305/google_mybusinessbusinesscalls1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-mybusinessbusinesscalls1/3.0.0+20220305/google_mybusinessbusinesscalls1/client::RequestValue) are moved +* [request values](https://docs.rs/google-mybusinessbusinesscalls1/3.1.0+20220305/google_mybusinessbusinesscalls1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/mybusinessbusinesscalls1/src/api.rs b/gen/mybusinessbusinesscalls1/src/api.rs index 4a4c966a1d..1f9abb5ccf 100644 --- a/gen/mybusinessbusinesscalls1/src/api.rs +++ b/gen/mybusinessbusinesscalls1/src/api.rs @@ -49,7 +49,7 @@ use crate::client; /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = MyBusinessBusinessCalls::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = MyBusinessBusinessCalls::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -98,7 +98,7 @@ impl<'a, > MyBusinessBusinessCalls<> { MyBusinessBusinessCalls { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://mybusinessbusinesscalls.googleapis.com/".to_string(), _root_url: "https://mybusinessbusinesscalls.googleapis.com/".to_string(), } @@ -109,7 +109,7 @@ impl<'a, > MyBusinessBusinessCalls<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -308,7 +308,7 @@ impl client::Part for WeekDayMetrics {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = MyBusinessBusinessCalls::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = MyBusinessBusinessCalls::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `businesscallsinsights_list(...)`, `get_businesscallssettings(...)` and `update_businesscallssettings(...)` /// // to build up your call. @@ -410,7 +410,7 @@ impl<'a> LocationMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessBusinessCalls::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessBusinessCalls::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -672,7 +672,7 @@ impl<'a> LocationBusinesscallsinsightListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessBusinessCalls::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessBusinessCalls::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -899,7 +899,7 @@ impl<'a> LocationGetBusinesscallssettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessBusinessCalls::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessBusinessCalls::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/mybusinessbusinesscalls1/src/lib.rs b/gen/mybusinessbusinesscalls1/src/lib.rs index 8e8741967d..579cff6a74 100644 --- a/gen/mybusinessbusinesscalls1/src/lib.rs +++ b/gen/mybusinessbusinesscalls1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *My Business Business Calls* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *mybusinessbusinesscalls:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *My Business Business Calls* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *mybusinessbusinesscalls:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *My Business Business Calls* *v1* API can be found at the //! [official documentation site](https://developers.google.com/my-business/). @@ -93,7 +93,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = MyBusinessBusinessCalls::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = MyBusinessBusinessCalls::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/mybusinessbusinessinformation1-cli/Cargo.toml b/gen/mybusinessbusinessinformation1-cli/Cargo.toml index 7b3d08ad5c..5fcba000bb 100644 --- a/gen/mybusinessbusinessinformation1-cli/Cargo.toml +++ b/gen/mybusinessbusinessinformation1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-mybusinessbusinessinformation1-cli" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with My Business Business Information (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/mybusinessbusinessinformation1-cli" @@ -20,12 +20,12 @@ name = "mybusinessbusinessinformation1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-mybusinessbusinessinformation1] path = "../mybusinessbusinessinformation1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" diff --git a/gen/mybusinessbusinessinformation1-cli/README.md b/gen/mybusinessbusinessinformation1-cli/README.md index b3218694ff..8bcb9e40af 100644 --- a/gen/mybusinessbusinessinformation1-cli/README.md +++ b/gen/mybusinessbusinessinformation1-cli/README.md @@ -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 *My Business Business Information* API at revision *20220305*. The CLI is at version *3.0.0*. +This documentation was generated from the *My Business Business Information* API at revision *20220305*. The CLI is at version *3.1.0*. ```bash mybusinessbusinessinformation1 [options] diff --git a/gen/mybusinessbusinessinformation1-cli/mkdocs.yml b/gen/mybusinessbusinessinformation1-cli/mkdocs.yml index 7ac4f0c429..3cdec4af29 100644 --- a/gen/mybusinessbusinessinformation1-cli/mkdocs.yml +++ b/gen/mybusinessbusinessinformation1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: My Business Business Information v3.0.0+20220305 +site_name: My Business Business Information v3.1.0+20220305 site_url: http://byron.github.io/google-apis-rs/google-mybusinessbusinessinformation1-cli site_description: A complete library to interact with My Business Business Information (protocol v1) diff --git a/gen/mybusinessbusinessinformation1-cli/src/main.rs b/gen/mybusinessbusinessinformation1-cli/src/main.rs index 1b4924d0ec..8113e61b73 100644 --- a/gen/mybusinessbusinessinformation1-cli/src/main.rs +++ b/gen/mybusinessbusinessinformation1-cli/src/main.rs @@ -1459,7 +1459,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/mybusinessbusinessinformation1", 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::MyBusinessBusinessInformation::new(client, auth), @@ -1896,7 +1902,7 @@ async fn main() { let mut app = App::new("mybusinessbusinessinformation1") .author("Sebastian Thiel ") - .version("3.0.0+20220305") + .version("3.1.0+20220305") .about("The My Business Business Information API provides an interface for managing business information on Google.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_mybusinessbusinessinformation1_cli") .arg(Arg::with_name("folder") diff --git a/gen/mybusinessbusinessinformation1/Cargo.toml b/gen/mybusinessbusinessinformation1/Cargo.toml index dd51636cb7..8defc0b76d 100644 --- a/gen/mybusinessbusinessinformation1/Cargo.toml +++ b/gen/mybusinessbusinessinformation1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-mybusinessbusinessinformation1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with My Business Business Information (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/mybusinessbusinessinformation1" homepage = "https://developers.google.com/my-business/" -documentation = "https://docs.rs/google-mybusinessbusinessinformation1/3.0.0+20220305" +documentation = "https://docs.rs/google-mybusinessbusinessinformation1/3.1.0+20220305" license = "MIT" keywords = ["mybusinessbusinessin", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/mybusinessbusinessinformation1/README.md b/gen/mybusinessbusinessinformation1/README.md index c6f81f94ca..fb164d3628 100644 --- a/gen/mybusinessbusinessinformation1/README.md +++ b/gen/mybusinessbusinessinformation1/README.md @@ -5,26 +5,26 @@ DO NOT EDIT ! --> The `google-mybusinessbusinessinformation1` library allows access to all features of the *Google My Business Business Information* service. -This documentation was generated from *My Business Business Information* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *mybusinessbusinessinformation:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *My Business Business Information* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *mybusinessbusinessinformation:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *My Business Business Information* *v1* API can be found at the [official documentation site](https://developers.google.com/my-business/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-mybusinessbusinessinformation1/3.0.0+20220305/google_mybusinessbusinessinformation1/MyBusinessBusinessInformation) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-mybusinessbusinessinformation1/3.1.0+20220305/google_mybusinessbusinessinformation1/MyBusinessBusinessInformation) ... * accounts - * [*locations create*](https://docs.rs/google-mybusinessbusinessinformation1/3.0.0+20220305/google_mybusinessbusinessinformation1/api::AccountLocationCreateCall) and [*locations list*](https://docs.rs/google-mybusinessbusinessinformation1/3.0.0+20220305/google_mybusinessbusinessinformation1/api::AccountLocationListCall) -* [attributes](https://docs.rs/google-mybusinessbusinessinformation1/3.0.0+20220305/google_mybusinessbusinessinformation1/api::Attribute) - * [*list*](https://docs.rs/google-mybusinessbusinessinformation1/3.0.0+20220305/google_mybusinessbusinessinformation1/api::AttributeListCall) -* [categories](https://docs.rs/google-mybusinessbusinessinformation1/3.0.0+20220305/google_mybusinessbusinessinformation1/api::Category) - * [*batch get*](https://docs.rs/google-mybusinessbusinessinformation1/3.0.0+20220305/google_mybusinessbusinessinformation1/api::CategoryBatchGetCall) and [*list*](https://docs.rs/google-mybusinessbusinessinformation1/3.0.0+20220305/google_mybusinessbusinessinformation1/api::CategoryListCall) -* [chains](https://docs.rs/google-mybusinessbusinessinformation1/3.0.0+20220305/google_mybusinessbusinessinformation1/api::Chain) - * [*get*](https://docs.rs/google-mybusinessbusinessinformation1/3.0.0+20220305/google_mybusinessbusinessinformation1/api::ChainGetCall) and [*search*](https://docs.rs/google-mybusinessbusinessinformation1/3.0.0+20220305/google_mybusinessbusinessinformation1/api::ChainSearchCall) -* [google locations](https://docs.rs/google-mybusinessbusinessinformation1/3.0.0+20220305/google_mybusinessbusinessinformation1/api::GoogleLocation) - * [*search*](https://docs.rs/google-mybusinessbusinessinformation1/3.0.0+20220305/google_mybusinessbusinessinformation1/api::GoogleLocationSearchCall) -* [locations](https://docs.rs/google-mybusinessbusinessinformation1/3.0.0+20220305/google_mybusinessbusinessinformation1/api::Location) - * [*associate*](https://docs.rs/google-mybusinessbusinessinformation1/3.0.0+20220305/google_mybusinessbusinessinformation1/api::LocationAssociateCall), [*attributes get google updated*](https://docs.rs/google-mybusinessbusinessinformation1/3.0.0+20220305/google_mybusinessbusinessinformation1/api::LocationAttributeGetGoogleUpdatedCall), [*clear location association*](https://docs.rs/google-mybusinessbusinessinformation1/3.0.0+20220305/google_mybusinessbusinessinformation1/api::LocationClearLocationAssociationCall), [*delete*](https://docs.rs/google-mybusinessbusinessinformation1/3.0.0+20220305/google_mybusinessbusinessinformation1/api::LocationDeleteCall), [*get*](https://docs.rs/google-mybusinessbusinessinformation1/3.0.0+20220305/google_mybusinessbusinessinformation1/api::LocationGetCall), [*get attributes*](https://docs.rs/google-mybusinessbusinessinformation1/3.0.0+20220305/google_mybusinessbusinessinformation1/api::LocationGetAttributeCall), [*get google updated*](https://docs.rs/google-mybusinessbusinessinformation1/3.0.0+20220305/google_mybusinessbusinessinformation1/api::LocationGetGoogleUpdatedCall), [*patch*](https://docs.rs/google-mybusinessbusinessinformation1/3.0.0+20220305/google_mybusinessbusinessinformation1/api::LocationPatchCall) and [*update attributes*](https://docs.rs/google-mybusinessbusinessinformation1/3.0.0+20220305/google_mybusinessbusinessinformation1/api::LocationUpdateAttributeCall) + * [*locations create*](https://docs.rs/google-mybusinessbusinessinformation1/3.1.0+20220305/google_mybusinessbusinessinformation1/api::AccountLocationCreateCall) and [*locations list*](https://docs.rs/google-mybusinessbusinessinformation1/3.1.0+20220305/google_mybusinessbusinessinformation1/api::AccountLocationListCall) +* [attributes](https://docs.rs/google-mybusinessbusinessinformation1/3.1.0+20220305/google_mybusinessbusinessinformation1/api::Attribute) + * [*list*](https://docs.rs/google-mybusinessbusinessinformation1/3.1.0+20220305/google_mybusinessbusinessinformation1/api::AttributeListCall) +* [categories](https://docs.rs/google-mybusinessbusinessinformation1/3.1.0+20220305/google_mybusinessbusinessinformation1/api::Category) + * [*batch get*](https://docs.rs/google-mybusinessbusinessinformation1/3.1.0+20220305/google_mybusinessbusinessinformation1/api::CategoryBatchGetCall) and [*list*](https://docs.rs/google-mybusinessbusinessinformation1/3.1.0+20220305/google_mybusinessbusinessinformation1/api::CategoryListCall) +* [chains](https://docs.rs/google-mybusinessbusinessinformation1/3.1.0+20220305/google_mybusinessbusinessinformation1/api::Chain) + * [*get*](https://docs.rs/google-mybusinessbusinessinformation1/3.1.0+20220305/google_mybusinessbusinessinformation1/api::ChainGetCall) and [*search*](https://docs.rs/google-mybusinessbusinessinformation1/3.1.0+20220305/google_mybusinessbusinessinformation1/api::ChainSearchCall) +* [google locations](https://docs.rs/google-mybusinessbusinessinformation1/3.1.0+20220305/google_mybusinessbusinessinformation1/api::GoogleLocation) + * [*search*](https://docs.rs/google-mybusinessbusinessinformation1/3.1.0+20220305/google_mybusinessbusinessinformation1/api::GoogleLocationSearchCall) +* [locations](https://docs.rs/google-mybusinessbusinessinformation1/3.1.0+20220305/google_mybusinessbusinessinformation1/api::Location) + * [*associate*](https://docs.rs/google-mybusinessbusinessinformation1/3.1.0+20220305/google_mybusinessbusinessinformation1/api::LocationAssociateCall), [*attributes get google updated*](https://docs.rs/google-mybusinessbusinessinformation1/3.1.0+20220305/google_mybusinessbusinessinformation1/api::LocationAttributeGetGoogleUpdatedCall), [*clear location association*](https://docs.rs/google-mybusinessbusinessinformation1/3.1.0+20220305/google_mybusinessbusinessinformation1/api::LocationClearLocationAssociationCall), [*delete*](https://docs.rs/google-mybusinessbusinessinformation1/3.1.0+20220305/google_mybusinessbusinessinformation1/api::LocationDeleteCall), [*get*](https://docs.rs/google-mybusinessbusinessinformation1/3.1.0+20220305/google_mybusinessbusinessinformation1/api::LocationGetCall), [*get attributes*](https://docs.rs/google-mybusinessbusinessinformation1/3.1.0+20220305/google_mybusinessbusinessinformation1/api::LocationGetAttributeCall), [*get google updated*](https://docs.rs/google-mybusinessbusinessinformation1/3.1.0+20220305/google_mybusinessbusinessinformation1/api::LocationGetGoogleUpdatedCall), [*patch*](https://docs.rs/google-mybusinessbusinessinformation1/3.1.0+20220305/google_mybusinessbusinessinformation1/api::LocationPatchCall) and [*update attributes*](https://docs.rs/google-mybusinessbusinessinformation1/3.1.0+20220305/google_mybusinessbusinessinformation1/api::LocationUpdateAttributeCall) @@ -33,17 +33,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-mybusinessbusinessinformation1/3.0.0+20220305/google_mybusinessbusinessinformation1/MyBusinessBusinessInformation)** +* **[Hub](https://docs.rs/google-mybusinessbusinessinformation1/3.1.0+20220305/google_mybusinessbusinessinformation1/MyBusinessBusinessInformation)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-mybusinessbusinessinformation1/3.0.0+20220305/google_mybusinessbusinessinformation1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-mybusinessbusinessinformation1/3.0.0+20220305/google_mybusinessbusinessinformation1/client::CallBuilder) -* **[Resources](https://docs.rs/google-mybusinessbusinessinformation1/3.0.0+20220305/google_mybusinessbusinessinformation1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-mybusinessbusinessinformation1/3.1.0+20220305/google_mybusinessbusinessinformation1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-mybusinessbusinessinformation1/3.1.0+20220305/google_mybusinessbusinessinformation1/client::CallBuilder) +* **[Resources](https://docs.rs/google-mybusinessbusinessinformation1/3.1.0+20220305/google_mybusinessbusinessinformation1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-mybusinessbusinessinformation1/3.0.0+20220305/google_mybusinessbusinessinformation1/client::Part)** + * **[Parts](https://docs.rs/google-mybusinessbusinessinformation1/3.1.0+20220305/google_mybusinessbusinessinformation1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-mybusinessbusinessinformation1/3.0.0+20220305/google_mybusinessbusinessinformation1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-mybusinessbusinessinformation1/3.1.0+20220305/google_mybusinessbusinessinformation1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -110,7 +110,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -145,17 +145,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-mybusinessbusinessinformation1/3.0.0+20220305/google_mybusinessbusinessinformation1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-mybusinessbusinessinformation1/3.1.0+20220305/google_mybusinessbusinessinformation1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-mybusinessbusinessinformation1/3.0.0+20220305/google_mybusinessbusinessinformation1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-mybusinessbusinessinformation1/3.1.0+20220305/google_mybusinessbusinessinformation1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-mybusinessbusinessinformation1/3.0.0+20220305/google_mybusinessbusinessinformation1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-mybusinessbusinessinformation1/3.1.0+20220305/google_mybusinessbusinessinformation1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-mybusinessbusinessinformation1/3.0.0+20220305/google_mybusinessbusinessinformation1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-mybusinessbusinessinformation1/3.1.0+20220305/google_mybusinessbusinessinformation1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -165,29 +165,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-mybusinessbusinessinformation1/3.0.0+20220305/google_mybusinessbusinessinformation1/client::Delegate) to the -[Method Builder](https://docs.rs/google-mybusinessbusinessinformation1/3.0.0+20220305/google_mybusinessbusinessinformation1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-mybusinessbusinessinformation1/3.1.0+20220305/google_mybusinessbusinessinformation1/client::Delegate) to the +[Method Builder](https://docs.rs/google-mybusinessbusinessinformation1/3.1.0+20220305/google_mybusinessbusinessinformation1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-mybusinessbusinessinformation1/3.0.0+20220305/google_mybusinessbusinessinformation1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-mybusinessbusinessinformation1/3.1.0+20220305/google_mybusinessbusinessinformation1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-mybusinessbusinessinformation1/3.0.0+20220305/google_mybusinessbusinessinformation1/client::RequestValue) and -[decodable](https://docs.rs/google-mybusinessbusinessinformation1/3.0.0+20220305/google_mybusinessbusinessinformation1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-mybusinessbusinessinformation1/3.1.0+20220305/google_mybusinessbusinessinformation1/client::RequestValue) and +[decodable](https://docs.rs/google-mybusinessbusinessinformation1/3.1.0+20220305/google_mybusinessbusinessinformation1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-mybusinessbusinessinformation1/3.0.0+20220305/google_mybusinessbusinessinformation1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-mybusinessbusinessinformation1/3.1.0+20220305/google_mybusinessbusinessinformation1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-mybusinessbusinessinformation1/3.0.0+20220305/google_mybusinessbusinessinformation1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-mybusinessbusinessinformation1/3.1.0+20220305/google_mybusinessbusinessinformation1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-mybusinessbusinessinformation1/3.0.0+20220305/google_mybusinessbusinessinformation1/client::RequestValue) are moved +* [request values](https://docs.rs/google-mybusinessbusinessinformation1/3.1.0+20220305/google_mybusinessbusinessinformation1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/mybusinessbusinessinformation1/src/api.rs b/gen/mybusinessbusinessinformation1/src/api.rs index f6602a85f6..b831c53011 100644 --- a/gen/mybusinessbusinessinformation1/src/api.rs +++ b/gen/mybusinessbusinessinformation1/src/api.rs @@ -49,7 +49,7 @@ use crate::client; /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -99,7 +99,7 @@ impl<'a, > MyBusinessBusinessInformation<> { MyBusinessBusinessInformation { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://mybusinessbusinessinformation.googleapis.com/".to_string(), _root_url: "https://mybusinessbusinessinformation.googleapis.com/".to_string(), } @@ -125,7 +125,7 @@ impl<'a, > MyBusinessBusinessInformation<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1234,7 +1234,7 @@ impl client::Part for UriAttributeValue {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_create(...)` and `locations_list(...)` /// // to build up your call. @@ -1316,7 +1316,7 @@ impl<'a> AccountMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -1375,7 +1375,7 @@ impl<'a> AttributeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `batch_get(...)` and `list(...)` /// // to build up your call. @@ -1448,7 +1448,7 @@ impl<'a> CategoryMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `search(...)` /// // to build up your call. @@ -1518,7 +1518,7 @@ impl<'a> ChainMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `search(...)` /// // to build up your call. @@ -1575,7 +1575,7 @@ impl<'a> GoogleLocationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `associate(...)`, `attributes_get_google_updated(...)`, `clear_location_association(...)`, `delete(...)`, `get(...)`, `get_attributes(...)`, `get_google_updated(...)`, `patch(...)` and `update_attributes(...)` /// // to build up your call. @@ -1781,7 +1781,7 @@ impl<'a> LocationMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2060,7 +2060,7 @@ impl<'a> AccountLocationCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2346,7 +2346,7 @@ impl<'a> AccountLocationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2619,7 +2619,7 @@ impl<'a> AttributeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2859,7 +2859,7 @@ impl<'a> CategoryBatchGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3120,7 +3120,7 @@ impl<'a> CategoryListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3346,7 +3346,7 @@ impl<'a> ChainGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3560,7 +3560,7 @@ impl<'a> ChainSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3778,7 +3778,7 @@ impl<'a> GoogleLocationSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4005,7 +4005,7 @@ impl<'a> LocationAttributeGetGoogleUpdatedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4261,7 +4261,7 @@ impl<'a> LocationAssociateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4516,7 +4516,7 @@ impl<'a> LocationClearLocationAssociationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4742,7 +4742,7 @@ impl<'a> LocationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4980,7 +4980,7 @@ impl<'a> LocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5206,7 +5206,7 @@ impl<'a> LocationGetAttributeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5445,7 +5445,7 @@ impl<'a> LocationGetGoogleUpdatedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5725,7 +5725,7 @@ impl<'a> LocationPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/mybusinessbusinessinformation1/src/lib.rs b/gen/mybusinessbusinessinformation1/src/lib.rs index 057f99c6b1..6864382444 100644 --- a/gen/mybusinessbusinessinformation1/src/lib.rs +++ b/gen/mybusinessbusinessinformation1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *My Business Business Information* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *mybusinessbusinessinformation:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *My Business Business Information* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *mybusinessbusinessinformation:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *My Business Business Information* *v1* API can be found at the //! [official documentation site](https://developers.google.com/my-business/). @@ -111,7 +111,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = MyBusinessBusinessInformation::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/mybusinesslodging1-cli/Cargo.toml b/gen/mybusinesslodging1-cli/Cargo.toml index 88f6c0de2c..e1c15a6662 100644 --- a/gen/mybusinesslodging1-cli/Cargo.toml +++ b/gen/mybusinesslodging1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-mybusinesslodging1-cli" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with My Business Lodging (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/mybusinesslodging1-cli" @@ -20,12 +20,12 @@ name = "mybusinesslodging1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-mybusinesslodging1] path = "../mybusinesslodging1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" diff --git a/gen/mybusinesslodging1-cli/README.md b/gen/mybusinesslodging1-cli/README.md index e4bfcb44c5..5e4b976168 100644 --- a/gen/mybusinesslodging1-cli/README.md +++ b/gen/mybusinesslodging1-cli/README.md @@ -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 *My Business Lodging* API at revision *20220305*. The CLI is at version *3.0.0*. +This documentation was generated from the *My Business Lodging* API at revision *20220305*. The CLI is at version *3.1.0*. ```bash mybusinesslodging1 [options] diff --git a/gen/mybusinesslodging1-cli/mkdocs.yml b/gen/mybusinesslodging1-cli/mkdocs.yml index c93fe37f45..dda48315da 100644 --- a/gen/mybusinesslodging1-cli/mkdocs.yml +++ b/gen/mybusinesslodging1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: My Business Lodging v3.0.0+20220305 +site_name: My Business Lodging v3.1.0+20220305 site_url: http://byron.github.io/google-apis-rs/google-mybusinesslodging1-cli site_description: A complete library to interact with My Business Lodging (protocol v1) diff --git a/gen/mybusinesslodging1-cli/src/main.rs b/gen/mybusinesslodging1-cli/src/main.rs index 98b1df6f9f..e8b79c1288 100644 --- a/gen/mybusinesslodging1-cli/src/main.rs +++ b/gen/mybusinesslodging1-cli/src/main.rs @@ -1117,7 +1117,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/mybusinesslodging1", 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::MyBusinessLodging::new(client, auth), @@ -1231,7 +1237,7 @@ async fn main() { let mut app = App::new("mybusinesslodging1") .author("Sebastian Thiel ") - .version("3.0.0+20220305") + .version("3.1.0+20220305") .about("The My Business Lodging API enables managing lodging business information on Google.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_mybusinesslodging1_cli") .arg(Arg::with_name("folder") diff --git a/gen/mybusinesslodging1/Cargo.toml b/gen/mybusinesslodging1/Cargo.toml index f4b87bf06c..8e8d1d6fb6 100644 --- a/gen/mybusinesslodging1/Cargo.toml +++ b/gen/mybusinesslodging1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-mybusinesslodging1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with My Business Lodging (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/mybusinesslodging1" homepage = "https://developers.google.com/my-business/" -documentation = "https://docs.rs/google-mybusinesslodging1/3.0.0+20220305" +documentation = "https://docs.rs/google-mybusinesslodging1/3.1.0+20220305" license = "MIT" keywords = ["mybusinesslodging", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/mybusinesslodging1/README.md b/gen/mybusinesslodging1/README.md index 187f957558..14f2cb7abf 100644 --- a/gen/mybusinesslodging1/README.md +++ b/gen/mybusinesslodging1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-mybusinesslodging1` library allows access to all features of the *Google My Business Lodging* service. -This documentation was generated from *My Business Lodging* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *mybusinesslodging:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *My Business Lodging* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *mybusinesslodging:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *My Business Lodging* *v1* API can be found at the [official documentation site](https://developers.google.com/my-business/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-mybusinesslodging1/3.0.0+20220305/google_mybusinesslodging1/MyBusinessLodging) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-mybusinesslodging1/3.1.0+20220305/google_mybusinesslodging1/MyBusinessLodging) ... * locations - * [*get lodging*](https://docs.rs/google-mybusinesslodging1/3.0.0+20220305/google_mybusinesslodging1/api::LocationGetLodgingCall), [*lodging get google updated*](https://docs.rs/google-mybusinesslodging1/3.0.0+20220305/google_mybusinesslodging1/api::LocationLodgingGetGoogleUpdatedCall) and [*update lodging*](https://docs.rs/google-mybusinesslodging1/3.0.0+20220305/google_mybusinesslodging1/api::LocationUpdateLodgingCall) + * [*get lodging*](https://docs.rs/google-mybusinesslodging1/3.1.0+20220305/google_mybusinesslodging1/api::LocationGetLodgingCall), [*lodging get google updated*](https://docs.rs/google-mybusinesslodging1/3.1.0+20220305/google_mybusinesslodging1/api::LocationLodgingGetGoogleUpdatedCall) and [*update lodging*](https://docs.rs/google-mybusinesslodging1/3.1.0+20220305/google_mybusinesslodging1/api::LocationUpdateLodgingCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-mybusinesslodging1/3.0.0+20220305/google_mybusinesslodging1/MyBusinessLodging)** +* **[Hub](https://docs.rs/google-mybusinesslodging1/3.1.0+20220305/google_mybusinesslodging1/MyBusinessLodging)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-mybusinesslodging1/3.0.0+20220305/google_mybusinesslodging1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-mybusinesslodging1/3.0.0+20220305/google_mybusinesslodging1/client::CallBuilder) -* **[Resources](https://docs.rs/google-mybusinesslodging1/3.0.0+20220305/google_mybusinesslodging1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-mybusinesslodging1/3.1.0+20220305/google_mybusinesslodging1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-mybusinesslodging1/3.1.0+20220305/google_mybusinesslodging1/client::CallBuilder) +* **[Resources](https://docs.rs/google-mybusinesslodging1/3.1.0+20220305/google_mybusinesslodging1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-mybusinesslodging1/3.0.0+20220305/google_mybusinesslodging1/client::Part)** + * **[Parts](https://docs.rs/google-mybusinesslodging1/3.1.0+20220305/google_mybusinesslodging1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-mybusinesslodging1/3.0.0+20220305/google_mybusinesslodging1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-mybusinesslodging1/3.1.0+20220305/google_mybusinesslodging1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -92,7 +92,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = MyBusinessLodging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = MyBusinessLodging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -126,17 +126,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-mybusinesslodging1/3.0.0+20220305/google_mybusinesslodging1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-mybusinesslodging1/3.1.0+20220305/google_mybusinesslodging1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-mybusinesslodging1/3.0.0+20220305/google_mybusinesslodging1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-mybusinesslodging1/3.1.0+20220305/google_mybusinesslodging1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-mybusinesslodging1/3.0.0+20220305/google_mybusinesslodging1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-mybusinesslodging1/3.1.0+20220305/google_mybusinesslodging1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-mybusinesslodging1/3.0.0+20220305/google_mybusinesslodging1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-mybusinesslodging1/3.1.0+20220305/google_mybusinesslodging1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -146,29 +146,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-mybusinesslodging1/3.0.0+20220305/google_mybusinesslodging1/client::Delegate) to the -[Method Builder](https://docs.rs/google-mybusinesslodging1/3.0.0+20220305/google_mybusinesslodging1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-mybusinesslodging1/3.1.0+20220305/google_mybusinesslodging1/client::Delegate) to the +[Method Builder](https://docs.rs/google-mybusinesslodging1/3.1.0+20220305/google_mybusinesslodging1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-mybusinesslodging1/3.0.0+20220305/google_mybusinesslodging1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-mybusinesslodging1/3.1.0+20220305/google_mybusinesslodging1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-mybusinesslodging1/3.0.0+20220305/google_mybusinesslodging1/client::RequestValue) and -[decodable](https://docs.rs/google-mybusinesslodging1/3.0.0+20220305/google_mybusinesslodging1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-mybusinesslodging1/3.1.0+20220305/google_mybusinesslodging1/client::RequestValue) and +[decodable](https://docs.rs/google-mybusinesslodging1/3.1.0+20220305/google_mybusinesslodging1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-mybusinesslodging1/3.0.0+20220305/google_mybusinesslodging1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-mybusinesslodging1/3.1.0+20220305/google_mybusinesslodging1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-mybusinesslodging1/3.0.0+20220305/google_mybusinesslodging1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-mybusinesslodging1/3.1.0+20220305/google_mybusinesslodging1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-mybusinesslodging1/3.0.0+20220305/google_mybusinesslodging1/client::RequestValue) are moved +* [request values](https://docs.rs/google-mybusinesslodging1/3.1.0+20220305/google_mybusinesslodging1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/mybusinesslodging1/src/api.rs b/gen/mybusinesslodging1/src/api.rs index 9d4edf409a..7a70a99f98 100644 --- a/gen/mybusinesslodging1/src/api.rs +++ b/gen/mybusinesslodging1/src/api.rs @@ -49,7 +49,7 @@ use crate::client; /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = MyBusinessLodging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = MyBusinessLodging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -98,7 +98,7 @@ impl<'a, > MyBusinessLodging<> { MyBusinessLodging { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://mybusinesslodging.googleapis.com/".to_string(), _root_url: "https://mybusinesslodging.googleapis.com/".to_string(), } @@ -109,7 +109,7 @@ impl<'a, > MyBusinessLodging<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -2332,7 +2332,7 @@ impl client::Part for Wellness {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = MyBusinessLodging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = MyBusinessLodging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get_lodging(...)`, `lodging_get_google_updated(...)` and `update_lodging(...)` /// // to build up your call. @@ -2433,7 +2433,7 @@ impl<'a> LocationMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessLodging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessLodging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2671,7 +2671,7 @@ impl<'a> LocationLodgingGetGoogleUpdatedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessLodging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessLodging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2910,7 +2910,7 @@ impl<'a> LocationGetLodgingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessLodging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessLodging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/mybusinesslodging1/src/lib.rs b/gen/mybusinesslodging1/src/lib.rs index 6708b2953b..fdf17f7df3 100644 --- a/gen/mybusinesslodging1/src/lib.rs +++ b/gen/mybusinesslodging1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *My Business Lodging* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *mybusinesslodging:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *My Business Lodging* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *mybusinesslodging:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *My Business Lodging* *v1* API can be found at the //! [official documentation site](https://developers.google.com/my-business/). @@ -93,7 +93,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = MyBusinessLodging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = MyBusinessLodging::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/mybusinessnotifications1-cli/Cargo.toml b/gen/mybusinessnotifications1-cli/Cargo.toml index 58df274918..b800d6eb1f 100644 --- a/gen/mybusinessnotifications1-cli/Cargo.toml +++ b/gen/mybusinessnotifications1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-mybusinessnotifications1-cli" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with My Business Notification Settings (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/mybusinessnotifications1-cli" @@ -20,12 +20,12 @@ name = "mybusinessnotifications1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-mybusinessnotifications1] path = "../mybusinessnotifications1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" diff --git a/gen/mybusinessnotifications1-cli/README.md b/gen/mybusinessnotifications1-cli/README.md index d47fe66adf..518ecdd788 100644 --- a/gen/mybusinessnotifications1-cli/README.md +++ b/gen/mybusinessnotifications1-cli/README.md @@ -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 *My Business Notification Settings* API at revision *20220305*. The CLI is at version *3.0.0*. +This documentation was generated from the *My Business Notification Settings* API at revision *20220305*. The CLI is at version *3.1.0*. ```bash mybusinessnotifications1 [options] diff --git a/gen/mybusinessnotifications1-cli/mkdocs.yml b/gen/mybusinessnotifications1-cli/mkdocs.yml index 741adc1cce..5065bb1f4e 100644 --- a/gen/mybusinessnotifications1-cli/mkdocs.yml +++ b/gen/mybusinessnotifications1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: My Business Notification Settings v3.0.0+20220305 +site_name: My Business Notification Settings v3.1.0+20220305 site_url: http://byron.github.io/google-apis-rs/google-mybusinessnotifications1-cli site_description: A complete library to interact with My Business Notification Settings (protocol v1) diff --git a/gen/mybusinessnotifications1-cli/src/main.rs b/gen/mybusinessnotifications1-cli/src/main.rs index 61fad3ad68..5a9b605b24 100644 --- a/gen/mybusinessnotifications1-cli/src/main.rs +++ b/gen/mybusinessnotifications1-cli/src/main.rs @@ -232,7 +232,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/mybusinessnotifications1", 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::MyBusinessNotificationSettings::new(client, auth), @@ -324,7 +330,7 @@ async fn main() { let mut app = App::new("mybusinessnotifications1") .author("Sebastian Thiel ") - .version("3.0.0+20220305") + .version("3.1.0+20220305") .about("The My Business Notification Settings API enables managing notification settings for business accounts.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_mybusinessnotifications1_cli") .arg(Arg::with_name("folder") diff --git a/gen/mybusinessnotifications1/Cargo.toml b/gen/mybusinessnotifications1/Cargo.toml index 1594ace7a7..bc9e030c19 100644 --- a/gen/mybusinessnotifications1/Cargo.toml +++ b/gen/mybusinessnotifications1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-mybusinessnotifications1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with My Business Notification Settings (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/mybusinessnotifications1" homepage = "https://developers.google.com/my-business/" -documentation = "https://docs.rs/google-mybusinessnotifications1/3.0.0+20220305" +documentation = "https://docs.rs/google-mybusinessnotifications1/3.1.0+20220305" license = "MIT" keywords = ["mybusinessnotificati", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/mybusinessnotifications1/README.md b/gen/mybusinessnotifications1/README.md index 57dba60d8f..6c107a9631 100644 --- a/gen/mybusinessnotifications1/README.md +++ b/gen/mybusinessnotifications1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-mybusinessnotifications1` library allows access to all features of the *Google My Business Notification Settings* service. -This documentation was generated from *My Business Notification Settings* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *mybusinessnotifications:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *My Business Notification Settings* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *mybusinessnotifications:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *My Business Notification Settings* *v1* API can be found at the [official documentation site](https://developers.google.com/my-business/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-mybusinessnotifications1/3.0.0+20220305/google_mybusinessnotifications1/MyBusinessNotificationSettings) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-mybusinessnotifications1/3.1.0+20220305/google_mybusinessnotifications1/MyBusinessNotificationSettings) ... * accounts - * [*get notification setting*](https://docs.rs/google-mybusinessnotifications1/3.0.0+20220305/google_mybusinessnotifications1/api::AccountGetNotificationSettingCall) and [*update notification setting*](https://docs.rs/google-mybusinessnotifications1/3.0.0+20220305/google_mybusinessnotifications1/api::AccountUpdateNotificationSettingCall) + * [*get notification setting*](https://docs.rs/google-mybusinessnotifications1/3.1.0+20220305/google_mybusinessnotifications1/api::AccountGetNotificationSettingCall) and [*update notification setting*](https://docs.rs/google-mybusinessnotifications1/3.1.0+20220305/google_mybusinessnotifications1/api::AccountUpdateNotificationSettingCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-mybusinessnotifications1/3.0.0+20220305/google_mybusinessnotifications1/MyBusinessNotificationSettings)** +* **[Hub](https://docs.rs/google-mybusinessnotifications1/3.1.0+20220305/google_mybusinessnotifications1/MyBusinessNotificationSettings)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-mybusinessnotifications1/3.0.0+20220305/google_mybusinessnotifications1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-mybusinessnotifications1/3.0.0+20220305/google_mybusinessnotifications1/client::CallBuilder) -* **[Resources](https://docs.rs/google-mybusinessnotifications1/3.0.0+20220305/google_mybusinessnotifications1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-mybusinessnotifications1/3.1.0+20220305/google_mybusinessnotifications1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-mybusinessnotifications1/3.1.0+20220305/google_mybusinessnotifications1/client::CallBuilder) +* **[Resources](https://docs.rs/google-mybusinessnotifications1/3.1.0+20220305/google_mybusinessnotifications1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-mybusinessnotifications1/3.0.0+20220305/google_mybusinessnotifications1/client::Part)** + * **[Parts](https://docs.rs/google-mybusinessnotifications1/3.1.0+20220305/google_mybusinessnotifications1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-mybusinessnotifications1/3.0.0+20220305/google_mybusinessnotifications1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-mybusinessnotifications1/3.1.0+20220305/google_mybusinessnotifications1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -92,7 +92,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = MyBusinessNotificationSettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = MyBusinessNotificationSettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -126,17 +126,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-mybusinessnotifications1/3.0.0+20220305/google_mybusinessnotifications1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-mybusinessnotifications1/3.1.0+20220305/google_mybusinessnotifications1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-mybusinessnotifications1/3.0.0+20220305/google_mybusinessnotifications1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-mybusinessnotifications1/3.1.0+20220305/google_mybusinessnotifications1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-mybusinessnotifications1/3.0.0+20220305/google_mybusinessnotifications1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-mybusinessnotifications1/3.1.0+20220305/google_mybusinessnotifications1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-mybusinessnotifications1/3.0.0+20220305/google_mybusinessnotifications1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-mybusinessnotifications1/3.1.0+20220305/google_mybusinessnotifications1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -146,29 +146,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-mybusinessnotifications1/3.0.0+20220305/google_mybusinessnotifications1/client::Delegate) to the -[Method Builder](https://docs.rs/google-mybusinessnotifications1/3.0.0+20220305/google_mybusinessnotifications1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-mybusinessnotifications1/3.1.0+20220305/google_mybusinessnotifications1/client::Delegate) to the +[Method Builder](https://docs.rs/google-mybusinessnotifications1/3.1.0+20220305/google_mybusinessnotifications1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-mybusinessnotifications1/3.0.0+20220305/google_mybusinessnotifications1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-mybusinessnotifications1/3.1.0+20220305/google_mybusinessnotifications1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-mybusinessnotifications1/3.0.0+20220305/google_mybusinessnotifications1/client::RequestValue) and -[decodable](https://docs.rs/google-mybusinessnotifications1/3.0.0+20220305/google_mybusinessnotifications1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-mybusinessnotifications1/3.1.0+20220305/google_mybusinessnotifications1/client::RequestValue) and +[decodable](https://docs.rs/google-mybusinessnotifications1/3.1.0+20220305/google_mybusinessnotifications1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-mybusinessnotifications1/3.0.0+20220305/google_mybusinessnotifications1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-mybusinessnotifications1/3.1.0+20220305/google_mybusinessnotifications1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-mybusinessnotifications1/3.0.0+20220305/google_mybusinessnotifications1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-mybusinessnotifications1/3.1.0+20220305/google_mybusinessnotifications1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-mybusinessnotifications1/3.0.0+20220305/google_mybusinessnotifications1/client::RequestValue) are moved +* [request values](https://docs.rs/google-mybusinessnotifications1/3.1.0+20220305/google_mybusinessnotifications1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/mybusinessnotifications1/src/api.rs b/gen/mybusinessnotifications1/src/api.rs index b68656c4a2..dd98a174b9 100644 --- a/gen/mybusinessnotifications1/src/api.rs +++ b/gen/mybusinessnotifications1/src/api.rs @@ -49,7 +49,7 @@ use crate::client; /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = MyBusinessNotificationSettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = MyBusinessNotificationSettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -98,7 +98,7 @@ impl<'a, > MyBusinessNotificationSettings<> { MyBusinessNotificationSettings { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://mybusinessnotifications.googleapis.com/".to_string(), _root_url: "https://mybusinessnotifications.googleapis.com/".to_string(), } @@ -109,7 +109,7 @@ impl<'a, > MyBusinessNotificationSettings<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -189,7 +189,7 @@ impl client::ResponseResult for NotificationSetting {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = MyBusinessNotificationSettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = MyBusinessNotificationSettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get_notification_setting(...)` and `update_notification_setting(...)` /// // to build up your call. @@ -272,7 +272,7 @@ impl<'a> AccountMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessNotificationSettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessNotificationSettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -499,7 +499,7 @@ impl<'a> AccountGetNotificationSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessNotificationSettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessNotificationSettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/mybusinessnotifications1/src/lib.rs b/gen/mybusinessnotifications1/src/lib.rs index 1344f02e9f..edc4ccae6c 100644 --- a/gen/mybusinessnotifications1/src/lib.rs +++ b/gen/mybusinessnotifications1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *My Business Notification Settings* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *mybusinessnotifications:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *My Business Notification Settings* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *mybusinessnotifications:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *My Business Notification Settings* *v1* API can be found at the //! [official documentation site](https://developers.google.com/my-business/). @@ -93,7 +93,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = MyBusinessNotificationSettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = MyBusinessNotificationSettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/mybusinessplaceactions1-cli/Cargo.toml b/gen/mybusinessplaceactions1-cli/Cargo.toml index 66717818b4..0a48d8354c 100644 --- a/gen/mybusinessplaceactions1-cli/Cargo.toml +++ b/gen/mybusinessplaceactions1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-mybusinessplaceactions1-cli" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with My Business Place Actions (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/mybusinessplaceactions1-cli" @@ -20,12 +20,12 @@ name = "mybusinessplaceactions1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-mybusinessplaceactions1] path = "../mybusinessplaceactions1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" diff --git a/gen/mybusinessplaceactions1-cli/README.md b/gen/mybusinessplaceactions1-cli/README.md index 5ffad5aa14..e2efdaeaff 100644 --- a/gen/mybusinessplaceactions1-cli/README.md +++ b/gen/mybusinessplaceactions1-cli/README.md @@ -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 *My Business Place Actions* API at revision *20220305*. The CLI is at version *3.0.0*. +This documentation was generated from the *My Business Place Actions* API at revision *20220305*. The CLI is at version *3.1.0*. ```bash mybusinessplaceactions1 [options] diff --git a/gen/mybusinessplaceactions1-cli/mkdocs.yml b/gen/mybusinessplaceactions1-cli/mkdocs.yml index fe2b657c78..9ca967ceb5 100644 --- a/gen/mybusinessplaceactions1-cli/mkdocs.yml +++ b/gen/mybusinessplaceactions1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: My Business Place Actions v3.0.0+20220305 +site_name: My Business Place Actions v3.1.0+20220305 site_url: http://byron.github.io/google-apis-rs/google-mybusinessplaceactions1-cli site_description: A complete library to interact with My Business Place Actions (protocol v1) diff --git a/gen/mybusinessplaceactions1-cli/src/main.rs b/gen/mybusinessplaceactions1-cli/src/main.rs index fd5691d6b9..4d4b9556aa 100644 --- a/gen/mybusinessplaceactions1-cli/src/main.rs +++ b/gen/mybusinessplaceactions1-cli/src/main.rs @@ -516,7 +516,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/mybusinessplaceactions1", 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::MyBusinessPlaceActions::new(client, auth), @@ -699,7 +705,7 @@ async fn main() { let mut app = App::new("mybusinessplaceactions1") .author("Sebastian Thiel ") - .version("3.0.0+20220305") + .version("3.1.0+20220305") .about("The My Business Place Actions API provides an interface for managing place action links of a location on Google.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_mybusinessplaceactions1_cli") .arg(Arg::with_name("folder") diff --git a/gen/mybusinessplaceactions1/Cargo.toml b/gen/mybusinessplaceactions1/Cargo.toml index 0bbb633d3d..a70bd8b32e 100644 --- a/gen/mybusinessplaceactions1/Cargo.toml +++ b/gen/mybusinessplaceactions1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-mybusinessplaceactions1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with My Business Place Actions (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/mybusinessplaceactions1" homepage = "https://developers.google.com/my-business/" -documentation = "https://docs.rs/google-mybusinessplaceactions1/3.0.0+20220305" +documentation = "https://docs.rs/google-mybusinessplaceactions1/3.1.0+20220305" license = "MIT" keywords = ["mybusinessplaceactio", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/mybusinessplaceactions1/README.md b/gen/mybusinessplaceactions1/README.md index 0b86083155..a54c009cdf 100644 --- a/gen/mybusinessplaceactions1/README.md +++ b/gen/mybusinessplaceactions1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-mybusinessplaceactions1` library allows access to all features of the *Google My Business Place Actions* service. -This documentation was generated from *My Business Place Actions* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *mybusinessplaceactions:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *My Business Place Actions* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *mybusinessplaceactions:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *My Business Place Actions* *v1* API can be found at the [official documentation site](https://developers.google.com/my-business/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-mybusinessplaceactions1/3.0.0+20220305/google_mybusinessplaceactions1/MyBusinessPlaceActions) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-mybusinessplaceactions1/3.1.0+20220305/google_mybusinessplaceactions1/MyBusinessPlaceActions) ... * locations - * [*place action links create*](https://docs.rs/google-mybusinessplaceactions1/3.0.0+20220305/google_mybusinessplaceactions1/api::LocationPlaceActionLinkCreateCall), [*place action links delete*](https://docs.rs/google-mybusinessplaceactions1/3.0.0+20220305/google_mybusinessplaceactions1/api::LocationPlaceActionLinkDeleteCall), [*place action links get*](https://docs.rs/google-mybusinessplaceactions1/3.0.0+20220305/google_mybusinessplaceactions1/api::LocationPlaceActionLinkGetCall), [*place action links list*](https://docs.rs/google-mybusinessplaceactions1/3.0.0+20220305/google_mybusinessplaceactions1/api::LocationPlaceActionLinkListCall) and [*place action links patch*](https://docs.rs/google-mybusinessplaceactions1/3.0.0+20220305/google_mybusinessplaceactions1/api::LocationPlaceActionLinkPatchCall) -* [place action type metadata](https://docs.rs/google-mybusinessplaceactions1/3.0.0+20220305/google_mybusinessplaceactions1/api::PlaceActionTypeMetadata) - * [*list*](https://docs.rs/google-mybusinessplaceactions1/3.0.0+20220305/google_mybusinessplaceactions1/api::PlaceActionTypeMetadataListCall) + * [*place action links create*](https://docs.rs/google-mybusinessplaceactions1/3.1.0+20220305/google_mybusinessplaceactions1/api::LocationPlaceActionLinkCreateCall), [*place action links delete*](https://docs.rs/google-mybusinessplaceactions1/3.1.0+20220305/google_mybusinessplaceactions1/api::LocationPlaceActionLinkDeleteCall), [*place action links get*](https://docs.rs/google-mybusinessplaceactions1/3.1.0+20220305/google_mybusinessplaceactions1/api::LocationPlaceActionLinkGetCall), [*place action links list*](https://docs.rs/google-mybusinessplaceactions1/3.1.0+20220305/google_mybusinessplaceactions1/api::LocationPlaceActionLinkListCall) and [*place action links patch*](https://docs.rs/google-mybusinessplaceactions1/3.1.0+20220305/google_mybusinessplaceactions1/api::LocationPlaceActionLinkPatchCall) +* [place action type metadata](https://docs.rs/google-mybusinessplaceactions1/3.1.0+20220305/google_mybusinessplaceactions1/api::PlaceActionTypeMetadata) + * [*list*](https://docs.rs/google-mybusinessplaceactions1/3.1.0+20220305/google_mybusinessplaceactions1/api::PlaceActionTypeMetadataListCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-mybusinessplaceactions1/3.0.0+20220305/google_mybusinessplaceactions1/MyBusinessPlaceActions)** +* **[Hub](https://docs.rs/google-mybusinessplaceactions1/3.1.0+20220305/google_mybusinessplaceactions1/MyBusinessPlaceActions)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-mybusinessplaceactions1/3.0.0+20220305/google_mybusinessplaceactions1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-mybusinessplaceactions1/3.0.0+20220305/google_mybusinessplaceactions1/client::CallBuilder) -* **[Resources](https://docs.rs/google-mybusinessplaceactions1/3.0.0+20220305/google_mybusinessplaceactions1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-mybusinessplaceactions1/3.1.0+20220305/google_mybusinessplaceactions1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-mybusinessplaceactions1/3.1.0+20220305/google_mybusinessplaceactions1/client::CallBuilder) +* **[Resources](https://docs.rs/google-mybusinessplaceactions1/3.1.0+20220305/google_mybusinessplaceactions1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-mybusinessplaceactions1/3.0.0+20220305/google_mybusinessplaceactions1/client::Part)** + * **[Parts](https://docs.rs/google-mybusinessplaceactions1/3.1.0+20220305/google_mybusinessplaceactions1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-mybusinessplaceactions1/3.0.0+20220305/google_mybusinessplaceactions1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-mybusinessplaceactions1/3.1.0+20220305/google_mybusinessplaceactions1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -95,7 +95,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = MyBusinessPlaceActions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = MyBusinessPlaceActions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -129,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-mybusinessplaceactions1/3.0.0+20220305/google_mybusinessplaceactions1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-mybusinessplaceactions1/3.1.0+20220305/google_mybusinessplaceactions1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-mybusinessplaceactions1/3.0.0+20220305/google_mybusinessplaceactions1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-mybusinessplaceactions1/3.1.0+20220305/google_mybusinessplaceactions1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-mybusinessplaceactions1/3.0.0+20220305/google_mybusinessplaceactions1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-mybusinessplaceactions1/3.1.0+20220305/google_mybusinessplaceactions1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-mybusinessplaceactions1/3.0.0+20220305/google_mybusinessplaceactions1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-mybusinessplaceactions1/3.1.0+20220305/google_mybusinessplaceactions1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -149,29 +149,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-mybusinessplaceactions1/3.0.0+20220305/google_mybusinessplaceactions1/client::Delegate) to the -[Method Builder](https://docs.rs/google-mybusinessplaceactions1/3.0.0+20220305/google_mybusinessplaceactions1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-mybusinessplaceactions1/3.1.0+20220305/google_mybusinessplaceactions1/client::Delegate) to the +[Method Builder](https://docs.rs/google-mybusinessplaceactions1/3.1.0+20220305/google_mybusinessplaceactions1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-mybusinessplaceactions1/3.0.0+20220305/google_mybusinessplaceactions1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-mybusinessplaceactions1/3.1.0+20220305/google_mybusinessplaceactions1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-mybusinessplaceactions1/3.0.0+20220305/google_mybusinessplaceactions1/client::RequestValue) and -[decodable](https://docs.rs/google-mybusinessplaceactions1/3.0.0+20220305/google_mybusinessplaceactions1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-mybusinessplaceactions1/3.1.0+20220305/google_mybusinessplaceactions1/client::RequestValue) and +[decodable](https://docs.rs/google-mybusinessplaceactions1/3.1.0+20220305/google_mybusinessplaceactions1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-mybusinessplaceactions1/3.0.0+20220305/google_mybusinessplaceactions1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-mybusinessplaceactions1/3.1.0+20220305/google_mybusinessplaceactions1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-mybusinessplaceactions1/3.0.0+20220305/google_mybusinessplaceactions1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-mybusinessplaceactions1/3.1.0+20220305/google_mybusinessplaceactions1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-mybusinessplaceactions1/3.0.0+20220305/google_mybusinessplaceactions1/client::RequestValue) are moved +* [request values](https://docs.rs/google-mybusinessplaceactions1/3.1.0+20220305/google_mybusinessplaceactions1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/mybusinessplaceactions1/src/api.rs b/gen/mybusinessplaceactions1/src/api.rs index 07475b07c3..cdf7371ec4 100644 --- a/gen/mybusinessplaceactions1/src/api.rs +++ b/gen/mybusinessplaceactions1/src/api.rs @@ -49,7 +49,7 @@ use crate::client; /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = MyBusinessPlaceActions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = MyBusinessPlaceActions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -98,7 +98,7 @@ impl<'a, > MyBusinessPlaceActions<> { MyBusinessPlaceActions { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://mybusinessplaceactions.googleapis.com/".to_string(), _root_url: "https://mybusinessplaceactions.googleapis.com/".to_string(), } @@ -112,7 +112,7 @@ impl<'a, > MyBusinessPlaceActions<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -283,7 +283,7 @@ impl client::Part for PlaceActionTypeMetadata {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = MyBusinessPlaceActions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = MyBusinessPlaceActions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `place_action_links_create(...)`, `place_action_links_delete(...)`, `place_action_links_get(...)`, `place_action_links_list(...)` and `place_action_links_patch(...)` /// // to build up your call. @@ -412,7 +412,7 @@ impl<'a> LocationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = MyBusinessPlaceActions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = MyBusinessPlaceActions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -476,7 +476,7 @@ impl<'a> PlaceActionTypeMetadataMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessPlaceActions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessPlaceActions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -731,7 +731,7 @@ impl<'a> LocationPlaceActionLinkCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessPlaceActions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessPlaceActions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -957,7 +957,7 @@ impl<'a> LocationPlaceActionLinkDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessPlaceActions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessPlaceActions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1183,7 +1183,7 @@ impl<'a> LocationPlaceActionLinkGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessPlaceActions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessPlaceActions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1446,7 +1446,7 @@ impl<'a> LocationPlaceActionLinkListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessPlaceActions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessPlaceActions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1713,7 +1713,7 @@ impl<'a> LocationPlaceActionLinkPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessPlaceActions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessPlaceActions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/mybusinessplaceactions1/src/lib.rs b/gen/mybusinessplaceactions1/src/lib.rs index 686e5809a5..8f8c881a4e 100644 --- a/gen/mybusinessplaceactions1/src/lib.rs +++ b/gen/mybusinessplaceactions1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *My Business Place Actions* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *mybusinessplaceactions:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *My Business Place Actions* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *mybusinessplaceactions:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *My Business Place Actions* *v1* API can be found at the //! [official documentation site](https://developers.google.com/my-business/). @@ -96,7 +96,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = MyBusinessPlaceActions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = MyBusinessPlaceActions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/mybusinessverifications1-cli/Cargo.toml b/gen/mybusinessverifications1-cli/Cargo.toml index d650ac3b29..fb16a1f2fa 100644 --- a/gen/mybusinessverifications1-cli/Cargo.toml +++ b/gen/mybusinessverifications1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-mybusinessverifications1-cli" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with My Business Verifications (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/mybusinessverifications1-cli" @@ -20,12 +20,12 @@ name = "mybusinessverifications1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-mybusinessverifications1] path = "../mybusinessverifications1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" diff --git a/gen/mybusinessverifications1-cli/README.md b/gen/mybusinessverifications1-cli/README.md index e755a9e378..d62abecaf1 100644 --- a/gen/mybusinessverifications1-cli/README.md +++ b/gen/mybusinessverifications1-cli/README.md @@ -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 *My Business Verifications* API at revision *20220305*. The CLI is at version *3.0.0*. +This documentation was generated from the *My Business Verifications* API at revision *20220305*. The CLI is at version *3.1.0*. ```bash mybusinessverifications1 [options] diff --git a/gen/mybusinessverifications1-cli/mkdocs.yml b/gen/mybusinessverifications1-cli/mkdocs.yml index bb7ae3544f..5eac233d67 100644 --- a/gen/mybusinessverifications1-cli/mkdocs.yml +++ b/gen/mybusinessverifications1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: My Business Verifications v3.0.0+20220305 +site_name: My Business Verifications v3.1.0+20220305 site_url: http://byron.github.io/google-apis-rs/google-mybusinessverifications1-cli site_description: A complete library to interact with My Business Verifications (protocol v1) diff --git a/gen/mybusinessverifications1-cli/src/main.rs b/gen/mybusinessverifications1-cli/src/main.rs index 8f8c123da9..8faeaab236 100644 --- a/gen/mybusinessverifications1-cli/src/main.rs +++ b/gen/mybusinessverifications1-cli/src/main.rs @@ -589,7 +589,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/mybusinessverifications1", 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::MyBusinessVerifications::new(client, auth), @@ -784,7 +790,7 @@ async fn main() { let mut app = App::new("mybusinessverifications1") .author("Sebastian Thiel ") - .version("3.0.0+20220305") + .version("3.1.0+20220305") .about("The My Business Verifications API provides an interface for taking verifications related actions for locations.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_mybusinessverifications1_cli") .arg(Arg::with_name("folder") diff --git a/gen/mybusinessverifications1/Cargo.toml b/gen/mybusinessverifications1/Cargo.toml index c430c39d70..72ac8b95df 100644 --- a/gen/mybusinessverifications1/Cargo.toml +++ b/gen/mybusinessverifications1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-mybusinessverifications1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with My Business Verifications (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/mybusinessverifications1" homepage = "https://developers.google.com/my-business/" -documentation = "https://docs.rs/google-mybusinessverifications1/3.0.0+20220305" +documentation = "https://docs.rs/google-mybusinessverifications1/3.1.0+20220305" license = "MIT" keywords = ["mybusinessverificati", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/mybusinessverifications1/README.md b/gen/mybusinessverifications1/README.md index 657732919e..eedf792222 100644 --- a/gen/mybusinessverifications1/README.md +++ b/gen/mybusinessverifications1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-mybusinessverifications1` library allows access to all features of the *Google My Business Verifications* service. -This documentation was generated from *My Business Verifications* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *mybusinessverifications:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *My Business Verifications* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *mybusinessverifications:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *My Business Verifications* *v1* API can be found at the [official documentation site](https://developers.google.com/my-business/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-mybusinessverifications1/3.0.0+20220305/google_mybusinessverifications1/MyBusinessVerifications) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-mybusinessverifications1/3.1.0+20220305/google_mybusinessverifications1/MyBusinessVerifications) ... -* [locations](https://docs.rs/google-mybusinessverifications1/3.0.0+20220305/google_mybusinessverifications1/api::Location) - * [*fetch verification options*](https://docs.rs/google-mybusinessverifications1/3.0.0+20220305/google_mybusinessverifications1/api::LocationFetchVerificationOptionCall), [*get voice of merchant state*](https://docs.rs/google-mybusinessverifications1/3.0.0+20220305/google_mybusinessverifications1/api::LocationGetVoiceOfMerchantStateCall), [*verifications complete*](https://docs.rs/google-mybusinessverifications1/3.0.0+20220305/google_mybusinessverifications1/api::LocationVerificationCompleteCall), [*verifications list*](https://docs.rs/google-mybusinessverifications1/3.0.0+20220305/google_mybusinessverifications1/api::LocationVerificationListCall) and [*verify*](https://docs.rs/google-mybusinessverifications1/3.0.0+20220305/google_mybusinessverifications1/api::LocationVerifyCall) -* [verification tokens](https://docs.rs/google-mybusinessverifications1/3.0.0+20220305/google_mybusinessverifications1/api::VerificationToken) - * [*generate*](https://docs.rs/google-mybusinessverifications1/3.0.0+20220305/google_mybusinessverifications1/api::VerificationTokenGenerateCall) +* [locations](https://docs.rs/google-mybusinessverifications1/3.1.0+20220305/google_mybusinessverifications1/api::Location) + * [*fetch verification options*](https://docs.rs/google-mybusinessverifications1/3.1.0+20220305/google_mybusinessverifications1/api::LocationFetchVerificationOptionCall), [*get voice of merchant state*](https://docs.rs/google-mybusinessverifications1/3.1.0+20220305/google_mybusinessverifications1/api::LocationGetVoiceOfMerchantStateCall), [*verifications complete*](https://docs.rs/google-mybusinessverifications1/3.1.0+20220305/google_mybusinessverifications1/api::LocationVerificationCompleteCall), [*verifications list*](https://docs.rs/google-mybusinessverifications1/3.1.0+20220305/google_mybusinessverifications1/api::LocationVerificationListCall) and [*verify*](https://docs.rs/google-mybusinessverifications1/3.1.0+20220305/google_mybusinessverifications1/api::LocationVerifyCall) +* [verification tokens](https://docs.rs/google-mybusinessverifications1/3.1.0+20220305/google_mybusinessverifications1/api::VerificationToken) + * [*generate*](https://docs.rs/google-mybusinessverifications1/3.1.0+20220305/google_mybusinessverifications1/api::VerificationTokenGenerateCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-mybusinessverifications1/3.0.0+20220305/google_mybusinessverifications1/MyBusinessVerifications)** +* **[Hub](https://docs.rs/google-mybusinessverifications1/3.1.0+20220305/google_mybusinessverifications1/MyBusinessVerifications)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-mybusinessverifications1/3.0.0+20220305/google_mybusinessverifications1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-mybusinessverifications1/3.0.0+20220305/google_mybusinessverifications1/client::CallBuilder) -* **[Resources](https://docs.rs/google-mybusinessverifications1/3.0.0+20220305/google_mybusinessverifications1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-mybusinessverifications1/3.1.0+20220305/google_mybusinessverifications1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-mybusinessverifications1/3.1.0+20220305/google_mybusinessverifications1/client::CallBuilder) +* **[Resources](https://docs.rs/google-mybusinessverifications1/3.1.0+20220305/google_mybusinessverifications1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-mybusinessverifications1/3.0.0+20220305/google_mybusinessverifications1/client::Part)** + * **[Parts](https://docs.rs/google-mybusinessverifications1/3.1.0+20220305/google_mybusinessverifications1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-mybusinessverifications1/3.0.0+20220305/google_mybusinessverifications1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-mybusinessverifications1/3.1.0+20220305/google_mybusinessverifications1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -96,7 +96,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = MyBusinessVerifications::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = MyBusinessVerifications::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -126,17 +126,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-mybusinessverifications1/3.0.0+20220305/google_mybusinessverifications1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-mybusinessverifications1/3.1.0+20220305/google_mybusinessverifications1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-mybusinessverifications1/3.0.0+20220305/google_mybusinessverifications1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-mybusinessverifications1/3.1.0+20220305/google_mybusinessverifications1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-mybusinessverifications1/3.0.0+20220305/google_mybusinessverifications1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-mybusinessverifications1/3.1.0+20220305/google_mybusinessverifications1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-mybusinessverifications1/3.0.0+20220305/google_mybusinessverifications1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-mybusinessverifications1/3.1.0+20220305/google_mybusinessverifications1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -146,29 +146,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-mybusinessverifications1/3.0.0+20220305/google_mybusinessverifications1/client::Delegate) to the -[Method Builder](https://docs.rs/google-mybusinessverifications1/3.0.0+20220305/google_mybusinessverifications1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-mybusinessverifications1/3.1.0+20220305/google_mybusinessverifications1/client::Delegate) to the +[Method Builder](https://docs.rs/google-mybusinessverifications1/3.1.0+20220305/google_mybusinessverifications1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-mybusinessverifications1/3.0.0+20220305/google_mybusinessverifications1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-mybusinessverifications1/3.1.0+20220305/google_mybusinessverifications1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-mybusinessverifications1/3.0.0+20220305/google_mybusinessverifications1/client::RequestValue) and -[decodable](https://docs.rs/google-mybusinessverifications1/3.0.0+20220305/google_mybusinessverifications1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-mybusinessverifications1/3.1.0+20220305/google_mybusinessverifications1/client::RequestValue) and +[decodable](https://docs.rs/google-mybusinessverifications1/3.1.0+20220305/google_mybusinessverifications1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-mybusinessverifications1/3.0.0+20220305/google_mybusinessverifications1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-mybusinessverifications1/3.1.0+20220305/google_mybusinessverifications1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-mybusinessverifications1/3.0.0+20220305/google_mybusinessverifications1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-mybusinessverifications1/3.1.0+20220305/google_mybusinessverifications1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-mybusinessverifications1/3.0.0+20220305/google_mybusinessverifications1/client::RequestValue) are moved +* [request values](https://docs.rs/google-mybusinessverifications1/3.1.0+20220305/google_mybusinessverifications1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/mybusinessverifications1/src/api.rs b/gen/mybusinessverifications1/src/api.rs index 4a4e4062f6..dc02a38b26 100644 --- a/gen/mybusinessverifications1/src/api.rs +++ b/gen/mybusinessverifications1/src/api.rs @@ -48,7 +48,7 @@ use crate::client; /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = MyBusinessVerifications::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = MyBusinessVerifications::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -93,7 +93,7 @@ impl<'a, > MyBusinessVerifications<> { MyBusinessVerifications { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://mybusinessverifications.googleapis.com/".to_string(), _root_url: "https://mybusinessverifications.googleapis.com/".to_string(), } @@ -107,7 +107,7 @@ impl<'a, > MyBusinessVerifications<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -605,7 +605,7 @@ impl client::Part for WaitForVoiceOfMerchant {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = MyBusinessVerifications::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = MyBusinessVerifications::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `fetch_verification_options(...)`, `get_voice_of_merchant_state(...)`, `verifications_complete(...)`, `verifications_list(...)` and `verify(...)` /// // to build up your call. @@ -734,7 +734,7 @@ impl<'a> LocationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = MyBusinessVerifications::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = MyBusinessVerifications::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `generate(...)` /// // to build up your call. @@ -799,7 +799,7 @@ impl<'a> VerificationTokenMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessVerifications::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessVerifications::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1054,7 +1054,7 @@ impl<'a> LocationVerificationCompleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessVerifications::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessVerifications::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1305,7 +1305,7 @@ impl<'a> LocationVerificationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessVerifications::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessVerifications::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1560,7 +1560,7 @@ impl<'a> LocationFetchVerificationOptionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessVerifications::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessVerifications::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1787,7 +1787,7 @@ impl<'a> LocationGetVoiceOfMerchantStateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessVerifications::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessVerifications::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2043,7 +2043,7 @@ impl<'a> LocationVerifyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = MyBusinessVerifications::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = MyBusinessVerifications::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/mybusinessverifications1/src/lib.rs b/gen/mybusinessverifications1/src/lib.rs index 6cf92f3be6..1b5aec590d 100644 --- a/gen/mybusinessverifications1/src/lib.rs +++ b/gen/mybusinessverifications1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *My Business Verifications* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *mybusinessverifications:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *My Business Verifications* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *mybusinessverifications:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *My Business Verifications* *v1* API can be found at the //! [official documentation site](https://developers.google.com/my-business/). @@ -97,7 +97,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = MyBusinessVerifications::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = MyBusinessVerifications::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/networkconnectivity1-cli/Cargo.toml b/gen/networkconnectivity1-cli/Cargo.toml index ca5909558b..4b660446c5 100644 --- a/gen/networkconnectivity1-cli/Cargo.toml +++ b/gen/networkconnectivity1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-networkconnectivity1-cli" -version = "3.0.0+20220210" +version = "3.1.0+20220210" authors = ["Sebastian Thiel "] description = "A complete library to interact with networkconnectivity (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/networkconnectivity1-cli" @@ -20,12 +20,12 @@ name = "networkconnectivity1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-networkconnectivity1] path = "../networkconnectivity1" -version = "3.0.0+20220210" +version = "3.1.0+20220210" diff --git a/gen/networkconnectivity1-cli/README.md b/gen/networkconnectivity1-cli/README.md index 940d1bb64d..aab781de9e 100644 --- a/gen/networkconnectivity1-cli/README.md +++ b/gen/networkconnectivity1-cli/README.md @@ -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 *networkconnectivity* API at revision *20220210*. The CLI is at version *3.0.0*. +This documentation was generated from the *networkconnectivity* API at revision *20220210*. The CLI is at version *3.1.0*. ```bash networkconnectivity1 [options] diff --git a/gen/networkconnectivity1-cli/mkdocs.yml b/gen/networkconnectivity1-cli/mkdocs.yml index f0225ada37..3e273a837e 100644 --- a/gen/networkconnectivity1-cli/mkdocs.yml +++ b/gen/networkconnectivity1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: networkconnectivity v3.0.0+20220210 +site_name: networkconnectivity v3.1.0+20220210 site_url: http://byron.github.io/google-apis-rs/google-networkconnectivity1-cli site_description: A complete library to interact with networkconnectivity (protocol v1) diff --git a/gen/networkconnectivity1-cli/src/main.rs b/gen/networkconnectivity1-cli/src/main.rs index 8fa11554cd..42a5863b4c 100644 --- a/gen/networkconnectivity1-cli/src/main.rs +++ b/gen/networkconnectivity1-cli/src/main.rs @@ -1962,7 +1962,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/networkconnectivity1", 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::Networkconnectivity::new(client, auth), @@ -2620,7 +2626,7 @@ async fn main() { let mut app = App::new("networkconnectivity1") .author("Sebastian Thiel ") - .version("3.0.0+20220210") + .version("3.1.0+20220210") .about("The Network Connectivity API provides access to Network Connectivity Center.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_networkconnectivity1_cli") .arg(Arg::with_name("url") diff --git a/gen/networkconnectivity1/Cargo.toml b/gen/networkconnectivity1/Cargo.toml index 3638950875..79741b8939 100644 --- a/gen/networkconnectivity1/Cargo.toml +++ b/gen/networkconnectivity1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-networkconnectivity1" -version = "3.0.0+20220210" +version = "3.1.0+20220210" authors = ["Sebastian Thiel "] description = "A complete library to interact with networkconnectivity (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/networkconnectivity1" homepage = "https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest" -documentation = "https://docs.rs/google-networkconnectivity1/3.0.0+20220210" +documentation = "https://docs.rs/google-networkconnectivity1/3.1.0+20220210" license = "MIT" keywords = ["networkconnectivity", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/networkconnectivity1/README.md b/gen/networkconnectivity1/README.md index b6d2c207c9..68a27d759e 100644 --- a/gen/networkconnectivity1/README.md +++ b/gen/networkconnectivity1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-networkconnectivity1` library allows access to all features of the *Google networkconnectivity* service. -This documentation was generated from *networkconnectivity* crate version *3.0.0+20220210*, where *20220210* is the exact revision of the *networkconnectivity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *networkconnectivity* crate version *3.1.0+20220210*, where *20220210* is the exact revision of the *networkconnectivity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *networkconnectivity* *v1* API can be found at the [official documentation site](https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/Networkconnectivity) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/Networkconnectivity) ... * projects - * [*locations get*](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/api::ProjectLocationGetCall), [*locations global hubs create*](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/api::ProjectLocationGlobalHubCreateCall), [*locations global hubs delete*](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/api::ProjectLocationGlobalHubDeleteCall), [*locations global hubs get*](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/api::ProjectLocationGlobalHubGetCall), [*locations global hubs get iam policy*](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/api::ProjectLocationGlobalHubGetIamPolicyCall), [*locations global hubs list*](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/api::ProjectLocationGlobalHubListCall), [*locations global hubs patch*](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/api::ProjectLocationGlobalHubPatchCall), [*locations global hubs set iam policy*](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/api::ProjectLocationGlobalHubSetIamPolicyCall), [*locations global hubs test iam permissions*](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/api::ProjectLocationGlobalHubTestIamPermissionCall), [*locations global policy based routes get iam policy*](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/api::ProjectLocationGlobalPolicyBasedRouteGetIamPolicyCall), [*locations global policy based routes set iam policy*](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/api::ProjectLocationGlobalPolicyBasedRouteSetIamPolicyCall), [*locations global policy based routes test iam permissions*](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/api::ProjectLocationGlobalPolicyBasedRouteTestIamPermissionCall), [*locations list*](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/api::ProjectLocationOperationListCall), [*locations spokes create*](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/api::ProjectLocationSpokeCreateCall), [*locations spokes delete*](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/api::ProjectLocationSpokeDeleteCall), [*locations spokes get*](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/api::ProjectLocationSpokeGetCall), [*locations spokes get iam policy*](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/api::ProjectLocationSpokeGetIamPolicyCall), [*locations spokes list*](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/api::ProjectLocationSpokeListCall), [*locations spokes patch*](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/api::ProjectLocationSpokePatchCall), [*locations spokes set iam policy*](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/api::ProjectLocationSpokeSetIamPolicyCall) and [*locations spokes test iam permissions*](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/api::ProjectLocationSpokeTestIamPermissionCall) + * [*locations get*](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/api::ProjectLocationGetCall), [*locations global hubs create*](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/api::ProjectLocationGlobalHubCreateCall), [*locations global hubs delete*](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/api::ProjectLocationGlobalHubDeleteCall), [*locations global hubs get*](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/api::ProjectLocationGlobalHubGetCall), [*locations global hubs get iam policy*](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/api::ProjectLocationGlobalHubGetIamPolicyCall), [*locations global hubs list*](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/api::ProjectLocationGlobalHubListCall), [*locations global hubs patch*](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/api::ProjectLocationGlobalHubPatchCall), [*locations global hubs set iam policy*](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/api::ProjectLocationGlobalHubSetIamPolicyCall), [*locations global hubs test iam permissions*](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/api::ProjectLocationGlobalHubTestIamPermissionCall), [*locations global policy based routes get iam policy*](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/api::ProjectLocationGlobalPolicyBasedRouteGetIamPolicyCall), [*locations global policy based routes set iam policy*](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/api::ProjectLocationGlobalPolicyBasedRouteSetIamPolicyCall), [*locations global policy based routes test iam permissions*](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/api::ProjectLocationGlobalPolicyBasedRouteTestIamPermissionCall), [*locations list*](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/api::ProjectLocationOperationListCall), [*locations spokes create*](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/api::ProjectLocationSpokeCreateCall), [*locations spokes delete*](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/api::ProjectLocationSpokeDeleteCall), [*locations spokes get*](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/api::ProjectLocationSpokeGetCall), [*locations spokes get iam policy*](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/api::ProjectLocationSpokeGetIamPolicyCall), [*locations spokes list*](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/api::ProjectLocationSpokeListCall), [*locations spokes patch*](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/api::ProjectLocationSpokePatchCall), [*locations spokes set iam policy*](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/api::ProjectLocationSpokeSetIamPolicyCall) and [*locations spokes test iam permissions*](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/api::ProjectLocationSpokeTestIamPermissionCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/Networkconnectivity)** +* **[Hub](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/Networkconnectivity)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/client::CallBuilder) -* **[Resources](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/client::CallBuilder) +* **[Resources](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/client::Part)** + * **[Parts](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -97,7 +97,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -152,29 +152,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/client::Delegate) to the -[Method Builder](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/client::Delegate) to the +[Method Builder](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/client::RequestValue) and -[decodable](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/client::RequestValue) and +[decodable](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-networkconnectivity1/3.0.0+20220210/google_networkconnectivity1/client::RequestValue) are moved +* [request values](https://docs.rs/google-networkconnectivity1/3.1.0+20220210/google_networkconnectivity1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/networkconnectivity1/src/api.rs b/gen/networkconnectivity1/src/api.rs index 7be32c7f42..b3d352010b 100644 --- a/gen/networkconnectivity1/src/api.rs +++ b/gen/networkconnectivity1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -121,7 +121,7 @@ impl<'a, > Networkconnectivity<> { Networkconnectivity { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://networkconnectivity.googleapis.com/".to_string(), _root_url: "https://networkconnectivity.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > Networkconnectivity<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -711,7 +711,7 @@ impl client::ResponseResult for TestIamPermissionsResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_get(...)`, `locations_global_hubs_create(...)`, `locations_global_hubs_delete(...)`, `locations_global_hubs_get(...)`, `locations_global_hubs_get_iam_policy(...)`, `locations_global_hubs_list(...)`, `locations_global_hubs_patch(...)`, `locations_global_hubs_set_iam_policy(...)`, `locations_global_hubs_test_iam_permissions(...)`, `locations_global_policy_based_routes_get_iam_policy(...)`, `locations_global_policy_based_routes_set_iam_policy(...)`, `locations_global_policy_based_routes_test_iam_permissions(...)`, `locations_list(...)`, `locations_operations_cancel(...)`, `locations_operations_delete(...)`, `locations_operations_get(...)`, `locations_operations_list(...)`, `locations_spokes_create(...)`, `locations_spokes_delete(...)`, `locations_spokes_get(...)`, `locations_spokes_get_iam_policy(...)`, `locations_spokes_list(...)`, `locations_spokes_patch(...)`, `locations_spokes_set_iam_policy(...)` and `locations_spokes_test_iam_permissions(...)` /// // to build up your call. @@ -1234,7 +1234,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1543,7 +1543,7 @@ impl<'a> ProjectLocationGlobalHubCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1811,7 +1811,7 @@ impl<'a> ProjectLocationGlobalHubDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2067,7 +2067,7 @@ impl<'a> ProjectLocationGlobalHubGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2335,7 +2335,7 @@ impl<'a> ProjectLocationGlobalHubGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2640,7 +2640,7 @@ impl<'a> ProjectLocationGlobalHubListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2950,7 +2950,7 @@ impl<'a> ProjectLocationGlobalHubPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3236,7 +3236,7 @@ impl<'a> ProjectLocationGlobalHubSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3521,7 +3521,7 @@ impl<'a> ProjectLocationGlobalHubTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3790,7 +3790,7 @@ impl<'a> ProjectLocationGlobalPolicyBasedRouteGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4076,7 +4076,7 @@ impl<'a> ProjectLocationGlobalPolicyBasedRouteSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4362,7 +4362,7 @@ impl<'a> ProjectLocationGlobalPolicyBasedRouteTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4647,7 +4647,7 @@ impl<'a> ProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4903,7 +4903,7 @@ impl<'a> ProjectLocationOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5159,7 +5159,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5452,7 +5452,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5761,7 +5761,7 @@ impl<'a> ProjectLocationSpokeCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6029,7 +6029,7 @@ impl<'a> ProjectLocationSpokeDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6285,7 +6285,7 @@ impl<'a> ProjectLocationSpokeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6553,7 +6553,7 @@ impl<'a> ProjectLocationSpokeGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6858,7 +6858,7 @@ impl<'a> ProjectLocationSpokeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7168,7 +7168,7 @@ impl<'a> ProjectLocationSpokePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7454,7 +7454,7 @@ impl<'a> ProjectLocationSpokeSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7739,7 +7739,7 @@ impl<'a> ProjectLocationSpokeTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7995,7 +7995,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/networkconnectivity1/src/lib.rs b/gen/networkconnectivity1/src/lib.rs index e040678c95..8c8292ce98 100644 --- a/gen/networkconnectivity1/src/lib.rs +++ b/gen/networkconnectivity1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *networkconnectivity* crate version *3.0.0+20220210*, where *20220210* is the exact revision of the *networkconnectivity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *networkconnectivity* crate version *3.1.0+20220210*, where *20220210* is the exact revision of the *networkconnectivity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *networkconnectivity* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest). @@ -98,7 +98,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/networkconnectivity1_alpha1-cli/Cargo.toml b/gen/networkconnectivity1_alpha1-cli/Cargo.toml index b8ce5e5fd8..cb4964de1f 100644 --- a/gen/networkconnectivity1_alpha1-cli/Cargo.toml +++ b/gen/networkconnectivity1_alpha1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-networkconnectivity1_alpha1-cli" -version = "3.0.0+20220210" +version = "3.1.0+20220210" authors = ["Sebastian Thiel "] description = "A complete library to interact with networkconnectivity (protocol v1alpha1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/networkconnectivity1_alpha1-cli" @@ -20,12 +20,12 @@ name = "networkconnectivity1-alpha1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-networkconnectivity1_alpha1] path = "../networkconnectivity1_alpha1" -version = "3.0.0+20220210" +version = "3.1.0+20220210" diff --git a/gen/networkconnectivity1_alpha1-cli/README.md b/gen/networkconnectivity1_alpha1-cli/README.md index f37397342a..a4757e989f 100644 --- a/gen/networkconnectivity1_alpha1-cli/README.md +++ b/gen/networkconnectivity1_alpha1-cli/README.md @@ -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 *networkconnectivity* API at revision *20220210*. The CLI is at version *3.0.0*. +This documentation was generated from the *networkconnectivity* API at revision *20220210*. The CLI is at version *3.1.0*. ```bash networkconnectivity1-alpha1 [options] diff --git a/gen/networkconnectivity1_alpha1-cli/mkdocs.yml b/gen/networkconnectivity1_alpha1-cli/mkdocs.yml index 93b4459367..ed8e077b9d 100644 --- a/gen/networkconnectivity1_alpha1-cli/mkdocs.yml +++ b/gen/networkconnectivity1_alpha1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: networkconnectivity v3.0.0+20220210 +site_name: networkconnectivity v3.1.0+20220210 site_url: http://byron.github.io/google-apis-rs/google-networkconnectivity1_alpha1-cli site_description: A complete library to interact with networkconnectivity (protocol v1alpha1) diff --git a/gen/networkconnectivity1_alpha1-cli/src/main.rs b/gen/networkconnectivity1_alpha1-cli/src/main.rs index 6385f14d0f..75f762347f 100644 --- a/gen/networkconnectivity1_alpha1-cli/src/main.rs +++ b/gen/networkconnectivity1_alpha1-cli/src/main.rs @@ -1958,7 +1958,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/networkconnectivity1-alpha1", 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::Networkconnectivity::new(client, auth), @@ -2616,7 +2622,7 @@ async fn main() { let mut app = App::new("networkconnectivity1-alpha1") .author("Sebastian Thiel ") - .version("3.0.0+20220210") + .version("3.1.0+20220210") .about("The Network Connectivity API provides access to Network Connectivity Center.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_networkconnectivity1_alpha1_cli") .arg(Arg::with_name("url") diff --git a/gen/networkconnectivity1_alpha1/Cargo.toml b/gen/networkconnectivity1_alpha1/Cargo.toml index c4b89b01e0..8c86046ed0 100644 --- a/gen/networkconnectivity1_alpha1/Cargo.toml +++ b/gen/networkconnectivity1_alpha1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-networkconnectivity1_alpha1" -version = "3.0.0+20220210" +version = "3.1.0+20220210" authors = ["Sebastian Thiel "] description = "A complete library to interact with networkconnectivity (protocol v1alpha1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/networkconnectivity1_alpha1" homepage = "https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest" -documentation = "https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210" +documentation = "https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210" license = "MIT" keywords = ["networkconnectivity", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/networkconnectivity1_alpha1/README.md b/gen/networkconnectivity1_alpha1/README.md index e2737febcb..9c456fc8cf 100644 --- a/gen/networkconnectivity1_alpha1/README.md +++ b/gen/networkconnectivity1_alpha1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-networkconnectivity1_alpha1` library allows access to all features of the *Google networkconnectivity* service. -This documentation was generated from *networkconnectivity* crate version *3.0.0+20220210*, where *20220210* is the exact revision of the *networkconnectivity:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *networkconnectivity* crate version *3.1.0+20220210*, where *20220210* is the exact revision of the *networkconnectivity:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *networkconnectivity* *v1_alpha1* API can be found at the [official documentation site](https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/Networkconnectivity) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/Networkconnectivity) ... * projects - * [*locations get*](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationGetCall), [*locations global hubs create*](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationGlobalHubCreateCall), [*locations global hubs delete*](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationGlobalHubDeleteCall), [*locations global hubs get*](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationGlobalHubGetCall), [*locations global hubs get iam policy*](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationGlobalHubGetIamPolicyCall), [*locations global hubs list*](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationGlobalHubListCall), [*locations global hubs patch*](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationGlobalHubPatchCall), [*locations global hubs set iam policy*](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationGlobalHubSetIamPolicyCall), [*locations global hubs test iam permissions*](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationGlobalHubTestIamPermissionCall), [*locations internal ranges get iam policy*](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationInternalRangeGetIamPolicyCall), [*locations internal ranges set iam policy*](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationInternalRangeSetIamPolicyCall), [*locations internal ranges test iam permissions*](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationInternalRangeTestIamPermissionCall), [*locations list*](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationOperationListCall), [*locations spokes create*](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationSpokeCreateCall), [*locations spokes delete*](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationSpokeDeleteCall), [*locations spokes get*](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationSpokeGetCall), [*locations spokes get iam policy*](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationSpokeGetIamPolicyCall), [*locations spokes list*](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationSpokeListCall), [*locations spokes patch*](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationSpokePatchCall), [*locations spokes set iam policy*](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationSpokeSetIamPolicyCall) and [*locations spokes test iam permissions*](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationSpokeTestIamPermissionCall) + * [*locations get*](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationGetCall), [*locations global hubs create*](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationGlobalHubCreateCall), [*locations global hubs delete*](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationGlobalHubDeleteCall), [*locations global hubs get*](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationGlobalHubGetCall), [*locations global hubs get iam policy*](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationGlobalHubGetIamPolicyCall), [*locations global hubs list*](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationGlobalHubListCall), [*locations global hubs patch*](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationGlobalHubPatchCall), [*locations global hubs set iam policy*](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationGlobalHubSetIamPolicyCall), [*locations global hubs test iam permissions*](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationGlobalHubTestIamPermissionCall), [*locations internal ranges get iam policy*](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationInternalRangeGetIamPolicyCall), [*locations internal ranges set iam policy*](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationInternalRangeSetIamPolicyCall), [*locations internal ranges test iam permissions*](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationInternalRangeTestIamPermissionCall), [*locations list*](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationOperationListCall), [*locations spokes create*](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationSpokeCreateCall), [*locations spokes delete*](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationSpokeDeleteCall), [*locations spokes get*](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationSpokeGetCall), [*locations spokes get iam policy*](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationSpokeGetIamPolicyCall), [*locations spokes list*](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationSpokeListCall), [*locations spokes patch*](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationSpokePatchCall), [*locations spokes set iam policy*](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationSpokeSetIamPolicyCall) and [*locations spokes test iam permissions*](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/api::ProjectLocationSpokeTestIamPermissionCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/Networkconnectivity)** +* **[Hub](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/Networkconnectivity)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/client::CallBuilder) -* **[Resources](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/client::CallBuilder) +* **[Resources](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/client::Part)** + * **[Parts](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -97,7 +97,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -152,29 +152,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/client::Delegate) to the -[Method Builder](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/client::Delegate) to the +[Method Builder](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/client::RequestValue) and -[decodable](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/client::RequestValue) and +[decodable](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-networkconnectivity1_alpha1/3.0.0+20220210/google_networkconnectivity1_alpha1/client::RequestValue) are moved +* [request values](https://docs.rs/google-networkconnectivity1_alpha1/3.1.0+20220210/google_networkconnectivity1_alpha1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/networkconnectivity1_alpha1/src/api.rs b/gen/networkconnectivity1_alpha1/src/api.rs index d9539798dc..75f3b953f2 100644 --- a/gen/networkconnectivity1_alpha1/src/api.rs +++ b/gen/networkconnectivity1_alpha1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -121,7 +121,7 @@ impl<'a, > Networkconnectivity<> { Networkconnectivity { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://networkconnectivity.googleapis.com/".to_string(), _root_url: "https://networkconnectivity.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > Networkconnectivity<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -649,7 +649,7 @@ impl client::ResponseResult for TestIamPermissionsResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_get(...)`, `locations_global_hubs_create(...)`, `locations_global_hubs_delete(...)`, `locations_global_hubs_get(...)`, `locations_global_hubs_get_iam_policy(...)`, `locations_global_hubs_list(...)`, `locations_global_hubs_patch(...)`, `locations_global_hubs_set_iam_policy(...)`, `locations_global_hubs_test_iam_permissions(...)`, `locations_internal_ranges_get_iam_policy(...)`, `locations_internal_ranges_set_iam_policy(...)`, `locations_internal_ranges_test_iam_permissions(...)`, `locations_list(...)`, `locations_operations_cancel(...)`, `locations_operations_delete(...)`, `locations_operations_get(...)`, `locations_operations_list(...)`, `locations_spokes_create(...)`, `locations_spokes_delete(...)`, `locations_spokes_get(...)`, `locations_spokes_get_iam_policy(...)`, `locations_spokes_list(...)`, `locations_spokes_patch(...)`, `locations_spokes_set_iam_policy(...)` and `locations_spokes_test_iam_permissions(...)` /// // to build up your call. @@ -1172,7 +1172,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1481,7 +1481,7 @@ impl<'a> ProjectLocationGlobalHubCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1749,7 +1749,7 @@ impl<'a> ProjectLocationGlobalHubDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2005,7 +2005,7 @@ impl<'a> ProjectLocationGlobalHubGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2273,7 +2273,7 @@ impl<'a> ProjectLocationGlobalHubGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2578,7 +2578,7 @@ impl<'a> ProjectLocationGlobalHubListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2888,7 +2888,7 @@ impl<'a> ProjectLocationGlobalHubPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3174,7 +3174,7 @@ impl<'a> ProjectLocationGlobalHubSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3459,7 +3459,7 @@ impl<'a> ProjectLocationGlobalHubTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3728,7 +3728,7 @@ impl<'a> ProjectLocationInternalRangeGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4014,7 +4014,7 @@ impl<'a> ProjectLocationInternalRangeSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4300,7 +4300,7 @@ impl<'a> ProjectLocationInternalRangeTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4585,7 +4585,7 @@ impl<'a> ProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4841,7 +4841,7 @@ impl<'a> ProjectLocationOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5097,7 +5097,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5390,7 +5390,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5699,7 +5699,7 @@ impl<'a> ProjectLocationSpokeCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5967,7 +5967,7 @@ impl<'a> ProjectLocationSpokeDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6223,7 +6223,7 @@ impl<'a> ProjectLocationSpokeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6491,7 +6491,7 @@ impl<'a> ProjectLocationSpokeGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6796,7 +6796,7 @@ impl<'a> ProjectLocationSpokeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7106,7 +7106,7 @@ impl<'a> ProjectLocationSpokePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7392,7 +7392,7 @@ impl<'a> ProjectLocationSpokeSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7677,7 +7677,7 @@ impl<'a> ProjectLocationSpokeTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7933,7 +7933,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/networkconnectivity1_alpha1/src/lib.rs b/gen/networkconnectivity1_alpha1/src/lib.rs index 34232cd75c..260942a11a 100644 --- a/gen/networkconnectivity1_alpha1/src/lib.rs +++ b/gen/networkconnectivity1_alpha1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *networkconnectivity* crate version *3.0.0+20220210*, where *20220210* is the exact revision of the *networkconnectivity:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *networkconnectivity* crate version *3.1.0+20220210*, where *20220210* is the exact revision of the *networkconnectivity:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *networkconnectivity* *v1_alpha1* API can be found at the //! [official documentation site](https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest). @@ -98,7 +98,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Networkconnectivity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/networkmanagement1-cli/Cargo.toml b/gen/networkmanagement1-cli/Cargo.toml index 60e3babdf0..4cf792060e 100644 --- a/gen/networkmanagement1-cli/Cargo.toml +++ b/gen/networkmanagement1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-networkmanagement1-cli" -version = "3.0.0+20220223" +version = "3.1.0+20220223" authors = ["Sebastian Thiel "] description = "A complete library to interact with Network Management (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/networkmanagement1-cli" @@ -20,12 +20,12 @@ name = "networkmanagement1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-networkmanagement1] path = "../networkmanagement1" -version = "3.0.0+20220223" +version = "3.1.0+20220223" diff --git a/gen/networkmanagement1-cli/README.md b/gen/networkmanagement1-cli/README.md index b0172ba925..810c2f1e0a 100644 --- a/gen/networkmanagement1-cli/README.md +++ b/gen/networkmanagement1-cli/README.md @@ -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 *Network Management* API at revision *20220223*. The CLI is at version *3.0.0*. +This documentation was generated from the *Network Management* API at revision *20220223*. The CLI is at version *3.1.0*. ```bash networkmanagement1 [options] diff --git a/gen/networkmanagement1-cli/mkdocs.yml b/gen/networkmanagement1-cli/mkdocs.yml index 048f33e1e6..6241b45382 100644 --- a/gen/networkmanagement1-cli/mkdocs.yml +++ b/gen/networkmanagement1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Network Management v3.0.0+20220223 +site_name: Network Management v3.1.0+20220223 site_url: http://byron.github.io/google-apis-rs/google-networkmanagement1-cli site_description: A complete library to interact with Network Management (protocol v1) diff --git a/gen/networkmanagement1-cli/src/main.rs b/gen/networkmanagement1-cli/src/main.rs index 558497024c..fa878134f1 100644 --- a/gen/networkmanagement1-cli/src/main.rs +++ b/gen/networkmanagement1-cli/src/main.rs @@ -1211,7 +1211,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/networkmanagement1", 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::NetworkManagement::new(client, auth), @@ -1619,7 +1625,7 @@ async fn main() { let mut app = App::new("networkmanagement1") .author("Sebastian Thiel ") - .version("3.0.0+20220223") + .version("3.1.0+20220223") .about("The Network Management API provides a collection of network performance monitoring and diagnostic capabilities.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_networkmanagement1_cli") .arg(Arg::with_name("url") diff --git a/gen/networkmanagement1/Cargo.toml b/gen/networkmanagement1/Cargo.toml index 78aef8b999..06549b0d37 100644 --- a/gen/networkmanagement1/Cargo.toml +++ b/gen/networkmanagement1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-networkmanagement1" -version = "3.0.0+20220223" +version = "3.1.0+20220223" authors = ["Sebastian Thiel "] description = "A complete library to interact with Network Management (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/networkmanagement1" homepage = "https://cloud.google.com/" -documentation = "https://docs.rs/google-networkmanagement1/3.0.0+20220223" +documentation = "https://docs.rs/google-networkmanagement1/3.1.0+20220223" license = "MIT" keywords = ["networkmanagement", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/networkmanagement1/README.md b/gen/networkmanagement1/README.md index 94c801d0f3..e87111b275 100644 --- a/gen/networkmanagement1/README.md +++ b/gen/networkmanagement1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-networkmanagement1` library allows access to all features of the *Google Network Management* service. -This documentation was generated from *Network Management* crate version *3.0.0+20220223*, where *20220223* is the exact revision of the *networkmanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Network Management* crate version *3.1.0+20220223*, where *20220223* is the exact revision of the *networkmanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Network Management* *v1* API can be found at the [official documentation site](https://cloud.google.com/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-networkmanagement1/3.0.0+20220223/google_networkmanagement1/NetworkManagement) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-networkmanagement1/3.1.0+20220223/google_networkmanagement1/NetworkManagement) ... * projects - * [*locations get*](https://docs.rs/google-networkmanagement1/3.0.0+20220223/google_networkmanagement1/api::ProjectLocationGetCall), [*locations global connectivity tests create*](https://docs.rs/google-networkmanagement1/3.0.0+20220223/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestCreateCall), [*locations global connectivity tests delete*](https://docs.rs/google-networkmanagement1/3.0.0+20220223/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestDeleteCall), [*locations global connectivity tests get*](https://docs.rs/google-networkmanagement1/3.0.0+20220223/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestGetCall), [*locations global connectivity tests get iam policy*](https://docs.rs/google-networkmanagement1/3.0.0+20220223/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestGetIamPolicyCall), [*locations global connectivity tests list*](https://docs.rs/google-networkmanagement1/3.0.0+20220223/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestListCall), [*locations global connectivity tests patch*](https://docs.rs/google-networkmanagement1/3.0.0+20220223/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestPatchCall), [*locations global connectivity tests rerun*](https://docs.rs/google-networkmanagement1/3.0.0+20220223/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestRerunCall), [*locations global connectivity tests set iam policy*](https://docs.rs/google-networkmanagement1/3.0.0+20220223/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestSetIamPolicyCall), [*locations global connectivity tests test iam permissions*](https://docs.rs/google-networkmanagement1/3.0.0+20220223/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestTestIamPermissionCall), [*locations global operations cancel*](https://docs.rs/google-networkmanagement1/3.0.0+20220223/google_networkmanagement1/api::ProjectLocationGlobalOperationCancelCall), [*locations global operations delete*](https://docs.rs/google-networkmanagement1/3.0.0+20220223/google_networkmanagement1/api::ProjectLocationGlobalOperationDeleteCall), [*locations global operations get*](https://docs.rs/google-networkmanagement1/3.0.0+20220223/google_networkmanagement1/api::ProjectLocationGlobalOperationGetCall), [*locations global operations list*](https://docs.rs/google-networkmanagement1/3.0.0+20220223/google_networkmanagement1/api::ProjectLocationGlobalOperationListCall) and [*locations list*](https://docs.rs/google-networkmanagement1/3.0.0+20220223/google_networkmanagement1/api::ProjectLocationListCall) + * [*locations get*](https://docs.rs/google-networkmanagement1/3.1.0+20220223/google_networkmanagement1/api::ProjectLocationGetCall), [*locations global connectivity tests create*](https://docs.rs/google-networkmanagement1/3.1.0+20220223/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestCreateCall), [*locations global connectivity tests delete*](https://docs.rs/google-networkmanagement1/3.1.0+20220223/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestDeleteCall), [*locations global connectivity tests get*](https://docs.rs/google-networkmanagement1/3.1.0+20220223/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestGetCall), [*locations global connectivity tests get iam policy*](https://docs.rs/google-networkmanagement1/3.1.0+20220223/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestGetIamPolicyCall), [*locations global connectivity tests list*](https://docs.rs/google-networkmanagement1/3.1.0+20220223/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestListCall), [*locations global connectivity tests patch*](https://docs.rs/google-networkmanagement1/3.1.0+20220223/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestPatchCall), [*locations global connectivity tests rerun*](https://docs.rs/google-networkmanagement1/3.1.0+20220223/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestRerunCall), [*locations global connectivity tests set iam policy*](https://docs.rs/google-networkmanagement1/3.1.0+20220223/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestSetIamPolicyCall), [*locations global connectivity tests test iam permissions*](https://docs.rs/google-networkmanagement1/3.1.0+20220223/google_networkmanagement1/api::ProjectLocationGlobalConnectivityTestTestIamPermissionCall), [*locations global operations cancel*](https://docs.rs/google-networkmanagement1/3.1.0+20220223/google_networkmanagement1/api::ProjectLocationGlobalOperationCancelCall), [*locations global operations delete*](https://docs.rs/google-networkmanagement1/3.1.0+20220223/google_networkmanagement1/api::ProjectLocationGlobalOperationDeleteCall), [*locations global operations get*](https://docs.rs/google-networkmanagement1/3.1.0+20220223/google_networkmanagement1/api::ProjectLocationGlobalOperationGetCall), [*locations global operations list*](https://docs.rs/google-networkmanagement1/3.1.0+20220223/google_networkmanagement1/api::ProjectLocationGlobalOperationListCall) and [*locations list*](https://docs.rs/google-networkmanagement1/3.1.0+20220223/google_networkmanagement1/api::ProjectLocationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-networkmanagement1/3.0.0+20220223/google_networkmanagement1/NetworkManagement)** +* **[Hub](https://docs.rs/google-networkmanagement1/3.1.0+20220223/google_networkmanagement1/NetworkManagement)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-networkmanagement1/3.0.0+20220223/google_networkmanagement1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-networkmanagement1/3.0.0+20220223/google_networkmanagement1/client::CallBuilder) -* **[Resources](https://docs.rs/google-networkmanagement1/3.0.0+20220223/google_networkmanagement1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-networkmanagement1/3.1.0+20220223/google_networkmanagement1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-networkmanagement1/3.1.0+20220223/google_networkmanagement1/client::CallBuilder) +* **[Resources](https://docs.rs/google-networkmanagement1/3.1.0+20220223/google_networkmanagement1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-networkmanagement1/3.0.0+20220223/google_networkmanagement1/client::Part)** + * **[Parts](https://docs.rs/google-networkmanagement1/3.1.0+20220223/google_networkmanagement1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-networkmanagement1/3.0.0+20220223/google_networkmanagement1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-networkmanagement1/3.1.0+20220223/google_networkmanagement1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -95,7 +95,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = NetworkManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = NetworkManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -129,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-networkmanagement1/3.0.0+20220223/google_networkmanagement1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-networkmanagement1/3.1.0+20220223/google_networkmanagement1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-networkmanagement1/3.0.0+20220223/google_networkmanagement1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-networkmanagement1/3.1.0+20220223/google_networkmanagement1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-networkmanagement1/3.0.0+20220223/google_networkmanagement1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-networkmanagement1/3.1.0+20220223/google_networkmanagement1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-networkmanagement1/3.0.0+20220223/google_networkmanagement1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-networkmanagement1/3.1.0+20220223/google_networkmanagement1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -149,29 +149,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-networkmanagement1/3.0.0+20220223/google_networkmanagement1/client::Delegate) to the -[Method Builder](https://docs.rs/google-networkmanagement1/3.0.0+20220223/google_networkmanagement1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-networkmanagement1/3.1.0+20220223/google_networkmanagement1/client::Delegate) to the +[Method Builder](https://docs.rs/google-networkmanagement1/3.1.0+20220223/google_networkmanagement1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-networkmanagement1/3.0.0+20220223/google_networkmanagement1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-networkmanagement1/3.1.0+20220223/google_networkmanagement1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-networkmanagement1/3.0.0+20220223/google_networkmanagement1/client::RequestValue) and -[decodable](https://docs.rs/google-networkmanagement1/3.0.0+20220223/google_networkmanagement1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-networkmanagement1/3.1.0+20220223/google_networkmanagement1/client::RequestValue) and +[decodable](https://docs.rs/google-networkmanagement1/3.1.0+20220223/google_networkmanagement1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-networkmanagement1/3.0.0+20220223/google_networkmanagement1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-networkmanagement1/3.1.0+20220223/google_networkmanagement1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-networkmanagement1/3.0.0+20220223/google_networkmanagement1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-networkmanagement1/3.1.0+20220223/google_networkmanagement1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-networkmanagement1/3.0.0+20220223/google_networkmanagement1/client::RequestValue) are moved +* [request values](https://docs.rs/google-networkmanagement1/3.1.0+20220223/google_networkmanagement1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/networkmanagement1/src/api.rs b/gen/networkmanagement1/src/api.rs index a0bdff8415..bba56a47fe 100644 --- a/gen/networkmanagement1/src/api.rs +++ b/gen/networkmanagement1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = NetworkManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = NetworkManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > NetworkManagement<> { NetworkManagement { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://networkmanagement.googleapis.com/".to_string(), _root_url: "https://networkmanagement.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > NetworkManagement<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1105,7 +1105,7 @@ impl client::Part for VpnTunnelInfo {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = NetworkManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = NetworkManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_get(...)`, `locations_global_connectivity_tests_create(...)`, `locations_global_connectivity_tests_delete(...)`, `locations_global_connectivity_tests_get(...)`, `locations_global_connectivity_tests_get_iam_policy(...)`, `locations_global_connectivity_tests_list(...)`, `locations_global_connectivity_tests_patch(...)`, `locations_global_connectivity_tests_rerun(...)`, `locations_global_connectivity_tests_set_iam_policy(...)`, `locations_global_connectivity_tests_test_iam_permissions(...)`, `locations_global_operations_cancel(...)`, `locations_global_operations_delete(...)`, `locations_global_operations_get(...)`, `locations_global_operations_list(...)` and `locations_list(...)` /// // to build up your call. @@ -1434,7 +1434,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1731,7 +1731,7 @@ impl<'a> ProjectLocationGlobalConnectivityTestCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1987,7 +1987,7 @@ impl<'a> ProjectLocationGlobalConnectivityTestDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2243,7 +2243,7 @@ impl<'a> ProjectLocationGlobalConnectivityTestGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2511,7 +2511,7 @@ impl<'a> ProjectLocationGlobalConnectivityTestGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2816,7 +2816,7 @@ impl<'a> ProjectLocationGlobalConnectivityTestListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3114,7 +3114,7 @@ impl<'a> ProjectLocationGlobalConnectivityTestPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3400,7 +3400,7 @@ impl<'a> ProjectLocationGlobalConnectivityTestRerunCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3686,7 +3686,7 @@ impl<'a> ProjectLocationGlobalConnectivityTestSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3972,7 +3972,7 @@ impl<'a> ProjectLocationGlobalConnectivityTestTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4257,7 +4257,7 @@ impl<'a> ProjectLocationGlobalOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4513,7 +4513,7 @@ impl<'a> ProjectLocationGlobalOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4769,7 +4769,7 @@ impl<'a> ProjectLocationGlobalOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5061,7 +5061,7 @@ impl<'a> ProjectLocationGlobalOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5317,7 +5317,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/networkmanagement1/src/lib.rs b/gen/networkmanagement1/src/lib.rs index 4d45df1d3b..92cfd6a510 100644 --- a/gen/networkmanagement1/src/lib.rs +++ b/gen/networkmanagement1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Network Management* crate version *3.0.0+20220223*, where *20220223* is the exact revision of the *networkmanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Network Management* crate version *3.1.0+20220223*, where *20220223* is the exact revision of the *networkmanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Network Management* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/). @@ -96,7 +96,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = NetworkManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = NetworkManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/networksecurity1-cli/Cargo.toml b/gen/networksecurity1-cli/Cargo.toml index e4460724b8..1adce4567a 100644 --- a/gen/networksecurity1-cli/Cargo.toml +++ b/gen/networksecurity1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-networksecurity1-cli" -version = "3.0.0+20220223" +version = "3.1.0+20220223" authors = ["Sebastian Thiel "] description = "A complete library to interact with NetworkSecurity (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/networksecurity1-cli" @@ -20,12 +20,12 @@ name = "networksecurity1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-networksecurity1] path = "../networksecurity1" -version = "3.0.0+20220223" +version = "3.1.0+20220223" diff --git a/gen/networksecurity1-cli/README.md b/gen/networksecurity1-cli/README.md index 2d6596aec1..cd6d374900 100644 --- a/gen/networksecurity1-cli/README.md +++ b/gen/networksecurity1-cli/README.md @@ -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 *NetworkSecurity* API at revision *20220223*. The CLI is at version *3.0.0*. +This documentation was generated from the *NetworkSecurity* API at revision *20220223*. The CLI is at version *3.1.0*. ```bash networksecurity1 [options] diff --git a/gen/networksecurity1-cli/mkdocs.yml b/gen/networksecurity1-cli/mkdocs.yml index 318fe5c182..18b7c61fb6 100644 --- a/gen/networksecurity1-cli/mkdocs.yml +++ b/gen/networksecurity1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: NetworkSecurity v3.0.0+20220223 +site_name: NetworkSecurity v3.1.0+20220223 site_url: http://byron.github.io/google-apis-rs/google-networksecurity1-cli site_description: A complete library to interact with NetworkSecurity (protocol v1) diff --git a/gen/networksecurity1-cli/src/main.rs b/gen/networksecurity1-cli/src/main.rs index e00783a607..c7e816b246 100644 --- a/gen/networksecurity1-cli/src/main.rs +++ b/gen/networksecurity1-cli/src/main.rs @@ -2288,7 +2288,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/networksecurity1", 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::NetworkSecurity::new(client, auth), @@ -3068,7 +3074,7 @@ async fn main() { let mut app = App::new("networksecurity1") .author("Sebastian Thiel ") - .version("3.0.0+20220223") + .version("3.1.0+20220223") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_networksecurity1_cli") .arg(Arg::with_name("url") diff --git a/gen/networksecurity1/Cargo.toml b/gen/networksecurity1/Cargo.toml index 00f727f0c3..e04825232e 100644 --- a/gen/networksecurity1/Cargo.toml +++ b/gen/networksecurity1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-networksecurity1" -version = "3.0.0+20220223" +version = "3.1.0+20220223" authors = ["Sebastian Thiel "] description = "A complete library to interact with NetworkSecurity (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/networksecurity1" homepage = "https://cloud.google.com/networking" -documentation = "https://docs.rs/google-networksecurity1/3.0.0+20220223" +documentation = "https://docs.rs/google-networksecurity1/3.1.0+20220223" license = "MIT" keywords = ["networksecurity", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/networksecurity1/README.md b/gen/networksecurity1/README.md index e79e18bdec..1945854705 100644 --- a/gen/networksecurity1/README.md +++ b/gen/networksecurity1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-networksecurity1` library allows access to all features of the *Google NetworkSecurity* service. -This documentation was generated from *NetworkSecurity* crate version *3.0.0+20220223*, where *20220223* is the exact revision of the *networksecurity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *NetworkSecurity* crate version *3.1.0+20220223*, where *20220223* is the exact revision of the *networksecurity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *NetworkSecurity* *v1* API can be found at the [official documentation site](https://cloud.google.com/networking). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/NetworkSecurity) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/NetworkSecurity) ... * projects - * [*locations authorization policies create*](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/api::ProjectLocationAuthorizationPolicyCreateCall), [*locations authorization policies delete*](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/api::ProjectLocationAuthorizationPolicyDeleteCall), [*locations authorization policies get*](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/api::ProjectLocationAuthorizationPolicyGetCall), [*locations authorization policies get iam policy*](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/api::ProjectLocationAuthorizationPolicyGetIamPolicyCall), [*locations authorization policies list*](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/api::ProjectLocationAuthorizationPolicyListCall), [*locations authorization policies patch*](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/api::ProjectLocationAuthorizationPolicyPatchCall), [*locations authorization policies set iam policy*](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/api::ProjectLocationAuthorizationPolicySetIamPolicyCall), [*locations authorization policies test iam permissions*](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/api::ProjectLocationAuthorizationPolicyTestIamPermissionCall), [*locations client tls policies create*](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/api::ProjectLocationClientTlsPolicyCreateCall), [*locations client tls policies delete*](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/api::ProjectLocationClientTlsPolicyDeleteCall), [*locations client tls policies get*](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/api::ProjectLocationClientTlsPolicyGetCall), [*locations client tls policies get iam policy*](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/api::ProjectLocationClientTlsPolicyGetIamPolicyCall), [*locations client tls policies list*](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/api::ProjectLocationClientTlsPolicyListCall), [*locations client tls policies patch*](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/api::ProjectLocationClientTlsPolicyPatchCall), [*locations client tls policies set iam policy*](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/api::ProjectLocationClientTlsPolicySetIamPolicyCall), [*locations client tls policies test iam permissions*](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/api::ProjectLocationClientTlsPolicyTestIamPermissionCall), [*locations get*](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/api::ProjectLocationOperationListCall), [*locations server tls policies create*](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/api::ProjectLocationServerTlsPolicyCreateCall), [*locations server tls policies delete*](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/api::ProjectLocationServerTlsPolicyDeleteCall), [*locations server tls policies get*](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/api::ProjectLocationServerTlsPolicyGetCall), [*locations server tls policies get iam policy*](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/api::ProjectLocationServerTlsPolicyGetIamPolicyCall), [*locations server tls policies list*](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/api::ProjectLocationServerTlsPolicyListCall), [*locations server tls policies patch*](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/api::ProjectLocationServerTlsPolicyPatchCall), [*locations server tls policies set iam policy*](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/api::ProjectLocationServerTlsPolicySetIamPolicyCall) and [*locations server tls policies test iam permissions*](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/api::ProjectLocationServerTlsPolicyTestIamPermissionCall) + * [*locations authorization policies create*](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/api::ProjectLocationAuthorizationPolicyCreateCall), [*locations authorization policies delete*](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/api::ProjectLocationAuthorizationPolicyDeleteCall), [*locations authorization policies get*](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/api::ProjectLocationAuthorizationPolicyGetCall), [*locations authorization policies get iam policy*](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/api::ProjectLocationAuthorizationPolicyGetIamPolicyCall), [*locations authorization policies list*](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/api::ProjectLocationAuthorizationPolicyListCall), [*locations authorization policies patch*](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/api::ProjectLocationAuthorizationPolicyPatchCall), [*locations authorization policies set iam policy*](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/api::ProjectLocationAuthorizationPolicySetIamPolicyCall), [*locations authorization policies test iam permissions*](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/api::ProjectLocationAuthorizationPolicyTestIamPermissionCall), [*locations client tls policies create*](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/api::ProjectLocationClientTlsPolicyCreateCall), [*locations client tls policies delete*](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/api::ProjectLocationClientTlsPolicyDeleteCall), [*locations client tls policies get*](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/api::ProjectLocationClientTlsPolicyGetCall), [*locations client tls policies get iam policy*](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/api::ProjectLocationClientTlsPolicyGetIamPolicyCall), [*locations client tls policies list*](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/api::ProjectLocationClientTlsPolicyListCall), [*locations client tls policies patch*](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/api::ProjectLocationClientTlsPolicyPatchCall), [*locations client tls policies set iam policy*](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/api::ProjectLocationClientTlsPolicySetIamPolicyCall), [*locations client tls policies test iam permissions*](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/api::ProjectLocationClientTlsPolicyTestIamPermissionCall), [*locations get*](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/api::ProjectLocationOperationListCall), [*locations server tls policies create*](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/api::ProjectLocationServerTlsPolicyCreateCall), [*locations server tls policies delete*](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/api::ProjectLocationServerTlsPolicyDeleteCall), [*locations server tls policies get*](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/api::ProjectLocationServerTlsPolicyGetCall), [*locations server tls policies get iam policy*](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/api::ProjectLocationServerTlsPolicyGetIamPolicyCall), [*locations server tls policies list*](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/api::ProjectLocationServerTlsPolicyListCall), [*locations server tls policies patch*](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/api::ProjectLocationServerTlsPolicyPatchCall), [*locations server tls policies set iam policy*](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/api::ProjectLocationServerTlsPolicySetIamPolicyCall) and [*locations server tls policies test iam permissions*](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/api::ProjectLocationServerTlsPolicyTestIamPermissionCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/NetworkSecurity)** +* **[Hub](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/NetworkSecurity)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/client::CallBuilder) -* **[Resources](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/client::CallBuilder) +* **[Resources](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/client::Part)** + * **[Parts](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -100,7 +100,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -154,29 +154,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/client::Delegate) to the -[Method Builder](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/client::Delegate) to the +[Method Builder](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/client::RequestValue) and -[decodable](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/client::RequestValue) and +[decodable](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-networksecurity1/3.0.0+20220223/google_networksecurity1/client::RequestValue) are moved +* [request values](https://docs.rs/google-networksecurity1/3.1.0+20220223/google_networksecurity1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/networksecurity1/src/api.rs b/gen/networksecurity1/src/api.rs index ed75e62f52..bab5c72207 100644 --- a/gen/networksecurity1/src/api.rs +++ b/gen/networksecurity1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > NetworkSecurity<> { NetworkSecurity { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://networksecurity.googleapis.com/".to_string(), _root_url: "https://networksecurity.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > NetworkSecurity<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -824,7 +824,7 @@ impl client::Part for ValidationCA {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_authorization_policies_create(...)`, `locations_authorization_policies_delete(...)`, `locations_authorization_policies_get(...)`, `locations_authorization_policies_get_iam_policy(...)`, `locations_authorization_policies_list(...)`, `locations_authorization_policies_patch(...)`, `locations_authorization_policies_set_iam_policy(...)`, `locations_authorization_policies_test_iam_permissions(...)`, `locations_client_tls_policies_create(...)`, `locations_client_tls_policies_delete(...)`, `locations_client_tls_policies_get(...)`, `locations_client_tls_policies_get_iam_policy(...)`, `locations_client_tls_policies_list(...)`, `locations_client_tls_policies_patch(...)`, `locations_client_tls_policies_set_iam_policy(...)`, `locations_client_tls_policies_test_iam_permissions(...)`, `locations_get(...)`, `locations_list(...)`, `locations_operations_cancel(...)`, `locations_operations_delete(...)`, `locations_operations_get(...)`, `locations_operations_list(...)`, `locations_server_tls_policies_create(...)`, `locations_server_tls_policies_delete(...)`, `locations_server_tls_policies_get(...)`, `locations_server_tls_policies_get_iam_policy(...)`, `locations_server_tls_policies_list(...)`, `locations_server_tls_policies_patch(...)`, `locations_server_tls_policies_set_iam_policy(...)` and `locations_server_tls_policies_test_iam_permissions(...)` /// // to build up your call. @@ -1430,7 +1430,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1727,7 +1727,7 @@ impl<'a> ProjectLocationAuthorizationPolicyCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1983,7 +1983,7 @@ impl<'a> ProjectLocationAuthorizationPolicyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2239,7 +2239,7 @@ impl<'a> ProjectLocationAuthorizationPolicyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2507,7 +2507,7 @@ impl<'a> ProjectLocationAuthorizationPolicyGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2788,7 +2788,7 @@ impl<'a> ProjectLocationAuthorizationPolicyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3086,7 +3086,7 @@ impl<'a> ProjectLocationAuthorizationPolicyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3372,7 +3372,7 @@ impl<'a> ProjectLocationAuthorizationPolicySetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3658,7 +3658,7 @@ impl<'a> ProjectLocationAuthorizationPolicyTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3955,7 +3955,7 @@ impl<'a> ProjectLocationClientTlsPolicyCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4211,7 +4211,7 @@ impl<'a> ProjectLocationClientTlsPolicyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4467,7 +4467,7 @@ impl<'a> ProjectLocationClientTlsPolicyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4735,7 +4735,7 @@ impl<'a> ProjectLocationClientTlsPolicyGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5016,7 +5016,7 @@ impl<'a> ProjectLocationClientTlsPolicyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5314,7 +5314,7 @@ impl<'a> ProjectLocationClientTlsPolicyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5600,7 +5600,7 @@ impl<'a> ProjectLocationClientTlsPolicySetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5886,7 +5886,7 @@ impl<'a> ProjectLocationClientTlsPolicyTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6171,7 +6171,7 @@ impl<'a> ProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6427,7 +6427,7 @@ impl<'a> ProjectLocationOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6683,7 +6683,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6976,7 +6976,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7273,7 +7273,7 @@ impl<'a> ProjectLocationServerTlsPolicyCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7529,7 +7529,7 @@ impl<'a> ProjectLocationServerTlsPolicyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7785,7 +7785,7 @@ impl<'a> ProjectLocationServerTlsPolicyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8053,7 +8053,7 @@ impl<'a> ProjectLocationServerTlsPolicyGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8334,7 +8334,7 @@ impl<'a> ProjectLocationServerTlsPolicyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8632,7 +8632,7 @@ impl<'a> ProjectLocationServerTlsPolicyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8918,7 +8918,7 @@ impl<'a> ProjectLocationServerTlsPolicySetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9203,7 +9203,7 @@ impl<'a> ProjectLocationServerTlsPolicyTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9459,7 +9459,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/networksecurity1/src/lib.rs b/gen/networksecurity1/src/lib.rs index 7d8305231c..f8a711022f 100644 --- a/gen/networksecurity1/src/lib.rs +++ b/gen/networksecurity1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *NetworkSecurity* crate version *3.0.0+20220223*, where *20220223* is the exact revision of the *networksecurity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *NetworkSecurity* crate version *3.1.0+20220223*, where *20220223* is the exact revision of the *networksecurity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *NetworkSecurity* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/networking). @@ -101,7 +101,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = NetworkSecurity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/networkservices1-cli/Cargo.toml b/gen/networkservices1-cli/Cargo.toml index c83cd2f000..2a18c6c851 100644 --- a/gen/networkservices1-cli/Cargo.toml +++ b/gen/networkservices1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-networkservices1-cli" -version = "3.0.0+20220222" +version = "3.1.0+20220222" authors = ["Sebastian Thiel "] description = "A complete library to interact with NetworkServices (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/networkservices1-cli" @@ -20,12 +20,12 @@ name = "networkservices1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-networkservices1] path = "../networkservices1" -version = "3.0.0+20220222" +version = "3.1.0+20220222" diff --git a/gen/networkservices1-cli/README.md b/gen/networkservices1-cli/README.md index 2c20462317..ebe5fafeaf 100644 --- a/gen/networkservices1-cli/README.md +++ b/gen/networkservices1-cli/README.md @@ -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 *NetworkServices* API at revision *20220222*. The CLI is at version *3.0.0*. +This documentation was generated from the *NetworkServices* API at revision *20220222*. The CLI is at version *3.1.0*. ```bash networkservices1 [options] diff --git a/gen/networkservices1-cli/mkdocs.yml b/gen/networkservices1-cli/mkdocs.yml index e0e78dc222..1e9b99c93c 100644 --- a/gen/networkservices1-cli/mkdocs.yml +++ b/gen/networkservices1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: NetworkServices v3.0.0+20220222 +site_name: NetworkServices v3.1.0+20220222 site_url: http://byron.github.io/google-apis-rs/google-networkservices1-cli site_description: A complete library to interact with NetworkServices (protocol v1) diff --git a/gen/networkservices1-cli/src/main.rs b/gen/networkservices1-cli/src/main.rs index 8f1a20985e..ae17ff2e79 100644 --- a/gen/networkservices1-cli/src/main.rs +++ b/gen/networkservices1-cli/src/main.rs @@ -1795,7 +1795,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/networkservices1", 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::NetworkServices::new(client, auth), @@ -2409,7 +2415,7 @@ async fn main() { let mut app = App::new("networkservices1") .author("Sebastian Thiel ") - .version("3.0.0+20220222") + .version("3.1.0+20220222") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_networkservices1_cli") .arg(Arg::with_name("url") diff --git a/gen/networkservices1/Cargo.toml b/gen/networkservices1/Cargo.toml index 780c0ff4d0..aa65728887 100644 --- a/gen/networkservices1/Cargo.toml +++ b/gen/networkservices1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-networkservices1" -version = "3.0.0+20220222" +version = "3.1.0+20220222" authors = ["Sebastian Thiel "] description = "A complete library to interact with NetworkServices (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/networkservices1" homepage = "https://cloud.google.com/networking" -documentation = "https://docs.rs/google-networkservices1/3.0.0+20220222" +documentation = "https://docs.rs/google-networkservices1/3.1.0+20220222" license = "MIT" keywords = ["networkservices", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/networkservices1/README.md b/gen/networkservices1/README.md index e8a1977a69..1b84882bfc 100644 --- a/gen/networkservices1/README.md +++ b/gen/networkservices1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-networkservices1` library allows access to all features of the *Google NetworkServices* service. -This documentation was generated from *NetworkServices* crate version *3.0.0+20220222*, where *20220222* is the exact revision of the *networkservices:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *NetworkServices* crate version *3.1.0+20220222*, where *20220222* is the exact revision of the *networkservices:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *NetworkServices* *v1* API can be found at the [official documentation site](https://cloud.google.com/networking). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-networkservices1/3.0.0+20220222/google_networkservices1/NetworkServices) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-networkservices1/3.1.0+20220222/google_networkservices1/NetworkServices) ... * projects - * [*locations edge cache keysets get iam policy*](https://docs.rs/google-networkservices1/3.0.0+20220222/google_networkservices1/api::ProjectLocationEdgeCacheKeysetGetIamPolicyCall), [*locations edge cache keysets set iam policy*](https://docs.rs/google-networkservices1/3.0.0+20220222/google_networkservices1/api::ProjectLocationEdgeCacheKeysetSetIamPolicyCall), [*locations edge cache keysets test iam permissions*](https://docs.rs/google-networkservices1/3.0.0+20220222/google_networkservices1/api::ProjectLocationEdgeCacheKeysetTestIamPermissionCall), [*locations edge cache origins get iam policy*](https://docs.rs/google-networkservices1/3.0.0+20220222/google_networkservices1/api::ProjectLocationEdgeCacheOriginGetIamPolicyCall), [*locations edge cache origins set iam policy*](https://docs.rs/google-networkservices1/3.0.0+20220222/google_networkservices1/api::ProjectLocationEdgeCacheOriginSetIamPolicyCall), [*locations edge cache origins test iam permissions*](https://docs.rs/google-networkservices1/3.0.0+20220222/google_networkservices1/api::ProjectLocationEdgeCacheOriginTestIamPermissionCall), [*locations edge cache services get iam policy*](https://docs.rs/google-networkservices1/3.0.0+20220222/google_networkservices1/api::ProjectLocationEdgeCacheServiceGetIamPolicyCall), [*locations edge cache services set iam policy*](https://docs.rs/google-networkservices1/3.0.0+20220222/google_networkservices1/api::ProjectLocationEdgeCacheServiceSetIamPolicyCall), [*locations edge cache services test iam permissions*](https://docs.rs/google-networkservices1/3.0.0+20220222/google_networkservices1/api::ProjectLocationEdgeCacheServiceTestIamPermissionCall), [*locations endpoint policies create*](https://docs.rs/google-networkservices1/3.0.0+20220222/google_networkservices1/api::ProjectLocationEndpointPolicyCreateCall), [*locations endpoint policies delete*](https://docs.rs/google-networkservices1/3.0.0+20220222/google_networkservices1/api::ProjectLocationEndpointPolicyDeleteCall), [*locations endpoint policies get*](https://docs.rs/google-networkservices1/3.0.0+20220222/google_networkservices1/api::ProjectLocationEndpointPolicyGetCall), [*locations endpoint policies get iam policy*](https://docs.rs/google-networkservices1/3.0.0+20220222/google_networkservices1/api::ProjectLocationEndpointPolicyGetIamPolicyCall), [*locations endpoint policies list*](https://docs.rs/google-networkservices1/3.0.0+20220222/google_networkservices1/api::ProjectLocationEndpointPolicyListCall), [*locations endpoint policies patch*](https://docs.rs/google-networkservices1/3.0.0+20220222/google_networkservices1/api::ProjectLocationEndpointPolicyPatchCall), [*locations endpoint policies set iam policy*](https://docs.rs/google-networkservices1/3.0.0+20220222/google_networkservices1/api::ProjectLocationEndpointPolicySetIamPolicyCall), [*locations endpoint policies test iam permissions*](https://docs.rs/google-networkservices1/3.0.0+20220222/google_networkservices1/api::ProjectLocationEndpointPolicyTestIamPermissionCall), [*locations get*](https://docs.rs/google-networkservices1/3.0.0+20220222/google_networkservices1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-networkservices1/3.0.0+20220222/google_networkservices1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-networkservices1/3.0.0+20220222/google_networkservices1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-networkservices1/3.0.0+20220222/google_networkservices1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-networkservices1/3.0.0+20220222/google_networkservices1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-networkservices1/3.0.0+20220222/google_networkservices1/api::ProjectLocationOperationListCall) + * [*locations edge cache keysets get iam policy*](https://docs.rs/google-networkservices1/3.1.0+20220222/google_networkservices1/api::ProjectLocationEdgeCacheKeysetGetIamPolicyCall), [*locations edge cache keysets set iam policy*](https://docs.rs/google-networkservices1/3.1.0+20220222/google_networkservices1/api::ProjectLocationEdgeCacheKeysetSetIamPolicyCall), [*locations edge cache keysets test iam permissions*](https://docs.rs/google-networkservices1/3.1.0+20220222/google_networkservices1/api::ProjectLocationEdgeCacheKeysetTestIamPermissionCall), [*locations edge cache origins get iam policy*](https://docs.rs/google-networkservices1/3.1.0+20220222/google_networkservices1/api::ProjectLocationEdgeCacheOriginGetIamPolicyCall), [*locations edge cache origins set iam policy*](https://docs.rs/google-networkservices1/3.1.0+20220222/google_networkservices1/api::ProjectLocationEdgeCacheOriginSetIamPolicyCall), [*locations edge cache origins test iam permissions*](https://docs.rs/google-networkservices1/3.1.0+20220222/google_networkservices1/api::ProjectLocationEdgeCacheOriginTestIamPermissionCall), [*locations edge cache services get iam policy*](https://docs.rs/google-networkservices1/3.1.0+20220222/google_networkservices1/api::ProjectLocationEdgeCacheServiceGetIamPolicyCall), [*locations edge cache services set iam policy*](https://docs.rs/google-networkservices1/3.1.0+20220222/google_networkservices1/api::ProjectLocationEdgeCacheServiceSetIamPolicyCall), [*locations edge cache services test iam permissions*](https://docs.rs/google-networkservices1/3.1.0+20220222/google_networkservices1/api::ProjectLocationEdgeCacheServiceTestIamPermissionCall), [*locations endpoint policies create*](https://docs.rs/google-networkservices1/3.1.0+20220222/google_networkservices1/api::ProjectLocationEndpointPolicyCreateCall), [*locations endpoint policies delete*](https://docs.rs/google-networkservices1/3.1.0+20220222/google_networkservices1/api::ProjectLocationEndpointPolicyDeleteCall), [*locations endpoint policies get*](https://docs.rs/google-networkservices1/3.1.0+20220222/google_networkservices1/api::ProjectLocationEndpointPolicyGetCall), [*locations endpoint policies get iam policy*](https://docs.rs/google-networkservices1/3.1.0+20220222/google_networkservices1/api::ProjectLocationEndpointPolicyGetIamPolicyCall), [*locations endpoint policies list*](https://docs.rs/google-networkservices1/3.1.0+20220222/google_networkservices1/api::ProjectLocationEndpointPolicyListCall), [*locations endpoint policies patch*](https://docs.rs/google-networkservices1/3.1.0+20220222/google_networkservices1/api::ProjectLocationEndpointPolicyPatchCall), [*locations endpoint policies set iam policy*](https://docs.rs/google-networkservices1/3.1.0+20220222/google_networkservices1/api::ProjectLocationEndpointPolicySetIamPolicyCall), [*locations endpoint policies test iam permissions*](https://docs.rs/google-networkservices1/3.1.0+20220222/google_networkservices1/api::ProjectLocationEndpointPolicyTestIamPermissionCall), [*locations get*](https://docs.rs/google-networkservices1/3.1.0+20220222/google_networkservices1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-networkservices1/3.1.0+20220222/google_networkservices1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-networkservices1/3.1.0+20220222/google_networkservices1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-networkservices1/3.1.0+20220222/google_networkservices1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-networkservices1/3.1.0+20220222/google_networkservices1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-networkservices1/3.1.0+20220222/google_networkservices1/api::ProjectLocationOperationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-networkservices1/3.0.0+20220222/google_networkservices1/NetworkServices)** +* **[Hub](https://docs.rs/google-networkservices1/3.1.0+20220222/google_networkservices1/NetworkServices)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-networkservices1/3.0.0+20220222/google_networkservices1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-networkservices1/3.0.0+20220222/google_networkservices1/client::CallBuilder) -* **[Resources](https://docs.rs/google-networkservices1/3.0.0+20220222/google_networkservices1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-networkservices1/3.1.0+20220222/google_networkservices1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-networkservices1/3.1.0+20220222/google_networkservices1/client::CallBuilder) +* **[Resources](https://docs.rs/google-networkservices1/3.1.0+20220222/google_networkservices1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-networkservices1/3.0.0+20220222/google_networkservices1/client::Part)** + * **[Parts](https://docs.rs/google-networkservices1/3.1.0+20220222/google_networkservices1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-networkservices1/3.0.0+20220222/google_networkservices1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-networkservices1/3.1.0+20220222/google_networkservices1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -97,7 +97,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -126,17 +126,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-networkservices1/3.0.0+20220222/google_networkservices1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-networkservices1/3.1.0+20220222/google_networkservices1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-networkservices1/3.0.0+20220222/google_networkservices1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-networkservices1/3.1.0+20220222/google_networkservices1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-networkservices1/3.0.0+20220222/google_networkservices1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-networkservices1/3.1.0+20220222/google_networkservices1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-networkservices1/3.0.0+20220222/google_networkservices1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-networkservices1/3.1.0+20220222/google_networkservices1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -146,29 +146,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-networkservices1/3.0.0+20220222/google_networkservices1/client::Delegate) to the -[Method Builder](https://docs.rs/google-networkservices1/3.0.0+20220222/google_networkservices1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-networkservices1/3.1.0+20220222/google_networkservices1/client::Delegate) to the +[Method Builder](https://docs.rs/google-networkservices1/3.1.0+20220222/google_networkservices1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-networkservices1/3.0.0+20220222/google_networkservices1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-networkservices1/3.1.0+20220222/google_networkservices1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-networkservices1/3.0.0+20220222/google_networkservices1/client::RequestValue) and -[decodable](https://docs.rs/google-networkservices1/3.0.0+20220222/google_networkservices1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-networkservices1/3.1.0+20220222/google_networkservices1/client::RequestValue) and +[decodable](https://docs.rs/google-networkservices1/3.1.0+20220222/google_networkservices1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-networkservices1/3.0.0+20220222/google_networkservices1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-networkservices1/3.1.0+20220222/google_networkservices1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-networkservices1/3.0.0+20220222/google_networkservices1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-networkservices1/3.1.0+20220222/google_networkservices1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-networkservices1/3.0.0+20220222/google_networkservices1/client::RequestValue) are moved +* [request values](https://docs.rs/google-networkservices1/3.1.0+20220222/google_networkservices1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/networkservices1/src/api.rs b/gen/networkservices1/src/api.rs index 53328a31ad..ef1c9d9f00 100644 --- a/gen/networkservices1/src/api.rs +++ b/gen/networkservices1/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -114,7 +114,7 @@ impl<'a, > NetworkServices<> { NetworkServices { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://networkservices.googleapis.com/".to_string(), _root_url: "https://networkservices.googleapis.com/".to_string(), } @@ -125,7 +125,7 @@ impl<'a, > NetworkServices<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -625,7 +625,7 @@ impl client::Part for TrafficPortSelector {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_edge_cache_keysets_get_iam_policy(...)`, `locations_edge_cache_keysets_set_iam_policy(...)`, `locations_edge_cache_keysets_test_iam_permissions(...)`, `locations_edge_cache_origins_get_iam_policy(...)`, `locations_edge_cache_origins_set_iam_policy(...)`, `locations_edge_cache_origins_test_iam_permissions(...)`, `locations_edge_cache_services_get_iam_policy(...)`, `locations_edge_cache_services_set_iam_policy(...)`, `locations_edge_cache_services_test_iam_permissions(...)`, `locations_endpoint_policies_create(...)`, `locations_endpoint_policies_delete(...)`, `locations_endpoint_policies_get(...)`, `locations_endpoint_policies_get_iam_policy(...)`, `locations_endpoint_policies_list(...)`, `locations_endpoint_policies_patch(...)`, `locations_endpoint_policies_set_iam_policy(...)`, `locations_endpoint_policies_test_iam_permissions(...)`, `locations_get(...)`, `locations_list(...)`, `locations_operations_cancel(...)`, `locations_operations_delete(...)`, `locations_operations_get(...)` and `locations_operations_list(...)` /// // to build up your call. @@ -1100,7 +1100,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1369,7 +1369,7 @@ impl<'a> ProjectLocationEdgeCacheKeysetGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1655,7 +1655,7 @@ impl<'a> ProjectLocationEdgeCacheKeysetSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1940,7 +1940,7 @@ impl<'a> ProjectLocationEdgeCacheKeysetTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2209,7 +2209,7 @@ impl<'a> ProjectLocationEdgeCacheOriginGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2495,7 +2495,7 @@ impl<'a> ProjectLocationEdgeCacheOriginSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2780,7 +2780,7 @@ impl<'a> ProjectLocationEdgeCacheOriginTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3049,7 +3049,7 @@ impl<'a> ProjectLocationEdgeCacheServiceGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3335,7 +3335,7 @@ impl<'a> ProjectLocationEdgeCacheServiceSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3621,7 +3621,7 @@ impl<'a> ProjectLocationEdgeCacheServiceTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3918,7 +3918,7 @@ impl<'a> ProjectLocationEndpointPolicyCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4174,7 +4174,7 @@ impl<'a> ProjectLocationEndpointPolicyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4430,7 +4430,7 @@ impl<'a> ProjectLocationEndpointPolicyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4698,7 +4698,7 @@ impl<'a> ProjectLocationEndpointPolicyGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4979,7 +4979,7 @@ impl<'a> ProjectLocationEndpointPolicyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5277,7 +5277,7 @@ impl<'a> ProjectLocationEndpointPolicyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5563,7 +5563,7 @@ impl<'a> ProjectLocationEndpointPolicySetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5849,7 +5849,7 @@ impl<'a> ProjectLocationEndpointPolicyTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6134,7 +6134,7 @@ impl<'a> ProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6390,7 +6390,7 @@ impl<'a> ProjectLocationOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6646,7 +6646,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6938,7 +6938,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7194,7 +7194,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/networkservices1/src/lib.rs b/gen/networkservices1/src/lib.rs index cba70ecdf4..87ff732980 100644 --- a/gen/networkservices1/src/lib.rs +++ b/gen/networkservices1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *NetworkServices* crate version *3.0.0+20220222*, where *20220222* is the exact revision of the *networkservices:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *NetworkServices* crate version *3.1.0+20220222*, where *20220222* is the exact revision of the *networkservices:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *NetworkServices* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/networking). @@ -98,7 +98,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = NetworkServices::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/notebooks1-cli/Cargo.toml b/gen/notebooks1-cli/Cargo.toml index 1c8609a3e2..c3f5672861 100644 --- a/gen/notebooks1-cli/Cargo.toml +++ b/gen/notebooks1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-notebooks1-cli" -version = "3.0.0+20220224" +version = "3.1.0+20220224" authors = ["Sebastian Thiel "] description = "A complete library to interact with AI Platform Notebooks (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/notebooks1-cli" @@ -20,12 +20,12 @@ name = "notebooks1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-notebooks1] path = "../notebooks1" -version = "3.0.0+20220224" +version = "3.1.0+20220224" diff --git a/gen/notebooks1-cli/README.md b/gen/notebooks1-cli/README.md index 2d7c43cbde..210d91e8a7 100644 --- a/gen/notebooks1-cli/README.md +++ b/gen/notebooks1-cli/README.md @@ -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 *AI Platform Notebooks* API at revision *20220224*. The CLI is at version *3.0.0*. +This documentation was generated from the *AI Platform Notebooks* API at revision *20220224*. The CLI is at version *3.1.0*. ```bash notebooks1 [options] diff --git a/gen/notebooks1-cli/mkdocs.yml b/gen/notebooks1-cli/mkdocs.yml index 5ea52f7820..95fab0de4b 100644 --- a/gen/notebooks1-cli/mkdocs.yml +++ b/gen/notebooks1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: AI Platform Notebooks v3.0.0+20220224 +site_name: AI Platform Notebooks v3.1.0+20220224 site_url: http://byron.github.io/google-apis-rs/google-notebooks1-cli site_description: A complete library to interact with AI Platform Notebooks (protocol v1) diff --git a/gen/notebooks1-cli/src/main.rs b/gen/notebooks1-cli/src/main.rs index 7cb27a2813..145ec1ff6f 100644 --- a/gen/notebooks1-cli/src/main.rs +++ b/gen/notebooks1-cli/src/main.rs @@ -4301,7 +4301,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/notebooks1", 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::AIPlatformNotebooks::new(client, auth), @@ -5711,7 +5717,7 @@ async fn main() { let mut app = App::new("notebooks1") .author("Sebastian Thiel ") - .version("3.0.0+20220224") + .version("3.1.0+20220224") .about("Notebooks API is used to manage notebook resources in Google Cloud.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_notebooks1_cli") .arg(Arg::with_name("url") diff --git a/gen/notebooks1/Cargo.toml b/gen/notebooks1/Cargo.toml index 717207b936..61488ffe4a 100644 --- a/gen/notebooks1/Cargo.toml +++ b/gen/notebooks1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-notebooks1" -version = "3.0.0+20220224" +version = "3.1.0+20220224" authors = ["Sebastian Thiel "] description = "A complete library to interact with AI Platform Notebooks (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/notebooks1" homepage = "https://cloud.google.com/notebooks/docs/" -documentation = "https://docs.rs/google-notebooks1/3.0.0+20220224" +documentation = "https://docs.rs/google-notebooks1/3.1.0+20220224" license = "MIT" keywords = ["notebooks", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/notebooks1/README.md b/gen/notebooks1/README.md index 11f3e8d621..5dc992c7a6 100644 --- a/gen/notebooks1/README.md +++ b/gen/notebooks1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-notebooks1` library allows access to all features of the *Google AI Platform Notebooks* service. -This documentation was generated from *AI Platform Notebooks* crate version *3.0.0+20220224*, where *20220224* is the exact revision of the *notebooks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *AI Platform Notebooks* crate version *3.1.0+20220224*, where *20220224* is the exact revision of the *notebooks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *AI Platform Notebooks* *v1* API can be found at the [official documentation site](https://cloud.google.com/notebooks/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/AIPlatformNotebooks) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/AIPlatformNotebooks) ... * projects - * [*locations environments create*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationEnvironmentCreateCall), [*locations environments delete*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationEnvironmentDeleteCall), [*locations environments get*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationEnvironmentGetCall), [*locations environments list*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationEnvironmentListCall), [*locations executions create*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationExecutionCreateCall), [*locations executions delete*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationExecutionDeleteCall), [*locations executions get*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationExecutionGetCall), [*locations executions list*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationExecutionListCall), [*locations get*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationGetCall), [*locations instances create*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationInstanceDeleteCall), [*locations instances get*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationInstanceGetCall), [*locations instances get iam policy*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationInstanceGetIamPolicyCall), [*locations instances get instance health*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationInstanceGetInstanceHealthCall), [*locations instances is upgradeable*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationInstanceIsUpgradeableCall), [*locations instances list*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationInstanceListCall), [*locations instances register*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationInstanceRegisterCall), [*locations instances report*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationInstanceReportCall), [*locations instances reset*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationInstanceResetCall), [*locations instances rollback*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationInstanceRollbackCall), [*locations instances set accelerator*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationInstanceSetAcceleratorCall), [*locations instances set iam policy*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationInstanceSetIamPolicyCall), [*locations instances set labels*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationInstanceSetLabelCall), [*locations instances set machine type*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationInstanceSetMachineTypeCall), [*locations instances start*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationInstanceStartCall), [*locations instances stop*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationInstanceStopCall), [*locations instances test iam permissions*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationInstanceTestIamPermissionCall), [*locations instances update config*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationInstanceUpdateConfigCall), [*locations instances update metadata items*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationInstanceUpdateMetadataItemCall), [*locations instances update shielded instance config*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationInstanceUpdateShieldedInstanceConfigCall), [*locations instances upgrade*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationInstanceUpgradeCall), [*locations instances upgrade internal*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationInstanceUpgradeInternalCall), [*locations list*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationOperationListCall), [*locations runtimes create*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationRuntimeCreateCall), [*locations runtimes delete*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationRuntimeDeleteCall), [*locations runtimes get*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationRuntimeGetCall), [*locations runtimes get iam policy*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationRuntimeGetIamPolicyCall), [*locations runtimes list*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationRuntimeListCall), [*locations runtimes report event*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationRuntimeReportEventCall), [*locations runtimes reset*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationRuntimeResetCall), [*locations runtimes set iam policy*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationRuntimeSetIamPolicyCall), [*locations runtimes start*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationRuntimeStartCall), [*locations runtimes stop*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationRuntimeStopCall), [*locations runtimes switch*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationRuntimeSwitchCall), [*locations runtimes test iam permissions*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationRuntimeTestIamPermissionCall), [*locations schedules create*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationScheduleCreateCall), [*locations schedules delete*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationScheduleDeleteCall), [*locations schedules get*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationScheduleGetCall), [*locations schedules list*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationScheduleListCall) and [*locations schedules trigger*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/api::ProjectLocationScheduleTriggerCall) + * [*locations environments create*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationEnvironmentCreateCall), [*locations environments delete*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationEnvironmentDeleteCall), [*locations environments get*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationEnvironmentGetCall), [*locations environments list*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationEnvironmentListCall), [*locations executions create*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationExecutionCreateCall), [*locations executions delete*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationExecutionDeleteCall), [*locations executions get*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationExecutionGetCall), [*locations executions list*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationExecutionListCall), [*locations get*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationGetCall), [*locations instances create*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationInstanceDeleteCall), [*locations instances get*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationInstanceGetCall), [*locations instances get iam policy*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationInstanceGetIamPolicyCall), [*locations instances get instance health*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationInstanceGetInstanceHealthCall), [*locations instances is upgradeable*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationInstanceIsUpgradeableCall), [*locations instances list*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationInstanceListCall), [*locations instances register*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationInstanceRegisterCall), [*locations instances report*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationInstanceReportCall), [*locations instances reset*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationInstanceResetCall), [*locations instances rollback*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationInstanceRollbackCall), [*locations instances set accelerator*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationInstanceSetAcceleratorCall), [*locations instances set iam policy*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationInstanceSetIamPolicyCall), [*locations instances set labels*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationInstanceSetLabelCall), [*locations instances set machine type*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationInstanceSetMachineTypeCall), [*locations instances start*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationInstanceStartCall), [*locations instances stop*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationInstanceStopCall), [*locations instances test iam permissions*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationInstanceTestIamPermissionCall), [*locations instances update config*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationInstanceUpdateConfigCall), [*locations instances update metadata items*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationInstanceUpdateMetadataItemCall), [*locations instances update shielded instance config*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationInstanceUpdateShieldedInstanceConfigCall), [*locations instances upgrade*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationInstanceUpgradeCall), [*locations instances upgrade internal*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationInstanceUpgradeInternalCall), [*locations list*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationOperationListCall), [*locations runtimes create*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationRuntimeCreateCall), [*locations runtimes delete*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationRuntimeDeleteCall), [*locations runtimes get*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationRuntimeGetCall), [*locations runtimes get iam policy*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationRuntimeGetIamPolicyCall), [*locations runtimes list*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationRuntimeListCall), [*locations runtimes report event*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationRuntimeReportEventCall), [*locations runtimes reset*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationRuntimeResetCall), [*locations runtimes set iam policy*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationRuntimeSetIamPolicyCall), [*locations runtimes start*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationRuntimeStartCall), [*locations runtimes stop*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationRuntimeStopCall), [*locations runtimes switch*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationRuntimeSwitchCall), [*locations runtimes test iam permissions*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationRuntimeTestIamPermissionCall), [*locations schedules create*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationScheduleCreateCall), [*locations schedules delete*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationScheduleDeleteCall), [*locations schedules get*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationScheduleGetCall), [*locations schedules list*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationScheduleListCall) and [*locations schedules trigger*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/api::ProjectLocationScheduleTriggerCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/AIPlatformNotebooks)** +* **[Hub](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/AIPlatformNotebooks)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/client::CallBuilder) -* **[Resources](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/client::CallBuilder) +* **[Resources](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/client::Part)** + * **[Parts](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -120,7 +120,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -154,17 +154,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -174,29 +174,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/client::Delegate) to the -[Method Builder](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/client::Delegate) to the +[Method Builder](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/client::RequestValue) and -[decodable](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/client::RequestValue) and +[decodable](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-notebooks1/3.0.0+20220224/google_notebooks1/client::RequestValue) are moved +* [request values](https://docs.rs/google-notebooks1/3.1.0+20220224/google_notebooks1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/notebooks1/src/api.rs b/gen/notebooks1/src/api.rs index 7f277ddbf4..fe2c5a3564 100644 --- a/gen/notebooks1/src/api.rs +++ b/gen/notebooks1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > AIPlatformNotebooks<> { AIPlatformNotebooks { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://notebooks.googleapis.com/".to_string(), _root_url: "https://notebooks.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > AIPlatformNotebooks<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1901,7 +1901,7 @@ impl client::Part for VmImage {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_environments_create(...)`, `locations_environments_delete(...)`, `locations_environments_get(...)`, `locations_environments_list(...)`, `locations_executions_create(...)`, `locations_executions_delete(...)`, `locations_executions_get(...)`, `locations_executions_list(...)`, `locations_get(...)`, `locations_instances_create(...)`, `locations_instances_delete(...)`, `locations_instances_get(...)`, `locations_instances_get_iam_policy(...)`, `locations_instances_get_instance_health(...)`, `locations_instances_is_upgradeable(...)`, `locations_instances_list(...)`, `locations_instances_register(...)`, `locations_instances_report(...)`, `locations_instances_reset(...)`, `locations_instances_rollback(...)`, `locations_instances_set_accelerator(...)`, `locations_instances_set_iam_policy(...)`, `locations_instances_set_labels(...)`, `locations_instances_set_machine_type(...)`, `locations_instances_start(...)`, `locations_instances_stop(...)`, `locations_instances_test_iam_permissions(...)`, `locations_instances_update_config(...)`, `locations_instances_update_metadata_items(...)`, `locations_instances_update_shielded_instance_config(...)`, `locations_instances_upgrade(...)`, `locations_instances_upgrade_internal(...)`, `locations_list(...)`, `locations_operations_cancel(...)`, `locations_operations_delete(...)`, `locations_operations_get(...)`, `locations_operations_list(...)`, `locations_runtimes_create(...)`, `locations_runtimes_delete(...)`, `locations_runtimes_get(...)`, `locations_runtimes_get_iam_policy(...)`, `locations_runtimes_list(...)`, `locations_runtimes_report_event(...)`, `locations_runtimes_reset(...)`, `locations_runtimes_set_iam_policy(...)`, `locations_runtimes_start(...)`, `locations_runtimes_stop(...)`, `locations_runtimes_switch(...)`, `locations_runtimes_test_iam_permissions(...)`, `locations_schedules_create(...)`, `locations_schedules_delete(...)`, `locations_schedules_get(...)`, `locations_schedules_list(...)` and `locations_schedules_trigger(...)` /// // to build up your call. @@ -2956,7 +2956,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3253,7 +3253,7 @@ impl<'a> ProjectLocationEnvironmentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3509,7 +3509,7 @@ impl<'a> ProjectLocationEnvironmentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3765,7 +3765,7 @@ impl<'a> ProjectLocationEnvironmentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4046,7 +4046,7 @@ impl<'a> ProjectLocationEnvironmentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4343,7 +4343,7 @@ impl<'a> ProjectLocationExecutionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4599,7 +4599,7 @@ impl<'a> ProjectLocationExecutionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4855,7 +4855,7 @@ impl<'a> ProjectLocationExecutionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5160,7 +5160,7 @@ impl<'a> ProjectLocationExecutionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5457,7 +5457,7 @@ impl<'a> ProjectLocationInstanceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5713,7 +5713,7 @@ impl<'a> ProjectLocationInstanceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5969,7 +5969,7 @@ impl<'a> ProjectLocationInstanceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6237,7 +6237,7 @@ impl<'a> ProjectLocationInstanceGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6493,7 +6493,7 @@ impl<'a> ProjectLocationInstanceGetInstanceHealthCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6761,7 +6761,7 @@ impl<'a> ProjectLocationInstanceIsUpgradeableCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7042,7 +7042,7 @@ impl<'a> ProjectLocationInstanceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7328,7 +7328,7 @@ impl<'a> ProjectLocationInstanceRegisterCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7614,7 +7614,7 @@ impl<'a> ProjectLocationInstanceReportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7900,7 +7900,7 @@ impl<'a> ProjectLocationInstanceResetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8186,7 +8186,7 @@ impl<'a> ProjectLocationInstanceRollbackCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8472,7 +8472,7 @@ impl<'a> ProjectLocationInstanceSetAcceleratorCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8758,7 +8758,7 @@ impl<'a> ProjectLocationInstanceSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9044,7 +9044,7 @@ impl<'a> ProjectLocationInstanceSetLabelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9330,7 +9330,7 @@ impl<'a> ProjectLocationInstanceSetMachineTypeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9616,7 +9616,7 @@ impl<'a> ProjectLocationInstanceStartCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9902,7 +9902,7 @@ impl<'a> ProjectLocationInstanceStopCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10188,7 +10188,7 @@ impl<'a> ProjectLocationInstanceTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10474,7 +10474,7 @@ impl<'a> ProjectLocationInstanceUpdateConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10760,7 +10760,7 @@ impl<'a> ProjectLocationInstanceUpdateMetadataItemCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11046,7 +11046,7 @@ impl<'a> ProjectLocationInstanceUpdateShieldedInstanceConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11332,7 +11332,7 @@ impl<'a> ProjectLocationInstanceUpgradeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11618,7 +11618,7 @@ impl<'a> ProjectLocationInstanceUpgradeInternalCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11903,7 +11903,7 @@ impl<'a> ProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12159,7 +12159,7 @@ impl<'a> ProjectLocationOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12415,7 +12415,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12708,7 +12708,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13005,7 +13005,7 @@ impl<'a> ProjectLocationRuntimeCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13261,7 +13261,7 @@ impl<'a> ProjectLocationRuntimeDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13517,7 +13517,7 @@ impl<'a> ProjectLocationRuntimeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13785,7 +13785,7 @@ impl<'a> ProjectLocationRuntimeGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14066,7 +14066,7 @@ impl<'a> ProjectLocationRuntimeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14352,7 +14352,7 @@ impl<'a> ProjectLocationRuntimeReportEventCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14638,7 +14638,7 @@ impl<'a> ProjectLocationRuntimeResetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14924,7 +14924,7 @@ impl<'a> ProjectLocationRuntimeSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15210,7 +15210,7 @@ impl<'a> ProjectLocationRuntimeStartCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15496,7 +15496,7 @@ impl<'a> ProjectLocationRuntimeStopCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15782,7 +15782,7 @@ impl<'a> ProjectLocationRuntimeSwitchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16068,7 +16068,7 @@ impl<'a> ProjectLocationRuntimeTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16365,7 +16365,7 @@ impl<'a> ProjectLocationScheduleCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16621,7 +16621,7 @@ impl<'a> ProjectLocationScheduleDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16877,7 +16877,7 @@ impl<'a> ProjectLocationScheduleGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17182,7 +17182,7 @@ impl<'a> ProjectLocationScheduleListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17467,7 +17467,7 @@ impl<'a> ProjectLocationScheduleTriggerCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17723,7 +17723,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/notebooks1/src/lib.rs b/gen/notebooks1/src/lib.rs index 88e50822f7..8df336ebb7 100644 --- a/gen/notebooks1/src/lib.rs +++ b/gen/notebooks1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *AI Platform Notebooks* crate version *3.0.0+20220224*, where *20220224* is the exact revision of the *notebooks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *AI Platform Notebooks* crate version *3.1.0+20220224*, where *20220224* is the exact revision of the *notebooks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *AI Platform Notebooks* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/notebooks/docs/). @@ -121,7 +121,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = AIPlatformNotebooks::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/ondemandscanning1-cli/Cargo.toml b/gen/ondemandscanning1-cli/Cargo.toml index 73d44c62bb..09998e38cc 100644 --- a/gen/ondemandscanning1-cli/Cargo.toml +++ b/gen/ondemandscanning1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-ondemandscanning1-cli" -version = "3.0.0+20220228" +version = "3.1.0+20220228" authors = ["Sebastian Thiel "] description = "A complete library to interact with On-Demand Scanning (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/ondemandscanning1-cli" @@ -20,12 +20,12 @@ name = "ondemandscanning1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-ondemandscanning1] path = "../ondemandscanning1" -version = "3.0.0+20220228" +version = "3.1.0+20220228" diff --git a/gen/ondemandscanning1-cli/README.md b/gen/ondemandscanning1-cli/README.md index 9b71e96538..ded46e8089 100644 --- a/gen/ondemandscanning1-cli/README.md +++ b/gen/ondemandscanning1-cli/README.md @@ -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 *On-Demand Scanning* API at revision *20220228*. The CLI is at version *3.0.0*. +This documentation was generated from the *On-Demand Scanning* API at revision *20220228*. The CLI is at version *3.1.0*. ```bash ondemandscanning1 [options] diff --git a/gen/ondemandscanning1-cli/mkdocs.yml b/gen/ondemandscanning1-cli/mkdocs.yml index 0c1cea1ec4..b8a09a03a2 100644 --- a/gen/ondemandscanning1-cli/mkdocs.yml +++ b/gen/ondemandscanning1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: On-Demand Scanning v3.0.0+20220228 +site_name: On-Demand Scanning v3.1.0+20220228 site_url: http://byron.github.io/google-apis-rs/google-ondemandscanning1-cli site_description: A complete library to interact with On-Demand Scanning (protocol v1) diff --git a/gen/ondemandscanning1-cli/src/main.rs b/gen/ondemandscanning1-cli/src/main.rs index 2a8d8cf454..099c43ffac 100644 --- a/gen/ondemandscanning1-cli/src/main.rs +++ b/gen/ondemandscanning1-cli/src/main.rs @@ -529,7 +529,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/ondemandscanning1", 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::OnDemandScanning::new(client, auth), @@ -731,7 +737,7 @@ async fn main() { let mut app = App::new("ondemandscanning1") .author("Sebastian Thiel ") - .version("3.0.0+20220228") + .version("3.1.0+20220228") .about("A service to scan container images for vulnerabilities.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_ondemandscanning1_cli") .arg(Arg::with_name("url") diff --git a/gen/ondemandscanning1/Cargo.toml b/gen/ondemandscanning1/Cargo.toml index fcee4b1c46..026bce8a16 100644 --- a/gen/ondemandscanning1/Cargo.toml +++ b/gen/ondemandscanning1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-ondemandscanning1" -version = "3.0.0+20220228" +version = "3.1.0+20220228" authors = ["Sebastian Thiel "] description = "A complete library to interact with On-Demand Scanning (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/ondemandscanning1" homepage = "https://cloud.google.com/container-analysis/docs/on-demand-scanning/" -documentation = "https://docs.rs/google-ondemandscanning1/3.0.0+20220228" +documentation = "https://docs.rs/google-ondemandscanning1/3.1.0+20220228" license = "MIT" keywords = ["ondemandscanning", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/ondemandscanning1/README.md b/gen/ondemandscanning1/README.md index 1e97b9ba9b..73aa9ce11e 100644 --- a/gen/ondemandscanning1/README.md +++ b/gen/ondemandscanning1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-ondemandscanning1` library allows access to all features of the *Google On-Demand Scanning* service. -This documentation was generated from *On-Demand Scanning* crate version *3.0.0+20220228*, where *20220228* is the exact revision of the *ondemandscanning:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *On-Demand Scanning* crate version *3.1.0+20220228*, where *20220228* is the exact revision of the *ondemandscanning:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *On-Demand Scanning* *v1* API can be found at the [official documentation site](https://cloud.google.com/container-analysis/docs/on-demand-scanning/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-ondemandscanning1/3.0.0+20220228/google_ondemandscanning1/OnDemandScanning) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-ondemandscanning1/3.1.0+20220228/google_ondemandscanning1/OnDemandScanning) ... * projects - * [*locations operations cancel*](https://docs.rs/google-ondemandscanning1/3.0.0+20220228/google_ondemandscanning1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-ondemandscanning1/3.0.0+20220228/google_ondemandscanning1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-ondemandscanning1/3.0.0+20220228/google_ondemandscanning1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-ondemandscanning1/3.0.0+20220228/google_ondemandscanning1/api::ProjectLocationOperationListCall), [*locations operations wait*](https://docs.rs/google-ondemandscanning1/3.0.0+20220228/google_ondemandscanning1/api::ProjectLocationOperationWaitCall), [*locations scans analyze packages*](https://docs.rs/google-ondemandscanning1/3.0.0+20220228/google_ondemandscanning1/api::ProjectLocationScanAnalyzePackageCall) and [*locations scans vulnerabilities list*](https://docs.rs/google-ondemandscanning1/3.0.0+20220228/google_ondemandscanning1/api::ProjectLocationScanVulnerabilityListCall) + * [*locations operations cancel*](https://docs.rs/google-ondemandscanning1/3.1.0+20220228/google_ondemandscanning1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-ondemandscanning1/3.1.0+20220228/google_ondemandscanning1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-ondemandscanning1/3.1.0+20220228/google_ondemandscanning1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-ondemandscanning1/3.1.0+20220228/google_ondemandscanning1/api::ProjectLocationOperationListCall), [*locations operations wait*](https://docs.rs/google-ondemandscanning1/3.1.0+20220228/google_ondemandscanning1/api::ProjectLocationOperationWaitCall), [*locations scans analyze packages*](https://docs.rs/google-ondemandscanning1/3.1.0+20220228/google_ondemandscanning1/api::ProjectLocationScanAnalyzePackageCall) and [*locations scans vulnerabilities list*](https://docs.rs/google-ondemandscanning1/3.1.0+20220228/google_ondemandscanning1/api::ProjectLocationScanVulnerabilityListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-ondemandscanning1/3.0.0+20220228/google_ondemandscanning1/OnDemandScanning)** +* **[Hub](https://docs.rs/google-ondemandscanning1/3.1.0+20220228/google_ondemandscanning1/OnDemandScanning)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-ondemandscanning1/3.0.0+20220228/google_ondemandscanning1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-ondemandscanning1/3.0.0+20220228/google_ondemandscanning1/client::CallBuilder) -* **[Resources](https://docs.rs/google-ondemandscanning1/3.0.0+20220228/google_ondemandscanning1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-ondemandscanning1/3.1.0+20220228/google_ondemandscanning1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-ondemandscanning1/3.1.0+20220228/google_ondemandscanning1/client::CallBuilder) +* **[Resources](https://docs.rs/google-ondemandscanning1/3.1.0+20220228/google_ondemandscanning1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-ondemandscanning1/3.0.0+20220228/google_ondemandscanning1/client::Part)** + * **[Parts](https://docs.rs/google-ondemandscanning1/3.1.0+20220228/google_ondemandscanning1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-ondemandscanning1/3.0.0+20220228/google_ondemandscanning1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-ondemandscanning1/3.1.0+20220228/google_ondemandscanning1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -92,7 +92,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = OnDemandScanning::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = OnDemandScanning::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -121,17 +121,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-ondemandscanning1/3.0.0+20220228/google_ondemandscanning1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-ondemandscanning1/3.1.0+20220228/google_ondemandscanning1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-ondemandscanning1/3.0.0+20220228/google_ondemandscanning1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-ondemandscanning1/3.1.0+20220228/google_ondemandscanning1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-ondemandscanning1/3.0.0+20220228/google_ondemandscanning1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-ondemandscanning1/3.1.0+20220228/google_ondemandscanning1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-ondemandscanning1/3.0.0+20220228/google_ondemandscanning1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-ondemandscanning1/3.1.0+20220228/google_ondemandscanning1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -141,29 +141,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-ondemandscanning1/3.0.0+20220228/google_ondemandscanning1/client::Delegate) to the -[Method Builder](https://docs.rs/google-ondemandscanning1/3.0.0+20220228/google_ondemandscanning1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-ondemandscanning1/3.1.0+20220228/google_ondemandscanning1/client::Delegate) to the +[Method Builder](https://docs.rs/google-ondemandscanning1/3.1.0+20220228/google_ondemandscanning1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-ondemandscanning1/3.0.0+20220228/google_ondemandscanning1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-ondemandscanning1/3.1.0+20220228/google_ondemandscanning1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-ondemandscanning1/3.0.0+20220228/google_ondemandscanning1/client::RequestValue) and -[decodable](https://docs.rs/google-ondemandscanning1/3.0.0+20220228/google_ondemandscanning1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-ondemandscanning1/3.1.0+20220228/google_ondemandscanning1/client::RequestValue) and +[decodable](https://docs.rs/google-ondemandscanning1/3.1.0+20220228/google_ondemandscanning1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-ondemandscanning1/3.0.0+20220228/google_ondemandscanning1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-ondemandscanning1/3.1.0+20220228/google_ondemandscanning1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-ondemandscanning1/3.0.0+20220228/google_ondemandscanning1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-ondemandscanning1/3.1.0+20220228/google_ondemandscanning1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-ondemandscanning1/3.0.0+20220228/google_ondemandscanning1/client::RequestValue) are moved +* [request values](https://docs.rs/google-ondemandscanning1/3.1.0+20220228/google_ondemandscanning1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/ondemandscanning1/src/api.rs b/gen/ondemandscanning1/src/api.rs index bf66d1cd8a..e7409a1248 100644 --- a/gen/ondemandscanning1/src/api.rs +++ b/gen/ondemandscanning1/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = OnDemandScanning::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = OnDemandScanning::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -114,7 +114,7 @@ impl<'a, > OnDemandScanning<> { OnDemandScanning { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://ondemandscanning.googleapis.com/".to_string(), _root_url: "https://ondemandscanning.googleapis.com/".to_string(), } @@ -125,7 +125,7 @@ impl<'a, > OnDemandScanning<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1462,7 +1462,7 @@ impl client::Part for WindowsUpdate {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = OnDemandScanning::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = OnDemandScanning::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_operations_cancel(...)`, `locations_operations_delete(...)`, `locations_operations_get(...)`, `locations_operations_list(...)`, `locations_operations_wait(...)`, `locations_scans_analyze_packages(...)` and `locations_scans_vulnerabilities_list(...)` /// // to build up your call. @@ -1637,7 +1637,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = OnDemandScanning::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = OnDemandScanning::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1893,7 +1893,7 @@ impl<'a> ProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = OnDemandScanning::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = OnDemandScanning::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2149,7 +2149,7 @@ impl<'a> ProjectLocationOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = OnDemandScanning::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = OnDemandScanning::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2405,7 +2405,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = OnDemandScanning::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = OnDemandScanning::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2697,7 +2697,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = OnDemandScanning::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = OnDemandScanning::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2965,7 +2965,7 @@ impl<'a> ProjectLocationOperationWaitCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = OnDemandScanning::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = OnDemandScanning::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3246,7 +3246,7 @@ impl<'a> ProjectLocationScanVulnerabilityListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = OnDemandScanning::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = OnDemandScanning::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/ondemandscanning1/src/lib.rs b/gen/ondemandscanning1/src/lib.rs index 9667048c2b..f8a185d9d0 100644 --- a/gen/ondemandscanning1/src/lib.rs +++ b/gen/ondemandscanning1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *On-Demand Scanning* crate version *3.0.0+20220228*, where *20220228* is the exact revision of the *ondemandscanning:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *On-Demand Scanning* crate version *3.1.0+20220228*, where *20220228* is the exact revision of the *ondemandscanning:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *On-Demand Scanning* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/container-analysis/docs/on-demand-scanning/). @@ -93,7 +93,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = OnDemandScanning::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = OnDemandScanning::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/orgpolicy2-cli/Cargo.toml b/gen/orgpolicy2-cli/Cargo.toml index bd64bfac0b..b3feaac9b7 100644 --- a/gen/orgpolicy2-cli/Cargo.toml +++ b/gen/orgpolicy2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-orgpolicy2-cli" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with OrgPolicy API (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/orgpolicy2-cli" @@ -20,12 +20,12 @@ name = "orgpolicy2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-orgpolicy2] path = "../orgpolicy2" -version = "3.0.0+20220305" +version = "3.1.0+20220305" diff --git a/gen/orgpolicy2-cli/README.md b/gen/orgpolicy2-cli/README.md index e610c6126d..ac888ca884 100644 --- a/gen/orgpolicy2-cli/README.md +++ b/gen/orgpolicy2-cli/README.md @@ -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 *OrgPolicy API* API at revision *20220305*. The CLI is at version *3.0.0*. +This documentation was generated from the *OrgPolicy API* API at revision *20220305*. The CLI is at version *3.1.0*. ```bash orgpolicy2 [options] diff --git a/gen/orgpolicy2-cli/mkdocs.yml b/gen/orgpolicy2-cli/mkdocs.yml index 73022d0cef..97c797f554 100644 --- a/gen/orgpolicy2-cli/mkdocs.yml +++ b/gen/orgpolicy2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: OrgPolicy API v3.0.0+20220305 +site_name: OrgPolicy API v3.1.0+20220305 site_url: http://byron.github.io/google-apis-rs/google-orgpolicy2-cli site_description: A complete library to interact with OrgPolicy API (protocol v2) diff --git a/gen/orgpolicy2-cli/src/main.rs b/gen/orgpolicy2-cli/src/main.rs index c8b0bf9214..9ecb09ec75 100644 --- a/gen/orgpolicy2-cli/src/main.rs +++ b/gen/orgpolicy2-cli/src/main.rs @@ -1554,7 +1554,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/orgpolicy2", 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::OrgPolicyAPI::new(client, auth), @@ -2100,7 +2106,7 @@ async fn main() { let mut app = App::new("orgpolicy2") .author("Sebastian Thiel ") - .version("3.0.0+20220305") + .version("3.1.0+20220305") .about("The Org Policy API allows users to configure governance rules on their GCP resources across the Cloud Resource Hierarchy.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_orgpolicy2_cli") .arg(Arg::with_name("url") diff --git a/gen/orgpolicy2/Cargo.toml b/gen/orgpolicy2/Cargo.toml index b7bd08402f..71a003b3d8 100644 --- a/gen/orgpolicy2/Cargo.toml +++ b/gen/orgpolicy2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-orgpolicy2" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with OrgPolicy API (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/orgpolicy2" homepage = "https://cloud.google.com/orgpolicy/docs/reference/rest/index.html" -documentation = "https://docs.rs/google-orgpolicy2/3.0.0+20220305" +documentation = "https://docs.rs/google-orgpolicy2/3.1.0+20220305" license = "MIT" keywords = ["orgpolicy", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/orgpolicy2/README.md b/gen/orgpolicy2/README.md index 50dbe6ef78..8905e8778f 100644 --- a/gen/orgpolicy2/README.md +++ b/gen/orgpolicy2/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-orgpolicy2` library allows access to all features of the *Google OrgPolicy API* service. -This documentation was generated from *OrgPolicy API* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *orgpolicy:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *OrgPolicy API* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *orgpolicy:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *OrgPolicy API* *v2* API can be found at the [official documentation site](https://cloud.google.com/orgpolicy/docs/reference/rest/index.html). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-orgpolicy2/3.0.0+20220305/google_orgpolicy2/OrgPolicyAPI) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-orgpolicy2/3.1.0+20220305/google_orgpolicy2/OrgPolicyAPI) ... * folders - * [*constraints list*](https://docs.rs/google-orgpolicy2/3.0.0+20220305/google_orgpolicy2/api::FolderConstraintListCall), [*policies create*](https://docs.rs/google-orgpolicy2/3.0.0+20220305/google_orgpolicy2/api::FolderPolicyCreateCall), [*policies delete*](https://docs.rs/google-orgpolicy2/3.0.0+20220305/google_orgpolicy2/api::FolderPolicyDeleteCall), [*policies get*](https://docs.rs/google-orgpolicy2/3.0.0+20220305/google_orgpolicy2/api::FolderPolicyGetCall), [*policies get effective policy*](https://docs.rs/google-orgpolicy2/3.0.0+20220305/google_orgpolicy2/api::FolderPolicyGetEffectivePolicyCall), [*policies list*](https://docs.rs/google-orgpolicy2/3.0.0+20220305/google_orgpolicy2/api::FolderPolicyListCall) and [*policies patch*](https://docs.rs/google-orgpolicy2/3.0.0+20220305/google_orgpolicy2/api::FolderPolicyPatchCall) + * [*constraints list*](https://docs.rs/google-orgpolicy2/3.1.0+20220305/google_orgpolicy2/api::FolderConstraintListCall), [*policies create*](https://docs.rs/google-orgpolicy2/3.1.0+20220305/google_orgpolicy2/api::FolderPolicyCreateCall), [*policies delete*](https://docs.rs/google-orgpolicy2/3.1.0+20220305/google_orgpolicy2/api::FolderPolicyDeleteCall), [*policies get*](https://docs.rs/google-orgpolicy2/3.1.0+20220305/google_orgpolicy2/api::FolderPolicyGetCall), [*policies get effective policy*](https://docs.rs/google-orgpolicy2/3.1.0+20220305/google_orgpolicy2/api::FolderPolicyGetEffectivePolicyCall), [*policies list*](https://docs.rs/google-orgpolicy2/3.1.0+20220305/google_orgpolicy2/api::FolderPolicyListCall) and [*policies patch*](https://docs.rs/google-orgpolicy2/3.1.0+20220305/google_orgpolicy2/api::FolderPolicyPatchCall) * organizations - * [*constraints list*](https://docs.rs/google-orgpolicy2/3.0.0+20220305/google_orgpolicy2/api::OrganizationConstraintListCall), [*policies create*](https://docs.rs/google-orgpolicy2/3.0.0+20220305/google_orgpolicy2/api::OrganizationPolicyCreateCall), [*policies delete*](https://docs.rs/google-orgpolicy2/3.0.0+20220305/google_orgpolicy2/api::OrganizationPolicyDeleteCall), [*policies get*](https://docs.rs/google-orgpolicy2/3.0.0+20220305/google_orgpolicy2/api::OrganizationPolicyGetCall), [*policies get effective policy*](https://docs.rs/google-orgpolicy2/3.0.0+20220305/google_orgpolicy2/api::OrganizationPolicyGetEffectivePolicyCall), [*policies list*](https://docs.rs/google-orgpolicy2/3.0.0+20220305/google_orgpolicy2/api::OrganizationPolicyListCall) and [*policies patch*](https://docs.rs/google-orgpolicy2/3.0.0+20220305/google_orgpolicy2/api::OrganizationPolicyPatchCall) + * [*constraints list*](https://docs.rs/google-orgpolicy2/3.1.0+20220305/google_orgpolicy2/api::OrganizationConstraintListCall), [*policies create*](https://docs.rs/google-orgpolicy2/3.1.0+20220305/google_orgpolicy2/api::OrganizationPolicyCreateCall), [*policies delete*](https://docs.rs/google-orgpolicy2/3.1.0+20220305/google_orgpolicy2/api::OrganizationPolicyDeleteCall), [*policies get*](https://docs.rs/google-orgpolicy2/3.1.0+20220305/google_orgpolicy2/api::OrganizationPolicyGetCall), [*policies get effective policy*](https://docs.rs/google-orgpolicy2/3.1.0+20220305/google_orgpolicy2/api::OrganizationPolicyGetEffectivePolicyCall), [*policies list*](https://docs.rs/google-orgpolicy2/3.1.0+20220305/google_orgpolicy2/api::OrganizationPolicyListCall) and [*policies patch*](https://docs.rs/google-orgpolicy2/3.1.0+20220305/google_orgpolicy2/api::OrganizationPolicyPatchCall) * projects - * [*constraints list*](https://docs.rs/google-orgpolicy2/3.0.0+20220305/google_orgpolicy2/api::ProjectConstraintListCall), [*policies create*](https://docs.rs/google-orgpolicy2/3.0.0+20220305/google_orgpolicy2/api::ProjectPolicyCreateCall), [*policies delete*](https://docs.rs/google-orgpolicy2/3.0.0+20220305/google_orgpolicy2/api::ProjectPolicyDeleteCall), [*policies get*](https://docs.rs/google-orgpolicy2/3.0.0+20220305/google_orgpolicy2/api::ProjectPolicyGetCall), [*policies get effective policy*](https://docs.rs/google-orgpolicy2/3.0.0+20220305/google_orgpolicy2/api::ProjectPolicyGetEffectivePolicyCall), [*policies list*](https://docs.rs/google-orgpolicy2/3.0.0+20220305/google_orgpolicy2/api::ProjectPolicyListCall) and [*policies patch*](https://docs.rs/google-orgpolicy2/3.0.0+20220305/google_orgpolicy2/api::ProjectPolicyPatchCall) + * [*constraints list*](https://docs.rs/google-orgpolicy2/3.1.0+20220305/google_orgpolicy2/api::ProjectConstraintListCall), [*policies create*](https://docs.rs/google-orgpolicy2/3.1.0+20220305/google_orgpolicy2/api::ProjectPolicyCreateCall), [*policies delete*](https://docs.rs/google-orgpolicy2/3.1.0+20220305/google_orgpolicy2/api::ProjectPolicyDeleteCall), [*policies get*](https://docs.rs/google-orgpolicy2/3.1.0+20220305/google_orgpolicy2/api::ProjectPolicyGetCall), [*policies get effective policy*](https://docs.rs/google-orgpolicy2/3.1.0+20220305/google_orgpolicy2/api::ProjectPolicyGetEffectivePolicyCall), [*policies list*](https://docs.rs/google-orgpolicy2/3.1.0+20220305/google_orgpolicy2/api::ProjectPolicyListCall) and [*policies patch*](https://docs.rs/google-orgpolicy2/3.1.0+20220305/google_orgpolicy2/api::ProjectPolicyPatchCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-orgpolicy2/3.0.0+20220305/google_orgpolicy2/OrgPolicyAPI)** +* **[Hub](https://docs.rs/google-orgpolicy2/3.1.0+20220305/google_orgpolicy2/OrgPolicyAPI)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-orgpolicy2/3.0.0+20220305/google_orgpolicy2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-orgpolicy2/3.0.0+20220305/google_orgpolicy2/client::CallBuilder) -* **[Resources](https://docs.rs/google-orgpolicy2/3.0.0+20220305/google_orgpolicy2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-orgpolicy2/3.1.0+20220305/google_orgpolicy2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-orgpolicy2/3.1.0+20220305/google_orgpolicy2/client::CallBuilder) +* **[Resources](https://docs.rs/google-orgpolicy2/3.1.0+20220305/google_orgpolicy2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-orgpolicy2/3.0.0+20220305/google_orgpolicy2/client::Part)** + * **[Parts](https://docs.rs/google-orgpolicy2/3.1.0+20220305/google_orgpolicy2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-orgpolicy2/3.0.0+20220305/google_orgpolicy2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-orgpolicy2/3.1.0+20220305/google_orgpolicy2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -106,7 +106,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -139,17 +139,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-orgpolicy2/3.0.0+20220305/google_orgpolicy2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-orgpolicy2/3.1.0+20220305/google_orgpolicy2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-orgpolicy2/3.0.0+20220305/google_orgpolicy2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-orgpolicy2/3.1.0+20220305/google_orgpolicy2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-orgpolicy2/3.0.0+20220305/google_orgpolicy2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-orgpolicy2/3.1.0+20220305/google_orgpolicy2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-orgpolicy2/3.0.0+20220305/google_orgpolicy2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-orgpolicy2/3.1.0+20220305/google_orgpolicy2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -159,29 +159,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-orgpolicy2/3.0.0+20220305/google_orgpolicy2/client::Delegate) to the -[Method Builder](https://docs.rs/google-orgpolicy2/3.0.0+20220305/google_orgpolicy2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-orgpolicy2/3.1.0+20220305/google_orgpolicy2/client::Delegate) to the +[Method Builder](https://docs.rs/google-orgpolicy2/3.1.0+20220305/google_orgpolicy2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-orgpolicy2/3.0.0+20220305/google_orgpolicy2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-orgpolicy2/3.1.0+20220305/google_orgpolicy2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-orgpolicy2/3.0.0+20220305/google_orgpolicy2/client::RequestValue) and -[decodable](https://docs.rs/google-orgpolicy2/3.0.0+20220305/google_orgpolicy2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-orgpolicy2/3.1.0+20220305/google_orgpolicy2/client::RequestValue) and +[decodable](https://docs.rs/google-orgpolicy2/3.1.0+20220305/google_orgpolicy2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-orgpolicy2/3.0.0+20220305/google_orgpolicy2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-orgpolicy2/3.1.0+20220305/google_orgpolicy2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-orgpolicy2/3.0.0+20220305/google_orgpolicy2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-orgpolicy2/3.1.0+20220305/google_orgpolicy2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-orgpolicy2/3.0.0+20220305/google_orgpolicy2/client::RequestValue) are moved +* [request values](https://docs.rs/google-orgpolicy2/3.1.0+20220305/google_orgpolicy2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/orgpolicy2/src/api.rs b/gen/orgpolicy2/src/api.rs index d1687c0b06..d224cc77ef 100644 --- a/gen/orgpolicy2/src/api.rs +++ b/gen/orgpolicy2/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > OrgPolicyAPI<> { OrgPolicyAPI { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://orgpolicy.googleapis.com/".to_string(), _root_url: "https://orgpolicy.googleapis.com/".to_string(), } @@ -136,7 +136,7 @@ impl<'a, > OrgPolicyAPI<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -438,7 +438,7 @@ impl client::Part for GoogleTypeExpr {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `constraints_list(...)`, `policies_create(...)`, `policies_delete(...)`, `policies_get(...)`, `policies_get_effective_policy(...)`, `policies_list(...)` and `policies_patch(...)` /// // to build up your call. @@ -606,7 +606,7 @@ impl<'a> FolderMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `constraints_list(...)`, `policies_create(...)`, `policies_delete(...)`, `policies_get(...)`, `policies_get_effective_policy(...)`, `policies_list(...)` and `policies_patch(...)` /// // to build up your call. @@ -774,7 +774,7 @@ impl<'a> OrganizationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `constraints_list(...)`, `policies_create(...)`, `policies_delete(...)`, `policies_get(...)`, `policies_get_effective_policy(...)`, `policies_list(...)` and `policies_patch(...)` /// // to build up your call. @@ -949,7 +949,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1230,7 +1230,7 @@ impl<'a> FolderConstraintListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1515,7 +1515,7 @@ impl<'a> FolderPolicyCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1771,7 +1771,7 @@ impl<'a> FolderPolicyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2027,7 +2027,7 @@ impl<'a> FolderPolicyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2283,7 +2283,7 @@ impl<'a> FolderPolicyGetEffectivePolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2564,7 +2564,7 @@ impl<'a> FolderPolicyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2849,7 +2849,7 @@ impl<'a> FolderPolicyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3130,7 +3130,7 @@ impl<'a> OrganizationConstraintListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3415,7 +3415,7 @@ impl<'a> OrganizationPolicyCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3671,7 +3671,7 @@ impl<'a> OrganizationPolicyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3927,7 +3927,7 @@ impl<'a> OrganizationPolicyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4183,7 +4183,7 @@ impl<'a> OrganizationPolicyGetEffectivePolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4464,7 +4464,7 @@ impl<'a> OrganizationPolicyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4749,7 +4749,7 @@ impl<'a> OrganizationPolicyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5030,7 +5030,7 @@ impl<'a> ProjectConstraintListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5315,7 +5315,7 @@ impl<'a> ProjectPolicyCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5571,7 +5571,7 @@ impl<'a> ProjectPolicyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5827,7 +5827,7 @@ impl<'a> ProjectPolicyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6083,7 +6083,7 @@ impl<'a> ProjectPolicyGetEffectivePolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6364,7 +6364,7 @@ impl<'a> ProjectPolicyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/orgpolicy2/src/lib.rs b/gen/orgpolicy2/src/lib.rs index 458dae12bd..ea665b4fd2 100644 --- a/gen/orgpolicy2/src/lib.rs +++ b/gen/orgpolicy2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *OrgPolicy API* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *orgpolicy:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *OrgPolicy API* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *orgpolicy:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *OrgPolicy API* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/orgpolicy/docs/reference/rest/index.html). @@ -107,7 +107,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = OrgPolicyAPI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/oslogin1-cli/Cargo.toml b/gen/oslogin1-cli/Cargo.toml index 31dcb1e14d..fcd0738cf4 100644 --- a/gen/oslogin1-cli/Cargo.toml +++ b/gen/oslogin1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-oslogin1-cli" -version = "3.0.0+20220228" +version = "3.1.0+20220228" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud OS Login (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/oslogin1-cli" @@ -20,12 +20,12 @@ name = "oslogin1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-oslogin1] path = "../oslogin1" -version = "3.0.0+20220228" +version = "3.1.0+20220228" diff --git a/gen/oslogin1-cli/README.md b/gen/oslogin1-cli/README.md index 451a174cd4..56b7c7fb4f 100644 --- a/gen/oslogin1-cli/README.md +++ b/gen/oslogin1-cli/README.md @@ -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 *Cloud OS Login* API at revision *20220228*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud OS Login* API at revision *20220228*. The CLI is at version *3.1.0*. ```bash oslogin1 [options] diff --git a/gen/oslogin1-cli/mkdocs.yml b/gen/oslogin1-cli/mkdocs.yml index 21af6531ae..1fcb57dfc2 100644 --- a/gen/oslogin1-cli/mkdocs.yml +++ b/gen/oslogin1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud OS Login v3.0.0+20220228 +site_name: Cloud OS Login v3.1.0+20220228 site_url: http://byron.github.io/google-apis-rs/google-oslogin1-cli site_description: A complete library to interact with Cloud OS Login (protocol v1) diff --git a/gen/oslogin1-cli/src/main.rs b/gen/oslogin1-cli/src/main.rs index 1156e8692a..d1ca09910d 100644 --- a/gen/oslogin1-cli/src/main.rs +++ b/gen/oslogin1-cli/src/main.rs @@ -597,7 +597,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/oslogin1", 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::CloudOSLogin::new(client, auth), @@ -811,7 +817,7 @@ async fn main() { let mut app = App::new("oslogin1") .author("Sebastian Thiel ") - .version("3.0.0+20220228") + .version("3.1.0+20220228") .about("You can use OS Login to manage access to your VM instances using IAM roles.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_oslogin1_cli") .arg(Arg::with_name("url") diff --git a/gen/oslogin1/Cargo.toml b/gen/oslogin1/Cargo.toml index ddb1ca2b12..3ec10ef7cc 100644 --- a/gen/oslogin1/Cargo.toml +++ b/gen/oslogin1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-oslogin1" -version = "3.0.0+20220228" +version = "3.1.0+20220228" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud OS Login (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/oslogin1" homepage = "https://cloud.google.com/compute/docs/oslogin/" -documentation = "https://docs.rs/google-oslogin1/3.0.0+20220228" +documentation = "https://docs.rs/google-oslogin1/3.1.0+20220228" license = "MIT" keywords = ["oslogin", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/oslogin1/README.md b/gen/oslogin1/README.md index 3b09661f5e..ce6c2d4816 100644 --- a/gen/oslogin1/README.md +++ b/gen/oslogin1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-oslogin1` library allows access to all features of the *Google Cloud OS Login* service. -This documentation was generated from *Cloud OS Login* crate version *3.0.0+20220228*, where *20220228* is the exact revision of the *oslogin:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud OS Login* crate version *3.1.0+20220228*, where *20220228* is the exact revision of the *oslogin:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud OS Login* *v1* API can be found at the [official documentation site](https://cloud.google.com/compute/docs/oslogin/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-oslogin1/3.0.0+20220228/google_oslogin1/CloudOSLogin) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-oslogin1/3.1.0+20220228/google_oslogin1/CloudOSLogin) ... * users - * [*get login profile*](https://docs.rs/google-oslogin1/3.0.0+20220228/google_oslogin1/api::UserGetLoginProfileCall), [*import ssh public key*](https://docs.rs/google-oslogin1/3.0.0+20220228/google_oslogin1/api::UserImportSshPublicKeyCall), [*projects delete*](https://docs.rs/google-oslogin1/3.0.0+20220228/google_oslogin1/api::UserProjectDeleteCall), [*ssh public keys create*](https://docs.rs/google-oslogin1/3.0.0+20220228/google_oslogin1/api::UserSshPublicKeyCreateCall), [*ssh public keys delete*](https://docs.rs/google-oslogin1/3.0.0+20220228/google_oslogin1/api::UserSshPublicKeyDeleteCall), [*ssh public keys get*](https://docs.rs/google-oslogin1/3.0.0+20220228/google_oslogin1/api::UserSshPublicKeyGetCall) and [*ssh public keys patch*](https://docs.rs/google-oslogin1/3.0.0+20220228/google_oslogin1/api::UserSshPublicKeyPatchCall) + * [*get login profile*](https://docs.rs/google-oslogin1/3.1.0+20220228/google_oslogin1/api::UserGetLoginProfileCall), [*import ssh public key*](https://docs.rs/google-oslogin1/3.1.0+20220228/google_oslogin1/api::UserImportSshPublicKeyCall), [*projects delete*](https://docs.rs/google-oslogin1/3.1.0+20220228/google_oslogin1/api::UserProjectDeleteCall), [*ssh public keys create*](https://docs.rs/google-oslogin1/3.1.0+20220228/google_oslogin1/api::UserSshPublicKeyCreateCall), [*ssh public keys delete*](https://docs.rs/google-oslogin1/3.1.0+20220228/google_oslogin1/api::UserSshPublicKeyDeleteCall), [*ssh public keys get*](https://docs.rs/google-oslogin1/3.1.0+20220228/google_oslogin1/api::UserSshPublicKeyGetCall) and [*ssh public keys patch*](https://docs.rs/google-oslogin1/3.1.0+20220228/google_oslogin1/api::UserSshPublicKeyPatchCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-oslogin1/3.0.0+20220228/google_oslogin1/CloudOSLogin)** +* **[Hub](https://docs.rs/google-oslogin1/3.1.0+20220228/google_oslogin1/CloudOSLogin)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-oslogin1/3.0.0+20220228/google_oslogin1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-oslogin1/3.0.0+20220228/google_oslogin1/client::CallBuilder) -* **[Resources](https://docs.rs/google-oslogin1/3.0.0+20220228/google_oslogin1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-oslogin1/3.1.0+20220228/google_oslogin1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-oslogin1/3.1.0+20220228/google_oslogin1/client::CallBuilder) +* **[Resources](https://docs.rs/google-oslogin1/3.1.0+20220228/google_oslogin1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-oslogin1/3.0.0+20220228/google_oslogin1/client::Part)** + * **[Parts](https://docs.rs/google-oslogin1/3.1.0+20220228/google_oslogin1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-oslogin1/3.0.0+20220228/google_oslogin1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-oslogin1/3.1.0+20220228/google_oslogin1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -94,7 +94,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -128,17 +128,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-oslogin1/3.0.0+20220228/google_oslogin1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-oslogin1/3.1.0+20220228/google_oslogin1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-oslogin1/3.0.0+20220228/google_oslogin1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-oslogin1/3.1.0+20220228/google_oslogin1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-oslogin1/3.0.0+20220228/google_oslogin1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-oslogin1/3.1.0+20220228/google_oslogin1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-oslogin1/3.0.0+20220228/google_oslogin1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-oslogin1/3.1.0+20220228/google_oslogin1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -148,29 +148,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-oslogin1/3.0.0+20220228/google_oslogin1/client::Delegate) to the -[Method Builder](https://docs.rs/google-oslogin1/3.0.0+20220228/google_oslogin1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-oslogin1/3.1.0+20220228/google_oslogin1/client::Delegate) to the +[Method Builder](https://docs.rs/google-oslogin1/3.1.0+20220228/google_oslogin1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-oslogin1/3.0.0+20220228/google_oslogin1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-oslogin1/3.1.0+20220228/google_oslogin1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-oslogin1/3.0.0+20220228/google_oslogin1/client::RequestValue) and -[decodable](https://docs.rs/google-oslogin1/3.0.0+20220228/google_oslogin1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-oslogin1/3.1.0+20220228/google_oslogin1/client::RequestValue) and +[decodable](https://docs.rs/google-oslogin1/3.1.0+20220228/google_oslogin1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-oslogin1/3.0.0+20220228/google_oslogin1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-oslogin1/3.1.0+20220228/google_oslogin1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-oslogin1/3.0.0+20220228/google_oslogin1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-oslogin1/3.1.0+20220228/google_oslogin1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-oslogin1/3.0.0+20220228/google_oslogin1/client::RequestValue) are moved +* [request values](https://docs.rs/google-oslogin1/3.1.0+20220228/google_oslogin1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/oslogin1/src/api.rs b/gen/oslogin1/src/api.rs index 0e606188b6..c18cfc6fd5 100644 --- a/gen/oslogin1/src/api.rs +++ b/gen/oslogin1/src/api.rs @@ -83,7 +83,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -132,7 +132,7 @@ impl<'a, > CloudOSLogin<> { CloudOSLogin { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://oslogin.googleapis.com/".to_string(), _root_url: "https://oslogin.googleapis.com/".to_string(), } @@ -143,7 +143,7 @@ impl<'a, > CloudOSLogin<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -324,7 +324,7 @@ impl client::ResponseResult for SshPublicKey {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get_login_profile(...)`, `import_ssh_public_key(...)`, `projects_delete(...)`, `ssh_public_keys_create(...)`, `ssh_public_keys_delete(...)`, `ssh_public_keys_get(...)` and `ssh_public_keys_patch(...)` /// // to build up your call. @@ -501,7 +501,7 @@ impl<'a> UserMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -758,7 +758,7 @@ impl<'a> UserProjectDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1043,7 +1043,7 @@ impl<'a> UserSshPublicKeyCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1299,7 +1299,7 @@ impl<'a> UserSshPublicKeyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1556,7 +1556,7 @@ impl<'a> UserSshPublicKeyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1853,7 +1853,7 @@ impl<'a> UserSshPublicKeyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2134,7 +2134,7 @@ impl<'a> UserGetLoginProfileCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/oslogin1/src/lib.rs b/gen/oslogin1/src/lib.rs index 37c5f58822..4bbb0b8d26 100644 --- a/gen/oslogin1/src/lib.rs +++ b/gen/oslogin1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud OS Login* crate version *3.0.0+20220228*, where *20220228* is the exact revision of the *oslogin:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud OS Login* crate version *3.1.0+20220228*, where *20220228* is the exact revision of the *oslogin:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud OS Login* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/compute/docs/oslogin/). @@ -95,7 +95,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/oslogin1_beta-cli/Cargo.toml b/gen/oslogin1_beta-cli/Cargo.toml index 9cbc204d2a..4a7198c352 100644 --- a/gen/oslogin1_beta-cli/Cargo.toml +++ b/gen/oslogin1_beta-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-oslogin1_beta-cli" -version = "3.0.0+20220228" +version = "3.1.0+20220228" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud OS Login (protocol v1beta)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/oslogin1_beta-cli" @@ -20,12 +20,12 @@ name = "oslogin1-beta" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-oslogin1_beta] path = "../oslogin1_beta" -version = "3.0.0+20220228" +version = "3.1.0+20220228" diff --git a/gen/oslogin1_beta-cli/README.md b/gen/oslogin1_beta-cli/README.md index 0cd668f65e..bc6371e3ef 100644 --- a/gen/oslogin1_beta-cli/README.md +++ b/gen/oslogin1_beta-cli/README.md @@ -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 *Cloud OS Login* API at revision *20220228*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud OS Login* API at revision *20220228*. The CLI is at version *3.1.0*. ```bash oslogin1-beta [options] diff --git a/gen/oslogin1_beta-cli/mkdocs.yml b/gen/oslogin1_beta-cli/mkdocs.yml index 81b5b3d430..9d181661b4 100644 --- a/gen/oslogin1_beta-cli/mkdocs.yml +++ b/gen/oslogin1_beta-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud OS Login v3.0.0+20220228 +site_name: Cloud OS Login v3.1.0+20220228 site_url: http://byron.github.io/google-apis-rs/google-oslogin1_beta-cli site_description: A complete library to interact with Cloud OS Login (protocol v1beta) diff --git a/gen/oslogin1_beta-cli/src/main.rs b/gen/oslogin1_beta-cli/src/main.rs index 14280a384c..da13c4fccb 100644 --- a/gen/oslogin1_beta-cli/src/main.rs +++ b/gen/oslogin1_beta-cli/src/main.rs @@ -603,7 +603,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/oslogin1-beta", 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::CloudOSLogin::new(client, auth), @@ -817,7 +823,7 @@ async fn main() { let mut app = App::new("oslogin1-beta") .author("Sebastian Thiel ") - .version("3.0.0+20220228") + .version("3.1.0+20220228") .about("You can use OS Login to manage access to your VM instances using IAM roles.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_oslogin1_beta_cli") .arg(Arg::with_name("url") diff --git a/gen/oslogin1_beta/Cargo.toml b/gen/oslogin1_beta/Cargo.toml index 31adaa04ce..2019ab2384 100644 --- a/gen/oslogin1_beta/Cargo.toml +++ b/gen/oslogin1_beta/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-oslogin1_beta" -version = "3.0.0+20220228" +version = "3.1.0+20220228" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud OS Login (protocol v1beta)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/oslogin1_beta" homepage = "https://cloud.google.com/compute/docs/oslogin/" -documentation = "https://docs.rs/google-oslogin1_beta/3.0.0+20220228" +documentation = "https://docs.rs/google-oslogin1_beta/3.1.0+20220228" license = "MIT" keywords = ["oslogin", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/oslogin1_beta/README.md b/gen/oslogin1_beta/README.md index 576832f6a3..4828f7f96a 100644 --- a/gen/oslogin1_beta/README.md +++ b/gen/oslogin1_beta/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-oslogin1_beta` library allows access to all features of the *Google Cloud OS Login* service. -This documentation was generated from *Cloud OS Login* crate version *3.0.0+20220228*, where *20220228* is the exact revision of the *oslogin:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud OS Login* crate version *3.1.0+20220228*, where *20220228* is the exact revision of the *oslogin:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud OS Login* *v1_beta* API can be found at the [official documentation site](https://cloud.google.com/compute/docs/oslogin/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-oslogin1_beta/3.0.0+20220228/google_oslogin1_beta/CloudOSLogin) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-oslogin1_beta/3.1.0+20220228/google_oslogin1_beta/CloudOSLogin) ... * users - * [*get login profile*](https://docs.rs/google-oslogin1_beta/3.0.0+20220228/google_oslogin1_beta/api::UserGetLoginProfileCall), [*import ssh public key*](https://docs.rs/google-oslogin1_beta/3.0.0+20220228/google_oslogin1_beta/api::UserImportSshPublicKeyCall), [*projects delete*](https://docs.rs/google-oslogin1_beta/3.0.0+20220228/google_oslogin1_beta/api::UserProjectDeleteCall), [*ssh public keys create*](https://docs.rs/google-oslogin1_beta/3.0.0+20220228/google_oslogin1_beta/api::UserSshPublicKeyCreateCall), [*ssh public keys delete*](https://docs.rs/google-oslogin1_beta/3.0.0+20220228/google_oslogin1_beta/api::UserSshPublicKeyDeleteCall), [*ssh public keys get*](https://docs.rs/google-oslogin1_beta/3.0.0+20220228/google_oslogin1_beta/api::UserSshPublicKeyGetCall) and [*ssh public keys patch*](https://docs.rs/google-oslogin1_beta/3.0.0+20220228/google_oslogin1_beta/api::UserSshPublicKeyPatchCall) + * [*get login profile*](https://docs.rs/google-oslogin1_beta/3.1.0+20220228/google_oslogin1_beta/api::UserGetLoginProfileCall), [*import ssh public key*](https://docs.rs/google-oslogin1_beta/3.1.0+20220228/google_oslogin1_beta/api::UserImportSshPublicKeyCall), [*projects delete*](https://docs.rs/google-oslogin1_beta/3.1.0+20220228/google_oslogin1_beta/api::UserProjectDeleteCall), [*ssh public keys create*](https://docs.rs/google-oslogin1_beta/3.1.0+20220228/google_oslogin1_beta/api::UserSshPublicKeyCreateCall), [*ssh public keys delete*](https://docs.rs/google-oslogin1_beta/3.1.0+20220228/google_oslogin1_beta/api::UserSshPublicKeyDeleteCall), [*ssh public keys get*](https://docs.rs/google-oslogin1_beta/3.1.0+20220228/google_oslogin1_beta/api::UserSshPublicKeyGetCall) and [*ssh public keys patch*](https://docs.rs/google-oslogin1_beta/3.1.0+20220228/google_oslogin1_beta/api::UserSshPublicKeyPatchCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-oslogin1_beta/3.0.0+20220228/google_oslogin1_beta/CloudOSLogin)** +* **[Hub](https://docs.rs/google-oslogin1_beta/3.1.0+20220228/google_oslogin1_beta/CloudOSLogin)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-oslogin1_beta/3.0.0+20220228/google_oslogin1_beta/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-oslogin1_beta/3.0.0+20220228/google_oslogin1_beta/client::CallBuilder) -* **[Resources](https://docs.rs/google-oslogin1_beta/3.0.0+20220228/google_oslogin1_beta/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-oslogin1_beta/3.1.0+20220228/google_oslogin1_beta/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-oslogin1_beta/3.1.0+20220228/google_oslogin1_beta/client::CallBuilder) +* **[Resources](https://docs.rs/google-oslogin1_beta/3.1.0+20220228/google_oslogin1_beta/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-oslogin1_beta/3.0.0+20220228/google_oslogin1_beta/client::Part)** + * **[Parts](https://docs.rs/google-oslogin1_beta/3.1.0+20220228/google_oslogin1_beta/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-oslogin1_beta/3.0.0+20220228/google_oslogin1_beta/client::CallBuilder)** +* **[Activities](https://docs.rs/google-oslogin1_beta/3.1.0+20220228/google_oslogin1_beta/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -94,7 +94,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -129,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-oslogin1_beta/3.0.0+20220228/google_oslogin1_beta/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-oslogin1_beta/3.1.0+20220228/google_oslogin1_beta/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-oslogin1_beta/3.0.0+20220228/google_oslogin1_beta/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-oslogin1_beta/3.1.0+20220228/google_oslogin1_beta/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-oslogin1_beta/3.0.0+20220228/google_oslogin1_beta/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-oslogin1_beta/3.1.0+20220228/google_oslogin1_beta/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-oslogin1_beta/3.0.0+20220228/google_oslogin1_beta/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-oslogin1_beta/3.1.0+20220228/google_oslogin1_beta/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -149,29 +149,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-oslogin1_beta/3.0.0+20220228/google_oslogin1_beta/client::Delegate) to the -[Method Builder](https://docs.rs/google-oslogin1_beta/3.0.0+20220228/google_oslogin1_beta/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-oslogin1_beta/3.1.0+20220228/google_oslogin1_beta/client::Delegate) to the +[Method Builder](https://docs.rs/google-oslogin1_beta/3.1.0+20220228/google_oslogin1_beta/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-oslogin1_beta/3.0.0+20220228/google_oslogin1_beta/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-oslogin1_beta/3.1.0+20220228/google_oslogin1_beta/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-oslogin1_beta/3.0.0+20220228/google_oslogin1_beta/client::RequestValue) and -[decodable](https://docs.rs/google-oslogin1_beta/3.0.0+20220228/google_oslogin1_beta/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-oslogin1_beta/3.1.0+20220228/google_oslogin1_beta/client::RequestValue) and +[decodable](https://docs.rs/google-oslogin1_beta/3.1.0+20220228/google_oslogin1_beta/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-oslogin1_beta/3.0.0+20220228/google_oslogin1_beta/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-oslogin1_beta/3.1.0+20220228/google_oslogin1_beta/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-oslogin1_beta/3.0.0+20220228/google_oslogin1_beta/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-oslogin1_beta/3.1.0+20220228/google_oslogin1_beta/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-oslogin1_beta/3.0.0+20220228/google_oslogin1_beta/client::RequestValue) are moved +* [request values](https://docs.rs/google-oslogin1_beta/3.1.0+20220228/google_oslogin1_beta/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/oslogin1_beta/src/api.rs b/gen/oslogin1_beta/src/api.rs index ee8f5d6c09..895a119820 100644 --- a/gen/oslogin1_beta/src/api.rs +++ b/gen/oslogin1_beta/src/api.rs @@ -83,7 +83,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -133,7 +133,7 @@ impl<'a, > CloudOSLogin<> { CloudOSLogin { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://oslogin.googleapis.com/".to_string(), _root_url: "https://oslogin.googleapis.com/".to_string(), } @@ -144,7 +144,7 @@ impl<'a, > CloudOSLogin<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -379,7 +379,7 @@ impl client::Part for WebAuthn {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get_login_profile(...)`, `import_ssh_public_key(...)`, `projects_delete(...)`, `ssh_public_keys_create(...)`, `ssh_public_keys_delete(...)`, `ssh_public_keys_get(...)` and `ssh_public_keys_patch(...)` /// // to build up your call. @@ -558,7 +558,7 @@ impl<'a> UserMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -815,7 +815,7 @@ impl<'a> UserProjectDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1100,7 +1100,7 @@ impl<'a> UserSshPublicKeyCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1356,7 +1356,7 @@ impl<'a> UserSshPublicKeyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1613,7 +1613,7 @@ impl<'a> UserSshPublicKeyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1910,7 +1910,7 @@ impl<'a> UserSshPublicKeyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2203,7 +2203,7 @@ impl<'a> UserGetLoginProfileCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/oslogin1_beta/src/lib.rs b/gen/oslogin1_beta/src/lib.rs index 50224e23ae..b02d117b4b 100644 --- a/gen/oslogin1_beta/src/lib.rs +++ b/gen/oslogin1_beta/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud OS Login* crate version *3.0.0+20220228*, where *20220228* is the exact revision of the *oslogin:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud OS Login* crate version *3.1.0+20220228*, where *20220228* is the exact revision of the *oslogin:v1beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud OS Login* *v1_beta* API can be found at the //! [official documentation site](https://cloud.google.com/compute/docs/oslogin/). @@ -95,7 +95,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudOSLogin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/pagespeedonline2-cli/Cargo.toml b/gen/pagespeedonline2-cli/Cargo.toml index e07b193809..95ee436f4f 100644 --- a/gen/pagespeedonline2-cli/Cargo.toml +++ b/gen/pagespeedonline2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-pagespeedonline2-cli" -version = "3.0.0+20191206" +version = "3.1.0+20191206" authors = ["Sebastian Thiel "] description = "A complete library to interact with pagespeedonline (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/pagespeedonline2-cli" @@ -20,12 +20,12 @@ name = "pagespeedonline2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-pagespeedonline2] path = "../pagespeedonline2" -version = "3.0.0+20191206" +version = "3.1.0+20191206" diff --git a/gen/pagespeedonline2-cli/README.md b/gen/pagespeedonline2-cli/README.md index 292a918241..093dcc3cb0 100644 --- a/gen/pagespeedonline2-cli/README.md +++ b/gen/pagespeedonline2-cli/README.md @@ -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 *pagespeedonline* API at revision *20191206*. The CLI is at version *3.0.0*. +This documentation was generated from the *pagespeedonline* API at revision *20191206*. The CLI is at version *3.1.0*. ```bash pagespeedonline2 [options] diff --git a/gen/pagespeedonline2-cli/mkdocs.yml b/gen/pagespeedonline2-cli/mkdocs.yml index 07637630b0..cfcb922795 100644 --- a/gen/pagespeedonline2-cli/mkdocs.yml +++ b/gen/pagespeedonline2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: pagespeedonline v3.0.0+20191206 +site_name: pagespeedonline v3.1.0+20191206 site_url: http://byron.github.io/google-apis-rs/google-pagespeedonline2-cli site_description: A complete library to interact with pagespeedonline (protocol v2) diff --git a/gen/pagespeedonline2-cli/src/main.rs b/gen/pagespeedonline2-cli/src/main.rs index d06cb84cab..e5112b8f06 100644 --- a/gen/pagespeedonline2-cli/src/main.rs +++ b/gen/pagespeedonline2-cli/src/main.rs @@ -157,7 +157,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/pagespeedonline2", 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::Pagespeedonline::new(client, auth), @@ -218,7 +224,7 @@ async fn main() { let mut app = App::new("pagespeedonline2") .author("Sebastian Thiel ") - .version("3.0.0+20191206") + .version("3.1.0+20191206") .about("Analyzes the performance of a web page and provides tailored suggestions to make that page faster.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_pagespeedonline2_cli") .arg(Arg::with_name("folder") diff --git a/gen/pagespeedonline2/Cargo.toml b/gen/pagespeedonline2/Cargo.toml index 922325b694..8b1fe1085d 100644 --- a/gen/pagespeedonline2/Cargo.toml +++ b/gen/pagespeedonline2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-pagespeedonline2" -version = "3.0.0+20191206" +version = "3.1.0+20191206" authors = ["Sebastian Thiel "] description = "A complete library to interact with pagespeedonline (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/pagespeedonline2" homepage = "https://developers.google.com/speed/docs/insights/v2/getting-started" -documentation = "https://docs.rs/google-pagespeedonline2/3.0.0+20191206" +documentation = "https://docs.rs/google-pagespeedonline2/3.1.0+20191206" license = "MIT" keywords = ["pagespeedonline", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/pagespeedonline2/README.md b/gen/pagespeedonline2/README.md index 5647622159..b7de4ebef0 100644 --- a/gen/pagespeedonline2/README.md +++ b/gen/pagespeedonline2/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-pagespeedonline2` library allows access to all features of the *Google pagespeedonline* service. -This documentation was generated from *pagespeedonline* crate version *3.0.0+20191206*, where *20191206* is the exact revision of the *pagespeedonline:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *pagespeedonline* crate version *3.1.0+20191206*, where *20191206* is the exact revision of the *pagespeedonline:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *pagespeedonline* *v2* API can be found at the [official documentation site](https://developers.google.com/speed/docs/insights/v2/getting-started). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-pagespeedonline2/3.0.0+20191206/google_pagespeedonline2/Pagespeedonline) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-pagespeedonline2/3.1.0+20191206/google_pagespeedonline2/Pagespeedonline) ... * pagespeedapi - * [*runpagespeed*](https://docs.rs/google-pagespeedonline2/3.0.0+20191206/google_pagespeedonline2/api::PagespeedapiRunpagespeedCall) + * [*runpagespeed*](https://docs.rs/google-pagespeedonline2/3.1.0+20191206/google_pagespeedonline2/api::PagespeedapiRunpagespeedCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-pagespeedonline2/3.0.0+20191206/google_pagespeedonline2/Pagespeedonline)** +* **[Hub](https://docs.rs/google-pagespeedonline2/3.1.0+20191206/google_pagespeedonline2/Pagespeedonline)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-pagespeedonline2/3.0.0+20191206/google_pagespeedonline2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-pagespeedonline2/3.0.0+20191206/google_pagespeedonline2/client::CallBuilder) -* **[Resources](https://docs.rs/google-pagespeedonline2/3.0.0+20191206/google_pagespeedonline2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-pagespeedonline2/3.1.0+20191206/google_pagespeedonline2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-pagespeedonline2/3.1.0+20191206/google_pagespeedonline2/client::CallBuilder) +* **[Resources](https://docs.rs/google-pagespeedonline2/3.1.0+20191206/google_pagespeedonline2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-pagespeedonline2/3.0.0+20191206/google_pagespeedonline2/client::Part)** + * **[Parts](https://docs.rs/google-pagespeedonline2/3.1.0+20191206/google_pagespeedonline2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-pagespeedonline2/3.0.0+20191206/google_pagespeedonline2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-pagespeedonline2/3.1.0+20191206/google_pagespeedonline2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -90,7 +90,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Pagespeedonline::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Pagespeedonline::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -123,17 +123,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-pagespeedonline2/3.0.0+20191206/google_pagespeedonline2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-pagespeedonline2/3.1.0+20191206/google_pagespeedonline2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-pagespeedonline2/3.0.0+20191206/google_pagespeedonline2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-pagespeedonline2/3.1.0+20191206/google_pagespeedonline2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-pagespeedonline2/3.0.0+20191206/google_pagespeedonline2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-pagespeedonline2/3.1.0+20191206/google_pagespeedonline2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-pagespeedonline2/3.0.0+20191206/google_pagespeedonline2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-pagespeedonline2/3.1.0+20191206/google_pagespeedonline2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -143,29 +143,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-pagespeedonline2/3.0.0+20191206/google_pagespeedonline2/client::Delegate) to the -[Method Builder](https://docs.rs/google-pagespeedonline2/3.0.0+20191206/google_pagespeedonline2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-pagespeedonline2/3.1.0+20191206/google_pagespeedonline2/client::Delegate) to the +[Method Builder](https://docs.rs/google-pagespeedonline2/3.1.0+20191206/google_pagespeedonline2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-pagespeedonline2/3.0.0+20191206/google_pagespeedonline2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-pagespeedonline2/3.1.0+20191206/google_pagespeedonline2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-pagespeedonline2/3.0.0+20191206/google_pagespeedonline2/client::RequestValue) and -[decodable](https://docs.rs/google-pagespeedonline2/3.0.0+20191206/google_pagespeedonline2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-pagespeedonline2/3.1.0+20191206/google_pagespeedonline2/client::RequestValue) and +[decodable](https://docs.rs/google-pagespeedonline2/3.1.0+20191206/google_pagespeedonline2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-pagespeedonline2/3.0.0+20191206/google_pagespeedonline2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-pagespeedonline2/3.1.0+20191206/google_pagespeedonline2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-pagespeedonline2/3.0.0+20191206/google_pagespeedonline2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-pagespeedonline2/3.1.0+20191206/google_pagespeedonline2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-pagespeedonline2/3.0.0+20191206/google_pagespeedonline2/client::RequestValue) are moved +* [request values](https://docs.rs/google-pagespeedonline2/3.1.0+20191206/google_pagespeedonline2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/pagespeedonline2/src/api.rs b/gen/pagespeedonline2/src/api.rs index ddcad7b146..eb6929aef9 100644 --- a/gen/pagespeedonline2/src/api.rs +++ b/gen/pagespeedonline2/src/api.rs @@ -48,7 +48,7 @@ use crate::client; /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Pagespeedonline::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Pagespeedonline::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -96,7 +96,7 @@ impl<'a, > Pagespeedonline<> { Pagespeedonline { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/pagespeedonline/v2/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -107,7 +107,7 @@ impl<'a, > Pagespeedonline<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -481,7 +481,7 @@ impl client::Part for ResultVersion {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Pagespeedonline::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Pagespeedonline::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `runpagespeed(...)` /// // to build up your call. @@ -550,7 +550,7 @@ impl<'a> PagespeedapiMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pagespeedonline::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pagespeedonline::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/pagespeedonline2/src/lib.rs b/gen/pagespeedonline2/src/lib.rs index 0547f543e6..26f0ae17ff 100644 --- a/gen/pagespeedonline2/src/lib.rs +++ b/gen/pagespeedonline2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *pagespeedonline* crate version *3.0.0+20191206*, where *20191206* is the exact revision of the *pagespeedonline:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *pagespeedonline* crate version *3.1.0+20191206*, where *20191206* is the exact revision of the *pagespeedonline:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *pagespeedonline* *v2* API can be found at the //! [official documentation site](https://developers.google.com/speed/docs/insights/v2/getting-started). @@ -91,7 +91,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Pagespeedonline::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Pagespeedonline::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/pagespeedonline4-cli/Cargo.toml b/gen/pagespeedonline4-cli/Cargo.toml index ff5892466f..387aa6c7ce 100644 --- a/gen/pagespeedonline4-cli/Cargo.toml +++ b/gen/pagespeedonline4-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-pagespeedonline4-cli" -version = "3.0.0+20191206" +version = "3.1.0+20191206" authors = ["Sebastian Thiel "] description = "A complete library to interact with pagespeedonline (protocol v4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/pagespeedonline4-cli" @@ -20,12 +20,12 @@ name = "pagespeedonline4" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-pagespeedonline4] path = "../pagespeedonline4" -version = "3.0.0+20191206" +version = "3.1.0+20191206" diff --git a/gen/pagespeedonline4-cli/README.md b/gen/pagespeedonline4-cli/README.md index 4d2195f091..36ceaad9c0 100644 --- a/gen/pagespeedonline4-cli/README.md +++ b/gen/pagespeedonline4-cli/README.md @@ -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 *pagespeedonline* API at revision *20191206*. The CLI is at version *3.0.0*. +This documentation was generated from the *pagespeedonline* API at revision *20191206*. The CLI is at version *3.1.0*. ```bash pagespeedonline4 [options] diff --git a/gen/pagespeedonline4-cli/mkdocs.yml b/gen/pagespeedonline4-cli/mkdocs.yml index a5ff92ba00..48c763ff58 100644 --- a/gen/pagespeedonline4-cli/mkdocs.yml +++ b/gen/pagespeedonline4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: pagespeedonline v3.0.0+20191206 +site_name: pagespeedonline v3.1.0+20191206 site_url: http://byron.github.io/google-apis-rs/google-pagespeedonline4-cli site_description: A complete library to interact with pagespeedonline (protocol v4) diff --git a/gen/pagespeedonline4-cli/src/main.rs b/gen/pagespeedonline4-cli/src/main.rs index ed9a6c41e8..f3c6946686 100644 --- a/gen/pagespeedonline4-cli/src/main.rs +++ b/gen/pagespeedonline4-cli/src/main.rs @@ -166,7 +166,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/pagespeedonline4", 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::Pagespeedonline::new(client, auth), @@ -227,7 +233,7 @@ async fn main() { let mut app = App::new("pagespeedonline4") .author("Sebastian Thiel ") - .version("3.0.0+20191206") + .version("3.1.0+20191206") .about("Analyzes the performance of a web page and provides tailored suggestions to make that page faster.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_pagespeedonline4_cli") .arg(Arg::with_name("folder") diff --git a/gen/pagespeedonline4/Cargo.toml b/gen/pagespeedonline4/Cargo.toml index be793bd2f4..3c58097a83 100644 --- a/gen/pagespeedonline4/Cargo.toml +++ b/gen/pagespeedonline4/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-pagespeedonline4" -version = "3.0.0+20191206" +version = "3.1.0+20191206" authors = ["Sebastian Thiel "] description = "A complete library to interact with pagespeedonline (protocol v4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/pagespeedonline4" homepage = "https://developers.google.com/speed/docs/insights/v4/getting-started" -documentation = "https://docs.rs/google-pagespeedonline4/3.0.0+20191206" +documentation = "https://docs.rs/google-pagespeedonline4/3.1.0+20191206" license = "MIT" keywords = ["pagespeedonline", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/pagespeedonline4/README.md b/gen/pagespeedonline4/README.md index c4ddaf5ba7..e32815fdf5 100644 --- a/gen/pagespeedonline4/README.md +++ b/gen/pagespeedonline4/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-pagespeedonline4` library allows access to all features of the *Google pagespeedonline* service. -This documentation was generated from *pagespeedonline* crate version *3.0.0+20191206*, where *20191206* is the exact revision of the *pagespeedonline:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *pagespeedonline* crate version *3.1.0+20191206*, where *20191206* is the exact revision of the *pagespeedonline:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *pagespeedonline* *v4* API can be found at the [official documentation site](https://developers.google.com/speed/docs/insights/v4/getting-started). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-pagespeedonline4/3.0.0+20191206/google_pagespeedonline4/Pagespeedonline) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-pagespeedonline4/3.1.0+20191206/google_pagespeedonline4/Pagespeedonline) ... * pagespeedapi - * [*runpagespeed*](https://docs.rs/google-pagespeedonline4/3.0.0+20191206/google_pagespeedonline4/api::PagespeedapiRunpagespeedCall) + * [*runpagespeed*](https://docs.rs/google-pagespeedonline4/3.1.0+20191206/google_pagespeedonline4/api::PagespeedapiRunpagespeedCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-pagespeedonline4/3.0.0+20191206/google_pagespeedonline4/Pagespeedonline)** +* **[Hub](https://docs.rs/google-pagespeedonline4/3.1.0+20191206/google_pagespeedonline4/Pagespeedonline)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-pagespeedonline4/3.0.0+20191206/google_pagespeedonline4/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-pagespeedonline4/3.0.0+20191206/google_pagespeedonline4/client::CallBuilder) -* **[Resources](https://docs.rs/google-pagespeedonline4/3.0.0+20191206/google_pagespeedonline4/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-pagespeedonline4/3.1.0+20191206/google_pagespeedonline4/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-pagespeedonline4/3.1.0+20191206/google_pagespeedonline4/client::CallBuilder) +* **[Resources](https://docs.rs/google-pagespeedonline4/3.1.0+20191206/google_pagespeedonline4/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-pagespeedonline4/3.0.0+20191206/google_pagespeedonline4/client::Part)** + * **[Parts](https://docs.rs/google-pagespeedonline4/3.1.0+20191206/google_pagespeedonline4/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-pagespeedonline4/3.0.0+20191206/google_pagespeedonline4/client::CallBuilder)** +* **[Activities](https://docs.rs/google-pagespeedonline4/3.1.0+20191206/google_pagespeedonline4/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -90,7 +90,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Pagespeedonline::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Pagespeedonline::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -126,17 +126,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-pagespeedonline4/3.0.0+20191206/google_pagespeedonline4/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-pagespeedonline4/3.1.0+20191206/google_pagespeedonline4/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-pagespeedonline4/3.0.0+20191206/google_pagespeedonline4/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-pagespeedonline4/3.1.0+20191206/google_pagespeedonline4/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-pagespeedonline4/3.0.0+20191206/google_pagespeedonline4/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-pagespeedonline4/3.1.0+20191206/google_pagespeedonline4/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-pagespeedonline4/3.0.0+20191206/google_pagespeedonline4/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-pagespeedonline4/3.1.0+20191206/google_pagespeedonline4/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -146,29 +146,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-pagespeedonline4/3.0.0+20191206/google_pagespeedonline4/client::Delegate) to the -[Method Builder](https://docs.rs/google-pagespeedonline4/3.0.0+20191206/google_pagespeedonline4/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-pagespeedonline4/3.1.0+20191206/google_pagespeedonline4/client::Delegate) to the +[Method Builder](https://docs.rs/google-pagespeedonline4/3.1.0+20191206/google_pagespeedonline4/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-pagespeedonline4/3.0.0+20191206/google_pagespeedonline4/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-pagespeedonline4/3.1.0+20191206/google_pagespeedonline4/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-pagespeedonline4/3.0.0+20191206/google_pagespeedonline4/client::RequestValue) and -[decodable](https://docs.rs/google-pagespeedonline4/3.0.0+20191206/google_pagespeedonline4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-pagespeedonline4/3.1.0+20191206/google_pagespeedonline4/client::RequestValue) and +[decodable](https://docs.rs/google-pagespeedonline4/3.1.0+20191206/google_pagespeedonline4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-pagespeedonline4/3.0.0+20191206/google_pagespeedonline4/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-pagespeedonline4/3.1.0+20191206/google_pagespeedonline4/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-pagespeedonline4/3.0.0+20191206/google_pagespeedonline4/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-pagespeedonline4/3.1.0+20191206/google_pagespeedonline4/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-pagespeedonline4/3.0.0+20191206/google_pagespeedonline4/client::RequestValue) are moved +* [request values](https://docs.rs/google-pagespeedonline4/3.1.0+20191206/google_pagespeedonline4/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/pagespeedonline4/src/api.rs b/gen/pagespeedonline4/src/api.rs index 8f9b603637..18bbbcac78 100644 --- a/gen/pagespeedonline4/src/api.rs +++ b/gen/pagespeedonline4/src/api.rs @@ -48,7 +48,7 @@ use crate::client; /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Pagespeedonline::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Pagespeedonline::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -99,7 +99,7 @@ impl<'a, > Pagespeedonline<> { Pagespeedonline { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/pagespeedonline/v4/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -110,7 +110,7 @@ impl<'a, > Pagespeedonline<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -572,7 +572,7 @@ impl client::Part for PagespeedApiPagespeedResponseV4Version {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Pagespeedonline::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Pagespeedonline::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `runpagespeed(...)` /// // to build up your call. @@ -644,7 +644,7 @@ impl<'a> PagespeedapiMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pagespeedonline::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pagespeedonline::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/pagespeedonline4/src/lib.rs b/gen/pagespeedonline4/src/lib.rs index 535a321fac..bfe1503fcd 100644 --- a/gen/pagespeedonline4/src/lib.rs +++ b/gen/pagespeedonline4/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *pagespeedonline* crate version *3.0.0+20191206*, where *20191206* is the exact revision of the *pagespeedonline:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *pagespeedonline* crate version *3.1.0+20191206*, where *20191206* is the exact revision of the *pagespeedonline:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *pagespeedonline* *v4* API can be found at the //! [official documentation site](https://developers.google.com/speed/docs/insights/v4/getting-started). @@ -91,7 +91,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Pagespeedonline::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Pagespeedonline::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/pagespeedonline5-cli/Cargo.toml b/gen/pagespeedonline5-cli/Cargo.toml index adcbe4cdad..f01fd84a64 100644 --- a/gen/pagespeedonline5-cli/Cargo.toml +++ b/gen/pagespeedonline5-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-pagespeedonline5-cli" -version = "3.0.0+20220302" +version = "3.1.0+20220302" authors = ["Sebastian Thiel "] description = "A complete library to interact with Pagespeed Insights (protocol v5)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/pagespeedonline5-cli" @@ -20,12 +20,12 @@ name = "pagespeedonline5" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-pagespeedonline5] path = "../pagespeedonline5" -version = "3.0.0+20220302" +version = "3.1.0+20220302" diff --git a/gen/pagespeedonline5-cli/README.md b/gen/pagespeedonline5-cli/README.md index 2385beaa9a..854fce92e1 100644 --- a/gen/pagespeedonline5-cli/README.md +++ b/gen/pagespeedonline5-cli/README.md @@ -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 *Pagespeed Insights* API at revision *20220302*. The CLI is at version *3.0.0*. +This documentation was generated from the *Pagespeed Insights* API at revision *20220302*. The CLI is at version *3.1.0*. ```bash pagespeedonline5 [options] diff --git a/gen/pagespeedonline5-cli/mkdocs.yml b/gen/pagespeedonline5-cli/mkdocs.yml index dbdc00b50f..8212c8b5f6 100644 --- a/gen/pagespeedonline5-cli/mkdocs.yml +++ b/gen/pagespeedonline5-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Pagespeed Insights v3.0.0+20220302 +site_name: Pagespeed Insights v3.1.0+20220302 site_url: http://byron.github.io/google-apis-rs/google-pagespeedonline5-cli site_description: A complete library to interact with Pagespeed Insights (protocol v5) diff --git a/gen/pagespeedonline5-cli/src/main.rs b/gen/pagespeedonline5-cli/src/main.rs index 0043f4dfad..8f0b7cf956 100644 --- a/gen/pagespeedonline5-cli/src/main.rs +++ b/gen/pagespeedonline5-cli/src/main.rs @@ -163,7 +163,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/pagespeedonline5", 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::PagespeedInsights::new(client, auth), @@ -227,7 +233,7 @@ async fn main() { let mut app = App::new("pagespeedonline5") .author("Sebastian Thiel ") - .version("3.0.0+20220302") + .version("3.1.0+20220302") .about("The PageSpeed Insights API lets you analyze the performance of your website with a simple API. It offers tailored suggestions for how you can optimize your site, and lets you easily integrate PageSpeed Insights analysis into your development tools and workflow. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_pagespeedonline5_cli") .arg(Arg::with_name("url") diff --git a/gen/pagespeedonline5/Cargo.toml b/gen/pagespeedonline5/Cargo.toml index bbe6905f66..94587b2f2e 100644 --- a/gen/pagespeedonline5/Cargo.toml +++ b/gen/pagespeedonline5/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-pagespeedonline5" -version = "3.0.0+20220302" +version = "3.1.0+20220302" authors = ["Sebastian Thiel "] description = "A complete library to interact with Pagespeed Insights (protocol v5)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/pagespeedonline5" homepage = "https://developers.google.com/speed/docs/insights/v5/about" -documentation = "https://docs.rs/google-pagespeedonline5/3.0.0+20220302" +documentation = "https://docs.rs/google-pagespeedonline5/3.1.0+20220302" license = "MIT" keywords = ["pagespeedonline", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/pagespeedonline5/README.md b/gen/pagespeedonline5/README.md index 0b870423cd..aa30c16f38 100644 --- a/gen/pagespeedonline5/README.md +++ b/gen/pagespeedonline5/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-pagespeedonline5` library allows access to all features of the *Google Pagespeed Insights* service. -This documentation was generated from *Pagespeed Insights* crate version *3.0.0+20220302*, where *20220302* is the exact revision of the *pagespeedonline:v5* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Pagespeed Insights* crate version *3.1.0+20220302*, where *20220302* is the exact revision of the *pagespeedonline:v5* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Pagespeed Insights* *v5* API can be found at the [official documentation site](https://developers.google.com/speed/docs/insights/v5/about). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-pagespeedonline5/3.0.0+20220302/google_pagespeedonline5/PagespeedInsights) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-pagespeedonline5/3.1.0+20220302/google_pagespeedonline5/PagespeedInsights) ... * pagespeedapi - * [*runpagespeed*](https://docs.rs/google-pagespeedonline5/3.0.0+20220302/google_pagespeedonline5/api::PagespeedapiRunpagespeedCall) + * [*runpagespeed*](https://docs.rs/google-pagespeedonline5/3.1.0+20220302/google_pagespeedonline5/api::PagespeedapiRunpagespeedCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-pagespeedonline5/3.0.0+20220302/google_pagespeedonline5/PagespeedInsights)** +* **[Hub](https://docs.rs/google-pagespeedonline5/3.1.0+20220302/google_pagespeedonline5/PagespeedInsights)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-pagespeedonline5/3.0.0+20220302/google_pagespeedonline5/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-pagespeedonline5/3.0.0+20220302/google_pagespeedonline5/client::CallBuilder) -* **[Resources](https://docs.rs/google-pagespeedonline5/3.0.0+20220302/google_pagespeedonline5/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-pagespeedonline5/3.1.0+20220302/google_pagespeedonline5/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-pagespeedonline5/3.1.0+20220302/google_pagespeedonline5/client::CallBuilder) +* **[Resources](https://docs.rs/google-pagespeedonline5/3.1.0+20220302/google_pagespeedonline5/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-pagespeedonline5/3.0.0+20220302/google_pagespeedonline5/client::Part)** + * **[Parts](https://docs.rs/google-pagespeedonline5/3.1.0+20220302/google_pagespeedonline5/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-pagespeedonline5/3.0.0+20220302/google_pagespeedonline5/client::CallBuilder)** +* **[Activities](https://docs.rs/google-pagespeedonline5/3.1.0+20220302/google_pagespeedonline5/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -90,7 +90,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = PagespeedInsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = PagespeedInsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -124,17 +124,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-pagespeedonline5/3.0.0+20220302/google_pagespeedonline5/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-pagespeedonline5/3.1.0+20220302/google_pagespeedonline5/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-pagespeedonline5/3.0.0+20220302/google_pagespeedonline5/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-pagespeedonline5/3.1.0+20220302/google_pagespeedonline5/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-pagespeedonline5/3.0.0+20220302/google_pagespeedonline5/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-pagespeedonline5/3.1.0+20220302/google_pagespeedonline5/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-pagespeedonline5/3.0.0+20220302/google_pagespeedonline5/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-pagespeedonline5/3.1.0+20220302/google_pagespeedonline5/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -144,29 +144,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-pagespeedonline5/3.0.0+20220302/google_pagespeedonline5/client::Delegate) to the -[Method Builder](https://docs.rs/google-pagespeedonline5/3.0.0+20220302/google_pagespeedonline5/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-pagespeedonline5/3.1.0+20220302/google_pagespeedonline5/client::Delegate) to the +[Method Builder](https://docs.rs/google-pagespeedonline5/3.1.0+20220302/google_pagespeedonline5/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-pagespeedonline5/3.0.0+20220302/google_pagespeedonline5/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-pagespeedonline5/3.1.0+20220302/google_pagespeedonline5/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-pagespeedonline5/3.0.0+20220302/google_pagespeedonline5/client::RequestValue) and -[decodable](https://docs.rs/google-pagespeedonline5/3.0.0+20220302/google_pagespeedonline5/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-pagespeedonline5/3.1.0+20220302/google_pagespeedonline5/client::RequestValue) and +[decodable](https://docs.rs/google-pagespeedonline5/3.1.0+20220302/google_pagespeedonline5/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-pagespeedonline5/3.0.0+20220302/google_pagespeedonline5/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-pagespeedonline5/3.1.0+20220302/google_pagespeedonline5/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-pagespeedonline5/3.0.0+20220302/google_pagespeedonline5/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-pagespeedonline5/3.1.0+20220302/google_pagespeedonline5/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-pagespeedonline5/3.0.0+20220302/google_pagespeedonline5/client::RequestValue) are moved +* [request values](https://docs.rs/google-pagespeedonline5/3.1.0+20220302/google_pagespeedonline5/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/pagespeedonline5/src/api.rs b/gen/pagespeedonline5/src/api.rs index ad093c47ef..49fd484868 100644 --- a/gen/pagespeedonline5/src/api.rs +++ b/gen/pagespeedonline5/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = PagespeedInsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = PagespeedInsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > PagespeedInsights<> { PagespeedInsights { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://pagespeedonline.googleapis.com/".to_string(), _root_url: "https://pagespeedonline.googleapis.com/".to_string(), } @@ -130,7 +130,7 @@ impl<'a, > PagespeedInsights<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -735,7 +735,7 @@ impl client::Part for UserPageLoadMetricV5 {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = PagespeedInsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = PagespeedInsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `runpagespeed(...)` /// // to build up your call. @@ -806,7 +806,7 @@ impl<'a> PagespeedapiMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PagespeedInsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PagespeedInsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/pagespeedonline5/src/lib.rs b/gen/pagespeedonline5/src/lib.rs index 6410965ad5..6fc7fa3529 100644 --- a/gen/pagespeedonline5/src/lib.rs +++ b/gen/pagespeedonline5/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Pagespeed Insights* crate version *3.0.0+20220302*, where *20220302* is the exact revision of the *pagespeedonline:v5* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Pagespeed Insights* crate version *3.1.0+20220302*, where *20220302* is the exact revision of the *pagespeedonline:v5* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Pagespeed Insights* *v5* API can be found at the //! [official documentation site](https://developers.google.com/speed/docs/insights/v5/about). @@ -91,7 +91,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = PagespeedInsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = PagespeedInsights::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/partners2-cli/Cargo.toml b/gen/partners2-cli/Cargo.toml index 1f226790d7..86773a2457 100644 --- a/gen/partners2-cli/Cargo.toml +++ b/gen/partners2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-partners2-cli" -version = "3.0.0+20180925" +version = "3.1.0+20180925" authors = ["Sebastian Thiel "] description = "A complete library to interact with Partners (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/partners2-cli" @@ -20,12 +20,12 @@ name = "partners2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-partners2] path = "../partners2" -version = "3.0.0+20180925" +version = "3.1.0+20180925" diff --git a/gen/partners2-cli/README.md b/gen/partners2-cli/README.md index 368b91df02..64e3a38d69 100644 --- a/gen/partners2-cli/README.md +++ b/gen/partners2-cli/README.md @@ -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 *Partners* API at revision *20180925*. The CLI is at version *3.0.0*. +This documentation was generated from the *Partners* API at revision *20180925*. The CLI is at version *3.1.0*. ```bash partners2 [options] diff --git a/gen/partners2-cli/mkdocs.yml b/gen/partners2-cli/mkdocs.yml index 02853f9112..a4c2ef9bd4 100644 --- a/gen/partners2-cli/mkdocs.yml +++ b/gen/partners2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Partners v3.0.0+20180925 +site_name: Partners v3.1.0+20180925 site_url: http://byron.github.io/google-apis-rs/google-partners2-cli site_description: A complete library to interact with Partners (protocol v2) diff --git a/gen/partners2-cli/src/main.rs b/gen/partners2-cli/src/main.rs index 7c62b7fae0..e084f1b455 100644 --- a/gen/partners2-cli/src/main.rs +++ b/gen/partners2-cli/src/main.rs @@ -1844,7 +1844,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/partners2", 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::Partners::new(client, auth), @@ -2264,7 +2270,7 @@ async fn main() { let mut app = App::new("partners2") .author("Sebastian Thiel ") - .version("3.0.0+20180925") + .version("3.1.0+20180925") .about("Searches certified companies and creates contact leads with them, and also audits the usage of clients.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_partners2_cli") .arg(Arg::with_name("folder") diff --git a/gen/partners2/Cargo.toml b/gen/partners2/Cargo.toml index 0d4443cde0..2176a733e7 100644 --- a/gen/partners2/Cargo.toml +++ b/gen/partners2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-partners2" -version = "3.0.0+20180925" +version = "3.1.0+20180925" authors = ["Sebastian Thiel "] description = "A complete library to interact with Partners (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/partners2" homepage = "https://developers.google.com/partners/" -documentation = "https://docs.rs/google-partners2/3.0.0+20180925" +documentation = "https://docs.rs/google-partners2/3.1.0+20180925" license = "MIT" keywords = ["partners", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/partners2/README.md b/gen/partners2/README.md index 9628a07782..17cde7afb0 100644 --- a/gen/partners2/README.md +++ b/gen/partners2/README.md @@ -5,36 +5,36 @@ DO NOT EDIT ! --> The `google-partners2` library allows access to all features of the *Google Partners* service. -This documentation was generated from *Partners* crate version *3.0.0+20180925*, where *20180925* is the exact revision of the *partners:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Partners* crate version *3.1.0+20180925*, where *20180925* is the exact revision of the *partners:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Partners* *v2* API can be found at the [official documentation site](https://developers.google.com/partners/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-partners2/3.0.0+20180925/google_partners2/Partners) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-partners2/3.1.0+20180925/google_partners2/Partners) ... * analytics - * [*list*](https://docs.rs/google-partners2/3.0.0+20180925/google_partners2/api::AnalyticListCall) + * [*list*](https://docs.rs/google-partners2/3.1.0+20180925/google_partners2/api::AnalyticListCall) * client messages - * [*log*](https://docs.rs/google-partners2/3.0.0+20180925/google_partners2/api::ClientMessageLogCall) -* [companies](https://docs.rs/google-partners2/3.0.0+20180925/google_partners2/api::Company) - * [*get*](https://docs.rs/google-partners2/3.0.0+20180925/google_partners2/api::CompanyGetCall), [*leads create*](https://docs.rs/google-partners2/3.0.0+20180925/google_partners2/api::CompanyLeadCreateCall) and [*list*](https://docs.rs/google-partners2/3.0.0+20180925/google_partners2/api::CompanyListCall) -* [leads](https://docs.rs/google-partners2/3.0.0+20180925/google_partners2/api::Lead) - * [*list*](https://docs.rs/google-partners2/3.0.0+20180925/google_partners2/api::LeadListCall) + * [*log*](https://docs.rs/google-partners2/3.1.0+20180925/google_partners2/api::ClientMessageLogCall) +* [companies](https://docs.rs/google-partners2/3.1.0+20180925/google_partners2/api::Company) + * [*get*](https://docs.rs/google-partners2/3.1.0+20180925/google_partners2/api::CompanyGetCall), [*leads create*](https://docs.rs/google-partners2/3.1.0+20180925/google_partners2/api::CompanyLeadCreateCall) and [*list*](https://docs.rs/google-partners2/3.1.0+20180925/google_partners2/api::CompanyListCall) +* [leads](https://docs.rs/google-partners2/3.1.0+20180925/google_partners2/api::Lead) + * [*list*](https://docs.rs/google-partners2/3.1.0+20180925/google_partners2/api::LeadListCall) * offers - * [*history list*](https://docs.rs/google-partners2/3.0.0+20180925/google_partners2/api::OfferHistoryListCall) and [*list*](https://docs.rs/google-partners2/3.0.0+20180925/google_partners2/api::OfferListCall) + * [*history list*](https://docs.rs/google-partners2/3.1.0+20180925/google_partners2/api::OfferHistoryListCall) and [*list*](https://docs.rs/google-partners2/3.1.0+20180925/google_partners2/api::OfferListCall) * user events - * [*log*](https://docs.rs/google-partners2/3.0.0+20180925/google_partners2/api::UserEventLogCall) + * [*log*](https://docs.rs/google-partners2/3.1.0+20180925/google_partners2/api::UserEventLogCall) * user states - * [*list*](https://docs.rs/google-partners2/3.0.0+20180925/google_partners2/api::UserStateListCall) -* [users](https://docs.rs/google-partners2/3.0.0+20180925/google_partners2/api::User) - * [*create company relation*](https://docs.rs/google-partners2/3.0.0+20180925/google_partners2/api::UserCreateCompanyRelationCall), [*delete company relation*](https://docs.rs/google-partners2/3.0.0+20180925/google_partners2/api::UserDeleteCompanyRelationCall), [*get*](https://docs.rs/google-partners2/3.0.0+20180925/google_partners2/api::UserGetCall) and [*update profile*](https://docs.rs/google-partners2/3.0.0+20180925/google_partners2/api::UserUpdateProfileCall) + * [*list*](https://docs.rs/google-partners2/3.1.0+20180925/google_partners2/api::UserStateListCall) +* [users](https://docs.rs/google-partners2/3.1.0+20180925/google_partners2/api::User) + * [*create company relation*](https://docs.rs/google-partners2/3.1.0+20180925/google_partners2/api::UserCreateCompanyRelationCall), [*delete company relation*](https://docs.rs/google-partners2/3.1.0+20180925/google_partners2/api::UserDeleteCompanyRelationCall), [*get*](https://docs.rs/google-partners2/3.1.0+20180925/google_partners2/api::UserGetCall) and [*update profile*](https://docs.rs/google-partners2/3.1.0+20180925/google_partners2/api::UserUpdateProfileCall) Other activities are ... -* [get partnersstatus](https://docs.rs/google-partners2/3.0.0+20180925/google_partners2/api::MethodGetPartnersstatuCall) -* [update companies](https://docs.rs/google-partners2/3.0.0+20180925/google_partners2/api::MethodUpdateCompanyCall) -* [update leads](https://docs.rs/google-partners2/3.0.0+20180925/google_partners2/api::MethodUpdateLeadCall) +* [get partnersstatus](https://docs.rs/google-partners2/3.1.0+20180925/google_partners2/api::MethodGetPartnersstatuCall) +* [update companies](https://docs.rs/google-partners2/3.1.0+20180925/google_partners2/api::MethodUpdateCompanyCall) +* [update leads](https://docs.rs/google-partners2/3.1.0+20180925/google_partners2/api::MethodUpdateLeadCall) @@ -42,17 +42,17 @@ Other activities are ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-partners2/3.0.0+20180925/google_partners2/Partners)** +* **[Hub](https://docs.rs/google-partners2/3.1.0+20180925/google_partners2/Partners)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-partners2/3.0.0+20180925/google_partners2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-partners2/3.0.0+20180925/google_partners2/client::CallBuilder) -* **[Resources](https://docs.rs/google-partners2/3.0.0+20180925/google_partners2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-partners2/3.1.0+20180925/google_partners2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-partners2/3.1.0+20180925/google_partners2/client::CallBuilder) +* **[Resources](https://docs.rs/google-partners2/3.1.0+20180925/google_partners2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-partners2/3.0.0+20180925/google_partners2/client::Part)** + * **[Parts](https://docs.rs/google-partners2/3.1.0+20180925/google_partners2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-partners2/3.0.0+20180925/google_partners2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-partners2/3.1.0+20180925/google_partners2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -113,7 +113,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -153,17 +153,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-partners2/3.0.0+20180925/google_partners2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-partners2/3.1.0+20180925/google_partners2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-partners2/3.0.0+20180925/google_partners2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-partners2/3.1.0+20180925/google_partners2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-partners2/3.0.0+20180925/google_partners2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-partners2/3.1.0+20180925/google_partners2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-partners2/3.0.0+20180925/google_partners2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-partners2/3.1.0+20180925/google_partners2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -173,29 +173,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-partners2/3.0.0+20180925/google_partners2/client::Delegate) to the -[Method Builder](https://docs.rs/google-partners2/3.0.0+20180925/google_partners2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-partners2/3.1.0+20180925/google_partners2/client::Delegate) to the +[Method Builder](https://docs.rs/google-partners2/3.1.0+20180925/google_partners2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-partners2/3.0.0+20180925/google_partners2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-partners2/3.1.0+20180925/google_partners2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-partners2/3.0.0+20180925/google_partners2/client::RequestValue) and -[decodable](https://docs.rs/google-partners2/3.0.0+20180925/google_partners2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-partners2/3.1.0+20180925/google_partners2/client::RequestValue) and +[decodable](https://docs.rs/google-partners2/3.1.0+20180925/google_partners2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-partners2/3.0.0+20180925/google_partners2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-partners2/3.1.0+20180925/google_partners2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-partners2/3.0.0+20180925/google_partners2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-partners2/3.1.0+20180925/google_partners2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-partners2/3.0.0+20180925/google_partners2/client::RequestValue) are moved +* [request values](https://docs.rs/google-partners2/3.1.0+20180925/google_partners2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/partners2/src/api.rs b/gen/partners2/src/api.rs index aeb102d305..058a53d603 100644 --- a/gen/partners2/src/api.rs +++ b/gen/partners2/src/api.rs @@ -49,7 +49,7 @@ use crate::client; /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -104,7 +104,7 @@ impl<'a, > Partners<> { Partners { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://partners.googleapis.com/".to_string(), _root_url: "https://partners.googleapis.com/".to_string(), } @@ -139,7 +139,7 @@ impl<'a, > Partners<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1612,7 +1612,7 @@ impl client::Part for Date {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `log(...)` /// // to build up your call. @@ -1669,7 +1669,7 @@ impl<'a> UserEventMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `log(...)` /// // to build up your call. @@ -1728,7 +1728,7 @@ impl<'a> ClientMessageMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -1791,7 +1791,7 @@ impl<'a> LeadMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `history_list(...)` and `list(...)` /// // to build up your call. @@ -1872,7 +1872,7 @@ impl<'a> OfferMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -1934,7 +1934,7 @@ impl<'a> AnalyticMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -1993,7 +1993,7 @@ impl<'a> UserStateMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get_partnersstatus(...)`, `update_companies(...)` and `update_leads(...)` /// // to build up your call. @@ -2102,7 +2102,7 @@ impl<'a> MethodMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `leads_create(...)` and `list(...)` /// // to build up your call. @@ -2224,7 +2224,7 @@ impl<'a> CompanyMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create_company_relation(...)`, `delete_company_relation(...)`, `get(...)` and `update_profile(...)` /// // to build up your call. @@ -2372,7 +2372,7 @@ impl<'a> UserMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2593,7 +2593,7 @@ impl<'a> UserEventLogCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2812,7 +2812,7 @@ impl<'a> ClientMessageLogCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3133,7 +3133,7 @@ impl<'a> LeadListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3465,7 +3465,7 @@ impl<'a> OfferHistoryListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3746,7 +3746,7 @@ impl<'a> OfferListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4062,7 +4062,7 @@ impl<'a> AnalyticListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4343,7 +4343,7 @@ impl<'a> UserStateListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4668,7 +4668,7 @@ impl<'a> MethodUpdateLeadCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4991,7 +4991,7 @@ impl<'a> MethodUpdateCompanyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5272,7 +5272,7 @@ impl<'a> MethodGetPartnersstatuCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5523,7 +5523,7 @@ impl<'a> CompanyLeadCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5891,7 +5891,7 @@ impl<'a> CompanyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6433,7 +6433,7 @@ impl<'a> CompanyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6743,7 +6743,7 @@ impl<'a> UserUpdateProfileCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7086,7 +7086,7 @@ impl<'a> UserCreateCompanyRelationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7400,7 +7400,7 @@ impl<'a> UserDeleteCompanyRelationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/partners2/src/lib.rs b/gen/partners2/src/lib.rs index 8bddf84981..7d94b5bddc 100644 --- a/gen/partners2/src/lib.rs +++ b/gen/partners2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Partners* crate version *3.0.0+20180925*, where *20180925* is the exact revision of the *partners:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Partners* crate version *3.1.0+20180925*, where *20180925* is the exact revision of the *partners:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Partners* *v2* API can be found at the //! [official documentation site](https://developers.google.com/partners/). @@ -114,7 +114,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Partners::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/paymentsresellersubscription1-cli/Cargo.toml b/gen/paymentsresellersubscription1-cli/Cargo.toml index baf6fee80e..34bf94c826 100644 --- a/gen/paymentsresellersubscription1-cli/Cargo.toml +++ b/gen/paymentsresellersubscription1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-paymentsresellersubscription1-cli" -version = "3.0.0+20220307" +version = "3.1.0+20220307" authors = ["Sebastian Thiel "] description = "A complete library to interact with Payments Reseller Subscription (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/paymentsresellersubscription1-cli" @@ -20,12 +20,12 @@ name = "paymentsresellersubscription1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-paymentsresellersubscription1] path = "../paymentsresellersubscription1" -version = "3.0.0+20220307" +version = "3.1.0+20220307" diff --git a/gen/paymentsresellersubscription1-cli/README.md b/gen/paymentsresellersubscription1-cli/README.md index b64c70e5ab..bb79c01928 100644 --- a/gen/paymentsresellersubscription1-cli/README.md +++ b/gen/paymentsresellersubscription1-cli/README.md @@ -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 *Payments Reseller Subscription* API at revision *20220307*. The CLI is at version *3.0.0*. +This documentation was generated from the *Payments Reseller Subscription* API at revision *20220307*. The CLI is at version *3.1.0*. ```bash paymentsresellersubscription1 [options] diff --git a/gen/paymentsresellersubscription1-cli/mkdocs.yml b/gen/paymentsresellersubscription1-cli/mkdocs.yml index 75210ccad6..74874062c0 100644 --- a/gen/paymentsresellersubscription1-cli/mkdocs.yml +++ b/gen/paymentsresellersubscription1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Payments Reseller Subscription v3.0.0+20220307 +site_name: Payments Reseller Subscription v3.1.0+20220307 site_url: http://byron.github.io/google-apis-rs/google-paymentsresellersubscription1-cli site_description: A complete library to interact with Payments Reseller Subscription (protocol v1) diff --git a/gen/paymentsresellersubscription1-cli/src/main.rs b/gen/paymentsresellersubscription1-cli/src/main.rs index df289870dc..a79f6fcc11 100644 --- a/gen/paymentsresellersubscription1-cli/src/main.rs +++ b/gen/paymentsresellersubscription1-cli/src/main.rs @@ -816,7 +816,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/paymentsresellersubscription1", 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::PaymentsResellerSubscription::new(client, auth), @@ -1092,7 +1098,7 @@ async fn main() { let mut app = App::new("paymentsresellersubscription1") .author("Sebastian Thiel ") - .version("3.0.0+20220307") + .version("3.1.0+20220307") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_paymentsresellersubscription1_cli") .arg(Arg::with_name("folder") diff --git a/gen/paymentsresellersubscription1/Cargo.toml b/gen/paymentsresellersubscription1/Cargo.toml index 48d30abdb5..8761363960 100644 --- a/gen/paymentsresellersubscription1/Cargo.toml +++ b/gen/paymentsresellersubscription1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-paymentsresellersubscription1" -version = "3.0.0+20220307" +version = "3.1.0+20220307" authors = ["Sebastian Thiel "] description = "A complete library to interact with Payments Reseller Subscription (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/paymentsresellersubscription1" homepage = "https://developers.google.com/payments/reseller/subscription/" -documentation = "https://docs.rs/google-paymentsresellersubscription1/3.0.0+20220307" +documentation = "https://docs.rs/google-paymentsresellersubscription1/3.1.0+20220307" license = "MIT" keywords = ["paymentsresellersubs", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/paymentsresellersubscription1/README.md b/gen/paymentsresellersubscription1/README.md index c42eed30f7..a6e408ffc0 100644 --- a/gen/paymentsresellersubscription1/README.md +++ b/gen/paymentsresellersubscription1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-paymentsresellersubscription1` library allows access to all features of the *Google Payments Reseller Subscription* service. -This documentation was generated from *Payments Reseller Subscription* crate version *3.0.0+20220307*, where *20220307* is the exact revision of the *paymentsresellersubscription:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Payments Reseller Subscription* crate version *3.1.0+20220307*, where *20220307* is the exact revision of the *paymentsresellersubscription:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Payments Reseller Subscription* *v1* API can be found at the [official documentation site](https://developers.google.com/payments/reseller/subscription/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-paymentsresellersubscription1/3.0.0+20220307/google_paymentsresellersubscription1/PaymentsResellerSubscription) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-paymentsresellersubscription1/3.1.0+20220307/google_paymentsresellersubscription1/PaymentsResellerSubscription) ... * partners - * [*products list*](https://docs.rs/google-paymentsresellersubscription1/3.0.0+20220307/google_paymentsresellersubscription1/api::PartnerProductListCall), [*promotions list*](https://docs.rs/google-paymentsresellersubscription1/3.0.0+20220307/google_paymentsresellersubscription1/api::PartnerPromotionListCall), [*subscriptions cancel*](https://docs.rs/google-paymentsresellersubscription1/3.0.0+20220307/google_paymentsresellersubscription1/api::PartnerSubscriptionCancelCall), [*subscriptions create*](https://docs.rs/google-paymentsresellersubscription1/3.0.0+20220307/google_paymentsresellersubscription1/api::PartnerSubscriptionCreateCall), [*subscriptions entitle*](https://docs.rs/google-paymentsresellersubscription1/3.0.0+20220307/google_paymentsresellersubscription1/api::PartnerSubscriptionEntitleCall), [*subscriptions extend*](https://docs.rs/google-paymentsresellersubscription1/3.0.0+20220307/google_paymentsresellersubscription1/api::PartnerSubscriptionExtendCall), [*subscriptions get*](https://docs.rs/google-paymentsresellersubscription1/3.0.0+20220307/google_paymentsresellersubscription1/api::PartnerSubscriptionGetCall), [*subscriptions provision*](https://docs.rs/google-paymentsresellersubscription1/3.0.0+20220307/google_paymentsresellersubscription1/api::PartnerSubscriptionProvisionCall) and [*subscriptions undo cancel*](https://docs.rs/google-paymentsresellersubscription1/3.0.0+20220307/google_paymentsresellersubscription1/api::PartnerSubscriptionUndoCancelCall) + * [*products list*](https://docs.rs/google-paymentsresellersubscription1/3.1.0+20220307/google_paymentsresellersubscription1/api::PartnerProductListCall), [*promotions list*](https://docs.rs/google-paymentsresellersubscription1/3.1.0+20220307/google_paymentsresellersubscription1/api::PartnerPromotionListCall), [*subscriptions cancel*](https://docs.rs/google-paymentsresellersubscription1/3.1.0+20220307/google_paymentsresellersubscription1/api::PartnerSubscriptionCancelCall), [*subscriptions create*](https://docs.rs/google-paymentsresellersubscription1/3.1.0+20220307/google_paymentsresellersubscription1/api::PartnerSubscriptionCreateCall), [*subscriptions entitle*](https://docs.rs/google-paymentsresellersubscription1/3.1.0+20220307/google_paymentsresellersubscription1/api::PartnerSubscriptionEntitleCall), [*subscriptions extend*](https://docs.rs/google-paymentsresellersubscription1/3.1.0+20220307/google_paymentsresellersubscription1/api::PartnerSubscriptionExtendCall), [*subscriptions get*](https://docs.rs/google-paymentsresellersubscription1/3.1.0+20220307/google_paymentsresellersubscription1/api::PartnerSubscriptionGetCall), [*subscriptions provision*](https://docs.rs/google-paymentsresellersubscription1/3.1.0+20220307/google_paymentsresellersubscription1/api::PartnerSubscriptionProvisionCall) and [*subscriptions undo cancel*](https://docs.rs/google-paymentsresellersubscription1/3.1.0+20220307/google_paymentsresellersubscription1/api::PartnerSubscriptionUndoCancelCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-paymentsresellersubscription1/3.0.0+20220307/google_paymentsresellersubscription1/PaymentsResellerSubscription)** +* **[Hub](https://docs.rs/google-paymentsresellersubscription1/3.1.0+20220307/google_paymentsresellersubscription1/PaymentsResellerSubscription)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-paymentsresellersubscription1/3.0.0+20220307/google_paymentsresellersubscription1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-paymentsresellersubscription1/3.0.0+20220307/google_paymentsresellersubscription1/client::CallBuilder) -* **[Resources](https://docs.rs/google-paymentsresellersubscription1/3.0.0+20220307/google_paymentsresellersubscription1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-paymentsresellersubscription1/3.1.0+20220307/google_paymentsresellersubscription1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-paymentsresellersubscription1/3.1.0+20220307/google_paymentsresellersubscription1/client::CallBuilder) +* **[Resources](https://docs.rs/google-paymentsresellersubscription1/3.1.0+20220307/google_paymentsresellersubscription1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-paymentsresellersubscription1/3.0.0+20220307/google_paymentsresellersubscription1/client::Part)** + * **[Parts](https://docs.rs/google-paymentsresellersubscription1/3.1.0+20220307/google_paymentsresellersubscription1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-paymentsresellersubscription1/3.0.0+20220307/google_paymentsresellersubscription1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-paymentsresellersubscription1/3.1.0+20220307/google_paymentsresellersubscription1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -93,7 +93,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = PaymentsResellerSubscription::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = PaymentsResellerSubscription::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -127,17 +127,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-paymentsresellersubscription1/3.0.0+20220307/google_paymentsresellersubscription1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-paymentsresellersubscription1/3.1.0+20220307/google_paymentsresellersubscription1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-paymentsresellersubscription1/3.0.0+20220307/google_paymentsresellersubscription1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-paymentsresellersubscription1/3.1.0+20220307/google_paymentsresellersubscription1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-paymentsresellersubscription1/3.0.0+20220307/google_paymentsresellersubscription1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-paymentsresellersubscription1/3.1.0+20220307/google_paymentsresellersubscription1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-paymentsresellersubscription1/3.0.0+20220307/google_paymentsresellersubscription1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-paymentsresellersubscription1/3.1.0+20220307/google_paymentsresellersubscription1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -147,29 +147,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-paymentsresellersubscription1/3.0.0+20220307/google_paymentsresellersubscription1/client::Delegate) to the -[Method Builder](https://docs.rs/google-paymentsresellersubscription1/3.0.0+20220307/google_paymentsresellersubscription1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-paymentsresellersubscription1/3.1.0+20220307/google_paymentsresellersubscription1/client::Delegate) to the +[Method Builder](https://docs.rs/google-paymentsresellersubscription1/3.1.0+20220307/google_paymentsresellersubscription1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-paymentsresellersubscription1/3.0.0+20220307/google_paymentsresellersubscription1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-paymentsresellersubscription1/3.1.0+20220307/google_paymentsresellersubscription1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-paymentsresellersubscription1/3.0.0+20220307/google_paymentsresellersubscription1/client::RequestValue) and -[decodable](https://docs.rs/google-paymentsresellersubscription1/3.0.0+20220307/google_paymentsresellersubscription1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-paymentsresellersubscription1/3.1.0+20220307/google_paymentsresellersubscription1/client::RequestValue) and +[decodable](https://docs.rs/google-paymentsresellersubscription1/3.1.0+20220307/google_paymentsresellersubscription1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-paymentsresellersubscription1/3.0.0+20220307/google_paymentsresellersubscription1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-paymentsresellersubscription1/3.1.0+20220307/google_paymentsresellersubscription1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-paymentsresellersubscription1/3.0.0+20220307/google_paymentsresellersubscription1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-paymentsresellersubscription1/3.1.0+20220307/google_paymentsresellersubscription1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-paymentsresellersubscription1/3.0.0+20220307/google_paymentsresellersubscription1/client::RequestValue) are moved +* [request values](https://docs.rs/google-paymentsresellersubscription1/3.1.0+20220307/google_paymentsresellersubscription1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/paymentsresellersubscription1/src/api.rs b/gen/paymentsresellersubscription1/src/api.rs index 39a0671fb0..0b4f5c29a8 100644 --- a/gen/paymentsresellersubscription1/src/api.rs +++ b/gen/paymentsresellersubscription1/src/api.rs @@ -49,7 +49,7 @@ use crate::client; /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = PaymentsResellerSubscription::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = PaymentsResellerSubscription::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -98,7 +98,7 @@ impl<'a, > PaymentsResellerSubscription<> { PaymentsResellerSubscription { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://paymentsresellersubscription.googleapis.com/".to_string(), _root_url: "https://paymentsresellersubscription.googleapis.com/".to_string(), } @@ -109,7 +109,7 @@ impl<'a, > PaymentsResellerSubscription<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -599,7 +599,7 @@ impl client::Part for GoogleTypeLocalizedText {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = PaymentsResellerSubscription::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = PaymentsResellerSubscription::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `products_list(...)`, `promotions_list(...)`, `subscriptions_cancel(...)`, `subscriptions_create(...)`, `subscriptions_entitle(...)`, `subscriptions_extend(...)`, `subscriptions_get(...)`, `subscriptions_provision(...)` and `subscriptions_undo_cancel(...)` /// // to build up your call. @@ -810,7 +810,7 @@ impl<'a> PartnerMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PaymentsResellerSubscription::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PaymentsResellerSubscription::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1060,7 +1060,7 @@ impl<'a> PartnerProductListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PaymentsResellerSubscription::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PaymentsResellerSubscription::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1323,7 +1323,7 @@ impl<'a> PartnerPromotionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PaymentsResellerSubscription::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PaymentsResellerSubscription::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1579,7 +1579,7 @@ impl<'a> PartnerSubscriptionCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PaymentsResellerSubscription::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PaymentsResellerSubscription::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1847,7 +1847,7 @@ impl<'a> PartnerSubscriptionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PaymentsResellerSubscription::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PaymentsResellerSubscription::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2103,7 +2103,7 @@ impl<'a> PartnerSubscriptionEntitleCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PaymentsResellerSubscription::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PaymentsResellerSubscription::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2358,7 +2358,7 @@ impl<'a> PartnerSubscriptionExtendCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PaymentsResellerSubscription::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PaymentsResellerSubscription::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2585,7 +2585,7 @@ impl<'a> PartnerSubscriptionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PaymentsResellerSubscription::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PaymentsResellerSubscription::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2853,7 +2853,7 @@ impl<'a> PartnerSubscriptionProvisionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PaymentsResellerSubscription::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PaymentsResellerSubscription::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/paymentsresellersubscription1/src/lib.rs b/gen/paymentsresellersubscription1/src/lib.rs index 0a613ec55c..88ccc4a8b1 100644 --- a/gen/paymentsresellersubscription1/src/lib.rs +++ b/gen/paymentsresellersubscription1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Payments Reseller Subscription* crate version *3.0.0+20220307*, where *20220307* is the exact revision of the *paymentsresellersubscription:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Payments Reseller Subscription* crate version *3.1.0+20220307*, where *20220307* is the exact revision of the *paymentsresellersubscription:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Payments Reseller Subscription* *v1* API can be found at the //! [official documentation site](https://developers.google.com/payments/reseller/subscription/). @@ -94,7 +94,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = PaymentsResellerSubscription::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = PaymentsResellerSubscription::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/people1-cli/Cargo.toml b/gen/people1-cli/Cargo.toml index f40390c5b7..3d11edaeda 100644 --- a/gen/people1-cli/Cargo.toml +++ b/gen/people1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-people1-cli" -version = "3.0.0+20220303" +version = "3.1.0+20220303" authors = ["Sebastian Thiel "] description = "A complete library to interact with People Service (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/people1-cli" @@ -20,12 +20,12 @@ name = "people1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-people1] path = "../people1" -version = "3.0.0+20220303" +version = "3.1.0+20220303" diff --git a/gen/people1-cli/README.md b/gen/people1-cli/README.md index e7b8d49fb3..5b6b301051 100644 --- a/gen/people1-cli/README.md +++ b/gen/people1-cli/README.md @@ -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 *People Service* API at revision *20220303*. The CLI is at version *3.0.0*. +This documentation was generated from the *People Service* API at revision *20220303*. The CLI is at version *3.1.0*. ```bash people1 [options] diff --git a/gen/people1-cli/mkdocs.yml b/gen/people1-cli/mkdocs.yml index 7562ae818c..bd8849a45e 100644 --- a/gen/people1-cli/mkdocs.yml +++ b/gen/people1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: People Service v3.0.0+20220303 +site_name: People Service v3.1.0+20220303 site_url: http://byron.github.io/google-apis-rs/google-people1-cli site_description: A complete library to interact with People Service (protocol v1) diff --git a/gen/people1-cli/src/main.rs b/gen/people1-cli/src/main.rs index 88f7d7a64b..7ab8cd1361 100644 --- a/gen/people1-cli/src/main.rs +++ b/gen/people1-cli/src/main.rs @@ -1983,7 +1983,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/people1", 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::PeopleService::new(client, auth), @@ -2541,7 +2547,7 @@ async fn main() { let mut app = App::new("people1") .author("Sebastian Thiel ") - .version("3.0.0+20220303") + .version("3.1.0+20220303") .about("Provides access to information about profiles and contacts.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_people1_cli") .arg(Arg::with_name("url") diff --git a/gen/people1/Cargo.toml b/gen/people1/Cargo.toml index 3bf0e2d70f..0bd9bcb9b9 100644 --- a/gen/people1/Cargo.toml +++ b/gen/people1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-people1" -version = "3.0.0+20220303" +version = "3.1.0+20220303" authors = ["Sebastian Thiel "] description = "A complete library to interact with People Service (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/people1" homepage = "https://developers.google.com/people/" -documentation = "https://docs.rs/google-people1/3.0.0+20220303" +documentation = "https://docs.rs/google-people1/3.1.0+20220303" license = "MIT" keywords = ["people", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/people1/README.md b/gen/people1/README.md index ba60ac6b9c..9d707a5b63 100644 --- a/gen/people1/README.md +++ b/gen/people1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-people1` library allows access to all features of the *Google People Service* service. -This documentation was generated from *People Service* crate version *3.0.0+20220303*, where *20220303* is the exact revision of the *people:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *People Service* crate version *3.1.0+20220303*, where *20220303* is the exact revision of the *people:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *People Service* *v1* API can be found at the [official documentation site](https://developers.google.com/people/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-people1/3.0.0+20220303/google_people1/PeopleService) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-people1/3.1.0+20220303/google_people1/PeopleService) ... -* [contact groups](https://docs.rs/google-people1/3.0.0+20220303/google_people1/api::ContactGroup) - * [*batch get*](https://docs.rs/google-people1/3.0.0+20220303/google_people1/api::ContactGroupBatchGetCall), [*create*](https://docs.rs/google-people1/3.0.0+20220303/google_people1/api::ContactGroupCreateCall), [*delete*](https://docs.rs/google-people1/3.0.0+20220303/google_people1/api::ContactGroupDeleteCall), [*get*](https://docs.rs/google-people1/3.0.0+20220303/google_people1/api::ContactGroupGetCall), [*list*](https://docs.rs/google-people1/3.0.0+20220303/google_people1/api::ContactGroupListCall), [*members modify*](https://docs.rs/google-people1/3.0.0+20220303/google_people1/api::ContactGroupMemberModifyCall) and [*update*](https://docs.rs/google-people1/3.0.0+20220303/google_people1/api::ContactGroupUpdateCall) +* [contact groups](https://docs.rs/google-people1/3.1.0+20220303/google_people1/api::ContactGroup) + * [*batch get*](https://docs.rs/google-people1/3.1.0+20220303/google_people1/api::ContactGroupBatchGetCall), [*create*](https://docs.rs/google-people1/3.1.0+20220303/google_people1/api::ContactGroupCreateCall), [*delete*](https://docs.rs/google-people1/3.1.0+20220303/google_people1/api::ContactGroupDeleteCall), [*get*](https://docs.rs/google-people1/3.1.0+20220303/google_people1/api::ContactGroupGetCall), [*list*](https://docs.rs/google-people1/3.1.0+20220303/google_people1/api::ContactGroupListCall), [*members modify*](https://docs.rs/google-people1/3.1.0+20220303/google_people1/api::ContactGroupMemberModifyCall) and [*update*](https://docs.rs/google-people1/3.1.0+20220303/google_people1/api::ContactGroupUpdateCall) * other contacts - * [*copy other contact to my contacts group*](https://docs.rs/google-people1/3.0.0+20220303/google_people1/api::OtherContactCopyOtherContactToMyContactsGroupCall), [*list*](https://docs.rs/google-people1/3.0.0+20220303/google_people1/api::OtherContactListCall) and [*search*](https://docs.rs/google-people1/3.0.0+20220303/google_people1/api::OtherContactSearchCall) + * [*copy other contact to my contacts group*](https://docs.rs/google-people1/3.1.0+20220303/google_people1/api::OtherContactCopyOtherContactToMyContactsGroupCall), [*list*](https://docs.rs/google-people1/3.1.0+20220303/google_people1/api::OtherContactListCall) and [*search*](https://docs.rs/google-people1/3.1.0+20220303/google_people1/api::OtherContactSearchCall) * people - * [*batch create contacts*](https://docs.rs/google-people1/3.0.0+20220303/google_people1/api::PeopleBatchCreateContactCall), [*batch delete contacts*](https://docs.rs/google-people1/3.0.0+20220303/google_people1/api::PeopleBatchDeleteContactCall), [*batch update contacts*](https://docs.rs/google-people1/3.0.0+20220303/google_people1/api::PeopleBatchUpdateContactCall), [*connections list*](https://docs.rs/google-people1/3.0.0+20220303/google_people1/api::PeopleConnectionListCall), [*create contact*](https://docs.rs/google-people1/3.0.0+20220303/google_people1/api::PeopleCreateContactCall), [*delete contact*](https://docs.rs/google-people1/3.0.0+20220303/google_people1/api::PeopleDeleteContactCall), [*delete contact photo*](https://docs.rs/google-people1/3.0.0+20220303/google_people1/api::PeopleDeleteContactPhotoCall), [*get*](https://docs.rs/google-people1/3.0.0+20220303/google_people1/api::PeopleGetCall), [*get batch get*](https://docs.rs/google-people1/3.0.0+20220303/google_people1/api::PeopleGetBatchGetCall), [*list directory people*](https://docs.rs/google-people1/3.0.0+20220303/google_people1/api::PeopleListDirectoryPeopleCall), [*search contacts*](https://docs.rs/google-people1/3.0.0+20220303/google_people1/api::PeopleSearchContactCall), [*search directory people*](https://docs.rs/google-people1/3.0.0+20220303/google_people1/api::PeopleSearchDirectoryPeopleCall), [*update contact*](https://docs.rs/google-people1/3.0.0+20220303/google_people1/api::PeopleUpdateContactCall) and [*update contact photo*](https://docs.rs/google-people1/3.0.0+20220303/google_people1/api::PeopleUpdateContactPhotoCall) + * [*batch create contacts*](https://docs.rs/google-people1/3.1.0+20220303/google_people1/api::PeopleBatchCreateContactCall), [*batch delete contacts*](https://docs.rs/google-people1/3.1.0+20220303/google_people1/api::PeopleBatchDeleteContactCall), [*batch update contacts*](https://docs.rs/google-people1/3.1.0+20220303/google_people1/api::PeopleBatchUpdateContactCall), [*connections list*](https://docs.rs/google-people1/3.1.0+20220303/google_people1/api::PeopleConnectionListCall), [*create contact*](https://docs.rs/google-people1/3.1.0+20220303/google_people1/api::PeopleCreateContactCall), [*delete contact*](https://docs.rs/google-people1/3.1.0+20220303/google_people1/api::PeopleDeleteContactCall), [*delete contact photo*](https://docs.rs/google-people1/3.1.0+20220303/google_people1/api::PeopleDeleteContactPhotoCall), [*get*](https://docs.rs/google-people1/3.1.0+20220303/google_people1/api::PeopleGetCall), [*get batch get*](https://docs.rs/google-people1/3.1.0+20220303/google_people1/api::PeopleGetBatchGetCall), [*list directory people*](https://docs.rs/google-people1/3.1.0+20220303/google_people1/api::PeopleListDirectoryPeopleCall), [*search contacts*](https://docs.rs/google-people1/3.1.0+20220303/google_people1/api::PeopleSearchContactCall), [*search directory people*](https://docs.rs/google-people1/3.1.0+20220303/google_people1/api::PeopleSearchDirectoryPeopleCall), [*update contact*](https://docs.rs/google-people1/3.1.0+20220303/google_people1/api::PeopleUpdateContactCall) and [*update contact photo*](https://docs.rs/google-people1/3.1.0+20220303/google_people1/api::PeopleUpdateContactPhotoCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-people1/3.0.0+20220303/google_people1/PeopleService)** +* **[Hub](https://docs.rs/google-people1/3.1.0+20220303/google_people1/PeopleService)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-people1/3.0.0+20220303/google_people1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-people1/3.0.0+20220303/google_people1/client::CallBuilder) -* **[Resources](https://docs.rs/google-people1/3.0.0+20220303/google_people1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-people1/3.1.0+20220303/google_people1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-people1/3.1.0+20220303/google_people1/client::CallBuilder) +* **[Resources](https://docs.rs/google-people1/3.1.0+20220303/google_people1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-people1/3.0.0+20220303/google_people1/client::Part)** + * **[Parts](https://docs.rs/google-people1/3.1.0+20220303/google_people1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-people1/3.0.0+20220303/google_people1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-people1/3.1.0+20220303/google_people1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -100,7 +100,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-people1/3.0.0+20220303/google_people1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-people1/3.1.0+20220303/google_people1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-people1/3.0.0+20220303/google_people1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-people1/3.1.0+20220303/google_people1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-people1/3.0.0+20220303/google_people1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-people1/3.1.0+20220303/google_people1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-people1/3.0.0+20220303/google_people1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-people1/3.1.0+20220303/google_people1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -152,29 +152,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-people1/3.0.0+20220303/google_people1/client::Delegate) to the -[Method Builder](https://docs.rs/google-people1/3.0.0+20220303/google_people1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-people1/3.1.0+20220303/google_people1/client::Delegate) to the +[Method Builder](https://docs.rs/google-people1/3.1.0+20220303/google_people1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-people1/3.0.0+20220303/google_people1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-people1/3.1.0+20220303/google_people1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-people1/3.0.0+20220303/google_people1/client::RequestValue) and -[decodable](https://docs.rs/google-people1/3.0.0+20220303/google_people1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-people1/3.1.0+20220303/google_people1/client::RequestValue) and +[decodable](https://docs.rs/google-people1/3.1.0+20220303/google_people1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-people1/3.0.0+20220303/google_people1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-people1/3.1.0+20220303/google_people1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-people1/3.0.0+20220303/google_people1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-people1/3.1.0+20220303/google_people1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-people1/3.0.0+20220303/google_people1/client::RequestValue) are moved +* [request values](https://docs.rs/google-people1/3.1.0+20220303/google_people1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/people1/src/api.rs b/gen/people1/src/api.rs index 728bd7142d..d86e1d0ecb 100644 --- a/gen/people1/src/api.rs +++ b/gen/people1/src/api.rs @@ -114,7 +114,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -161,7 +161,7 @@ impl<'a, > PeopleService<> { PeopleService { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://people.googleapis.com/".to_string(), _root_url: "https://people.googleapis.com/".to_string(), } @@ -178,7 +178,7 @@ impl<'a, > PeopleService<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1863,7 +1863,7 @@ impl client::Part for UserDefined {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `batch_get(...)`, `create(...)`, `delete(...)`, `get(...)`, `list(...)`, `members_modify(...)` and `update(...)` /// // to build up your call. @@ -2027,7 +2027,7 @@ impl<'a> ContactGroupMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `copy_other_contact_to_my_contacts_group(...)`, `list(...)` and `search(...)` /// // to build up your call. @@ -2120,7 +2120,7 @@ impl<'a> OtherContactMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `batch_create_contacts(...)`, `batch_delete_contacts(...)`, `batch_update_contacts(...)`, `connections_list(...)`, `create_contact(...)`, `delete_contact(...)`, `delete_contact_photo(...)`, `get(...)`, `get_batch_get(...)`, `list_directory_people(...)`, `search_contacts(...)`, `search_directory_people(...)`, `update_contact(...)` and `update_contact_photo(...)` /// // to build up your call. @@ -2430,7 +2430,7 @@ impl<'a> PeopleMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2715,7 +2715,7 @@ impl<'a> ContactGroupMemberModifyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2974,7 +2974,7 @@ impl<'a> ContactGroupBatchGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3222,7 +3222,7 @@ impl<'a> ContactGroupCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3490,7 +3490,7 @@ impl<'a> ContactGroupDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3770,7 +3770,7 @@ impl<'a> ContactGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4038,7 +4038,7 @@ impl<'a> ContactGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4324,7 +4324,7 @@ impl<'a> ContactGroupUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4609,7 +4609,7 @@ impl<'a> OtherContactCopyOtherContactToMyContactsGroupCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4903,7 +4903,7 @@ impl<'a> OtherContactListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5158,7 +5158,7 @@ impl<'a> OtherContactSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5514,7 +5514,7 @@ impl<'a> PeopleConnectionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5763,7 +5763,7 @@ impl<'a> PeopleBatchCreateContactCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6012,7 +6012,7 @@ impl<'a> PeopleBatchDeleteContactCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6261,7 +6261,7 @@ impl<'a> PeopleBatchUpdateContactCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6536,7 +6536,7 @@ impl<'a> PeopleCreateContactCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6792,7 +6792,7 @@ impl<'a> PeopleDeleteContactCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7075,7 +7075,7 @@ impl<'a> PeopleDeleteContactPhotoCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7370,7 +7370,7 @@ impl<'a> PeopleGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7643,7 +7643,7 @@ impl<'a> PeopleGetBatchGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7952,7 +7952,7 @@ impl<'a> PeopleListDirectoryPeopleCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8222,7 +8222,7 @@ impl<'a> PeopleSearchContactCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8520,7 +8520,7 @@ impl<'a> PeopleSearchDirectoryPeopleCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8845,7 +8845,7 @@ impl<'a> PeopleUpdateContactCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/people1/src/lib.rs b/gen/people1/src/lib.rs index c1abe8f731..4efed03cbf 100644 --- a/gen/people1/src/lib.rs +++ b/gen/people1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *People Service* crate version *3.0.0+20220303*, where *20220303* is the exact revision of the *people:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *People Service* crate version *3.1.0+20220303*, where *20220303* is the exact revision of the *people:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *People Service* *v1* API can be found at the //! [official documentation site](https://developers.google.com/people/). @@ -101,7 +101,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = PeopleService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/photoslibrary1-cli/Cargo.toml b/gen/photoslibrary1-cli/Cargo.toml index 5338c74a69..cead786b8f 100644 --- a/gen/photoslibrary1-cli/Cargo.toml +++ b/gen/photoslibrary1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-photoslibrary1-cli" -version = "3.0.0+20220303" +version = "3.1.0+20220303" authors = ["Sebastian Thiel "] description = "A complete library to interact with Photos Library (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/photoslibrary1-cli" @@ -20,12 +20,12 @@ name = "photoslibrary1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-photoslibrary1] path = "../photoslibrary1" -version = "3.0.0+20220303" +version = "3.1.0+20220303" diff --git a/gen/photoslibrary1-cli/README.md b/gen/photoslibrary1-cli/README.md index c15ed59af4..f0257393db 100644 --- a/gen/photoslibrary1-cli/README.md +++ b/gen/photoslibrary1-cli/README.md @@ -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 *Photos Library* API at revision *20220303*. The CLI is at version *3.0.0*. +This documentation was generated from the *Photos Library* API at revision *20220303*. The CLI is at version *3.1.0*. ```bash photoslibrary1 [options] diff --git a/gen/photoslibrary1-cli/mkdocs.yml b/gen/photoslibrary1-cli/mkdocs.yml index 2427485853..8a540f0823 100644 --- a/gen/photoslibrary1-cli/mkdocs.yml +++ b/gen/photoslibrary1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Photos Library v3.0.0+20220303 +site_name: Photos Library v3.1.0+20220303 site_url: http://byron.github.io/google-apis-rs/google-photoslibrary1-cli site_description: A complete library to interact with Photos Library (protocol v1) diff --git a/gen/photoslibrary1-cli/src/main.rs b/gen/photoslibrary1-cli/src/main.rs index cc464bbd4b..e340a6fd10 100644 --- a/gen/photoslibrary1-cli/src/main.rs +++ b/gen/photoslibrary1-cli/src/main.rs @@ -1655,7 +1655,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/photoslibrary1", 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::PhotosLibrary::new(client, auth), @@ -2139,7 +2145,7 @@ async fn main() { let mut app = App::new("photoslibrary1") .author("Sebastian Thiel ") - .version("3.0.0+20220303") + .version("3.1.0+20220303") .about("Manage photos, videos, and albums in Google Photos ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_photoslibrary1_cli") .arg(Arg::with_name("url") diff --git a/gen/photoslibrary1/Cargo.toml b/gen/photoslibrary1/Cargo.toml index 50d6d4ae46..38c2d95cda 100644 --- a/gen/photoslibrary1/Cargo.toml +++ b/gen/photoslibrary1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-photoslibrary1" -version = "3.0.0+20220303" +version = "3.1.0+20220303" authors = ["Sebastian Thiel "] description = "A complete library to interact with Photos Library (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/photoslibrary1" homepage = "https://developers.google.com/photos/" -documentation = "https://docs.rs/google-photoslibrary1/3.0.0+20220303" +documentation = "https://docs.rs/google-photoslibrary1/3.1.0+20220303" license = "MIT" keywords = ["photoslibrary", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/photoslibrary1/README.md b/gen/photoslibrary1/README.md index ebc71e69e3..0695fac8b8 100644 --- a/gen/photoslibrary1/README.md +++ b/gen/photoslibrary1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-photoslibrary1` library allows access to all features of the *Google Photos Library* service. -This documentation was generated from *Photos Library* crate version *3.0.0+20220303*, where *20220303* is the exact revision of the *photoslibrary:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Photos Library* crate version *3.1.0+20220303*, where *20220303* is the exact revision of the *photoslibrary:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Photos Library* *v1* API can be found at the [official documentation site](https://developers.google.com/photos/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-photoslibrary1/3.0.0+20220303/google_photoslibrary1/PhotosLibrary) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-photoslibrary1/3.1.0+20220303/google_photoslibrary1/PhotosLibrary) ... -* [albums](https://docs.rs/google-photoslibrary1/3.0.0+20220303/google_photoslibrary1/api::Album) - * [*add enrichment*](https://docs.rs/google-photoslibrary1/3.0.0+20220303/google_photoslibrary1/api::AlbumAddEnrichmentCall), [*batch add media items*](https://docs.rs/google-photoslibrary1/3.0.0+20220303/google_photoslibrary1/api::AlbumBatchAddMediaItemCall), [*batch remove media items*](https://docs.rs/google-photoslibrary1/3.0.0+20220303/google_photoslibrary1/api::AlbumBatchRemoveMediaItemCall), [*create*](https://docs.rs/google-photoslibrary1/3.0.0+20220303/google_photoslibrary1/api::AlbumCreateCall), [*get*](https://docs.rs/google-photoslibrary1/3.0.0+20220303/google_photoslibrary1/api::AlbumGetCall), [*list*](https://docs.rs/google-photoslibrary1/3.0.0+20220303/google_photoslibrary1/api::AlbumListCall), [*patch*](https://docs.rs/google-photoslibrary1/3.0.0+20220303/google_photoslibrary1/api::AlbumPatchCall), [*share*](https://docs.rs/google-photoslibrary1/3.0.0+20220303/google_photoslibrary1/api::AlbumShareCall) and [*unshare*](https://docs.rs/google-photoslibrary1/3.0.0+20220303/google_photoslibrary1/api::AlbumUnshareCall) -* [media items](https://docs.rs/google-photoslibrary1/3.0.0+20220303/google_photoslibrary1/api::MediaItem) - * [*batch create*](https://docs.rs/google-photoslibrary1/3.0.0+20220303/google_photoslibrary1/api::MediaItemBatchCreateCall), [*batch get*](https://docs.rs/google-photoslibrary1/3.0.0+20220303/google_photoslibrary1/api::MediaItemBatchGetCall), [*get*](https://docs.rs/google-photoslibrary1/3.0.0+20220303/google_photoslibrary1/api::MediaItemGetCall), [*list*](https://docs.rs/google-photoslibrary1/3.0.0+20220303/google_photoslibrary1/api::MediaItemListCall), [*patch*](https://docs.rs/google-photoslibrary1/3.0.0+20220303/google_photoslibrary1/api::MediaItemPatchCall) and [*search*](https://docs.rs/google-photoslibrary1/3.0.0+20220303/google_photoslibrary1/api::MediaItemSearchCall) +* [albums](https://docs.rs/google-photoslibrary1/3.1.0+20220303/google_photoslibrary1/api::Album) + * [*add enrichment*](https://docs.rs/google-photoslibrary1/3.1.0+20220303/google_photoslibrary1/api::AlbumAddEnrichmentCall), [*batch add media items*](https://docs.rs/google-photoslibrary1/3.1.0+20220303/google_photoslibrary1/api::AlbumBatchAddMediaItemCall), [*batch remove media items*](https://docs.rs/google-photoslibrary1/3.1.0+20220303/google_photoslibrary1/api::AlbumBatchRemoveMediaItemCall), [*create*](https://docs.rs/google-photoslibrary1/3.1.0+20220303/google_photoslibrary1/api::AlbumCreateCall), [*get*](https://docs.rs/google-photoslibrary1/3.1.0+20220303/google_photoslibrary1/api::AlbumGetCall), [*list*](https://docs.rs/google-photoslibrary1/3.1.0+20220303/google_photoslibrary1/api::AlbumListCall), [*patch*](https://docs.rs/google-photoslibrary1/3.1.0+20220303/google_photoslibrary1/api::AlbumPatchCall), [*share*](https://docs.rs/google-photoslibrary1/3.1.0+20220303/google_photoslibrary1/api::AlbumShareCall) and [*unshare*](https://docs.rs/google-photoslibrary1/3.1.0+20220303/google_photoslibrary1/api::AlbumUnshareCall) +* [media items](https://docs.rs/google-photoslibrary1/3.1.0+20220303/google_photoslibrary1/api::MediaItem) + * [*batch create*](https://docs.rs/google-photoslibrary1/3.1.0+20220303/google_photoslibrary1/api::MediaItemBatchCreateCall), [*batch get*](https://docs.rs/google-photoslibrary1/3.1.0+20220303/google_photoslibrary1/api::MediaItemBatchGetCall), [*get*](https://docs.rs/google-photoslibrary1/3.1.0+20220303/google_photoslibrary1/api::MediaItemGetCall), [*list*](https://docs.rs/google-photoslibrary1/3.1.0+20220303/google_photoslibrary1/api::MediaItemListCall), [*patch*](https://docs.rs/google-photoslibrary1/3.1.0+20220303/google_photoslibrary1/api::MediaItemPatchCall) and [*search*](https://docs.rs/google-photoslibrary1/3.1.0+20220303/google_photoslibrary1/api::MediaItemSearchCall) * shared albums - * [*get*](https://docs.rs/google-photoslibrary1/3.0.0+20220303/google_photoslibrary1/api::SharedAlbumGetCall), [*join*](https://docs.rs/google-photoslibrary1/3.0.0+20220303/google_photoslibrary1/api::SharedAlbumJoinCall), [*leave*](https://docs.rs/google-photoslibrary1/3.0.0+20220303/google_photoslibrary1/api::SharedAlbumLeaveCall) and [*list*](https://docs.rs/google-photoslibrary1/3.0.0+20220303/google_photoslibrary1/api::SharedAlbumListCall) + * [*get*](https://docs.rs/google-photoslibrary1/3.1.0+20220303/google_photoslibrary1/api::SharedAlbumGetCall), [*join*](https://docs.rs/google-photoslibrary1/3.1.0+20220303/google_photoslibrary1/api::SharedAlbumJoinCall), [*leave*](https://docs.rs/google-photoslibrary1/3.1.0+20220303/google_photoslibrary1/api::SharedAlbumLeaveCall) and [*list*](https://docs.rs/google-photoslibrary1/3.1.0+20220303/google_photoslibrary1/api::SharedAlbumListCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-photoslibrary1/3.0.0+20220303/google_photoslibrary1/PhotosLibrary)** +* **[Hub](https://docs.rs/google-photoslibrary1/3.1.0+20220303/google_photoslibrary1/PhotosLibrary)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-photoslibrary1/3.0.0+20220303/google_photoslibrary1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-photoslibrary1/3.0.0+20220303/google_photoslibrary1/client::CallBuilder) -* **[Resources](https://docs.rs/google-photoslibrary1/3.0.0+20220303/google_photoslibrary1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-photoslibrary1/3.1.0+20220303/google_photoslibrary1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-photoslibrary1/3.1.0+20220303/google_photoslibrary1/client::CallBuilder) +* **[Resources](https://docs.rs/google-photoslibrary1/3.1.0+20220303/google_photoslibrary1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-photoslibrary1/3.0.0+20220303/google_photoslibrary1/client::Part)** + * **[Parts](https://docs.rs/google-photoslibrary1/3.1.0+20220303/google_photoslibrary1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-photoslibrary1/3.0.0+20220303/google_photoslibrary1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-photoslibrary1/3.1.0+20220303/google_photoslibrary1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -103,7 +103,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-photoslibrary1/3.0.0+20220303/google_photoslibrary1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-photoslibrary1/3.1.0+20220303/google_photoslibrary1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-photoslibrary1/3.0.0+20220303/google_photoslibrary1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-photoslibrary1/3.1.0+20220303/google_photoslibrary1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-photoslibrary1/3.0.0+20220303/google_photoslibrary1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-photoslibrary1/3.1.0+20220303/google_photoslibrary1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-photoslibrary1/3.0.0+20220303/google_photoslibrary1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-photoslibrary1/3.1.0+20220303/google_photoslibrary1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -154,29 +154,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-photoslibrary1/3.0.0+20220303/google_photoslibrary1/client::Delegate) to the -[Method Builder](https://docs.rs/google-photoslibrary1/3.0.0+20220303/google_photoslibrary1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-photoslibrary1/3.1.0+20220303/google_photoslibrary1/client::Delegate) to the +[Method Builder](https://docs.rs/google-photoslibrary1/3.1.0+20220303/google_photoslibrary1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-photoslibrary1/3.0.0+20220303/google_photoslibrary1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-photoslibrary1/3.1.0+20220303/google_photoslibrary1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-photoslibrary1/3.0.0+20220303/google_photoslibrary1/client::RequestValue) and -[decodable](https://docs.rs/google-photoslibrary1/3.0.0+20220303/google_photoslibrary1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-photoslibrary1/3.1.0+20220303/google_photoslibrary1/client::RequestValue) and +[decodable](https://docs.rs/google-photoslibrary1/3.1.0+20220303/google_photoslibrary1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-photoslibrary1/3.0.0+20220303/google_photoslibrary1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-photoslibrary1/3.1.0+20220303/google_photoslibrary1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-photoslibrary1/3.0.0+20220303/google_photoslibrary1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-photoslibrary1/3.1.0+20220303/google_photoslibrary1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-photoslibrary1/3.0.0+20220303/google_photoslibrary1/client::RequestValue) are moved +* [request values](https://docs.rs/google-photoslibrary1/3.1.0+20220303/google_photoslibrary1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/photoslibrary1/src/api.rs b/gen/photoslibrary1/src/api.rs index dfe70f0779..def78b1d11 100644 --- a/gen/photoslibrary1/src/api.rs +++ b/gen/photoslibrary1/src/api.rs @@ -90,7 +90,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -136,7 +136,7 @@ impl<'a, > PhotosLibrary<> { PhotosLibrary { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://photoslibrary.googleapis.com/".to_string(), _root_url: "https://photoslibrary.googleapis.com/".to_string(), } @@ -153,7 +153,7 @@ impl<'a, > PhotosLibrary<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1213,7 +1213,7 @@ impl client::Part for Video {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `add_enrichment(...)`, `batch_add_media_items(...)`, `batch_remove_media_items(...)`, `create(...)`, `get(...)`, `list(...)`, `patch(...)`, `share(...)` and `unshare(...)` /// // to build up your call. @@ -1418,7 +1418,7 @@ impl<'a> AlbumMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `batch_create(...)`, `batch_get(...)`, `get(...)`, `list(...)`, `patch(...)` and `search(...)` /// // to build up your call. @@ -1557,7 +1557,7 @@ impl<'a> MediaItemMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `join(...)`, `leave(...)` and `list(...)` /// // to build up your call. @@ -1672,7 +1672,7 @@ impl<'a> SharedAlbumMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1958,7 +1958,7 @@ impl<'a> AlbumAddEnrichmentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2244,7 +2244,7 @@ impl<'a> AlbumBatchAddMediaItemCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2530,7 +2530,7 @@ impl<'a> AlbumBatchRemoveMediaItemCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2778,7 +2778,7 @@ impl<'a> AlbumCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3034,7 +3034,7 @@ impl<'a> AlbumGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3290,7 +3290,7 @@ impl<'a> AlbumListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3588,7 +3588,7 @@ impl<'a> AlbumPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3874,7 +3874,7 @@ impl<'a> AlbumShareCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4160,7 +4160,7 @@ impl<'a> AlbumUnshareCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4408,7 +4408,7 @@ impl<'a> MediaItemBatchCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4642,7 +4642,7 @@ impl<'a> MediaItemBatchGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4898,7 +4898,7 @@ impl<'a> MediaItemGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5142,7 +5142,7 @@ impl<'a> MediaItemListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5440,7 +5440,7 @@ impl<'a> MediaItemPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5688,7 +5688,7 @@ impl<'a> MediaItemSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5945,7 +5945,7 @@ impl<'a> SharedAlbumGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6194,7 +6194,7 @@ impl<'a> SharedAlbumJoinCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6442,7 +6442,7 @@ impl<'a> SharedAlbumLeaveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/photoslibrary1/src/lib.rs b/gen/photoslibrary1/src/lib.rs index 778af34ddf..79ee9714a1 100644 --- a/gen/photoslibrary1/src/lib.rs +++ b/gen/photoslibrary1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Photos Library* crate version *3.0.0+20220303*, where *20220303* is the exact revision of the *photoslibrary:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Photos Library* crate version *3.1.0+20220303*, where *20220303* is the exact revision of the *photoslibrary:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Photos Library* *v1* API can be found at the //! [official documentation site](https://developers.google.com/photos/). @@ -104,7 +104,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = PhotosLibrary::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/playablelocations3-cli/Cargo.toml b/gen/playablelocations3-cli/Cargo.toml index d847c8e248..d8a97abb67 100644 --- a/gen/playablelocations3-cli/Cargo.toml +++ b/gen/playablelocations3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-playablelocations3-cli" -version = "3.0.0+20200707" +version = "3.1.0+20200707" authors = ["Sebastian Thiel "] description = "A complete library to interact with Playable Locations (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/playablelocations3-cli" @@ -20,12 +20,12 @@ name = "playablelocations3" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-playablelocations3] path = "../playablelocations3" -version = "3.0.0+20200707" +version = "3.1.0+20200707" diff --git a/gen/playablelocations3-cli/README.md b/gen/playablelocations3-cli/README.md index 9c41793f01..f82090e4d9 100644 --- a/gen/playablelocations3-cli/README.md +++ b/gen/playablelocations3-cli/README.md @@ -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 *Playable Locations* API at revision *20200707*. The CLI is at version *3.0.0*. +This documentation was generated from the *Playable Locations* API at revision *20200707*. The CLI is at version *3.1.0*. ```bash playablelocations3 [options] diff --git a/gen/playablelocations3-cli/mkdocs.yml b/gen/playablelocations3-cli/mkdocs.yml index 8f670eafc7..41cfacecc0 100644 --- a/gen/playablelocations3-cli/mkdocs.yml +++ b/gen/playablelocations3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Playable Locations v3.0.0+20200707 +site_name: Playable Locations v3.1.0+20200707 site_url: http://byron.github.io/google-apis-rs/google-playablelocations3-cli site_description: A complete library to interact with Playable Locations (protocol v3) diff --git a/gen/playablelocations3-cli/src/main.rs b/gen/playablelocations3-cli/src/main.rs index cfb31cb466..a5beec8ba2 100644 --- a/gen/playablelocations3-cli/src/main.rs +++ b/gen/playablelocations3-cli/src/main.rs @@ -360,7 +360,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/playablelocations3", 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::PlayableLocations::new(client, auth), @@ -479,7 +485,7 @@ async fn main() { let mut app = App::new("playablelocations3") .author("Sebastian Thiel ") - .version("3.0.0+20200707") + .version("3.1.0+20200707") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_playablelocations3_cli") .arg(Arg::with_name("folder") diff --git a/gen/playablelocations3/Cargo.toml b/gen/playablelocations3/Cargo.toml index 286c5ca55b..6b1c89c2ef 100644 --- a/gen/playablelocations3/Cargo.toml +++ b/gen/playablelocations3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-playablelocations3" -version = "3.0.0+20200707" +version = "3.1.0+20200707" authors = ["Sebastian Thiel "] description = "A complete library to interact with Playable Locations (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/playablelocations3" homepage = "https://developers.google.com/maps/contact-sales/" -documentation = "https://docs.rs/google-playablelocations3/3.0.0+20200707" +documentation = "https://docs.rs/google-playablelocations3/3.1.0+20200707" license = "MIT" keywords = ["playablelocations", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/playablelocations3/README.md b/gen/playablelocations3/README.md index 9179720747..26d55175fe 100644 --- a/gen/playablelocations3/README.md +++ b/gen/playablelocations3/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-playablelocations3` library allows access to all features of the *Google Playable Locations* service. -This documentation was generated from *Playable Locations* crate version *3.0.0+20200707*, where *20200707* is the exact revision of the *playablelocations:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Playable Locations* crate version *3.1.0+20200707*, where *20200707* is the exact revision of the *playablelocations:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Playable Locations* *v3* API can be found at the [official documentation site](https://developers.google.com/maps/contact-sales/). # Features -Use the following functionality with ease from the central [hub](https://docs.rs/google-playablelocations3/3.0.0+20200707/google_playablelocations3/PlayableLocations) ... +Use the following functionality with ease from the central [hub](https://docs.rs/google-playablelocations3/3.1.0+20200707/google_playablelocations3/PlayableLocations) ... -* [log impressions](https://docs.rs/google-playablelocations3/3.0.0+20200707/google_playablelocations3/api::MethodLogImpressionCall) -* [log player reports](https://docs.rs/google-playablelocations3/3.0.0+20200707/google_playablelocations3/api::MethodLogPlayerReportCall) -* [sample playable locations](https://docs.rs/google-playablelocations3/3.0.0+20200707/google_playablelocations3/api::MethodSamplePlayableLocationCall) +* [log impressions](https://docs.rs/google-playablelocations3/3.1.0+20200707/google_playablelocations3/api::MethodLogImpressionCall) +* [log player reports](https://docs.rs/google-playablelocations3/3.1.0+20200707/google_playablelocations3/api::MethodLogPlayerReportCall) +* [sample playable locations](https://docs.rs/google-playablelocations3/3.1.0+20200707/google_playablelocations3/api::MethodSamplePlayableLocationCall) @@ -24,17 +24,17 @@ Use the following functionality with ease from the central [hub](https://docs.rs The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-playablelocations3/3.0.0+20200707/google_playablelocations3/PlayableLocations)** +* **[Hub](https://docs.rs/google-playablelocations3/3.1.0+20200707/google_playablelocations3/PlayableLocations)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-playablelocations3/3.0.0+20200707/google_playablelocations3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-playablelocations3/3.0.0+20200707/google_playablelocations3/client::CallBuilder) -* **[Resources](https://docs.rs/google-playablelocations3/3.0.0+20200707/google_playablelocations3/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-playablelocations3/3.1.0+20200707/google_playablelocations3/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-playablelocations3/3.1.0+20200707/google_playablelocations3/client::CallBuilder) +* **[Resources](https://docs.rs/google-playablelocations3/3.1.0+20200707/google_playablelocations3/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-playablelocations3/3.0.0+20200707/google_playablelocations3/client::Part)** + * **[Parts](https://docs.rs/google-playablelocations3/3.1.0+20200707/google_playablelocations3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-playablelocations3/3.0.0+20200707/google_playablelocations3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-playablelocations3/3.1.0+20200707/google_playablelocations3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -92,7 +92,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = PlayableLocations::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = PlayableLocations::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -125,17 +125,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-playablelocations3/3.0.0+20200707/google_playablelocations3/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-playablelocations3/3.1.0+20200707/google_playablelocations3/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-playablelocations3/3.0.0+20200707/google_playablelocations3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-playablelocations3/3.1.0+20200707/google_playablelocations3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-playablelocations3/3.0.0+20200707/google_playablelocations3/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-playablelocations3/3.1.0+20200707/google_playablelocations3/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-playablelocations3/3.0.0+20200707/google_playablelocations3/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-playablelocations3/3.1.0+20200707/google_playablelocations3/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -145,29 +145,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-playablelocations3/3.0.0+20200707/google_playablelocations3/client::Delegate) to the -[Method Builder](https://docs.rs/google-playablelocations3/3.0.0+20200707/google_playablelocations3/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-playablelocations3/3.1.0+20200707/google_playablelocations3/client::Delegate) to the +[Method Builder](https://docs.rs/google-playablelocations3/3.1.0+20200707/google_playablelocations3/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-playablelocations3/3.0.0+20200707/google_playablelocations3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-playablelocations3/3.1.0+20200707/google_playablelocations3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-playablelocations3/3.0.0+20200707/google_playablelocations3/client::RequestValue) and -[decodable](https://docs.rs/google-playablelocations3/3.0.0+20200707/google_playablelocations3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-playablelocations3/3.1.0+20200707/google_playablelocations3/client::RequestValue) and +[decodable](https://docs.rs/google-playablelocations3/3.1.0+20200707/google_playablelocations3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-playablelocations3/3.0.0+20200707/google_playablelocations3/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-playablelocations3/3.1.0+20200707/google_playablelocations3/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-playablelocations3/3.0.0+20200707/google_playablelocations3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-playablelocations3/3.1.0+20200707/google_playablelocations3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-playablelocations3/3.0.0+20200707/google_playablelocations3/client::RequestValue) are moved +* [request values](https://docs.rs/google-playablelocations3/3.1.0+20200707/google_playablelocations3/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/playablelocations3/src/api.rs b/gen/playablelocations3/src/api.rs index 9d7aab1da3..ad7c4cb1c5 100644 --- a/gen/playablelocations3/src/api.rs +++ b/gen/playablelocations3/src/api.rs @@ -49,7 +49,7 @@ use crate::client; /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = PlayableLocations::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = PlayableLocations::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -97,7 +97,7 @@ impl<'a, > PlayableLocations<> { PlayableLocations { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://playablelocations.googleapis.com/".to_string(), _root_url: "https://playablelocations.googleapis.com/".to_string(), } @@ -108,7 +108,7 @@ impl<'a, > PlayableLocations<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -658,7 +658,7 @@ impl client::Part for GoogleTypeLatLng {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = PlayableLocations::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = PlayableLocations::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `log_impressions(...)`, `log_player_reports(...)` and `sample_playable_locations(...)` /// // to build up your call. @@ -770,7 +770,7 @@ impl<'a> MethodMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PlayableLocations::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PlayableLocations::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -992,7 +992,7 @@ impl<'a> MethodLogImpressionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PlayableLocations::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PlayableLocations::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1215,7 +1215,7 @@ impl<'a> MethodLogPlayerReportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PlayableLocations::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PlayableLocations::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/playablelocations3/src/lib.rs b/gen/playablelocations3/src/lib.rs index 1fc68042dd..d29992728e 100644 --- a/gen/playablelocations3/src/lib.rs +++ b/gen/playablelocations3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Playable Locations* crate version *3.0.0+20200707*, where *20200707* is the exact revision of the *playablelocations:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Playable Locations* crate version *3.1.0+20200707*, where *20200707* is the exact revision of the *playablelocations:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Playable Locations* *v3* API can be found at the //! [official documentation site](https://developers.google.com/maps/contact-sales/). @@ -93,7 +93,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = PlayableLocations::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = PlayableLocations::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/playcustomapp1-cli/Cargo.toml b/gen/playcustomapp1-cli/Cargo.toml index 6d5e829700..2325174c7e 100644 --- a/gen/playcustomapp1-cli/Cargo.toml +++ b/gen/playcustomapp1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-playcustomapp1-cli" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with playcustomapp (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/playcustomapp1-cli" @@ -20,12 +20,12 @@ name = "playcustomapp1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-playcustomapp1] path = "../playcustomapp1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" diff --git a/gen/playcustomapp1-cli/README.md b/gen/playcustomapp1-cli/README.md index 731e2cae56..c1edba3d4f 100644 --- a/gen/playcustomapp1-cli/README.md +++ b/gen/playcustomapp1-cli/README.md @@ -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 *playcustomapp* API at revision *20220305*. The CLI is at version *3.0.0*. +This documentation was generated from the *playcustomapp* API at revision *20220305*. The CLI is at version *3.1.0*. ```bash playcustomapp1 [options] diff --git a/gen/playcustomapp1-cli/mkdocs.yml b/gen/playcustomapp1-cli/mkdocs.yml index 59ed4b7368..fa8290846d 100644 --- a/gen/playcustomapp1-cli/mkdocs.yml +++ b/gen/playcustomapp1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: playcustomapp v3.0.0+20220305 +site_name: playcustomapp v3.1.0+20220305 site_url: http://byron.github.io/google-apis-rs/google-playcustomapp1-cli site_description: A complete library to interact with playcustomapp (protocol v1) diff --git a/gen/playcustomapp1-cli/src/main.rs b/gen/playcustomapp1-cli/src/main.rs index c7eee6470f..df548ab1c5 100644 --- a/gen/playcustomapp1-cli/src/main.rs +++ b/gen/playcustomapp1-cli/src/main.rs @@ -182,7 +182,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/playcustomapp1", 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::Playcustomapp::new(client, auth), @@ -259,7 +265,7 @@ async fn main() { let mut app = App::new("playcustomapp1") .author("Sebastian Thiel ") - .version("3.0.0+20220305") + .version("3.1.0+20220305") .about("API to create and publish custom Android apps") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_playcustomapp1_cli") .arg(Arg::with_name("url") diff --git a/gen/playcustomapp1/Cargo.toml b/gen/playcustomapp1/Cargo.toml index f05d5564a8..29a63d377a 100644 --- a/gen/playcustomapp1/Cargo.toml +++ b/gen/playcustomapp1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-playcustomapp1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with playcustomapp (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/playcustomapp1" homepage = "https://developers.google.com/android/work/play/custom-app-api/" -documentation = "https://docs.rs/google-playcustomapp1/3.0.0+20220305" +documentation = "https://docs.rs/google-playcustomapp1/3.1.0+20220305" license = "MIT" keywords = ["playcustomapp", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/playcustomapp1/README.md b/gen/playcustomapp1/README.md index dd5b3d7d0a..df805839a9 100644 --- a/gen/playcustomapp1/README.md +++ b/gen/playcustomapp1/README.md @@ -5,21 +5,21 @@ DO NOT EDIT ! --> The `google-playcustomapp1` library allows access to all features of the *Google playcustomapp* service. -This documentation was generated from *playcustomapp* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *playcustomapp:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *playcustomapp* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *playcustomapp:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *playcustomapp* *v1* API can be found at the [official documentation site](https://developers.google.com/android/work/play/custom-app-api/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-playcustomapp1/3.0.0+20220305/google_playcustomapp1/Playcustomapp) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-playcustomapp1/3.1.0+20220305/google_playcustomapp1/Playcustomapp) ... * accounts - * [*custom apps create*](https://docs.rs/google-playcustomapp1/3.0.0+20220305/google_playcustomapp1/api::AccountCustomAppCreateCall) + * [*custom apps create*](https://docs.rs/google-playcustomapp1/3.1.0+20220305/google_playcustomapp1/api::AccountCustomAppCreateCall) Upload supported by ... -* [*custom apps create accounts*](https://docs.rs/google-playcustomapp1/3.0.0+20220305/google_playcustomapp1/api::AccountCustomAppCreateCall) +* [*custom apps create accounts*](https://docs.rs/google-playcustomapp1/3.1.0+20220305/google_playcustomapp1/api::AccountCustomAppCreateCall) @@ -27,17 +27,17 @@ Upload supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-playcustomapp1/3.0.0+20220305/google_playcustomapp1/Playcustomapp)** +* **[Hub](https://docs.rs/google-playcustomapp1/3.1.0+20220305/google_playcustomapp1/Playcustomapp)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-playcustomapp1/3.0.0+20220305/google_playcustomapp1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-playcustomapp1/3.0.0+20220305/google_playcustomapp1/client::CallBuilder) -* **[Resources](https://docs.rs/google-playcustomapp1/3.0.0+20220305/google_playcustomapp1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-playcustomapp1/3.1.0+20220305/google_playcustomapp1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-playcustomapp1/3.1.0+20220305/google_playcustomapp1/client::CallBuilder) +* **[Resources](https://docs.rs/google-playcustomapp1/3.1.0+20220305/google_playcustomapp1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-playcustomapp1/3.0.0+20220305/google_playcustomapp1/client::Part)** + * **[Parts](https://docs.rs/google-playcustomapp1/3.1.0+20220305/google_playcustomapp1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-playcustomapp1/3.0.0+20220305/google_playcustomapp1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-playcustomapp1/3.1.0+20220305/google_playcustomapp1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -96,7 +96,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Playcustomapp::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Playcustomapp::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -129,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-playcustomapp1/3.0.0+20220305/google_playcustomapp1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-playcustomapp1/3.1.0+20220305/google_playcustomapp1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-playcustomapp1/3.0.0+20220305/google_playcustomapp1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-playcustomapp1/3.1.0+20220305/google_playcustomapp1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-playcustomapp1/3.0.0+20220305/google_playcustomapp1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-playcustomapp1/3.1.0+20220305/google_playcustomapp1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-playcustomapp1/3.0.0+20220305/google_playcustomapp1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-playcustomapp1/3.1.0+20220305/google_playcustomapp1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -149,29 +149,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-playcustomapp1/3.0.0+20220305/google_playcustomapp1/client::Delegate) to the -[Method Builder](https://docs.rs/google-playcustomapp1/3.0.0+20220305/google_playcustomapp1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-playcustomapp1/3.1.0+20220305/google_playcustomapp1/client::Delegate) to the +[Method Builder](https://docs.rs/google-playcustomapp1/3.1.0+20220305/google_playcustomapp1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-playcustomapp1/3.0.0+20220305/google_playcustomapp1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-playcustomapp1/3.1.0+20220305/google_playcustomapp1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-playcustomapp1/3.0.0+20220305/google_playcustomapp1/client::RequestValue) and -[decodable](https://docs.rs/google-playcustomapp1/3.0.0+20220305/google_playcustomapp1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-playcustomapp1/3.1.0+20220305/google_playcustomapp1/client::RequestValue) and +[decodable](https://docs.rs/google-playcustomapp1/3.1.0+20220305/google_playcustomapp1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-playcustomapp1/3.0.0+20220305/google_playcustomapp1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-playcustomapp1/3.1.0+20220305/google_playcustomapp1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-playcustomapp1/3.0.0+20220305/google_playcustomapp1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-playcustomapp1/3.1.0+20220305/google_playcustomapp1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-playcustomapp1/3.0.0+20220305/google_playcustomapp1/client::RequestValue) are moved +* [request values](https://docs.rs/google-playcustomapp1/3.1.0+20220305/google_playcustomapp1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/playcustomapp1/src/api.rs b/gen/playcustomapp1/src/api.rs index 3af4dbed84..d59be07fe4 100644 --- a/gen/playcustomapp1/src/api.rs +++ b/gen/playcustomapp1/src/api.rs @@ -72,7 +72,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Playcustomapp::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Playcustomapp::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > Playcustomapp<> { Playcustomapp { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://playcustomapp.googleapis.com/".to_string(), _root_url: "https://playcustomapp.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > Playcustomapp<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -229,7 +229,7 @@ impl client::Part for Organization {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Playcustomapp::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Playcustomapp::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `custom_apps_create(...)` /// // to build up your call. @@ -298,7 +298,7 @@ impl<'a> AccountMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Playcustomapp::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Playcustomapp::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/playcustomapp1/src/lib.rs b/gen/playcustomapp1/src/lib.rs index b16643e4a1..3a10177c4a 100644 --- a/gen/playcustomapp1/src/lib.rs +++ b/gen/playcustomapp1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *playcustomapp* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *playcustomapp:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *playcustomapp* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *playcustomapp:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *playcustomapp* *v1* API can be found at the //! [official documentation site](https://developers.google.com/android/work/play/custom-app-api/). @@ -97,7 +97,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Playcustomapp::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Playcustomapp::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/playintegrity1-cli/Cargo.toml b/gen/playintegrity1-cli/Cargo.toml index e01c17c82f..0972d4a264 100644 --- a/gen/playintegrity1-cli/Cargo.toml +++ b/gen/playintegrity1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-playintegrity1-cli" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with Play Integrity (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/playintegrity1-cli" @@ -20,12 +20,12 @@ name = "playintegrity1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-playintegrity1] path = "../playintegrity1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" diff --git a/gen/playintegrity1-cli/README.md b/gen/playintegrity1-cli/README.md index 87db508fda..b11fd9dc73 100644 --- a/gen/playintegrity1-cli/README.md +++ b/gen/playintegrity1-cli/README.md @@ -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 *Play Integrity* API at revision *20220305*. The CLI is at version *3.0.0*. +This documentation was generated from the *Play Integrity* API at revision *20220305*. The CLI is at version *3.1.0*. ```bash playintegrity1 [options] diff --git a/gen/playintegrity1-cli/mkdocs.yml b/gen/playintegrity1-cli/mkdocs.yml index 6145382c14..2aa22b1f90 100644 --- a/gen/playintegrity1-cli/mkdocs.yml +++ b/gen/playintegrity1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Play Integrity v3.0.0+20220305 +site_name: Play Integrity v3.1.0+20220305 site_url: http://byron.github.io/google-apis-rs/google-playintegrity1-cli site_description: A complete library to interact with Play Integrity (protocol v1) diff --git a/gen/playintegrity1-cli/src/main.rs b/gen/playintegrity1-cli/src/main.rs index e1d990cc41..294e740ed6 100644 --- a/gen/playintegrity1-cli/src/main.rs +++ b/gen/playintegrity1-cli/src/main.rs @@ -177,7 +177,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/playintegrity1", 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::PlayIntegrity::new(client, auth), @@ -247,7 +253,7 @@ async fn main() { let mut app = App::new("playintegrity1") .author("Sebastian Thiel ") - .version("3.0.0+20220305") + .version("3.1.0+20220305") .about("Play Integrity") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_playintegrity1_cli") .arg(Arg::with_name("url") diff --git a/gen/playintegrity1/Cargo.toml b/gen/playintegrity1/Cargo.toml index b15dd650ec..ee29205d29 100644 --- a/gen/playintegrity1/Cargo.toml +++ b/gen/playintegrity1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-playintegrity1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with Play Integrity (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/playintegrity1" homepage = "https://developer.android.com/google/play/integrity" -documentation = "https://docs.rs/google-playintegrity1/3.0.0+20220305" +documentation = "https://docs.rs/google-playintegrity1/3.1.0+20220305" license = "MIT" keywords = ["playintegrity", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/playintegrity1/README.md b/gen/playintegrity1/README.md index bb6ecb96a2..2326260fa6 100644 --- a/gen/playintegrity1/README.md +++ b/gen/playintegrity1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-playintegrity1` library allows access to all features of the *Google Play Integrity* service. -This documentation was generated from *Play Integrity* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *playintegrity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Play Integrity* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *playintegrity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Play Integrity* *v1* API can be found at the [official documentation site](https://developer.android.com/google/play/integrity). # Features -Use the following functionality with ease from the central [hub](https://docs.rs/google-playintegrity1/3.0.0+20220305/google_playintegrity1/PlayIntegrity) ... +Use the following functionality with ease from the central [hub](https://docs.rs/google-playintegrity1/3.1.0+20220305/google_playintegrity1/PlayIntegrity) ... -* [decode integrity token](https://docs.rs/google-playintegrity1/3.0.0+20220305/google_playintegrity1/api::MethodDecodeIntegrityTokenCall) +* [decode integrity token](https://docs.rs/google-playintegrity1/3.1.0+20220305/google_playintegrity1/api::MethodDecodeIntegrityTokenCall) @@ -22,17 +22,17 @@ Use the following functionality with ease from the central [hub](https://docs.rs The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-playintegrity1/3.0.0+20220305/google_playintegrity1/PlayIntegrity)** +* **[Hub](https://docs.rs/google-playintegrity1/3.1.0+20220305/google_playintegrity1/PlayIntegrity)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-playintegrity1/3.0.0+20220305/google_playintegrity1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-playintegrity1/3.0.0+20220305/google_playintegrity1/client::CallBuilder) -* **[Resources](https://docs.rs/google-playintegrity1/3.0.0+20220305/google_playintegrity1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-playintegrity1/3.1.0+20220305/google_playintegrity1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-playintegrity1/3.1.0+20220305/google_playintegrity1/client::CallBuilder) +* **[Resources](https://docs.rs/google-playintegrity1/3.1.0+20220305/google_playintegrity1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-playintegrity1/3.0.0+20220305/google_playintegrity1/client::Part)** + * **[Parts](https://docs.rs/google-playintegrity1/3.1.0+20220305/google_playintegrity1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-playintegrity1/3.0.0+20220305/google_playintegrity1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-playintegrity1/3.1.0+20220305/google_playintegrity1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -90,7 +90,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = PlayIntegrity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = PlayIntegrity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -123,17 +123,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-playintegrity1/3.0.0+20220305/google_playintegrity1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-playintegrity1/3.1.0+20220305/google_playintegrity1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-playintegrity1/3.0.0+20220305/google_playintegrity1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-playintegrity1/3.1.0+20220305/google_playintegrity1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-playintegrity1/3.0.0+20220305/google_playintegrity1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-playintegrity1/3.1.0+20220305/google_playintegrity1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-playintegrity1/3.0.0+20220305/google_playintegrity1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-playintegrity1/3.1.0+20220305/google_playintegrity1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -143,29 +143,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-playintegrity1/3.0.0+20220305/google_playintegrity1/client::Delegate) to the -[Method Builder](https://docs.rs/google-playintegrity1/3.0.0+20220305/google_playintegrity1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-playintegrity1/3.1.0+20220305/google_playintegrity1/client::Delegate) to the +[Method Builder](https://docs.rs/google-playintegrity1/3.1.0+20220305/google_playintegrity1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-playintegrity1/3.0.0+20220305/google_playintegrity1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-playintegrity1/3.1.0+20220305/google_playintegrity1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-playintegrity1/3.0.0+20220305/google_playintegrity1/client::RequestValue) and -[decodable](https://docs.rs/google-playintegrity1/3.0.0+20220305/google_playintegrity1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-playintegrity1/3.1.0+20220305/google_playintegrity1/client::RequestValue) and +[decodable](https://docs.rs/google-playintegrity1/3.1.0+20220305/google_playintegrity1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-playintegrity1/3.0.0+20220305/google_playintegrity1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-playintegrity1/3.1.0+20220305/google_playintegrity1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-playintegrity1/3.0.0+20220305/google_playintegrity1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-playintegrity1/3.1.0+20220305/google_playintegrity1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-playintegrity1/3.0.0+20220305/google_playintegrity1/client::RequestValue) are moved +* [request values](https://docs.rs/google-playintegrity1/3.1.0+20220305/google_playintegrity1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/playintegrity1/src/api.rs b/gen/playintegrity1/src/api.rs index 4002ea0c89..cb085992d3 100644 --- a/gen/playintegrity1/src/api.rs +++ b/gen/playintegrity1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = PlayIntegrity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = PlayIntegrity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > PlayIntegrity<> { PlayIntegrity { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://playintegrity.googleapis.com/".to_string(), _root_url: "https://playintegrity.googleapis.com/".to_string(), } @@ -130,7 +130,7 @@ impl<'a, > PlayIntegrity<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -332,7 +332,7 @@ impl client::Part for TokenPayloadExternal {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = PlayIntegrity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = PlayIntegrity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `decode_integrity_token(...)` /// // to build up your call. @@ -400,7 +400,7 @@ impl<'a> MethodMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PlayIntegrity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PlayIntegrity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/playintegrity1/src/lib.rs b/gen/playintegrity1/src/lib.rs index 3140defbe4..62c31abdc6 100644 --- a/gen/playintegrity1/src/lib.rs +++ b/gen/playintegrity1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Play Integrity* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *playintegrity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Play Integrity* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *playintegrity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Play Integrity* *v1* API can be found at the //! [official documentation site](https://developer.android.com/google/play/integrity). @@ -91,7 +91,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = PlayIntegrity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = PlayIntegrity::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/playmoviespartner1-cli/Cargo.toml b/gen/playmoviespartner1-cli/Cargo.toml index 3f3ee1e2b7..e6520ad150 100644 --- a/gen/playmoviespartner1-cli/Cargo.toml +++ b/gen/playmoviespartner1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-playmoviespartner1-cli" -version = "3.0.0+20170919" +version = "3.1.0+20170919" authors = ["Sebastian Thiel "] description = "A complete library to interact with Play Movies (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/playmoviespartner1-cli" @@ -20,12 +20,12 @@ name = "playmoviespartner1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-playmoviespartner1] path = "../playmoviespartner1" -version = "3.0.0+20170919" +version = "3.1.0+20170919" diff --git a/gen/playmoviespartner1-cli/README.md b/gen/playmoviespartner1-cli/README.md index 430957345d..cad6885a03 100644 --- a/gen/playmoviespartner1-cli/README.md +++ b/gen/playmoviespartner1-cli/README.md @@ -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 *Play Movies* API at revision *20170919*. The CLI is at version *3.0.0*. +This documentation was generated from the *Play Movies* API at revision *20170919*. The CLI is at version *3.1.0*. ```bash playmoviespartner1 [options] diff --git a/gen/playmoviespartner1-cli/mkdocs.yml b/gen/playmoviespartner1-cli/mkdocs.yml index f0591fe552..74325ea92e 100644 --- a/gen/playmoviespartner1-cli/mkdocs.yml +++ b/gen/playmoviespartner1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Play Movies v3.0.0+20170919 +site_name: Play Movies v3.1.0+20170919 site_url: http://byron.github.io/google-apis-rs/google-playmoviespartner1-cli site_description: A complete library to interact with Play Movies (protocol v1) diff --git a/gen/playmoviespartner1-cli/src/main.rs b/gen/playmoviespartner1-cli/src/main.rs index 7407390049..b4b79b23da 100644 --- a/gen/playmoviespartner1-cli/src/main.rs +++ b/gen/playmoviespartner1-cli/src/main.rs @@ -503,7 +503,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/playmoviespartner1", 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::PlayMovies::new(client, auth), @@ -717,7 +723,7 @@ async fn main() { let mut app = App::new("playmoviespartner1") .author("Sebastian Thiel ") - .version("3.0.0+20170919") + .version("3.1.0+20170919") .about("Gets the delivery status of titles for Google Play Movies Partners.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_playmoviespartner1_cli") .arg(Arg::with_name("url") diff --git a/gen/playmoviespartner1/Cargo.toml b/gen/playmoviespartner1/Cargo.toml index 626290de55..f317e6c27e 100644 --- a/gen/playmoviespartner1/Cargo.toml +++ b/gen/playmoviespartner1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-playmoviespartner1" -version = "3.0.0+20170919" +version = "3.1.0+20170919" authors = ["Sebastian Thiel "] description = "A complete library to interact with Play Movies (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/playmoviespartner1" homepage = "https://developers.google.com/playmoviespartner/" -documentation = "https://docs.rs/google-playmoviespartner1/3.0.0+20170919" +documentation = "https://docs.rs/google-playmoviespartner1/3.1.0+20170919" license = "MIT" keywords = ["playmoviespartner", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/playmoviespartner1/README.md b/gen/playmoviespartner1/README.md index 4a60463ceb..ed5e7d7ef4 100644 --- a/gen/playmoviespartner1/README.md +++ b/gen/playmoviespartner1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-playmoviespartner1` library allows access to all features of the *Google Play Movies* service. -This documentation was generated from *Play Movies* crate version *3.0.0+20170919*, where *20170919* is the exact revision of the *playmoviespartner:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Play Movies* crate version *3.1.0+20170919*, where *20170919* is the exact revision of the *playmoviespartner:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Play Movies* *v1* API can be found at the [official documentation site](https://developers.google.com/playmoviespartner/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-playmoviespartner1/3.0.0+20170919/google_playmoviespartner1/PlayMovies) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-playmoviespartner1/3.1.0+20170919/google_playmoviespartner1/PlayMovies) ... * accounts - * [*avails get*](https://docs.rs/google-playmoviespartner1/3.0.0+20170919/google_playmoviespartner1/api::AccountAvailGetCall), [*avails list*](https://docs.rs/google-playmoviespartner1/3.0.0+20170919/google_playmoviespartner1/api::AccountAvailListCall), [*orders get*](https://docs.rs/google-playmoviespartner1/3.0.0+20170919/google_playmoviespartner1/api::AccountOrderGetCall), [*orders list*](https://docs.rs/google-playmoviespartner1/3.0.0+20170919/google_playmoviespartner1/api::AccountOrderListCall), [*store infos country get*](https://docs.rs/google-playmoviespartner1/3.0.0+20170919/google_playmoviespartner1/api::AccountStoreInfoCountryGetCall) and [*store infos list*](https://docs.rs/google-playmoviespartner1/3.0.0+20170919/google_playmoviespartner1/api::AccountStoreInfoListCall) + * [*avails get*](https://docs.rs/google-playmoviespartner1/3.1.0+20170919/google_playmoviespartner1/api::AccountAvailGetCall), [*avails list*](https://docs.rs/google-playmoviespartner1/3.1.0+20170919/google_playmoviespartner1/api::AccountAvailListCall), [*orders get*](https://docs.rs/google-playmoviespartner1/3.1.0+20170919/google_playmoviespartner1/api::AccountOrderGetCall), [*orders list*](https://docs.rs/google-playmoviespartner1/3.1.0+20170919/google_playmoviespartner1/api::AccountOrderListCall), [*store infos country get*](https://docs.rs/google-playmoviespartner1/3.1.0+20170919/google_playmoviespartner1/api::AccountStoreInfoCountryGetCall) and [*store infos list*](https://docs.rs/google-playmoviespartner1/3.1.0+20170919/google_playmoviespartner1/api::AccountStoreInfoListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-playmoviespartner1/3.0.0+20170919/google_playmoviespartner1/PlayMovies)** +* **[Hub](https://docs.rs/google-playmoviespartner1/3.1.0+20170919/google_playmoviespartner1/PlayMovies)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-playmoviespartner1/3.0.0+20170919/google_playmoviespartner1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-playmoviespartner1/3.0.0+20170919/google_playmoviespartner1/client::CallBuilder) -* **[Resources](https://docs.rs/google-playmoviespartner1/3.0.0+20170919/google_playmoviespartner1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-playmoviespartner1/3.1.0+20170919/google_playmoviespartner1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-playmoviespartner1/3.1.0+20170919/google_playmoviespartner1/client::CallBuilder) +* **[Resources](https://docs.rs/google-playmoviespartner1/3.1.0+20170919/google_playmoviespartner1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-playmoviespartner1/3.0.0+20170919/google_playmoviespartner1/client::Part)** + * **[Parts](https://docs.rs/google-playmoviespartner1/3.1.0+20170919/google_playmoviespartner1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-playmoviespartner1/3.0.0+20170919/google_playmoviespartner1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-playmoviespartner1/3.1.0+20170919/google_playmoviespartner1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -90,7 +90,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = PlayMovies::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = PlayMovies::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -118,17 +118,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-playmoviespartner1/3.0.0+20170919/google_playmoviespartner1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-playmoviespartner1/3.1.0+20170919/google_playmoviespartner1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-playmoviespartner1/3.0.0+20170919/google_playmoviespartner1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-playmoviespartner1/3.1.0+20170919/google_playmoviespartner1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-playmoviespartner1/3.0.0+20170919/google_playmoviespartner1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-playmoviespartner1/3.1.0+20170919/google_playmoviespartner1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-playmoviespartner1/3.0.0+20170919/google_playmoviespartner1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-playmoviespartner1/3.1.0+20170919/google_playmoviespartner1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -138,29 +138,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-playmoviespartner1/3.0.0+20170919/google_playmoviespartner1/client::Delegate) to the -[Method Builder](https://docs.rs/google-playmoviespartner1/3.0.0+20170919/google_playmoviespartner1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-playmoviespartner1/3.1.0+20170919/google_playmoviespartner1/client::Delegate) to the +[Method Builder](https://docs.rs/google-playmoviespartner1/3.1.0+20170919/google_playmoviespartner1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-playmoviespartner1/3.0.0+20170919/google_playmoviespartner1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-playmoviespartner1/3.1.0+20170919/google_playmoviespartner1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-playmoviespartner1/3.0.0+20170919/google_playmoviespartner1/client::RequestValue) and -[decodable](https://docs.rs/google-playmoviespartner1/3.0.0+20170919/google_playmoviespartner1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-playmoviespartner1/3.1.0+20170919/google_playmoviespartner1/client::RequestValue) and +[decodable](https://docs.rs/google-playmoviespartner1/3.1.0+20170919/google_playmoviespartner1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-playmoviespartner1/3.0.0+20170919/google_playmoviespartner1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-playmoviespartner1/3.1.0+20170919/google_playmoviespartner1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-playmoviespartner1/3.0.0+20170919/google_playmoviespartner1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-playmoviespartner1/3.1.0+20170919/google_playmoviespartner1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-playmoviespartner1/3.0.0+20170919/google_playmoviespartner1/client::RequestValue) are moved +* [request values](https://docs.rs/google-playmoviespartner1/3.1.0+20170919/google_playmoviespartner1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/playmoviespartner1/src/api.rs b/gen/playmoviespartner1/src/api.rs index ee53954d9f..a995db95e1 100644 --- a/gen/playmoviespartner1/src/api.rs +++ b/gen/playmoviespartner1/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = PlayMovies::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = PlayMovies::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -113,7 +113,7 @@ impl<'a, > PlayMovies<> { PlayMovies { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://playmoviespartner.googleapis.com/".to_string(), _root_url: "https://playmoviespartner.googleapis.com/".to_string(), } @@ -124,7 +124,7 @@ impl<'a, > PlayMovies<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -668,7 +668,7 @@ impl client::ResponseResult for ListOrdersResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = PlayMovies::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = PlayMovies::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `avails_get(...)`, `avails_list(...)`, `orders_get(...)`, `orders_list(...)`, `store_infos_country_get(...)` and `store_infos_list(...)` /// // to build up your call. @@ -871,7 +871,7 @@ impl<'a> AccountMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PlayMovies::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PlayMovies::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1237,7 +1237,7 @@ impl<'a> AccountOrderListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PlayMovies::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PlayMovies::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1506,7 +1506,7 @@ impl<'a> AccountOrderGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PlayMovies::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PlayMovies::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1889,7 +1889,7 @@ impl<'a> AccountAvailListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PlayMovies::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PlayMovies::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2158,7 +2158,7 @@ impl<'a> AccountAvailGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PlayMovies::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PlayMovies::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2439,7 +2439,7 @@ impl<'a> AccountStoreInfoCountryGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PlayMovies::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PlayMovies::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/playmoviespartner1/src/lib.rs b/gen/playmoviespartner1/src/lib.rs index 6af0722178..1e0ebd8316 100644 --- a/gen/playmoviespartner1/src/lib.rs +++ b/gen/playmoviespartner1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Play Movies* crate version *3.0.0+20170919*, where *20170919* is the exact revision of the *playmoviespartner:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Play Movies* crate version *3.1.0+20170919*, where *20170919* is the exact revision of the *playmoviespartner:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Play Movies* *v1* API can be found at the //! [official documentation site](https://developers.google.com/playmoviespartner/). @@ -91,7 +91,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = PlayMovies::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = PlayMovies::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/plus1-cli/Cargo.toml b/gen/plus1-cli/Cargo.toml index 425be4f8cc..4e76754498 100644 --- a/gen/plus1-cli/Cargo.toml +++ b/gen/plus1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-plus1-cli" -version = "3.0.0+20190616" +version = "3.1.0+20190616" authors = ["Sebastian Thiel "] description = "A complete library to interact with plus (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/plus1-cli" @@ -20,12 +20,12 @@ name = "plus1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-plus1] path = "../plus1" -version = "3.0.0+20190616" +version = "3.1.0+20190616" diff --git a/gen/plus1-cli/README.md b/gen/plus1-cli/README.md index 0e3d8ea187..16d7abaa4f 100644 --- a/gen/plus1-cli/README.md +++ b/gen/plus1-cli/README.md @@ -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 *plus* API at revision *20190616*. The CLI is at version *3.0.0*. +This documentation was generated from the *plus* API at revision *20190616*. The CLI is at version *3.1.0*. ```bash plus1 [options] diff --git a/gen/plus1-cli/mkdocs.yml b/gen/plus1-cli/mkdocs.yml index 0e8eca9d29..5f381b65c9 100644 --- a/gen/plus1-cli/mkdocs.yml +++ b/gen/plus1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: plus v3.0.0+20190616 +site_name: plus v3.1.0+20190616 site_url: http://byron.github.io/google-apis-rs/google-plus1-cli site_description: A complete library to interact with plus (protocol v1) diff --git a/gen/plus1-cli/src/main.rs b/gen/plus1-cli/src/main.rs index 53f3bc1ff5..910c9a4c88 100644 --- a/gen/plus1-cli/src/main.rs +++ b/gen/plus1-cli/src/main.rs @@ -657,7 +657,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/plus1", 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::Plus::new(client, auth), @@ -918,7 +924,7 @@ async fn main() { let mut app = App::new("plus1") .author("Sebastian Thiel ") - .version("3.0.0+20190616") + .version("3.1.0+20190616") .about("Builds on top of the Google+ platform.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_plus1_cli") .arg(Arg::with_name("url") diff --git a/gen/plus1/Cargo.toml b/gen/plus1/Cargo.toml index 42958fb2a1..8584c7f652 100644 --- a/gen/plus1/Cargo.toml +++ b/gen/plus1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-plus1" -version = "3.0.0+20190616" +version = "3.1.0+20190616" authors = ["Sebastian Thiel "] description = "A complete library to interact with plus (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/plus1" homepage = "https://developers.google.com/+/api/" -documentation = "https://docs.rs/google-plus1/3.0.0+20190616" +documentation = "https://docs.rs/google-plus1/3.1.0+20190616" license = "MIT" keywords = ["plus", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/plus1/README.md b/gen/plus1/README.md index bccd2137b5..9ec6dc83a7 100644 --- a/gen/plus1/README.md +++ b/gen/plus1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-plus1` library allows access to all features of the *Google plus* service. -This documentation was generated from *plus* crate version *3.0.0+20190616*, where *20190616* is the exact revision of the *plus:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *plus* crate version *3.1.0+20190616*, where *20190616* is the exact revision of the *plus:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *plus* *v1* API can be found at the [official documentation site](https://developers.google.com/+/api/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-plus1/3.0.0+20190616/google_plus1/Plus) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-plus1/3.1.0+20190616/google_plus1/Plus) ... -* [activities](https://docs.rs/google-plus1/3.0.0+20190616/google_plus1/api::Activity) - * [*get*](https://docs.rs/google-plus1/3.0.0+20190616/google_plus1/api::ActivityGetCall), [*list*](https://docs.rs/google-plus1/3.0.0+20190616/google_plus1/api::ActivityListCall) and [*search*](https://docs.rs/google-plus1/3.0.0+20190616/google_plus1/api::ActivitySearchCall) -* [comments](https://docs.rs/google-plus1/3.0.0+20190616/google_plus1/api::Comment) - * [*get*](https://docs.rs/google-plus1/3.0.0+20190616/google_plus1/api::CommentGetCall) and [*list*](https://docs.rs/google-plus1/3.0.0+20190616/google_plus1/api::CommentListCall) +* [activities](https://docs.rs/google-plus1/3.1.0+20190616/google_plus1/api::Activity) + * [*get*](https://docs.rs/google-plus1/3.1.0+20190616/google_plus1/api::ActivityGetCall), [*list*](https://docs.rs/google-plus1/3.1.0+20190616/google_plus1/api::ActivityListCall) and [*search*](https://docs.rs/google-plus1/3.1.0+20190616/google_plus1/api::ActivitySearchCall) +* [comments](https://docs.rs/google-plus1/3.1.0+20190616/google_plus1/api::Comment) + * [*get*](https://docs.rs/google-plus1/3.1.0+20190616/google_plus1/api::CommentGetCall) and [*list*](https://docs.rs/google-plus1/3.1.0+20190616/google_plus1/api::CommentListCall) * people - * [*get*](https://docs.rs/google-plus1/3.0.0+20190616/google_plus1/api::PeopleGetCall), [*list*](https://docs.rs/google-plus1/3.0.0+20190616/google_plus1/api::PeopleListCall), [*list by activity*](https://docs.rs/google-plus1/3.0.0+20190616/google_plus1/api::PeopleListByActivityCall) and [*search*](https://docs.rs/google-plus1/3.0.0+20190616/google_plus1/api::PeopleSearchCall) + * [*get*](https://docs.rs/google-plus1/3.1.0+20190616/google_plus1/api::PeopleGetCall), [*list*](https://docs.rs/google-plus1/3.1.0+20190616/google_plus1/api::PeopleListCall), [*list by activity*](https://docs.rs/google-plus1/3.1.0+20190616/google_plus1/api::PeopleListByActivityCall) and [*search*](https://docs.rs/google-plus1/3.1.0+20190616/google_plus1/api::PeopleSearchCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-plus1/3.0.0+20190616/google_plus1/Plus)** +* **[Hub](https://docs.rs/google-plus1/3.1.0+20190616/google_plus1/Plus)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-plus1/3.0.0+20190616/google_plus1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-plus1/3.0.0+20190616/google_plus1/client::CallBuilder) -* **[Resources](https://docs.rs/google-plus1/3.0.0+20190616/google_plus1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-plus1/3.1.0+20190616/google_plus1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-plus1/3.1.0+20190616/google_plus1/client::CallBuilder) +* **[Resources](https://docs.rs/google-plus1/3.1.0+20190616/google_plus1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-plus1/3.0.0+20190616/google_plus1/client::Part)** + * **[Parts](https://docs.rs/google-plus1/3.1.0+20190616/google_plus1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-plus1/3.0.0+20190616/google_plus1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-plus1/3.1.0+20190616/google_plus1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -96,7 +96,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Plus::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Plus::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -127,17 +127,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-plus1/3.0.0+20190616/google_plus1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-plus1/3.1.0+20190616/google_plus1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-plus1/3.0.0+20190616/google_plus1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-plus1/3.1.0+20190616/google_plus1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-plus1/3.0.0+20190616/google_plus1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-plus1/3.1.0+20190616/google_plus1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-plus1/3.0.0+20190616/google_plus1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-plus1/3.1.0+20190616/google_plus1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -147,29 +147,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-plus1/3.0.0+20190616/google_plus1/client::Delegate) to the -[Method Builder](https://docs.rs/google-plus1/3.0.0+20190616/google_plus1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-plus1/3.1.0+20190616/google_plus1/client::Delegate) to the +[Method Builder](https://docs.rs/google-plus1/3.1.0+20190616/google_plus1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-plus1/3.0.0+20190616/google_plus1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-plus1/3.1.0+20190616/google_plus1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-plus1/3.0.0+20190616/google_plus1/client::RequestValue) and -[decodable](https://docs.rs/google-plus1/3.0.0+20190616/google_plus1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-plus1/3.1.0+20190616/google_plus1/client::RequestValue) and +[decodable](https://docs.rs/google-plus1/3.1.0+20190616/google_plus1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-plus1/3.0.0+20190616/google_plus1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-plus1/3.1.0+20190616/google_plus1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-plus1/3.0.0+20190616/google_plus1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-plus1/3.1.0+20190616/google_plus1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-plus1/3.0.0+20190616/google_plus1/client::RequestValue) are moved +* [request values](https://docs.rs/google-plus1/3.1.0+20190616/google_plus1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/plus1/src/api.rs b/gen/plus1/src/api.rs index 6a5b1bcc6e..622714a3fb 100644 --- a/gen/plus1/src/api.rs +++ b/gen/plus1/src/api.rs @@ -82,7 +82,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Plus::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Plus::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -128,7 +128,7 @@ impl<'a, > Plus<> { Plus { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/plus/v1/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -145,7 +145,7 @@ impl<'a, > Plus<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1389,7 +1389,7 @@ impl client::Part for PlacePosition {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Plus::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Plus::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)` and `search(...)` /// // to build up your call. @@ -1489,7 +1489,7 @@ impl<'a> ActivityMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Plus::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Plus::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -1567,7 +1567,7 @@ impl<'a> CommentMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Plus::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Plus::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)`, `list_by_activity(...)` and `search(...)` /// // to build up your call. @@ -1695,7 +1695,7 @@ impl<'a> PeopleMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Plus::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Plus::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1943,7 +1943,7 @@ impl<'a> ActivityGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Plus::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Plus::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2227,7 +2227,7 @@ impl<'a> ActivityListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Plus::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Plus::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2502,7 +2502,7 @@ impl<'a> ActivitySearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Plus::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Plus::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2750,7 +2750,7 @@ impl<'a> CommentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Plus::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Plus::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3034,7 +3034,7 @@ impl<'a> CommentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Plus::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Plus::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3282,7 +3282,7 @@ impl<'a> PeopleGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Plus::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Plus::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3578,7 +3578,7 @@ impl<'a> PeopleListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Plus::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Plus::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3862,7 +3862,7 @@ impl<'a> PeopleListByActivityCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Plus::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Plus::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/plus1/src/lib.rs b/gen/plus1/src/lib.rs index 06aa286243..6be4b28e13 100644 --- a/gen/plus1/src/lib.rs +++ b/gen/plus1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *plus* crate version *3.0.0+20190616*, where *20190616* is the exact revision of the *plus:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *plus* crate version *3.1.0+20190616*, where *20190616* is the exact revision of the *plus:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *plus* *v1* API can be found at the //! [official documentation site](https://developers.google.com/+/api/). @@ -97,7 +97,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Plus::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Plus::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/plusdomains1-cli/Cargo.toml b/gen/plusdomains1-cli/Cargo.toml index 0b90deb0a0..8cf020c669 100644 --- a/gen/plusdomains1-cli/Cargo.toml +++ b/gen/plusdomains1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-plusdomains1-cli" -version = "3.0.0+20190616" +version = "3.1.0+20190616" authors = ["Sebastian Thiel "] description = "A complete library to interact with plusDomains (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/plusdomains1-cli" @@ -20,12 +20,12 @@ name = "plusdomains1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-plusdomains1] path = "../plusdomains1" -version = "3.0.0+20190616" +version = "3.1.0+20190616" diff --git a/gen/plusdomains1-cli/README.md b/gen/plusdomains1-cli/README.md index 8216934624..4e0443ef88 100644 --- a/gen/plusdomains1-cli/README.md +++ b/gen/plusdomains1-cli/README.md @@ -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 *plusDomains* API at revision *20190616*. The CLI is at version *3.0.0*. +This documentation was generated from the *plusDomains* API at revision *20190616*. The CLI is at version *3.1.0*. ```bash plusdomains1 [options] diff --git a/gen/plusdomains1-cli/mkdocs.yml b/gen/plusdomains1-cli/mkdocs.yml index 177aee8661..bee0fa8f09 100644 --- a/gen/plusdomains1-cli/mkdocs.yml +++ b/gen/plusdomains1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: plusDomains v3.0.0+20190616 +site_name: plusDomains v3.1.0+20190616 site_url: http://byron.github.io/google-apis-rs/google-plusdomains1-cli site_description: A complete library to interact with plusDomains (protocol v1) diff --git a/gen/plusdomains1-cli/src/main.rs b/gen/plusdomains1-cli/src/main.rs index 10a09341d2..14c0ad24d7 100644 --- a/gen/plusdomains1-cli/src/main.rs +++ b/gen/plusdomains1-cli/src/main.rs @@ -782,7 +782,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/plusdomains1", 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::PlusDomains::new(client, auth), @@ -1093,7 +1099,7 @@ async fn main() { let mut app = App::new("plusdomains1") .author("Sebastian Thiel ") - .version("3.0.0+20190616") + .version("3.1.0+20190616") .about("Builds on top of the Google+ platform for Google Apps Domains.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_plusdomains1_cli") .arg(Arg::with_name("url") diff --git a/gen/plusdomains1/Cargo.toml b/gen/plusdomains1/Cargo.toml index 01f4a694c6..de10efd389 100644 --- a/gen/plusdomains1/Cargo.toml +++ b/gen/plusdomains1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-plusdomains1" -version = "3.0.0+20190616" +version = "3.1.0+20190616" authors = ["Sebastian Thiel "] description = "A complete library to interact with plusDomains (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/plusdomains1" homepage = "https://developers.google.com/+/domains/" -documentation = "https://docs.rs/google-plusdomains1/3.0.0+20190616" +documentation = "https://docs.rs/google-plusdomains1/3.1.0+20190616" license = "MIT" keywords = ["plusDomains", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/plusdomains1/README.md b/gen/plusdomains1/README.md index e0e9a7f3d8..721c8b6705 100644 --- a/gen/plusdomains1/README.md +++ b/gen/plusdomains1/README.md @@ -5,31 +5,31 @@ DO NOT EDIT ! --> The `google-plusdomains1` library allows access to all features of the *Google plusDomains* service. -This documentation was generated from *plusDomains* crate version *3.0.0+20190616*, where *20190616* is the exact revision of the *plusDomains:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *plusDomains* crate version *3.1.0+20190616*, where *20190616* is the exact revision of the *plusDomains:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *plusDomains* *v1* API can be found at the [official documentation site](https://developers.google.com/+/domains/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-plusdomains1/3.0.0+20190616/google_plusdomains1/PlusDomains) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-plusdomains1/3.1.0+20190616/google_plusdomains1/PlusDomains) ... -* [activities](https://docs.rs/google-plusdomains1/3.0.0+20190616/google_plusdomains1/api::Activity) - * [*get*](https://docs.rs/google-plusdomains1/3.0.0+20190616/google_plusdomains1/api::ActivityGetCall) and [*list*](https://docs.rs/google-plusdomains1/3.0.0+20190616/google_plusdomains1/api::ActivityListCall) -* [audiences](https://docs.rs/google-plusdomains1/3.0.0+20190616/google_plusdomains1/api::Audience) - * [*list*](https://docs.rs/google-plusdomains1/3.0.0+20190616/google_plusdomains1/api::AudienceListCall) -* [circles](https://docs.rs/google-plusdomains1/3.0.0+20190616/google_plusdomains1/api::Circle) - * [*list*](https://docs.rs/google-plusdomains1/3.0.0+20190616/google_plusdomains1/api::CircleListCall) -* [comments](https://docs.rs/google-plusdomains1/3.0.0+20190616/google_plusdomains1/api::Comment) - * [*get*](https://docs.rs/google-plusdomains1/3.0.0+20190616/google_plusdomains1/api::CommentGetCall) and [*list*](https://docs.rs/google-plusdomains1/3.0.0+20190616/google_plusdomains1/api::CommentListCall) -* [media](https://docs.rs/google-plusdomains1/3.0.0+20190616/google_plusdomains1/api::Media) - * [*insert*](https://docs.rs/google-plusdomains1/3.0.0+20190616/google_plusdomains1/api::MediaInsertCall) +* [activities](https://docs.rs/google-plusdomains1/3.1.0+20190616/google_plusdomains1/api::Activity) + * [*get*](https://docs.rs/google-plusdomains1/3.1.0+20190616/google_plusdomains1/api::ActivityGetCall) and [*list*](https://docs.rs/google-plusdomains1/3.1.0+20190616/google_plusdomains1/api::ActivityListCall) +* [audiences](https://docs.rs/google-plusdomains1/3.1.0+20190616/google_plusdomains1/api::Audience) + * [*list*](https://docs.rs/google-plusdomains1/3.1.0+20190616/google_plusdomains1/api::AudienceListCall) +* [circles](https://docs.rs/google-plusdomains1/3.1.0+20190616/google_plusdomains1/api::Circle) + * [*list*](https://docs.rs/google-plusdomains1/3.1.0+20190616/google_plusdomains1/api::CircleListCall) +* [comments](https://docs.rs/google-plusdomains1/3.1.0+20190616/google_plusdomains1/api::Comment) + * [*get*](https://docs.rs/google-plusdomains1/3.1.0+20190616/google_plusdomains1/api::CommentGetCall) and [*list*](https://docs.rs/google-plusdomains1/3.1.0+20190616/google_plusdomains1/api::CommentListCall) +* [media](https://docs.rs/google-plusdomains1/3.1.0+20190616/google_plusdomains1/api::Media) + * [*insert*](https://docs.rs/google-plusdomains1/3.1.0+20190616/google_plusdomains1/api::MediaInsertCall) * people - * [*get*](https://docs.rs/google-plusdomains1/3.0.0+20190616/google_plusdomains1/api::PeopleGetCall), [*list*](https://docs.rs/google-plusdomains1/3.0.0+20190616/google_plusdomains1/api::PeopleListCall) and [*list by activity*](https://docs.rs/google-plusdomains1/3.0.0+20190616/google_plusdomains1/api::PeopleListByActivityCall) + * [*get*](https://docs.rs/google-plusdomains1/3.1.0+20190616/google_plusdomains1/api::PeopleGetCall), [*list*](https://docs.rs/google-plusdomains1/3.1.0+20190616/google_plusdomains1/api::PeopleListCall) and [*list by activity*](https://docs.rs/google-plusdomains1/3.1.0+20190616/google_plusdomains1/api::PeopleListByActivityCall) Upload supported by ... -* [*insert media*](https://docs.rs/google-plusdomains1/3.0.0+20190616/google_plusdomains1/api::MediaInsertCall) +* [*insert media*](https://docs.rs/google-plusdomains1/3.1.0+20190616/google_plusdomains1/api::MediaInsertCall) @@ -37,17 +37,17 @@ Upload supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-plusdomains1/3.0.0+20190616/google_plusdomains1/PlusDomains)** +* **[Hub](https://docs.rs/google-plusdomains1/3.1.0+20190616/google_plusdomains1/PlusDomains)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-plusdomains1/3.0.0+20190616/google_plusdomains1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-plusdomains1/3.0.0+20190616/google_plusdomains1/client::CallBuilder) -* **[Resources](https://docs.rs/google-plusdomains1/3.0.0+20190616/google_plusdomains1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-plusdomains1/3.1.0+20190616/google_plusdomains1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-plusdomains1/3.1.0+20190616/google_plusdomains1/client::CallBuilder) +* **[Resources](https://docs.rs/google-plusdomains1/3.1.0+20190616/google_plusdomains1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-plusdomains1/3.0.0+20190616/google_plusdomains1/client::Part)** + * **[Parts](https://docs.rs/google-plusdomains1/3.1.0+20190616/google_plusdomains1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-plusdomains1/3.0.0+20190616/google_plusdomains1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-plusdomains1/3.1.0+20190616/google_plusdomains1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -105,7 +105,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = PlusDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = PlusDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-plusdomains1/3.0.0+20190616/google_plusdomains1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-plusdomains1/3.1.0+20190616/google_plusdomains1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-plusdomains1/3.0.0+20190616/google_plusdomains1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-plusdomains1/3.1.0+20190616/google_plusdomains1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-plusdomains1/3.0.0+20190616/google_plusdomains1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-plusdomains1/3.1.0+20190616/google_plusdomains1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-plusdomains1/3.0.0+20190616/google_plusdomains1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-plusdomains1/3.1.0+20190616/google_plusdomains1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -156,29 +156,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-plusdomains1/3.0.0+20190616/google_plusdomains1/client::Delegate) to the -[Method Builder](https://docs.rs/google-plusdomains1/3.0.0+20190616/google_plusdomains1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-plusdomains1/3.1.0+20190616/google_plusdomains1/client::Delegate) to the +[Method Builder](https://docs.rs/google-plusdomains1/3.1.0+20190616/google_plusdomains1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-plusdomains1/3.0.0+20190616/google_plusdomains1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-plusdomains1/3.1.0+20190616/google_plusdomains1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-plusdomains1/3.0.0+20190616/google_plusdomains1/client::RequestValue) and -[decodable](https://docs.rs/google-plusdomains1/3.0.0+20190616/google_plusdomains1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-plusdomains1/3.1.0+20190616/google_plusdomains1/client::RequestValue) and +[decodable](https://docs.rs/google-plusdomains1/3.1.0+20190616/google_plusdomains1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-plusdomains1/3.0.0+20190616/google_plusdomains1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-plusdomains1/3.1.0+20190616/google_plusdomains1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-plusdomains1/3.0.0+20190616/google_plusdomains1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-plusdomains1/3.1.0+20190616/google_plusdomains1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-plusdomains1/3.0.0+20190616/google_plusdomains1/client::RequestValue) are moved +* [request values](https://docs.rs/google-plusdomains1/3.1.0+20190616/google_plusdomains1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/plusdomains1/src/api.rs b/gen/plusdomains1/src/api.rs index 8b366112a9..c959f9c9ae 100644 --- a/gen/plusdomains1/src/api.rs +++ b/gen/plusdomains1/src/api.rs @@ -98,7 +98,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = PlusDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = PlusDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -144,7 +144,7 @@ impl<'a, > PlusDomains<> { PlusDomains { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/plusDomains/v1/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -170,7 +170,7 @@ impl<'a, > PlusDomains<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1711,7 +1711,7 @@ impl client::Part for PlacePosition {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = PlusDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = PlusDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -1790,7 +1790,7 @@ impl<'a> ActivityMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = PlusDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = PlusDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -1850,7 +1850,7 @@ impl<'a> AudienceMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = PlusDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = PlusDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -1910,7 +1910,7 @@ impl<'a> CircleMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = PlusDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = PlusDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -1988,7 +1988,7 @@ impl<'a> CommentMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = PlusDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = PlusDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `insert(...)` /// // to build up your call. @@ -2050,7 +2050,7 @@ impl<'a> MediaMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = PlusDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = PlusDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `list(...)` and `list_by_activity(...)` /// // to build up your call. @@ -2158,7 +2158,7 @@ impl<'a> PeopleMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PlusDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PlusDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2406,7 +2406,7 @@ impl<'a> ActivityGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PlusDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PlusDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2690,7 +2690,7 @@ impl<'a> ActivityListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PlusDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PlusDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2962,7 +2962,7 @@ impl<'a> AudienceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PlusDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PlusDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3234,7 +3234,7 @@ impl<'a> CircleListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PlusDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PlusDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3482,7 +3482,7 @@ impl<'a> CommentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PlusDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PlusDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3768,7 +3768,7 @@ impl<'a> CommentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PlusDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PlusDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4165,7 +4165,7 @@ impl<'a> MediaInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PlusDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PlusDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4413,7 +4413,7 @@ impl<'a> PeopleGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PlusDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PlusDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4709,7 +4709,7 @@ impl<'a> PeopleListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PlusDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PlusDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/plusdomains1/src/lib.rs b/gen/plusdomains1/src/lib.rs index 4d8c16073b..9001719492 100644 --- a/gen/plusdomains1/src/lib.rs +++ b/gen/plusdomains1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *plusDomains* crate version *3.0.0+20190616*, where *20190616* is the exact revision of the *plusDomains:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *plusDomains* crate version *3.1.0+20190616*, where *20190616* is the exact revision of the *plusDomains:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *plusDomains* *v1* API can be found at the //! [official documentation site](https://developers.google.com/+/domains/). @@ -106,7 +106,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = PlusDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = PlusDomains::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/policyanalyzer1-cli/Cargo.toml b/gen/policyanalyzer1-cli/Cargo.toml index 1d3aa38e92..f9e1b6370f 100644 --- a/gen/policyanalyzer1-cli/Cargo.toml +++ b/gen/policyanalyzer1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-policyanalyzer1-cli" -version = "3.0.0+20220227" +version = "3.1.0+20220227" authors = ["Sebastian Thiel "] description = "A complete library to interact with Policy Analyzer (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/policyanalyzer1-cli" @@ -20,12 +20,12 @@ name = "policyanalyzer1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-policyanalyzer1] path = "../policyanalyzer1" -version = "3.0.0+20220227" +version = "3.1.0+20220227" diff --git a/gen/policyanalyzer1-cli/README.md b/gen/policyanalyzer1-cli/README.md index 6e03f05945..e477fd36ac 100644 --- a/gen/policyanalyzer1-cli/README.md +++ b/gen/policyanalyzer1-cli/README.md @@ -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 *Policy Analyzer* API at revision *20220227*. The CLI is at version *3.0.0*. +This documentation was generated from the *Policy Analyzer* API at revision *20220227*. The CLI is at version *3.1.0*. ```bash policyanalyzer1 [options] diff --git a/gen/policyanalyzer1-cli/mkdocs.yml b/gen/policyanalyzer1-cli/mkdocs.yml index 864351b582..e864a37b36 100644 --- a/gen/policyanalyzer1-cli/mkdocs.yml +++ b/gen/policyanalyzer1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Policy Analyzer v3.0.0+20220227 +site_name: Policy Analyzer v3.1.0+20220227 site_url: http://byron.github.io/google-apis-rs/google-policyanalyzer1-cli site_description: A complete library to interact with Policy Analyzer (protocol v1) diff --git a/gen/policyanalyzer1-cli/src/main.rs b/gen/policyanalyzer1-cli/src/main.rs index 37d076fc8f..a7122997bb 100644 --- a/gen/policyanalyzer1-cli/src/main.rs +++ b/gen/policyanalyzer1-cli/src/main.rs @@ -154,7 +154,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/policyanalyzer1", 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::PolicyAnalyzer::new(client, auth), @@ -218,7 +224,7 @@ async fn main() { let mut app = App::new("policyanalyzer1") .author("Sebastian Thiel ") - .version("3.0.0+20220227") + .version("3.1.0+20220227") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_policyanalyzer1_cli") .arg(Arg::with_name("url") diff --git a/gen/policyanalyzer1/Cargo.toml b/gen/policyanalyzer1/Cargo.toml index ea3ac53d5e..6138651690 100644 --- a/gen/policyanalyzer1/Cargo.toml +++ b/gen/policyanalyzer1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-policyanalyzer1" -version = "3.0.0+20220227" +version = "3.1.0+20220227" authors = ["Sebastian Thiel "] description = "A complete library to interact with Policy Analyzer (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/policyanalyzer1" homepage = "https://www.google.com" -documentation = "https://docs.rs/google-policyanalyzer1/3.0.0+20220227" +documentation = "https://docs.rs/google-policyanalyzer1/3.1.0+20220227" license = "MIT" keywords = ["policyanalyzer", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/policyanalyzer1/README.md b/gen/policyanalyzer1/README.md index 2003a9162f..9467eb6e93 100644 --- a/gen/policyanalyzer1/README.md +++ b/gen/policyanalyzer1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-policyanalyzer1` library allows access to all features of the *Google Policy Analyzer* service. -This documentation was generated from *Policy Analyzer* crate version *3.0.0+20220227*, where *20220227* is the exact revision of the *policyanalyzer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Policy Analyzer* crate version *3.1.0+20220227*, where *20220227* is the exact revision of the *policyanalyzer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Policy Analyzer* *v1* API can be found at the [official documentation site](https://www.google.com). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-policyanalyzer1/3.0.0+20220227/google_policyanalyzer1/PolicyAnalyzer) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-policyanalyzer1/3.1.0+20220227/google_policyanalyzer1/PolicyAnalyzer) ... * projects - * [*locations activity types activities query*](https://docs.rs/google-policyanalyzer1/3.0.0+20220227/google_policyanalyzer1/api::ProjectLocationActivityTypeActivityQueryCall) + * [*locations activity types activities query*](https://docs.rs/google-policyanalyzer1/3.1.0+20220227/google_policyanalyzer1/api::ProjectLocationActivityTypeActivityQueryCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-policyanalyzer1/3.0.0+20220227/google_policyanalyzer1/PolicyAnalyzer)** +* **[Hub](https://docs.rs/google-policyanalyzer1/3.1.0+20220227/google_policyanalyzer1/PolicyAnalyzer)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-policyanalyzer1/3.0.0+20220227/google_policyanalyzer1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-policyanalyzer1/3.0.0+20220227/google_policyanalyzer1/client::CallBuilder) -* **[Resources](https://docs.rs/google-policyanalyzer1/3.0.0+20220227/google_policyanalyzer1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-policyanalyzer1/3.1.0+20220227/google_policyanalyzer1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-policyanalyzer1/3.1.0+20220227/google_policyanalyzer1/client::CallBuilder) +* **[Resources](https://docs.rs/google-policyanalyzer1/3.1.0+20220227/google_policyanalyzer1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-policyanalyzer1/3.0.0+20220227/google_policyanalyzer1/client::Part)** + * **[Parts](https://docs.rs/google-policyanalyzer1/3.1.0+20220227/google_policyanalyzer1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-policyanalyzer1/3.0.0+20220227/google_policyanalyzer1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-policyanalyzer1/3.1.0+20220227/google_policyanalyzer1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -90,7 +90,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = PolicyAnalyzer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = PolicyAnalyzer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -121,17 +121,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-policyanalyzer1/3.0.0+20220227/google_policyanalyzer1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-policyanalyzer1/3.1.0+20220227/google_policyanalyzer1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-policyanalyzer1/3.0.0+20220227/google_policyanalyzer1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-policyanalyzer1/3.1.0+20220227/google_policyanalyzer1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-policyanalyzer1/3.0.0+20220227/google_policyanalyzer1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-policyanalyzer1/3.1.0+20220227/google_policyanalyzer1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-policyanalyzer1/3.0.0+20220227/google_policyanalyzer1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-policyanalyzer1/3.1.0+20220227/google_policyanalyzer1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -141,29 +141,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-policyanalyzer1/3.0.0+20220227/google_policyanalyzer1/client::Delegate) to the -[Method Builder](https://docs.rs/google-policyanalyzer1/3.0.0+20220227/google_policyanalyzer1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-policyanalyzer1/3.1.0+20220227/google_policyanalyzer1/client::Delegate) to the +[Method Builder](https://docs.rs/google-policyanalyzer1/3.1.0+20220227/google_policyanalyzer1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-policyanalyzer1/3.0.0+20220227/google_policyanalyzer1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-policyanalyzer1/3.1.0+20220227/google_policyanalyzer1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-policyanalyzer1/3.0.0+20220227/google_policyanalyzer1/client::RequestValue) and -[decodable](https://docs.rs/google-policyanalyzer1/3.0.0+20220227/google_policyanalyzer1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-policyanalyzer1/3.1.0+20220227/google_policyanalyzer1/client::RequestValue) and +[decodable](https://docs.rs/google-policyanalyzer1/3.1.0+20220227/google_policyanalyzer1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-policyanalyzer1/3.0.0+20220227/google_policyanalyzer1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-policyanalyzer1/3.1.0+20220227/google_policyanalyzer1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-policyanalyzer1/3.0.0+20220227/google_policyanalyzer1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-policyanalyzer1/3.1.0+20220227/google_policyanalyzer1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-policyanalyzer1/3.0.0+20220227/google_policyanalyzer1/client::RequestValue) are moved +* [request values](https://docs.rs/google-policyanalyzer1/3.1.0+20220227/google_policyanalyzer1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/policyanalyzer1/src/api.rs b/gen/policyanalyzer1/src/api.rs index e85b609926..5ee2f0c12d 100644 --- a/gen/policyanalyzer1/src/api.rs +++ b/gen/policyanalyzer1/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = PolicyAnalyzer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = PolicyAnalyzer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -116,7 +116,7 @@ impl<'a, > PolicyAnalyzer<> { PolicyAnalyzer { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://policyanalyzer.googleapis.com/".to_string(), _root_url: "https://policyanalyzer.googleapis.com/".to_string(), } @@ -127,7 +127,7 @@ impl<'a, > PolicyAnalyzer<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -241,7 +241,7 @@ impl client::ResponseResult for GoogleCloudPolicyanalyzerV1QueryActivityResponse /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = PolicyAnalyzer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = PolicyAnalyzer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_activity_types_activities_query(...)` /// // to build up your call. @@ -309,7 +309,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PolicyAnalyzer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PolicyAnalyzer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/policyanalyzer1/src/lib.rs b/gen/policyanalyzer1/src/lib.rs index ba16024362..92feb5034c 100644 --- a/gen/policyanalyzer1/src/lib.rs +++ b/gen/policyanalyzer1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Policy Analyzer* crate version *3.0.0+20220227*, where *20220227* is the exact revision of the *policyanalyzer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Policy Analyzer* crate version *3.1.0+20220227*, where *20220227* is the exact revision of the *policyanalyzer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Policy Analyzer* *v1* API can be found at the //! [official documentation site](https://www.google.com). @@ -91,7 +91,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = PolicyAnalyzer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = PolicyAnalyzer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/policysimulator1-cli/Cargo.toml b/gen/policysimulator1-cli/Cargo.toml index 1b6a063d71..3b48aa2c78 100644 --- a/gen/policysimulator1-cli/Cargo.toml +++ b/gen/policysimulator1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-policysimulator1-cli" -version = "3.0.0+20220227" +version = "3.1.0+20220227" authors = ["Sebastian Thiel "] description = "A complete library to interact with Policy Simulator (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/policysimulator1-cli" @@ -20,12 +20,12 @@ name = "policysimulator1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-policysimulator1] path = "../policysimulator1" -version = "3.0.0+20220227" +version = "3.1.0+20220227" diff --git a/gen/policysimulator1-cli/README.md b/gen/policysimulator1-cli/README.md index 61fe1d2a19..93884a3904 100644 --- a/gen/policysimulator1-cli/README.md +++ b/gen/policysimulator1-cli/README.md @@ -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 *Policy Simulator* API at revision *20220227*. The CLI is at version *3.0.0*. +This documentation was generated from the *Policy Simulator* API at revision *20220227*. The CLI is at version *3.1.0*. ```bash policysimulator1 [options] diff --git a/gen/policysimulator1-cli/mkdocs.yml b/gen/policysimulator1-cli/mkdocs.yml index 4dde06e5f1..37daf094fa 100644 --- a/gen/policysimulator1-cli/mkdocs.yml +++ b/gen/policysimulator1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Policy Simulator v3.0.0+20220227 +site_name: Policy Simulator v3.1.0+20220227 site_url: http://byron.github.io/google-apis-rs/google-policysimulator1-cli site_description: A complete library to interact with Policy Simulator (protocol v1) diff --git a/gen/policysimulator1-cli/src/main.rs b/gen/policysimulator1-cli/src/main.rs index 94d67e061b..bff02e45d9 100644 --- a/gen/policysimulator1-cli/src/main.rs +++ b/gen/policysimulator1-cli/src/main.rs @@ -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 ") - .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") diff --git a/gen/policysimulator1/Cargo.toml b/gen/policysimulator1/Cargo.toml index f9e8ef45c7..e23663e8aa 100644 --- a/gen/policysimulator1/Cargo.toml +++ b/gen/policysimulator1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-policysimulator1" -version = "3.0.0+20220227" +version = "3.1.0+20220227" authors = ["Sebastian Thiel "] description = "A complete library to interact with Policy Simulator (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/policysimulator1" homepage = "https://cloud.google.com/iam/docs/simulating-access" -documentation = "https://docs.rs/google-policysimulator1/3.0.0+20220227" +documentation = "https://docs.rs/google-policysimulator1/3.1.0+20220227" license = "MIT" keywords = ["policysimulator", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/policysimulator1/README.md b/gen/policysimulator1/README.md index 17ae6e2843..5a1f6d08df 100644 --- a/gen/policysimulator1/README.md +++ b/gen/policysimulator1/README.md @@ -5,22 +5,22 @@ DO NOT EDIT ! --> The `google-policysimulator1` library allows access to all features of the *Google Policy Simulator* service. -This documentation was generated from *Policy Simulator* crate version *3.0.0+20220227*, where *20220227* is the exact revision of the *policysimulator:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Policy Simulator* crate version *3.1.0+20220227*, where *20220227* is the exact revision of the *policysimulator:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Policy Simulator* *v1* API can be found at the [official documentation site](https://cloud.google.com/iam/docs/simulating-access). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-policysimulator1/3.0.0+20220227/google_policysimulator1/PolicySimulator) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-policysimulator1/3.1.0+20220227/google_policysimulator1/PolicySimulator) ... * folders - * [*locations replays create*](https://docs.rs/google-policysimulator1/3.0.0+20220227/google_policysimulator1/api::FolderLocationReplayCreateCall), [*locations replays get*](https://docs.rs/google-policysimulator1/3.0.0+20220227/google_policysimulator1/api::FolderLocationReplayGetCall) and [*locations replays results list*](https://docs.rs/google-policysimulator1/3.0.0+20220227/google_policysimulator1/api::FolderLocationReplayResultListCall) + * [*locations replays create*](https://docs.rs/google-policysimulator1/3.1.0+20220227/google_policysimulator1/api::FolderLocationReplayCreateCall), [*locations replays get*](https://docs.rs/google-policysimulator1/3.1.0+20220227/google_policysimulator1/api::FolderLocationReplayGetCall) and [*locations replays results list*](https://docs.rs/google-policysimulator1/3.1.0+20220227/google_policysimulator1/api::FolderLocationReplayResultListCall) * operations - * [*get*](https://docs.rs/google-policysimulator1/3.0.0+20220227/google_policysimulator1/api::OperationGetCall) and [*list*](https://docs.rs/google-policysimulator1/3.0.0+20220227/google_policysimulator1/api::OperationListCall) + * [*get*](https://docs.rs/google-policysimulator1/3.1.0+20220227/google_policysimulator1/api::OperationGetCall) and [*list*](https://docs.rs/google-policysimulator1/3.1.0+20220227/google_policysimulator1/api::OperationListCall) * organizations - * [*locations replays create*](https://docs.rs/google-policysimulator1/3.0.0+20220227/google_policysimulator1/api::OrganizationLocationReplayCreateCall), [*locations replays get*](https://docs.rs/google-policysimulator1/3.0.0+20220227/google_policysimulator1/api::OrganizationLocationReplayGetCall) and [*locations replays results list*](https://docs.rs/google-policysimulator1/3.0.0+20220227/google_policysimulator1/api::OrganizationLocationReplayResultListCall) + * [*locations replays create*](https://docs.rs/google-policysimulator1/3.1.0+20220227/google_policysimulator1/api::OrganizationLocationReplayCreateCall), [*locations replays get*](https://docs.rs/google-policysimulator1/3.1.0+20220227/google_policysimulator1/api::OrganizationLocationReplayGetCall) and [*locations replays results list*](https://docs.rs/google-policysimulator1/3.1.0+20220227/google_policysimulator1/api::OrganizationLocationReplayResultListCall) * projects - * [*locations replays create*](https://docs.rs/google-policysimulator1/3.0.0+20220227/google_policysimulator1/api::ProjectLocationReplayCreateCall), [*locations replays get*](https://docs.rs/google-policysimulator1/3.0.0+20220227/google_policysimulator1/api::ProjectLocationReplayGetCall) and [*locations replays results list*](https://docs.rs/google-policysimulator1/3.0.0+20220227/google_policysimulator1/api::ProjectLocationReplayResultListCall) + * [*locations replays create*](https://docs.rs/google-policysimulator1/3.1.0+20220227/google_policysimulator1/api::ProjectLocationReplayCreateCall), [*locations replays get*](https://docs.rs/google-policysimulator1/3.1.0+20220227/google_policysimulator1/api::ProjectLocationReplayGetCall) and [*locations replays results list*](https://docs.rs/google-policysimulator1/3.1.0+20220227/google_policysimulator1/api::ProjectLocationReplayResultListCall) @@ -29,17 +29,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-policysimulator1/3.0.0+20220227/google_policysimulator1/PolicySimulator)** +* **[Hub](https://docs.rs/google-policysimulator1/3.1.0+20220227/google_policysimulator1/PolicySimulator)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-policysimulator1/3.0.0+20220227/google_policysimulator1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-policysimulator1/3.0.0+20220227/google_policysimulator1/client::CallBuilder) -* **[Resources](https://docs.rs/google-policysimulator1/3.0.0+20220227/google_policysimulator1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-policysimulator1/3.1.0+20220227/google_policysimulator1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-policysimulator1/3.1.0+20220227/google_policysimulator1/client::CallBuilder) +* **[Resources](https://docs.rs/google-policysimulator1/3.1.0+20220227/google_policysimulator1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-policysimulator1/3.0.0+20220227/google_policysimulator1/client::Part)** + * **[Parts](https://docs.rs/google-policysimulator1/3.1.0+20220227/google_policysimulator1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-policysimulator1/3.0.0+20220227/google_policysimulator1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-policysimulator1/3.1.0+20220227/google_policysimulator1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -102,7 +102,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = PolicySimulator::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = PolicySimulator::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -135,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-policysimulator1/3.0.0+20220227/google_policysimulator1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-policysimulator1/3.1.0+20220227/google_policysimulator1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-policysimulator1/3.0.0+20220227/google_policysimulator1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-policysimulator1/3.1.0+20220227/google_policysimulator1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-policysimulator1/3.0.0+20220227/google_policysimulator1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-policysimulator1/3.1.0+20220227/google_policysimulator1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-policysimulator1/3.0.0+20220227/google_policysimulator1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-policysimulator1/3.1.0+20220227/google_policysimulator1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -155,29 +155,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-policysimulator1/3.0.0+20220227/google_policysimulator1/client::Delegate) to the -[Method Builder](https://docs.rs/google-policysimulator1/3.0.0+20220227/google_policysimulator1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-policysimulator1/3.1.0+20220227/google_policysimulator1/client::Delegate) to the +[Method Builder](https://docs.rs/google-policysimulator1/3.1.0+20220227/google_policysimulator1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-policysimulator1/3.0.0+20220227/google_policysimulator1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-policysimulator1/3.1.0+20220227/google_policysimulator1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-policysimulator1/3.0.0+20220227/google_policysimulator1/client::RequestValue) and -[decodable](https://docs.rs/google-policysimulator1/3.0.0+20220227/google_policysimulator1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-policysimulator1/3.1.0+20220227/google_policysimulator1/client::RequestValue) and +[decodable](https://docs.rs/google-policysimulator1/3.1.0+20220227/google_policysimulator1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-policysimulator1/3.0.0+20220227/google_policysimulator1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-policysimulator1/3.1.0+20220227/google_policysimulator1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-policysimulator1/3.0.0+20220227/google_policysimulator1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-policysimulator1/3.1.0+20220227/google_policysimulator1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-policysimulator1/3.0.0+20220227/google_policysimulator1/client::RequestValue) are moved +* [request values](https://docs.rs/google-policysimulator1/3.1.0+20220227/google_policysimulator1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/policysimulator1/src/api.rs b/gen/policysimulator1/src/api.rs index d58fce2d82..390edbf404 100644 --- a/gen/policysimulator1/src/api.rs +++ b/gen/policysimulator1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = PolicySimulator::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = PolicySimulator::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > PolicySimulator<> { PolicySimulator { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://policysimulator.googleapis.com/".to_string(), _root_url: "https://policysimulator.googleapis.com/".to_string(), } @@ -139,7 +139,7 @@ impl<'a, > PolicySimulator<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -625,7 +625,7 @@ impl client::Part for GoogleTypeExpr {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = PolicySimulator::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = PolicySimulator::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_replays_create(...)`, `locations_replays_get(...)` and `locations_replays_results_list(...)` /// // to build up your call. @@ -721,7 +721,7 @@ impl<'a> FolderMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = PolicySimulator::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = PolicySimulator::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -795,7 +795,7 @@ impl<'a> OperationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = PolicySimulator::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = PolicySimulator::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_replays_create(...)`, `locations_replays_get(...)` and `locations_replays_results_list(...)` /// // to build up your call. @@ -891,7 +891,7 @@ impl<'a> OrganizationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = PolicySimulator::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = PolicySimulator::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_replays_create(...)`, `locations_replays_get(...)` and `locations_replays_results_list(...)` /// // to build up your call. @@ -994,7 +994,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PolicySimulator::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PolicySimulator::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1275,7 +1275,7 @@ impl<'a> FolderLocationReplayResultListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PolicySimulator::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PolicySimulator::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1560,7 +1560,7 @@ impl<'a> FolderLocationReplayCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PolicySimulator::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PolicySimulator::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1816,7 +1816,7 @@ impl<'a> FolderLocationReplayGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PolicySimulator::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PolicySimulator::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2072,7 +2072,7 @@ impl<'a> OperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PolicySimulator::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PolicySimulator::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2339,7 +2339,7 @@ impl<'a> OperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PolicySimulator::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PolicySimulator::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2620,7 +2620,7 @@ impl<'a> OrganizationLocationReplayResultListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PolicySimulator::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PolicySimulator::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2905,7 +2905,7 @@ impl<'a> OrganizationLocationReplayCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PolicySimulator::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PolicySimulator::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3161,7 +3161,7 @@ impl<'a> OrganizationLocationReplayGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PolicySimulator::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PolicySimulator::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3442,7 +3442,7 @@ impl<'a> ProjectLocationReplayResultListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PolicySimulator::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PolicySimulator::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3727,7 +3727,7 @@ impl<'a> ProjectLocationReplayCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PolicySimulator::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PolicySimulator::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/policysimulator1/src/lib.rs b/gen/policysimulator1/src/lib.rs index cf4510a70c..47f513c660 100644 --- a/gen/policysimulator1/src/lib.rs +++ b/gen/policysimulator1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Policy Simulator* crate version *3.0.0+20220227*, where *20220227* is the exact revision of the *policysimulator:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Policy Simulator* crate version *3.1.0+20220227*, where *20220227* is the exact revision of the *policysimulator:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Policy Simulator* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/iam/docs/simulating-access). @@ -103,7 +103,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = PolicySimulator::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = PolicySimulator::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/policytroubleshooter1-cli/Cargo.toml b/gen/policytroubleshooter1-cli/Cargo.toml index c84379ec49..2e73ae077a 100644 --- a/gen/policytroubleshooter1-cli/Cargo.toml +++ b/gen/policytroubleshooter1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-policytroubleshooter1-cli" -version = "3.0.0+20220227" +version = "3.1.0+20220227" authors = ["Sebastian Thiel "] description = "A complete library to interact with Policy Troubleshooter (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/policytroubleshooter1-cli" @@ -20,12 +20,12 @@ name = "policytroubleshooter1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-policytroubleshooter1] path = "../policytroubleshooter1" -version = "3.0.0+20220227" +version = "3.1.0+20220227" diff --git a/gen/policytroubleshooter1-cli/README.md b/gen/policytroubleshooter1-cli/README.md index f583627bed..5c9e6885ee 100644 --- a/gen/policytroubleshooter1-cli/README.md +++ b/gen/policytroubleshooter1-cli/README.md @@ -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 *Policy Troubleshooter* API at revision *20220227*. The CLI is at version *3.0.0*. +This documentation was generated from the *Policy Troubleshooter* API at revision *20220227*. The CLI is at version *3.1.0*. ```bash policytroubleshooter1 [options] diff --git a/gen/policytroubleshooter1-cli/mkdocs.yml b/gen/policytroubleshooter1-cli/mkdocs.yml index 4e42c9e4f4..d967cdee24 100644 --- a/gen/policytroubleshooter1-cli/mkdocs.yml +++ b/gen/policytroubleshooter1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Policy Troubleshooter v3.0.0+20220227 +site_name: Policy Troubleshooter v3.1.0+20220227 site_url: http://byron.github.io/google-apis-rs/google-policytroubleshooter1-cli site_description: A complete library to interact with Policy Troubleshooter (protocol v1) diff --git a/gen/policytroubleshooter1-cli/src/main.rs b/gen/policytroubleshooter1-cli/src/main.rs index 6b9f19dab2..88f000038a 100644 --- a/gen/policytroubleshooter1-cli/src/main.rs +++ b/gen/policytroubleshooter1-cli/src/main.rs @@ -179,7 +179,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/policytroubleshooter1", 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::PolicyTroubleshooter::new(client, auth), @@ -243,7 +249,7 @@ async fn main() { let mut app = App::new("policytroubleshooter1") .author("Sebastian Thiel ") - .version("3.0.0+20220227") + .version("3.1.0+20220227") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_policytroubleshooter1_cli") .arg(Arg::with_name("url") diff --git a/gen/policytroubleshooter1/Cargo.toml b/gen/policytroubleshooter1/Cargo.toml index 693cb8f5af..456f9ad488 100644 --- a/gen/policytroubleshooter1/Cargo.toml +++ b/gen/policytroubleshooter1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-policytroubleshooter1" -version = "3.0.0+20220227" +version = "3.1.0+20220227" authors = ["Sebastian Thiel "] description = "A complete library to interact with Policy Troubleshooter (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/policytroubleshooter1" homepage = "https://cloud.google.com/iam/" -documentation = "https://docs.rs/google-policytroubleshooter1/3.0.0+20220227" +documentation = "https://docs.rs/google-policytroubleshooter1/3.1.0+20220227" license = "MIT" keywords = ["policytroubleshooter", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/policytroubleshooter1/README.md b/gen/policytroubleshooter1/README.md index ae523aa4a0..53de8cef2e 100644 --- a/gen/policytroubleshooter1/README.md +++ b/gen/policytroubleshooter1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-policytroubleshooter1` library allows access to all features of the *Google Policy Troubleshooter* service. -This documentation was generated from *Policy Troubleshooter* crate version *3.0.0+20220227*, where *20220227* is the exact revision of the *policytroubleshooter:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Policy Troubleshooter* crate version *3.1.0+20220227*, where *20220227* is the exact revision of the *policytroubleshooter:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Policy Troubleshooter* *v1* API can be found at the [official documentation site](https://cloud.google.com/iam/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-policytroubleshooter1/3.0.0+20220227/google_policytroubleshooter1/PolicyTroubleshooter) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-policytroubleshooter1/3.1.0+20220227/google_policytroubleshooter1/PolicyTroubleshooter) ... * iam - * [*troubleshoot*](https://docs.rs/google-policytroubleshooter1/3.0.0+20220227/google_policytroubleshooter1/api::IamTroubleshootCall) + * [*troubleshoot*](https://docs.rs/google-policytroubleshooter1/3.1.0+20220227/google_policytroubleshooter1/api::IamTroubleshootCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-policytroubleshooter1/3.0.0+20220227/google_policytroubleshooter1/PolicyTroubleshooter)** +* **[Hub](https://docs.rs/google-policytroubleshooter1/3.1.0+20220227/google_policytroubleshooter1/PolicyTroubleshooter)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-policytroubleshooter1/3.0.0+20220227/google_policytroubleshooter1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-policytroubleshooter1/3.0.0+20220227/google_policytroubleshooter1/client::CallBuilder) -* **[Resources](https://docs.rs/google-policytroubleshooter1/3.0.0+20220227/google_policytroubleshooter1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-policytroubleshooter1/3.1.0+20220227/google_policytroubleshooter1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-policytroubleshooter1/3.1.0+20220227/google_policytroubleshooter1/client::CallBuilder) +* **[Resources](https://docs.rs/google-policytroubleshooter1/3.1.0+20220227/google_policytroubleshooter1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-policytroubleshooter1/3.0.0+20220227/google_policytroubleshooter1/client::Part)** + * **[Parts](https://docs.rs/google-policytroubleshooter1/3.1.0+20220227/google_policytroubleshooter1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-policytroubleshooter1/3.0.0+20220227/google_policytroubleshooter1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-policytroubleshooter1/3.1.0+20220227/google_policytroubleshooter1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -91,7 +91,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = PolicyTroubleshooter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = PolicyTroubleshooter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -124,17 +124,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-policytroubleshooter1/3.0.0+20220227/google_policytroubleshooter1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-policytroubleshooter1/3.1.0+20220227/google_policytroubleshooter1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-policytroubleshooter1/3.0.0+20220227/google_policytroubleshooter1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-policytroubleshooter1/3.1.0+20220227/google_policytroubleshooter1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-policytroubleshooter1/3.0.0+20220227/google_policytroubleshooter1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-policytroubleshooter1/3.1.0+20220227/google_policytroubleshooter1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-policytroubleshooter1/3.0.0+20220227/google_policytroubleshooter1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-policytroubleshooter1/3.1.0+20220227/google_policytroubleshooter1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -144,29 +144,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-policytroubleshooter1/3.0.0+20220227/google_policytroubleshooter1/client::Delegate) to the -[Method Builder](https://docs.rs/google-policytroubleshooter1/3.0.0+20220227/google_policytroubleshooter1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-policytroubleshooter1/3.1.0+20220227/google_policytroubleshooter1/client::Delegate) to the +[Method Builder](https://docs.rs/google-policytroubleshooter1/3.1.0+20220227/google_policytroubleshooter1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-policytroubleshooter1/3.0.0+20220227/google_policytroubleshooter1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-policytroubleshooter1/3.1.0+20220227/google_policytroubleshooter1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-policytroubleshooter1/3.0.0+20220227/google_policytroubleshooter1/client::RequestValue) and -[decodable](https://docs.rs/google-policytroubleshooter1/3.0.0+20220227/google_policytroubleshooter1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-policytroubleshooter1/3.1.0+20220227/google_policytroubleshooter1/client::RequestValue) and +[decodable](https://docs.rs/google-policytroubleshooter1/3.1.0+20220227/google_policytroubleshooter1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-policytroubleshooter1/3.0.0+20220227/google_policytroubleshooter1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-policytroubleshooter1/3.1.0+20220227/google_policytroubleshooter1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-policytroubleshooter1/3.0.0+20220227/google_policytroubleshooter1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-policytroubleshooter1/3.1.0+20220227/google_policytroubleshooter1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-policytroubleshooter1/3.0.0+20220227/google_policytroubleshooter1/client::RequestValue) are moved +* [request values](https://docs.rs/google-policytroubleshooter1/3.1.0+20220227/google_policytroubleshooter1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/policytroubleshooter1/src/api.rs b/gen/policytroubleshooter1/src/api.rs index af44656a75..dd6f951a8b 100644 --- a/gen/policytroubleshooter1/src/api.rs +++ b/gen/policytroubleshooter1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = PolicyTroubleshooter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = PolicyTroubleshooter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > PolicyTroubleshooter<> { PolicyTroubleshooter { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://policytroubleshooter.googleapis.com/".to_string(), _root_url: "https://policytroubleshooter.googleapis.com/".to_string(), } @@ -130,7 +130,7 @@ impl<'a, > PolicyTroubleshooter<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -396,7 +396,7 @@ impl client::Part for GoogleTypeExpr {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = PolicyTroubleshooter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = PolicyTroubleshooter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `troubleshoot(...)` /// // to build up your call. @@ -462,7 +462,7 @@ impl<'a> IamMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PolicyTroubleshooter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PolicyTroubleshooter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/policytroubleshooter1/src/lib.rs b/gen/policytroubleshooter1/src/lib.rs index c7b6db044a..c5b11e3c2d 100644 --- a/gen/policytroubleshooter1/src/lib.rs +++ b/gen/policytroubleshooter1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Policy Troubleshooter* crate version *3.0.0+20220227*, where *20220227* is the exact revision of the *policytroubleshooter:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Policy Troubleshooter* crate version *3.1.0+20220227*, where *20220227* is the exact revision of the *policytroubleshooter:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Policy Troubleshooter* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/iam/). @@ -92,7 +92,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = PolicyTroubleshooter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = PolicyTroubleshooter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/prediction1d6-cli/Cargo.toml b/gen/prediction1d6-cli/Cargo.toml index 67cd3f1111..e929cdb89e 100644 --- a/gen/prediction1d6-cli/Cargo.toml +++ b/gen/prediction1d6-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-prediction1d6-cli" -version = "3.0.0+20160511" +version = "3.1.0+20160511" authors = ["Sebastian Thiel "] description = "A complete library to interact with prediction (protocol v1.6)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/prediction1d6-cli" @@ -20,12 +20,12 @@ name = "prediction1d6" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-prediction1d6] path = "../prediction1d6" -version = "3.0.0+20160511" +version = "3.1.0+20160511" diff --git a/gen/prediction1d6-cli/README.md b/gen/prediction1d6-cli/README.md index a3fe26e1c8..45e068c2f8 100644 --- a/gen/prediction1d6-cli/README.md +++ b/gen/prediction1d6-cli/README.md @@ -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 *prediction* API at revision *20160511*. The CLI is at version *3.0.0*. +This documentation was generated from the *prediction* API at revision *20160511*. The CLI is at version *3.1.0*. ```bash prediction1d6 [options] diff --git a/gen/prediction1d6-cli/mkdocs.yml b/gen/prediction1d6-cli/mkdocs.yml index 4744ecbf46..a1a2e2effa 100644 --- a/gen/prediction1d6-cli/mkdocs.yml +++ b/gen/prediction1d6-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: prediction v3.0.0+20160511 +site_name: prediction v3.1.0+20160511 site_url: http://byron.github.io/google-apis-rs/google-prediction1d6-cli site_description: A complete library to interact with prediction (protocol v1.6) diff --git a/gen/prediction1d6-cli/src/main.rs b/gen/prediction1d6-cli/src/main.rs index 4fe64cf8e2..caf41536c2 100644 --- a/gen/prediction1d6-cli/src/main.rs +++ b/gen/prediction1d6-cli/src/main.rs @@ -671,7 +671,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/prediction1d6", 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::Prediction::new(client, auth), @@ -943,7 +949,7 @@ async fn main() { let mut app = App::new("prediction1d6") .author("Sebastian Thiel ") - .version("3.0.0+20160511") + .version("3.1.0+20160511") .about("Lets you access a cloud hosted machine learning service that makes it easy to build smart apps") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_prediction1d6_cli") .arg(Arg::with_name("url") diff --git a/gen/prediction1d6/Cargo.toml b/gen/prediction1d6/Cargo.toml index 4cd792b01c..1bf7aa4191 100644 --- a/gen/prediction1d6/Cargo.toml +++ b/gen/prediction1d6/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-prediction1d6" -version = "3.0.0+20160511" +version = "3.1.0+20160511" authors = ["Sebastian Thiel "] description = "A complete library to interact with prediction (protocol v1.6)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/prediction1d6" homepage = "https://developers.google.com/prediction/docs/developer-guide" -documentation = "https://docs.rs/google-prediction1d6/3.0.0+20160511" +documentation = "https://docs.rs/google-prediction1d6/3.1.0+20160511" license = "MIT" keywords = ["prediction", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/prediction1d6/README.md b/gen/prediction1d6/README.md index c81914b6eb..2ec5b51260 100644 --- a/gen/prediction1d6/README.md +++ b/gen/prediction1d6/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-prediction1d6` library allows access to all features of the *Google prediction* service. -This documentation was generated from *prediction* crate version *3.0.0+20160511*, where *20160511* is the exact revision of the *prediction:v1.6* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *prediction* crate version *3.1.0+20160511*, where *20160511* is the exact revision of the *prediction:v1.6* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *prediction* *v1d6* API can be found at the [official documentation site](https://developers.google.com/prediction/docs/developer-guide). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-prediction1d6/3.0.0+20160511/google_prediction1d6/Prediction) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-prediction1d6/3.1.0+20160511/google_prediction1d6/Prediction) ... * hostedmodels - * [*predict*](https://docs.rs/google-prediction1d6/3.0.0+20160511/google_prediction1d6/api::HostedmodelPredictCall) + * [*predict*](https://docs.rs/google-prediction1d6/3.1.0+20160511/google_prediction1d6/api::HostedmodelPredictCall) * trainedmodels - * [*analyze*](https://docs.rs/google-prediction1d6/3.0.0+20160511/google_prediction1d6/api::TrainedmodelAnalyzeCall), [*delete*](https://docs.rs/google-prediction1d6/3.0.0+20160511/google_prediction1d6/api::TrainedmodelDeleteCall), [*get*](https://docs.rs/google-prediction1d6/3.0.0+20160511/google_prediction1d6/api::TrainedmodelGetCall), [*insert*](https://docs.rs/google-prediction1d6/3.0.0+20160511/google_prediction1d6/api::TrainedmodelInsertCall), [*list*](https://docs.rs/google-prediction1d6/3.0.0+20160511/google_prediction1d6/api::TrainedmodelListCall), [*predict*](https://docs.rs/google-prediction1d6/3.0.0+20160511/google_prediction1d6/api::TrainedmodelPredictCall) and [*update*](https://docs.rs/google-prediction1d6/3.0.0+20160511/google_prediction1d6/api::TrainedmodelUpdateCall) + * [*analyze*](https://docs.rs/google-prediction1d6/3.1.0+20160511/google_prediction1d6/api::TrainedmodelAnalyzeCall), [*delete*](https://docs.rs/google-prediction1d6/3.1.0+20160511/google_prediction1d6/api::TrainedmodelDeleteCall), [*get*](https://docs.rs/google-prediction1d6/3.1.0+20160511/google_prediction1d6/api::TrainedmodelGetCall), [*insert*](https://docs.rs/google-prediction1d6/3.1.0+20160511/google_prediction1d6/api::TrainedmodelInsertCall), [*list*](https://docs.rs/google-prediction1d6/3.1.0+20160511/google_prediction1d6/api::TrainedmodelListCall), [*predict*](https://docs.rs/google-prediction1d6/3.1.0+20160511/google_prediction1d6/api::TrainedmodelPredictCall) and [*update*](https://docs.rs/google-prediction1d6/3.1.0+20160511/google_prediction1d6/api::TrainedmodelUpdateCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-prediction1d6/3.0.0+20160511/google_prediction1d6/Prediction)** +* **[Hub](https://docs.rs/google-prediction1d6/3.1.0+20160511/google_prediction1d6/Prediction)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-prediction1d6/3.0.0+20160511/google_prediction1d6/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-prediction1d6/3.0.0+20160511/google_prediction1d6/client::CallBuilder) -* **[Resources](https://docs.rs/google-prediction1d6/3.0.0+20160511/google_prediction1d6/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-prediction1d6/3.1.0+20160511/google_prediction1d6/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-prediction1d6/3.1.0+20160511/google_prediction1d6/client::CallBuilder) +* **[Resources](https://docs.rs/google-prediction1d6/3.1.0+20160511/google_prediction1d6/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-prediction1d6/3.0.0+20160511/google_prediction1d6/client::Part)** + * **[Parts](https://docs.rs/google-prediction1d6/3.1.0+20160511/google_prediction1d6/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-prediction1d6/3.0.0+20160511/google_prediction1d6/client::CallBuilder)** +* **[Activities](https://docs.rs/google-prediction1d6/3.1.0+20160511/google_prediction1d6/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -95,7 +95,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Prediction::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Prediction::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -128,17 +128,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-prediction1d6/3.0.0+20160511/google_prediction1d6/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-prediction1d6/3.1.0+20160511/google_prediction1d6/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-prediction1d6/3.0.0+20160511/google_prediction1d6/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-prediction1d6/3.1.0+20160511/google_prediction1d6/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-prediction1d6/3.0.0+20160511/google_prediction1d6/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-prediction1d6/3.1.0+20160511/google_prediction1d6/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-prediction1d6/3.0.0+20160511/google_prediction1d6/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-prediction1d6/3.1.0+20160511/google_prediction1d6/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -148,29 +148,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-prediction1d6/3.0.0+20160511/google_prediction1d6/client::Delegate) to the -[Method Builder](https://docs.rs/google-prediction1d6/3.0.0+20160511/google_prediction1d6/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-prediction1d6/3.1.0+20160511/google_prediction1d6/client::Delegate) to the +[Method Builder](https://docs.rs/google-prediction1d6/3.1.0+20160511/google_prediction1d6/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-prediction1d6/3.0.0+20160511/google_prediction1d6/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-prediction1d6/3.1.0+20160511/google_prediction1d6/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-prediction1d6/3.0.0+20160511/google_prediction1d6/client::RequestValue) and -[decodable](https://docs.rs/google-prediction1d6/3.0.0+20160511/google_prediction1d6/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-prediction1d6/3.1.0+20160511/google_prediction1d6/client::RequestValue) and +[decodable](https://docs.rs/google-prediction1d6/3.1.0+20160511/google_prediction1d6/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-prediction1d6/3.0.0+20160511/google_prediction1d6/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-prediction1d6/3.1.0+20160511/google_prediction1d6/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-prediction1d6/3.0.0+20160511/google_prediction1d6/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-prediction1d6/3.1.0+20160511/google_prediction1d6/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-prediction1d6/3.0.0+20160511/google_prediction1d6/client::RequestValue) are moved +* [request values](https://docs.rs/google-prediction1d6/3.1.0+20160511/google_prediction1d6/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/prediction1d6/src/api.rs b/gen/prediction1d6/src/api.rs index 0754e5db69..003cb7dbd7 100644 --- a/gen/prediction1d6/src/api.rs +++ b/gen/prediction1d6/src/api.rs @@ -87,7 +87,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Prediction::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Prediction::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -135,7 +135,7 @@ impl<'a, > Prediction<> { Prediction { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/prediction/v1.6/projects/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -149,7 +149,7 @@ impl<'a, > Prediction<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -668,7 +668,7 @@ impl client::Part for OutputOutputMulti {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Prediction::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Prediction::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `predict(...)` /// // to build up your call. @@ -730,7 +730,7 @@ impl<'a> HostedmodelMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Prediction::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Prediction::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `analyze(...)`, `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `predict(...)` and `update(...)` /// // to build up your call. @@ -916,7 +916,7 @@ impl<'a> TrainedmodelMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Prediction::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Prediction::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1205,7 +1205,7 @@ impl<'a> HostedmodelPredictCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Prediction::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Prediction::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1465,7 +1465,7 @@ impl<'a> TrainedmodelAnalyzeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Prediction::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Prediction::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1714,7 +1714,7 @@ impl<'a> TrainedmodelDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Prediction::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Prediction::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1975,7 +1975,7 @@ impl<'a> TrainedmodelGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Prediction::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Prediction::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2252,7 +2252,7 @@ impl<'a> TrainedmodelInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Prediction::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Prediction::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2525,7 +2525,7 @@ impl<'a> TrainedmodelListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Prediction::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Prediction::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2815,7 +2815,7 @@ impl<'a> TrainedmodelPredictCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Prediction::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Prediction::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/prediction1d6/src/lib.rs b/gen/prediction1d6/src/lib.rs index 7015c23072..e3ac249e8b 100644 --- a/gen/prediction1d6/src/lib.rs +++ b/gen/prediction1d6/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *prediction* crate version *3.0.0+20160511*, where *20160511* is the exact revision of the *prediction:v1.6* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *prediction* crate version *3.1.0+20160511*, where *20160511* is the exact revision of the *prediction:v1.6* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *prediction* *v1d6* API can be found at the //! [official documentation site](https://developers.google.com/prediction/docs/developer-guide). @@ -96,7 +96,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Prediction::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Prediction::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/privateca1-cli/Cargo.toml b/gen/privateca1-cli/Cargo.toml index e52736304e..fa9fb8b1ac 100644 --- a/gen/privateca1-cli/Cargo.toml +++ b/gen/privateca1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-privateca1-cli" -version = "3.0.0+20220209" +version = "3.1.0+20220209" authors = ["Sebastian Thiel "] description = "A complete library to interact with Certificate Authority Service (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/privateca1-cli" @@ -20,12 +20,12 @@ name = "privateca1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-privateca1] path = "../privateca1" -version = "3.0.0+20220209" +version = "3.1.0+20220209" diff --git a/gen/privateca1-cli/README.md b/gen/privateca1-cli/README.md index aa0d064a2e..601a9d170c 100644 --- a/gen/privateca1-cli/README.md +++ b/gen/privateca1-cli/README.md @@ -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 *Certificate Authority Service* API at revision *20220209*. The CLI is at version *3.0.0*. +This documentation was generated from the *Certificate Authority Service* API at revision *20220209*. The CLI is at version *3.1.0*. ```bash privateca1 [options] diff --git a/gen/privateca1-cli/mkdocs.yml b/gen/privateca1-cli/mkdocs.yml index 32759d4e9c..a37011d92d 100644 --- a/gen/privateca1-cli/mkdocs.yml +++ b/gen/privateca1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Certificate Authority Service v3.0.0+20220209 +site_name: Certificate Authority Service v3.1.0+20220209 site_url: http://byron.github.io/google-apis-rs/google-privateca1-cli site_description: A complete library to interact with Certificate Authority Service (protocol v1) diff --git a/gen/privateca1-cli/src/main.rs b/gen/privateca1-cli/src/main.rs index df16033cdb..cae676e514 100644 --- a/gen/privateca1-cli/src/main.rs +++ b/gen/privateca1-cli/src/main.rs @@ -3823,7 +3823,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/privateca1", 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::CertificateAuthorityService::new(client, auth), @@ -4965,7 +4971,7 @@ async fn main() { let mut app = App::new("privateca1") .author("Sebastian Thiel ") - .version("3.0.0+20220209") + .version("3.1.0+20220209") .about("The Certificate Authority Service API is a highly-available, scalable service that enables you to simplify and automate the management of private certificate authorities (CAs) while staying in control of your private keys. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_privateca1_cli") .arg(Arg::with_name("url") diff --git a/gen/privateca1/Cargo.toml b/gen/privateca1/Cargo.toml index aad224fb29..9a5ba0d63e 100644 --- a/gen/privateca1/Cargo.toml +++ b/gen/privateca1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-privateca1" -version = "3.0.0+20220209" +version = "3.1.0+20220209" authors = ["Sebastian Thiel "] description = "A complete library to interact with Certificate Authority Service (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/privateca1" homepage = "https://cloud.google.com/" -documentation = "https://docs.rs/google-privateca1/3.0.0+20220209" +documentation = "https://docs.rs/google-privateca1/3.1.0+20220209" license = "MIT" keywords = ["privateca", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/privateca1/README.md b/gen/privateca1/README.md index 01902659ca..08ec79c56e 100644 --- a/gen/privateca1/README.md +++ b/gen/privateca1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-privateca1` library allows access to all features of the *Google Certificate Authority Service* service. -This documentation was generated from *Certificate Authority Service* crate version *3.0.0+20220209*, where *20220209* is the exact revision of the *privateca:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Certificate Authority Service* crate version *3.1.0+20220209*, where *20220209* is the exact revision of the *privateca:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Certificate Authority Service* *v1* API can be found at the [official documentation site](https://cloud.google.com/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/CertificateAuthorityService) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/CertificateAuthorityService) ... * projects - * [*locations ca pools certificate authorities activate*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationCaPoolCertificateAuthorityActivateCall), [*locations ca pools certificate authorities certificate revocation lists get*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationCaPoolCertificateAuthorityCertificateRevocationListGetCall), [*locations ca pools certificate authorities certificate revocation lists get iam policy*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationCaPoolCertificateAuthorityCertificateRevocationListGetIamPolicyCall), [*locations ca pools certificate authorities certificate revocation lists list*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationCaPoolCertificateAuthorityCertificateRevocationListListCall), [*locations ca pools certificate authorities certificate revocation lists patch*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationCaPoolCertificateAuthorityCertificateRevocationListPatchCall), [*locations ca pools certificate authorities certificate revocation lists set iam policy*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationCaPoolCertificateAuthorityCertificateRevocationListSetIamPolicyCall), [*locations ca pools certificate authorities certificate revocation lists test iam permissions*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationCaPoolCertificateAuthorityCertificateRevocationListTestIamPermissionCall), [*locations ca pools certificate authorities create*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationCaPoolCertificateAuthorityCreateCall), [*locations ca pools certificate authorities delete*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationCaPoolCertificateAuthorityDeleteCall), [*locations ca pools certificate authorities disable*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationCaPoolCertificateAuthorityDisableCall), [*locations ca pools certificate authorities enable*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationCaPoolCertificateAuthorityEnableCall), [*locations ca pools certificate authorities fetch*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationCaPoolCertificateAuthorityFetchCall), [*locations ca pools certificate authorities get*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationCaPoolCertificateAuthorityGetCall), [*locations ca pools certificate authorities list*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationCaPoolCertificateAuthorityListCall), [*locations ca pools certificate authorities patch*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationCaPoolCertificateAuthorityPatchCall), [*locations ca pools certificate authorities undelete*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationCaPoolCertificateAuthorityUndeleteCall), [*locations ca pools certificates create*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationCaPoolCertificateCreateCall), [*locations ca pools certificates get*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationCaPoolCertificateGetCall), [*locations ca pools certificates list*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationCaPoolCertificateListCall), [*locations ca pools certificates patch*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationCaPoolCertificatePatchCall), [*locations ca pools certificates revoke*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationCaPoolCertificateRevokeCall), [*locations ca pools create*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationCaPoolCreateCall), [*locations ca pools delete*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationCaPoolDeleteCall), [*locations ca pools fetch ca certs*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationCaPoolFetchCaCertCall), [*locations ca pools get*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationCaPoolGetCall), [*locations ca pools get iam policy*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationCaPoolGetIamPolicyCall), [*locations ca pools list*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationCaPoolListCall), [*locations ca pools patch*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationCaPoolPatchCall), [*locations ca pools set iam policy*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationCaPoolSetIamPolicyCall), [*locations ca pools test iam permissions*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationCaPoolTestIamPermissionCall), [*locations certificate templates create*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationCertificateTemplateCreateCall), [*locations certificate templates delete*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationCertificateTemplateDeleteCall), [*locations certificate templates get*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationCertificateTemplateGetCall), [*locations certificate templates get iam policy*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationCertificateTemplateGetIamPolicyCall), [*locations certificate templates list*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationCertificateTemplateListCall), [*locations certificate templates patch*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationCertificateTemplatePatchCall), [*locations certificate templates set iam policy*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationCertificateTemplateSetIamPolicyCall), [*locations certificate templates test iam permissions*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationCertificateTemplateTestIamPermissionCall), [*locations get*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/api::ProjectLocationOperationListCall) + * [*locations ca pools certificate authorities activate*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationCaPoolCertificateAuthorityActivateCall), [*locations ca pools certificate authorities certificate revocation lists get*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationCaPoolCertificateAuthorityCertificateRevocationListGetCall), [*locations ca pools certificate authorities certificate revocation lists get iam policy*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationCaPoolCertificateAuthorityCertificateRevocationListGetIamPolicyCall), [*locations ca pools certificate authorities certificate revocation lists list*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationCaPoolCertificateAuthorityCertificateRevocationListListCall), [*locations ca pools certificate authorities certificate revocation lists patch*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationCaPoolCertificateAuthorityCertificateRevocationListPatchCall), [*locations ca pools certificate authorities certificate revocation lists set iam policy*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationCaPoolCertificateAuthorityCertificateRevocationListSetIamPolicyCall), [*locations ca pools certificate authorities certificate revocation lists test iam permissions*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationCaPoolCertificateAuthorityCertificateRevocationListTestIamPermissionCall), [*locations ca pools certificate authorities create*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationCaPoolCertificateAuthorityCreateCall), [*locations ca pools certificate authorities delete*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationCaPoolCertificateAuthorityDeleteCall), [*locations ca pools certificate authorities disable*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationCaPoolCertificateAuthorityDisableCall), [*locations ca pools certificate authorities enable*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationCaPoolCertificateAuthorityEnableCall), [*locations ca pools certificate authorities fetch*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationCaPoolCertificateAuthorityFetchCall), [*locations ca pools certificate authorities get*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationCaPoolCertificateAuthorityGetCall), [*locations ca pools certificate authorities list*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationCaPoolCertificateAuthorityListCall), [*locations ca pools certificate authorities patch*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationCaPoolCertificateAuthorityPatchCall), [*locations ca pools certificate authorities undelete*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationCaPoolCertificateAuthorityUndeleteCall), [*locations ca pools certificates create*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationCaPoolCertificateCreateCall), [*locations ca pools certificates get*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationCaPoolCertificateGetCall), [*locations ca pools certificates list*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationCaPoolCertificateListCall), [*locations ca pools certificates patch*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationCaPoolCertificatePatchCall), [*locations ca pools certificates revoke*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationCaPoolCertificateRevokeCall), [*locations ca pools create*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationCaPoolCreateCall), [*locations ca pools delete*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationCaPoolDeleteCall), [*locations ca pools fetch ca certs*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationCaPoolFetchCaCertCall), [*locations ca pools get*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationCaPoolGetCall), [*locations ca pools get iam policy*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationCaPoolGetIamPolicyCall), [*locations ca pools list*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationCaPoolListCall), [*locations ca pools patch*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationCaPoolPatchCall), [*locations ca pools set iam policy*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationCaPoolSetIamPolicyCall), [*locations ca pools test iam permissions*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationCaPoolTestIamPermissionCall), [*locations certificate templates create*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationCertificateTemplateCreateCall), [*locations certificate templates delete*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationCertificateTemplateDeleteCall), [*locations certificate templates get*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationCertificateTemplateGetCall), [*locations certificate templates get iam policy*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationCertificateTemplateGetIamPolicyCall), [*locations certificate templates list*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationCertificateTemplateListCall), [*locations certificate templates patch*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationCertificateTemplatePatchCall), [*locations certificate templates set iam policy*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationCertificateTemplateSetIamPolicyCall), [*locations certificate templates test iam permissions*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationCertificateTemplateTestIamPermissionCall), [*locations get*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/api::ProjectLocationOperationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/CertificateAuthorityService)** +* **[Hub](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/CertificateAuthorityService)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/client::CallBuilder) -* **[Resources](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/client::CallBuilder) +* **[Resources](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/client::Part)** + * **[Parts](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -105,7 +105,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -140,17 +140,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -160,29 +160,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/client::Delegate) to the -[Method Builder](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/client::Delegate) to the +[Method Builder](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/client::RequestValue) and -[decodable](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/client::RequestValue) and +[decodable](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-privateca1/3.0.0+20220209/google_privateca1/client::RequestValue) are moved +* [request values](https://docs.rs/google-privateca1/3.1.0+20220209/google_privateca1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/privateca1/src/api.rs b/gen/privateca1/src/api.rs index 9375cfb0e5..fd0da703fc 100644 --- a/gen/privateca1/src/api.rs +++ b/gen/privateca1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -121,7 +121,7 @@ impl<'a, > CertificateAuthorityService<> { CertificateAuthorityService { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://privateca.googleapis.com/".to_string(), _root_url: "https://privateca.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > CertificateAuthorityService<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1643,7 +1643,7 @@ impl client::Part for X509Parameters {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_ca_pools_certificate_authorities_activate(...)`, `locations_ca_pools_certificate_authorities_certificate_revocation_lists_get(...)`, `locations_ca_pools_certificate_authorities_certificate_revocation_lists_get_iam_policy(...)`, `locations_ca_pools_certificate_authorities_certificate_revocation_lists_list(...)`, `locations_ca_pools_certificate_authorities_certificate_revocation_lists_patch(...)`, `locations_ca_pools_certificate_authorities_certificate_revocation_lists_set_iam_policy(...)`, `locations_ca_pools_certificate_authorities_certificate_revocation_lists_test_iam_permissions(...)`, `locations_ca_pools_certificate_authorities_create(...)`, `locations_ca_pools_certificate_authorities_delete(...)`, `locations_ca_pools_certificate_authorities_disable(...)`, `locations_ca_pools_certificate_authorities_enable(...)`, `locations_ca_pools_certificate_authorities_fetch(...)`, `locations_ca_pools_certificate_authorities_get(...)`, `locations_ca_pools_certificate_authorities_list(...)`, `locations_ca_pools_certificate_authorities_patch(...)`, `locations_ca_pools_certificate_authorities_undelete(...)`, `locations_ca_pools_certificates_create(...)`, `locations_ca_pools_certificates_get(...)`, `locations_ca_pools_certificates_list(...)`, `locations_ca_pools_certificates_patch(...)`, `locations_ca_pools_certificates_revoke(...)`, `locations_ca_pools_create(...)`, `locations_ca_pools_delete(...)`, `locations_ca_pools_fetch_ca_certs(...)`, `locations_ca_pools_get(...)`, `locations_ca_pools_get_iam_policy(...)`, `locations_ca_pools_list(...)`, `locations_ca_pools_patch(...)`, `locations_ca_pools_set_iam_policy(...)`, `locations_ca_pools_test_iam_permissions(...)`, `locations_certificate_templates_create(...)`, `locations_certificate_templates_delete(...)`, `locations_certificate_templates_get(...)`, `locations_certificate_templates_get_iam_policy(...)`, `locations_certificate_templates_list(...)`, `locations_certificate_templates_patch(...)`, `locations_certificate_templates_set_iam_policy(...)`, `locations_certificate_templates_test_iam_permissions(...)`, `locations_get(...)`, `locations_list(...)`, `locations_operations_cancel(...)`, `locations_operations_delete(...)`, `locations_operations_get(...)` and `locations_operations_list(...)` /// // to build up your call. @@ -2536,7 +2536,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2792,7 +2792,7 @@ impl<'a> ProjectLocationCaPoolCertificateAuthorityCertificateRevocationListGetCa /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3060,7 +3060,7 @@ impl<'a> ProjectLocationCaPoolCertificateAuthorityCertificateRevocationListGetIa /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3365,7 +3365,7 @@ impl<'a> ProjectLocationCaPoolCertificateAuthorityCertificateRevocationListListC /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3675,7 +3675,7 @@ impl<'a> ProjectLocationCaPoolCertificateAuthorityCertificateRevocationListPatch /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3961,7 +3961,7 @@ impl<'a> ProjectLocationCaPoolCertificateAuthorityCertificateRevocationListSetIa /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4247,7 +4247,7 @@ impl<'a> ProjectLocationCaPoolCertificateAuthorityCertificateRevocationListTestI /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4533,7 +4533,7 @@ impl<'a> ProjectLocationCaPoolCertificateAuthorityActivateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4842,7 +4842,7 @@ impl<'a> ProjectLocationCaPoolCertificateAuthorityCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5123,7 +5123,7 @@ impl<'a> ProjectLocationCaPoolCertificateAuthorityDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5409,7 +5409,7 @@ impl<'a> ProjectLocationCaPoolCertificateAuthorityDisableCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5694,7 +5694,7 @@ impl<'a> ProjectLocationCaPoolCertificateAuthorityEnableCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5950,7 +5950,7 @@ impl<'a> ProjectLocationCaPoolCertificateAuthorityFetchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6206,7 +6206,7 @@ impl<'a> ProjectLocationCaPoolCertificateAuthorityGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6511,7 +6511,7 @@ impl<'a> ProjectLocationCaPoolCertificateAuthorityListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6821,7 +6821,7 @@ impl<'a> ProjectLocationCaPoolCertificateAuthorityPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7107,7 +7107,7 @@ impl<'a> ProjectLocationCaPoolCertificateAuthorityUndeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7440,7 +7440,7 @@ impl<'a> ProjectLocationCaPoolCertificateCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7696,7 +7696,7 @@ impl<'a> ProjectLocationCaPoolCertificateGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8001,7 +8001,7 @@ impl<'a> ProjectLocationCaPoolCertificateListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8311,7 +8311,7 @@ impl<'a> ProjectLocationCaPoolCertificatePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8597,7 +8597,7 @@ impl<'a> ProjectLocationCaPoolCertificateRevokeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8906,7 +8906,7 @@ impl<'a> ProjectLocationCaPoolCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9175,7 +9175,7 @@ impl<'a> ProjectLocationCaPoolDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9460,7 +9460,7 @@ impl<'a> ProjectLocationCaPoolFetchCaCertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9716,7 +9716,7 @@ impl<'a> ProjectLocationCaPoolGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9984,7 +9984,7 @@ impl<'a> ProjectLocationCaPoolGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10289,7 +10289,7 @@ impl<'a> ProjectLocationCaPoolListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10599,7 +10599,7 @@ impl<'a> ProjectLocationCaPoolPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10885,7 +10885,7 @@ impl<'a> ProjectLocationCaPoolSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11171,7 +11171,7 @@ impl<'a> ProjectLocationCaPoolTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11480,7 +11480,7 @@ impl<'a> ProjectLocationCertificateTemplateCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11748,7 +11748,7 @@ impl<'a> ProjectLocationCertificateTemplateDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12004,7 +12004,7 @@ impl<'a> ProjectLocationCertificateTemplateGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12272,7 +12272,7 @@ impl<'a> ProjectLocationCertificateTemplateGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12577,7 +12577,7 @@ impl<'a> ProjectLocationCertificateTemplateListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12887,7 +12887,7 @@ impl<'a> ProjectLocationCertificateTemplatePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13173,7 +13173,7 @@ impl<'a> ProjectLocationCertificateTemplateSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13459,7 +13459,7 @@ impl<'a> ProjectLocationCertificateTemplateTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13744,7 +13744,7 @@ impl<'a> ProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14000,7 +14000,7 @@ impl<'a> ProjectLocationOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14256,7 +14256,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14548,7 +14548,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14804,7 +14804,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/privateca1/src/lib.rs b/gen/privateca1/src/lib.rs index 92c16a77eb..b1f9f750f3 100644 --- a/gen/privateca1/src/lib.rs +++ b/gen/privateca1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Certificate Authority Service* crate version *3.0.0+20220209*, where *20220209* is the exact revision of the *privateca:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Certificate Authority Service* crate version *3.1.0+20220209*, where *20220209* is the exact revision of the *privateca:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Certificate Authority Service* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/). @@ -106,7 +106,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/privateca1_beta1-cli/Cargo.toml b/gen/privateca1_beta1-cli/Cargo.toml index 6675a341b6..82aa63b3f5 100644 --- a/gen/privateca1_beta1-cli/Cargo.toml +++ b/gen/privateca1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-privateca1_beta1-cli" -version = "3.0.0+20220209" +version = "3.1.0+20220209" authors = ["Sebastian Thiel "] description = "A complete library to interact with Certificate Authority Service (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/privateca1_beta1-cli" @@ -20,12 +20,12 @@ name = "privateca1-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-privateca1_beta1] path = "../privateca1_beta1" -version = "3.0.0+20220209" +version = "3.1.0+20220209" diff --git a/gen/privateca1_beta1-cli/README.md b/gen/privateca1_beta1-cli/README.md index 68dbb54544..b838a871b0 100644 --- a/gen/privateca1_beta1-cli/README.md +++ b/gen/privateca1_beta1-cli/README.md @@ -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 *Certificate Authority Service* API at revision *20220209*. The CLI is at version *3.0.0*. +This documentation was generated from the *Certificate Authority Service* API at revision *20220209*. The CLI is at version *3.1.0*. ```bash privateca1-beta1 [options] diff --git a/gen/privateca1_beta1-cli/mkdocs.yml b/gen/privateca1_beta1-cli/mkdocs.yml index 8ed32641bf..b126ce56bc 100644 --- a/gen/privateca1_beta1-cli/mkdocs.yml +++ b/gen/privateca1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Certificate Authority Service v3.0.0+20220209 +site_name: Certificate Authority Service v3.1.0+20220209 site_url: http://byron.github.io/google-apis-rs/google-privateca1_beta1-cli site_description: A complete library to interact with Certificate Authority Service (protocol v1beta1) diff --git a/gen/privateca1_beta1-cli/src/main.rs b/gen/privateca1_beta1-cli/src/main.rs index cdcf722526..d13f3abf05 100644 --- a/gen/privateca1_beta1-cli/src/main.rs +++ b/gen/privateca1_beta1-cli/src/main.rs @@ -3070,7 +3070,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/privateca1-beta1", 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::CertificateAuthorityService::new(client, auth), @@ -3990,7 +3996,7 @@ async fn main() { let mut app = App::new("privateca1-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20220209") + .version("3.1.0+20220209") .about("The Certificate Authority Service API is a highly-available, scalable service that enables you to simplify and automate the management of private certificate authorities (CAs) while staying in control of your private keys. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_privateca1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/privateca1_beta1/Cargo.toml b/gen/privateca1_beta1/Cargo.toml index 6f7421d34d..1bfa777dec 100644 --- a/gen/privateca1_beta1/Cargo.toml +++ b/gen/privateca1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-privateca1_beta1" -version = "3.0.0+20220209" +version = "3.1.0+20220209" authors = ["Sebastian Thiel "] description = "A complete library to interact with Certificate Authority Service (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/privateca1_beta1" homepage = "https://cloud.google.com/" -documentation = "https://docs.rs/google-privateca1_beta1/3.0.0+20220209" +documentation = "https://docs.rs/google-privateca1_beta1/3.1.0+20220209" license = "MIT" keywords = ["privateca", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/privateca1_beta1/README.md b/gen/privateca1_beta1/README.md index bcc62ca50c..527dedbdcf 100644 --- a/gen/privateca1_beta1/README.md +++ b/gen/privateca1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-privateca1_beta1` library allows access to all features of the *Google Certificate Authority Service* service. -This documentation was generated from *Certificate Authority Service* crate version *3.0.0+20220209*, where *20220209* is the exact revision of the *privateca:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Certificate Authority Service* crate version *3.1.0+20220209*, where *20220209* is the exact revision of the *privateca:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Certificate Authority Service* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/CertificateAuthorityService) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/CertificateAuthorityService) ... * projects - * [*locations certificate authorities activate*](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityActivateCall), [*locations certificate authorities certificate revocation lists get*](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateRevocationListGetCall), [*locations certificate authorities certificate revocation lists get iam policy*](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateRevocationListGetIamPolicyCall), [*locations certificate authorities certificate revocation lists list*](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateRevocationListListCall), [*locations certificate authorities certificate revocation lists patch*](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateRevocationListPatchCall), [*locations certificate authorities certificate revocation lists set iam policy*](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateRevocationListSetIamPolicyCall), [*locations certificate authorities certificate revocation lists test iam permissions*](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateRevocationListTestIamPermissionCall), [*locations certificate authorities certificates create*](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateCreateCall), [*locations certificate authorities certificates get*](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateGetCall), [*locations certificate authorities certificates list*](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateListCall), [*locations certificate authorities certificates patch*](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificatePatchCall), [*locations certificate authorities certificates revoke*](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateRevokeCall), [*locations certificate authorities create*](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCreateCall), [*locations certificate authorities disable*](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityDisableCall), [*locations certificate authorities enable*](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityEnableCall), [*locations certificate authorities fetch*](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityFetchCall), [*locations certificate authorities get*](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityGetCall), [*locations certificate authorities get iam policy*](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityGetIamPolicyCall), [*locations certificate authorities list*](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityListCall), [*locations certificate authorities patch*](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityPatchCall), [*locations certificate authorities restore*](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityRestoreCall), [*locations certificate authorities schedule delete*](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityScheduleDeleteCall), [*locations certificate authorities set iam policy*](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthoritySetIamPolicyCall), [*locations certificate authorities test iam permissions*](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityTestIamPermissionCall), [*locations get*](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/api::ProjectLocationOperationListCall), [*locations reusable configs get*](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/api::ProjectLocationReusableConfigGetCall), [*locations reusable configs get iam policy*](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/api::ProjectLocationReusableConfigGetIamPolicyCall), [*locations reusable configs list*](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/api::ProjectLocationReusableConfigListCall), [*locations reusable configs set iam policy*](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/api::ProjectLocationReusableConfigSetIamPolicyCall) and [*locations reusable configs test iam permissions*](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/api::ProjectLocationReusableConfigTestIamPermissionCall) + * [*locations certificate authorities activate*](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityActivateCall), [*locations certificate authorities certificate revocation lists get*](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateRevocationListGetCall), [*locations certificate authorities certificate revocation lists get iam policy*](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateRevocationListGetIamPolicyCall), [*locations certificate authorities certificate revocation lists list*](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateRevocationListListCall), [*locations certificate authorities certificate revocation lists patch*](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateRevocationListPatchCall), [*locations certificate authorities certificate revocation lists set iam policy*](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateRevocationListSetIamPolicyCall), [*locations certificate authorities certificate revocation lists test iam permissions*](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateRevocationListTestIamPermissionCall), [*locations certificate authorities certificates create*](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateCreateCall), [*locations certificate authorities certificates get*](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateGetCall), [*locations certificate authorities certificates list*](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateListCall), [*locations certificate authorities certificates patch*](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificatePatchCall), [*locations certificate authorities certificates revoke*](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCertificateRevokeCall), [*locations certificate authorities create*](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityCreateCall), [*locations certificate authorities disable*](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityDisableCall), [*locations certificate authorities enable*](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityEnableCall), [*locations certificate authorities fetch*](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityFetchCall), [*locations certificate authorities get*](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityGetCall), [*locations certificate authorities get iam policy*](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityGetIamPolicyCall), [*locations certificate authorities list*](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityListCall), [*locations certificate authorities patch*](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityPatchCall), [*locations certificate authorities restore*](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityRestoreCall), [*locations certificate authorities schedule delete*](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityScheduleDeleteCall), [*locations certificate authorities set iam policy*](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthoritySetIamPolicyCall), [*locations certificate authorities test iam permissions*](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/api::ProjectLocationCertificateAuthorityTestIamPermissionCall), [*locations get*](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/api::ProjectLocationOperationListCall), [*locations reusable configs get*](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/api::ProjectLocationReusableConfigGetCall), [*locations reusable configs get iam policy*](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/api::ProjectLocationReusableConfigGetIamPolicyCall), [*locations reusable configs list*](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/api::ProjectLocationReusableConfigListCall), [*locations reusable configs set iam policy*](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/api::ProjectLocationReusableConfigSetIamPolicyCall) and [*locations reusable configs test iam permissions*](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/api::ProjectLocationReusableConfigTestIamPermissionCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/CertificateAuthorityService)** +* **[Hub](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/CertificateAuthorityService)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -99,7 +99,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -154,29 +154,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-privateca1_beta1/3.0.0+20220209/google_privateca1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-privateca1_beta1/3.1.0+20220209/google_privateca1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/privateca1_beta1/src/api.rs b/gen/privateca1_beta1/src/api.rs index b0df2e7b35..b9042d49c8 100644 --- a/gen/privateca1_beta1/src/api.rs +++ b/gen/privateca1_beta1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -121,7 +121,7 @@ impl<'a, > CertificateAuthorityService<> { CertificateAuthorityService { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://privateca.googleapis.com/".to_string(), _root_url: "https://privateca.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > CertificateAuthorityService<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1517,7 +1517,7 @@ impl client::Part for X509Extension {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_certificate_authorities_activate(...)`, `locations_certificate_authorities_certificate_revocation_lists_get(...)`, `locations_certificate_authorities_certificate_revocation_lists_get_iam_policy(...)`, `locations_certificate_authorities_certificate_revocation_lists_list(...)`, `locations_certificate_authorities_certificate_revocation_lists_patch(...)`, `locations_certificate_authorities_certificate_revocation_lists_set_iam_policy(...)`, `locations_certificate_authorities_certificate_revocation_lists_test_iam_permissions(...)`, `locations_certificate_authorities_certificates_create(...)`, `locations_certificate_authorities_certificates_get(...)`, `locations_certificate_authorities_certificates_list(...)`, `locations_certificate_authorities_certificates_patch(...)`, `locations_certificate_authorities_certificates_revoke(...)`, `locations_certificate_authorities_create(...)`, `locations_certificate_authorities_disable(...)`, `locations_certificate_authorities_enable(...)`, `locations_certificate_authorities_fetch(...)`, `locations_certificate_authorities_get(...)`, `locations_certificate_authorities_get_iam_policy(...)`, `locations_certificate_authorities_list(...)`, `locations_certificate_authorities_patch(...)`, `locations_certificate_authorities_restore(...)`, `locations_certificate_authorities_schedule_delete(...)`, `locations_certificate_authorities_set_iam_policy(...)`, `locations_certificate_authorities_test_iam_permissions(...)`, `locations_get(...)`, `locations_list(...)`, `locations_operations_cancel(...)`, `locations_operations_delete(...)`, `locations_operations_get(...)`, `locations_operations_list(...)`, `locations_reusable_configs_get(...)`, `locations_reusable_configs_get_iam_policy(...)`, `locations_reusable_configs_list(...)`, `locations_reusable_configs_set_iam_policy(...)` and `locations_reusable_configs_test_iam_permissions(...)` /// // to build up your call. @@ -2231,7 +2231,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2487,7 +2487,7 @@ impl<'a> ProjectLocationCertificateAuthorityCertificateRevocationListGetCall<'a> /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2755,7 +2755,7 @@ impl<'a> ProjectLocationCertificateAuthorityCertificateRevocationListGetIamPolic /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3060,7 +3060,7 @@ impl<'a> ProjectLocationCertificateAuthorityCertificateRevocationListListCall<'a /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3370,7 +3370,7 @@ impl<'a> ProjectLocationCertificateAuthorityCertificateRevocationListPatchCall<' /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3656,7 +3656,7 @@ impl<'a> ProjectLocationCertificateAuthorityCertificateRevocationListSetIamPolic /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3942,7 +3942,7 @@ impl<'a> ProjectLocationCertificateAuthorityCertificateRevocationListTestIamPerm /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4251,7 +4251,7 @@ impl<'a> ProjectLocationCertificateAuthorityCertificateCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4507,7 +4507,7 @@ impl<'a> ProjectLocationCertificateAuthorityCertificateGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4812,7 +4812,7 @@ impl<'a> ProjectLocationCertificateAuthorityCertificateListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5122,7 +5122,7 @@ impl<'a> ProjectLocationCertificateAuthorityCertificatePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5408,7 +5408,7 @@ impl<'a> ProjectLocationCertificateAuthorityCertificateRevokeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5694,7 +5694,7 @@ impl<'a> ProjectLocationCertificateAuthorityActivateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6004,7 +6004,7 @@ impl<'a> ProjectLocationCertificateAuthorityCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6290,7 +6290,7 @@ impl<'a> ProjectLocationCertificateAuthorityDisableCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6575,7 +6575,7 @@ impl<'a> ProjectLocationCertificateAuthorityEnableCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6831,7 +6831,7 @@ impl<'a> ProjectLocationCertificateAuthorityFetchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7087,7 +7087,7 @@ impl<'a> ProjectLocationCertificateAuthorityGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7355,7 +7355,7 @@ impl<'a> ProjectLocationCertificateAuthorityGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7660,7 +7660,7 @@ impl<'a> ProjectLocationCertificateAuthorityListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7970,7 +7970,7 @@ impl<'a> ProjectLocationCertificateAuthorityPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8256,7 +8256,7 @@ impl<'a> ProjectLocationCertificateAuthorityRestoreCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8542,7 +8542,7 @@ impl<'a> ProjectLocationCertificateAuthorityScheduleDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8828,7 +8828,7 @@ impl<'a> ProjectLocationCertificateAuthoritySetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9114,7 +9114,7 @@ impl<'a> ProjectLocationCertificateAuthorityTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9399,7 +9399,7 @@ impl<'a> ProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9655,7 +9655,7 @@ impl<'a> ProjectLocationOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9911,7 +9911,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10203,7 +10203,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10459,7 +10459,7 @@ impl<'a> ProjectLocationReusableConfigGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10727,7 +10727,7 @@ impl<'a> ProjectLocationReusableConfigGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11032,7 +11032,7 @@ impl<'a> ProjectLocationReusableConfigListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11318,7 +11318,7 @@ impl<'a> ProjectLocationReusableConfigSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11603,7 +11603,7 @@ impl<'a> ProjectLocationReusableConfigTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11859,7 +11859,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/privateca1_beta1/src/lib.rs b/gen/privateca1_beta1/src/lib.rs index fff7ae8afc..6d5607d1d0 100644 --- a/gen/privateca1_beta1/src/lib.rs +++ b/gen/privateca1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Certificate Authority Service* crate version *3.0.0+20220209*, where *20220209* is the exact revision of the *privateca:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Certificate Authority Service* crate version *3.1.0+20220209*, where *20220209* is the exact revision of the *privateca:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Certificate Authority Service* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/). @@ -100,7 +100,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CertificateAuthorityService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/prod_tt_sasportal1_alpha1-cli/Cargo.toml b/gen/prod_tt_sasportal1_alpha1-cli/Cargo.toml index 2ce3b18e83..4f4d9bb196 100644 --- a/gen/prod_tt_sasportal1_alpha1-cli/Cargo.toml +++ b/gen/prod_tt_sasportal1_alpha1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-prod_tt_sasportal1_alpha1-cli" -version = "3.0.0+20220303" +version = "3.1.0+20220303" authors = ["Sebastian Thiel "] description = "A complete library to interact with SAS Portal Testing (protocol v1alpha1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/prod_tt_sasportal1_alpha1-cli" @@ -20,12 +20,12 @@ name = "prod-tt-sasportal1-alpha1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-prod_tt_sasportal1_alpha1] path = "../prod_tt_sasportal1_alpha1" -version = "3.0.0+20220303" +version = "3.1.0+20220303" diff --git a/gen/prod_tt_sasportal1_alpha1-cli/README.md b/gen/prod_tt_sasportal1_alpha1-cli/README.md index 72c1d8e6d0..69c4b74862 100644 --- a/gen/prod_tt_sasportal1_alpha1-cli/README.md +++ b/gen/prod_tt_sasportal1_alpha1-cli/README.md @@ -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 *SAS Portal Testing* API at revision *20220303*. The CLI is at version *3.0.0*. +This documentation was generated from the *SAS Portal Testing* API at revision *20220303*. The CLI is at version *3.1.0*. ```bash prod-tt-sasportal1-alpha1 [options] diff --git a/gen/prod_tt_sasportal1_alpha1-cli/mkdocs.yml b/gen/prod_tt_sasportal1_alpha1-cli/mkdocs.yml index 6cf5e03327..fc4e8427ff 100644 --- a/gen/prod_tt_sasportal1_alpha1-cli/mkdocs.yml +++ b/gen/prod_tt_sasportal1_alpha1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: SAS Portal Testing v3.0.0+20220303 +site_name: SAS Portal Testing v3.1.0+20220303 site_url: http://byron.github.io/google-apis-rs/google-prod_tt_sasportal1_alpha1-cli site_description: A complete library to interact with SAS Portal Testing (protocol v1alpha1) diff --git a/gen/prod_tt_sasportal1_alpha1-cli/src/main.rs b/gen/prod_tt_sasportal1_alpha1-cli/src/main.rs index 5db9a328c8..8f5b43d2ff 100644 --- a/gen/prod_tt_sasportal1_alpha1-cli/src/main.rs +++ b/gen/prod_tt_sasportal1_alpha1-cli/src/main.rs @@ -6878,7 +6878,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/prod-tt-sasportal1-alpha1", 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::SASPortalTesting::new(client, auth), @@ -8860,7 +8866,7 @@ async fn main() { let mut app = App::new("prod-tt-sasportal1-alpha1") .author("Sebastian Thiel ") - .version("3.0.0+20220303") + .version("3.1.0+20220303") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_prod_tt_sasportal1_alpha1_cli") .arg(Arg::with_name("url") diff --git a/gen/prod_tt_sasportal1_alpha1/Cargo.toml b/gen/prod_tt_sasportal1_alpha1/Cargo.toml index 1daa8aa250..dcfb124d7c 100644 --- a/gen/prod_tt_sasportal1_alpha1/Cargo.toml +++ b/gen/prod_tt_sasportal1_alpha1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-prod_tt_sasportal1_alpha1" -version = "3.0.0+20220303" +version = "3.1.0+20220303" authors = ["Sebastian Thiel "] description = "A complete library to interact with SAS Portal Testing (protocol v1alpha1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/prod_tt_sasportal1_alpha1" homepage = "https://developers.google.com/spectrum-access-system/" -documentation = "https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303" +documentation = "https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303" license = "MIT" keywords = ["prod_tt_sasportal", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/prod_tt_sasportal1_alpha1/README.md b/gen/prod_tt_sasportal1_alpha1/README.md index f57c89e62f..9116e7274c 100644 --- a/gen/prod_tt_sasportal1_alpha1/README.md +++ b/gen/prod_tt_sasportal1_alpha1/README.md @@ -5,24 +5,24 @@ DO NOT EDIT ! --> The `google-prod_tt_sasportal1_alpha1` library allows access to all features of the *Google SAS Portal Testing* service. -This documentation was generated from *SAS Portal Testing* crate version *3.0.0+20220303*, where *20220303* is the exact revision of the *prod_tt_sasportal:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *SAS Portal Testing* crate version *3.1.0+20220303*, where *20220303* is the exact revision of the *prod_tt_sasportal:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *SAS Portal Testing* *v1_alpha1* API can be found at the [official documentation site](https://developers.google.com/spectrum-access-system/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/SASPortalTesting) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/SASPortalTesting) ... * customers - * [*deployments create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentCreateCall), [*deployments delete*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentDeleteCall), [*deployments devices create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentDeviceCreateCall), [*deployments devices create signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentDeviceCreateSignedCall), [*deployments devices list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentDeviceListCall), [*deployments get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentGetCall), [*deployments list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentListCall), [*deployments move*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentMoveCall), [*deployments patch*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentPatchCall), [*devices create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerDeviceCreateCall), [*devices create signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerDeviceCreateSignedCall), [*devices delete*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerDeviceDeleteCall), [*devices get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerDeviceGetCall), [*devices list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerDeviceListCall), [*devices move*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerDeviceMoveCall), [*devices patch*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerDevicePatchCall), [*devices sign device*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerDeviceSignDeviceCall), [*devices update signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerDeviceUpdateSignedCall), [*get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerGetCall), [*list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerListCall), [*nodes create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerNodeCreateCall), [*nodes delete*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerNodeDeleteCall), [*nodes deployments create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerNodeDeploymentCreateCall), [*nodes deployments list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerNodeDeploymentListCall), [*nodes devices create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerNodeDeviceCreateCall), [*nodes devices create signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerNodeDeviceCreateSignedCall), [*nodes devices list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerNodeDeviceListCall), [*nodes get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerNodeGetCall), [*nodes list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerNodeListCall), [*nodes move*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerNodeMoveCall), [*nodes nodes create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerNodeNodeCreateCall), [*nodes nodes list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerNodeNodeListCall), [*nodes patch*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerNodePatchCall) and [*patch*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerPatchCall) + * [*deployments create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentCreateCall), [*deployments delete*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentDeleteCall), [*deployments devices create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentDeviceCreateCall), [*deployments devices create signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentDeviceCreateSignedCall), [*deployments devices list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentDeviceListCall), [*deployments get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentGetCall), [*deployments list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentListCall), [*deployments move*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentMoveCall), [*deployments patch*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerDeploymentPatchCall), [*devices create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerDeviceCreateCall), [*devices create signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerDeviceCreateSignedCall), [*devices delete*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerDeviceDeleteCall), [*devices get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerDeviceGetCall), [*devices list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerDeviceListCall), [*devices move*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerDeviceMoveCall), [*devices patch*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerDevicePatchCall), [*devices sign device*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerDeviceSignDeviceCall), [*devices update signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerDeviceUpdateSignedCall), [*get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerGetCall), [*list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerListCall), [*nodes create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerNodeCreateCall), [*nodes delete*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerNodeDeleteCall), [*nodes deployments create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerNodeDeploymentCreateCall), [*nodes deployments list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerNodeDeploymentListCall), [*nodes devices create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerNodeDeviceCreateCall), [*nodes devices create signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerNodeDeviceCreateSignedCall), [*nodes devices list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerNodeDeviceListCall), [*nodes get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerNodeGetCall), [*nodes list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerNodeListCall), [*nodes move*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerNodeMoveCall), [*nodes nodes create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerNodeNodeCreateCall), [*nodes nodes list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerNodeNodeListCall), [*nodes patch*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerNodePatchCall) and [*patch*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::CustomerPatchCall) * deployments - * [*devices delete*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::DeploymentDeviceDeleteCall), [*devices get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::DeploymentDeviceGetCall), [*devices move*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::DeploymentDeviceMoveCall), [*devices patch*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::DeploymentDevicePatchCall), [*devices sign device*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::DeploymentDeviceSignDeviceCall), [*devices update signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::DeploymentDeviceUpdateSignedCall) and [*get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::DeploymentGetCall) + * [*devices delete*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::DeploymentDeviceDeleteCall), [*devices get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::DeploymentDeviceGetCall), [*devices move*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::DeploymentDeviceMoveCall), [*devices patch*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::DeploymentDevicePatchCall), [*devices sign device*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::DeploymentDeviceSignDeviceCall), [*devices update signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::DeploymentDeviceUpdateSignedCall) and [*get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::DeploymentGetCall) * installer - * [*generate secret*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::InstallerGenerateSecretCall) and [*validate*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::InstallerValidateCall) + * [*generate secret*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::InstallerGenerateSecretCall) and [*validate*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::InstallerValidateCall) * nodes - * [*deployments delete*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeDeploymentDeleteCall), [*deployments devices create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeDeploymentDeviceCreateCall), [*deployments devices create signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeDeploymentDeviceCreateSignedCall), [*deployments devices list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeDeploymentDeviceListCall), [*deployments get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeDeploymentGetCall), [*deployments list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeDeploymentListCall), [*deployments move*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeDeploymentMoveCall), [*deployments patch*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeDeploymentPatchCall), [*devices create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeDeviceCreateCall), [*devices create signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeDeviceCreateSignedCall), [*devices delete*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeDeviceDeleteCall), [*devices get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeDeviceGetCall), [*devices list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeDeviceListCall), [*devices move*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeDeviceMoveCall), [*devices patch*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeDevicePatchCall), [*devices sign device*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeDeviceSignDeviceCall), [*devices update signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeDeviceUpdateSignedCall), [*get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeGetCall), [*nodes create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeNodeCreateCall), [*nodes delete*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeNodeDeleteCall), [*nodes deployments create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeNodeDeploymentCreateCall), [*nodes deployments list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeNodeDeploymentListCall), [*nodes devices create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeNodeDeviceCreateCall), [*nodes devices create signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeNodeDeviceCreateSignedCall), [*nodes devices list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeNodeDeviceListCall), [*nodes get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeNodeGetCall), [*nodes list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeNodeListCall), [*nodes move*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeNodeMoveCall), [*nodes nodes create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeNodeNodeCreateCall), [*nodes nodes list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeNodeNodeListCall) and [*nodes patch*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeNodePatchCall) + * [*deployments delete*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeDeploymentDeleteCall), [*deployments devices create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeDeploymentDeviceCreateCall), [*deployments devices create signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeDeploymentDeviceCreateSignedCall), [*deployments devices list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeDeploymentDeviceListCall), [*deployments get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeDeploymentGetCall), [*deployments list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeDeploymentListCall), [*deployments move*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeDeploymentMoveCall), [*deployments patch*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeDeploymentPatchCall), [*devices create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeDeviceCreateCall), [*devices create signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeDeviceCreateSignedCall), [*devices delete*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeDeviceDeleteCall), [*devices get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeDeviceGetCall), [*devices list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeDeviceListCall), [*devices move*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeDeviceMoveCall), [*devices patch*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeDevicePatchCall), [*devices sign device*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeDeviceSignDeviceCall), [*devices update signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeDeviceUpdateSignedCall), [*get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeGetCall), [*nodes create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeNodeCreateCall), [*nodes delete*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeNodeDeleteCall), [*nodes deployments create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeNodeDeploymentCreateCall), [*nodes deployments list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeNodeDeploymentListCall), [*nodes devices create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeNodeDeviceCreateCall), [*nodes devices create signed*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeNodeDeviceCreateSignedCall), [*nodes devices list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeNodeDeviceListCall), [*nodes get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeNodeGetCall), [*nodes list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeNodeListCall), [*nodes move*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeNodeMoveCall), [*nodes nodes create*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeNodeNodeCreateCall), [*nodes nodes list*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeNodeNodeListCall) and [*nodes patch*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::NodeNodePatchCall) * policies - * [*get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::PolicyGetCall), [*set*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::PolicySetCall) and [*test*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/api::PolicyTestCall) + * [*get*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::PolicyGetCall), [*set*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::PolicySetCall) and [*test*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/api::PolicyTestCall) @@ -31,17 +31,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/SASPortalTesting)** +* **[Hub](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/SASPortalTesting)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/client::CallBuilder) -* **[Resources](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/client::CallBuilder) +* **[Resources](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/client::Part)** + * **[Parts](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -119,7 +119,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -153,17 +153,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -173,29 +173,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/client::Delegate) to the -[Method Builder](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/client::Delegate) to the +[Method Builder](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/client::RequestValue) and -[decodable](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/client::RequestValue) and +[decodable](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.0.0+20220303/google_prod_tt_sasportal1_alpha1/client::RequestValue) are moved +* [request values](https://docs.rs/google-prod_tt_sasportal1_alpha1/3.1.0+20220303/google_prod_tt_sasportal1_alpha1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/prod_tt_sasportal1_alpha1/src/api.rs b/gen/prod_tt_sasportal1_alpha1/src/api.rs index 0fae22f43e..ba600c2140 100644 --- a/gen/prod_tt_sasportal1_alpha1/src/api.rs +++ b/gen/prod_tt_sasportal1_alpha1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > SASPortalTesting<> { SASPortalTesting { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://prod-tt-sasportal.googleapis.com/".to_string(), _root_url: "https://prod-tt-sasportal.googleapis.com/".to_string(), } @@ -143,7 +143,7 @@ impl<'a, > SASPortalTesting<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1101,7 +1101,7 @@ impl client::ResponseResult for SasPortalValidateInstallerResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `deployments_create(...)`, `deployments_delete(...)`, `deployments_devices_create(...)`, `deployments_devices_create_signed(...)`, `deployments_devices_list(...)`, `deployments_get(...)`, `deployments_list(...)`, `deployments_move(...)`, `deployments_patch(...)`, `devices_create(...)`, `devices_create_signed(...)`, `devices_delete(...)`, `devices_get(...)`, `devices_list(...)`, `devices_move(...)`, `devices_patch(...)`, `devices_sign_device(...)`, `devices_update_signed(...)`, `get(...)`, `list(...)`, `nodes_create(...)`, `nodes_delete(...)`, `nodes_deployments_create(...)`, `nodes_deployments_list(...)`, `nodes_devices_create(...)`, `nodes_devices_create_signed(...)`, `nodes_devices_list(...)`, `nodes_get(...)`, `nodes_list(...)`, `nodes_move(...)`, `nodes_nodes_create(...)`, `nodes_nodes_list(...)`, `nodes_patch(...)` and `patch(...)` /// // to build up your call. @@ -1780,7 +1780,7 @@ impl<'a> CustomerMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `devices_delete(...)`, `devices_get(...)`, `devices_move(...)`, `devices_patch(...)`, `devices_sign_device(...)`, `devices_update_signed(...)` and `get(...)` /// // to build up your call. @@ -1949,7 +1949,7 @@ impl<'a> DeploymentMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `generate_secret(...)` and `validate(...)` /// // to build up your call. @@ -2024,7 +2024,7 @@ impl<'a> InstallerMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `deployments_delete(...)`, `deployments_devices_create(...)`, `deployments_devices_create_signed(...)`, `deployments_devices_list(...)`, `deployments_get(...)`, `deployments_list(...)`, `deployments_move(...)`, `deployments_patch(...)`, `devices_create(...)`, `devices_create_signed(...)`, `devices_delete(...)`, `devices_get(...)`, `devices_list(...)`, `devices_move(...)`, `devices_patch(...)`, `devices_sign_device(...)`, `devices_update_signed(...)`, `get(...)`, `nodes_create(...)`, `nodes_delete(...)`, `nodes_deployments_create(...)`, `nodes_deployments_list(...)`, `nodes_devices_create(...)`, `nodes_devices_create_signed(...)`, `nodes_devices_list(...)`, `nodes_get(...)`, `nodes_list(...)`, `nodes_move(...)`, `nodes_nodes_create(...)`, `nodes_nodes_list(...)` and `nodes_patch(...)` /// // to build up your call. @@ -2650,7 +2650,7 @@ impl<'a> NodeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `set(...)` and `test(...)` /// // to build up your call. @@ -2750,7 +2750,7 @@ impl<'a> PolicyMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3036,7 +3036,7 @@ impl<'a> CustomerDeploymentDeviceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3321,7 +3321,7 @@ impl<'a> CustomerDeploymentDeviceCreateSignedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3614,7 +3614,7 @@ impl<'a> CustomerDeploymentDeviceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3899,7 +3899,7 @@ impl<'a> CustomerDeploymentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4155,7 +4155,7 @@ impl<'a> CustomerDeploymentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4411,7 +4411,7 @@ impl<'a> CustomerDeploymentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4704,7 +4704,7 @@ impl<'a> CustomerDeploymentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4990,7 +4990,7 @@ impl<'a> CustomerDeploymentMoveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5288,7 +5288,7 @@ impl<'a> CustomerDeploymentPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5574,7 +5574,7 @@ impl<'a> CustomerDeviceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5859,7 +5859,7 @@ impl<'a> CustomerDeviceCreateSignedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6115,7 +6115,7 @@ impl<'a> CustomerDeviceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6371,7 +6371,7 @@ impl<'a> CustomerDeviceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6664,7 +6664,7 @@ impl<'a> CustomerDeviceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6950,7 +6950,7 @@ impl<'a> CustomerDeviceMoveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7248,7 +7248,7 @@ impl<'a> CustomerDevicePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7534,7 +7534,7 @@ impl<'a> CustomerDeviceSignDeviceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7820,7 +7820,7 @@ impl<'a> CustomerDeviceUpdateSignedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8105,7 +8105,7 @@ impl<'a> CustomerNodeDeploymentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8398,7 +8398,7 @@ impl<'a> CustomerNodeDeploymentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8684,7 +8684,7 @@ impl<'a> CustomerNodeDeviceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8969,7 +8969,7 @@ impl<'a> CustomerNodeDeviceCreateSignedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9262,7 +9262,7 @@ impl<'a> CustomerNodeDeviceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9547,7 +9547,7 @@ impl<'a> CustomerNodeNodeCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9840,7 +9840,7 @@ impl<'a> CustomerNodeNodeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10125,7 +10125,7 @@ impl<'a> CustomerNodeCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10381,7 +10381,7 @@ impl<'a> CustomerNodeDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10637,7 +10637,7 @@ impl<'a> CustomerNodeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10930,7 +10930,7 @@ impl<'a> CustomerNodeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11216,7 +11216,7 @@ impl<'a> CustomerNodeMoveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11513,7 +11513,7 @@ impl<'a> CustomerNodePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11769,7 +11769,7 @@ impl<'a> CustomerGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12013,7 +12013,7 @@ impl<'a> CustomerListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12310,7 +12310,7 @@ impl<'a> CustomerPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12566,7 +12566,7 @@ impl<'a> DeploymentDeviceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12823,7 +12823,7 @@ impl<'a> DeploymentDeviceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13109,7 +13109,7 @@ impl<'a> DeploymentDeviceMoveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13407,7 +13407,7 @@ impl<'a> DeploymentDevicePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13693,7 +13693,7 @@ impl<'a> DeploymentDeviceSignDeviceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13978,7 +13978,7 @@ impl<'a> DeploymentDeviceUpdateSignedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14235,7 +14235,7 @@ impl<'a> DeploymentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14484,7 +14484,7 @@ impl<'a> InstallerGenerateSecretCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14733,7 +14733,7 @@ impl<'a> InstallerValidateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15019,7 +15019,7 @@ impl<'a> NodeDeploymentDeviceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15304,7 +15304,7 @@ impl<'a> NodeDeploymentDeviceCreateSignedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15596,7 +15596,7 @@ impl<'a> NodeDeploymentDeviceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15852,7 +15852,7 @@ impl<'a> NodeDeploymentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16108,7 +16108,7 @@ impl<'a> NodeDeploymentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16401,7 +16401,7 @@ impl<'a> NodeDeploymentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16687,7 +16687,7 @@ impl<'a> NodeDeploymentMoveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16985,7 +16985,7 @@ impl<'a> NodeDeploymentPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17271,7 +17271,7 @@ impl<'a> NodeDeviceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17556,7 +17556,7 @@ impl<'a> NodeDeviceCreateSignedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17812,7 +17812,7 @@ impl<'a> NodeDeviceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18068,7 +18068,7 @@ impl<'a> NodeDeviceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18361,7 +18361,7 @@ impl<'a> NodeDeviceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18647,7 +18647,7 @@ impl<'a> NodeDeviceMoveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18945,7 +18945,7 @@ impl<'a> NodeDevicePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19231,7 +19231,7 @@ impl<'a> NodeDeviceSignDeviceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19517,7 +19517,7 @@ impl<'a> NodeDeviceUpdateSignedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19802,7 +19802,7 @@ impl<'a> NodeNodeDeploymentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20095,7 +20095,7 @@ impl<'a> NodeNodeDeploymentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20381,7 +20381,7 @@ impl<'a> NodeNodeDeviceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20666,7 +20666,7 @@ impl<'a> NodeNodeDeviceCreateSignedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20959,7 +20959,7 @@ impl<'a> NodeNodeDeviceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21244,7 +21244,7 @@ impl<'a> NodeNodeNodeCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21537,7 +21537,7 @@ impl<'a> NodeNodeNodeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21822,7 +21822,7 @@ impl<'a> NodeNodeCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22078,7 +22078,7 @@ impl<'a> NodeNodeDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22334,7 +22334,7 @@ impl<'a> NodeNodeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22627,7 +22627,7 @@ impl<'a> NodeNodeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22913,7 +22913,7 @@ impl<'a> NodeNodeMoveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23210,7 +23210,7 @@ impl<'a> NodeNodePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23467,7 +23467,7 @@ impl<'a> NodeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23716,7 +23716,7 @@ impl<'a> PolicyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23965,7 +23965,7 @@ impl<'a> PolicySetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/prod_tt_sasportal1_alpha1/src/lib.rs b/gen/prod_tt_sasportal1_alpha1/src/lib.rs index 481a53a31a..b0c2198a74 100644 --- a/gen/prod_tt_sasportal1_alpha1/src/lib.rs +++ b/gen/prod_tt_sasportal1_alpha1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *SAS Portal Testing* crate version *3.0.0+20220303*, where *20220303* is the exact revision of the *prod_tt_sasportal:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *SAS Portal Testing* crate version *3.1.0+20220303*, where *20220303* is the exact revision of the *prod_tt_sasportal:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *SAS Portal Testing* *v1_alpha1* API can be found at the //! [official documentation site](https://developers.google.com/spectrum-access-system/). @@ -120,7 +120,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = SASPortalTesting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/proximitybeacon1_beta1-cli/Cargo.toml b/gen/proximitybeacon1_beta1-cli/Cargo.toml index 4c45174735..b1ba803244 100644 --- a/gen/proximitybeacon1_beta1-cli/Cargo.toml +++ b/gen/proximitybeacon1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-proximitybeacon1_beta1-cli" -version = "3.0.0+20200127" +version = "3.1.0+20200127" authors = ["Sebastian Thiel "] description = "A complete library to interact with proximitybeacon (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/proximitybeacon1_beta1-cli" @@ -20,12 +20,12 @@ name = "proximitybeacon1-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-proximitybeacon1_beta1] path = "../proximitybeacon1_beta1" -version = "3.0.0+20200127" +version = "3.1.0+20200127" diff --git a/gen/proximitybeacon1_beta1-cli/README.md b/gen/proximitybeacon1_beta1-cli/README.md index 951d621849..5dfc3674fa 100644 --- a/gen/proximitybeacon1_beta1-cli/README.md +++ b/gen/proximitybeacon1_beta1-cli/README.md @@ -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 *proximitybeacon* API at revision *20200127*. The CLI is at version *3.0.0*. +This documentation was generated from the *proximitybeacon* API at revision *20200127*. The CLI is at version *3.1.0*. ```bash proximitybeacon1-beta1 [options] diff --git a/gen/proximitybeacon1_beta1-cli/mkdocs.yml b/gen/proximitybeacon1_beta1-cli/mkdocs.yml index caf8d8ab22..aa57e7f5bc 100644 --- a/gen/proximitybeacon1_beta1-cli/mkdocs.yml +++ b/gen/proximitybeacon1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: proximitybeacon v3.0.0+20200127 +site_name: proximitybeacon v3.1.0+20200127 site_url: http://byron.github.io/google-apis-rs/google-proximitybeacon1_beta1-cli site_description: A complete library to interact with proximitybeacon (protocol v1beta1) diff --git a/gen/proximitybeacon1_beta1-cli/src/main.rs b/gen/proximitybeacon1_beta1-cli/src/main.rs index 12828e5811..7c3e728182 100644 --- a/gen/proximitybeacon1_beta1-cli/src/main.rs +++ b/gen/proximitybeacon1_beta1-cli/src/main.rs @@ -1333,7 +1333,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/proximitybeacon1-beta1", 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::Proximitybeacon::new(client, auth), @@ -1956,7 +1962,7 @@ async fn main() { let mut app = App::new("proximitybeacon1-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20200127") + .version("3.1.0+20200127") .about("Registers, manages, indexes, and searches beacons.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_proximitybeacon1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/proximitybeacon1_beta1/Cargo.toml b/gen/proximitybeacon1_beta1/Cargo.toml index 084fc44b41..ab6c498f6b 100644 --- a/gen/proximitybeacon1_beta1/Cargo.toml +++ b/gen/proximitybeacon1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-proximitybeacon1_beta1" -version = "3.0.0+20200127" +version = "3.1.0+20200127" authors = ["Sebastian Thiel "] description = "A complete library to interact with proximitybeacon (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/proximitybeacon1_beta1" homepage = "https://developers.google.com/beacons/proximity/" -documentation = "https://docs.rs/google-proximitybeacon1_beta1/3.0.0+20200127" +documentation = "https://docs.rs/google-proximitybeacon1_beta1/3.1.0+20200127" license = "MIT" keywords = ["proximitybeacon", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/proximitybeacon1_beta1/README.md b/gen/proximitybeacon1_beta1/README.md index 1287dff9bf..471d2ddc3c 100644 --- a/gen/proximitybeacon1_beta1/README.md +++ b/gen/proximitybeacon1_beta1/README.md @@ -5,24 +5,24 @@ DO NOT EDIT ! --> The `google-proximitybeacon1_beta1` library allows access to all features of the *Google proximitybeacon* service. -This documentation was generated from *proximitybeacon* crate version *3.0.0+20200127*, where *20200127* is the exact revision of the *proximitybeacon:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *proximitybeacon* crate version *3.1.0+20200127*, where *20200127* is the exact revision of the *proximitybeacon:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *proximitybeacon* *v1_beta1* API can be found at the [official documentation site](https://developers.google.com/beacons/proximity/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-proximitybeacon1_beta1/3.0.0+20200127/google_proximitybeacon1_beta1/Proximitybeacon) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-proximitybeacon1_beta1/3.1.0+20200127/google_proximitybeacon1_beta1/Proximitybeacon) ... * beaconinfo - * [*getforobserved*](https://docs.rs/google-proximitybeacon1_beta1/3.0.0+20200127/google_proximitybeacon1_beta1/api::BeaconinfoGetforobservedCall) -* [beacons](https://docs.rs/google-proximitybeacon1_beta1/3.0.0+20200127/google_proximitybeacon1_beta1/api::Beacon) - * [*activate*](https://docs.rs/google-proximitybeacon1_beta1/3.0.0+20200127/google_proximitybeacon1_beta1/api::BeaconActivateCall), [*attachments batch delete*](https://docs.rs/google-proximitybeacon1_beta1/3.0.0+20200127/google_proximitybeacon1_beta1/api::BeaconAttachmentBatchDeleteCall), [*attachments create*](https://docs.rs/google-proximitybeacon1_beta1/3.0.0+20200127/google_proximitybeacon1_beta1/api::BeaconAttachmentCreateCall), [*attachments delete*](https://docs.rs/google-proximitybeacon1_beta1/3.0.0+20200127/google_proximitybeacon1_beta1/api::BeaconAttachmentDeleteCall), [*attachments list*](https://docs.rs/google-proximitybeacon1_beta1/3.0.0+20200127/google_proximitybeacon1_beta1/api::BeaconAttachmentListCall), [*deactivate*](https://docs.rs/google-proximitybeacon1_beta1/3.0.0+20200127/google_proximitybeacon1_beta1/api::BeaconDeactivateCall), [*decommission*](https://docs.rs/google-proximitybeacon1_beta1/3.0.0+20200127/google_proximitybeacon1_beta1/api::BeaconDecommissionCall), [*delete*](https://docs.rs/google-proximitybeacon1_beta1/3.0.0+20200127/google_proximitybeacon1_beta1/api::BeaconDeleteCall), [*diagnostics list*](https://docs.rs/google-proximitybeacon1_beta1/3.0.0+20200127/google_proximitybeacon1_beta1/api::BeaconDiagnosticListCall), [*get*](https://docs.rs/google-proximitybeacon1_beta1/3.0.0+20200127/google_proximitybeacon1_beta1/api::BeaconGetCall), [*list*](https://docs.rs/google-proximitybeacon1_beta1/3.0.0+20200127/google_proximitybeacon1_beta1/api::BeaconListCall), [*register*](https://docs.rs/google-proximitybeacon1_beta1/3.0.0+20200127/google_proximitybeacon1_beta1/api::BeaconRegisterCall) and [*update*](https://docs.rs/google-proximitybeacon1_beta1/3.0.0+20200127/google_proximitybeacon1_beta1/api::BeaconUpdateCall) -* [namespaces](https://docs.rs/google-proximitybeacon1_beta1/3.0.0+20200127/google_proximitybeacon1_beta1/api::Namespace) - * [*list*](https://docs.rs/google-proximitybeacon1_beta1/3.0.0+20200127/google_proximitybeacon1_beta1/api::NamespaceListCall) and [*update*](https://docs.rs/google-proximitybeacon1_beta1/3.0.0+20200127/google_proximitybeacon1_beta1/api::NamespaceUpdateCall) + * [*getforobserved*](https://docs.rs/google-proximitybeacon1_beta1/3.1.0+20200127/google_proximitybeacon1_beta1/api::BeaconinfoGetforobservedCall) +* [beacons](https://docs.rs/google-proximitybeacon1_beta1/3.1.0+20200127/google_proximitybeacon1_beta1/api::Beacon) + * [*activate*](https://docs.rs/google-proximitybeacon1_beta1/3.1.0+20200127/google_proximitybeacon1_beta1/api::BeaconActivateCall), [*attachments batch delete*](https://docs.rs/google-proximitybeacon1_beta1/3.1.0+20200127/google_proximitybeacon1_beta1/api::BeaconAttachmentBatchDeleteCall), [*attachments create*](https://docs.rs/google-proximitybeacon1_beta1/3.1.0+20200127/google_proximitybeacon1_beta1/api::BeaconAttachmentCreateCall), [*attachments delete*](https://docs.rs/google-proximitybeacon1_beta1/3.1.0+20200127/google_proximitybeacon1_beta1/api::BeaconAttachmentDeleteCall), [*attachments list*](https://docs.rs/google-proximitybeacon1_beta1/3.1.0+20200127/google_proximitybeacon1_beta1/api::BeaconAttachmentListCall), [*deactivate*](https://docs.rs/google-proximitybeacon1_beta1/3.1.0+20200127/google_proximitybeacon1_beta1/api::BeaconDeactivateCall), [*decommission*](https://docs.rs/google-proximitybeacon1_beta1/3.1.0+20200127/google_proximitybeacon1_beta1/api::BeaconDecommissionCall), [*delete*](https://docs.rs/google-proximitybeacon1_beta1/3.1.0+20200127/google_proximitybeacon1_beta1/api::BeaconDeleteCall), [*diagnostics list*](https://docs.rs/google-proximitybeacon1_beta1/3.1.0+20200127/google_proximitybeacon1_beta1/api::BeaconDiagnosticListCall), [*get*](https://docs.rs/google-proximitybeacon1_beta1/3.1.0+20200127/google_proximitybeacon1_beta1/api::BeaconGetCall), [*list*](https://docs.rs/google-proximitybeacon1_beta1/3.1.0+20200127/google_proximitybeacon1_beta1/api::BeaconListCall), [*register*](https://docs.rs/google-proximitybeacon1_beta1/3.1.0+20200127/google_proximitybeacon1_beta1/api::BeaconRegisterCall) and [*update*](https://docs.rs/google-proximitybeacon1_beta1/3.1.0+20200127/google_proximitybeacon1_beta1/api::BeaconUpdateCall) +* [namespaces](https://docs.rs/google-proximitybeacon1_beta1/3.1.0+20200127/google_proximitybeacon1_beta1/api::Namespace) + * [*list*](https://docs.rs/google-proximitybeacon1_beta1/3.1.0+20200127/google_proximitybeacon1_beta1/api::NamespaceListCall) and [*update*](https://docs.rs/google-proximitybeacon1_beta1/3.1.0+20200127/google_proximitybeacon1_beta1/api::NamespaceUpdateCall) Other activities are ... -* [get eidparams](https://docs.rs/google-proximitybeacon1_beta1/3.0.0+20200127/google_proximitybeacon1_beta1/api::MethodGetEidparamCall) +* [get eidparams](https://docs.rs/google-proximitybeacon1_beta1/3.1.0+20200127/google_proximitybeacon1_beta1/api::MethodGetEidparamCall) @@ -30,17 +30,17 @@ Other activities are ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-proximitybeacon1_beta1/3.0.0+20200127/google_proximitybeacon1_beta1/Proximitybeacon)** +* **[Hub](https://docs.rs/google-proximitybeacon1_beta1/3.1.0+20200127/google_proximitybeacon1_beta1/Proximitybeacon)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-proximitybeacon1_beta1/3.0.0+20200127/google_proximitybeacon1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-proximitybeacon1_beta1/3.0.0+20200127/google_proximitybeacon1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-proximitybeacon1_beta1/3.0.0+20200127/google_proximitybeacon1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-proximitybeacon1_beta1/3.1.0+20200127/google_proximitybeacon1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-proximitybeacon1_beta1/3.1.0+20200127/google_proximitybeacon1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-proximitybeacon1_beta1/3.1.0+20200127/google_proximitybeacon1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-proximitybeacon1_beta1/3.0.0+20200127/google_proximitybeacon1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-proximitybeacon1_beta1/3.1.0+20200127/google_proximitybeacon1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-proximitybeacon1_beta1/3.0.0+20200127/google_proximitybeacon1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-proximitybeacon1_beta1/3.1.0+20200127/google_proximitybeacon1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -109,7 +109,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -141,17 +141,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-proximitybeacon1_beta1/3.0.0+20200127/google_proximitybeacon1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-proximitybeacon1_beta1/3.1.0+20200127/google_proximitybeacon1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-proximitybeacon1_beta1/3.0.0+20200127/google_proximitybeacon1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-proximitybeacon1_beta1/3.1.0+20200127/google_proximitybeacon1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-proximitybeacon1_beta1/3.0.0+20200127/google_proximitybeacon1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-proximitybeacon1_beta1/3.1.0+20200127/google_proximitybeacon1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-proximitybeacon1_beta1/3.0.0+20200127/google_proximitybeacon1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-proximitybeacon1_beta1/3.1.0+20200127/google_proximitybeacon1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -161,29 +161,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-proximitybeacon1_beta1/3.0.0+20200127/google_proximitybeacon1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-proximitybeacon1_beta1/3.0.0+20200127/google_proximitybeacon1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-proximitybeacon1_beta1/3.1.0+20200127/google_proximitybeacon1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-proximitybeacon1_beta1/3.1.0+20200127/google_proximitybeacon1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-proximitybeacon1_beta1/3.0.0+20200127/google_proximitybeacon1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-proximitybeacon1_beta1/3.1.0+20200127/google_proximitybeacon1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-proximitybeacon1_beta1/3.0.0+20200127/google_proximitybeacon1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-proximitybeacon1_beta1/3.0.0+20200127/google_proximitybeacon1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-proximitybeacon1_beta1/3.1.0+20200127/google_proximitybeacon1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-proximitybeacon1_beta1/3.1.0+20200127/google_proximitybeacon1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-proximitybeacon1_beta1/3.0.0+20200127/google_proximitybeacon1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-proximitybeacon1_beta1/3.1.0+20200127/google_proximitybeacon1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-proximitybeacon1_beta1/3.0.0+20200127/google_proximitybeacon1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-proximitybeacon1_beta1/3.1.0+20200127/google_proximitybeacon1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-proximitybeacon1_beta1/3.0.0+20200127/google_proximitybeacon1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-proximitybeacon1_beta1/3.1.0+20200127/google_proximitybeacon1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/proximitybeacon1_beta1/src/api.rs b/gen/proximitybeacon1_beta1/src/api.rs index ee7ba0af7b..081f9710f2 100644 --- a/gen/proximitybeacon1_beta1/src/api.rs +++ b/gen/proximitybeacon1_beta1/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -117,7 +117,7 @@ impl<'a, > Proximitybeacon<> { Proximitybeacon { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://proximitybeacon.googleapis.com/".to_string(), _root_url: "https://proximitybeacon.googleapis.com/".to_string(), } @@ -137,7 +137,7 @@ impl<'a, > Proximitybeacon<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -852,7 +852,7 @@ impl client::Part for Observation {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `getforobserved(...)` /// // to build up your call. @@ -913,7 +913,7 @@ impl<'a> BeaconinfoMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `activate(...)`, `attachments_batch_delete(...)`, `attachments_create(...)`, `attachments_delete(...)`, `attachments_list(...)`, `deactivate(...)`, `decommission(...)`, `delete(...)`, `diagnostics_list(...)`, `get(...)`, `list(...)`, `register(...)` and `update(...)` /// // to build up your call. @@ -1373,7 +1373,7 @@ impl<'a> BeaconMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` and `update(...)` /// // to build up your call. @@ -1456,7 +1456,7 @@ impl<'a> NamespaceMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get_eidparams(...)` /// // to build up your call. @@ -1527,7 +1527,7 @@ impl<'a> MethodMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1756,7 +1756,7 @@ impl<'a> BeaconinfoGetforobservedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2067,7 +2067,7 @@ impl<'a> BeaconAttachmentBatchDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2382,7 +2382,7 @@ impl<'a> BeaconAttachmentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2668,7 +2668,7 @@ impl<'a> BeaconAttachmentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2968,7 +2968,7 @@ impl<'a> BeaconAttachmentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3285,7 +3285,7 @@ impl<'a> BeaconDiagnosticListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3570,7 +3570,7 @@ impl<'a> BeaconActivateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3855,7 +3855,7 @@ impl<'a> BeaconDeactivateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4139,7 +4139,7 @@ impl<'a> BeaconDecommissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4426,7 +4426,7 @@ impl<'a> BeaconDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4710,7 +4710,7 @@ impl<'a> BeaconGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5054,7 +5054,7 @@ impl<'a> BeaconListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5329,7 +5329,7 @@ impl<'a> BeaconRegisterCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5642,7 +5642,7 @@ impl<'a> BeaconUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5876,7 +5876,7 @@ impl<'a> NamespaceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6183,7 +6183,7 @@ impl<'a> NamespaceUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/proximitybeacon1_beta1/src/lib.rs b/gen/proximitybeacon1_beta1/src/lib.rs index 6d48c427ce..41691a7d7c 100644 --- a/gen/proximitybeacon1_beta1/src/lib.rs +++ b/gen/proximitybeacon1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *proximitybeacon* crate version *3.0.0+20200127*, where *20200127* is the exact revision of the *proximitybeacon:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *proximitybeacon* crate version *3.1.0+20200127*, where *20200127* is the exact revision of the *proximitybeacon:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *proximitybeacon* *v1_beta1* API can be found at the //! [official documentation site](https://developers.google.com/beacons/proximity/). @@ -110,7 +110,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Proximitybeacon::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/pubsub1-cli/Cargo.toml b/gen/pubsub1-cli/Cargo.toml index 4bcc5d76b7..0b0a9c7118 100644 --- a/gen/pubsub1-cli/Cargo.toml +++ b/gen/pubsub1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-pubsub1-cli" -version = "3.0.0+20220221" +version = "3.1.0+20220221" authors = ["Sebastian Thiel "] description = "A complete library to interact with Pubsub (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/pubsub1-cli" @@ -20,12 +20,12 @@ name = "pubsub1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-pubsub1] path = "../pubsub1" -version = "3.0.0+20220221" +version = "3.1.0+20220221" diff --git a/gen/pubsub1-cli/README.md b/gen/pubsub1-cli/README.md index c8a644fe4e..3ddfb87f95 100644 --- a/gen/pubsub1-cli/README.md +++ b/gen/pubsub1-cli/README.md @@ -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 *Pubsub* API at revision *20220221*. The CLI is at version *3.0.0*. +This documentation was generated from the *Pubsub* API at revision *20220221*. The CLI is at version *3.1.0*. ```bash pubsub1 [options] diff --git a/gen/pubsub1-cli/mkdocs.yml b/gen/pubsub1-cli/mkdocs.yml index 233ac12fa7..c182dda519 100644 --- a/gen/pubsub1-cli/mkdocs.yml +++ b/gen/pubsub1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Pubsub v3.0.0+20220221 +site_name: Pubsub v3.1.0+20220221 site_url: http://byron.github.io/google-apis-rs/google-pubsub1-cli site_description: A complete library to interact with Pubsub (protocol v1) diff --git a/gen/pubsub1-cli/src/main.rs b/gen/pubsub1-cli/src/main.rs index 4dc57c3a92..d737bc5ca0 100644 --- a/gen/pubsub1-cli/src/main.rs +++ b/gen/pubsub1-cli/src/main.rs @@ -3306,7 +3306,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/pubsub1", 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::Pubsub::new(client, auth), @@ -4410,7 +4416,7 @@ async fn main() { let mut app = App::new("pubsub1") .author("Sebastian Thiel ") - .version("3.0.0+20220221") + .version("3.1.0+20220221") .about("Provides reliable, many-to-many, asynchronous messaging between applications. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_pubsub1_cli") .arg(Arg::with_name("url") diff --git a/gen/pubsub1/Cargo.toml b/gen/pubsub1/Cargo.toml index b36ab0b497..fa6f254f05 100644 --- a/gen/pubsub1/Cargo.toml +++ b/gen/pubsub1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-pubsub1" -version = "3.0.0+20220221" +version = "3.1.0+20220221" authors = ["Sebastian Thiel "] description = "A complete library to interact with Pubsub (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/pubsub1" homepage = "https://cloud.google.com/pubsub/docs" -documentation = "https://docs.rs/google-pubsub1/3.0.0+20220221" +documentation = "https://docs.rs/google-pubsub1/3.1.0+20220221" license = "MIT" keywords = ["pubsub", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/pubsub1/README.md b/gen/pubsub1/README.md index f1421bcd9b..ccdc900f41 100644 --- a/gen/pubsub1/README.md +++ b/gen/pubsub1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-pubsub1` library allows access to all features of the *Google Pubsub* service. -This documentation was generated from *Pubsub* crate version *3.0.0+20220221*, where *20220221* is the exact revision of the *pubsub:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Pubsub* crate version *3.1.0+20220221*, where *20220221* is the exact revision of the *pubsub:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Pubsub* *v1* API can be found at the [official documentation site](https://cloud.google.com/pubsub/docs). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/Pubsub) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/Pubsub) ... * projects - * [*schemas create*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/api::ProjectSchemaCreateCall), [*schemas delete*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/api::ProjectSchemaDeleteCall), [*schemas get*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/api::ProjectSchemaGetCall), [*schemas get iam policy*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/api::ProjectSchemaGetIamPolicyCall), [*schemas list*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/api::ProjectSchemaListCall), [*schemas set iam policy*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/api::ProjectSchemaSetIamPolicyCall), [*schemas test iam permissions*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/api::ProjectSchemaTestIamPermissionCall), [*schemas validate*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/api::ProjectSchemaValidateCall), [*schemas validate message*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/api::ProjectSchemaValidateMessageCall), [*snapshots create*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/api::ProjectSnapshotCreateCall), [*snapshots delete*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/api::ProjectSnapshotDeleteCall), [*snapshots get*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/api::ProjectSnapshotGetCall), [*snapshots get iam policy*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/api::ProjectSnapshotGetIamPolicyCall), [*snapshots list*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/api::ProjectSnapshotListCall), [*snapshots patch*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/api::ProjectSnapshotPatchCall), [*snapshots set iam policy*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/api::ProjectSnapshotSetIamPolicyCall), [*snapshots test iam permissions*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/api::ProjectSnapshotTestIamPermissionCall), [*subscriptions acknowledge*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/api::ProjectSubscriptionAcknowledgeCall), [*subscriptions create*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/api::ProjectSubscriptionCreateCall), [*subscriptions delete*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/api::ProjectSubscriptionDeleteCall), [*subscriptions detach*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/api::ProjectSubscriptionDetachCall), [*subscriptions get*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/api::ProjectSubscriptionGetCall), [*subscriptions get iam policy*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/api::ProjectSubscriptionGetIamPolicyCall), [*subscriptions list*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/api::ProjectSubscriptionListCall), [*subscriptions modify ack deadline*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/api::ProjectSubscriptionModifyAckDeadlineCall), [*subscriptions modify push config*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/api::ProjectSubscriptionModifyPushConfigCall), [*subscriptions patch*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/api::ProjectSubscriptionPatchCall), [*subscriptions pull*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/api::ProjectSubscriptionPullCall), [*subscriptions seek*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/api::ProjectSubscriptionSeekCall), [*subscriptions set iam policy*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/api::ProjectSubscriptionSetIamPolicyCall), [*subscriptions test iam permissions*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/api::ProjectSubscriptionTestIamPermissionCall), [*topics create*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/api::ProjectTopicCreateCall), [*topics delete*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/api::ProjectTopicDeleteCall), [*topics get*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/api::ProjectTopicGetCall), [*topics get iam policy*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/api::ProjectTopicGetIamPolicyCall), [*topics list*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/api::ProjectTopicListCall), [*topics patch*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/api::ProjectTopicPatchCall), [*topics publish*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/api::ProjectTopicPublishCall), [*topics set iam policy*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/api::ProjectTopicSetIamPolicyCall), [*topics snapshots list*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/api::ProjectTopicSnapshotListCall), [*topics subscriptions list*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/api::ProjectTopicSubscriptionListCall) and [*topics test iam permissions*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/api::ProjectTopicTestIamPermissionCall) + * [*schemas create*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/api::ProjectSchemaCreateCall), [*schemas delete*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/api::ProjectSchemaDeleteCall), [*schemas get*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/api::ProjectSchemaGetCall), [*schemas get iam policy*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/api::ProjectSchemaGetIamPolicyCall), [*schemas list*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/api::ProjectSchemaListCall), [*schemas set iam policy*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/api::ProjectSchemaSetIamPolicyCall), [*schemas test iam permissions*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/api::ProjectSchemaTestIamPermissionCall), [*schemas validate*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/api::ProjectSchemaValidateCall), [*schemas validate message*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/api::ProjectSchemaValidateMessageCall), [*snapshots create*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/api::ProjectSnapshotCreateCall), [*snapshots delete*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/api::ProjectSnapshotDeleteCall), [*snapshots get*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/api::ProjectSnapshotGetCall), [*snapshots get iam policy*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/api::ProjectSnapshotGetIamPolicyCall), [*snapshots list*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/api::ProjectSnapshotListCall), [*snapshots patch*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/api::ProjectSnapshotPatchCall), [*snapshots set iam policy*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/api::ProjectSnapshotSetIamPolicyCall), [*snapshots test iam permissions*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/api::ProjectSnapshotTestIamPermissionCall), [*subscriptions acknowledge*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/api::ProjectSubscriptionAcknowledgeCall), [*subscriptions create*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/api::ProjectSubscriptionCreateCall), [*subscriptions delete*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/api::ProjectSubscriptionDeleteCall), [*subscriptions detach*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/api::ProjectSubscriptionDetachCall), [*subscriptions get*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/api::ProjectSubscriptionGetCall), [*subscriptions get iam policy*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/api::ProjectSubscriptionGetIamPolicyCall), [*subscriptions list*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/api::ProjectSubscriptionListCall), [*subscriptions modify ack deadline*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/api::ProjectSubscriptionModifyAckDeadlineCall), [*subscriptions modify push config*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/api::ProjectSubscriptionModifyPushConfigCall), [*subscriptions patch*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/api::ProjectSubscriptionPatchCall), [*subscriptions pull*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/api::ProjectSubscriptionPullCall), [*subscriptions seek*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/api::ProjectSubscriptionSeekCall), [*subscriptions set iam policy*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/api::ProjectSubscriptionSetIamPolicyCall), [*subscriptions test iam permissions*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/api::ProjectSubscriptionTestIamPermissionCall), [*topics create*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/api::ProjectTopicCreateCall), [*topics delete*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/api::ProjectTopicDeleteCall), [*topics get*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/api::ProjectTopicGetCall), [*topics get iam policy*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/api::ProjectTopicGetIamPolicyCall), [*topics list*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/api::ProjectTopicListCall), [*topics patch*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/api::ProjectTopicPatchCall), [*topics publish*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/api::ProjectTopicPublishCall), [*topics set iam policy*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/api::ProjectTopicSetIamPolicyCall), [*topics snapshots list*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/api::ProjectTopicSnapshotListCall), [*topics subscriptions list*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/api::ProjectTopicSubscriptionListCall) and [*topics test iam permissions*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/api::ProjectTopicTestIamPermissionCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/Pubsub)** +* **[Hub](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/Pubsub)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/client::CallBuilder) -* **[Resources](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/client::CallBuilder) +* **[Resources](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/client::Part)** + * **[Parts](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -97,7 +97,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -126,17 +126,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -146,29 +146,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/client::Delegate) to the -[Method Builder](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/client::Delegate) to the +[Method Builder](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/client::RequestValue) and -[decodable](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/client::RequestValue) and +[decodable](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-pubsub1/3.0.0+20220221/google_pubsub1/client::RequestValue) are moved +* [request values](https://docs.rs/google-pubsub1/3.1.0+20220221/google_pubsub1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/pubsub1/src/api.rs b/gen/pubsub1/src/api.rs index fff7035040..ae49b86b3a 100644 --- a/gen/pubsub1/src/api.rs +++ b/gen/pubsub1/src/api.rs @@ -74,7 +74,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -118,7 +118,7 @@ impl<'a, > Pubsub<> { Pubsub { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://pubsub.googleapis.com/".to_string(), _root_url: "https://pubsub.googleapis.com/".to_string(), } @@ -129,7 +129,7 @@ impl<'a, > Pubsub<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1106,7 +1106,7 @@ impl client::ResponseResult for ValidateSchemaResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `schemas_create(...)`, `schemas_delete(...)`, `schemas_get(...)`, `schemas_get_iam_policy(...)`, `schemas_list(...)`, `schemas_set_iam_policy(...)`, `schemas_test_iam_permissions(...)`, `schemas_validate(...)`, `schemas_validate_message(...)`, `snapshots_create(...)`, `snapshots_delete(...)`, `snapshots_get(...)`, `snapshots_get_iam_policy(...)`, `snapshots_list(...)`, `snapshots_patch(...)`, `snapshots_set_iam_policy(...)`, `snapshots_test_iam_permissions(...)`, `subscriptions_acknowledge(...)`, `subscriptions_create(...)`, `subscriptions_delete(...)`, `subscriptions_detach(...)`, `subscriptions_get(...)`, `subscriptions_get_iam_policy(...)`, `subscriptions_list(...)`, `subscriptions_modify_ack_deadline(...)`, `subscriptions_modify_push_config(...)`, `subscriptions_patch(...)`, `subscriptions_pull(...)`, `subscriptions_seek(...)`, `subscriptions_set_iam_policy(...)`, `subscriptions_test_iam_permissions(...)`, `topics_create(...)`, `topics_delete(...)`, `topics_get(...)`, `topics_get_iam_policy(...)`, `topics_list(...)`, `topics_patch(...)`, `topics_publish(...)`, `topics_set_iam_policy(...)`, `topics_snapshots_list(...)`, `topics_subscriptions_list(...)` and `topics_test_iam_permissions(...)` /// // to build up your call. @@ -1934,7 +1934,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2231,7 +2231,7 @@ impl<'a> ProjectSchemaCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2487,7 +2487,7 @@ impl<'a> ProjectSchemaDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2755,7 +2755,7 @@ impl<'a> ProjectSchemaGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3023,7 +3023,7 @@ impl<'a> ProjectSchemaGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3316,7 +3316,7 @@ impl<'a> ProjectSchemaListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3602,7 +3602,7 @@ impl<'a> ProjectSchemaSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3888,7 +3888,7 @@ impl<'a> ProjectSchemaTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4174,7 +4174,7 @@ impl<'a> ProjectSchemaValidateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4460,7 +4460,7 @@ impl<'a> ProjectSchemaValidateMessageCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4745,7 +4745,7 @@ impl<'a> ProjectSnapshotCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5001,7 +5001,7 @@ impl<'a> ProjectSnapshotDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5257,7 +5257,7 @@ impl<'a> ProjectSnapshotGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5525,7 +5525,7 @@ impl<'a> ProjectSnapshotGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5806,7 +5806,7 @@ impl<'a> ProjectSnapshotListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6092,7 +6092,7 @@ impl<'a> ProjectSnapshotPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6378,7 +6378,7 @@ impl<'a> ProjectSnapshotSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6664,7 +6664,7 @@ impl<'a> ProjectSnapshotTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6950,7 +6950,7 @@ impl<'a> ProjectSubscriptionAcknowledgeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7235,7 +7235,7 @@ impl<'a> ProjectSubscriptionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7491,7 +7491,7 @@ impl<'a> ProjectSubscriptionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7747,7 +7747,7 @@ impl<'a> ProjectSubscriptionDetachCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8003,7 +8003,7 @@ impl<'a> ProjectSubscriptionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8271,7 +8271,7 @@ impl<'a> ProjectSubscriptionGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8552,7 +8552,7 @@ impl<'a> ProjectSubscriptionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8838,7 +8838,7 @@ impl<'a> ProjectSubscriptionModifyAckDeadlineCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9124,7 +9124,7 @@ impl<'a> ProjectSubscriptionModifyPushConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9410,7 +9410,7 @@ impl<'a> ProjectSubscriptionPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9696,7 +9696,7 @@ impl<'a> ProjectSubscriptionPullCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9982,7 +9982,7 @@ impl<'a> ProjectSubscriptionSeekCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10268,7 +10268,7 @@ impl<'a> ProjectSubscriptionSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10553,7 +10553,7 @@ impl<'a> ProjectSubscriptionTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10833,7 +10833,7 @@ impl<'a> ProjectTopicSnapshotListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11114,7 +11114,7 @@ impl<'a> ProjectTopicSubscriptionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11399,7 +11399,7 @@ impl<'a> ProjectTopicCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11655,7 +11655,7 @@ impl<'a> ProjectTopicDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11911,7 +11911,7 @@ impl<'a> ProjectTopicGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12179,7 +12179,7 @@ impl<'a> ProjectTopicGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12460,7 +12460,7 @@ impl<'a> ProjectTopicListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12746,7 +12746,7 @@ impl<'a> ProjectTopicPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13032,7 +13032,7 @@ impl<'a> ProjectTopicPublishCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13318,7 +13318,7 @@ impl<'a> ProjectTopicSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/pubsub1/src/lib.rs b/gen/pubsub1/src/lib.rs index 590fa58da9..4421c4cc65 100644 --- a/gen/pubsub1/src/lib.rs +++ b/gen/pubsub1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Pubsub* crate version *3.0.0+20220221*, where *20220221* is the exact revision of the *pubsub:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Pubsub* crate version *3.1.0+20220221*, where *20220221* is the exact revision of the *pubsub:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Pubsub* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/pubsub/docs). @@ -98,7 +98,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/pubsub1_beta2-cli/Cargo.toml b/gen/pubsub1_beta2-cli/Cargo.toml index cbcfd4c807..06860f26c9 100644 --- a/gen/pubsub1_beta2-cli/Cargo.toml +++ b/gen/pubsub1_beta2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-pubsub1_beta2-cli" -version = "3.0.0+20220221" +version = "3.1.0+20220221" authors = ["Sebastian Thiel "] description = "A complete library to interact with Pubsub (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/pubsub1_beta2-cli" @@ -20,12 +20,12 @@ name = "pubsub1-beta2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-pubsub1_beta2] path = "../pubsub1_beta2" -version = "3.0.0+20220221" +version = "3.1.0+20220221" diff --git a/gen/pubsub1_beta2-cli/README.md b/gen/pubsub1_beta2-cli/README.md index b57b6df83b..2b1621f466 100644 --- a/gen/pubsub1_beta2-cli/README.md +++ b/gen/pubsub1_beta2-cli/README.md @@ -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 *Pubsub* API at revision *20220221*. The CLI is at version *3.0.0*. +This documentation was generated from the *Pubsub* API at revision *20220221*. The CLI is at version *3.1.0*. ```bash pubsub1-beta2 [options] diff --git a/gen/pubsub1_beta2-cli/mkdocs.yml b/gen/pubsub1_beta2-cli/mkdocs.yml index 6ddd2481b1..1992919245 100644 --- a/gen/pubsub1_beta2-cli/mkdocs.yml +++ b/gen/pubsub1_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Pubsub v3.0.0+20220221 +site_name: Pubsub v3.1.0+20220221 site_url: http://byron.github.io/google-apis-rs/google-pubsub1_beta2-cli site_description: A complete library to interact with Pubsub (protocol v1beta2) diff --git a/gen/pubsub1_beta2-cli/src/main.rs b/gen/pubsub1_beta2-cli/src/main.rs index 70b12c5212..5f6be9d352 100644 --- a/gen/pubsub1_beta2-cli/src/main.rs +++ b/gen/pubsub1_beta2-cli/src/main.rs @@ -1594,7 +1594,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/pubsub1-beta2", 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::Pubsub::new(client, auth), @@ -2142,7 +2148,7 @@ async fn main() { let mut app = App::new("pubsub1-beta2") .author("Sebastian Thiel ") - .version("3.0.0+20220221") + .version("3.1.0+20220221") .about("Provides reliable, many-to-many, asynchronous messaging between applications. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_pubsub1_beta2_cli") .arg(Arg::with_name("url") diff --git a/gen/pubsub1_beta2/Cargo.toml b/gen/pubsub1_beta2/Cargo.toml index 3eb66f8f84..2de1082cb4 100644 --- a/gen/pubsub1_beta2/Cargo.toml +++ b/gen/pubsub1_beta2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-pubsub1_beta2" -version = "3.0.0+20220221" +version = "3.1.0+20220221" authors = ["Sebastian Thiel "] description = "A complete library to interact with Pubsub (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/pubsub1_beta2" homepage = "https://cloud.google.com/pubsub/docs" -documentation = "https://docs.rs/google-pubsub1_beta2/3.0.0+20220221" +documentation = "https://docs.rs/google-pubsub1_beta2/3.1.0+20220221" license = "MIT" keywords = ["pubsub", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/pubsub1_beta2/README.md b/gen/pubsub1_beta2/README.md index 5a37cd98cf..f1352a26dd 100644 --- a/gen/pubsub1_beta2/README.md +++ b/gen/pubsub1_beta2/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-pubsub1_beta2` library allows access to all features of the *Google Pubsub* service. -This documentation was generated from *Pubsub* crate version *3.0.0+20220221*, where *20220221* is the exact revision of the *pubsub:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Pubsub* crate version *3.1.0+20220221*, where *20220221* is the exact revision of the *pubsub:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Pubsub* *v1_beta2* API can be found at the [official documentation site](https://cloud.google.com/pubsub/docs). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-pubsub1_beta2/3.0.0+20220221/google_pubsub1_beta2/Pubsub) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-pubsub1_beta2/3.1.0+20220221/google_pubsub1_beta2/Pubsub) ... * projects - * [*subscriptions acknowledge*](https://docs.rs/google-pubsub1_beta2/3.0.0+20220221/google_pubsub1_beta2/api::ProjectSubscriptionAcknowledgeCall), [*subscriptions create*](https://docs.rs/google-pubsub1_beta2/3.0.0+20220221/google_pubsub1_beta2/api::ProjectSubscriptionCreateCall), [*subscriptions delete*](https://docs.rs/google-pubsub1_beta2/3.0.0+20220221/google_pubsub1_beta2/api::ProjectSubscriptionDeleteCall), [*subscriptions get*](https://docs.rs/google-pubsub1_beta2/3.0.0+20220221/google_pubsub1_beta2/api::ProjectSubscriptionGetCall), [*subscriptions get iam policy*](https://docs.rs/google-pubsub1_beta2/3.0.0+20220221/google_pubsub1_beta2/api::ProjectSubscriptionGetIamPolicyCall), [*subscriptions list*](https://docs.rs/google-pubsub1_beta2/3.0.0+20220221/google_pubsub1_beta2/api::ProjectSubscriptionListCall), [*subscriptions modify ack deadline*](https://docs.rs/google-pubsub1_beta2/3.0.0+20220221/google_pubsub1_beta2/api::ProjectSubscriptionModifyAckDeadlineCall), [*subscriptions modify push config*](https://docs.rs/google-pubsub1_beta2/3.0.0+20220221/google_pubsub1_beta2/api::ProjectSubscriptionModifyPushConfigCall), [*subscriptions pull*](https://docs.rs/google-pubsub1_beta2/3.0.0+20220221/google_pubsub1_beta2/api::ProjectSubscriptionPullCall), [*subscriptions set iam policy*](https://docs.rs/google-pubsub1_beta2/3.0.0+20220221/google_pubsub1_beta2/api::ProjectSubscriptionSetIamPolicyCall), [*subscriptions test iam permissions*](https://docs.rs/google-pubsub1_beta2/3.0.0+20220221/google_pubsub1_beta2/api::ProjectSubscriptionTestIamPermissionCall), [*topics create*](https://docs.rs/google-pubsub1_beta2/3.0.0+20220221/google_pubsub1_beta2/api::ProjectTopicCreateCall), [*topics delete*](https://docs.rs/google-pubsub1_beta2/3.0.0+20220221/google_pubsub1_beta2/api::ProjectTopicDeleteCall), [*topics get*](https://docs.rs/google-pubsub1_beta2/3.0.0+20220221/google_pubsub1_beta2/api::ProjectTopicGetCall), [*topics get iam policy*](https://docs.rs/google-pubsub1_beta2/3.0.0+20220221/google_pubsub1_beta2/api::ProjectTopicGetIamPolicyCall), [*topics list*](https://docs.rs/google-pubsub1_beta2/3.0.0+20220221/google_pubsub1_beta2/api::ProjectTopicListCall), [*topics publish*](https://docs.rs/google-pubsub1_beta2/3.0.0+20220221/google_pubsub1_beta2/api::ProjectTopicPublishCall), [*topics set iam policy*](https://docs.rs/google-pubsub1_beta2/3.0.0+20220221/google_pubsub1_beta2/api::ProjectTopicSetIamPolicyCall), [*topics subscriptions list*](https://docs.rs/google-pubsub1_beta2/3.0.0+20220221/google_pubsub1_beta2/api::ProjectTopicSubscriptionListCall) and [*topics test iam permissions*](https://docs.rs/google-pubsub1_beta2/3.0.0+20220221/google_pubsub1_beta2/api::ProjectTopicTestIamPermissionCall) + * [*subscriptions acknowledge*](https://docs.rs/google-pubsub1_beta2/3.1.0+20220221/google_pubsub1_beta2/api::ProjectSubscriptionAcknowledgeCall), [*subscriptions create*](https://docs.rs/google-pubsub1_beta2/3.1.0+20220221/google_pubsub1_beta2/api::ProjectSubscriptionCreateCall), [*subscriptions delete*](https://docs.rs/google-pubsub1_beta2/3.1.0+20220221/google_pubsub1_beta2/api::ProjectSubscriptionDeleteCall), [*subscriptions get*](https://docs.rs/google-pubsub1_beta2/3.1.0+20220221/google_pubsub1_beta2/api::ProjectSubscriptionGetCall), [*subscriptions get iam policy*](https://docs.rs/google-pubsub1_beta2/3.1.0+20220221/google_pubsub1_beta2/api::ProjectSubscriptionGetIamPolicyCall), [*subscriptions list*](https://docs.rs/google-pubsub1_beta2/3.1.0+20220221/google_pubsub1_beta2/api::ProjectSubscriptionListCall), [*subscriptions modify ack deadline*](https://docs.rs/google-pubsub1_beta2/3.1.0+20220221/google_pubsub1_beta2/api::ProjectSubscriptionModifyAckDeadlineCall), [*subscriptions modify push config*](https://docs.rs/google-pubsub1_beta2/3.1.0+20220221/google_pubsub1_beta2/api::ProjectSubscriptionModifyPushConfigCall), [*subscriptions pull*](https://docs.rs/google-pubsub1_beta2/3.1.0+20220221/google_pubsub1_beta2/api::ProjectSubscriptionPullCall), [*subscriptions set iam policy*](https://docs.rs/google-pubsub1_beta2/3.1.0+20220221/google_pubsub1_beta2/api::ProjectSubscriptionSetIamPolicyCall), [*subscriptions test iam permissions*](https://docs.rs/google-pubsub1_beta2/3.1.0+20220221/google_pubsub1_beta2/api::ProjectSubscriptionTestIamPermissionCall), [*topics create*](https://docs.rs/google-pubsub1_beta2/3.1.0+20220221/google_pubsub1_beta2/api::ProjectTopicCreateCall), [*topics delete*](https://docs.rs/google-pubsub1_beta2/3.1.0+20220221/google_pubsub1_beta2/api::ProjectTopicDeleteCall), [*topics get*](https://docs.rs/google-pubsub1_beta2/3.1.0+20220221/google_pubsub1_beta2/api::ProjectTopicGetCall), [*topics get iam policy*](https://docs.rs/google-pubsub1_beta2/3.1.0+20220221/google_pubsub1_beta2/api::ProjectTopicGetIamPolicyCall), [*topics list*](https://docs.rs/google-pubsub1_beta2/3.1.0+20220221/google_pubsub1_beta2/api::ProjectTopicListCall), [*topics publish*](https://docs.rs/google-pubsub1_beta2/3.1.0+20220221/google_pubsub1_beta2/api::ProjectTopicPublishCall), [*topics set iam policy*](https://docs.rs/google-pubsub1_beta2/3.1.0+20220221/google_pubsub1_beta2/api::ProjectTopicSetIamPolicyCall), [*topics subscriptions list*](https://docs.rs/google-pubsub1_beta2/3.1.0+20220221/google_pubsub1_beta2/api::ProjectTopicSubscriptionListCall) and [*topics test iam permissions*](https://docs.rs/google-pubsub1_beta2/3.1.0+20220221/google_pubsub1_beta2/api::ProjectTopicTestIamPermissionCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-pubsub1_beta2/3.0.0+20220221/google_pubsub1_beta2/Pubsub)** +* **[Hub](https://docs.rs/google-pubsub1_beta2/3.1.0+20220221/google_pubsub1_beta2/Pubsub)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-pubsub1_beta2/3.0.0+20220221/google_pubsub1_beta2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-pubsub1_beta2/3.0.0+20220221/google_pubsub1_beta2/client::CallBuilder) -* **[Resources](https://docs.rs/google-pubsub1_beta2/3.0.0+20220221/google_pubsub1_beta2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-pubsub1_beta2/3.1.0+20220221/google_pubsub1_beta2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-pubsub1_beta2/3.1.0+20220221/google_pubsub1_beta2/client::CallBuilder) +* **[Resources](https://docs.rs/google-pubsub1_beta2/3.1.0+20220221/google_pubsub1_beta2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-pubsub1_beta2/3.0.0+20220221/google_pubsub1_beta2/client::Part)** + * **[Parts](https://docs.rs/google-pubsub1_beta2/3.1.0+20220221/google_pubsub1_beta2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-pubsub1_beta2/3.0.0+20220221/google_pubsub1_beta2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-pubsub1_beta2/3.1.0+20220221/google_pubsub1_beta2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -95,7 +95,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -128,17 +128,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-pubsub1_beta2/3.0.0+20220221/google_pubsub1_beta2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-pubsub1_beta2/3.1.0+20220221/google_pubsub1_beta2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-pubsub1_beta2/3.0.0+20220221/google_pubsub1_beta2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-pubsub1_beta2/3.1.0+20220221/google_pubsub1_beta2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-pubsub1_beta2/3.0.0+20220221/google_pubsub1_beta2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-pubsub1_beta2/3.1.0+20220221/google_pubsub1_beta2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-pubsub1_beta2/3.0.0+20220221/google_pubsub1_beta2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-pubsub1_beta2/3.1.0+20220221/google_pubsub1_beta2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -148,29 +148,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-pubsub1_beta2/3.0.0+20220221/google_pubsub1_beta2/client::Delegate) to the -[Method Builder](https://docs.rs/google-pubsub1_beta2/3.0.0+20220221/google_pubsub1_beta2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-pubsub1_beta2/3.1.0+20220221/google_pubsub1_beta2/client::Delegate) to the +[Method Builder](https://docs.rs/google-pubsub1_beta2/3.1.0+20220221/google_pubsub1_beta2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-pubsub1_beta2/3.0.0+20220221/google_pubsub1_beta2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-pubsub1_beta2/3.1.0+20220221/google_pubsub1_beta2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-pubsub1_beta2/3.0.0+20220221/google_pubsub1_beta2/client::RequestValue) and -[decodable](https://docs.rs/google-pubsub1_beta2/3.0.0+20220221/google_pubsub1_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-pubsub1_beta2/3.1.0+20220221/google_pubsub1_beta2/client::RequestValue) and +[decodable](https://docs.rs/google-pubsub1_beta2/3.1.0+20220221/google_pubsub1_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-pubsub1_beta2/3.0.0+20220221/google_pubsub1_beta2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-pubsub1_beta2/3.1.0+20220221/google_pubsub1_beta2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-pubsub1_beta2/3.0.0+20220221/google_pubsub1_beta2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-pubsub1_beta2/3.1.0+20220221/google_pubsub1_beta2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-pubsub1_beta2/3.0.0+20220221/google_pubsub1_beta2/client::RequestValue) are moved +* [request values](https://docs.rs/google-pubsub1_beta2/3.1.0+20220221/google_pubsub1_beta2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/pubsub1_beta2/src/api.rs b/gen/pubsub1_beta2/src/api.rs index 7be2ff9584..2f4b34d2a9 100644 --- a/gen/pubsub1_beta2/src/api.rs +++ b/gen/pubsub1_beta2/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -123,7 +123,7 @@ impl<'a, > Pubsub<> { Pubsub { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://pubsub.googleapis.com/".to_string(), _root_url: "https://pubsub.googleapis.com/".to_string(), } @@ -134,7 +134,7 @@ impl<'a, > Pubsub<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -649,7 +649,7 @@ impl client::ResponseResult for Topic {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `subscriptions_acknowledge(...)`, `subscriptions_create(...)`, `subscriptions_delete(...)`, `subscriptions_get(...)`, `subscriptions_get_iam_policy(...)`, `subscriptions_list(...)`, `subscriptions_modify_ack_deadline(...)`, `subscriptions_modify_push_config(...)`, `subscriptions_pull(...)`, `subscriptions_set_iam_policy(...)`, `subscriptions_test_iam_permissions(...)`, `topics_create(...)`, `topics_delete(...)`, `topics_get(...)`, `topics_get_iam_policy(...)`, `topics_list(...)`, `topics_publish(...)`, `topics_set_iam_policy(...)`, `topics_subscriptions_list(...)` and `topics_test_iam_permissions(...)` /// // to build up your call. @@ -1068,7 +1068,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1354,7 +1354,7 @@ impl<'a> ProjectSubscriptionAcknowledgeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1639,7 +1639,7 @@ impl<'a> ProjectSubscriptionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1895,7 +1895,7 @@ impl<'a> ProjectSubscriptionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2151,7 +2151,7 @@ impl<'a> ProjectSubscriptionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2419,7 +2419,7 @@ impl<'a> ProjectSubscriptionGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2700,7 +2700,7 @@ impl<'a> ProjectSubscriptionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2986,7 +2986,7 @@ impl<'a> ProjectSubscriptionModifyAckDeadlineCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3272,7 +3272,7 @@ impl<'a> ProjectSubscriptionModifyPushConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3558,7 +3558,7 @@ impl<'a> ProjectSubscriptionPullCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3844,7 +3844,7 @@ impl<'a> ProjectSubscriptionSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4129,7 +4129,7 @@ impl<'a> ProjectSubscriptionTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4410,7 +4410,7 @@ impl<'a> ProjectTopicSubscriptionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4695,7 +4695,7 @@ impl<'a> ProjectTopicCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4951,7 +4951,7 @@ impl<'a> ProjectTopicDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5207,7 +5207,7 @@ impl<'a> ProjectTopicGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5475,7 +5475,7 @@ impl<'a> ProjectTopicGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5756,7 +5756,7 @@ impl<'a> ProjectTopicListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6042,7 +6042,7 @@ impl<'a> ProjectTopicPublishCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6328,7 +6328,7 @@ impl<'a> ProjectTopicSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/pubsub1_beta2/src/lib.rs b/gen/pubsub1_beta2/src/lib.rs index b6dc18047a..015d199f46 100644 --- a/gen/pubsub1_beta2/src/lib.rs +++ b/gen/pubsub1_beta2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Pubsub* crate version *3.0.0+20220221*, where *20220221* is the exact revision of the *pubsub:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Pubsub* crate version *3.1.0+20220221*, where *20220221* is the exact revision of the *pubsub:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Pubsub* *v1_beta2* API can be found at the //! [official documentation site](https://cloud.google.com/pubsub/docs). @@ -96,7 +96,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Pubsub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/pubsublite1-cli/Cargo.toml b/gen/pubsublite1-cli/Cargo.toml index 6f5bab8e27..194c0b0cd5 100644 --- a/gen/pubsublite1-cli/Cargo.toml +++ b/gen/pubsublite1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-pubsublite1-cli" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with PubsubLite (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/pubsublite1-cli" @@ -20,12 +20,12 @@ name = "pubsublite1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-pubsublite1] path = "../pubsublite1" -version = "3.0.0+20220301" +version = "3.1.0+20220301" diff --git a/gen/pubsublite1-cli/README.md b/gen/pubsublite1-cli/README.md index fcce610aef..aa708fd0dd 100644 --- a/gen/pubsublite1-cli/README.md +++ b/gen/pubsublite1-cli/README.md @@ -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 *PubsubLite* API at revision *20220301*. The CLI is at version *3.0.0*. +This documentation was generated from the *PubsubLite* API at revision *20220301*. The CLI is at version *3.1.0*. ```bash pubsublite1 [options] diff --git a/gen/pubsublite1-cli/mkdocs.yml b/gen/pubsublite1-cli/mkdocs.yml index 98adf8533e..c2d1669d6e 100644 --- a/gen/pubsublite1-cli/mkdocs.yml +++ b/gen/pubsublite1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: PubsubLite v3.0.0+20220301 +site_name: PubsubLite v3.1.0+20220301 site_url: http://byron.github.io/google-apis-rs/google-pubsublite1-cli site_description: A complete library to interact with PubsubLite (protocol v1) diff --git a/gen/pubsublite1-cli/src/main.rs b/gen/pubsublite1-cli/src/main.rs index 3a4dad2153..38249215e0 100644 --- a/gen/pubsublite1-cli/src/main.rs +++ b/gen/pubsublite1-cli/src/main.rs @@ -2146,7 +2146,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/pubsublite1", 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::PubsubLite::new(client, auth), @@ -2882,7 +2888,7 @@ async fn main() { let mut app = App::new("pubsublite1") .author("Sebastian Thiel ") - .version("3.0.0+20220301") + .version("3.1.0+20220301") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_pubsublite1_cli") .arg(Arg::with_name("url") diff --git a/gen/pubsublite1/Cargo.toml b/gen/pubsublite1/Cargo.toml index 8ca449deb3..e2ce4d0e8f 100644 --- a/gen/pubsublite1/Cargo.toml +++ b/gen/pubsublite1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-pubsublite1" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with PubsubLite (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/pubsublite1" homepage = "https://cloud.google.com/pubsub/lite/docs" -documentation = "https://docs.rs/google-pubsublite1/3.0.0+20220301" +documentation = "https://docs.rs/google-pubsublite1/3.1.0+20220301" license = "MIT" keywords = ["pubsublite", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/pubsublite1/README.md b/gen/pubsublite1/README.md index e98aac02aa..f23fd5b257 100644 --- a/gen/pubsublite1/README.md +++ b/gen/pubsublite1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-pubsublite1` library allows access to all features of the *Google PubsubLite* service. -This documentation was generated from *PubsubLite* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *pubsublite:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *PubsubLite* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *pubsublite:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *PubsubLite* *v1* API can be found at the [official documentation site](https://cloud.google.com/pubsub/lite/docs). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/PubsubLite) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/PubsubLite) ... * admin - * [*projects locations operations cancel*](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/api::AdminProjectLocationOperationCancelCall), [*projects locations operations delete*](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/api::AdminProjectLocationOperationDeleteCall), [*projects locations operations get*](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/api::AdminProjectLocationOperationGetCall), [*projects locations operations list*](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/api::AdminProjectLocationOperationListCall), [*projects locations reservations create*](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/api::AdminProjectLocationReservationCreateCall), [*projects locations reservations delete*](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/api::AdminProjectLocationReservationDeleteCall), [*projects locations reservations get*](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/api::AdminProjectLocationReservationGetCall), [*projects locations reservations list*](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/api::AdminProjectLocationReservationListCall), [*projects locations reservations patch*](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/api::AdminProjectLocationReservationPatchCall), [*projects locations reservations topics list*](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/api::AdminProjectLocationReservationTopicListCall), [*projects locations subscriptions create*](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/api::AdminProjectLocationSubscriptionCreateCall), [*projects locations subscriptions delete*](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/api::AdminProjectLocationSubscriptionDeleteCall), [*projects locations subscriptions get*](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/api::AdminProjectLocationSubscriptionGetCall), [*projects locations subscriptions list*](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/api::AdminProjectLocationSubscriptionListCall), [*projects locations subscriptions patch*](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/api::AdminProjectLocationSubscriptionPatchCall), [*projects locations subscriptions seek*](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/api::AdminProjectLocationSubscriptionSeekCall), [*projects locations topics create*](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/api::AdminProjectLocationTopicCreateCall), [*projects locations topics delete*](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/api::AdminProjectLocationTopicDeleteCall), [*projects locations topics get*](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/api::AdminProjectLocationTopicGetCall), [*projects locations topics get partitions*](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/api::AdminProjectLocationTopicGetPartitionCall), [*projects locations topics list*](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/api::AdminProjectLocationTopicListCall), [*projects locations topics patch*](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/api::AdminProjectLocationTopicPatchCall) and [*projects locations topics subscriptions list*](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/api::AdminProjectLocationTopicSubscriptionListCall) -* [cursor](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/api::Cursor) - * [*projects locations subscriptions commit cursor*](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/api::CursorProjectLocationSubscriptionCommitCursorCall) and [*projects locations subscriptions cursors list*](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/api::CursorProjectLocationSubscriptionCursorListCall) + * [*projects locations operations cancel*](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/api::AdminProjectLocationOperationCancelCall), [*projects locations operations delete*](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/api::AdminProjectLocationOperationDeleteCall), [*projects locations operations get*](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/api::AdminProjectLocationOperationGetCall), [*projects locations operations list*](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/api::AdminProjectLocationOperationListCall), [*projects locations reservations create*](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/api::AdminProjectLocationReservationCreateCall), [*projects locations reservations delete*](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/api::AdminProjectLocationReservationDeleteCall), [*projects locations reservations get*](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/api::AdminProjectLocationReservationGetCall), [*projects locations reservations list*](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/api::AdminProjectLocationReservationListCall), [*projects locations reservations patch*](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/api::AdminProjectLocationReservationPatchCall), [*projects locations reservations topics list*](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/api::AdminProjectLocationReservationTopicListCall), [*projects locations subscriptions create*](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/api::AdminProjectLocationSubscriptionCreateCall), [*projects locations subscriptions delete*](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/api::AdminProjectLocationSubscriptionDeleteCall), [*projects locations subscriptions get*](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/api::AdminProjectLocationSubscriptionGetCall), [*projects locations subscriptions list*](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/api::AdminProjectLocationSubscriptionListCall), [*projects locations subscriptions patch*](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/api::AdminProjectLocationSubscriptionPatchCall), [*projects locations subscriptions seek*](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/api::AdminProjectLocationSubscriptionSeekCall), [*projects locations topics create*](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/api::AdminProjectLocationTopicCreateCall), [*projects locations topics delete*](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/api::AdminProjectLocationTopicDeleteCall), [*projects locations topics get*](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/api::AdminProjectLocationTopicGetCall), [*projects locations topics get partitions*](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/api::AdminProjectLocationTopicGetPartitionCall), [*projects locations topics list*](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/api::AdminProjectLocationTopicListCall), [*projects locations topics patch*](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/api::AdminProjectLocationTopicPatchCall) and [*projects locations topics subscriptions list*](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/api::AdminProjectLocationTopicSubscriptionListCall) +* [cursor](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/api::Cursor) + * [*projects locations subscriptions commit cursor*](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/api::CursorProjectLocationSubscriptionCommitCursorCall) and [*projects locations subscriptions cursors list*](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/api::CursorProjectLocationSubscriptionCursorListCall) * topic stats - * [*projects locations topics compute head cursor*](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/api::TopicStatProjectLocationTopicComputeHeadCursorCall), [*projects locations topics compute message stats*](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/api::TopicStatProjectLocationTopicComputeMessageStatCall) and [*projects locations topics compute time cursor*](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/api::TopicStatProjectLocationTopicComputeTimeCursorCall) + * [*projects locations topics compute head cursor*](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/api::TopicStatProjectLocationTopicComputeHeadCursorCall), [*projects locations topics compute message stats*](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/api::TopicStatProjectLocationTopicComputeMessageStatCall) and [*projects locations topics compute time cursor*](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/api::TopicStatProjectLocationTopicComputeTimeCursorCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/PubsubLite)** +* **[Hub](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/PubsubLite)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/client::CallBuilder) -* **[Resources](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/client::CallBuilder) +* **[Resources](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/client::Part)** + * **[Parts](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -99,7 +99,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -152,29 +152,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/client::Delegate) to the -[Method Builder](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/client::Delegate) to the +[Method Builder](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/client::RequestValue) and -[decodable](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/client::RequestValue) and +[decodable](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-pubsublite1/3.0.0+20220301/google_pubsublite1/client::RequestValue) are moved +* [request values](https://docs.rs/google-pubsublite1/3.1.0+20220301/google_pubsublite1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/pubsublite1/src/api.rs b/gen/pubsublite1/src/api.rs index 79362bf2c5..6527789dde 100644 --- a/gen/pubsublite1/src/api.rs +++ b/gen/pubsublite1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > PubsubLite<> { PubsubLite { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://pubsublite.googleapis.com/".to_string(), _root_url: "https://pubsublite.googleapis.com/".to_string(), } @@ -136,7 +136,7 @@ impl<'a, > PubsubLite<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -822,7 +822,7 @@ impl client::ResponseResult for TopicPartitions {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `projects_locations_operations_cancel(...)`, `projects_locations_operations_delete(...)`, `projects_locations_operations_get(...)`, `projects_locations_operations_list(...)`, `projects_locations_reservations_create(...)`, `projects_locations_reservations_delete(...)`, `projects_locations_reservations_get(...)`, `projects_locations_reservations_list(...)`, `projects_locations_reservations_patch(...)`, `projects_locations_reservations_topics_list(...)`, `projects_locations_subscriptions_create(...)`, `projects_locations_subscriptions_delete(...)`, `projects_locations_subscriptions_get(...)`, `projects_locations_subscriptions_list(...)`, `projects_locations_subscriptions_patch(...)`, `projects_locations_subscriptions_seek(...)`, `projects_locations_topics_create(...)`, `projects_locations_topics_delete(...)`, `projects_locations_topics_get(...)`, `projects_locations_topics_get_partitions(...)`, `projects_locations_topics_list(...)`, `projects_locations_topics_patch(...)` and `projects_locations_topics_subscriptions_list(...)` /// // to build up your call. @@ -1290,7 +1290,7 @@ impl<'a> AdminMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `projects_locations_subscriptions_commit_cursor(...)` and `projects_locations_subscriptions_cursors_list(...)` /// // to build up your call. @@ -1369,7 +1369,7 @@ impl<'a> CursorMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `projects_locations_topics_compute_head_cursor(...)`, `projects_locations_topics_compute_message_stats(...)` and `projects_locations_topics_compute_time_cursor(...)` /// // to build up your call. @@ -1475,7 +1475,7 @@ impl<'a> TopicStatMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1760,7 +1760,7 @@ impl<'a> AdminProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2016,7 +2016,7 @@ impl<'a> AdminProjectLocationOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2272,7 +2272,7 @@ impl<'a> AdminProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2564,7 +2564,7 @@ impl<'a> AdminProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2845,7 +2845,7 @@ impl<'a> AdminProjectLocationReservationTopicListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3142,7 +3142,7 @@ impl<'a> AdminProjectLocationReservationCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3398,7 +3398,7 @@ impl<'a> AdminProjectLocationReservationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3654,7 +3654,7 @@ impl<'a> AdminProjectLocationReservationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3935,7 +3935,7 @@ impl<'a> AdminProjectLocationReservationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4233,7 +4233,7 @@ impl<'a> AdminProjectLocationReservationPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4542,7 +4542,7 @@ impl<'a> AdminProjectLocationSubscriptionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4798,7 +4798,7 @@ impl<'a> AdminProjectLocationSubscriptionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5054,7 +5054,7 @@ impl<'a> AdminProjectLocationSubscriptionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5335,7 +5335,7 @@ impl<'a> AdminProjectLocationSubscriptionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5633,7 +5633,7 @@ impl<'a> AdminProjectLocationSubscriptionPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5918,7 +5918,7 @@ impl<'a> AdminProjectLocationSubscriptionSeekCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6199,7 +6199,7 @@ impl<'a> AdminProjectLocationTopicSubscriptionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6496,7 +6496,7 @@ impl<'a> AdminProjectLocationTopicCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6752,7 +6752,7 @@ impl<'a> AdminProjectLocationTopicDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7008,7 +7008,7 @@ impl<'a> AdminProjectLocationTopicGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7264,7 +7264,7 @@ impl<'a> AdminProjectLocationTopicGetPartitionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7545,7 +7545,7 @@ impl<'a> AdminProjectLocationTopicListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7842,7 +7842,7 @@ impl<'a> AdminProjectLocationTopicPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8123,7 +8123,7 @@ impl<'a> CursorProjectLocationSubscriptionCursorListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8409,7 +8409,7 @@ impl<'a> CursorProjectLocationSubscriptionCommitCursorCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8695,7 +8695,7 @@ impl<'a> TopicStatProjectLocationTopicComputeHeadCursorCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8981,7 +8981,7 @@ impl<'a> TopicStatProjectLocationTopicComputeMessageStatCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/pubsublite1/src/lib.rs b/gen/pubsublite1/src/lib.rs index db6f0077dc..1479c3a5bc 100644 --- a/gen/pubsublite1/src/lib.rs +++ b/gen/pubsublite1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *PubsubLite* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *pubsublite:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *PubsubLite* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *pubsublite:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *PubsubLite* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/pubsub/lite/docs). @@ -100,7 +100,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = PubsubLite::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/qpxexpress1-cli/Cargo.toml b/gen/qpxexpress1-cli/Cargo.toml index 46985d531b..b585ed38ea 100644 --- a/gen/qpxexpress1-cli/Cargo.toml +++ b/gen/qpxexpress1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-qpxexpress1-cli" -version = "3.0.0+20160708" +version = "3.1.0+20160708" authors = ["Sebastian Thiel "] description = "A complete library to interact with QPX Express (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/qpxexpress1-cli" @@ -20,12 +20,12 @@ name = "qpxexpress1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-qpxexpress1] path = "../qpxexpress1" -version = "3.0.0+20160708" +version = "3.1.0+20160708" diff --git a/gen/qpxexpress1-cli/README.md b/gen/qpxexpress1-cli/README.md index 96cec3dda5..1efd6e6b26 100644 --- a/gen/qpxexpress1-cli/README.md +++ b/gen/qpxexpress1-cli/README.md @@ -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 *QPX Express* API at revision *20160708*. The CLI is at version *3.0.0*. +This documentation was generated from the *QPX Express* API at revision *20160708*. The CLI is at version *3.1.0*. ```bash qpxexpress1 [options] diff --git a/gen/qpxexpress1-cli/mkdocs.yml b/gen/qpxexpress1-cli/mkdocs.yml index 9d82aa3331..b7747dfa06 100644 --- a/gen/qpxexpress1-cli/mkdocs.yml +++ b/gen/qpxexpress1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: QPX Express v3.0.0+20160708 +site_name: QPX Express v3.1.0+20160708 site_url: http://byron.github.io/google-apis-rs/google-qpxexpress1-cli site_description: A complete library to interact with QPX Express (protocol v1) diff --git a/gen/qpxexpress1-cli/src/main.rs b/gen/qpxexpress1-cli/src/main.rs index 401bbe9e59..c49cc041ad 100644 --- a/gen/qpxexpress1-cli/src/main.rs +++ b/gen/qpxexpress1-cli/src/main.rs @@ -184,7 +184,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/qpxexpress1", 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::QPXExpress::new(client, auth), @@ -245,7 +251,7 @@ async fn main() { let mut app = App::new("qpxexpress1") .author("Sebastian Thiel ") - .version("3.0.0+20160708") + .version("3.1.0+20160708") .about("Finds the least expensive flights between an origin and a destination.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_qpxexpress1_cli") .arg(Arg::with_name("folder") diff --git a/gen/qpxexpress1/Cargo.toml b/gen/qpxexpress1/Cargo.toml index 3952a7ade6..a7eb6282e0 100644 --- a/gen/qpxexpress1/Cargo.toml +++ b/gen/qpxexpress1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-qpxexpress1" -version = "3.0.0+20160708" +version = "3.1.0+20160708" authors = ["Sebastian Thiel "] description = "A complete library to interact with QPX Express (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/qpxexpress1" homepage = "http://developers.google.com/qpx-express" -documentation = "https://docs.rs/google-qpxexpress1/3.0.0+20160708" +documentation = "https://docs.rs/google-qpxexpress1/3.1.0+20160708" license = "MIT" keywords = ["qpxExpress", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/qpxexpress1/README.md b/gen/qpxexpress1/README.md index fea08a6851..c79535debd 100644 --- a/gen/qpxexpress1/README.md +++ b/gen/qpxexpress1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-qpxexpress1` library allows access to all features of the *Google QPX Express* service. -This documentation was generated from *QPX Express* crate version *3.0.0+20160708*, where *20160708* is the exact revision of the *qpxExpress:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *QPX Express* crate version *3.1.0+20160708*, where *20160708* is the exact revision of the *qpxExpress:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *QPX Express* *v1* API can be found at the [official documentation site](http://developers.google.com/qpx-express). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-qpxexpress1/3.0.0+20160708/google_qpxexpress1/QPXExpress) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-qpxexpress1/3.1.0+20160708/google_qpxexpress1/QPXExpress) ... * trips - * [*search*](https://docs.rs/google-qpxexpress1/3.0.0+20160708/google_qpxexpress1/api::TripSearchCall) + * [*search*](https://docs.rs/google-qpxexpress1/3.1.0+20160708/google_qpxexpress1/api::TripSearchCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-qpxexpress1/3.0.0+20160708/google_qpxexpress1/QPXExpress)** +* **[Hub](https://docs.rs/google-qpxexpress1/3.1.0+20160708/google_qpxexpress1/QPXExpress)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-qpxexpress1/3.0.0+20160708/google_qpxexpress1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-qpxexpress1/3.0.0+20160708/google_qpxexpress1/client::CallBuilder) -* **[Resources](https://docs.rs/google-qpxexpress1/3.0.0+20160708/google_qpxexpress1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-qpxexpress1/3.1.0+20160708/google_qpxexpress1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-qpxexpress1/3.1.0+20160708/google_qpxexpress1/client::CallBuilder) +* **[Resources](https://docs.rs/google-qpxexpress1/3.1.0+20160708/google_qpxexpress1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-qpxexpress1/3.0.0+20160708/google_qpxexpress1/client::Part)** + * **[Parts](https://docs.rs/google-qpxexpress1/3.1.0+20160708/google_qpxexpress1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-qpxexpress1/3.0.0+20160708/google_qpxexpress1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-qpxexpress1/3.1.0+20160708/google_qpxexpress1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -91,7 +91,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = QPXExpress::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = QPXExpress::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -124,17 +124,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-qpxexpress1/3.0.0+20160708/google_qpxexpress1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-qpxexpress1/3.1.0+20160708/google_qpxexpress1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-qpxexpress1/3.0.0+20160708/google_qpxexpress1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-qpxexpress1/3.1.0+20160708/google_qpxexpress1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-qpxexpress1/3.0.0+20160708/google_qpxexpress1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-qpxexpress1/3.1.0+20160708/google_qpxexpress1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-qpxexpress1/3.0.0+20160708/google_qpxexpress1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-qpxexpress1/3.1.0+20160708/google_qpxexpress1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -144,29 +144,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-qpxexpress1/3.0.0+20160708/google_qpxexpress1/client::Delegate) to the -[Method Builder](https://docs.rs/google-qpxexpress1/3.0.0+20160708/google_qpxexpress1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-qpxexpress1/3.1.0+20160708/google_qpxexpress1/client::Delegate) to the +[Method Builder](https://docs.rs/google-qpxexpress1/3.1.0+20160708/google_qpxexpress1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-qpxexpress1/3.0.0+20160708/google_qpxexpress1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-qpxexpress1/3.1.0+20160708/google_qpxexpress1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-qpxexpress1/3.0.0+20160708/google_qpxexpress1/client::RequestValue) and -[decodable](https://docs.rs/google-qpxexpress1/3.0.0+20160708/google_qpxexpress1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-qpxexpress1/3.1.0+20160708/google_qpxexpress1/client::RequestValue) and +[decodable](https://docs.rs/google-qpxexpress1/3.1.0+20160708/google_qpxexpress1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-qpxexpress1/3.0.0+20160708/google_qpxexpress1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-qpxexpress1/3.1.0+20160708/google_qpxexpress1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-qpxexpress1/3.0.0+20160708/google_qpxexpress1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-qpxexpress1/3.1.0+20160708/google_qpxexpress1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-qpxexpress1/3.0.0+20160708/google_qpxexpress1/client::RequestValue) are moved +* [request values](https://docs.rs/google-qpxexpress1/3.1.0+20160708/google_qpxexpress1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/qpxexpress1/src/api.rs b/gen/qpxexpress1/src/api.rs index c418ae4969..26191b6851 100644 --- a/gen/qpxexpress1/src/api.rs +++ b/gen/qpxexpress1/src/api.rs @@ -49,7 +49,7 @@ use crate::client; /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = QPXExpress::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = QPXExpress::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -97,7 +97,7 @@ impl<'a, > QPXExpress<> { QPXExpress { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/qpxExpress/v1/trips/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -108,7 +108,7 @@ impl<'a, > QPXExpress<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -758,7 +758,7 @@ impl client::ResponseResult for TripsSearchResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = QPXExpress::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = QPXExpress::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `search(...)` /// // to build up your call. @@ -823,7 +823,7 @@ impl<'a> TripMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = QPXExpress::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = QPXExpress::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/qpxexpress1/src/lib.rs b/gen/qpxexpress1/src/lib.rs index 3886945f5e..201c20a79f 100644 --- a/gen/qpxexpress1/src/lib.rs +++ b/gen/qpxexpress1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *QPX Express* crate version *3.0.0+20160708*, where *20160708* is the exact revision of the *qpxExpress:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *QPX Express* crate version *3.1.0+20160708*, where *20160708* is the exact revision of the *qpxExpress:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *QPX Express* *v1* API can be found at the //! [official documentation site](http://developers.google.com/qpx-express). @@ -92,7 +92,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = QPXExpress::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = QPXExpress::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/realtimebidding1-cli/Cargo.toml b/gen/realtimebidding1-cli/Cargo.toml index 45f25c249a..4ffab45973 100644 --- a/gen/realtimebidding1-cli/Cargo.toml +++ b/gen/realtimebidding1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-realtimebidding1-cli" -version = "3.0.0+20220307" +version = "3.1.0+20220307" authors = ["Sebastian Thiel "] description = "A complete library to interact with Real-time Bidding (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/realtimebidding1-cli" @@ -20,12 +20,12 @@ name = "realtimebidding1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-realtimebidding1] path = "../realtimebidding1" -version = "3.0.0+20220307" +version = "3.1.0+20220307" diff --git a/gen/realtimebidding1-cli/README.md b/gen/realtimebidding1-cli/README.md index 0c0af5e22b..56f5bd682b 100644 --- a/gen/realtimebidding1-cli/README.md +++ b/gen/realtimebidding1-cli/README.md @@ -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 *Real-time Bidding* API at revision *20220307*. The CLI is at version *3.0.0*. +This documentation was generated from the *Real-time Bidding* API at revision *20220307*. The CLI is at version *3.1.0*. ```bash realtimebidding1 [options] diff --git a/gen/realtimebidding1-cli/mkdocs.yml b/gen/realtimebidding1-cli/mkdocs.yml index 490304ce7e..36776c4b0d 100644 --- a/gen/realtimebidding1-cli/mkdocs.yml +++ b/gen/realtimebidding1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Real-time Bidding v3.0.0+20220307 +site_name: Real-time Bidding v3.1.0+20220307 site_url: http://byron.github.io/google-apis-rs/google-realtimebidding1-cli site_description: A complete library to interact with Real-time Bidding (protocol v1) diff --git a/gen/realtimebidding1-cli/src/main.rs b/gen/realtimebidding1-cli/src/main.rs index a5dd4eb200..5c384f7dd2 100644 --- a/gen/realtimebidding1-cli/src/main.rs +++ b/gen/realtimebidding1-cli/src/main.rs @@ -2842,7 +2842,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/realtimebidding1", 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::RealTimeBidding::new(client, auth), @@ -3731,7 +3737,7 @@ async fn main() { let mut app = App::new("realtimebidding1") .author("Sebastian Thiel ") - .version("3.0.0+20220307") + .version("3.1.0+20220307") .about("Allows external bidders to manage their RTB integration with Google. This includes managing bidder endpoints, QPS quotas, configuring what ad inventory to receive via pretargeting, submitting creatives for verification, and accessing creative metadata such as approval status.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_realtimebidding1_cli") .arg(Arg::with_name("url") diff --git a/gen/realtimebidding1/Cargo.toml b/gen/realtimebidding1/Cargo.toml index 3937aec036..18e7a106dc 100644 --- a/gen/realtimebidding1/Cargo.toml +++ b/gen/realtimebidding1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-realtimebidding1" -version = "3.0.0+20220307" +version = "3.1.0+20220307" authors = ["Sebastian Thiel "] description = "A complete library to interact with Real-time Bidding (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/realtimebidding1" homepage = "https://developers.google.com/authorized-buyers/apis/realtimebidding/reference/rest/" -documentation = "https://docs.rs/google-realtimebidding1/3.0.0+20220307" +documentation = "https://docs.rs/google-realtimebidding1/3.1.0+20220307" license = "MIT" keywords = ["realtimebidding", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/realtimebidding1/README.md b/gen/realtimebidding1/README.md index 0b055b41a5..eb4ca500cd 100644 --- a/gen/realtimebidding1/README.md +++ b/gen/realtimebidding1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-realtimebidding1` library allows access to all features of the *Google Real-time Bidding* service. -This documentation was generated from *Real-time Bidding* crate version *3.0.0+20220307*, where *20220307* is the exact revision of the *realtimebidding:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Real-time Bidding* crate version *3.1.0+20220307*, where *20220307* is the exact revision of the *realtimebidding:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Real-time Bidding* *v1* API can be found at the [official documentation site](https://developers.google.com/authorized-buyers/apis/realtimebidding/reference/rest/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/RealTimeBidding) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/RealTimeBidding) ... -* [bidders](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/api::Bidder) - * [*creatives list*](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/api::BidderCreativeListCall), [*creatives watch*](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/api::BidderCreativeWatchCall), [*endpoints get*](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/api::BidderEndpointGetCall), [*endpoints list*](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/api::BidderEndpointListCall), [*endpoints patch*](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/api::BidderEndpointPatchCall), [*get*](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/api::BidderGetCall), [*list*](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/api::BidderListCall), [*pretargeting configs activate*](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/api::BidderPretargetingConfigActivateCall), [*pretargeting configs add targeted apps*](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/api::BidderPretargetingConfigAddTargetedAppCall), [*pretargeting configs add targeted publishers*](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/api::BidderPretargetingConfigAddTargetedPublisherCall), [*pretargeting configs add targeted sites*](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/api::BidderPretargetingConfigAddTargetedSiteCall), [*pretargeting configs create*](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/api::BidderPretargetingConfigCreateCall), [*pretargeting configs delete*](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/api::BidderPretargetingConfigDeleteCall), [*pretargeting configs get*](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/api::BidderPretargetingConfigGetCall), [*pretargeting configs list*](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/api::BidderPretargetingConfigListCall), [*pretargeting configs patch*](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/api::BidderPretargetingConfigPatchCall), [*pretargeting configs remove targeted apps*](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/api::BidderPretargetingConfigRemoveTargetedAppCall), [*pretargeting configs remove targeted publishers*](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/api::BidderPretargetingConfigRemoveTargetedPublisherCall), [*pretargeting configs remove targeted sites*](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/api::BidderPretargetingConfigRemoveTargetedSiteCall) and [*pretargeting configs suspend*](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/api::BidderPretargetingConfigSuspendCall) -* [buyers](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/api::Buyer) - * [*creatives create*](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/api::BuyerCreativeCreateCall), [*creatives get*](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/api::BuyerCreativeGetCall), [*creatives list*](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/api::BuyerCreativeListCall), [*creatives patch*](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/api::BuyerCreativePatchCall), [*get*](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/api::BuyerGetCall), [*get remarketing tag*](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/api::BuyerGetRemarketingTagCall), [*list*](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/api::BuyerListCall), [*user lists close*](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/api::BuyerUserListCloseCall), [*user lists create*](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/api::BuyerUserListCreateCall), [*user lists get*](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/api::BuyerUserListGetCall), [*user lists get remarketing tag*](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/api::BuyerUserListGetRemarketingTagCall), [*user lists list*](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/api::BuyerUserListListCall), [*user lists open*](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/api::BuyerUserListOpenCall) and [*user lists update*](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/api::BuyerUserListUpdateCall) +* [bidders](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/api::Bidder) + * [*creatives list*](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/api::BidderCreativeListCall), [*creatives watch*](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/api::BidderCreativeWatchCall), [*endpoints get*](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/api::BidderEndpointGetCall), [*endpoints list*](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/api::BidderEndpointListCall), [*endpoints patch*](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/api::BidderEndpointPatchCall), [*get*](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/api::BidderGetCall), [*list*](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/api::BidderListCall), [*pretargeting configs activate*](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/api::BidderPretargetingConfigActivateCall), [*pretargeting configs add targeted apps*](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/api::BidderPretargetingConfigAddTargetedAppCall), [*pretargeting configs add targeted publishers*](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/api::BidderPretargetingConfigAddTargetedPublisherCall), [*pretargeting configs add targeted sites*](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/api::BidderPretargetingConfigAddTargetedSiteCall), [*pretargeting configs create*](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/api::BidderPretargetingConfigCreateCall), [*pretargeting configs delete*](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/api::BidderPretargetingConfigDeleteCall), [*pretargeting configs get*](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/api::BidderPretargetingConfigGetCall), [*pretargeting configs list*](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/api::BidderPretargetingConfigListCall), [*pretargeting configs patch*](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/api::BidderPretargetingConfigPatchCall), [*pretargeting configs remove targeted apps*](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/api::BidderPretargetingConfigRemoveTargetedAppCall), [*pretargeting configs remove targeted publishers*](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/api::BidderPretargetingConfigRemoveTargetedPublisherCall), [*pretargeting configs remove targeted sites*](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/api::BidderPretargetingConfigRemoveTargetedSiteCall) and [*pretargeting configs suspend*](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/api::BidderPretargetingConfigSuspendCall) +* [buyers](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/api::Buyer) + * [*creatives create*](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/api::BuyerCreativeCreateCall), [*creatives get*](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/api::BuyerCreativeGetCall), [*creatives list*](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/api::BuyerCreativeListCall), [*creatives patch*](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/api::BuyerCreativePatchCall), [*get*](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/api::BuyerGetCall), [*get remarketing tag*](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/api::BuyerGetRemarketingTagCall), [*list*](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/api::BuyerListCall), [*user lists close*](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/api::BuyerUserListCloseCall), [*user lists create*](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/api::BuyerUserListCreateCall), [*user lists get*](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/api::BuyerUserListGetCall), [*user lists get remarketing tag*](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/api::BuyerUserListGetRemarketingTagCall), [*user lists list*](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/api::BuyerUserListListCall), [*user lists open*](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/api::BuyerUserListOpenCall) and [*user lists update*](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/api::BuyerUserListUpdateCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/RealTimeBidding)** +* **[Hub](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/RealTimeBidding)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/client::CallBuilder) -* **[Resources](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/client::CallBuilder) +* **[Resources](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/client::Part)** + * **[Parts](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -111,7 +111,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -143,17 +143,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -163,29 +163,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/client::Delegate) to the -[Method Builder](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/client::Delegate) to the +[Method Builder](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/client::RequestValue) and -[decodable](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/client::RequestValue) and +[decodable](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-realtimebidding1/3.0.0+20220307/google_realtimebidding1/client::RequestValue) are moved +* [request values](https://docs.rs/google-realtimebidding1/3.1.0+20220307/google_realtimebidding1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/realtimebidding1/src/api.rs b/gen/realtimebidding1/src/api.rs index c87463da9e..f2c12a9674 100644 --- a/gen/realtimebidding1/src/api.rs +++ b/gen/realtimebidding1/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -117,7 +117,7 @@ impl<'a, > RealTimeBidding<> { RealTimeBidding { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://realtimebidding.googleapis.com/".to_string(), _root_url: "https://realtimebidding.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > RealTimeBidding<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1472,7 +1472,7 @@ impl client::ResponseResult for WatchCreativesResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `creatives_list(...)`, `creatives_watch(...)`, `endpoints_get(...)`, `endpoints_list(...)`, `endpoints_patch(...)`, `get(...)`, `list(...)`, `pretargeting_configs_activate(...)`, `pretargeting_configs_add_targeted_apps(...)`, `pretargeting_configs_add_targeted_publishers(...)`, `pretargeting_configs_add_targeted_sites(...)`, `pretargeting_configs_create(...)`, `pretargeting_configs_delete(...)`, `pretargeting_configs_get(...)`, `pretargeting_configs_list(...)`, `pretargeting_configs_patch(...)`, `pretargeting_configs_remove_targeted_apps(...)`, `pretargeting_configs_remove_targeted_publishers(...)`, `pretargeting_configs_remove_targeted_sites(...)` and `pretargeting_configs_suspend(...)` /// // to build up your call. @@ -1884,7 +1884,7 @@ impl<'a> BidderMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `creatives_create(...)`, `creatives_get(...)`, `creatives_list(...)`, `creatives_patch(...)`, `get(...)`, `get_remarketing_tag(...)`, `list(...)`, `user_lists_close(...)`, `user_lists_create(...)`, `user_lists_get(...)`, `user_lists_get_remarketing_tag(...)`, `user_lists_list(...)`, `user_lists_open(...)` and `user_lists_update(...)` /// // to build up your call. @@ -2187,7 +2187,7 @@ impl<'a> BuyerMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2492,7 +2492,7 @@ impl<'a> BidderCreativeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2777,7 +2777,7 @@ impl<'a> BidderCreativeWatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3033,7 +3033,7 @@ impl<'a> BidderEndpointGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3314,7 +3314,7 @@ impl<'a> BidderEndpointListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3612,7 +3612,7 @@ impl<'a> BidderEndpointPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3898,7 +3898,7 @@ impl<'a> BidderPretargetingConfigActivateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4184,7 +4184,7 @@ impl<'a> BidderPretargetingConfigAddTargetedAppCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4470,7 +4470,7 @@ impl<'a> BidderPretargetingConfigAddTargetedPublisherCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4756,7 +4756,7 @@ impl<'a> BidderPretargetingConfigAddTargetedSiteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5041,7 +5041,7 @@ impl<'a> BidderPretargetingConfigCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5297,7 +5297,7 @@ impl<'a> BidderPretargetingConfigDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5553,7 +5553,7 @@ impl<'a> BidderPretargetingConfigGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5834,7 +5834,7 @@ impl<'a> BidderPretargetingConfigListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6132,7 +6132,7 @@ impl<'a> BidderPretargetingConfigPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6418,7 +6418,7 @@ impl<'a> BidderPretargetingConfigRemoveTargetedAppCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6704,7 +6704,7 @@ impl<'a> BidderPretargetingConfigRemoveTargetedPublisherCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6990,7 +6990,7 @@ impl<'a> BidderPretargetingConfigRemoveTargetedSiteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7275,7 +7275,7 @@ impl<'a> BidderPretargetingConfigSuspendCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7531,7 +7531,7 @@ impl<'a> BidderGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7775,7 +7775,7 @@ impl<'a> BidderListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8060,7 +8060,7 @@ impl<'a> BuyerCreativeCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8328,7 +8328,7 @@ impl<'a> BuyerCreativeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8633,7 +8633,7 @@ impl<'a> BuyerCreativeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8931,7 +8931,7 @@ impl<'a> BuyerCreativePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9217,7 +9217,7 @@ impl<'a> BuyerUserListCloseCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9502,7 +9502,7 @@ impl<'a> BuyerUserListCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9758,7 +9758,7 @@ impl<'a> BuyerUserListGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10014,7 +10014,7 @@ impl<'a> BuyerUserListGetRemarketingTagCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10295,7 +10295,7 @@ impl<'a> BuyerUserListListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10581,7 +10581,7 @@ impl<'a> BuyerUserListOpenCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10866,7 +10866,7 @@ impl<'a> BuyerUserListUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11122,7 +11122,7 @@ impl<'a> BuyerGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11378,7 +11378,7 @@ impl<'a> BuyerGetRemarketingTagCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/realtimebidding1/src/lib.rs b/gen/realtimebidding1/src/lib.rs index 0662f740f1..8c285e9984 100644 --- a/gen/realtimebidding1/src/lib.rs +++ b/gen/realtimebidding1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Real-time Bidding* crate version *3.0.0+20220307*, where *20220307* is the exact revision of the *realtimebidding:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Real-time Bidding* crate version *3.1.0+20220307*, where *20220307* is the exact revision of the *realtimebidding:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Real-time Bidding* *v1* API can be found at the //! [official documentation site](https://developers.google.com/authorized-buyers/apis/realtimebidding/reference/rest/). @@ -112,7 +112,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = RealTimeBidding::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/recaptchaenterprise1-cli/Cargo.toml b/gen/recaptchaenterprise1-cli/Cargo.toml index a00834865a..38b4c5c9d2 100644 --- a/gen/recaptchaenterprise1-cli/Cargo.toml +++ b/gen/recaptchaenterprise1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-recaptchaenterprise1-cli" -version = "3.0.0+20220226" +version = "3.1.0+20220226" authors = ["Sebastian Thiel "] description = "A complete library to interact with Recaptcha Enterprise (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/recaptchaenterprise1-cli" @@ -20,12 +20,12 @@ name = "recaptchaenterprise1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-recaptchaenterprise1] path = "../recaptchaenterprise1" -version = "3.0.0+20220226" +version = "3.1.0+20220226" diff --git a/gen/recaptchaenterprise1-cli/README.md b/gen/recaptchaenterprise1-cli/README.md index b71cecd7a9..f7ed246548 100644 --- a/gen/recaptchaenterprise1-cli/README.md +++ b/gen/recaptchaenterprise1-cli/README.md @@ -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 *Recaptcha Enterprise* API at revision *20220226*. The CLI is at version *3.0.0*. +This documentation was generated from the *Recaptcha Enterprise* API at revision *20220226*. The CLI is at version *3.1.0*. ```bash recaptchaenterprise1 [options] diff --git a/gen/recaptchaenterprise1-cli/mkdocs.yml b/gen/recaptchaenterprise1-cli/mkdocs.yml index 7c3db9fcbe..df6252a3ce 100644 --- a/gen/recaptchaenterprise1-cli/mkdocs.yml +++ b/gen/recaptchaenterprise1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Recaptcha Enterprise v3.0.0+20220226 +site_name: Recaptcha Enterprise v3.1.0+20220226 site_url: http://byron.github.io/google-apis-rs/google-recaptchaenterprise1-cli site_description: A complete library to interact with Recaptcha Enterprise (protocol v1) diff --git a/gen/recaptchaenterprise1-cli/src/main.rs b/gen/recaptchaenterprise1-cli/src/main.rs index 1643dd9530..cfc602b926 100644 --- a/gen/recaptchaenterprise1-cli/src/main.rs +++ b/gen/recaptchaenterprise1-cli/src/main.rs @@ -1021,7 +1021,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/recaptchaenterprise1", 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::RecaptchaEnterprise::new(client, auth), @@ -1363,7 +1369,7 @@ async fn main() { let mut app = App::new("recaptchaenterprise1") .author("Sebastian Thiel ") - .version("3.0.0+20220226") + .version("3.1.0+20220226") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_recaptchaenterprise1_cli") .arg(Arg::with_name("url") diff --git a/gen/recaptchaenterprise1/Cargo.toml b/gen/recaptchaenterprise1/Cargo.toml index 805b550f67..4a330d8c82 100644 --- a/gen/recaptchaenterprise1/Cargo.toml +++ b/gen/recaptchaenterprise1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-recaptchaenterprise1" -version = "3.0.0+20220226" +version = "3.1.0+20220226" authors = ["Sebastian Thiel "] description = "A complete library to interact with Recaptcha Enterprise (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/recaptchaenterprise1" homepage = "https://cloud.google.com/recaptcha-enterprise/" -documentation = "https://docs.rs/google-recaptchaenterprise1/3.0.0+20220226" +documentation = "https://docs.rs/google-recaptchaenterprise1/3.1.0+20220226" license = "MIT" keywords = ["recaptchaenterprise", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/recaptchaenterprise1/README.md b/gen/recaptchaenterprise1/README.md index c7cb5e1f49..53687604da 100644 --- a/gen/recaptchaenterprise1/README.md +++ b/gen/recaptchaenterprise1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-recaptchaenterprise1` library allows access to all features of the *Google Recaptcha Enterprise* service. -This documentation was generated from *Recaptcha Enterprise* crate version *3.0.0+20220226*, where *20220226* is the exact revision of the *recaptchaenterprise:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Recaptcha Enterprise* crate version *3.1.0+20220226*, where *20220226* is the exact revision of the *recaptchaenterprise:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Recaptcha Enterprise* *v1* API can be found at the [official documentation site](https://cloud.google.com/recaptcha-enterprise/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-recaptchaenterprise1/3.0.0+20220226/google_recaptchaenterprise1/RecaptchaEnterprise) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-recaptchaenterprise1/3.1.0+20220226/google_recaptchaenterprise1/RecaptchaEnterprise) ... * projects - * [*assessments annotate*](https://docs.rs/google-recaptchaenterprise1/3.0.0+20220226/google_recaptchaenterprise1/api::ProjectAssessmentAnnotateCall), [*assessments create*](https://docs.rs/google-recaptchaenterprise1/3.0.0+20220226/google_recaptchaenterprise1/api::ProjectAssessmentCreateCall), [*keys create*](https://docs.rs/google-recaptchaenterprise1/3.0.0+20220226/google_recaptchaenterprise1/api::ProjectKeyCreateCall), [*keys delete*](https://docs.rs/google-recaptchaenterprise1/3.0.0+20220226/google_recaptchaenterprise1/api::ProjectKeyDeleteCall), [*keys get*](https://docs.rs/google-recaptchaenterprise1/3.0.0+20220226/google_recaptchaenterprise1/api::ProjectKeyGetCall), [*keys get metrics*](https://docs.rs/google-recaptchaenterprise1/3.0.0+20220226/google_recaptchaenterprise1/api::ProjectKeyGetMetricCall), [*keys list*](https://docs.rs/google-recaptchaenterprise1/3.0.0+20220226/google_recaptchaenterprise1/api::ProjectKeyListCall), [*keys migrate*](https://docs.rs/google-recaptchaenterprise1/3.0.0+20220226/google_recaptchaenterprise1/api::ProjectKeyMigrateCall), [*keys patch*](https://docs.rs/google-recaptchaenterprise1/3.0.0+20220226/google_recaptchaenterprise1/api::ProjectKeyPatchCall), [*relatedaccountgroupmemberships search*](https://docs.rs/google-recaptchaenterprise1/3.0.0+20220226/google_recaptchaenterprise1/api::ProjectRelatedaccountgroupmembershipSearchCall), [*relatedaccountgroups list*](https://docs.rs/google-recaptchaenterprise1/3.0.0+20220226/google_recaptchaenterprise1/api::ProjectRelatedaccountgroupListCall) and [*relatedaccountgroups memberships list*](https://docs.rs/google-recaptchaenterprise1/3.0.0+20220226/google_recaptchaenterprise1/api::ProjectRelatedaccountgroupMembershipListCall) + * [*assessments annotate*](https://docs.rs/google-recaptchaenterprise1/3.1.0+20220226/google_recaptchaenterprise1/api::ProjectAssessmentAnnotateCall), [*assessments create*](https://docs.rs/google-recaptchaenterprise1/3.1.0+20220226/google_recaptchaenterprise1/api::ProjectAssessmentCreateCall), [*keys create*](https://docs.rs/google-recaptchaenterprise1/3.1.0+20220226/google_recaptchaenterprise1/api::ProjectKeyCreateCall), [*keys delete*](https://docs.rs/google-recaptchaenterprise1/3.1.0+20220226/google_recaptchaenterprise1/api::ProjectKeyDeleteCall), [*keys get*](https://docs.rs/google-recaptchaenterprise1/3.1.0+20220226/google_recaptchaenterprise1/api::ProjectKeyGetCall), [*keys get metrics*](https://docs.rs/google-recaptchaenterprise1/3.1.0+20220226/google_recaptchaenterprise1/api::ProjectKeyGetMetricCall), [*keys list*](https://docs.rs/google-recaptchaenterprise1/3.1.0+20220226/google_recaptchaenterprise1/api::ProjectKeyListCall), [*keys migrate*](https://docs.rs/google-recaptchaenterprise1/3.1.0+20220226/google_recaptchaenterprise1/api::ProjectKeyMigrateCall), [*keys patch*](https://docs.rs/google-recaptchaenterprise1/3.1.0+20220226/google_recaptchaenterprise1/api::ProjectKeyPatchCall), [*relatedaccountgroupmemberships search*](https://docs.rs/google-recaptchaenterprise1/3.1.0+20220226/google_recaptchaenterprise1/api::ProjectRelatedaccountgroupmembershipSearchCall), [*relatedaccountgroups list*](https://docs.rs/google-recaptchaenterprise1/3.1.0+20220226/google_recaptchaenterprise1/api::ProjectRelatedaccountgroupListCall) and [*relatedaccountgroups memberships list*](https://docs.rs/google-recaptchaenterprise1/3.1.0+20220226/google_recaptchaenterprise1/api::ProjectRelatedaccountgroupMembershipListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-recaptchaenterprise1/3.0.0+20220226/google_recaptchaenterprise1/RecaptchaEnterprise)** +* **[Hub](https://docs.rs/google-recaptchaenterprise1/3.1.0+20220226/google_recaptchaenterprise1/RecaptchaEnterprise)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-recaptchaenterprise1/3.0.0+20220226/google_recaptchaenterprise1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-recaptchaenterprise1/3.0.0+20220226/google_recaptchaenterprise1/client::CallBuilder) -* **[Resources](https://docs.rs/google-recaptchaenterprise1/3.0.0+20220226/google_recaptchaenterprise1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-recaptchaenterprise1/3.1.0+20220226/google_recaptchaenterprise1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-recaptchaenterprise1/3.1.0+20220226/google_recaptchaenterprise1/client::CallBuilder) +* **[Resources](https://docs.rs/google-recaptchaenterprise1/3.1.0+20220226/google_recaptchaenterprise1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-recaptchaenterprise1/3.0.0+20220226/google_recaptchaenterprise1/client::Part)** + * **[Parts](https://docs.rs/google-recaptchaenterprise1/3.1.0+20220226/google_recaptchaenterprise1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-recaptchaenterprise1/3.0.0+20220226/google_recaptchaenterprise1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-recaptchaenterprise1/3.1.0+20220226/google_recaptchaenterprise1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -94,7 +94,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = RecaptchaEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = RecaptchaEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -128,17 +128,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-recaptchaenterprise1/3.0.0+20220226/google_recaptchaenterprise1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-recaptchaenterprise1/3.1.0+20220226/google_recaptchaenterprise1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-recaptchaenterprise1/3.0.0+20220226/google_recaptchaenterprise1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-recaptchaenterprise1/3.1.0+20220226/google_recaptchaenterprise1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-recaptchaenterprise1/3.0.0+20220226/google_recaptchaenterprise1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-recaptchaenterprise1/3.1.0+20220226/google_recaptchaenterprise1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-recaptchaenterprise1/3.0.0+20220226/google_recaptchaenterprise1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-recaptchaenterprise1/3.1.0+20220226/google_recaptchaenterprise1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -148,29 +148,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-recaptchaenterprise1/3.0.0+20220226/google_recaptchaenterprise1/client::Delegate) to the -[Method Builder](https://docs.rs/google-recaptchaenterprise1/3.0.0+20220226/google_recaptchaenterprise1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-recaptchaenterprise1/3.1.0+20220226/google_recaptchaenterprise1/client::Delegate) to the +[Method Builder](https://docs.rs/google-recaptchaenterprise1/3.1.0+20220226/google_recaptchaenterprise1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-recaptchaenterprise1/3.0.0+20220226/google_recaptchaenterprise1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-recaptchaenterprise1/3.1.0+20220226/google_recaptchaenterprise1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-recaptchaenterprise1/3.0.0+20220226/google_recaptchaenterprise1/client::RequestValue) and -[decodable](https://docs.rs/google-recaptchaenterprise1/3.0.0+20220226/google_recaptchaenterprise1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-recaptchaenterprise1/3.1.0+20220226/google_recaptchaenterprise1/client::RequestValue) and +[decodable](https://docs.rs/google-recaptchaenterprise1/3.1.0+20220226/google_recaptchaenterprise1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-recaptchaenterprise1/3.0.0+20220226/google_recaptchaenterprise1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-recaptchaenterprise1/3.1.0+20220226/google_recaptchaenterprise1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-recaptchaenterprise1/3.0.0+20220226/google_recaptchaenterprise1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-recaptchaenterprise1/3.1.0+20220226/google_recaptchaenterprise1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-recaptchaenterprise1/3.0.0+20220226/google_recaptchaenterprise1/client::RequestValue) are moved +* [request values](https://docs.rs/google-recaptchaenterprise1/3.1.0+20220226/google_recaptchaenterprise1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/recaptchaenterprise1/src/api.rs b/gen/recaptchaenterprise1/src/api.rs index 8dfd902ab7..7861ce076b 100644 --- a/gen/recaptchaenterprise1/src/api.rs +++ b/gen/recaptchaenterprise1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = RecaptchaEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = RecaptchaEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > RecaptchaEnterprise<> { RecaptchaEnterprise { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://recaptchaenterprise.googleapis.com/".to_string(), _root_url: "https://recaptchaenterprise.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > RecaptchaEnterprise<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -723,7 +723,7 @@ impl client::ResponseResult for GoogleProtobufEmpty {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = RecaptchaEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = RecaptchaEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `assessments_annotate(...)`, `assessments_create(...)`, `keys_create(...)`, `keys_delete(...)`, `keys_get(...)`, `keys_get_metrics(...)`, `keys_list(...)`, `keys_migrate(...)`, `keys_patch(...)`, `relatedaccountgroupmemberships_search(...)`, `relatedaccountgroups_list(...)` and `relatedaccountgroups_memberships_list(...)` /// // to build up your call. @@ -995,7 +995,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RecaptchaEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RecaptchaEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1281,7 +1281,7 @@ impl<'a> ProjectAssessmentAnnotateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RecaptchaEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RecaptchaEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1567,7 +1567,7 @@ impl<'a> ProjectAssessmentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RecaptchaEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RecaptchaEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1852,7 +1852,7 @@ impl<'a> ProjectKeyCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RecaptchaEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RecaptchaEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2108,7 +2108,7 @@ impl<'a> ProjectKeyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RecaptchaEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RecaptchaEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2364,7 +2364,7 @@ impl<'a> ProjectKeyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RecaptchaEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RecaptchaEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2620,7 +2620,7 @@ impl<'a> ProjectKeyGetMetricCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RecaptchaEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RecaptchaEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2901,7 +2901,7 @@ impl<'a> ProjectKeyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RecaptchaEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RecaptchaEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3187,7 +3187,7 @@ impl<'a> ProjectKeyMigrateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RecaptchaEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RecaptchaEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3485,7 +3485,7 @@ impl<'a> ProjectKeyPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RecaptchaEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RecaptchaEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3770,7 +3770,7 @@ impl<'a> ProjectRelatedaccountgroupmembershipSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RecaptchaEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RecaptchaEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4050,7 +4050,7 @@ impl<'a> ProjectRelatedaccountgroupMembershipListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RecaptchaEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RecaptchaEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/recaptchaenterprise1/src/lib.rs b/gen/recaptchaenterprise1/src/lib.rs index a9aa7f4d07..434be42232 100644 --- a/gen/recaptchaenterprise1/src/lib.rs +++ b/gen/recaptchaenterprise1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Recaptcha Enterprise* crate version *3.0.0+20220226*, where *20220226* is the exact revision of the *recaptchaenterprise:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Recaptcha Enterprise* crate version *3.1.0+20220226*, where *20220226* is the exact revision of the *recaptchaenterprise:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Recaptcha Enterprise* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/recaptcha-enterprise/). @@ -95,7 +95,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = RecaptchaEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = RecaptchaEnterprise::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/recommendationengine1_beta1-cli/Cargo.toml b/gen/recommendationengine1_beta1-cli/Cargo.toml index a476d8d815..414bd427a8 100644 --- a/gen/recommendationengine1_beta1-cli/Cargo.toml +++ b/gen/recommendationengine1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-recommendationengine1_beta1-cli" -version = "3.0.0+20220224" +version = "3.1.0+20220224" authors = ["Sebastian Thiel "] description = "A complete library to interact with Recommendations AI (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/recommendationengine1_beta1-cli" @@ -20,12 +20,12 @@ name = "recommendationengine1-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-recommendationengine1_beta1] path = "../recommendationengine1_beta1" -version = "3.0.0+20220224" +version = "3.1.0+20220224" diff --git a/gen/recommendationengine1_beta1-cli/README.md b/gen/recommendationengine1_beta1-cli/README.md index ee7f0794ab..7ed183d332 100644 --- a/gen/recommendationengine1_beta1-cli/README.md +++ b/gen/recommendationengine1_beta1-cli/README.md @@ -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 *Recommendations AI* API at revision *20220224*. The CLI is at version *3.0.0*. +This documentation was generated from the *Recommendations AI* API at revision *20220224*. The CLI is at version *3.1.0*. ```bash recommendationengine1-beta1 [options] diff --git a/gen/recommendationengine1_beta1-cli/mkdocs.yml b/gen/recommendationengine1_beta1-cli/mkdocs.yml index dd13006cb2..029d1dc2d2 100644 --- a/gen/recommendationengine1_beta1-cli/mkdocs.yml +++ b/gen/recommendationengine1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Recommendations AI v3.0.0+20220224 +site_name: Recommendations AI v3.1.0+20220224 site_url: http://byron.github.io/google-apis-rs/google-recommendationengine1_beta1-cli site_description: A complete library to interact with Recommendations AI (protocol v1beta1) diff --git a/gen/recommendationengine1_beta1-cli/src/main.rs b/gen/recommendationengine1_beta1-cli/src/main.rs index 91086180ed..eccc3e739d 100644 --- a/gen/recommendationengine1_beta1-cli/src/main.rs +++ b/gen/recommendationengine1_beta1-cli/src/main.rs @@ -1796,7 +1796,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/recommendationengine1-beta1", 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::RecommendationsAI::new(client, auth), @@ -2382,7 +2388,7 @@ async fn main() { let mut app = App::new("recommendationengine1-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20220224") + .version("3.1.0+20220224") .about("Note that we now highly recommend new customers to use Retail API, which incorporates the GA version of the Recommendations AI funtionalities. To enable Retail API, please visit https://console.cloud.google.com/apis/library/retail.googleapis.com. The Recommendations AI service enables customers to build end-to-end personalized recommendation systems without requiring a high level of expertise in machine learning, recommendation system, or Google Cloud.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_recommendationengine1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/recommendationengine1_beta1/Cargo.toml b/gen/recommendationengine1_beta1/Cargo.toml index 044b0f265f..0f2732cb0a 100644 --- a/gen/recommendationengine1_beta1/Cargo.toml +++ b/gen/recommendationengine1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-recommendationengine1_beta1" -version = "3.0.0+20220224" +version = "3.1.0+20220224" authors = ["Sebastian Thiel "] description = "A complete library to interact with Recommendations AI (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/recommendationengine1_beta1" homepage = "https://cloud.google.com/recommendations-ai/docs" -documentation = "https://docs.rs/google-recommendationengine1_beta1/3.0.0+20220224" +documentation = "https://docs.rs/google-recommendationengine1_beta1/3.1.0+20220224" license = "MIT" keywords = ["recommendationengine", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/recommendationengine1_beta1/README.md b/gen/recommendationengine1_beta1/README.md index 4c434c08c1..ab1823f1bf 100644 --- a/gen/recommendationengine1_beta1/README.md +++ b/gen/recommendationengine1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-recommendationengine1_beta1` library allows access to all features of the *Google Recommendations AI* service. -This documentation was generated from *Recommendations AI* crate version *3.0.0+20220224*, where *20220224* is the exact revision of the *recommendationengine:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Recommendations AI* crate version *3.1.0+20220224*, where *20220224* is the exact revision of the *recommendationengine:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Recommendations AI* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/recommendations-ai/docs). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-recommendationengine1_beta1/3.0.0+20220224/google_recommendationengine1_beta1/RecommendationsAI) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-recommendationengine1_beta1/3.1.0+20220224/google_recommendationengine1_beta1/RecommendationsAI) ... * projects - * [*locations catalogs catalog items create*](https://docs.rs/google-recommendationengine1_beta1/3.0.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogCatalogItemCreateCall), [*locations catalogs catalog items delete*](https://docs.rs/google-recommendationengine1_beta1/3.0.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogCatalogItemDeleteCall), [*locations catalogs catalog items get*](https://docs.rs/google-recommendationengine1_beta1/3.0.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogCatalogItemGetCall), [*locations catalogs catalog items import*](https://docs.rs/google-recommendationengine1_beta1/3.0.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogCatalogItemImportCall), [*locations catalogs catalog items list*](https://docs.rs/google-recommendationengine1_beta1/3.0.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogCatalogItemListCall), [*locations catalogs catalog items patch*](https://docs.rs/google-recommendationengine1_beta1/3.0.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogCatalogItemPatchCall), [*locations catalogs event stores operations get*](https://docs.rs/google-recommendationengine1_beta1/3.0.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStoreOperationGetCall), [*locations catalogs event stores operations list*](https://docs.rs/google-recommendationengine1_beta1/3.0.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStoreOperationListCall), [*locations catalogs event stores placements predict*](https://docs.rs/google-recommendationengine1_beta1/3.0.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStorePlacementPredictCall), [*locations catalogs event stores prediction api key registrations create*](https://docs.rs/google-recommendationengine1_beta1/3.0.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStorePredictionApiKeyRegistrationCreateCall), [*locations catalogs event stores prediction api key registrations delete*](https://docs.rs/google-recommendationengine1_beta1/3.0.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStorePredictionApiKeyRegistrationDeleteCall), [*locations catalogs event stores prediction api key registrations list*](https://docs.rs/google-recommendationengine1_beta1/3.0.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStorePredictionApiKeyRegistrationListCall), [*locations catalogs event stores user events collect*](https://docs.rs/google-recommendationengine1_beta1/3.0.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStoreUserEventCollectCall), [*locations catalogs event stores user events import*](https://docs.rs/google-recommendationengine1_beta1/3.0.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStoreUserEventImportCall), [*locations catalogs event stores user events list*](https://docs.rs/google-recommendationengine1_beta1/3.0.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStoreUserEventListCall), [*locations catalogs event stores user events purge*](https://docs.rs/google-recommendationengine1_beta1/3.0.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStoreUserEventPurgeCall), [*locations catalogs event stores user events rejoin*](https://docs.rs/google-recommendationengine1_beta1/3.0.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStoreUserEventRejoinCall), [*locations catalogs event stores user events write*](https://docs.rs/google-recommendationengine1_beta1/3.0.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStoreUserEventWriteCall), [*locations catalogs list*](https://docs.rs/google-recommendationengine1_beta1/3.0.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogListCall), [*locations catalogs operations get*](https://docs.rs/google-recommendationengine1_beta1/3.0.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogOperationGetCall), [*locations catalogs operations list*](https://docs.rs/google-recommendationengine1_beta1/3.0.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogOperationListCall) and [*locations catalogs patch*](https://docs.rs/google-recommendationengine1_beta1/3.0.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogPatchCall) + * [*locations catalogs catalog items create*](https://docs.rs/google-recommendationengine1_beta1/3.1.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogCatalogItemCreateCall), [*locations catalogs catalog items delete*](https://docs.rs/google-recommendationengine1_beta1/3.1.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogCatalogItemDeleteCall), [*locations catalogs catalog items get*](https://docs.rs/google-recommendationengine1_beta1/3.1.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogCatalogItemGetCall), [*locations catalogs catalog items import*](https://docs.rs/google-recommendationengine1_beta1/3.1.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogCatalogItemImportCall), [*locations catalogs catalog items list*](https://docs.rs/google-recommendationengine1_beta1/3.1.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogCatalogItemListCall), [*locations catalogs catalog items patch*](https://docs.rs/google-recommendationengine1_beta1/3.1.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogCatalogItemPatchCall), [*locations catalogs event stores operations get*](https://docs.rs/google-recommendationengine1_beta1/3.1.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStoreOperationGetCall), [*locations catalogs event stores operations list*](https://docs.rs/google-recommendationengine1_beta1/3.1.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStoreOperationListCall), [*locations catalogs event stores placements predict*](https://docs.rs/google-recommendationengine1_beta1/3.1.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStorePlacementPredictCall), [*locations catalogs event stores prediction api key registrations create*](https://docs.rs/google-recommendationengine1_beta1/3.1.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStorePredictionApiKeyRegistrationCreateCall), [*locations catalogs event stores prediction api key registrations delete*](https://docs.rs/google-recommendationengine1_beta1/3.1.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStorePredictionApiKeyRegistrationDeleteCall), [*locations catalogs event stores prediction api key registrations list*](https://docs.rs/google-recommendationengine1_beta1/3.1.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStorePredictionApiKeyRegistrationListCall), [*locations catalogs event stores user events collect*](https://docs.rs/google-recommendationengine1_beta1/3.1.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStoreUserEventCollectCall), [*locations catalogs event stores user events import*](https://docs.rs/google-recommendationengine1_beta1/3.1.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStoreUserEventImportCall), [*locations catalogs event stores user events list*](https://docs.rs/google-recommendationengine1_beta1/3.1.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStoreUserEventListCall), [*locations catalogs event stores user events purge*](https://docs.rs/google-recommendationengine1_beta1/3.1.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStoreUserEventPurgeCall), [*locations catalogs event stores user events rejoin*](https://docs.rs/google-recommendationengine1_beta1/3.1.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStoreUserEventRejoinCall), [*locations catalogs event stores user events write*](https://docs.rs/google-recommendationengine1_beta1/3.1.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogEventStoreUserEventWriteCall), [*locations catalogs list*](https://docs.rs/google-recommendationengine1_beta1/3.1.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogListCall), [*locations catalogs operations get*](https://docs.rs/google-recommendationengine1_beta1/3.1.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogOperationGetCall), [*locations catalogs operations list*](https://docs.rs/google-recommendationengine1_beta1/3.1.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogOperationListCall) and [*locations catalogs patch*](https://docs.rs/google-recommendationengine1_beta1/3.1.0+20220224/google_recommendationengine1_beta1/api::ProjectLocationCatalogPatchCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-recommendationengine1_beta1/3.0.0+20220224/google_recommendationengine1_beta1/RecommendationsAI)** +* **[Hub](https://docs.rs/google-recommendationengine1_beta1/3.1.0+20220224/google_recommendationengine1_beta1/RecommendationsAI)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-recommendationengine1_beta1/3.0.0+20220224/google_recommendationengine1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-recommendationengine1_beta1/3.0.0+20220224/google_recommendationengine1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-recommendationengine1_beta1/3.0.0+20220224/google_recommendationengine1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-recommendationengine1_beta1/3.1.0+20220224/google_recommendationengine1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-recommendationengine1_beta1/3.1.0+20220224/google_recommendationengine1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-recommendationengine1_beta1/3.1.0+20220224/google_recommendationengine1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-recommendationengine1_beta1/3.0.0+20220224/google_recommendationengine1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-recommendationengine1_beta1/3.1.0+20220224/google_recommendationengine1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-recommendationengine1_beta1/3.0.0+20220224/google_recommendationengine1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-recommendationengine1_beta1/3.1.0+20220224/google_recommendationengine1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -96,7 +96,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -129,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-recommendationengine1_beta1/3.0.0+20220224/google_recommendationengine1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-recommendationengine1_beta1/3.1.0+20220224/google_recommendationengine1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-recommendationengine1_beta1/3.0.0+20220224/google_recommendationengine1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-recommendationengine1_beta1/3.1.0+20220224/google_recommendationengine1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-recommendationengine1_beta1/3.0.0+20220224/google_recommendationengine1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-recommendationengine1_beta1/3.1.0+20220224/google_recommendationengine1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-recommendationengine1_beta1/3.0.0+20220224/google_recommendationengine1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-recommendationengine1_beta1/3.1.0+20220224/google_recommendationengine1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -149,29 +149,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-recommendationengine1_beta1/3.0.0+20220224/google_recommendationengine1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-recommendationengine1_beta1/3.0.0+20220224/google_recommendationengine1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-recommendationengine1_beta1/3.1.0+20220224/google_recommendationengine1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-recommendationengine1_beta1/3.1.0+20220224/google_recommendationengine1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-recommendationengine1_beta1/3.0.0+20220224/google_recommendationengine1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-recommendationengine1_beta1/3.1.0+20220224/google_recommendationengine1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-recommendationengine1_beta1/3.0.0+20220224/google_recommendationengine1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-recommendationengine1_beta1/3.0.0+20220224/google_recommendationengine1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-recommendationengine1_beta1/3.1.0+20220224/google_recommendationengine1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-recommendationengine1_beta1/3.1.0+20220224/google_recommendationengine1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-recommendationengine1_beta1/3.0.0+20220224/google_recommendationengine1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-recommendationengine1_beta1/3.1.0+20220224/google_recommendationengine1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-recommendationengine1_beta1/3.0.0+20220224/google_recommendationengine1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-recommendationengine1_beta1/3.1.0+20220224/google_recommendationengine1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-recommendationengine1_beta1/3.0.0+20220224/google_recommendationengine1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-recommendationengine1_beta1/3.1.0+20220224/google_recommendationengine1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/recommendationengine1_beta1/src/api.rs b/gen/recommendationengine1_beta1/src/api.rs index e02ad832f5..3b2d87efdb 100644 --- a/gen/recommendationengine1_beta1/src/api.rs +++ b/gen/recommendationengine1_beta1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > RecommendationsAI<> { RecommendationsAI { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://recommendationengine.googleapis.com/".to_string(), _root_url: "https://recommendationengine.googleapis.com/".to_string(), } @@ -130,7 +130,7 @@ impl<'a, > RecommendationsAI<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1098,7 +1098,7 @@ impl client::Part for GoogleRpcStatus {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_catalogs_catalog_items_create(...)`, `locations_catalogs_catalog_items_delete(...)`, `locations_catalogs_catalog_items_get(...)`, `locations_catalogs_catalog_items_import(...)`, `locations_catalogs_catalog_items_list(...)`, `locations_catalogs_catalog_items_patch(...)`, `locations_catalogs_event_stores_operations_get(...)`, `locations_catalogs_event_stores_operations_list(...)`, `locations_catalogs_event_stores_placements_predict(...)`, `locations_catalogs_event_stores_prediction_api_key_registrations_create(...)`, `locations_catalogs_event_stores_prediction_api_key_registrations_delete(...)`, `locations_catalogs_event_stores_prediction_api_key_registrations_list(...)`, `locations_catalogs_event_stores_user_events_collect(...)`, `locations_catalogs_event_stores_user_events_import(...)`, `locations_catalogs_event_stores_user_events_list(...)`, `locations_catalogs_event_stores_user_events_purge(...)`, `locations_catalogs_event_stores_user_events_rejoin(...)`, `locations_catalogs_event_stores_user_events_write(...)`, `locations_catalogs_list(...)`, `locations_catalogs_operations_get(...)`, `locations_catalogs_operations_list(...)` and `locations_catalogs_patch(...)` /// // to build up your call. @@ -1562,7 +1562,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1847,7 +1847,7 @@ impl<'a> ProjectLocationCatalogCatalogItemCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2103,7 +2103,7 @@ impl<'a> ProjectLocationCatalogCatalogItemDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2360,7 +2360,7 @@ impl<'a> ProjectLocationCatalogCatalogItemGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2645,7 +2645,7 @@ impl<'a> ProjectLocationCatalogCatalogItemImportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2938,7 +2938,7 @@ impl<'a> ProjectLocationCatalogCatalogItemListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3235,7 +3235,7 @@ impl<'a> ProjectLocationCatalogCatalogItemPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3491,7 +3491,7 @@ impl<'a> ProjectLocationCatalogEventStoreOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3784,7 +3784,7 @@ impl<'a> ProjectLocationCatalogEventStoreOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4070,7 +4070,7 @@ impl<'a> ProjectLocationCatalogEventStorePlacementPredictCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4355,7 +4355,7 @@ impl<'a> ProjectLocationCatalogEventStorePredictionApiKeyRegistrationCreateCall< /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4611,7 +4611,7 @@ impl<'a> ProjectLocationCatalogEventStorePredictionApiKeyRegistrationDeleteCall< /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4891,7 +4891,7 @@ impl<'a> ProjectLocationCatalogEventStorePredictionApiKeyRegistrationListCall<'a /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5184,7 +5184,7 @@ impl<'a> ProjectLocationCatalogEventStoreUserEventCollectCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5469,7 +5469,7 @@ impl<'a> ProjectLocationCatalogEventStoreUserEventImportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5762,7 +5762,7 @@ impl<'a> ProjectLocationCatalogEventStoreUserEventListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6048,7 +6048,7 @@ impl<'a> ProjectLocationCatalogEventStoreUserEventPurgeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6334,7 +6334,7 @@ impl<'a> ProjectLocationCatalogEventStoreUserEventRejoinCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6619,7 +6619,7 @@ impl<'a> ProjectLocationCatalogEventStoreUserEventWriteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6875,7 +6875,7 @@ impl<'a> ProjectLocationCatalogOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7167,7 +7167,7 @@ impl<'a> ProjectLocationCatalogOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7448,7 +7448,7 @@ impl<'a> ProjectLocationCatalogListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/recommendationengine1_beta1/src/lib.rs b/gen/recommendationengine1_beta1/src/lib.rs index f0cb9dfd12..68fa7f6d57 100644 --- a/gen/recommendationengine1_beta1/src/lib.rs +++ b/gen/recommendationengine1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Recommendations AI* crate version *3.0.0+20220224*, where *20220224* is the exact revision of the *recommendationengine:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Recommendations AI* crate version *3.1.0+20220224*, where *20220224* is the exact revision of the *recommendationengine:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Recommendations AI* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/recommendations-ai/docs). @@ -97,7 +97,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = RecommendationsAI::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/recommender1-cli/Cargo.toml b/gen/recommender1-cli/Cargo.toml index 459126b1fc..576094adf6 100644 --- a/gen/recommender1-cli/Cargo.toml +++ b/gen/recommender1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-recommender1-cli" -version = "3.0.0+20220228" +version = "3.1.0+20220228" authors = ["Sebastian Thiel "] description = "A complete library to interact with Recommender (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/recommender1-cli" @@ -20,12 +20,12 @@ name = "recommender1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-recommender1] path = "../recommender1" -version = "3.0.0+20220228" +version = "3.1.0+20220228" diff --git a/gen/recommender1-cli/README.md b/gen/recommender1-cli/README.md index 64d413a47e..7fa682674e 100644 --- a/gen/recommender1-cli/README.md +++ b/gen/recommender1-cli/README.md @@ -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 *Recommender* API at revision *20220228*. The CLI is at version *3.0.0*. +This documentation was generated from the *Recommender* API at revision *20220228*. The CLI is at version *3.1.0*. ```bash recommender1 [options] diff --git a/gen/recommender1-cli/mkdocs.yml b/gen/recommender1-cli/mkdocs.yml index 4a416fb991..6cabdde83a 100644 --- a/gen/recommender1-cli/mkdocs.yml +++ b/gen/recommender1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Recommender v3.0.0+20220228 +site_name: Recommender v3.1.0+20220228 site_url: http://byron.github.io/google-apis-rs/google-recommender1-cli site_description: A complete library to interact with Recommender (protocol v1) diff --git a/gen/recommender1-cli/src/main.rs b/gen/recommender1-cli/src/main.rs index 72ba959188..a5c3f82569 100644 --- a/gen/recommender1-cli/src/main.rs +++ b/gen/recommender1-cli/src/main.rs @@ -2497,7 +2497,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/recommender1", 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::Recommender::new(client, auth), @@ -3348,7 +3354,7 @@ async fn main() { let mut app = App::new("recommender1") .author("Sebastian Thiel ") - .version("3.0.0+20220228") + .version("3.1.0+20220228") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_recommender1_cli") .arg(Arg::with_name("url") diff --git a/gen/recommender1/Cargo.toml b/gen/recommender1/Cargo.toml index 2ad7a9fa2e..52d02da58d 100644 --- a/gen/recommender1/Cargo.toml +++ b/gen/recommender1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-recommender1" -version = "3.0.0+20220228" +version = "3.1.0+20220228" authors = ["Sebastian Thiel "] description = "A complete library to interact with Recommender (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/recommender1" homepage = "https://cloud.google.com/recommender/docs/" -documentation = "https://docs.rs/google-recommender1/3.0.0+20220228" +documentation = "https://docs.rs/google-recommender1/3.1.0+20220228" license = "MIT" keywords = ["recommender", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/recommender1/README.md b/gen/recommender1/README.md index 85a317f1d3..5e96371ad9 100644 --- a/gen/recommender1/README.md +++ b/gen/recommender1/README.md @@ -5,22 +5,22 @@ DO NOT EDIT ! --> The `google-recommender1` library allows access to all features of the *Google Recommender* service. -This documentation was generated from *Recommender* crate version *3.0.0+20220228*, where *20220228* is the exact revision of the *recommender:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Recommender* crate version *3.1.0+20220228*, where *20220228* is the exact revision of the *recommender:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Recommender* *v1* API can be found at the [official documentation site](https://cloud.google.com/recommender/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/Recommender) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/Recommender) ... * billing accounts - * [*locations insight types insights get*](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/api::BillingAccountLocationInsightTypeInsightGetCall), [*locations insight types insights list*](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/api::BillingAccountLocationInsightTypeInsightListCall), [*locations insight types insights mark accepted*](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/api::BillingAccountLocationInsightTypeInsightMarkAcceptedCall), [*locations recommenders recommendations get*](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/api::BillingAccountLocationRecommenderRecommendationGetCall), [*locations recommenders recommendations list*](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/api::BillingAccountLocationRecommenderRecommendationListCall), [*locations recommenders recommendations mark claimed*](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/api::BillingAccountLocationRecommenderRecommendationMarkClaimedCall), [*locations recommenders recommendations mark failed*](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/api::BillingAccountLocationRecommenderRecommendationMarkFailedCall) and [*locations recommenders recommendations mark succeeded*](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/api::BillingAccountLocationRecommenderRecommendationMarkSucceededCall) + * [*locations insight types insights get*](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/api::BillingAccountLocationInsightTypeInsightGetCall), [*locations insight types insights list*](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/api::BillingAccountLocationInsightTypeInsightListCall), [*locations insight types insights mark accepted*](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/api::BillingAccountLocationInsightTypeInsightMarkAcceptedCall), [*locations recommenders recommendations get*](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/api::BillingAccountLocationRecommenderRecommendationGetCall), [*locations recommenders recommendations list*](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/api::BillingAccountLocationRecommenderRecommendationListCall), [*locations recommenders recommendations mark claimed*](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/api::BillingAccountLocationRecommenderRecommendationMarkClaimedCall), [*locations recommenders recommendations mark failed*](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/api::BillingAccountLocationRecommenderRecommendationMarkFailedCall) and [*locations recommenders recommendations mark succeeded*](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/api::BillingAccountLocationRecommenderRecommendationMarkSucceededCall) * folders - * [*locations insight types insights get*](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/api::FolderLocationInsightTypeInsightGetCall), [*locations insight types insights list*](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/api::FolderLocationInsightTypeInsightListCall), [*locations insight types insights mark accepted*](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/api::FolderLocationInsightTypeInsightMarkAcceptedCall), [*locations recommenders recommendations get*](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/api::FolderLocationRecommenderRecommendationGetCall), [*locations recommenders recommendations list*](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/api::FolderLocationRecommenderRecommendationListCall), [*locations recommenders recommendations mark claimed*](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/api::FolderLocationRecommenderRecommendationMarkClaimedCall), [*locations recommenders recommendations mark failed*](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/api::FolderLocationRecommenderRecommendationMarkFailedCall) and [*locations recommenders recommendations mark succeeded*](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/api::FolderLocationRecommenderRecommendationMarkSucceededCall) + * [*locations insight types insights get*](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/api::FolderLocationInsightTypeInsightGetCall), [*locations insight types insights list*](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/api::FolderLocationInsightTypeInsightListCall), [*locations insight types insights mark accepted*](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/api::FolderLocationInsightTypeInsightMarkAcceptedCall), [*locations recommenders recommendations get*](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/api::FolderLocationRecommenderRecommendationGetCall), [*locations recommenders recommendations list*](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/api::FolderLocationRecommenderRecommendationListCall), [*locations recommenders recommendations mark claimed*](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/api::FolderLocationRecommenderRecommendationMarkClaimedCall), [*locations recommenders recommendations mark failed*](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/api::FolderLocationRecommenderRecommendationMarkFailedCall) and [*locations recommenders recommendations mark succeeded*](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/api::FolderLocationRecommenderRecommendationMarkSucceededCall) * organizations - * [*locations insight types insights get*](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/api::OrganizationLocationInsightTypeInsightGetCall), [*locations insight types insights list*](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/api::OrganizationLocationInsightTypeInsightListCall), [*locations insight types insights mark accepted*](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/api::OrganizationLocationInsightTypeInsightMarkAcceptedCall), [*locations recommenders recommendations get*](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/api::OrganizationLocationRecommenderRecommendationGetCall), [*locations recommenders recommendations list*](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/api::OrganizationLocationRecommenderRecommendationListCall), [*locations recommenders recommendations mark claimed*](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/api::OrganizationLocationRecommenderRecommendationMarkClaimedCall), [*locations recommenders recommendations mark failed*](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/api::OrganizationLocationRecommenderRecommendationMarkFailedCall) and [*locations recommenders recommendations mark succeeded*](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/api::OrganizationLocationRecommenderRecommendationMarkSucceededCall) + * [*locations insight types insights get*](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/api::OrganizationLocationInsightTypeInsightGetCall), [*locations insight types insights list*](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/api::OrganizationLocationInsightTypeInsightListCall), [*locations insight types insights mark accepted*](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/api::OrganizationLocationInsightTypeInsightMarkAcceptedCall), [*locations recommenders recommendations get*](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/api::OrganizationLocationRecommenderRecommendationGetCall), [*locations recommenders recommendations list*](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/api::OrganizationLocationRecommenderRecommendationListCall), [*locations recommenders recommendations mark claimed*](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/api::OrganizationLocationRecommenderRecommendationMarkClaimedCall), [*locations recommenders recommendations mark failed*](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/api::OrganizationLocationRecommenderRecommendationMarkFailedCall) and [*locations recommenders recommendations mark succeeded*](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/api::OrganizationLocationRecommenderRecommendationMarkSucceededCall) * projects - * [*locations insight types insights get*](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/api::ProjectLocationInsightTypeInsightGetCall), [*locations insight types insights list*](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/api::ProjectLocationInsightTypeInsightListCall), [*locations insight types insights mark accepted*](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/api::ProjectLocationInsightTypeInsightMarkAcceptedCall), [*locations recommenders recommendations get*](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/api::ProjectLocationRecommenderRecommendationGetCall), [*locations recommenders recommendations list*](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/api::ProjectLocationRecommenderRecommendationListCall), [*locations recommenders recommendations mark claimed*](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/api::ProjectLocationRecommenderRecommendationMarkClaimedCall), [*locations recommenders recommendations mark failed*](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/api::ProjectLocationRecommenderRecommendationMarkFailedCall) and [*locations recommenders recommendations mark succeeded*](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/api::ProjectLocationRecommenderRecommendationMarkSucceededCall) + * [*locations insight types insights get*](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/api::ProjectLocationInsightTypeInsightGetCall), [*locations insight types insights list*](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/api::ProjectLocationInsightTypeInsightListCall), [*locations insight types insights mark accepted*](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/api::ProjectLocationInsightTypeInsightMarkAcceptedCall), [*locations recommenders recommendations get*](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/api::ProjectLocationRecommenderRecommendationGetCall), [*locations recommenders recommendations list*](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/api::ProjectLocationRecommenderRecommendationListCall), [*locations recommenders recommendations mark claimed*](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/api::ProjectLocationRecommenderRecommendationMarkClaimedCall), [*locations recommenders recommendations mark failed*](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/api::ProjectLocationRecommenderRecommendationMarkFailedCall) and [*locations recommenders recommendations mark succeeded*](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/api::ProjectLocationRecommenderRecommendationMarkSucceededCall) @@ -29,17 +29,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/Recommender)** +* **[Hub](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/Recommender)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/client::CallBuilder) -* **[Resources](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/client::CallBuilder) +* **[Resources](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/client::Part)** + * **[Parts](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -112,7 +112,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -145,17 +145,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -165,29 +165,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/client::Delegate) to the -[Method Builder](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/client::Delegate) to the +[Method Builder](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/client::RequestValue) and -[decodable](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/client::RequestValue) and +[decodable](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-recommender1/3.0.0+20220228/google_recommender1/client::RequestValue) are moved +* [request values](https://docs.rs/google-recommender1/3.1.0+20220228/google_recommender1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/recommender1/src/api.rs b/gen/recommender1/src/api.rs index 7f94167c57..461ccc88fd 100644 --- a/gen/recommender1/src/api.rs +++ b/gen/recommender1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > Recommender<> { Recommender { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://recommender.googleapis.com/".to_string(), _root_url: "https://recommender.googleapis.com/".to_string(), } @@ -139,7 +139,7 @@ impl<'a, > Recommender<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -655,7 +655,7 @@ impl client::Part for GoogleTypeMoney {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_insight_types_insights_get(...)`, `locations_insight_types_insights_list(...)`, `locations_insight_types_insights_mark_accepted(...)`, `locations_recommenders_recommendations_get(...)`, `locations_recommenders_recommendations_list(...)`, `locations_recommenders_recommendations_mark_claimed(...)`, `locations_recommenders_recommendations_mark_failed(...)` and `locations_recommenders_recommendations_mark_succeeded(...)` /// // to build up your call. @@ -846,7 +846,7 @@ impl<'a> BillingAccountMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_insight_types_insights_get(...)`, `locations_insight_types_insights_list(...)`, `locations_insight_types_insights_mark_accepted(...)`, `locations_recommenders_recommendations_get(...)`, `locations_recommenders_recommendations_list(...)`, `locations_recommenders_recommendations_mark_claimed(...)`, `locations_recommenders_recommendations_mark_failed(...)` and `locations_recommenders_recommendations_mark_succeeded(...)` /// // to build up your call. @@ -1037,7 +1037,7 @@ impl<'a> FolderMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_insight_types_insights_get(...)`, `locations_insight_types_insights_list(...)`, `locations_insight_types_insights_mark_accepted(...)`, `locations_recommenders_recommendations_get(...)`, `locations_recommenders_recommendations_list(...)`, `locations_recommenders_recommendations_mark_claimed(...)`, `locations_recommenders_recommendations_mark_failed(...)` and `locations_recommenders_recommendations_mark_succeeded(...)` /// // to build up your call. @@ -1228,7 +1228,7 @@ impl<'a> OrganizationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_insight_types_insights_get(...)`, `locations_insight_types_insights_list(...)`, `locations_insight_types_insights_mark_accepted(...)`, `locations_recommenders_recommendations_get(...)`, `locations_recommenders_recommendations_list(...)`, `locations_recommenders_recommendations_mark_claimed(...)`, `locations_recommenders_recommendations_mark_failed(...)` and `locations_recommenders_recommendations_mark_succeeded(...)` /// // to build up your call. @@ -1426,7 +1426,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1682,7 +1682,7 @@ impl<'a> BillingAccountLocationInsightTypeInsightGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1975,7 +1975,7 @@ impl<'a> BillingAccountLocationInsightTypeInsightListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2260,7 +2260,7 @@ impl<'a> BillingAccountLocationInsightTypeInsightMarkAcceptedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2516,7 +2516,7 @@ impl<'a> BillingAccountLocationRecommenderRecommendationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2809,7 +2809,7 @@ impl<'a> BillingAccountLocationRecommenderRecommendationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3095,7 +3095,7 @@ impl<'a> BillingAccountLocationRecommenderRecommendationMarkClaimedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3381,7 +3381,7 @@ impl<'a> BillingAccountLocationRecommenderRecommendationMarkFailedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3666,7 +3666,7 @@ impl<'a> BillingAccountLocationRecommenderRecommendationMarkSucceededCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3922,7 +3922,7 @@ impl<'a> FolderLocationInsightTypeInsightGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4215,7 +4215,7 @@ impl<'a> FolderLocationInsightTypeInsightListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4500,7 +4500,7 @@ impl<'a> FolderLocationInsightTypeInsightMarkAcceptedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4756,7 +4756,7 @@ impl<'a> FolderLocationRecommenderRecommendationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5049,7 +5049,7 @@ impl<'a> FolderLocationRecommenderRecommendationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5335,7 +5335,7 @@ impl<'a> FolderLocationRecommenderRecommendationMarkClaimedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5621,7 +5621,7 @@ impl<'a> FolderLocationRecommenderRecommendationMarkFailedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5906,7 +5906,7 @@ impl<'a> FolderLocationRecommenderRecommendationMarkSucceededCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6162,7 +6162,7 @@ impl<'a> OrganizationLocationInsightTypeInsightGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6455,7 +6455,7 @@ impl<'a> OrganizationLocationInsightTypeInsightListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6740,7 +6740,7 @@ impl<'a> OrganizationLocationInsightTypeInsightMarkAcceptedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6996,7 +6996,7 @@ impl<'a> OrganizationLocationRecommenderRecommendationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7289,7 +7289,7 @@ impl<'a> OrganizationLocationRecommenderRecommendationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7575,7 +7575,7 @@ impl<'a> OrganizationLocationRecommenderRecommendationMarkClaimedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7861,7 +7861,7 @@ impl<'a> OrganizationLocationRecommenderRecommendationMarkFailedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8146,7 +8146,7 @@ impl<'a> OrganizationLocationRecommenderRecommendationMarkSucceededCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8402,7 +8402,7 @@ impl<'a> ProjectLocationInsightTypeInsightGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8695,7 +8695,7 @@ impl<'a> ProjectLocationInsightTypeInsightListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8980,7 +8980,7 @@ impl<'a> ProjectLocationInsightTypeInsightMarkAcceptedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9236,7 +9236,7 @@ impl<'a> ProjectLocationRecommenderRecommendationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9529,7 +9529,7 @@ impl<'a> ProjectLocationRecommenderRecommendationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9815,7 +9815,7 @@ impl<'a> ProjectLocationRecommenderRecommendationMarkClaimedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10101,7 +10101,7 @@ impl<'a> ProjectLocationRecommenderRecommendationMarkFailedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/recommender1/src/lib.rs b/gen/recommender1/src/lib.rs index 1d4ab29385..e00a570eec 100644 --- a/gen/recommender1/src/lib.rs +++ b/gen/recommender1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Recommender* crate version *3.0.0+20220228*, where *20220228* is the exact revision of the *recommender:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Recommender* crate version *3.1.0+20220228*, where *20220228* is the exact revision of the *recommender:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Recommender* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/recommender/docs/). @@ -113,7 +113,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/recommender1_beta1-cli/Cargo.toml b/gen/recommender1_beta1-cli/Cargo.toml index 0f62b79cd6..834a66e513 100644 --- a/gen/recommender1_beta1-cli/Cargo.toml +++ b/gen/recommender1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-recommender1_beta1-cli" -version = "3.0.0+20220228" +version = "3.1.0+20220228" authors = ["Sebastian Thiel "] description = "A complete library to interact with Recommender (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/recommender1_beta1-cli" @@ -20,12 +20,12 @@ name = "recommender1-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-recommender1_beta1] path = "../recommender1_beta1" -version = "3.0.0+20220228" +version = "3.1.0+20220228" diff --git a/gen/recommender1_beta1-cli/README.md b/gen/recommender1_beta1-cli/README.md index a0d75ca027..d6e6f3096b 100644 --- a/gen/recommender1_beta1-cli/README.md +++ b/gen/recommender1_beta1-cli/README.md @@ -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 *Recommender* API at revision *20220228*. The CLI is at version *3.0.0*. +This documentation was generated from the *Recommender* API at revision *20220228*. The CLI is at version *3.1.0*. ```bash recommender1-beta1 [options] diff --git a/gen/recommender1_beta1-cli/mkdocs.yml b/gen/recommender1_beta1-cli/mkdocs.yml index 05eaa9f78d..d8f6b08eb0 100644 --- a/gen/recommender1_beta1-cli/mkdocs.yml +++ b/gen/recommender1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Recommender v3.0.0+20220228 +site_name: Recommender v3.1.0+20220228 site_url: http://byron.github.io/google-apis-rs/google-recommender1_beta1-cli site_description: A complete library to interact with Recommender (protocol v1beta1) diff --git a/gen/recommender1_beta1-cli/src/main.rs b/gen/recommender1_beta1-cli/src/main.rs index 561c9b6822..0d61f4003b 100644 --- a/gen/recommender1_beta1-cli/src/main.rs +++ b/gen/recommender1_beta1-cli/src/main.rs @@ -3117,7 +3117,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/recommender1-beta1", 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::Recommender::new(client, auth), @@ -4168,7 +4174,7 @@ async fn main() { let mut app = App::new("recommender1-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20220228") + .version("3.1.0+20220228") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_recommender1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/recommender1_beta1/Cargo.toml b/gen/recommender1_beta1/Cargo.toml index be905507f7..67640a1de2 100644 --- a/gen/recommender1_beta1/Cargo.toml +++ b/gen/recommender1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-recommender1_beta1" -version = "3.0.0+20220228" +version = "3.1.0+20220228" authors = ["Sebastian Thiel "] description = "A complete library to interact with Recommender (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/recommender1_beta1" homepage = "https://cloud.google.com/recommender/docs/" -documentation = "https://docs.rs/google-recommender1_beta1/3.0.0+20220228" +documentation = "https://docs.rs/google-recommender1_beta1/3.1.0+20220228" license = "MIT" keywords = ["recommender", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/recommender1_beta1/README.md b/gen/recommender1_beta1/README.md index f110354d1c..67f29be8d1 100644 --- a/gen/recommender1_beta1/README.md +++ b/gen/recommender1_beta1/README.md @@ -5,22 +5,22 @@ DO NOT EDIT ! --> The `google-recommender1_beta1` library allows access to all features of the *Google Recommender* service. -This documentation was generated from *Recommender* crate version *3.0.0+20220228*, where *20220228* is the exact revision of the *recommender:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Recommender* crate version *3.1.0+20220228*, where *20220228* is the exact revision of the *recommender:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Recommender* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/recommender/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/Recommender) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/Recommender) ... * billing accounts - * [*locations insight types insights get*](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/api::BillingAccountLocationInsightTypeInsightGetCall), [*locations insight types insights list*](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/api::BillingAccountLocationInsightTypeInsightListCall), [*locations insight types insights mark accepted*](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/api::BillingAccountLocationInsightTypeInsightMarkAcceptedCall), [*locations recommenders recommendations get*](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/api::BillingAccountLocationRecommenderRecommendationGetCall), [*locations recommenders recommendations list*](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/api::BillingAccountLocationRecommenderRecommendationListCall), [*locations recommenders recommendations mark claimed*](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/api::BillingAccountLocationRecommenderRecommendationMarkClaimedCall), [*locations recommenders recommendations mark failed*](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/api::BillingAccountLocationRecommenderRecommendationMarkFailedCall) and [*locations recommenders recommendations mark succeeded*](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/api::BillingAccountLocationRecommenderRecommendationMarkSucceededCall) + * [*locations insight types insights get*](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/api::BillingAccountLocationInsightTypeInsightGetCall), [*locations insight types insights list*](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/api::BillingAccountLocationInsightTypeInsightListCall), [*locations insight types insights mark accepted*](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/api::BillingAccountLocationInsightTypeInsightMarkAcceptedCall), [*locations recommenders recommendations get*](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/api::BillingAccountLocationRecommenderRecommendationGetCall), [*locations recommenders recommendations list*](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/api::BillingAccountLocationRecommenderRecommendationListCall), [*locations recommenders recommendations mark claimed*](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/api::BillingAccountLocationRecommenderRecommendationMarkClaimedCall), [*locations recommenders recommendations mark failed*](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/api::BillingAccountLocationRecommenderRecommendationMarkFailedCall) and [*locations recommenders recommendations mark succeeded*](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/api::BillingAccountLocationRecommenderRecommendationMarkSucceededCall) * folders - * [*locations insight types insights get*](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/api::FolderLocationInsightTypeInsightGetCall), [*locations insight types insights list*](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/api::FolderLocationInsightTypeInsightListCall), [*locations insight types insights mark accepted*](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/api::FolderLocationInsightTypeInsightMarkAcceptedCall), [*locations recommenders recommendations get*](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/api::FolderLocationRecommenderRecommendationGetCall), [*locations recommenders recommendations list*](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/api::FolderLocationRecommenderRecommendationListCall), [*locations recommenders recommendations mark claimed*](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/api::FolderLocationRecommenderRecommendationMarkClaimedCall), [*locations recommenders recommendations mark failed*](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/api::FolderLocationRecommenderRecommendationMarkFailedCall) and [*locations recommenders recommendations mark succeeded*](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/api::FolderLocationRecommenderRecommendationMarkSucceededCall) + * [*locations insight types insights get*](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/api::FolderLocationInsightTypeInsightGetCall), [*locations insight types insights list*](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/api::FolderLocationInsightTypeInsightListCall), [*locations insight types insights mark accepted*](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/api::FolderLocationInsightTypeInsightMarkAcceptedCall), [*locations recommenders recommendations get*](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/api::FolderLocationRecommenderRecommendationGetCall), [*locations recommenders recommendations list*](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/api::FolderLocationRecommenderRecommendationListCall), [*locations recommenders recommendations mark claimed*](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/api::FolderLocationRecommenderRecommendationMarkClaimedCall), [*locations recommenders recommendations mark failed*](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/api::FolderLocationRecommenderRecommendationMarkFailedCall) and [*locations recommenders recommendations mark succeeded*](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/api::FolderLocationRecommenderRecommendationMarkSucceededCall) * organizations - * [*locations insight types config*](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/api::OrganizationLocationInsightTypeConfigCall), [*locations insight types get config*](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/api::OrganizationLocationInsightTypeGetConfigCall), [*locations insight types insights get*](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/api::OrganizationLocationInsightTypeInsightGetCall), [*locations insight types insights list*](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/api::OrganizationLocationInsightTypeInsightListCall), [*locations insight types insights mark accepted*](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/api::OrganizationLocationInsightTypeInsightMarkAcceptedCall), [*locations recommenders config*](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/api::OrganizationLocationRecommenderConfigCall), [*locations recommenders get config*](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/api::OrganizationLocationRecommenderGetConfigCall), [*locations recommenders recommendations get*](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/api::OrganizationLocationRecommenderRecommendationGetCall), [*locations recommenders recommendations list*](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/api::OrganizationLocationRecommenderRecommendationListCall), [*locations recommenders recommendations mark claimed*](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/api::OrganizationLocationRecommenderRecommendationMarkClaimedCall), [*locations recommenders recommendations mark failed*](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/api::OrganizationLocationRecommenderRecommendationMarkFailedCall) and [*locations recommenders recommendations mark succeeded*](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/api::OrganizationLocationRecommenderRecommendationMarkSucceededCall) + * [*locations insight types config*](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/api::OrganizationLocationInsightTypeConfigCall), [*locations insight types get config*](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/api::OrganizationLocationInsightTypeGetConfigCall), [*locations insight types insights get*](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/api::OrganizationLocationInsightTypeInsightGetCall), [*locations insight types insights list*](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/api::OrganizationLocationInsightTypeInsightListCall), [*locations insight types insights mark accepted*](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/api::OrganizationLocationInsightTypeInsightMarkAcceptedCall), [*locations recommenders config*](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/api::OrganizationLocationRecommenderConfigCall), [*locations recommenders get config*](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/api::OrganizationLocationRecommenderGetConfigCall), [*locations recommenders recommendations get*](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/api::OrganizationLocationRecommenderRecommendationGetCall), [*locations recommenders recommendations list*](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/api::OrganizationLocationRecommenderRecommendationListCall), [*locations recommenders recommendations mark claimed*](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/api::OrganizationLocationRecommenderRecommendationMarkClaimedCall), [*locations recommenders recommendations mark failed*](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/api::OrganizationLocationRecommenderRecommendationMarkFailedCall) and [*locations recommenders recommendations mark succeeded*](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/api::OrganizationLocationRecommenderRecommendationMarkSucceededCall) * projects - * [*locations insight types get config*](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/api::ProjectLocationInsightTypeGetConfigCall), [*locations insight types insights get*](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/api::ProjectLocationInsightTypeInsightGetCall), [*locations insight types insights list*](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/api::ProjectLocationInsightTypeInsightListCall), [*locations insight types insights mark accepted*](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/api::ProjectLocationInsightTypeInsightMarkAcceptedCall), [*locations insight types update config*](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/api::ProjectLocationInsightTypeUpdateConfigCall), [*locations recommenders get config*](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/api::ProjectLocationRecommenderGetConfigCall), [*locations recommenders recommendations get*](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/api::ProjectLocationRecommenderRecommendationGetCall), [*locations recommenders recommendations list*](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/api::ProjectLocationRecommenderRecommendationListCall), [*locations recommenders recommendations mark claimed*](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/api::ProjectLocationRecommenderRecommendationMarkClaimedCall), [*locations recommenders recommendations mark failed*](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/api::ProjectLocationRecommenderRecommendationMarkFailedCall), [*locations recommenders recommendations mark succeeded*](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/api::ProjectLocationRecommenderRecommendationMarkSucceededCall) and [*locations recommenders update config*](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/api::ProjectLocationRecommenderUpdateConfigCall) + * [*locations insight types get config*](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/api::ProjectLocationInsightTypeGetConfigCall), [*locations insight types insights get*](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/api::ProjectLocationInsightTypeInsightGetCall), [*locations insight types insights list*](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/api::ProjectLocationInsightTypeInsightListCall), [*locations insight types insights mark accepted*](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/api::ProjectLocationInsightTypeInsightMarkAcceptedCall), [*locations insight types update config*](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/api::ProjectLocationInsightTypeUpdateConfigCall), [*locations recommenders get config*](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/api::ProjectLocationRecommenderGetConfigCall), [*locations recommenders recommendations get*](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/api::ProjectLocationRecommenderRecommendationGetCall), [*locations recommenders recommendations list*](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/api::ProjectLocationRecommenderRecommendationListCall), [*locations recommenders recommendations mark claimed*](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/api::ProjectLocationRecommenderRecommendationMarkClaimedCall), [*locations recommenders recommendations mark failed*](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/api::ProjectLocationRecommenderRecommendationMarkFailedCall), [*locations recommenders recommendations mark succeeded*](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/api::ProjectLocationRecommenderRecommendationMarkSucceededCall) and [*locations recommenders update config*](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/api::ProjectLocationRecommenderUpdateConfigCall) @@ -29,17 +29,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/Recommender)** +* **[Hub](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/Recommender)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -112,7 +112,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -145,17 +145,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -165,29 +165,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-recommender1_beta1/3.0.0+20220228/google_recommender1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-recommender1_beta1/3.1.0+20220228/google_recommender1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/recommender1_beta1/src/api.rs b/gen/recommender1_beta1/src/api.rs index c043b832b0..e3b84c9bd1 100644 --- a/gen/recommender1_beta1/src/api.rs +++ b/gen/recommender1_beta1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > Recommender<> { Recommender { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://recommender.googleapis.com/".to_string(), _root_url: "https://recommender.googleapis.com/".to_string(), } @@ -139,7 +139,7 @@ impl<'a, > Recommender<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -776,7 +776,7 @@ impl client::Part for GoogleTypeMoney {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_insight_types_insights_get(...)`, `locations_insight_types_insights_list(...)`, `locations_insight_types_insights_mark_accepted(...)`, `locations_recommenders_recommendations_get(...)`, `locations_recommenders_recommendations_list(...)`, `locations_recommenders_recommendations_mark_claimed(...)`, `locations_recommenders_recommendations_mark_failed(...)` and `locations_recommenders_recommendations_mark_succeeded(...)` /// // to build up your call. @@ -967,7 +967,7 @@ impl<'a> BillingAccountMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_insight_types_insights_get(...)`, `locations_insight_types_insights_list(...)`, `locations_insight_types_insights_mark_accepted(...)`, `locations_recommenders_recommendations_get(...)`, `locations_recommenders_recommendations_list(...)`, `locations_recommenders_recommendations_mark_claimed(...)`, `locations_recommenders_recommendations_mark_failed(...)` and `locations_recommenders_recommendations_mark_succeeded(...)` /// // to build up your call. @@ -1158,7 +1158,7 @@ impl<'a> FolderMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_insight_types_config(...)`, `locations_insight_types_get_config(...)`, `locations_insight_types_insights_get(...)`, `locations_insight_types_insights_list(...)`, `locations_insight_types_insights_mark_accepted(...)`, `locations_recommenders_config(...)`, `locations_recommenders_get_config(...)`, `locations_recommenders_recommendations_get(...)`, `locations_recommenders_recommendations_list(...)`, `locations_recommenders_recommendations_mark_claimed(...)`, `locations_recommenders_recommendations_mark_failed(...)` and `locations_recommenders_recommendations_mark_succeeded(...)` /// // to build up your call. @@ -1425,7 +1425,7 @@ impl<'a> OrganizationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_insight_types_get_config(...)`, `locations_insight_types_insights_get(...)`, `locations_insight_types_insights_list(...)`, `locations_insight_types_insights_mark_accepted(...)`, `locations_insight_types_update_config(...)`, `locations_recommenders_get_config(...)`, `locations_recommenders_recommendations_get(...)`, `locations_recommenders_recommendations_list(...)`, `locations_recommenders_recommendations_mark_claimed(...)`, `locations_recommenders_recommendations_mark_failed(...)`, `locations_recommenders_recommendations_mark_succeeded(...)` and `locations_recommenders_update_config(...)` /// // to build up your call. @@ -1699,7 +1699,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1955,7 +1955,7 @@ impl<'a> BillingAccountLocationInsightTypeInsightGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2248,7 +2248,7 @@ impl<'a> BillingAccountLocationInsightTypeInsightListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2533,7 +2533,7 @@ impl<'a> BillingAccountLocationInsightTypeInsightMarkAcceptedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2789,7 +2789,7 @@ impl<'a> BillingAccountLocationRecommenderRecommendationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3082,7 +3082,7 @@ impl<'a> BillingAccountLocationRecommenderRecommendationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3368,7 +3368,7 @@ impl<'a> BillingAccountLocationRecommenderRecommendationMarkClaimedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3654,7 +3654,7 @@ impl<'a> BillingAccountLocationRecommenderRecommendationMarkFailedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3939,7 +3939,7 @@ impl<'a> BillingAccountLocationRecommenderRecommendationMarkSucceededCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4195,7 +4195,7 @@ impl<'a> FolderLocationInsightTypeInsightGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4488,7 +4488,7 @@ impl<'a> FolderLocationInsightTypeInsightListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4773,7 +4773,7 @@ impl<'a> FolderLocationInsightTypeInsightMarkAcceptedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5029,7 +5029,7 @@ impl<'a> FolderLocationRecommenderRecommendationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5322,7 +5322,7 @@ impl<'a> FolderLocationRecommenderRecommendationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5608,7 +5608,7 @@ impl<'a> FolderLocationRecommenderRecommendationMarkClaimedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5894,7 +5894,7 @@ impl<'a> FolderLocationRecommenderRecommendationMarkFailedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6179,7 +6179,7 @@ impl<'a> FolderLocationRecommenderRecommendationMarkSucceededCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6435,7 +6435,7 @@ impl<'a> OrganizationLocationInsightTypeInsightGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6728,7 +6728,7 @@ impl<'a> OrganizationLocationInsightTypeInsightListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7014,7 +7014,7 @@ impl<'a> OrganizationLocationInsightTypeInsightMarkAcceptedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7323,7 +7323,7 @@ impl<'a> OrganizationLocationInsightTypeConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7579,7 +7579,7 @@ impl<'a> OrganizationLocationInsightTypeGetConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7835,7 +7835,7 @@ impl<'a> OrganizationLocationRecommenderRecommendationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8128,7 +8128,7 @@ impl<'a> OrganizationLocationRecommenderRecommendationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8414,7 +8414,7 @@ impl<'a> OrganizationLocationRecommenderRecommendationMarkClaimedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8700,7 +8700,7 @@ impl<'a> OrganizationLocationRecommenderRecommendationMarkFailedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8986,7 +8986,7 @@ impl<'a> OrganizationLocationRecommenderRecommendationMarkSucceededCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9295,7 +9295,7 @@ impl<'a> OrganizationLocationRecommenderConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9551,7 +9551,7 @@ impl<'a> OrganizationLocationRecommenderGetConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9807,7 +9807,7 @@ impl<'a> ProjectLocationInsightTypeInsightGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10100,7 +10100,7 @@ impl<'a> ProjectLocationInsightTypeInsightListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10385,7 +10385,7 @@ impl<'a> ProjectLocationInsightTypeInsightMarkAcceptedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10642,7 +10642,7 @@ impl<'a> ProjectLocationInsightTypeGetConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10951,7 +10951,7 @@ impl<'a> ProjectLocationInsightTypeUpdateConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11207,7 +11207,7 @@ impl<'a> ProjectLocationRecommenderRecommendationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11500,7 +11500,7 @@ impl<'a> ProjectLocationRecommenderRecommendationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11786,7 +11786,7 @@ impl<'a> ProjectLocationRecommenderRecommendationMarkClaimedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12072,7 +12072,7 @@ impl<'a> ProjectLocationRecommenderRecommendationMarkFailedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12357,7 +12357,7 @@ impl<'a> ProjectLocationRecommenderRecommendationMarkSucceededCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12614,7 +12614,7 @@ impl<'a> ProjectLocationRecommenderGetConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/recommender1_beta1/src/lib.rs b/gen/recommender1_beta1/src/lib.rs index d11fadfcb5..5bf9c7f4b5 100644 --- a/gen/recommender1_beta1/src/lib.rs +++ b/gen/recommender1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Recommender* crate version *3.0.0+20220228*, where *20220228* is the exact revision of the *recommender:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Recommender* crate version *3.1.0+20220228*, where *20220228* is the exact revision of the *recommender:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Recommender* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/recommender/docs/). @@ -113,7 +113,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Recommender::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/redis1-cli/Cargo.toml b/gen/redis1-cli/Cargo.toml index 3bed1b4289..a40502559d 100644 --- a/gen/redis1-cli/Cargo.toml +++ b/gen/redis1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-redis1-cli" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Redis (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/redis1-cli" @@ -20,12 +20,12 @@ name = "redis1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-redis1] path = "../redis1" -version = "3.0.0+20220301" +version = "3.1.0+20220301" diff --git a/gen/redis1-cli/README.md b/gen/redis1-cli/README.md index 3243bdd756..9bf23d3bc6 100644 --- a/gen/redis1-cli/README.md +++ b/gen/redis1-cli/README.md @@ -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 *Cloud Redis* API at revision *20220301*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Redis* API at revision *20220301*. The CLI is at version *3.1.0*. ```bash redis1 [options] diff --git a/gen/redis1-cli/mkdocs.yml b/gen/redis1-cli/mkdocs.yml index a24fa037fc..3961e01630 100644 --- a/gen/redis1-cli/mkdocs.yml +++ b/gen/redis1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Redis v3.0.0+20220301 +site_name: Cloud Redis v3.1.0+20220301 site_url: http://byron.github.io/google-apis-rs/google-redis1-cli site_description: A complete library to interact with Cloud Redis (protocol v1) diff --git a/gen/redis1-cli/src/main.rs b/gen/redis1-cli/src/main.rs index b6d9a2e3bb..7bf93b5c8d 100644 --- a/gen/redis1-cli/src/main.rs +++ b/gen/redis1-cli/src/main.rs @@ -1363,7 +1363,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/redis1", 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::CloudRedis::new(client, auth), @@ -1821,7 +1827,7 @@ async fn main() { let mut app = App::new("redis1") .author("Sebastian Thiel ") - .version("3.0.0+20220301") + .version("3.1.0+20220301") .about("Creates and manages Redis instances on the Google Cloud Platform.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_redis1_cli") .arg(Arg::with_name("url") diff --git a/gen/redis1/Cargo.toml b/gen/redis1/Cargo.toml index 5b72f316ff..14dd4eb683 100644 --- a/gen/redis1/Cargo.toml +++ b/gen/redis1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-redis1" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Redis (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/redis1" homepage = "https://cloud.google.com/memorystore/docs/redis/" -documentation = "https://docs.rs/google-redis1/3.0.0+20220301" +documentation = "https://docs.rs/google-redis1/3.1.0+20220301" license = "MIT" keywords = ["redis", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/redis1/README.md b/gen/redis1/README.md index 6940e0f087..ba74b30a74 100644 --- a/gen/redis1/README.md +++ b/gen/redis1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-redis1` library allows access to all features of the *Google Cloud Redis* service. -This documentation was generated from *Cloud Redis* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *redis:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Redis* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *redis:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Redis* *v1* API can be found at the [official documentation site](https://cloud.google.com/memorystore/docs/redis/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-redis1/3.0.0+20220301/google_redis1/CloudRedis) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-redis1/3.1.0+20220301/google_redis1/CloudRedis) ... * projects - * [*locations get*](https://docs.rs/google-redis1/3.0.0+20220301/google_redis1/api::ProjectLocationGetCall), [*locations instances create*](https://docs.rs/google-redis1/3.0.0+20220301/google_redis1/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-redis1/3.0.0+20220301/google_redis1/api::ProjectLocationInstanceDeleteCall), [*locations instances export*](https://docs.rs/google-redis1/3.0.0+20220301/google_redis1/api::ProjectLocationInstanceExportCall), [*locations instances failover*](https://docs.rs/google-redis1/3.0.0+20220301/google_redis1/api::ProjectLocationInstanceFailoverCall), [*locations instances get*](https://docs.rs/google-redis1/3.0.0+20220301/google_redis1/api::ProjectLocationInstanceGetCall), [*locations instances get auth string*](https://docs.rs/google-redis1/3.0.0+20220301/google_redis1/api::ProjectLocationInstanceGetAuthStringCall), [*locations instances import*](https://docs.rs/google-redis1/3.0.0+20220301/google_redis1/api::ProjectLocationInstanceImportCall), [*locations instances list*](https://docs.rs/google-redis1/3.0.0+20220301/google_redis1/api::ProjectLocationInstanceListCall), [*locations instances patch*](https://docs.rs/google-redis1/3.0.0+20220301/google_redis1/api::ProjectLocationInstancePatchCall), [*locations instances reschedule maintenance*](https://docs.rs/google-redis1/3.0.0+20220301/google_redis1/api::ProjectLocationInstanceRescheduleMaintenanceCall), [*locations instances upgrade*](https://docs.rs/google-redis1/3.0.0+20220301/google_redis1/api::ProjectLocationInstanceUpgradeCall), [*locations list*](https://docs.rs/google-redis1/3.0.0+20220301/google_redis1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-redis1/3.0.0+20220301/google_redis1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-redis1/3.0.0+20220301/google_redis1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-redis1/3.0.0+20220301/google_redis1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-redis1/3.0.0+20220301/google_redis1/api::ProjectLocationOperationListCall) + * [*locations get*](https://docs.rs/google-redis1/3.1.0+20220301/google_redis1/api::ProjectLocationGetCall), [*locations instances create*](https://docs.rs/google-redis1/3.1.0+20220301/google_redis1/api::ProjectLocationInstanceCreateCall), [*locations instances delete*](https://docs.rs/google-redis1/3.1.0+20220301/google_redis1/api::ProjectLocationInstanceDeleteCall), [*locations instances export*](https://docs.rs/google-redis1/3.1.0+20220301/google_redis1/api::ProjectLocationInstanceExportCall), [*locations instances failover*](https://docs.rs/google-redis1/3.1.0+20220301/google_redis1/api::ProjectLocationInstanceFailoverCall), [*locations instances get*](https://docs.rs/google-redis1/3.1.0+20220301/google_redis1/api::ProjectLocationInstanceGetCall), [*locations instances get auth string*](https://docs.rs/google-redis1/3.1.0+20220301/google_redis1/api::ProjectLocationInstanceGetAuthStringCall), [*locations instances import*](https://docs.rs/google-redis1/3.1.0+20220301/google_redis1/api::ProjectLocationInstanceImportCall), [*locations instances list*](https://docs.rs/google-redis1/3.1.0+20220301/google_redis1/api::ProjectLocationInstanceListCall), [*locations instances patch*](https://docs.rs/google-redis1/3.1.0+20220301/google_redis1/api::ProjectLocationInstancePatchCall), [*locations instances reschedule maintenance*](https://docs.rs/google-redis1/3.1.0+20220301/google_redis1/api::ProjectLocationInstanceRescheduleMaintenanceCall), [*locations instances upgrade*](https://docs.rs/google-redis1/3.1.0+20220301/google_redis1/api::ProjectLocationInstanceUpgradeCall), [*locations list*](https://docs.rs/google-redis1/3.1.0+20220301/google_redis1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-redis1/3.1.0+20220301/google_redis1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-redis1/3.1.0+20220301/google_redis1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-redis1/3.1.0+20220301/google_redis1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-redis1/3.1.0+20220301/google_redis1/api::ProjectLocationOperationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-redis1/3.0.0+20220301/google_redis1/CloudRedis)** +* **[Hub](https://docs.rs/google-redis1/3.1.0+20220301/google_redis1/CloudRedis)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-redis1/3.0.0+20220301/google_redis1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-redis1/3.0.0+20220301/google_redis1/client::CallBuilder) -* **[Resources](https://docs.rs/google-redis1/3.0.0+20220301/google_redis1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-redis1/3.1.0+20220301/google_redis1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-redis1/3.1.0+20220301/google_redis1/client::CallBuilder) +* **[Resources](https://docs.rs/google-redis1/3.1.0+20220301/google_redis1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-redis1/3.0.0+20220301/google_redis1/client::Part)** + * **[Parts](https://docs.rs/google-redis1/3.1.0+20220301/google_redis1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-redis1/3.0.0+20220301/google_redis1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-redis1/3.1.0+20220301/google_redis1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -99,7 +99,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudRedis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudRedis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -133,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-redis1/3.0.0+20220301/google_redis1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-redis1/3.1.0+20220301/google_redis1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-redis1/3.0.0+20220301/google_redis1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-redis1/3.1.0+20220301/google_redis1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-redis1/3.0.0+20220301/google_redis1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-redis1/3.1.0+20220301/google_redis1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-redis1/3.0.0+20220301/google_redis1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-redis1/3.1.0+20220301/google_redis1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -153,29 +153,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-redis1/3.0.0+20220301/google_redis1/client::Delegate) to the -[Method Builder](https://docs.rs/google-redis1/3.0.0+20220301/google_redis1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-redis1/3.1.0+20220301/google_redis1/client::Delegate) to the +[Method Builder](https://docs.rs/google-redis1/3.1.0+20220301/google_redis1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-redis1/3.0.0+20220301/google_redis1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-redis1/3.1.0+20220301/google_redis1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-redis1/3.0.0+20220301/google_redis1/client::RequestValue) and -[decodable](https://docs.rs/google-redis1/3.0.0+20220301/google_redis1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-redis1/3.1.0+20220301/google_redis1/client::RequestValue) and +[decodable](https://docs.rs/google-redis1/3.1.0+20220301/google_redis1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-redis1/3.0.0+20220301/google_redis1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-redis1/3.1.0+20220301/google_redis1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-redis1/3.0.0+20220301/google_redis1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-redis1/3.1.0+20220301/google_redis1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-redis1/3.0.0+20220301/google_redis1/client::RequestValue) are moved +* [request values](https://docs.rs/google-redis1/3.1.0+20220301/google_redis1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/redis1/src/api.rs b/gen/redis1/src/api.rs index 54415deb82..fda759b15e 100644 --- a/gen/redis1/src/api.rs +++ b/gen/redis1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudRedis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudRedis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > CloudRedis<> { CloudRedis { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://redis.googleapis.com/".to_string(), _root_url: "https://redis.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > CloudRedis<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -766,7 +766,7 @@ impl client::Part for WeeklyMaintenanceWindow {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudRedis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudRedis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_get(...)`, `locations_instances_create(...)`, `locations_instances_delete(...)`, `locations_instances_export(...)`, `locations_instances_failover(...)`, `locations_instances_get(...)`, `locations_instances_get_auth_string(...)`, `locations_instances_import(...)`, `locations_instances_list(...)`, `locations_instances_patch(...)`, `locations_instances_reschedule_maintenance(...)`, `locations_instances_upgrade(...)`, `locations_list(...)`, `locations_operations_cancel(...)`, `locations_operations_delete(...)`, `locations_operations_get(...)` and `locations_operations_list(...)` /// // to build up your call. @@ -1128,7 +1128,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRedis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRedis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1425,7 +1425,7 @@ impl<'a> ProjectLocationInstanceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRedis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRedis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1682,7 +1682,7 @@ impl<'a> ProjectLocationInstanceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRedis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRedis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1968,7 +1968,7 @@ impl<'a> ProjectLocationInstanceExportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRedis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRedis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2253,7 +2253,7 @@ impl<'a> ProjectLocationInstanceFailoverCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRedis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRedis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2509,7 +2509,7 @@ impl<'a> ProjectLocationInstanceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRedis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRedis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2766,7 +2766,7 @@ impl<'a> ProjectLocationInstanceGetAuthStringCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRedis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRedis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3051,7 +3051,7 @@ impl<'a> ProjectLocationInstanceImportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRedis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRedis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3332,7 +3332,7 @@ impl<'a> ProjectLocationInstanceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRedis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRedis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3630,7 +3630,7 @@ impl<'a> ProjectLocationInstancePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRedis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRedis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3916,7 +3916,7 @@ impl<'a> ProjectLocationInstanceRescheduleMaintenanceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRedis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRedis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4201,7 +4201,7 @@ impl<'a> ProjectLocationInstanceUpgradeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRedis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRedis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4457,7 +4457,7 @@ impl<'a> ProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRedis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRedis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4713,7 +4713,7 @@ impl<'a> ProjectLocationOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRedis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRedis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4969,7 +4969,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRedis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRedis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5261,7 +5261,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRedis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRedis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5517,7 +5517,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRedis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRedis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/redis1/src/lib.rs b/gen/redis1/src/lib.rs index f6ef3a00ca..3c2b128c03 100644 --- a/gen/redis1/src/lib.rs +++ b/gen/redis1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Redis* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *redis:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Redis* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *redis:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Redis* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/memorystore/docs/redis/). @@ -100,7 +100,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudRedis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudRedis::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/remotebuildexecution2-cli/Cargo.toml b/gen/remotebuildexecution2-cli/Cargo.toml index b326430e5d..a90a43fd41 100644 --- a/gen/remotebuildexecution2-cli/Cargo.toml +++ b/gen/remotebuildexecution2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-remotebuildexecution2-cli" -version = "3.0.0+20210329" +version = "3.1.0+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with Remote Build Execution (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/remotebuildexecution2-cli" @@ -20,12 +20,12 @@ name = "remotebuildexecution2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-remotebuildexecution2] path = "../remotebuildexecution2" -version = "3.0.0+20210329" +version = "3.1.0+20210329" diff --git a/gen/remotebuildexecution2-cli/README.md b/gen/remotebuildexecution2-cli/README.md index ae76e783f4..1c1547cad7 100644 --- a/gen/remotebuildexecution2-cli/README.md +++ b/gen/remotebuildexecution2-cli/README.md @@ -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 *Remote Build Execution* API at revision *20210329*. The CLI is at version *3.0.0*. +This documentation was generated from the *Remote Build Execution* API at revision *20210329*. The CLI is at version *3.1.0*. ```bash remotebuildexecution2 [options] diff --git a/gen/remotebuildexecution2-cli/mkdocs.yml b/gen/remotebuildexecution2-cli/mkdocs.yml index ca0af5410d..5b56c1c9cc 100644 --- a/gen/remotebuildexecution2-cli/mkdocs.yml +++ b/gen/remotebuildexecution2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Remote Build Execution v3.0.0+20210329 +site_name: Remote Build Execution v3.1.0+20210329 site_url: http://byron.github.io/google-apis-rs/google-remotebuildexecution2-cli site_description: A complete library to interact with Remote Build Execution (protocol v2) diff --git a/gen/remotebuildexecution2-cli/src/main.rs b/gen/remotebuildexecution2-cli/src/main.rs index 0a6954ccbe..251661b7da 100644 --- a/gen/remotebuildexecution2-cli/src/main.rs +++ b/gen/remotebuildexecution2-cli/src/main.rs @@ -851,7 +851,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/remotebuildexecution2", 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::RemoteBuildExecution::new(client, auth), @@ -1175,7 +1181,7 @@ async fn main() { let mut app = App::new("remotebuildexecution2") .author("Sebastian Thiel ") - .version("3.0.0+20210329") + .version("3.1.0+20210329") .about("Supplies a Remote Execution API service for tools such as bazel.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_remotebuildexecution2_cli") .arg(Arg::with_name("url") diff --git a/gen/remotebuildexecution2/Cargo.toml b/gen/remotebuildexecution2/Cargo.toml index 88673c0351..1892704aca 100644 --- a/gen/remotebuildexecution2/Cargo.toml +++ b/gen/remotebuildexecution2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-remotebuildexecution2" -version = "3.0.0+20210329" +version = "3.1.0+20210329" authors = ["Sebastian Thiel "] description = "A complete library to interact with Remote Build Execution (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/remotebuildexecution2" homepage = "https://cloud.google.com/remote-build-execution/docs/" -documentation = "https://docs.rs/google-remotebuildexecution2/3.0.0+20210329" +documentation = "https://docs.rs/google-remotebuildexecution2/3.1.0+20210329" license = "MIT" keywords = ["remotebuildexecution", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/remotebuildexecution2/README.md b/gen/remotebuildexecution2/README.md index af9455007d..44b47580f6 100644 --- a/gen/remotebuildexecution2/README.md +++ b/gen/remotebuildexecution2/README.md @@ -5,26 +5,26 @@ DO NOT EDIT ! --> The `google-remotebuildexecution2` library allows access to all features of the *Google Remote Build Execution* service. -This documentation was generated from *Remote Build Execution* crate version *3.0.0+20210329*, where *20210329* is the exact revision of the *remotebuildexecution:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Remote Build Execution* crate version *3.1.0+20210329*, where *20210329* is the exact revision of the *remotebuildexecution:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Remote Build Execution* *v2* API can be found at the [official documentation site](https://cloud.google.com/remote-build-execution/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-remotebuildexecution2/3.0.0+20210329/google_remotebuildexecution2/RemoteBuildExecution) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-remotebuildexecution2/3.1.0+20210329/google_remotebuildexecution2/RemoteBuildExecution) ... * action results - * [*get*](https://docs.rs/google-remotebuildexecution2/3.0.0+20210329/google_remotebuildexecution2/api::ActionResultGetCall) and [*update*](https://docs.rs/google-remotebuildexecution2/3.0.0+20210329/google_remotebuildexecution2/api::ActionResultUpdateCall) + * [*get*](https://docs.rs/google-remotebuildexecution2/3.1.0+20210329/google_remotebuildexecution2/api::ActionResultGetCall) and [*update*](https://docs.rs/google-remotebuildexecution2/3.1.0+20210329/google_remotebuildexecution2/api::ActionResultUpdateCall) * actions - * [*execute*](https://docs.rs/google-remotebuildexecution2/3.0.0+20210329/google_remotebuildexecution2/api::ActionExecuteCall) + * [*execute*](https://docs.rs/google-remotebuildexecution2/3.1.0+20210329/google_remotebuildexecution2/api::ActionExecuteCall) * blobs - * [*batch read*](https://docs.rs/google-remotebuildexecution2/3.0.0+20210329/google_remotebuildexecution2/api::BlobBatchReadCall), [*batch update*](https://docs.rs/google-remotebuildexecution2/3.0.0+20210329/google_remotebuildexecution2/api::BlobBatchUpdateCall), [*find missing*](https://docs.rs/google-remotebuildexecution2/3.0.0+20210329/google_remotebuildexecution2/api::BlobFindMissingCall) and [*get tree*](https://docs.rs/google-remotebuildexecution2/3.0.0+20210329/google_remotebuildexecution2/api::BlobGetTreeCall) + * [*batch read*](https://docs.rs/google-remotebuildexecution2/3.1.0+20210329/google_remotebuildexecution2/api::BlobBatchReadCall), [*batch update*](https://docs.rs/google-remotebuildexecution2/3.1.0+20210329/google_remotebuildexecution2/api::BlobBatchUpdateCall), [*find missing*](https://docs.rs/google-remotebuildexecution2/3.1.0+20210329/google_remotebuildexecution2/api::BlobFindMissingCall) and [*get tree*](https://docs.rs/google-remotebuildexecution2/3.1.0+20210329/google_remotebuildexecution2/api::BlobGetTreeCall) * operations - * [*wait execution*](https://docs.rs/google-remotebuildexecution2/3.0.0+20210329/google_remotebuildexecution2/api::OperationWaitExecutionCall) + * [*wait execution*](https://docs.rs/google-remotebuildexecution2/3.1.0+20210329/google_remotebuildexecution2/api::OperationWaitExecutionCall) Other activities are ... -* [get capabilities](https://docs.rs/google-remotebuildexecution2/3.0.0+20210329/google_remotebuildexecution2/api::MethodGetCapabilityCall) +* [get capabilities](https://docs.rs/google-remotebuildexecution2/3.1.0+20210329/google_remotebuildexecution2/api::MethodGetCapabilityCall) @@ -32,17 +32,17 @@ Other activities are ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-remotebuildexecution2/3.0.0+20210329/google_remotebuildexecution2/RemoteBuildExecution)** +* **[Hub](https://docs.rs/google-remotebuildexecution2/3.1.0+20210329/google_remotebuildexecution2/RemoteBuildExecution)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-remotebuildexecution2/3.0.0+20210329/google_remotebuildexecution2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-remotebuildexecution2/3.0.0+20210329/google_remotebuildexecution2/client::CallBuilder) -* **[Resources](https://docs.rs/google-remotebuildexecution2/3.0.0+20210329/google_remotebuildexecution2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-remotebuildexecution2/3.1.0+20210329/google_remotebuildexecution2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-remotebuildexecution2/3.1.0+20210329/google_remotebuildexecution2/client::CallBuilder) +* **[Resources](https://docs.rs/google-remotebuildexecution2/3.1.0+20210329/google_remotebuildexecution2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-remotebuildexecution2/3.0.0+20210329/google_remotebuildexecution2/client::Part)** + * **[Parts](https://docs.rs/google-remotebuildexecution2/3.1.0+20210329/google_remotebuildexecution2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-remotebuildexecution2/3.0.0+20210329/google_remotebuildexecution2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-remotebuildexecution2/3.1.0+20210329/google_remotebuildexecution2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -100,7 +100,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = RemoteBuildExecution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = RemoteBuildExecution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -131,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-remotebuildexecution2/3.0.0+20210329/google_remotebuildexecution2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-remotebuildexecution2/3.1.0+20210329/google_remotebuildexecution2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-remotebuildexecution2/3.0.0+20210329/google_remotebuildexecution2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-remotebuildexecution2/3.1.0+20210329/google_remotebuildexecution2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-remotebuildexecution2/3.0.0+20210329/google_remotebuildexecution2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-remotebuildexecution2/3.1.0+20210329/google_remotebuildexecution2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-remotebuildexecution2/3.0.0+20210329/google_remotebuildexecution2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-remotebuildexecution2/3.1.0+20210329/google_remotebuildexecution2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -151,29 +151,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-remotebuildexecution2/3.0.0+20210329/google_remotebuildexecution2/client::Delegate) to the -[Method Builder](https://docs.rs/google-remotebuildexecution2/3.0.0+20210329/google_remotebuildexecution2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-remotebuildexecution2/3.1.0+20210329/google_remotebuildexecution2/client::Delegate) to the +[Method Builder](https://docs.rs/google-remotebuildexecution2/3.1.0+20210329/google_remotebuildexecution2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-remotebuildexecution2/3.0.0+20210329/google_remotebuildexecution2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-remotebuildexecution2/3.1.0+20210329/google_remotebuildexecution2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-remotebuildexecution2/3.0.0+20210329/google_remotebuildexecution2/client::RequestValue) and -[decodable](https://docs.rs/google-remotebuildexecution2/3.0.0+20210329/google_remotebuildexecution2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-remotebuildexecution2/3.1.0+20210329/google_remotebuildexecution2/client::RequestValue) and +[decodable](https://docs.rs/google-remotebuildexecution2/3.1.0+20210329/google_remotebuildexecution2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-remotebuildexecution2/3.0.0+20210329/google_remotebuildexecution2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-remotebuildexecution2/3.1.0+20210329/google_remotebuildexecution2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-remotebuildexecution2/3.0.0+20210329/google_remotebuildexecution2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-remotebuildexecution2/3.1.0+20210329/google_remotebuildexecution2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-remotebuildexecution2/3.0.0+20210329/google_remotebuildexecution2/client::RequestValue) are moved +* [request values](https://docs.rs/google-remotebuildexecution2/3.1.0+20210329/google_remotebuildexecution2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/remotebuildexecution2/src/api.rs b/gen/remotebuildexecution2/src/api.rs index 1d327330cc..7df9334650 100644 --- a/gen/remotebuildexecution2/src/api.rs +++ b/gen/remotebuildexecution2/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = RemoteBuildExecution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = RemoteBuildExecution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -116,7 +116,7 @@ impl<'a, > RemoteBuildExecution<> { RemoteBuildExecution { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://remotebuildexecution.googleapis.com/".to_string(), _root_url: "https://remotebuildexecution.googleapis.com/".to_string(), } @@ -139,7 +139,7 @@ impl<'a, > RemoteBuildExecution<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -904,7 +904,7 @@ impl client::Part for GoogleRpcStatus {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = RemoteBuildExecution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = RemoteBuildExecution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `update(...)` /// // to build up your call. @@ -993,7 +993,7 @@ impl<'a> ActionResultMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = RemoteBuildExecution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = RemoteBuildExecution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `execute(...)` /// // to build up your call. @@ -1053,7 +1053,7 @@ impl<'a> ActionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = RemoteBuildExecution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = RemoteBuildExecution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `batch_read(...)`, `batch_update(...)`, `find_missing(...)` and `get_tree(...)` /// // to build up your call. @@ -1174,7 +1174,7 @@ impl<'a> BlobMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = RemoteBuildExecution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = RemoteBuildExecution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `wait_execution(...)` /// // to build up your call. @@ -1234,7 +1234,7 @@ impl<'a> OperationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = RemoteBuildExecution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = RemoteBuildExecution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get_capabilities(...)` /// // to build up your call. @@ -1299,7 +1299,7 @@ impl<'a> MethodMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RemoteBuildExecution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RemoteBuildExecution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1619,7 +1619,7 @@ impl<'a> ActionResultGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RemoteBuildExecution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RemoteBuildExecution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1941,7 +1941,7 @@ impl<'a> ActionResultUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RemoteBuildExecution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RemoteBuildExecution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2227,7 +2227,7 @@ impl<'a> ActionExecuteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RemoteBuildExecution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RemoteBuildExecution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2513,7 +2513,7 @@ impl<'a> BlobBatchReadCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RemoteBuildExecution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RemoteBuildExecution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2799,7 +2799,7 @@ impl<'a> BlobBatchUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RemoteBuildExecution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RemoteBuildExecution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3084,7 +3084,7 @@ impl<'a> BlobFindMissingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RemoteBuildExecution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RemoteBuildExecution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3389,7 +3389,7 @@ impl<'a> BlobGetTreeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RemoteBuildExecution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RemoteBuildExecution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3674,7 +3674,7 @@ impl<'a> OperationWaitExecutionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = RemoteBuildExecution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = RemoteBuildExecution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/remotebuildexecution2/src/lib.rs b/gen/remotebuildexecution2/src/lib.rs index e774538f7c..6c3ff8e447 100644 --- a/gen/remotebuildexecution2/src/lib.rs +++ b/gen/remotebuildexecution2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Remote Build Execution* crate version *3.0.0+20210329*, where *20210329* is the exact revision of the *remotebuildexecution:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Remote Build Execution* crate version *3.1.0+20210329*, where *20210329* is the exact revision of the *remotebuildexecution:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Remote Build Execution* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/remote-build-execution/docs/). @@ -101,7 +101,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = RemoteBuildExecution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = RemoteBuildExecution::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/replicapool1_beta2-cli/Cargo.toml b/gen/replicapool1_beta2-cli/Cargo.toml index 916563c2c3..d97a7bf257 100644 --- a/gen/replicapool1_beta2-cli/Cargo.toml +++ b/gen/replicapool1_beta2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-replicapool1_beta2-cli" -version = "3.0.0+20160512" +version = "3.1.0+20160512" authors = ["Sebastian Thiel "] description = "A complete library to interact with replicapool (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/replicapool1_beta2-cli" @@ -20,12 +20,12 @@ name = "replicapool1-beta2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-replicapool1_beta2] path = "../replicapool1_beta2" -version = "3.0.0+20160512" +version = "3.1.0+20160512" diff --git a/gen/replicapool1_beta2-cli/README.md b/gen/replicapool1_beta2-cli/README.md index cc52aa2d52..940dc10e12 100644 --- a/gen/replicapool1_beta2-cli/README.md +++ b/gen/replicapool1_beta2-cli/README.md @@ -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 *replicapool* API at revision *20160512*. The CLI is at version *3.0.0*. +This documentation was generated from the *replicapool* API at revision *20160512*. The CLI is at version *3.1.0*. ```bash replicapool1-beta2 [options] diff --git a/gen/replicapool1_beta2-cli/mkdocs.yml b/gen/replicapool1_beta2-cli/mkdocs.yml index ce229a309c..03f0f6ff4d 100644 --- a/gen/replicapool1_beta2-cli/mkdocs.yml +++ b/gen/replicapool1_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: replicapool v3.0.0+20160512 +site_name: replicapool v3.1.0+20160512 site_url: http://byron.github.io/google-apis-rs/google-replicapool1_beta2-cli site_description: A complete library to interact with replicapool (protocol v1beta2) diff --git a/gen/replicapool1_beta2-cli/src/main.rs b/gen/replicapool1_beta2-cli/src/main.rs index c5879d5340..04463581af 100644 --- a/gen/replicapool1_beta2-cli/src/main.rs +++ b/gen/replicapool1_beta2-cli/src/main.rs @@ -990,7 +990,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/replicapool1-beta2", 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::Replicapool::new(client, auth), @@ -1470,7 +1476,7 @@ async fn main() { let mut app = App::new("replicapool1-beta2") .author("Sebastian Thiel ") - .version("3.0.0+20160512") + .version("3.1.0+20160512") .about("[Deprecated. Please use Instance Group Manager in Compute API] Provides groups of homogenous Compute Engine instances.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_replicapool1_beta2_cli") .arg(Arg::with_name("url") diff --git a/gen/replicapool1_beta2/Cargo.toml b/gen/replicapool1_beta2/Cargo.toml index 8565bf6013..895bbffc86 100644 --- a/gen/replicapool1_beta2/Cargo.toml +++ b/gen/replicapool1_beta2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-replicapool1_beta2" -version = "3.0.0+20160512" +version = "3.1.0+20160512" authors = ["Sebastian Thiel "] description = "A complete library to interact with replicapool (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/replicapool1_beta2" homepage = "https://developers.google.com/compute/docs/instance-groups/manager/v1beta2" -documentation = "https://docs.rs/google-replicapool1_beta2/3.0.0+20160512" +documentation = "https://docs.rs/google-replicapool1_beta2/3.1.0+20160512" license = "MIT" keywords = ["replicapool", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/replicapool1_beta2/README.md b/gen/replicapool1_beta2/README.md index cbdb403b80..4cd2e8e9e6 100644 --- a/gen/replicapool1_beta2/README.md +++ b/gen/replicapool1_beta2/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-replicapool1_beta2` library allows access to all features of the *Google replicapool* service. -This documentation was generated from *replicapool* crate version *3.0.0+20160512*, where *20160512* is the exact revision of the *replicapool:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *replicapool* crate version *3.1.0+20160512*, where *20160512* is the exact revision of the *replicapool:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *replicapool* *v1_beta2* API can be found at the [official documentation site](https://developers.google.com/compute/docs/instance-groups/manager/v1beta2). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-replicapool1_beta2/3.0.0+20160512/google_replicapool1_beta2/Replicapool) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-replicapool1_beta2/3.1.0+20160512/google_replicapool1_beta2/Replicapool) ... -* [instance group managers](https://docs.rs/google-replicapool1_beta2/3.0.0+20160512/google_replicapool1_beta2/api::InstanceGroupManager) - * [*abandon instances*](https://docs.rs/google-replicapool1_beta2/3.0.0+20160512/google_replicapool1_beta2/api::InstanceGroupManagerAbandonInstanceCall), [*delete*](https://docs.rs/google-replicapool1_beta2/3.0.0+20160512/google_replicapool1_beta2/api::InstanceGroupManagerDeleteCall), [*delete instances*](https://docs.rs/google-replicapool1_beta2/3.0.0+20160512/google_replicapool1_beta2/api::InstanceGroupManagerDeleteInstanceCall), [*get*](https://docs.rs/google-replicapool1_beta2/3.0.0+20160512/google_replicapool1_beta2/api::InstanceGroupManagerGetCall), [*insert*](https://docs.rs/google-replicapool1_beta2/3.0.0+20160512/google_replicapool1_beta2/api::InstanceGroupManagerInsertCall), [*list*](https://docs.rs/google-replicapool1_beta2/3.0.0+20160512/google_replicapool1_beta2/api::InstanceGroupManagerListCall), [*recreate instances*](https://docs.rs/google-replicapool1_beta2/3.0.0+20160512/google_replicapool1_beta2/api::InstanceGroupManagerRecreateInstanceCall), [*resize*](https://docs.rs/google-replicapool1_beta2/3.0.0+20160512/google_replicapool1_beta2/api::InstanceGroupManagerResizeCall), [*set instance template*](https://docs.rs/google-replicapool1_beta2/3.0.0+20160512/google_replicapool1_beta2/api::InstanceGroupManagerSetInstanceTemplateCall) and [*set target pools*](https://docs.rs/google-replicapool1_beta2/3.0.0+20160512/google_replicapool1_beta2/api::InstanceGroupManagerSetTargetPoolCall) +* [instance group managers](https://docs.rs/google-replicapool1_beta2/3.1.0+20160512/google_replicapool1_beta2/api::InstanceGroupManager) + * [*abandon instances*](https://docs.rs/google-replicapool1_beta2/3.1.0+20160512/google_replicapool1_beta2/api::InstanceGroupManagerAbandonInstanceCall), [*delete*](https://docs.rs/google-replicapool1_beta2/3.1.0+20160512/google_replicapool1_beta2/api::InstanceGroupManagerDeleteCall), [*delete instances*](https://docs.rs/google-replicapool1_beta2/3.1.0+20160512/google_replicapool1_beta2/api::InstanceGroupManagerDeleteInstanceCall), [*get*](https://docs.rs/google-replicapool1_beta2/3.1.0+20160512/google_replicapool1_beta2/api::InstanceGroupManagerGetCall), [*insert*](https://docs.rs/google-replicapool1_beta2/3.1.0+20160512/google_replicapool1_beta2/api::InstanceGroupManagerInsertCall), [*list*](https://docs.rs/google-replicapool1_beta2/3.1.0+20160512/google_replicapool1_beta2/api::InstanceGroupManagerListCall), [*recreate instances*](https://docs.rs/google-replicapool1_beta2/3.1.0+20160512/google_replicapool1_beta2/api::InstanceGroupManagerRecreateInstanceCall), [*resize*](https://docs.rs/google-replicapool1_beta2/3.1.0+20160512/google_replicapool1_beta2/api::InstanceGroupManagerResizeCall), [*set instance template*](https://docs.rs/google-replicapool1_beta2/3.1.0+20160512/google_replicapool1_beta2/api::InstanceGroupManagerSetInstanceTemplateCall) and [*set target pools*](https://docs.rs/google-replicapool1_beta2/3.1.0+20160512/google_replicapool1_beta2/api::InstanceGroupManagerSetTargetPoolCall) * zone operations - * [*get*](https://docs.rs/google-replicapool1_beta2/3.0.0+20160512/google_replicapool1_beta2/api::ZoneOperationGetCall) and [*list*](https://docs.rs/google-replicapool1_beta2/3.0.0+20160512/google_replicapool1_beta2/api::ZoneOperationListCall) + * [*get*](https://docs.rs/google-replicapool1_beta2/3.1.0+20160512/google_replicapool1_beta2/api::ZoneOperationGetCall) and [*list*](https://docs.rs/google-replicapool1_beta2/3.1.0+20160512/google_replicapool1_beta2/api::ZoneOperationListCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-replicapool1_beta2/3.0.0+20160512/google_replicapool1_beta2/Replicapool)** +* **[Hub](https://docs.rs/google-replicapool1_beta2/3.1.0+20160512/google_replicapool1_beta2/Replicapool)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-replicapool1_beta2/3.0.0+20160512/google_replicapool1_beta2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-replicapool1_beta2/3.0.0+20160512/google_replicapool1_beta2/client::CallBuilder) -* **[Resources](https://docs.rs/google-replicapool1_beta2/3.0.0+20160512/google_replicapool1_beta2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-replicapool1_beta2/3.1.0+20160512/google_replicapool1_beta2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-replicapool1_beta2/3.1.0+20160512/google_replicapool1_beta2/client::CallBuilder) +* **[Resources](https://docs.rs/google-replicapool1_beta2/3.1.0+20160512/google_replicapool1_beta2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-replicapool1_beta2/3.0.0+20160512/google_replicapool1_beta2/client::Part)** + * **[Parts](https://docs.rs/google-replicapool1_beta2/3.1.0+20160512/google_replicapool1_beta2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-replicapool1_beta2/3.0.0+20160512/google_replicapool1_beta2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-replicapool1_beta2/3.1.0+20160512/google_replicapool1_beta2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -101,7 +101,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Replicapool::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Replicapool::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-replicapool1_beta2/3.0.0+20160512/google_replicapool1_beta2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-replicapool1_beta2/3.1.0+20160512/google_replicapool1_beta2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-replicapool1_beta2/3.0.0+20160512/google_replicapool1_beta2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-replicapool1_beta2/3.1.0+20160512/google_replicapool1_beta2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-replicapool1_beta2/3.0.0+20160512/google_replicapool1_beta2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-replicapool1_beta2/3.1.0+20160512/google_replicapool1_beta2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-replicapool1_beta2/3.0.0+20160512/google_replicapool1_beta2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-replicapool1_beta2/3.1.0+20160512/google_replicapool1_beta2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -152,29 +152,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-replicapool1_beta2/3.0.0+20160512/google_replicapool1_beta2/client::Delegate) to the -[Method Builder](https://docs.rs/google-replicapool1_beta2/3.0.0+20160512/google_replicapool1_beta2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-replicapool1_beta2/3.1.0+20160512/google_replicapool1_beta2/client::Delegate) to the +[Method Builder](https://docs.rs/google-replicapool1_beta2/3.1.0+20160512/google_replicapool1_beta2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-replicapool1_beta2/3.0.0+20160512/google_replicapool1_beta2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-replicapool1_beta2/3.1.0+20160512/google_replicapool1_beta2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-replicapool1_beta2/3.0.0+20160512/google_replicapool1_beta2/client::RequestValue) and -[decodable](https://docs.rs/google-replicapool1_beta2/3.0.0+20160512/google_replicapool1_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-replicapool1_beta2/3.1.0+20160512/google_replicapool1_beta2/client::RequestValue) and +[decodable](https://docs.rs/google-replicapool1_beta2/3.1.0+20160512/google_replicapool1_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-replicapool1_beta2/3.0.0+20160512/google_replicapool1_beta2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-replicapool1_beta2/3.1.0+20160512/google_replicapool1_beta2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-replicapool1_beta2/3.0.0+20160512/google_replicapool1_beta2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-replicapool1_beta2/3.1.0+20160512/google_replicapool1_beta2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-replicapool1_beta2/3.0.0+20160512/google_replicapool1_beta2/client::RequestValue) are moved +* [request values](https://docs.rs/google-replicapool1_beta2/3.1.0+20160512/google_replicapool1_beta2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/replicapool1_beta2/src/api.rs b/gen/replicapool1_beta2/src/api.rs index 6fae259628..ffad8294f0 100644 --- a/gen/replicapool1_beta2/src/api.rs +++ b/gen/replicapool1_beta2/src/api.rs @@ -82,7 +82,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Replicapool::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Replicapool::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -128,7 +128,7 @@ impl<'a, > Replicapool<> { Replicapool { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/replicapool/v1beta2/projects/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -142,7 +142,7 @@ impl<'a, > Replicapool<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -576,7 +576,7 @@ impl client::Part for OperationWarningsData {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Replicapool::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Replicapool::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `abandon_instances(...)`, `delete(...)`, `delete_instances(...)`, `get(...)`, `insert(...)`, `list(...)`, `recreate_instances(...)`, `resize(...)`, `set_instance_template(...)` and `set_target_pools(...)` /// // to build up your call. @@ -842,7 +842,7 @@ impl<'a> InstanceGroupManagerMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Replicapool::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Replicapool::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -934,7 +934,7 @@ impl<'a> ZoneOperationMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Replicapool::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Replicapool::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1235,7 +1235,7 @@ impl<'a> InstanceGroupManagerAbandonInstanceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Replicapool::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Replicapool::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1508,7 +1508,7 @@ impl<'a> InstanceGroupManagerDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Replicapool::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Replicapool::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1809,7 +1809,7 @@ impl<'a> InstanceGroupManagerDeleteInstanceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Replicapool::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Replicapool::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2082,7 +2082,7 @@ impl<'a> InstanceGroupManagerGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Replicapool::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Replicapool::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2383,7 +2383,7 @@ impl<'a> InstanceGroupManagerInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Replicapool::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Replicapool::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2680,7 +2680,7 @@ impl<'a> InstanceGroupManagerListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Replicapool::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Replicapool::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2981,7 +2981,7 @@ impl<'a> InstanceGroupManagerRecreateInstanceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Replicapool::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Replicapool::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3266,7 +3266,7 @@ impl<'a> InstanceGroupManagerResizeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Replicapool::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Replicapool::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3568,7 +3568,7 @@ impl<'a> InstanceGroupManagerSetInstanceTemplateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Replicapool::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Replicapool::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3869,7 +3869,7 @@ impl<'a> InstanceGroupManagerSetTargetPoolCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Replicapool::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Replicapool::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4141,7 +4141,7 @@ impl<'a> ZoneOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Replicapool::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Replicapool::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/replicapool1_beta2/src/lib.rs b/gen/replicapool1_beta2/src/lib.rs index 6871c9b460..631eb20b8d 100644 --- a/gen/replicapool1_beta2/src/lib.rs +++ b/gen/replicapool1_beta2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *replicapool* crate version *3.0.0+20160512*, where *20160512* is the exact revision of the *replicapool:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *replicapool* crate version *3.1.0+20160512*, where *20160512* is the exact revision of the *replicapool:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *replicapool* *v1_beta2* API can be found at the //! [official documentation site](https://developers.google.com/compute/docs/instance-groups/manager/v1beta2). @@ -102,7 +102,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Replicapool::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Replicapool::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/replicapoolupdater1_beta1-cli/Cargo.toml b/gen/replicapoolupdater1_beta1-cli/Cargo.toml index 8187af6aba..b7c53d1ddd 100644 --- a/gen/replicapoolupdater1_beta1-cli/Cargo.toml +++ b/gen/replicapoolupdater1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-replicapoolupdater1_beta1-cli" -version = "3.0.0+20161003" +version = "3.1.0+20161003" authors = ["Sebastian Thiel "] description = "A complete library to interact with replicapoolupdater (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/replicapoolupdater1_beta1-cli" @@ -20,12 +20,12 @@ name = "replicapoolupdater1-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-replicapoolupdater1_beta1] path = "../replicapoolupdater1_beta1" -version = "3.0.0+20161003" +version = "3.1.0+20161003" diff --git a/gen/replicapoolupdater1_beta1-cli/README.md b/gen/replicapoolupdater1_beta1-cli/README.md index cc37292167..db29776f30 100644 --- a/gen/replicapoolupdater1_beta1-cli/README.md +++ b/gen/replicapoolupdater1_beta1-cli/README.md @@ -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 *replicapoolupdater* API at revision *20161003*. The CLI is at version *3.0.0*. +This documentation was generated from the *replicapoolupdater* API at revision *20161003*. The CLI is at version *3.1.0*. ```bash replicapoolupdater1-beta1 [options] diff --git a/gen/replicapoolupdater1_beta1-cli/mkdocs.yml b/gen/replicapoolupdater1_beta1-cli/mkdocs.yml index 9529483648..6127cc1914 100644 --- a/gen/replicapoolupdater1_beta1-cli/mkdocs.yml +++ b/gen/replicapoolupdater1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: replicapoolupdater v3.0.0+20161003 +site_name: replicapoolupdater v3.1.0+20161003 site_url: http://byron.github.io/google-apis-rs/google-replicapoolupdater1_beta1-cli site_description: A complete library to interact with replicapoolupdater (protocol v1beta1) diff --git a/gen/replicapoolupdater1_beta1-cli/src/main.rs b/gen/replicapoolupdater1_beta1-cli/src/main.rs index 96624ae621..7af0508fa4 100644 --- a/gen/replicapoolupdater1_beta1-cli/src/main.rs +++ b/gen/replicapoolupdater1_beta1-cli/src/main.rs @@ -728,7 +728,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/replicapoolupdater1-beta1", 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::Replicapoolupdater::new(client, auth), @@ -1098,7 +1104,7 @@ async fn main() { let mut app = App::new("replicapoolupdater1-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20161003") + .version("3.1.0+20161003") .about("[Deprecated. Please use compute.instanceGroupManagers.update method. replicapoolupdater API will be disabled after December 30th, 2016] Updates groups of Compute Engine instances.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_replicapoolupdater1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/replicapoolupdater1_beta1/Cargo.toml b/gen/replicapoolupdater1_beta1/Cargo.toml index 856bd03086..5085718b24 100644 --- a/gen/replicapoolupdater1_beta1/Cargo.toml +++ b/gen/replicapoolupdater1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-replicapoolupdater1_beta1" -version = "3.0.0+20161003" +version = "3.1.0+20161003" authors = ["Sebastian Thiel "] description = "A complete library to interact with replicapoolupdater (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/replicapoolupdater1_beta1" homepage = "https://cloud.google.com/compute/docs/instance-groups/manager/#applying_rolling_updates_using_the_updater_service" -documentation = "https://docs.rs/google-replicapoolupdater1_beta1/3.0.0+20161003" +documentation = "https://docs.rs/google-replicapoolupdater1_beta1/3.1.0+20161003" license = "MIT" keywords = ["replicapoolupdater", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/replicapoolupdater1_beta1/README.md b/gen/replicapoolupdater1_beta1/README.md index b66cb2d831..e9bdad8b30 100644 --- a/gen/replicapoolupdater1_beta1/README.md +++ b/gen/replicapoolupdater1_beta1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-replicapoolupdater1_beta1` library allows access to all features of the *Google replicapoolupdater* service. -This documentation was generated from *replicapoolupdater* crate version *3.0.0+20161003*, where *20161003* is the exact revision of the *replicapoolupdater:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *replicapoolupdater* crate version *3.1.0+20161003*, where *20161003* is the exact revision of the *replicapoolupdater:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *replicapoolupdater* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/compute/docs/instance-groups/manager/#applying_rolling_updates_using_the_updater_service). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-replicapoolupdater1_beta1/3.0.0+20161003/google_replicapoolupdater1_beta1/Replicapoolupdater) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-replicapoolupdater1_beta1/3.1.0+20161003/google_replicapoolupdater1_beta1/Replicapoolupdater) ... -* [rolling updates](https://docs.rs/google-replicapoolupdater1_beta1/3.0.0+20161003/google_replicapoolupdater1_beta1/api::RollingUpdate) - * [*cancel*](https://docs.rs/google-replicapoolupdater1_beta1/3.0.0+20161003/google_replicapoolupdater1_beta1/api::RollingUpdateCancelCall), [*get*](https://docs.rs/google-replicapoolupdater1_beta1/3.0.0+20161003/google_replicapoolupdater1_beta1/api::RollingUpdateGetCall), [*insert*](https://docs.rs/google-replicapoolupdater1_beta1/3.0.0+20161003/google_replicapoolupdater1_beta1/api::RollingUpdateInsertCall), [*list*](https://docs.rs/google-replicapoolupdater1_beta1/3.0.0+20161003/google_replicapoolupdater1_beta1/api::RollingUpdateListCall), [*list instance updates*](https://docs.rs/google-replicapoolupdater1_beta1/3.0.0+20161003/google_replicapoolupdater1_beta1/api::RollingUpdateListInstanceUpdateCall), [*pause*](https://docs.rs/google-replicapoolupdater1_beta1/3.0.0+20161003/google_replicapoolupdater1_beta1/api::RollingUpdatePauseCall), [*resume*](https://docs.rs/google-replicapoolupdater1_beta1/3.0.0+20161003/google_replicapoolupdater1_beta1/api::RollingUpdateResumeCall) and [*rollback*](https://docs.rs/google-replicapoolupdater1_beta1/3.0.0+20161003/google_replicapoolupdater1_beta1/api::RollingUpdateRollbackCall) +* [rolling updates](https://docs.rs/google-replicapoolupdater1_beta1/3.1.0+20161003/google_replicapoolupdater1_beta1/api::RollingUpdate) + * [*cancel*](https://docs.rs/google-replicapoolupdater1_beta1/3.1.0+20161003/google_replicapoolupdater1_beta1/api::RollingUpdateCancelCall), [*get*](https://docs.rs/google-replicapoolupdater1_beta1/3.1.0+20161003/google_replicapoolupdater1_beta1/api::RollingUpdateGetCall), [*insert*](https://docs.rs/google-replicapoolupdater1_beta1/3.1.0+20161003/google_replicapoolupdater1_beta1/api::RollingUpdateInsertCall), [*list*](https://docs.rs/google-replicapoolupdater1_beta1/3.1.0+20161003/google_replicapoolupdater1_beta1/api::RollingUpdateListCall), [*list instance updates*](https://docs.rs/google-replicapoolupdater1_beta1/3.1.0+20161003/google_replicapoolupdater1_beta1/api::RollingUpdateListInstanceUpdateCall), [*pause*](https://docs.rs/google-replicapoolupdater1_beta1/3.1.0+20161003/google_replicapoolupdater1_beta1/api::RollingUpdatePauseCall), [*resume*](https://docs.rs/google-replicapoolupdater1_beta1/3.1.0+20161003/google_replicapoolupdater1_beta1/api::RollingUpdateResumeCall) and [*rollback*](https://docs.rs/google-replicapoolupdater1_beta1/3.1.0+20161003/google_replicapoolupdater1_beta1/api::RollingUpdateRollbackCall) * zone operations - * [*get*](https://docs.rs/google-replicapoolupdater1_beta1/3.0.0+20161003/google_replicapoolupdater1_beta1/api::ZoneOperationGetCall) and [*list*](https://docs.rs/google-replicapoolupdater1_beta1/3.0.0+20161003/google_replicapoolupdater1_beta1/api::ZoneOperationListCall) + * [*get*](https://docs.rs/google-replicapoolupdater1_beta1/3.1.0+20161003/google_replicapoolupdater1_beta1/api::ZoneOperationGetCall) and [*list*](https://docs.rs/google-replicapoolupdater1_beta1/3.1.0+20161003/google_replicapoolupdater1_beta1/api::ZoneOperationListCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-replicapoolupdater1_beta1/3.0.0+20161003/google_replicapoolupdater1_beta1/Replicapoolupdater)** +* **[Hub](https://docs.rs/google-replicapoolupdater1_beta1/3.1.0+20161003/google_replicapoolupdater1_beta1/Replicapoolupdater)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-replicapoolupdater1_beta1/3.0.0+20161003/google_replicapoolupdater1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-replicapoolupdater1_beta1/3.0.0+20161003/google_replicapoolupdater1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-replicapoolupdater1_beta1/3.0.0+20161003/google_replicapoolupdater1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-replicapoolupdater1_beta1/3.1.0+20161003/google_replicapoolupdater1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-replicapoolupdater1_beta1/3.1.0+20161003/google_replicapoolupdater1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-replicapoolupdater1_beta1/3.1.0+20161003/google_replicapoolupdater1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-replicapoolupdater1_beta1/3.0.0+20161003/google_replicapoolupdater1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-replicapoolupdater1_beta1/3.1.0+20161003/google_replicapoolupdater1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-replicapoolupdater1_beta1/3.0.0+20161003/google_replicapoolupdater1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-replicapoolupdater1_beta1/3.1.0+20161003/google_replicapoolupdater1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -99,7 +99,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Replicapoolupdater::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Replicapoolupdater::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -130,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-replicapoolupdater1_beta1/3.0.0+20161003/google_replicapoolupdater1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-replicapoolupdater1_beta1/3.1.0+20161003/google_replicapoolupdater1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-replicapoolupdater1_beta1/3.0.0+20161003/google_replicapoolupdater1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-replicapoolupdater1_beta1/3.1.0+20161003/google_replicapoolupdater1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-replicapoolupdater1_beta1/3.0.0+20161003/google_replicapoolupdater1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-replicapoolupdater1_beta1/3.1.0+20161003/google_replicapoolupdater1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-replicapoolupdater1_beta1/3.0.0+20161003/google_replicapoolupdater1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-replicapoolupdater1_beta1/3.1.0+20161003/google_replicapoolupdater1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -150,29 +150,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-replicapoolupdater1_beta1/3.0.0+20161003/google_replicapoolupdater1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-replicapoolupdater1_beta1/3.0.0+20161003/google_replicapoolupdater1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-replicapoolupdater1_beta1/3.1.0+20161003/google_replicapoolupdater1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-replicapoolupdater1_beta1/3.1.0+20161003/google_replicapoolupdater1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-replicapoolupdater1_beta1/3.0.0+20161003/google_replicapoolupdater1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-replicapoolupdater1_beta1/3.1.0+20161003/google_replicapoolupdater1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-replicapoolupdater1_beta1/3.0.0+20161003/google_replicapoolupdater1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-replicapoolupdater1_beta1/3.0.0+20161003/google_replicapoolupdater1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-replicapoolupdater1_beta1/3.1.0+20161003/google_replicapoolupdater1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-replicapoolupdater1_beta1/3.1.0+20161003/google_replicapoolupdater1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-replicapoolupdater1_beta1/3.0.0+20161003/google_replicapoolupdater1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-replicapoolupdater1_beta1/3.1.0+20161003/google_replicapoolupdater1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-replicapoolupdater1_beta1/3.0.0+20161003/google_replicapoolupdater1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-replicapoolupdater1_beta1/3.1.0+20161003/google_replicapoolupdater1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-replicapoolupdater1_beta1/3.0.0+20161003/google_replicapoolupdater1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-replicapoolupdater1_beta1/3.1.0+20161003/google_replicapoolupdater1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/replicapoolupdater1_beta1/src/api.rs b/gen/replicapoolupdater1_beta1/src/api.rs index 80639dbc3b..2f13107882 100644 --- a/gen/replicapoolupdater1_beta1/src/api.rs +++ b/gen/replicapoolupdater1_beta1/src/api.rs @@ -82,7 +82,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Replicapoolupdater::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Replicapoolupdater::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -128,7 +128,7 @@ impl<'a, > Replicapoolupdater<> { Replicapoolupdater { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/replicapoolupdater/v1beta1/projects/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -142,7 +142,7 @@ impl<'a, > Replicapoolupdater<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -605,7 +605,7 @@ impl client::Part for RollingUpdatePolicy {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Replicapoolupdater::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Replicapoolupdater::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `cancel(...)`, `get(...)`, `insert(...)`, `list(...)`, `list_instance_updates(...)`, `pause(...)`, `resume(...)` and `rollback(...)` /// // to build up your call. @@ -818,7 +818,7 @@ impl<'a> RollingUpdateMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Replicapoolupdater::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Replicapoolupdater::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -909,7 +909,7 @@ impl<'a> ZoneOperationMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Replicapoolupdater::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Replicapoolupdater::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1181,7 +1181,7 @@ impl<'a> RollingUpdateCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Replicapoolupdater::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Replicapoolupdater::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1454,7 +1454,7 @@ impl<'a> RollingUpdateGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Replicapoolupdater::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Replicapoolupdater::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1743,7 +1743,7 @@ impl<'a> RollingUpdateInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Replicapoolupdater::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Replicapoolupdater::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2039,7 +2039,7 @@ impl<'a> RollingUpdateListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Replicapoolupdater::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Replicapoolupdater::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2347,7 +2347,7 @@ impl<'a> RollingUpdateListInstanceUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Replicapoolupdater::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Replicapoolupdater::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2619,7 +2619,7 @@ impl<'a> RollingUpdatePauseCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Replicapoolupdater::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Replicapoolupdater::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2891,7 +2891,7 @@ impl<'a> RollingUpdateResumeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Replicapoolupdater::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Replicapoolupdater::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3163,7 +3163,7 @@ impl<'a> RollingUpdateRollbackCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Replicapoolupdater::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Replicapoolupdater::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3435,7 +3435,7 @@ impl<'a> ZoneOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Replicapoolupdater::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Replicapoolupdater::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/replicapoolupdater1_beta1/src/lib.rs b/gen/replicapoolupdater1_beta1/src/lib.rs index 2b93621406..f58e0dc3b9 100644 --- a/gen/replicapoolupdater1_beta1/src/lib.rs +++ b/gen/replicapoolupdater1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *replicapoolupdater* crate version *3.0.0+20161003*, where *20161003* is the exact revision of the *replicapoolupdater:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *replicapoolupdater* crate version *3.1.0+20161003*, where *20161003* is the exact revision of the *replicapoolupdater:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *replicapoolupdater* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/compute/docs/instance-groups/manager/#applying_rolling_updates_using_the_updater_service). @@ -100,7 +100,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Replicapoolupdater::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Replicapoolupdater::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/reseller1_sandbox-cli/Cargo.toml b/gen/reseller1_sandbox-cli/Cargo.toml index 977ecc47fb..9050d938a7 100644 --- a/gen/reseller1_sandbox-cli/Cargo.toml +++ b/gen/reseller1_sandbox-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-reseller1_sandbox-cli" -version = "3.0.0+20160329" +version = "3.1.0+20160329" authors = ["Sebastian Thiel "] description = "A complete library to interact with reseller (protocol v1sandbox)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/reseller1_sandbox-cli" @@ -20,12 +20,12 @@ name = "reseller1-sandbox" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-reseller1_sandbox] path = "../reseller1_sandbox" -version = "3.0.0+20160329" +version = "3.1.0+20160329" diff --git a/gen/reseller1_sandbox-cli/README.md b/gen/reseller1_sandbox-cli/README.md index c59e47e1be..17efbec66f 100644 --- a/gen/reseller1_sandbox-cli/README.md +++ b/gen/reseller1_sandbox-cli/README.md @@ -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 *reseller* API at revision *20160329*. The CLI is at version *3.0.0*. +This documentation was generated from the *reseller* API at revision *20160329*. The CLI is at version *3.1.0*. ```bash reseller1-sandbox [options] diff --git a/gen/reseller1_sandbox-cli/mkdocs.yml b/gen/reseller1_sandbox-cli/mkdocs.yml index 4c1323f75b..5c912992d3 100644 --- a/gen/reseller1_sandbox-cli/mkdocs.yml +++ b/gen/reseller1_sandbox-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: reseller v3.0.0+20160329 +site_name: reseller v3.1.0+20160329 site_url: http://byron.github.io/google-apis-rs/google-reseller1_sandbox-cli site_description: A complete library to interact with reseller (protocol v1sandbox) diff --git a/gen/reseller1_sandbox-cli/src/main.rs b/gen/reseller1_sandbox-cli/src/main.rs index 575d978564..e869500525 100644 --- a/gen/reseller1_sandbox-cli/src/main.rs +++ b/gen/reseller1_sandbox-cli/src/main.rs @@ -1198,7 +1198,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/reseller1-sandbox", 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::Reseller::new(client, auth), @@ -1626,7 +1632,7 @@ async fn main() { let mut app = App::new("reseller1-sandbox") .author("Sebastian Thiel ") - .version("3.0.0+20160329") + .version("3.1.0+20160329") .about("Creates and manages your customers and their subscriptions.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_reseller1_sandbox_cli") .arg(Arg::with_name("url") diff --git a/gen/reseller1_sandbox/Cargo.toml b/gen/reseller1_sandbox/Cargo.toml index 040582656e..8bc49f972f 100644 --- a/gen/reseller1_sandbox/Cargo.toml +++ b/gen/reseller1_sandbox/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-reseller1_sandbox" -version = "3.0.0+20160329" +version = "3.1.0+20160329" authors = ["Sebastian Thiel "] description = "A complete library to interact with reseller (protocol v1sandbox)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/reseller1_sandbox" homepage = "https://developers.google.com/google-apps/reseller/" -documentation = "https://docs.rs/google-reseller1_sandbox/3.0.0+20160329" +documentation = "https://docs.rs/google-reseller1_sandbox/3.1.0+20160329" license = "MIT" keywords = ["reseller", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/reseller1_sandbox/README.md b/gen/reseller1_sandbox/README.md index 6afc064b43..38b54cded8 100644 --- a/gen/reseller1_sandbox/README.md +++ b/gen/reseller1_sandbox/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-reseller1_sandbox` library allows access to all features of the *Google reseller* service. -This documentation was generated from *reseller* crate version *3.0.0+20160329*, where *20160329* is the exact revision of the *reseller:v1sandbox* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *reseller* crate version *3.1.0+20160329*, where *20160329* is the exact revision of the *reseller:v1sandbox* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *reseller* *v1_sandbox* API can be found at the [official documentation site](https://developers.google.com/google-apps/reseller/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-reseller1_sandbox/3.0.0+20160329/google_reseller1_sandbox/Reseller) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-reseller1_sandbox/3.1.0+20160329/google_reseller1_sandbox/Reseller) ... -* [customers](https://docs.rs/google-reseller1_sandbox/3.0.0+20160329/google_reseller1_sandbox/api::Customer) - * [*get*](https://docs.rs/google-reseller1_sandbox/3.0.0+20160329/google_reseller1_sandbox/api::CustomerGetCall), [*insert*](https://docs.rs/google-reseller1_sandbox/3.0.0+20160329/google_reseller1_sandbox/api::CustomerInsertCall), [*patch*](https://docs.rs/google-reseller1_sandbox/3.0.0+20160329/google_reseller1_sandbox/api::CustomerPatchCall) and [*update*](https://docs.rs/google-reseller1_sandbox/3.0.0+20160329/google_reseller1_sandbox/api::CustomerUpdateCall) -* [subscriptions](https://docs.rs/google-reseller1_sandbox/3.0.0+20160329/google_reseller1_sandbox/api::Subscription) - * [*activate*](https://docs.rs/google-reseller1_sandbox/3.0.0+20160329/google_reseller1_sandbox/api::SubscriptionActivateCall), [*change plan*](https://docs.rs/google-reseller1_sandbox/3.0.0+20160329/google_reseller1_sandbox/api::SubscriptionChangePlanCall), [*change renewal settings*](https://docs.rs/google-reseller1_sandbox/3.0.0+20160329/google_reseller1_sandbox/api::SubscriptionChangeRenewalSettingCall), [*change seats*](https://docs.rs/google-reseller1_sandbox/3.0.0+20160329/google_reseller1_sandbox/api::SubscriptionChangeSeatCall), [*delete*](https://docs.rs/google-reseller1_sandbox/3.0.0+20160329/google_reseller1_sandbox/api::SubscriptionDeleteCall), [*get*](https://docs.rs/google-reseller1_sandbox/3.0.0+20160329/google_reseller1_sandbox/api::SubscriptionGetCall), [*insert*](https://docs.rs/google-reseller1_sandbox/3.0.0+20160329/google_reseller1_sandbox/api::SubscriptionInsertCall), [*list*](https://docs.rs/google-reseller1_sandbox/3.0.0+20160329/google_reseller1_sandbox/api::SubscriptionListCall), [*start paid service*](https://docs.rs/google-reseller1_sandbox/3.0.0+20160329/google_reseller1_sandbox/api::SubscriptionStartPaidServiceCall) and [*suspend*](https://docs.rs/google-reseller1_sandbox/3.0.0+20160329/google_reseller1_sandbox/api::SubscriptionSuspendCall) +* [customers](https://docs.rs/google-reseller1_sandbox/3.1.0+20160329/google_reseller1_sandbox/api::Customer) + * [*get*](https://docs.rs/google-reseller1_sandbox/3.1.0+20160329/google_reseller1_sandbox/api::CustomerGetCall), [*insert*](https://docs.rs/google-reseller1_sandbox/3.1.0+20160329/google_reseller1_sandbox/api::CustomerInsertCall), [*patch*](https://docs.rs/google-reseller1_sandbox/3.1.0+20160329/google_reseller1_sandbox/api::CustomerPatchCall) and [*update*](https://docs.rs/google-reseller1_sandbox/3.1.0+20160329/google_reseller1_sandbox/api::CustomerUpdateCall) +* [subscriptions](https://docs.rs/google-reseller1_sandbox/3.1.0+20160329/google_reseller1_sandbox/api::Subscription) + * [*activate*](https://docs.rs/google-reseller1_sandbox/3.1.0+20160329/google_reseller1_sandbox/api::SubscriptionActivateCall), [*change plan*](https://docs.rs/google-reseller1_sandbox/3.1.0+20160329/google_reseller1_sandbox/api::SubscriptionChangePlanCall), [*change renewal settings*](https://docs.rs/google-reseller1_sandbox/3.1.0+20160329/google_reseller1_sandbox/api::SubscriptionChangeRenewalSettingCall), [*change seats*](https://docs.rs/google-reseller1_sandbox/3.1.0+20160329/google_reseller1_sandbox/api::SubscriptionChangeSeatCall), [*delete*](https://docs.rs/google-reseller1_sandbox/3.1.0+20160329/google_reseller1_sandbox/api::SubscriptionDeleteCall), [*get*](https://docs.rs/google-reseller1_sandbox/3.1.0+20160329/google_reseller1_sandbox/api::SubscriptionGetCall), [*insert*](https://docs.rs/google-reseller1_sandbox/3.1.0+20160329/google_reseller1_sandbox/api::SubscriptionInsertCall), [*list*](https://docs.rs/google-reseller1_sandbox/3.1.0+20160329/google_reseller1_sandbox/api::SubscriptionListCall), [*start paid service*](https://docs.rs/google-reseller1_sandbox/3.1.0+20160329/google_reseller1_sandbox/api::SubscriptionStartPaidServiceCall) and [*suspend*](https://docs.rs/google-reseller1_sandbox/3.1.0+20160329/google_reseller1_sandbox/api::SubscriptionSuspendCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-reseller1_sandbox/3.0.0+20160329/google_reseller1_sandbox/Reseller)** +* **[Hub](https://docs.rs/google-reseller1_sandbox/3.1.0+20160329/google_reseller1_sandbox/Reseller)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-reseller1_sandbox/3.0.0+20160329/google_reseller1_sandbox/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-reseller1_sandbox/3.0.0+20160329/google_reseller1_sandbox/client::CallBuilder) -* **[Resources](https://docs.rs/google-reseller1_sandbox/3.0.0+20160329/google_reseller1_sandbox/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-reseller1_sandbox/3.1.0+20160329/google_reseller1_sandbox/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-reseller1_sandbox/3.1.0+20160329/google_reseller1_sandbox/client::CallBuilder) +* **[Resources](https://docs.rs/google-reseller1_sandbox/3.1.0+20160329/google_reseller1_sandbox/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-reseller1_sandbox/3.0.0+20160329/google_reseller1_sandbox/client::Part)** + * **[Parts](https://docs.rs/google-reseller1_sandbox/3.1.0+20160329/google_reseller1_sandbox/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-reseller1_sandbox/3.0.0+20160329/google_reseller1_sandbox/client::CallBuilder)** +* **[Activities](https://docs.rs/google-reseller1_sandbox/3.1.0+20160329/google_reseller1_sandbox/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -101,7 +101,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Reseller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Reseller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-reseller1_sandbox/3.0.0+20160329/google_reseller1_sandbox/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-reseller1_sandbox/3.1.0+20160329/google_reseller1_sandbox/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-reseller1_sandbox/3.0.0+20160329/google_reseller1_sandbox/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-reseller1_sandbox/3.1.0+20160329/google_reseller1_sandbox/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-reseller1_sandbox/3.0.0+20160329/google_reseller1_sandbox/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-reseller1_sandbox/3.1.0+20160329/google_reseller1_sandbox/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-reseller1_sandbox/3.0.0+20160329/google_reseller1_sandbox/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-reseller1_sandbox/3.1.0+20160329/google_reseller1_sandbox/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -154,29 +154,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-reseller1_sandbox/3.0.0+20160329/google_reseller1_sandbox/client::Delegate) to the -[Method Builder](https://docs.rs/google-reseller1_sandbox/3.0.0+20160329/google_reseller1_sandbox/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-reseller1_sandbox/3.1.0+20160329/google_reseller1_sandbox/client::Delegate) to the +[Method Builder](https://docs.rs/google-reseller1_sandbox/3.1.0+20160329/google_reseller1_sandbox/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-reseller1_sandbox/3.0.0+20160329/google_reseller1_sandbox/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-reseller1_sandbox/3.1.0+20160329/google_reseller1_sandbox/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-reseller1_sandbox/3.0.0+20160329/google_reseller1_sandbox/client::RequestValue) and -[decodable](https://docs.rs/google-reseller1_sandbox/3.0.0+20160329/google_reseller1_sandbox/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-reseller1_sandbox/3.1.0+20160329/google_reseller1_sandbox/client::RequestValue) and +[decodable](https://docs.rs/google-reseller1_sandbox/3.1.0+20160329/google_reseller1_sandbox/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-reseller1_sandbox/3.0.0+20160329/google_reseller1_sandbox/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-reseller1_sandbox/3.1.0+20160329/google_reseller1_sandbox/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-reseller1_sandbox/3.0.0+20160329/google_reseller1_sandbox/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-reseller1_sandbox/3.1.0+20160329/google_reseller1_sandbox/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-reseller1_sandbox/3.0.0+20160329/google_reseller1_sandbox/client::RequestValue) are moved +* [request values](https://docs.rs/google-reseller1_sandbox/3.1.0+20160329/google_reseller1_sandbox/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/reseller1_sandbox/src/api.rs b/gen/reseller1_sandbox/src/api.rs index dce8d67da7..35337a6f09 100644 --- a/gen/reseller1_sandbox/src/api.rs +++ b/gen/reseller1_sandbox/src/api.rs @@ -74,7 +74,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Reseller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Reseller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -122,7 +122,7 @@ impl<'a, > Reseller<> { Reseller { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/apps/reseller/v1sandbox/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -136,7 +136,7 @@ impl<'a, > Reseller<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -526,7 +526,7 @@ impl client::Part for SubscriptionTrialSettings {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Reseller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Reseller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -640,7 +640,7 @@ impl<'a> CustomerMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Reseller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Reseller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `activate(...)`, `change_plan(...)`, `change_renewal_settings(...)`, `change_seats(...)`, `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `start_paid_service(...)` and `suspend(...)` /// // to build up your call. @@ -885,7 +885,7 @@ impl<'a> SubscriptionMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Reseller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Reseller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1134,7 +1134,7 @@ impl<'a> CustomerGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Reseller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Reseller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1391,7 +1391,7 @@ impl<'a> CustomerInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Reseller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Reseller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1669,7 +1669,7 @@ impl<'a> CustomerPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Reseller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Reseller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1946,7 +1946,7 @@ impl<'a> CustomerUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Reseller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Reseller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2207,7 +2207,7 @@ impl<'a> SubscriptionActivateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Reseller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Reseller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2497,7 +2497,7 @@ impl<'a> SubscriptionChangePlanCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Reseller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Reseller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2787,7 +2787,7 @@ impl<'a> SubscriptionChangeRenewalSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Reseller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Reseller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3076,7 +3076,7 @@ impl<'a> SubscriptionChangeSeatCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Reseller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Reseller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3337,7 +3337,7 @@ impl<'a> SubscriptionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Reseller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Reseller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3598,7 +3598,7 @@ impl<'a> SubscriptionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Reseller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Reseller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3887,7 +3887,7 @@ impl<'a> SubscriptionInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Reseller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Reseller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4162,7 +4162,7 @@ impl<'a> SubscriptionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Reseller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Reseller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4422,7 +4422,7 @@ impl<'a> SubscriptionStartPaidServiceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Reseller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Reseller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/reseller1_sandbox/src/lib.rs b/gen/reseller1_sandbox/src/lib.rs index a263059cf1..ce16666129 100644 --- a/gen/reseller1_sandbox/src/lib.rs +++ b/gen/reseller1_sandbox/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *reseller* crate version *3.0.0+20160329*, where *20160329* is the exact revision of the *reseller:v1sandbox* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *reseller* crate version *3.1.0+20160329*, where *20160329* is the exact revision of the *reseller:v1sandbox* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *reseller* *v1_sandbox* API can be found at the //! [official documentation site](https://developers.google.com/google-apps/reseller/). @@ -102,7 +102,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Reseller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Reseller::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/resourcesettings1-cli/Cargo.toml b/gen/resourcesettings1-cli/Cargo.toml index ad54b39294..5ca12e4322 100644 --- a/gen/resourcesettings1-cli/Cargo.toml +++ b/gen/resourcesettings1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-resourcesettings1-cli" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with Resource Settings (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/resourcesettings1-cli" @@ -20,12 +20,12 @@ name = "resourcesettings1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-resourcesettings1] path = "../resourcesettings1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" diff --git a/gen/resourcesettings1-cli/README.md b/gen/resourcesettings1-cli/README.md index ba80bfdfc8..04f16b97a0 100644 --- a/gen/resourcesettings1-cli/README.md +++ b/gen/resourcesettings1-cli/README.md @@ -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 *Resource Settings* API at revision *20220305*. The CLI is at version *3.0.0*. +This documentation was generated from the *Resource Settings* API at revision *20220305*. The CLI is at version *3.1.0*. ```bash resourcesettings1 [options] diff --git a/gen/resourcesettings1-cli/mkdocs.yml b/gen/resourcesettings1-cli/mkdocs.yml index 8782d93f3a..f4c1d9ff21 100644 --- a/gen/resourcesettings1-cli/mkdocs.yml +++ b/gen/resourcesettings1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Resource Settings v3.0.0+20220305 +site_name: Resource Settings v3.1.0+20220305 site_url: http://byron.github.io/google-apis-rs/google-resourcesettings1-cli site_description: A complete library to interact with Resource Settings (protocol v1) diff --git a/gen/resourcesettings1-cli/src/main.rs b/gen/resourcesettings1-cli/src/main.rs index 6012b2a6b7..15b606b866 100644 --- a/gen/resourcesettings1-cli/src/main.rs +++ b/gen/resourcesettings1-cli/src/main.rs @@ -810,7 +810,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/resourcesettings1", 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::ResourceSettings::new(client, auth), @@ -1074,7 +1080,7 @@ async fn main() { let mut app = App::new("resourcesettings1") .author("Sebastian Thiel ") - .version("3.0.0+20220305") + .version("3.1.0+20220305") .about("The Resource Settings API allows users to control and modify the behavior of their GCP resources (e.g., VM, firewall, Project, etc.) across the Cloud Resource Hierarchy.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_resourcesettings1_cli") .arg(Arg::with_name("url") diff --git a/gen/resourcesettings1/Cargo.toml b/gen/resourcesettings1/Cargo.toml index 88a2db3182..d622fd1f74 100644 --- a/gen/resourcesettings1/Cargo.toml +++ b/gen/resourcesettings1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-resourcesettings1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with Resource Settings (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/resourcesettings1" homepage = "https://cloud.google.com/resource-manager/docs/resource-settings/overview" -documentation = "https://docs.rs/google-resourcesettings1/3.0.0+20220305" +documentation = "https://docs.rs/google-resourcesettings1/3.1.0+20220305" license = "MIT" keywords = ["resourcesettings", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/resourcesettings1/README.md b/gen/resourcesettings1/README.md index 4cb37ce448..1c7b8d1b97 100644 --- a/gen/resourcesettings1/README.md +++ b/gen/resourcesettings1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-resourcesettings1` library allows access to all features of the *Google Resource Settings* service. -This documentation was generated from *Resource Settings* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *resourcesettings:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Resource Settings* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *resourcesettings:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Resource Settings* *v1* API can be found at the [official documentation site](https://cloud.google.com/resource-manager/docs/resource-settings/overview). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-resourcesettings1/3.0.0+20220305/google_resourcesettings1/ResourceSettings) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-resourcesettings1/3.1.0+20220305/google_resourcesettings1/ResourceSettings) ... * folders - * [*settings get*](https://docs.rs/google-resourcesettings1/3.0.0+20220305/google_resourcesettings1/api::FolderSettingGetCall), [*settings list*](https://docs.rs/google-resourcesettings1/3.0.0+20220305/google_resourcesettings1/api::FolderSettingListCall) and [*settings patch*](https://docs.rs/google-resourcesettings1/3.0.0+20220305/google_resourcesettings1/api::FolderSettingPatchCall) + * [*settings get*](https://docs.rs/google-resourcesettings1/3.1.0+20220305/google_resourcesettings1/api::FolderSettingGetCall), [*settings list*](https://docs.rs/google-resourcesettings1/3.1.0+20220305/google_resourcesettings1/api::FolderSettingListCall) and [*settings patch*](https://docs.rs/google-resourcesettings1/3.1.0+20220305/google_resourcesettings1/api::FolderSettingPatchCall) * organizations - * [*settings get*](https://docs.rs/google-resourcesettings1/3.0.0+20220305/google_resourcesettings1/api::OrganizationSettingGetCall), [*settings list*](https://docs.rs/google-resourcesettings1/3.0.0+20220305/google_resourcesettings1/api::OrganizationSettingListCall) and [*settings patch*](https://docs.rs/google-resourcesettings1/3.0.0+20220305/google_resourcesettings1/api::OrganizationSettingPatchCall) + * [*settings get*](https://docs.rs/google-resourcesettings1/3.1.0+20220305/google_resourcesettings1/api::OrganizationSettingGetCall), [*settings list*](https://docs.rs/google-resourcesettings1/3.1.0+20220305/google_resourcesettings1/api::OrganizationSettingListCall) and [*settings patch*](https://docs.rs/google-resourcesettings1/3.1.0+20220305/google_resourcesettings1/api::OrganizationSettingPatchCall) * projects - * [*settings get*](https://docs.rs/google-resourcesettings1/3.0.0+20220305/google_resourcesettings1/api::ProjectSettingGetCall), [*settings list*](https://docs.rs/google-resourcesettings1/3.0.0+20220305/google_resourcesettings1/api::ProjectSettingListCall) and [*settings patch*](https://docs.rs/google-resourcesettings1/3.0.0+20220305/google_resourcesettings1/api::ProjectSettingPatchCall) + * [*settings get*](https://docs.rs/google-resourcesettings1/3.1.0+20220305/google_resourcesettings1/api::ProjectSettingGetCall), [*settings list*](https://docs.rs/google-resourcesettings1/3.1.0+20220305/google_resourcesettings1/api::ProjectSettingListCall) and [*settings patch*](https://docs.rs/google-resourcesettings1/3.1.0+20220305/google_resourcesettings1/api::ProjectSettingPatchCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-resourcesettings1/3.0.0+20220305/google_resourcesettings1/ResourceSettings)** +* **[Hub](https://docs.rs/google-resourcesettings1/3.1.0+20220305/google_resourcesettings1/ResourceSettings)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-resourcesettings1/3.0.0+20220305/google_resourcesettings1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-resourcesettings1/3.0.0+20220305/google_resourcesettings1/client::CallBuilder) -* **[Resources](https://docs.rs/google-resourcesettings1/3.0.0+20220305/google_resourcesettings1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-resourcesettings1/3.1.0+20220305/google_resourcesettings1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-resourcesettings1/3.1.0+20220305/google_resourcesettings1/client::CallBuilder) +* **[Resources](https://docs.rs/google-resourcesettings1/3.1.0+20220305/google_resourcesettings1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-resourcesettings1/3.0.0+20220305/google_resourcesettings1/client::Part)** + * **[Parts](https://docs.rs/google-resourcesettings1/3.1.0+20220305/google_resourcesettings1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-resourcesettings1/3.0.0+20220305/google_resourcesettings1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-resourcesettings1/3.1.0+20220305/google_resourcesettings1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -99,7 +99,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = ResourceSettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = ResourceSettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -128,17 +128,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-resourcesettings1/3.0.0+20220305/google_resourcesettings1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-resourcesettings1/3.1.0+20220305/google_resourcesettings1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-resourcesettings1/3.0.0+20220305/google_resourcesettings1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-resourcesettings1/3.1.0+20220305/google_resourcesettings1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-resourcesettings1/3.0.0+20220305/google_resourcesettings1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-resourcesettings1/3.1.0+20220305/google_resourcesettings1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-resourcesettings1/3.0.0+20220305/google_resourcesettings1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-resourcesettings1/3.1.0+20220305/google_resourcesettings1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -148,29 +148,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-resourcesettings1/3.0.0+20220305/google_resourcesettings1/client::Delegate) to the -[Method Builder](https://docs.rs/google-resourcesettings1/3.0.0+20220305/google_resourcesettings1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-resourcesettings1/3.1.0+20220305/google_resourcesettings1/client::Delegate) to the +[Method Builder](https://docs.rs/google-resourcesettings1/3.1.0+20220305/google_resourcesettings1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-resourcesettings1/3.0.0+20220305/google_resourcesettings1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-resourcesettings1/3.1.0+20220305/google_resourcesettings1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-resourcesettings1/3.0.0+20220305/google_resourcesettings1/client::RequestValue) and -[decodable](https://docs.rs/google-resourcesettings1/3.0.0+20220305/google_resourcesettings1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-resourcesettings1/3.1.0+20220305/google_resourcesettings1/client::RequestValue) and +[decodable](https://docs.rs/google-resourcesettings1/3.1.0+20220305/google_resourcesettings1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-resourcesettings1/3.0.0+20220305/google_resourcesettings1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-resourcesettings1/3.1.0+20220305/google_resourcesettings1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-resourcesettings1/3.0.0+20220305/google_resourcesettings1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-resourcesettings1/3.1.0+20220305/google_resourcesettings1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-resourcesettings1/3.0.0+20220305/google_resourcesettings1/client::RequestValue) are moved +* [request values](https://docs.rs/google-resourcesettings1/3.1.0+20220305/google_resourcesettings1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/resourcesettings1/src/api.rs b/gen/resourcesettings1/src/api.rs index 60918c2f9c..39261a00da 100644 --- a/gen/resourcesettings1/src/api.rs +++ b/gen/resourcesettings1/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ResourceSettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ResourceSettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -114,7 +114,7 @@ impl<'a, > ResourceSettings<> { ResourceSettings { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://resourcesettings.googleapis.com/".to_string(), _root_url: "https://resourcesettings.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > ResourceSettings<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -335,7 +335,7 @@ impl client::Part for GoogleCloudResourcesettingsV1ValueStringSet {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ResourceSettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ResourceSettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `settings_get(...)`, `settings_list(...)` and `settings_patch(...)` /// // to build up your call. @@ -433,7 +433,7 @@ impl<'a> FolderMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ResourceSettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ResourceSettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `settings_get(...)`, `settings_list(...)` and `settings_patch(...)` /// // to build up your call. @@ -531,7 +531,7 @@ impl<'a> OrganizationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ResourceSettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ResourceSettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `settings_get(...)`, `settings_list(...)` and `settings_patch(...)` /// // to build up your call. @@ -636,7 +636,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ResourceSettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ResourceSettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -904,7 +904,7 @@ impl<'a> FolderSettingGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ResourceSettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ResourceSettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1197,7 +1197,7 @@ impl<'a> FolderSettingListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ResourceSettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ResourceSettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1482,7 +1482,7 @@ impl<'a> FolderSettingPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ResourceSettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ResourceSettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1750,7 +1750,7 @@ impl<'a> OrganizationSettingGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ResourceSettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ResourceSettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2043,7 +2043,7 @@ impl<'a> OrganizationSettingListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ResourceSettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ResourceSettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2328,7 +2328,7 @@ impl<'a> OrganizationSettingPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ResourceSettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ResourceSettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2596,7 +2596,7 @@ impl<'a> ProjectSettingGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ResourceSettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ResourceSettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2889,7 +2889,7 @@ impl<'a> ProjectSettingListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ResourceSettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ResourceSettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/resourcesettings1/src/lib.rs b/gen/resourcesettings1/src/lib.rs index e4c252668f..1b4e65bcbe 100644 --- a/gen/resourcesettings1/src/lib.rs +++ b/gen/resourcesettings1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Resource Settings* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *resourcesettings:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Resource Settings* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *resourcesettings:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Resource Settings* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/resource-manager/docs/resource-settings/overview). @@ -100,7 +100,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = ResourceSettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = ResourceSettings::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/resourceviews1_beta2-cli/Cargo.toml b/gen/resourceviews1_beta2-cli/Cargo.toml index 0d45eeda21..8383b847f1 100644 --- a/gen/resourceviews1_beta2-cli/Cargo.toml +++ b/gen/resourceviews1_beta2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-resourceviews1_beta2-cli" -version = "3.0.0+20160512" +version = "3.1.0+20160512" authors = ["Sebastian Thiel "] description = "A complete library to interact with resourceviews (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/resourceviews1_beta2-cli" @@ -20,12 +20,12 @@ name = "resourceviews1-beta2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-resourceviews1_beta2] path = "../resourceviews1_beta2" -version = "3.0.0+20160512" +version = "3.1.0+20160512" diff --git a/gen/resourceviews1_beta2-cli/README.md b/gen/resourceviews1_beta2-cli/README.md index 13b587138e..15dd41dea8 100644 --- a/gen/resourceviews1_beta2-cli/README.md +++ b/gen/resourceviews1_beta2-cli/README.md @@ -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 *resourceviews* API at revision *20160512*. The CLI is at version *3.0.0*. +This documentation was generated from the *resourceviews* API at revision *20160512*. The CLI is at version *3.1.0*. ```bash resourceviews1-beta2 [options] diff --git a/gen/resourceviews1_beta2-cli/mkdocs.yml b/gen/resourceviews1_beta2-cli/mkdocs.yml index 90787e3fdd..33889d2bd7 100644 --- a/gen/resourceviews1_beta2-cli/mkdocs.yml +++ b/gen/resourceviews1_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: resourceviews v3.0.0+20160512 +site_name: resourceviews v3.1.0+20160512 site_url: http://byron.github.io/google-apis-rs/google-resourceviews1_beta2-cli site_description: A complete library to interact with resourceviews (protocol v1beta2) diff --git a/gen/resourceviews1_beta2-cli/src/main.rs b/gen/resourceviews1_beta2-cli/src/main.rs index 8bddefa4a0..88ba69f110 100644 --- a/gen/resourceviews1_beta2-cli/src/main.rs +++ b/gen/resourceviews1_beta2-cli/src/main.rs @@ -881,7 +881,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/resourceviews1-beta2", 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::Resourceviews::new(client, auth), @@ -1303,7 +1309,7 @@ async fn main() { let mut app = App::new("resourceviews1-beta2") .author("Sebastian Thiel ") - .version("3.0.0+20160512") + .version("3.1.0+20160512") .about("The Resource View API allows users to create and manage logical sets of Google Compute Engine instances.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_resourceviews1_beta2_cli") .arg(Arg::with_name("url") diff --git a/gen/resourceviews1_beta2/Cargo.toml b/gen/resourceviews1_beta2/Cargo.toml index dc35f3c4ab..346944107b 100644 --- a/gen/resourceviews1_beta2/Cargo.toml +++ b/gen/resourceviews1_beta2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-resourceviews1_beta2" -version = "3.0.0+20160512" +version = "3.1.0+20160512" authors = ["Sebastian Thiel "] description = "A complete library to interact with resourceviews (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/resourceviews1_beta2" homepage = "https://developers.google.com/compute/" -documentation = "https://docs.rs/google-resourceviews1_beta2/3.0.0+20160512" +documentation = "https://docs.rs/google-resourceviews1_beta2/3.1.0+20160512" license = "MIT" keywords = ["resourceviews", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/resourceviews1_beta2/README.md b/gen/resourceviews1_beta2/README.md index f540becda2..6dc56040f7 100644 --- a/gen/resourceviews1_beta2/README.md +++ b/gen/resourceviews1_beta2/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-resourceviews1_beta2` library allows access to all features of the *Google resourceviews* service. -This documentation was generated from *resourceviews* crate version *3.0.0+20160512*, where *20160512* is the exact revision of the *resourceviews:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *resourceviews* crate version *3.1.0+20160512*, where *20160512* is the exact revision of the *resourceviews:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *resourceviews* *v1_beta2* API can be found at the [official documentation site](https://developers.google.com/compute/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-resourceviews1_beta2/3.0.0+20160512/google_resourceviews1_beta2/Resourceviews) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-resourceviews1_beta2/3.1.0+20160512/google_resourceviews1_beta2/Resourceviews) ... * zone operations - * [*get*](https://docs.rs/google-resourceviews1_beta2/3.0.0+20160512/google_resourceviews1_beta2/api::ZoneOperationGetCall) and [*list*](https://docs.rs/google-resourceviews1_beta2/3.0.0+20160512/google_resourceviews1_beta2/api::ZoneOperationListCall) + * [*get*](https://docs.rs/google-resourceviews1_beta2/3.1.0+20160512/google_resourceviews1_beta2/api::ZoneOperationGetCall) and [*list*](https://docs.rs/google-resourceviews1_beta2/3.1.0+20160512/google_resourceviews1_beta2/api::ZoneOperationListCall) * zone views - * [*add resources*](https://docs.rs/google-resourceviews1_beta2/3.0.0+20160512/google_resourceviews1_beta2/api::ZoneViewAddResourceCall), [*delete*](https://docs.rs/google-resourceviews1_beta2/3.0.0+20160512/google_resourceviews1_beta2/api::ZoneViewDeleteCall), [*get*](https://docs.rs/google-resourceviews1_beta2/3.0.0+20160512/google_resourceviews1_beta2/api::ZoneViewGetCall), [*get service*](https://docs.rs/google-resourceviews1_beta2/3.0.0+20160512/google_resourceviews1_beta2/api::ZoneViewGetServiceCall), [*insert*](https://docs.rs/google-resourceviews1_beta2/3.0.0+20160512/google_resourceviews1_beta2/api::ZoneViewInsertCall), [*list*](https://docs.rs/google-resourceviews1_beta2/3.0.0+20160512/google_resourceviews1_beta2/api::ZoneViewListCall), [*list resources*](https://docs.rs/google-resourceviews1_beta2/3.0.0+20160512/google_resourceviews1_beta2/api::ZoneViewListResourceCall), [*remove resources*](https://docs.rs/google-resourceviews1_beta2/3.0.0+20160512/google_resourceviews1_beta2/api::ZoneViewRemoveResourceCall) and [*set service*](https://docs.rs/google-resourceviews1_beta2/3.0.0+20160512/google_resourceviews1_beta2/api::ZoneViewSetServiceCall) + * [*add resources*](https://docs.rs/google-resourceviews1_beta2/3.1.0+20160512/google_resourceviews1_beta2/api::ZoneViewAddResourceCall), [*delete*](https://docs.rs/google-resourceviews1_beta2/3.1.0+20160512/google_resourceviews1_beta2/api::ZoneViewDeleteCall), [*get*](https://docs.rs/google-resourceviews1_beta2/3.1.0+20160512/google_resourceviews1_beta2/api::ZoneViewGetCall), [*get service*](https://docs.rs/google-resourceviews1_beta2/3.1.0+20160512/google_resourceviews1_beta2/api::ZoneViewGetServiceCall), [*insert*](https://docs.rs/google-resourceviews1_beta2/3.1.0+20160512/google_resourceviews1_beta2/api::ZoneViewInsertCall), [*list*](https://docs.rs/google-resourceviews1_beta2/3.1.0+20160512/google_resourceviews1_beta2/api::ZoneViewListCall), [*list resources*](https://docs.rs/google-resourceviews1_beta2/3.1.0+20160512/google_resourceviews1_beta2/api::ZoneViewListResourceCall), [*remove resources*](https://docs.rs/google-resourceviews1_beta2/3.1.0+20160512/google_resourceviews1_beta2/api::ZoneViewRemoveResourceCall) and [*set service*](https://docs.rs/google-resourceviews1_beta2/3.1.0+20160512/google_resourceviews1_beta2/api::ZoneViewSetServiceCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-resourceviews1_beta2/3.0.0+20160512/google_resourceviews1_beta2/Resourceviews)** +* **[Hub](https://docs.rs/google-resourceviews1_beta2/3.1.0+20160512/google_resourceviews1_beta2/Resourceviews)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-resourceviews1_beta2/3.0.0+20160512/google_resourceviews1_beta2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-resourceviews1_beta2/3.0.0+20160512/google_resourceviews1_beta2/client::CallBuilder) -* **[Resources](https://docs.rs/google-resourceviews1_beta2/3.0.0+20160512/google_resourceviews1_beta2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-resourceviews1_beta2/3.1.0+20160512/google_resourceviews1_beta2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-resourceviews1_beta2/3.1.0+20160512/google_resourceviews1_beta2/client::CallBuilder) +* **[Resources](https://docs.rs/google-resourceviews1_beta2/3.1.0+20160512/google_resourceviews1_beta2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-resourceviews1_beta2/3.0.0+20160512/google_resourceviews1_beta2/client::Part)** + * **[Parts](https://docs.rs/google-resourceviews1_beta2/3.1.0+20160512/google_resourceviews1_beta2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-resourceviews1_beta2/3.0.0+20160512/google_resourceviews1_beta2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-resourceviews1_beta2/3.1.0+20160512/google_resourceviews1_beta2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -98,7 +98,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Resourceviews::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Resourceviews::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -131,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-resourceviews1_beta2/3.0.0+20160512/google_resourceviews1_beta2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-resourceviews1_beta2/3.1.0+20160512/google_resourceviews1_beta2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-resourceviews1_beta2/3.0.0+20160512/google_resourceviews1_beta2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-resourceviews1_beta2/3.1.0+20160512/google_resourceviews1_beta2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-resourceviews1_beta2/3.0.0+20160512/google_resourceviews1_beta2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-resourceviews1_beta2/3.1.0+20160512/google_resourceviews1_beta2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-resourceviews1_beta2/3.0.0+20160512/google_resourceviews1_beta2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-resourceviews1_beta2/3.1.0+20160512/google_resourceviews1_beta2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -151,29 +151,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-resourceviews1_beta2/3.0.0+20160512/google_resourceviews1_beta2/client::Delegate) to the -[Method Builder](https://docs.rs/google-resourceviews1_beta2/3.0.0+20160512/google_resourceviews1_beta2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-resourceviews1_beta2/3.1.0+20160512/google_resourceviews1_beta2/client::Delegate) to the +[Method Builder](https://docs.rs/google-resourceviews1_beta2/3.1.0+20160512/google_resourceviews1_beta2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-resourceviews1_beta2/3.0.0+20160512/google_resourceviews1_beta2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-resourceviews1_beta2/3.1.0+20160512/google_resourceviews1_beta2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-resourceviews1_beta2/3.0.0+20160512/google_resourceviews1_beta2/client::RequestValue) and -[decodable](https://docs.rs/google-resourceviews1_beta2/3.0.0+20160512/google_resourceviews1_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-resourceviews1_beta2/3.1.0+20160512/google_resourceviews1_beta2/client::RequestValue) and +[decodable](https://docs.rs/google-resourceviews1_beta2/3.1.0+20160512/google_resourceviews1_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-resourceviews1_beta2/3.0.0+20160512/google_resourceviews1_beta2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-resourceviews1_beta2/3.1.0+20160512/google_resourceviews1_beta2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-resourceviews1_beta2/3.0.0+20160512/google_resourceviews1_beta2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-resourceviews1_beta2/3.1.0+20160512/google_resourceviews1_beta2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-resourceviews1_beta2/3.0.0+20160512/google_resourceviews1_beta2/client::RequestValue) are moved +* [request values](https://docs.rs/google-resourceviews1_beta2/3.1.0+20160512/google_resourceviews1_beta2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/resourceviews1_beta2/src/api.rs b/gen/resourceviews1_beta2/src/api.rs index 7ba86bfee8..2faf251fa9 100644 --- a/gen/resourceviews1_beta2/src/api.rs +++ b/gen/resourceviews1_beta2/src/api.rs @@ -91,7 +91,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Resourceviews::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Resourceviews::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -139,7 +139,7 @@ impl<'a, > Resourceviews<> { Resourceviews { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/resourceviews/v1beta2/projects/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -153,7 +153,7 @@ impl<'a, > Resourceviews<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -595,7 +595,7 @@ impl client::Part for OperationWarningsData {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Resourceviews::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Resourceviews::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -679,7 +679,7 @@ impl<'a> ZoneOperationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Resourceviews::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Resourceviews::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `add_resources(...)`, `delete(...)`, `get(...)`, `get_service(...)`, `insert(...)`, `list(...)`, `list_resources(...)`, `remove_resources(...)` and `set_service(...)` /// // to build up your call. @@ -928,7 +928,7 @@ impl<'a> ZoneViewMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Resourceviews::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Resourceviews::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1200,7 +1200,7 @@ impl<'a> ZoneOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Resourceviews::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Resourceviews::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1497,7 +1497,7 @@ impl<'a> ZoneOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Resourceviews::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Resourceviews::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1798,7 +1798,7 @@ impl<'a> ZoneViewAddResourceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Resourceviews::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Resourceviews::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2070,7 +2070,7 @@ impl<'a> ZoneViewDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Resourceviews::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Resourceviews::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2342,7 +2342,7 @@ impl<'a> ZoneViewGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Resourceviews::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Resourceviews::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2627,7 +2627,7 @@ impl<'a> ZoneViewGetServiceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Resourceviews::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Resourceviews::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2916,7 +2916,7 @@ impl<'a> ZoneViewInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Resourceviews::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Resourceviews::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3200,7 +3200,7 @@ impl<'a> ZoneViewListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Resourceviews::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Resourceviews::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3533,7 +3533,7 @@ impl<'a> ZoneViewListResourceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Resourceviews::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Resourceviews::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3835,7 +3835,7 @@ impl<'a> ZoneViewRemoveResourceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Resourceviews::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Resourceviews::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/resourceviews1_beta2/src/lib.rs b/gen/resourceviews1_beta2/src/lib.rs index 20220c0ca8..9bc94bf4c7 100644 --- a/gen/resourceviews1_beta2/src/lib.rs +++ b/gen/resourceviews1_beta2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *resourceviews* crate version *3.0.0+20160512*, where *20160512* is the exact revision of the *resourceviews:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *resourceviews* crate version *3.1.0+20160512*, where *20160512* is the exact revision of the *resourceviews:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *resourceviews* *v1_beta2* API can be found at the //! [official documentation site](https://developers.google.com/compute/). @@ -99,7 +99,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Resourceviews::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Resourceviews::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/retail2-cli/Cargo.toml b/gen/retail2-cli/Cargo.toml index 25309a4aed..fe4bdcd3be 100644 --- a/gen/retail2-cli/Cargo.toml +++ b/gen/retail2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-retail2-cli" -version = "3.0.0+20220224" +version = "3.1.0+20220224" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Retail (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/retail2-cli" @@ -20,12 +20,12 @@ name = "retail2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-retail2] path = "../retail2" -version = "3.0.0+20220224" +version = "3.1.0+20220224" diff --git a/gen/retail2-cli/README.md b/gen/retail2-cli/README.md index c854b7661d..e889fbdf9d 100644 --- a/gen/retail2-cli/README.md +++ b/gen/retail2-cli/README.md @@ -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 *Cloud Retail* API at revision *20220224*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Retail* API at revision *20220224*. The CLI is at version *3.1.0*. ```bash retail2 [options] diff --git a/gen/retail2-cli/mkdocs.yml b/gen/retail2-cli/mkdocs.yml index dd0a065689..00b5022474 100644 --- a/gen/retail2-cli/mkdocs.yml +++ b/gen/retail2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Retail v3.0.0+20220224 +site_name: Cloud Retail v3.1.0+20220224 site_url: http://byron.github.io/google-apis-rs/google-retail2-cli site_description: A complete library to interact with Cloud Retail (protocol v2) diff --git a/gen/retail2-cli/src/main.rs b/gen/retail2-cli/src/main.rs index eb6490e906..f559d8ffd3 100644 --- a/gen/retail2-cli/src/main.rs +++ b/gen/retail2-cli/src/main.rs @@ -2529,7 +2529,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/retail2", 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::CloudRetail::new(client, auth), @@ -3299,7 +3305,7 @@ async fn main() { let mut app = App::new("retail2") .author("Sebastian Thiel ") - .version("3.0.0+20220224") + .version("3.1.0+20220224") .about("Cloud Retail service enables customers to build end-to-end personalized recommendation systems without requiring a high level of expertise in machine learning, recommendation system, or Google Cloud.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_retail2_cli") .arg(Arg::with_name("url") diff --git a/gen/retail2/Cargo.toml b/gen/retail2/Cargo.toml index 83cbb2803e..c3c0f4ca73 100644 --- a/gen/retail2/Cargo.toml +++ b/gen/retail2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-retail2" -version = "3.0.0+20220224" +version = "3.1.0+20220224" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Retail (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/retail2" homepage = "https://cloud.google.com/recommendations" -documentation = "https://docs.rs/google-retail2/3.0.0+20220224" +documentation = "https://docs.rs/google-retail2/3.1.0+20220224" license = "MIT" keywords = ["retail", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/retail2/README.md b/gen/retail2/README.md index a940df250b..54483ae888 100644 --- a/gen/retail2/README.md +++ b/gen/retail2/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-retail2` library allows access to all features of the *Google Cloud Retail* service. -This documentation was generated from *Cloud Retail* crate version *3.0.0+20220224*, where *20220224* is the exact revision of the *retail:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Retail* crate version *3.1.0+20220224*, where *20220224* is the exact revision of the *retail:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Retail* *v2* API can be found at the [official documentation site](https://cloud.google.com/recommendations). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/CloudRetail) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/CloudRetail) ... * projects - * [*locations catalogs branches operations get*](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/api::ProjectLocationCatalogBrancheOperationGetCall), [*locations catalogs branches products add fulfillment places*](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/api::ProjectLocationCatalogBrancheProductAddFulfillmentPlaceCall), [*locations catalogs branches products create*](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/api::ProjectLocationCatalogBrancheProductCreateCall), [*locations catalogs branches products delete*](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/api::ProjectLocationCatalogBrancheProductDeleteCall), [*locations catalogs branches products get*](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/api::ProjectLocationCatalogBrancheProductGetCall), [*locations catalogs branches products import*](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/api::ProjectLocationCatalogBrancheProductImportCall), [*locations catalogs branches products list*](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/api::ProjectLocationCatalogBrancheProductListCall), [*locations catalogs branches products patch*](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/api::ProjectLocationCatalogBrancheProductPatchCall), [*locations catalogs branches products remove fulfillment places*](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/api::ProjectLocationCatalogBrancheProductRemoveFulfillmentPlaceCall), [*locations catalogs branches products set inventory*](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/api::ProjectLocationCatalogBrancheProductSetInventoryCall), [*locations catalogs complete query*](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/api::ProjectLocationCatalogCompleteQueryCall), [*locations catalogs completion data import*](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/api::ProjectLocationCatalogCompletionDataImportCall), [*locations catalogs get default branch*](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/api::ProjectLocationCatalogGetDefaultBranchCall), [*locations catalogs list*](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/api::ProjectLocationCatalogListCall), [*locations catalogs operations get*](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/api::ProjectLocationCatalogOperationGetCall), [*locations catalogs operations list*](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/api::ProjectLocationCatalogOperationListCall), [*locations catalogs patch*](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/api::ProjectLocationCatalogPatchCall), [*locations catalogs placements predict*](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/api::ProjectLocationCatalogPlacementPredictCall), [*locations catalogs placements search*](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/api::ProjectLocationCatalogPlacementSearchCall), [*locations catalogs set default branch*](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/api::ProjectLocationCatalogSetDefaultBranchCall), [*locations catalogs user events collect*](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/api::ProjectLocationCatalogUserEventCollectCall), [*locations catalogs user events import*](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/api::ProjectLocationCatalogUserEventImportCall), [*locations catalogs user events purge*](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/api::ProjectLocationCatalogUserEventPurgeCall), [*locations catalogs user events rejoin*](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/api::ProjectLocationCatalogUserEventRejoinCall), [*locations catalogs user events write*](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/api::ProjectLocationCatalogUserEventWriteCall), [*locations operations get*](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/api::ProjectLocationOperationListCall), [*operations get*](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/api::ProjectOperationGetCall) and [*operations list*](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/api::ProjectOperationListCall) + * [*locations catalogs branches operations get*](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/api::ProjectLocationCatalogBrancheOperationGetCall), [*locations catalogs branches products add fulfillment places*](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/api::ProjectLocationCatalogBrancheProductAddFulfillmentPlaceCall), [*locations catalogs branches products create*](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/api::ProjectLocationCatalogBrancheProductCreateCall), [*locations catalogs branches products delete*](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/api::ProjectLocationCatalogBrancheProductDeleteCall), [*locations catalogs branches products get*](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/api::ProjectLocationCatalogBrancheProductGetCall), [*locations catalogs branches products import*](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/api::ProjectLocationCatalogBrancheProductImportCall), [*locations catalogs branches products list*](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/api::ProjectLocationCatalogBrancheProductListCall), [*locations catalogs branches products patch*](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/api::ProjectLocationCatalogBrancheProductPatchCall), [*locations catalogs branches products remove fulfillment places*](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/api::ProjectLocationCatalogBrancheProductRemoveFulfillmentPlaceCall), [*locations catalogs branches products set inventory*](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/api::ProjectLocationCatalogBrancheProductSetInventoryCall), [*locations catalogs complete query*](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/api::ProjectLocationCatalogCompleteQueryCall), [*locations catalogs completion data import*](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/api::ProjectLocationCatalogCompletionDataImportCall), [*locations catalogs get default branch*](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/api::ProjectLocationCatalogGetDefaultBranchCall), [*locations catalogs list*](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/api::ProjectLocationCatalogListCall), [*locations catalogs operations get*](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/api::ProjectLocationCatalogOperationGetCall), [*locations catalogs operations list*](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/api::ProjectLocationCatalogOperationListCall), [*locations catalogs patch*](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/api::ProjectLocationCatalogPatchCall), [*locations catalogs placements predict*](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/api::ProjectLocationCatalogPlacementPredictCall), [*locations catalogs placements search*](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/api::ProjectLocationCatalogPlacementSearchCall), [*locations catalogs set default branch*](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/api::ProjectLocationCatalogSetDefaultBranchCall), [*locations catalogs user events collect*](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/api::ProjectLocationCatalogUserEventCollectCall), [*locations catalogs user events import*](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/api::ProjectLocationCatalogUserEventImportCall), [*locations catalogs user events purge*](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/api::ProjectLocationCatalogUserEventPurgeCall), [*locations catalogs user events rejoin*](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/api::ProjectLocationCatalogUserEventRejoinCall), [*locations catalogs user events write*](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/api::ProjectLocationCatalogUserEventWriteCall), [*locations operations get*](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/api::ProjectLocationOperationListCall), [*operations get*](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/api::ProjectOperationGetCall) and [*operations list*](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/api::ProjectOperationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/CloudRetail)** +* **[Hub](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/CloudRetail)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/client::CallBuilder) -* **[Resources](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/client::CallBuilder) +* **[Resources](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/client::Part)** + * **[Parts](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -102,7 +102,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -135,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -155,29 +155,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/client::Delegate) to the -[Method Builder](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/client::Delegate) to the +[Method Builder](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/client::RequestValue) and -[decodable](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/client::RequestValue) and +[decodable](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-retail2/3.0.0+20220224/google_retail2/client::RequestValue) are moved +* [request values](https://docs.rs/google-retail2/3.1.0+20220224/google_retail2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/retail2/src/api.rs b/gen/retail2/src/api.rs index 6017b61b46..ac159e0c46 100644 --- a/gen/retail2/src/api.rs +++ b/gen/retail2/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > CloudRetail<> { CloudRetail { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://retail.googleapis.com/".to_string(), _root_url: "https://retail.googleapis.com/".to_string(), } @@ -130,7 +130,7 @@ impl<'a, > CloudRetail<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1663,7 +1663,7 @@ impl client::Part for GoogleTypeDate {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_catalogs_branches_operations_get(...)`, `locations_catalogs_branches_products_add_fulfillment_places(...)`, `locations_catalogs_branches_products_create(...)`, `locations_catalogs_branches_products_delete(...)`, `locations_catalogs_branches_products_get(...)`, `locations_catalogs_branches_products_import(...)`, `locations_catalogs_branches_products_list(...)`, `locations_catalogs_branches_products_patch(...)`, `locations_catalogs_branches_products_remove_fulfillment_places(...)`, `locations_catalogs_branches_products_set_inventory(...)`, `locations_catalogs_complete_query(...)`, `locations_catalogs_completion_data_import(...)`, `locations_catalogs_get_default_branch(...)`, `locations_catalogs_list(...)`, `locations_catalogs_operations_get(...)`, `locations_catalogs_operations_list(...)`, `locations_catalogs_patch(...)`, `locations_catalogs_placements_predict(...)`, `locations_catalogs_placements_search(...)`, `locations_catalogs_set_default_branch(...)`, `locations_catalogs_user_events_collect(...)`, `locations_catalogs_user_events_import(...)`, `locations_catalogs_user_events_purge(...)`, `locations_catalogs_user_events_rejoin(...)`, `locations_catalogs_user_events_write(...)`, `locations_operations_get(...)`, `locations_operations_list(...)`, `operations_get(...)` and `operations_list(...)` /// // to build up your call. @@ -2262,7 +2262,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2519,7 +2519,7 @@ impl<'a> ProjectLocationCatalogBrancheOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2805,7 +2805,7 @@ impl<'a> ProjectLocationCatalogBrancheProductAddFulfillmentPlaceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3102,7 +3102,7 @@ impl<'a> ProjectLocationCatalogBrancheProductCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3358,7 +3358,7 @@ impl<'a> ProjectLocationCatalogBrancheProductDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3615,7 +3615,7 @@ impl<'a> ProjectLocationCatalogBrancheProductGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3900,7 +3900,7 @@ impl<'a> ProjectLocationCatalogBrancheProductImportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4205,7 +4205,7 @@ impl<'a> ProjectLocationCatalogBrancheProductListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4515,7 +4515,7 @@ impl<'a> ProjectLocationCatalogBrancheProductPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4801,7 +4801,7 @@ impl<'a> ProjectLocationCatalogBrancheProductRemoveFulfillmentPlaceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5087,7 +5087,7 @@ impl<'a> ProjectLocationCatalogBrancheProductSetInventoryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5372,7 +5372,7 @@ impl<'a> ProjectLocationCatalogCompletionDataImportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5628,7 +5628,7 @@ impl<'a> ProjectLocationCatalogOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5921,7 +5921,7 @@ impl<'a> ProjectLocationCatalogOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6207,7 +6207,7 @@ impl<'a> ProjectLocationCatalogPlacementPredictCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6492,7 +6492,7 @@ impl<'a> ProjectLocationCatalogPlacementSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6785,7 +6785,7 @@ impl<'a> ProjectLocationCatalogUserEventCollectCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7071,7 +7071,7 @@ impl<'a> ProjectLocationCatalogUserEventImportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7357,7 +7357,7 @@ impl<'a> ProjectLocationCatalogUserEventPurgeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7643,7 +7643,7 @@ impl<'a> ProjectLocationCatalogUserEventRejoinCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7928,7 +7928,7 @@ impl<'a> ProjectLocationCatalogUserEventWriteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8259,7 +8259,7 @@ impl<'a> ProjectLocationCatalogCompleteQueryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8515,7 +8515,7 @@ impl<'a> ProjectLocationCatalogGetDefaultBranchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8796,7 +8796,7 @@ impl<'a> ProjectLocationCatalogListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9094,7 +9094,7 @@ impl<'a> ProjectLocationCatalogPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9379,7 +9379,7 @@ impl<'a> ProjectLocationCatalogSetDefaultBranchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9635,7 +9635,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9927,7 +9927,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10183,7 +10183,7 @@ impl<'a> ProjectOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/retail2/src/lib.rs b/gen/retail2/src/lib.rs index 1ec5c7aa57..198e25367b 100644 --- a/gen/retail2/src/lib.rs +++ b/gen/retail2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Retail* crate version *3.0.0+20220224*, where *20220224* is the exact revision of the *retail:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Retail* crate version *3.1.0+20220224*, where *20220224* is the exact revision of the *retail:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Retail* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/recommendations). @@ -103,7 +103,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudRetail::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/run1-cli/Cargo.toml b/gen/run1-cli/Cargo.toml index 550416bfc8..300a699707 100644 --- a/gen/run1-cli/Cargo.toml +++ b/gen/run1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-run1-cli" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Run (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/run1-cli" @@ -20,12 +20,12 @@ name = "run1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-run1] path = "../run1" -version = "3.0.0+20220225" +version = "3.1.0+20220225" diff --git a/gen/run1-cli/README.md b/gen/run1-cli/README.md index e2ddd11386..72267e196c 100644 --- a/gen/run1-cli/README.md +++ b/gen/run1-cli/README.md @@ -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 *Cloud Run* API at revision *20220225*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Run* API at revision *20220225*. The CLI is at version *3.1.0*. ```bash run1 [options] diff --git a/gen/run1-cli/mkdocs.yml b/gen/run1-cli/mkdocs.yml index 060eb81c39..a5220352ad 100644 --- a/gen/run1-cli/mkdocs.yml +++ b/gen/run1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Run v3.0.0+20220225 +site_name: Cloud Run v3.1.0+20220225 site_url: http://byron.github.io/google-apis-rs/google-run1-cli site_description: A complete library to interact with Cloud Run (protocol v1) diff --git a/gen/run1-cli/src/main.rs b/gen/run1-cli/src/main.rs index 41867f69d4..33ac75d052 100644 --- a/gen/run1-cli/src/main.rs +++ b/gen/run1-cli/src/main.rs @@ -4161,7 +4161,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/run1", 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::CloudRun::new(client, auth), @@ -5450,7 +5456,7 @@ async fn main() { let mut app = App::new("run1") .author("Sebastian Thiel ") - .version("3.0.0+20220225") + .version("3.1.0+20220225") .about("Deploy and manage user provided container images that scale automatically based on incoming requests. The Cloud Run Admin API v1 follows the Knative Serving API specification, while v2 is aligned with Google Cloud AIP-based API standards, as described in https://google.aip.dev/.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_run1_cli") .arg(Arg::with_name("url") diff --git a/gen/run1/Cargo.toml b/gen/run1/Cargo.toml index a42ada90a7..8a74ceca20 100644 --- a/gen/run1/Cargo.toml +++ b/gen/run1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-run1" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Run (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/run1" homepage = "https://cloud.google.com/run/" -documentation = "https://docs.rs/google-run1/3.0.0+20220225" +documentation = "https://docs.rs/google-run1/3.1.0+20220225" license = "MIT" keywords = ["run", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/run1/README.md b/gen/run1/README.md index 68cd4436b0..c6606c8198 100644 --- a/gen/run1/README.md +++ b/gen/run1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-run1` library allows access to all features of the *Google Cloud Run* service. -This documentation was generated from *Cloud Run* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *run:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Run* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *run:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Run* *v1* API can be found at the [official documentation site](https://cloud.google.com/run/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-run1/3.0.0+20220225/google_run1/CloudRun) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-run1/3.1.0+20220225/google_run1/CloudRun) ... * namespaces - * [*authorizeddomains list*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::NamespaceAuthorizeddomainListCall), [*configurations get*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::NamespaceConfigurationGetCall), [*configurations list*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::NamespaceConfigurationListCall), [*domainmappings create*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::NamespaceDomainmappingCreateCall), [*domainmappings delete*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::NamespaceDomainmappingDeleteCall), [*domainmappings get*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::NamespaceDomainmappingGetCall), [*domainmappings list*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::NamespaceDomainmappingListCall), [*executions delete*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::NamespaceExecutionDeleteCall), [*executions get*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::NamespaceExecutionGetCall), [*executions list*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::NamespaceExecutionListCall), [*jobs create*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::NamespaceJobCreateCall), [*jobs delete*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::NamespaceJobDeleteCall), [*jobs get*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::NamespaceJobGetCall), [*jobs list*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::NamespaceJobListCall), [*jobs replace job*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::NamespaceJobReplaceJobCall), [*jobs run*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::NamespaceJobRunCall), [*revisions delete*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::NamespaceRevisionDeleteCall), [*revisions get*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::NamespaceRevisionGetCall), [*revisions list*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::NamespaceRevisionListCall), [*routes get*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::NamespaceRouteGetCall), [*routes list*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::NamespaceRouteListCall), [*services create*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::NamespaceServiceCreateCall), [*services delete*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::NamespaceServiceDeleteCall), [*services get*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::NamespaceServiceGetCall), [*services list*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::NamespaceServiceListCall), [*services replace service*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::NamespaceServiceReplaceServiceCall), [*tasks get*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::NamespaceTaskGetCall) and [*tasks list*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::NamespaceTaskListCall) + * [*authorizeddomains list*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::NamespaceAuthorizeddomainListCall), [*configurations get*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::NamespaceConfigurationGetCall), [*configurations list*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::NamespaceConfigurationListCall), [*domainmappings create*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::NamespaceDomainmappingCreateCall), [*domainmappings delete*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::NamespaceDomainmappingDeleteCall), [*domainmappings get*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::NamespaceDomainmappingGetCall), [*domainmappings list*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::NamespaceDomainmappingListCall), [*executions delete*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::NamespaceExecutionDeleteCall), [*executions get*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::NamespaceExecutionGetCall), [*executions list*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::NamespaceExecutionListCall), [*jobs create*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::NamespaceJobCreateCall), [*jobs delete*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::NamespaceJobDeleteCall), [*jobs get*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::NamespaceJobGetCall), [*jobs list*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::NamespaceJobListCall), [*jobs replace job*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::NamespaceJobReplaceJobCall), [*jobs run*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::NamespaceJobRunCall), [*revisions delete*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::NamespaceRevisionDeleteCall), [*revisions get*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::NamespaceRevisionGetCall), [*revisions list*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::NamespaceRevisionListCall), [*routes get*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::NamespaceRouteGetCall), [*routes list*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::NamespaceRouteListCall), [*services create*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::NamespaceServiceCreateCall), [*services delete*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::NamespaceServiceDeleteCall), [*services get*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::NamespaceServiceGetCall), [*services list*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::NamespaceServiceListCall), [*services replace service*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::NamespaceServiceReplaceServiceCall), [*tasks get*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::NamespaceTaskGetCall) and [*tasks list*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::NamespaceTaskListCall) * projects - * [*authorizeddomains list*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::ProjectAuthorizeddomainListCall), [*locations authorizeddomains list*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::ProjectLocationAuthorizeddomainListCall), [*locations configurations get*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::ProjectLocationConfigurationGetCall), [*locations configurations list*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::ProjectLocationConfigurationListCall), [*locations domainmappings create*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::ProjectLocationDomainmappingCreateCall), [*locations domainmappings delete*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::ProjectLocationDomainmappingDeleteCall), [*locations domainmappings get*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::ProjectLocationDomainmappingGetCall), [*locations domainmappings list*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::ProjectLocationDomainmappingListCall), [*locations jobs get iam policy*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::ProjectLocationJobGetIamPolicyCall), [*locations jobs set iam policy*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::ProjectLocationJobSetIamPolicyCall), [*locations jobs test iam permissions*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::ProjectLocationJobTestIamPermissionCall), [*locations list*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::ProjectLocationListCall), [*locations revisions delete*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::ProjectLocationRevisionDeleteCall), [*locations revisions get*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::ProjectLocationRevisionGetCall), [*locations revisions list*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::ProjectLocationRevisionListCall), [*locations routes get*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::ProjectLocationRouteGetCall), [*locations routes list*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::ProjectLocationRouteListCall), [*locations services create*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::ProjectLocationServiceCreateCall), [*locations services delete*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::ProjectLocationServiceDeleteCall), [*locations services get*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::ProjectLocationServiceGetCall), [*locations services get iam policy*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::ProjectLocationServiceGetIamPolicyCall), [*locations services list*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::ProjectLocationServiceListCall), [*locations services replace service*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::ProjectLocationServiceReplaceServiceCall), [*locations services set iam policy*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::ProjectLocationServiceSetIamPolicyCall) and [*locations services test iam permissions*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/api::ProjectLocationServiceTestIamPermissionCall) + * [*authorizeddomains list*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::ProjectAuthorizeddomainListCall), [*locations authorizeddomains list*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::ProjectLocationAuthorizeddomainListCall), [*locations configurations get*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::ProjectLocationConfigurationGetCall), [*locations configurations list*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::ProjectLocationConfigurationListCall), [*locations domainmappings create*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::ProjectLocationDomainmappingCreateCall), [*locations domainmappings delete*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::ProjectLocationDomainmappingDeleteCall), [*locations domainmappings get*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::ProjectLocationDomainmappingGetCall), [*locations domainmappings list*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::ProjectLocationDomainmappingListCall), [*locations jobs get iam policy*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::ProjectLocationJobGetIamPolicyCall), [*locations jobs set iam policy*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::ProjectLocationJobSetIamPolicyCall), [*locations jobs test iam permissions*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::ProjectLocationJobTestIamPermissionCall), [*locations list*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::ProjectLocationListCall), [*locations revisions delete*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::ProjectLocationRevisionDeleteCall), [*locations revisions get*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::ProjectLocationRevisionGetCall), [*locations revisions list*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::ProjectLocationRevisionListCall), [*locations routes get*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::ProjectLocationRouteGetCall), [*locations routes list*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::ProjectLocationRouteListCall), [*locations services create*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::ProjectLocationServiceCreateCall), [*locations services delete*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::ProjectLocationServiceDeleteCall), [*locations services get*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::ProjectLocationServiceGetCall), [*locations services get iam policy*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::ProjectLocationServiceGetIamPolicyCall), [*locations services list*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::ProjectLocationServiceListCall), [*locations services replace service*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::ProjectLocationServiceReplaceServiceCall), [*locations services set iam policy*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::ProjectLocationServiceSetIamPolicyCall) and [*locations services test iam permissions*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/api::ProjectLocationServiceTestIamPermissionCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-run1/3.0.0+20220225/google_run1/CloudRun)** +* **[Hub](https://docs.rs/google-run1/3.1.0+20220225/google_run1/CloudRun)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-run1/3.0.0+20220225/google_run1/client::CallBuilder) -* **[Resources](https://docs.rs/google-run1/3.0.0+20220225/google_run1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-run1/3.1.0+20220225/google_run1/client::CallBuilder) +* **[Resources](https://docs.rs/google-run1/3.1.0+20220225/google_run1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-run1/3.0.0+20220225/google_run1/client::Part)** + * **[Parts](https://docs.rs/google-run1/3.1.0+20220225/google_run1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-run1/3.0.0+20220225/google_run1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-run1/3.1.0+20220225/google_run1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -99,7 +99,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -131,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-run1/3.0.0+20220225/google_run1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-run1/3.1.0+20220225/google_run1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-run1/3.0.0+20220225/google_run1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-run1/3.1.0+20220225/google_run1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-run1/3.0.0+20220225/google_run1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-run1/3.1.0+20220225/google_run1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-run1/3.0.0+20220225/google_run1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-run1/3.1.0+20220225/google_run1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -151,29 +151,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-run1/3.0.0+20220225/google_run1/client::Delegate) to the -[Method Builder](https://docs.rs/google-run1/3.0.0+20220225/google_run1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-run1/3.1.0+20220225/google_run1/client::Delegate) to the +[Method Builder](https://docs.rs/google-run1/3.1.0+20220225/google_run1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-run1/3.0.0+20220225/google_run1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-run1/3.1.0+20220225/google_run1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-run1/3.0.0+20220225/google_run1/client::RequestValue) and -[decodable](https://docs.rs/google-run1/3.0.0+20220225/google_run1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-run1/3.1.0+20220225/google_run1/client::RequestValue) and +[decodable](https://docs.rs/google-run1/3.1.0+20220225/google_run1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-run1/3.0.0+20220225/google_run1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-run1/3.1.0+20220225/google_run1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-run1/3.0.0+20220225/google_run1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-run1/3.1.0+20220225/google_run1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-run1/3.0.0+20220225/google_run1/client::RequestValue) are moved +* [request values](https://docs.rs/google-run1/3.1.0+20220225/google_run1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/run1/src/api.rs b/gen/run1/src/api.rs index 25c85cb516..5043a8d312 100644 --- a/gen/run1/src/api.rs +++ b/gen/run1/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -117,7 +117,7 @@ impl<'a, > CloudRun<> { CloudRun { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://run.googleapis.com/".to_string(), _root_url: "https://run.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > CloudRun<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -2051,7 +2051,7 @@ impl client::Part for VolumeMount {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `authorizeddomains_list(...)`, `configurations_get(...)`, `configurations_list(...)`, `domainmappings_create(...)`, `domainmappings_delete(...)`, `domainmappings_get(...)`, `domainmappings_list(...)`, `executions_delete(...)`, `executions_get(...)`, `executions_list(...)`, `jobs_create(...)`, `jobs_delete(...)`, `jobs_get(...)`, `jobs_list(...)`, `jobs_replace_job(...)`, `jobs_run(...)`, `revisions_delete(...)`, `revisions_get(...)`, `revisions_list(...)`, `routes_get(...)`, `routes_list(...)`, `services_create(...)`, `services_delete(...)`, `services_get(...)`, `services_list(...)`, `services_replace_service(...)`, `tasks_get(...)` and `tasks_list(...)` /// // to build up your call. @@ -2659,7 +2659,7 @@ impl<'a> NamespaceMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `authorizeddomains_list(...)`, `locations_authorizeddomains_list(...)`, `locations_configurations_get(...)`, `locations_configurations_list(...)`, `locations_domainmappings_create(...)`, `locations_domainmappings_delete(...)`, `locations_domainmappings_get(...)`, `locations_domainmappings_list(...)`, `locations_jobs_get_iam_policy(...)`, `locations_jobs_set_iam_policy(...)`, `locations_jobs_test_iam_permissions(...)`, `locations_list(...)`, `locations_revisions_delete(...)`, `locations_revisions_get(...)`, `locations_revisions_list(...)`, `locations_routes_get(...)`, `locations_routes_list(...)`, `locations_services_create(...)`, `locations_services_delete(...)`, `locations_services_get(...)`, `locations_services_get_iam_policy(...)`, `locations_services_list(...)`, `locations_services_replace_service(...)`, `locations_services_set_iam_policy(...)` and `locations_services_test_iam_permissions(...)` /// // to build up your call. @@ -3205,7 +3205,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3485,7 +3485,7 @@ impl<'a> NamespaceAuthorizeddomainListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3741,7 +3741,7 @@ impl<'a> NamespaceConfigurationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4082,7 +4082,7 @@ impl<'a> NamespaceConfigurationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4379,7 +4379,7 @@ impl<'a> NamespaceDomainmappingCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4683,7 +4683,7 @@ impl<'a> NamespaceDomainmappingDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4939,7 +4939,7 @@ impl<'a> NamespaceDomainmappingGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5279,7 +5279,7 @@ impl<'a> NamespaceDomainmappingListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5571,7 +5571,7 @@ impl<'a> NamespaceExecutionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5827,7 +5827,7 @@ impl<'a> NamespaceExecutionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6168,7 +6168,7 @@ impl<'a> NamespaceExecutionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6453,7 +6453,7 @@ impl<'a> NamespaceJobCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6745,7 +6745,7 @@ impl<'a> NamespaceJobDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7001,7 +7001,7 @@ impl<'a> NamespaceJobGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7342,7 +7342,7 @@ impl<'a> NamespaceJobListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7628,7 +7628,7 @@ impl<'a> NamespaceJobReplaceJobCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7913,7 +7913,7 @@ impl<'a> NamespaceJobRunCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8217,7 +8217,7 @@ impl<'a> NamespaceRevisionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8473,7 +8473,7 @@ impl<'a> NamespaceRevisionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8813,7 +8813,7 @@ impl<'a> NamespaceRevisionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9069,7 +9069,7 @@ impl<'a> NamespaceRouteGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9410,7 +9410,7 @@ impl<'a> NamespaceRouteListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9707,7 +9707,7 @@ impl<'a> NamespaceServiceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10011,7 +10011,7 @@ impl<'a> NamespaceServiceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10267,7 +10267,7 @@ impl<'a> NamespaceServiceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10608,7 +10608,7 @@ impl<'a> NamespaceServiceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10905,7 +10905,7 @@ impl<'a> NamespaceServiceReplaceServiceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11161,7 +11161,7 @@ impl<'a> NamespaceTaskGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11501,7 +11501,7 @@ impl<'a> NamespaceTaskListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11781,7 +11781,7 @@ impl<'a> ProjectAuthorizeddomainListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12061,7 +12061,7 @@ impl<'a> ProjectLocationAuthorizeddomainListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12317,7 +12317,7 @@ impl<'a> ProjectLocationConfigurationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12658,7 +12658,7 @@ impl<'a> ProjectLocationConfigurationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12955,7 +12955,7 @@ impl<'a> ProjectLocationDomainmappingCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13259,7 +13259,7 @@ impl<'a> ProjectLocationDomainmappingDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13515,7 +13515,7 @@ impl<'a> ProjectLocationDomainmappingGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13855,7 +13855,7 @@ impl<'a> ProjectLocationDomainmappingListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14124,7 +14124,7 @@ impl<'a> ProjectLocationJobGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14410,7 +14410,7 @@ impl<'a> ProjectLocationJobSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14695,7 +14695,7 @@ impl<'a> ProjectLocationJobTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14999,7 +14999,7 @@ impl<'a> ProjectLocationRevisionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15255,7 +15255,7 @@ impl<'a> ProjectLocationRevisionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15595,7 +15595,7 @@ impl<'a> ProjectLocationRevisionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15851,7 +15851,7 @@ impl<'a> ProjectLocationRouteGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16192,7 +16192,7 @@ impl<'a> ProjectLocationRouteListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16489,7 +16489,7 @@ impl<'a> ProjectLocationServiceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16793,7 +16793,7 @@ impl<'a> ProjectLocationServiceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17049,7 +17049,7 @@ impl<'a> ProjectLocationServiceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17317,7 +17317,7 @@ impl<'a> ProjectLocationServiceGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17658,7 +17658,7 @@ impl<'a> ProjectLocationServiceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17956,7 +17956,7 @@ impl<'a> ProjectLocationServiceReplaceServiceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18242,7 +18242,7 @@ impl<'a> ProjectLocationServiceSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18527,7 +18527,7 @@ impl<'a> ProjectLocationServiceTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/run1/src/lib.rs b/gen/run1/src/lib.rs index 548b23ff82..2e13192c9c 100644 --- a/gen/run1/src/lib.rs +++ b/gen/run1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Run* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *run:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Run* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *run:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Run* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/run/). @@ -100,7 +100,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/run2-cli/Cargo.toml b/gen/run2-cli/Cargo.toml index c957b58f58..3d024ea0ce 100644 --- a/gen/run2-cli/Cargo.toml +++ b/gen/run2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-run2-cli" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Run (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/run2-cli" @@ -20,12 +20,12 @@ name = "run2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-run2] path = "../run2" -version = "3.0.0+20220225" +version = "3.1.0+20220225" diff --git a/gen/run2-cli/README.md b/gen/run2-cli/README.md index f63e08fe43..71263b3b9e 100644 --- a/gen/run2-cli/README.md +++ b/gen/run2-cli/README.md @@ -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 *Cloud Run* API at revision *20220225*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Run* API at revision *20220225*. The CLI is at version *3.1.0*. ```bash run2 [options] diff --git a/gen/run2-cli/mkdocs.yml b/gen/run2-cli/mkdocs.yml index c81923b86a..0b7a0e2084 100644 --- a/gen/run2-cli/mkdocs.yml +++ b/gen/run2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Run v3.0.0+20220225 +site_name: Cloud Run v3.1.0+20220225 site_url: http://byron.github.io/google-apis-rs/google-run2-cli site_description: A complete library to interact with Cloud Run (protocol v2) diff --git a/gen/run2-cli/src/main.rs b/gen/run2-cli/src/main.rs index 954294d21e..a66c89670e 100644 --- a/gen/run2-cli/src/main.rs +++ b/gen/run2-cli/src/main.rs @@ -1150,7 +1150,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/run2", 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::CloudRun::new(client, auth), @@ -1524,7 +1530,7 @@ async fn main() { let mut app = App::new("run2") .author("Sebastian Thiel ") - .version("3.0.0+20220225") + .version("3.1.0+20220225") .about("Deploy and manage user provided container images that scale automatically based on incoming requests. The Cloud Run Admin API v1 follows the Knative Serving API specification, while v2 is aligned with Google Cloud AIP-based API standards, as described in https://google.aip.dev/.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_run2_cli") .arg(Arg::with_name("url") diff --git a/gen/run2/Cargo.toml b/gen/run2/Cargo.toml index f016685f95..55ec733847 100644 --- a/gen/run2/Cargo.toml +++ b/gen/run2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-run2" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Run (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/run2" homepage = "https://cloud.google.com/run/" -documentation = "https://docs.rs/google-run2/3.0.0+20220225" +documentation = "https://docs.rs/google-run2/3.1.0+20220225" license = "MIT" keywords = ["run", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/run2/README.md b/gen/run2/README.md index 32ba9c4917..6582158c53 100644 --- a/gen/run2/README.md +++ b/gen/run2/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-run2` library allows access to all features of the *Google Cloud Run* service. -This documentation was generated from *Cloud Run* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *run:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Run* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *run:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Run* *v2* API can be found at the [official documentation site](https://cloud.google.com/run/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-run2/3.0.0+20220225/google_run2/CloudRun) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-run2/3.1.0+20220225/google_run2/CloudRun) ... * projects - * [*locations operations delete*](https://docs.rs/google-run2/3.0.0+20220225/google_run2/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-run2/3.0.0+20220225/google_run2/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-run2/3.0.0+20220225/google_run2/api::ProjectLocationOperationListCall), [*locations services create*](https://docs.rs/google-run2/3.0.0+20220225/google_run2/api::ProjectLocationServiceCreateCall), [*locations services delete*](https://docs.rs/google-run2/3.0.0+20220225/google_run2/api::ProjectLocationServiceDeleteCall), [*locations services get*](https://docs.rs/google-run2/3.0.0+20220225/google_run2/api::ProjectLocationServiceGetCall), [*locations services get iam policy*](https://docs.rs/google-run2/3.0.0+20220225/google_run2/api::ProjectLocationServiceGetIamPolicyCall), [*locations services list*](https://docs.rs/google-run2/3.0.0+20220225/google_run2/api::ProjectLocationServiceListCall), [*locations services patch*](https://docs.rs/google-run2/3.0.0+20220225/google_run2/api::ProjectLocationServicePatchCall), [*locations services revisions delete*](https://docs.rs/google-run2/3.0.0+20220225/google_run2/api::ProjectLocationServiceRevisionDeleteCall), [*locations services revisions get*](https://docs.rs/google-run2/3.0.0+20220225/google_run2/api::ProjectLocationServiceRevisionGetCall), [*locations services revisions list*](https://docs.rs/google-run2/3.0.0+20220225/google_run2/api::ProjectLocationServiceRevisionListCall), [*locations services set iam policy*](https://docs.rs/google-run2/3.0.0+20220225/google_run2/api::ProjectLocationServiceSetIamPolicyCall) and [*locations services test iam permissions*](https://docs.rs/google-run2/3.0.0+20220225/google_run2/api::ProjectLocationServiceTestIamPermissionCall) + * [*locations operations delete*](https://docs.rs/google-run2/3.1.0+20220225/google_run2/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-run2/3.1.0+20220225/google_run2/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-run2/3.1.0+20220225/google_run2/api::ProjectLocationOperationListCall), [*locations services create*](https://docs.rs/google-run2/3.1.0+20220225/google_run2/api::ProjectLocationServiceCreateCall), [*locations services delete*](https://docs.rs/google-run2/3.1.0+20220225/google_run2/api::ProjectLocationServiceDeleteCall), [*locations services get*](https://docs.rs/google-run2/3.1.0+20220225/google_run2/api::ProjectLocationServiceGetCall), [*locations services get iam policy*](https://docs.rs/google-run2/3.1.0+20220225/google_run2/api::ProjectLocationServiceGetIamPolicyCall), [*locations services list*](https://docs.rs/google-run2/3.1.0+20220225/google_run2/api::ProjectLocationServiceListCall), [*locations services patch*](https://docs.rs/google-run2/3.1.0+20220225/google_run2/api::ProjectLocationServicePatchCall), [*locations services revisions delete*](https://docs.rs/google-run2/3.1.0+20220225/google_run2/api::ProjectLocationServiceRevisionDeleteCall), [*locations services revisions get*](https://docs.rs/google-run2/3.1.0+20220225/google_run2/api::ProjectLocationServiceRevisionGetCall), [*locations services revisions list*](https://docs.rs/google-run2/3.1.0+20220225/google_run2/api::ProjectLocationServiceRevisionListCall), [*locations services set iam policy*](https://docs.rs/google-run2/3.1.0+20220225/google_run2/api::ProjectLocationServiceSetIamPolicyCall) and [*locations services test iam permissions*](https://docs.rs/google-run2/3.1.0+20220225/google_run2/api::ProjectLocationServiceTestIamPermissionCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-run2/3.0.0+20220225/google_run2/CloudRun)** +* **[Hub](https://docs.rs/google-run2/3.1.0+20220225/google_run2/CloudRun)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-run2/3.0.0+20220225/google_run2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-run2/3.0.0+20220225/google_run2/client::CallBuilder) -* **[Resources](https://docs.rs/google-run2/3.0.0+20220225/google_run2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-run2/3.1.0+20220225/google_run2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-run2/3.1.0+20220225/google_run2/client::CallBuilder) +* **[Resources](https://docs.rs/google-run2/3.1.0+20220225/google_run2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-run2/3.0.0+20220225/google_run2/client::Part)** + * **[Parts](https://docs.rs/google-run2/3.1.0+20220225/google_run2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-run2/3.0.0+20220225/google_run2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-run2/3.1.0+20220225/google_run2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -95,7 +95,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -131,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-run2/3.0.0+20220225/google_run2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-run2/3.1.0+20220225/google_run2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-run2/3.0.0+20220225/google_run2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-run2/3.1.0+20220225/google_run2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-run2/3.0.0+20220225/google_run2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-run2/3.1.0+20220225/google_run2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-run2/3.0.0+20220225/google_run2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-run2/3.1.0+20220225/google_run2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -151,29 +151,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-run2/3.0.0+20220225/google_run2/client::Delegate) to the -[Method Builder](https://docs.rs/google-run2/3.0.0+20220225/google_run2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-run2/3.1.0+20220225/google_run2/client::Delegate) to the +[Method Builder](https://docs.rs/google-run2/3.1.0+20220225/google_run2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-run2/3.0.0+20220225/google_run2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-run2/3.1.0+20220225/google_run2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-run2/3.0.0+20220225/google_run2/client::RequestValue) and -[decodable](https://docs.rs/google-run2/3.0.0+20220225/google_run2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-run2/3.1.0+20220225/google_run2/client::RequestValue) and +[decodable](https://docs.rs/google-run2/3.1.0+20220225/google_run2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-run2/3.0.0+20220225/google_run2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-run2/3.1.0+20220225/google_run2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-run2/3.0.0+20220225/google_run2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-run2/3.1.0+20220225/google_run2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-run2/3.0.0+20220225/google_run2/client::RequestValue) are moved +* [request values](https://docs.rs/google-run2/3.1.0+20220225/google_run2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/run2/src/api.rs b/gen/run2/src/api.rs index a0b7797fbb..88a7ad09e5 100644 --- a/gen/run2/src/api.rs +++ b/gen/run2/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -122,7 +122,7 @@ impl<'a, > CloudRun<> { CloudRun { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://run.googleapis.com/".to_string(), _root_url: "https://run.googleapis.com/".to_string(), } @@ -133,7 +133,7 @@ impl<'a, > CloudRun<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -991,7 +991,7 @@ impl client::Part for GoogleTypeExpr {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_operations_delete(...)`, `locations_operations_get(...)`, `locations_operations_list(...)`, `locations_services_create(...)`, `locations_services_delete(...)`, `locations_services_get(...)`, `locations_services_get_iam_policy(...)`, `locations_services_list(...)`, `locations_services_patch(...)`, `locations_services_revisions_delete(...)`, `locations_services_revisions_get(...)`, `locations_services_revisions_list(...)`, `locations_services_set_iam_policy(...)` and `locations_services_test_iam_permissions(...)` /// // to build up your call. @@ -1304,7 +1304,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1560,7 +1560,7 @@ impl<'a> ProjectLocationOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1816,7 +1816,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2108,7 +2108,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2388,7 +2388,7 @@ impl<'a> ProjectLocationServiceRevisionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2644,7 +2644,7 @@ impl<'a> ProjectLocationServiceRevisionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2937,7 +2937,7 @@ impl<'a> ProjectLocationServiceRevisionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3246,7 +3246,7 @@ impl<'a> ProjectLocationServiceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3526,7 +3526,7 @@ impl<'a> ProjectLocationServiceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3782,7 +3782,7 @@ impl<'a> ProjectLocationServiceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4050,7 +4050,7 @@ impl<'a> ProjectLocationServiceGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4343,7 +4343,7 @@ impl<'a> ProjectLocationServiceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4665,7 +4665,7 @@ impl<'a> ProjectLocationServicePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4951,7 +4951,7 @@ impl<'a> ProjectLocationServiceSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/run2/src/lib.rs b/gen/run2/src/lib.rs index b25f109b2b..2d42503cf4 100644 --- a/gen/run2/src/lib.rs +++ b/gen/run2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Run* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *run:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Run* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *run:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Run* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/run/). @@ -96,7 +96,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudRun::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/runtimeconfig1-cli/Cargo.toml b/gen/runtimeconfig1-cli/Cargo.toml index 96aaa621f8..56f2b4907b 100644 --- a/gen/runtimeconfig1-cli/Cargo.toml +++ b/gen/runtimeconfig1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-runtimeconfig1-cli" -version = "3.0.0+20220228" +version = "3.1.0+20220228" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud RuntimeConfig (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/runtimeconfig1-cli" @@ -20,12 +20,12 @@ name = "runtimeconfig1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-runtimeconfig1] path = "../runtimeconfig1" -version = "3.0.0+20220228" +version = "3.1.0+20220228" diff --git a/gen/runtimeconfig1-cli/README.md b/gen/runtimeconfig1-cli/README.md index bb2b15318a..8625293b44 100644 --- a/gen/runtimeconfig1-cli/README.md +++ b/gen/runtimeconfig1-cli/README.md @@ -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 *Cloud RuntimeConfig* API at revision *20220228*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud RuntimeConfig* API at revision *20220228*. The CLI is at version *3.1.0*. ```bash runtimeconfig1 [options] diff --git a/gen/runtimeconfig1-cli/mkdocs.yml b/gen/runtimeconfig1-cli/mkdocs.yml index a2c21c4d64..8ad7b49eed 100644 --- a/gen/runtimeconfig1-cli/mkdocs.yml +++ b/gen/runtimeconfig1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud RuntimeConfig v3.0.0+20220228 +site_name: Cloud RuntimeConfig v3.1.0+20220228 site_url: http://byron.github.io/google-apis-rs/google-runtimeconfig1-cli site_description: A complete library to interact with Cloud RuntimeConfig (protocol v1) diff --git a/gen/runtimeconfig1-cli/src/main.rs b/gen/runtimeconfig1-cli/src/main.rs index 6f112163cb..91058d5f91 100644 --- a/gen/runtimeconfig1-cli/src/main.rs +++ b/gen/runtimeconfig1-cli/src/main.rs @@ -296,7 +296,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/runtimeconfig1", 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::CloudRuntimeConfig::new(client, auth), @@ -410,7 +416,7 @@ async fn main() { let mut app = App::new("runtimeconfig1") .author("Sebastian Thiel ") - .version("3.0.0+20220228") + .version("3.1.0+20220228") .about("The Runtime Configurator allows you to dynamically configure and expose variables through Google Cloud Platform. In addition, you can also set Watchers and Waiters that will watch for changes to your data and return based on certain conditions.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_runtimeconfig1_cli") .arg(Arg::with_name("url") diff --git a/gen/runtimeconfig1/Cargo.toml b/gen/runtimeconfig1/Cargo.toml index d8dccfd2ce..308a6c0389 100644 --- a/gen/runtimeconfig1/Cargo.toml +++ b/gen/runtimeconfig1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-runtimeconfig1" -version = "3.0.0+20220228" +version = "3.1.0+20220228" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud RuntimeConfig (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/runtimeconfig1" homepage = "https://cloud.google.com/deployment-manager/runtime-configurator/" -documentation = "https://docs.rs/google-runtimeconfig1/3.0.0+20220228" +documentation = "https://docs.rs/google-runtimeconfig1/3.1.0+20220228" license = "MIT" keywords = ["runtimeconfig", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/runtimeconfig1/README.md b/gen/runtimeconfig1/README.md index ebabe23a94..a3d21822a8 100644 --- a/gen/runtimeconfig1/README.md +++ b/gen/runtimeconfig1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-runtimeconfig1` library allows access to all features of the *Google Cloud RuntimeConfig* service. -This documentation was generated from *Cloud RuntimeConfig* crate version *3.0.0+20220228*, where *20220228* is the exact revision of the *runtimeconfig:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud RuntimeConfig* crate version *3.1.0+20220228*, where *20220228* is the exact revision of the *runtimeconfig:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud RuntimeConfig* *v1* API can be found at the [official documentation site](https://cloud.google.com/deployment-manager/runtime-configurator/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-runtimeconfig1/3.0.0+20220228/google_runtimeconfig1/CloudRuntimeConfig) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-runtimeconfig1/3.1.0+20220228/google_runtimeconfig1/CloudRuntimeConfig) ... -* [operations](https://docs.rs/google-runtimeconfig1/3.0.0+20220228/google_runtimeconfig1/api::Operation) - * [*cancel*](https://docs.rs/google-runtimeconfig1/3.0.0+20220228/google_runtimeconfig1/api::OperationCancelCall), [*delete*](https://docs.rs/google-runtimeconfig1/3.0.0+20220228/google_runtimeconfig1/api::OperationDeleteCall) and [*list*](https://docs.rs/google-runtimeconfig1/3.0.0+20220228/google_runtimeconfig1/api::OperationListCall) +* [operations](https://docs.rs/google-runtimeconfig1/3.1.0+20220228/google_runtimeconfig1/api::Operation) + * [*cancel*](https://docs.rs/google-runtimeconfig1/3.1.0+20220228/google_runtimeconfig1/api::OperationCancelCall), [*delete*](https://docs.rs/google-runtimeconfig1/3.1.0+20220228/google_runtimeconfig1/api::OperationDeleteCall) and [*list*](https://docs.rs/google-runtimeconfig1/3.1.0+20220228/google_runtimeconfig1/api::OperationListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-runtimeconfig1/3.0.0+20220228/google_runtimeconfig1/CloudRuntimeConfig)** +* **[Hub](https://docs.rs/google-runtimeconfig1/3.1.0+20220228/google_runtimeconfig1/CloudRuntimeConfig)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-runtimeconfig1/3.0.0+20220228/google_runtimeconfig1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-runtimeconfig1/3.0.0+20220228/google_runtimeconfig1/client::CallBuilder) -* **[Resources](https://docs.rs/google-runtimeconfig1/3.0.0+20220228/google_runtimeconfig1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-runtimeconfig1/3.1.0+20220228/google_runtimeconfig1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-runtimeconfig1/3.1.0+20220228/google_runtimeconfig1/client::CallBuilder) +* **[Resources](https://docs.rs/google-runtimeconfig1/3.1.0+20220228/google_runtimeconfig1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-runtimeconfig1/3.0.0+20220228/google_runtimeconfig1/client::Part)** + * **[Parts](https://docs.rs/google-runtimeconfig1/3.1.0+20220228/google_runtimeconfig1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-runtimeconfig1/3.0.0+20220228/google_runtimeconfig1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-runtimeconfig1/3.1.0+20220228/google_runtimeconfig1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -92,7 +92,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -123,17 +123,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-runtimeconfig1/3.0.0+20220228/google_runtimeconfig1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-runtimeconfig1/3.1.0+20220228/google_runtimeconfig1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-runtimeconfig1/3.0.0+20220228/google_runtimeconfig1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-runtimeconfig1/3.1.0+20220228/google_runtimeconfig1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-runtimeconfig1/3.0.0+20220228/google_runtimeconfig1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-runtimeconfig1/3.1.0+20220228/google_runtimeconfig1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-runtimeconfig1/3.0.0+20220228/google_runtimeconfig1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-runtimeconfig1/3.1.0+20220228/google_runtimeconfig1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -143,29 +143,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-runtimeconfig1/3.0.0+20220228/google_runtimeconfig1/client::Delegate) to the -[Method Builder](https://docs.rs/google-runtimeconfig1/3.0.0+20220228/google_runtimeconfig1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-runtimeconfig1/3.1.0+20220228/google_runtimeconfig1/client::Delegate) to the +[Method Builder](https://docs.rs/google-runtimeconfig1/3.1.0+20220228/google_runtimeconfig1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-runtimeconfig1/3.0.0+20220228/google_runtimeconfig1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-runtimeconfig1/3.1.0+20220228/google_runtimeconfig1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-runtimeconfig1/3.0.0+20220228/google_runtimeconfig1/client::RequestValue) and -[decodable](https://docs.rs/google-runtimeconfig1/3.0.0+20220228/google_runtimeconfig1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-runtimeconfig1/3.1.0+20220228/google_runtimeconfig1/client::RequestValue) and +[decodable](https://docs.rs/google-runtimeconfig1/3.1.0+20220228/google_runtimeconfig1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-runtimeconfig1/3.0.0+20220228/google_runtimeconfig1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-runtimeconfig1/3.1.0+20220228/google_runtimeconfig1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-runtimeconfig1/3.0.0+20220228/google_runtimeconfig1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-runtimeconfig1/3.1.0+20220228/google_runtimeconfig1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-runtimeconfig1/3.0.0+20220228/google_runtimeconfig1/client::RequestValue) are moved +* [request values](https://docs.rs/google-runtimeconfig1/3.1.0+20220228/google_runtimeconfig1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/runtimeconfig1/src/api.rs b/gen/runtimeconfig1/src/api.rs index 4f79c7ed95..9b0b94a130 100644 --- a/gen/runtimeconfig1/src/api.rs +++ b/gen/runtimeconfig1/src/api.rs @@ -74,7 +74,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > CloudRuntimeConfig<> { CloudRuntimeConfig { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://runtimeconfig.googleapis.com/".to_string(), _root_url: "https://runtimeconfig.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > CloudRuntimeConfig<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -282,7 +282,7 @@ impl client::Part for Status {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `cancel(...)`, `delete(...)` and `list(...)` /// // to build up your call. @@ -387,7 +387,7 @@ impl<'a> OperationMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -672,7 +672,7 @@ impl<'a> OperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -928,7 +928,7 @@ impl<'a> OperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/runtimeconfig1/src/lib.rs b/gen/runtimeconfig1/src/lib.rs index e78a5de4e4..15ec69ba19 100644 --- a/gen/runtimeconfig1/src/lib.rs +++ b/gen/runtimeconfig1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud RuntimeConfig* crate version *3.0.0+20220228*, where *20220228* is the exact revision of the *runtimeconfig:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud RuntimeConfig* crate version *3.1.0+20220228*, where *20220228* is the exact revision of the *runtimeconfig:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud RuntimeConfig* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/deployment-manager/runtime-configurator/). @@ -93,7 +93,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/runtimeconfig1_beta1-cli/Cargo.toml b/gen/runtimeconfig1_beta1-cli/Cargo.toml index 2650ccf13d..bd37257635 100644 --- a/gen/runtimeconfig1_beta1-cli/Cargo.toml +++ b/gen/runtimeconfig1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-runtimeconfig1_beta1-cli" -version = "3.0.0+20220228" +version = "3.1.0+20220228" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud RuntimeConfig (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/runtimeconfig1_beta1-cli" @@ -20,12 +20,12 @@ name = "runtimeconfig1-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-runtimeconfig1_beta1] path = "../runtimeconfig1_beta1" -version = "3.0.0+20220228" +version = "3.1.0+20220228" diff --git a/gen/runtimeconfig1_beta1-cli/README.md b/gen/runtimeconfig1_beta1-cli/README.md index f5f0a1cc38..4d423976d3 100644 --- a/gen/runtimeconfig1_beta1-cli/README.md +++ b/gen/runtimeconfig1_beta1-cli/README.md @@ -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 *Cloud RuntimeConfig* API at revision *20220228*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud RuntimeConfig* API at revision *20220228*. The CLI is at version *3.1.0*. ```bash runtimeconfig1-beta1 [options] diff --git a/gen/runtimeconfig1_beta1-cli/mkdocs.yml b/gen/runtimeconfig1_beta1-cli/mkdocs.yml index edae7fa765..684c6b735d 100644 --- a/gen/runtimeconfig1_beta1-cli/mkdocs.yml +++ b/gen/runtimeconfig1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud RuntimeConfig v3.0.0+20220228 +site_name: Cloud RuntimeConfig v3.1.0+20220228 site_url: http://byron.github.io/google-apis-rs/google-runtimeconfig1_beta1-cli site_description: A complete library to interact with Cloud RuntimeConfig (protocol v1beta1) diff --git a/gen/runtimeconfig1_beta1-cli/src/main.rs b/gen/runtimeconfig1_beta1-cli/src/main.rs index 6c6c96c4b0..2113b06422 100644 --- a/gen/runtimeconfig1_beta1-cli/src/main.rs +++ b/gen/runtimeconfig1_beta1-cli/src/main.rs @@ -1729,7 +1729,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/runtimeconfig1-beta1", 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::CloudRuntimeConfig::new(client, auth), @@ -2321,7 +2327,7 @@ async fn main() { let mut app = App::new("runtimeconfig1-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20220228") + .version("3.1.0+20220228") .about("The Runtime Configurator allows you to dynamically configure and expose variables through Google Cloud Platform. In addition, you can also set Watchers and Waiters that will watch for changes to your data and return based on certain conditions.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_runtimeconfig1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/runtimeconfig1_beta1/Cargo.toml b/gen/runtimeconfig1_beta1/Cargo.toml index 2408979fc7..e6b8f74135 100644 --- a/gen/runtimeconfig1_beta1/Cargo.toml +++ b/gen/runtimeconfig1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-runtimeconfig1_beta1" -version = "3.0.0+20220228" +version = "3.1.0+20220228" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud RuntimeConfig (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/runtimeconfig1_beta1" homepage = "https://cloud.google.com/deployment-manager/runtime-configurator/" -documentation = "https://docs.rs/google-runtimeconfig1_beta1/3.0.0+20220228" +documentation = "https://docs.rs/google-runtimeconfig1_beta1/3.1.0+20220228" license = "MIT" keywords = ["runtimeconfig", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/runtimeconfig1_beta1/README.md b/gen/runtimeconfig1_beta1/README.md index 922a197d68..b592addab2 100644 --- a/gen/runtimeconfig1_beta1/README.md +++ b/gen/runtimeconfig1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-runtimeconfig1_beta1` library allows access to all features of the *Google Cloud RuntimeConfig* service. -This documentation was generated from *Cloud RuntimeConfig* crate version *3.0.0+20220228*, where *20220228* is the exact revision of the *runtimeconfig:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud RuntimeConfig* crate version *3.1.0+20220228*, where *20220228* is the exact revision of the *runtimeconfig:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud RuntimeConfig* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/deployment-manager/runtime-configurator/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-runtimeconfig1_beta1/3.0.0+20220228/google_runtimeconfig1_beta1/CloudRuntimeConfig) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-runtimeconfig1_beta1/3.1.0+20220228/google_runtimeconfig1_beta1/CloudRuntimeConfig) ... * projects - * [*configs create*](https://docs.rs/google-runtimeconfig1_beta1/3.0.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigCreateCall), [*configs delete*](https://docs.rs/google-runtimeconfig1_beta1/3.0.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigDeleteCall), [*configs get*](https://docs.rs/google-runtimeconfig1_beta1/3.0.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigGetCall), [*configs get iam policy*](https://docs.rs/google-runtimeconfig1_beta1/3.0.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigGetIamPolicyCall), [*configs list*](https://docs.rs/google-runtimeconfig1_beta1/3.0.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigListCall), [*configs operations get*](https://docs.rs/google-runtimeconfig1_beta1/3.0.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigOperationGetCall), [*configs operations test iam permissions*](https://docs.rs/google-runtimeconfig1_beta1/3.0.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigOperationTestIamPermissionCall), [*configs set iam policy*](https://docs.rs/google-runtimeconfig1_beta1/3.0.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigSetIamPolicyCall), [*configs test iam permissions*](https://docs.rs/google-runtimeconfig1_beta1/3.0.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigTestIamPermissionCall), [*configs update*](https://docs.rs/google-runtimeconfig1_beta1/3.0.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigUpdateCall), [*configs variables create*](https://docs.rs/google-runtimeconfig1_beta1/3.0.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigVariableCreateCall), [*configs variables delete*](https://docs.rs/google-runtimeconfig1_beta1/3.0.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigVariableDeleteCall), [*configs variables get*](https://docs.rs/google-runtimeconfig1_beta1/3.0.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigVariableGetCall), [*configs variables list*](https://docs.rs/google-runtimeconfig1_beta1/3.0.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigVariableListCall), [*configs variables test iam permissions*](https://docs.rs/google-runtimeconfig1_beta1/3.0.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigVariableTestIamPermissionCall), [*configs variables update*](https://docs.rs/google-runtimeconfig1_beta1/3.0.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigVariableUpdateCall), [*configs variables watch*](https://docs.rs/google-runtimeconfig1_beta1/3.0.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigVariableWatchCall), [*configs waiters create*](https://docs.rs/google-runtimeconfig1_beta1/3.0.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigWaiterCreateCall), [*configs waiters delete*](https://docs.rs/google-runtimeconfig1_beta1/3.0.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigWaiterDeleteCall), [*configs waiters get*](https://docs.rs/google-runtimeconfig1_beta1/3.0.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigWaiterGetCall), [*configs waiters list*](https://docs.rs/google-runtimeconfig1_beta1/3.0.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigWaiterListCall) and [*configs waiters test iam permissions*](https://docs.rs/google-runtimeconfig1_beta1/3.0.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigWaiterTestIamPermissionCall) + * [*configs create*](https://docs.rs/google-runtimeconfig1_beta1/3.1.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigCreateCall), [*configs delete*](https://docs.rs/google-runtimeconfig1_beta1/3.1.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigDeleteCall), [*configs get*](https://docs.rs/google-runtimeconfig1_beta1/3.1.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigGetCall), [*configs get iam policy*](https://docs.rs/google-runtimeconfig1_beta1/3.1.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigGetIamPolicyCall), [*configs list*](https://docs.rs/google-runtimeconfig1_beta1/3.1.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigListCall), [*configs operations get*](https://docs.rs/google-runtimeconfig1_beta1/3.1.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigOperationGetCall), [*configs operations test iam permissions*](https://docs.rs/google-runtimeconfig1_beta1/3.1.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigOperationTestIamPermissionCall), [*configs set iam policy*](https://docs.rs/google-runtimeconfig1_beta1/3.1.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigSetIamPolicyCall), [*configs test iam permissions*](https://docs.rs/google-runtimeconfig1_beta1/3.1.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigTestIamPermissionCall), [*configs update*](https://docs.rs/google-runtimeconfig1_beta1/3.1.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigUpdateCall), [*configs variables create*](https://docs.rs/google-runtimeconfig1_beta1/3.1.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigVariableCreateCall), [*configs variables delete*](https://docs.rs/google-runtimeconfig1_beta1/3.1.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigVariableDeleteCall), [*configs variables get*](https://docs.rs/google-runtimeconfig1_beta1/3.1.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigVariableGetCall), [*configs variables list*](https://docs.rs/google-runtimeconfig1_beta1/3.1.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigVariableListCall), [*configs variables test iam permissions*](https://docs.rs/google-runtimeconfig1_beta1/3.1.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigVariableTestIamPermissionCall), [*configs variables update*](https://docs.rs/google-runtimeconfig1_beta1/3.1.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigVariableUpdateCall), [*configs variables watch*](https://docs.rs/google-runtimeconfig1_beta1/3.1.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigVariableWatchCall), [*configs waiters create*](https://docs.rs/google-runtimeconfig1_beta1/3.1.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigWaiterCreateCall), [*configs waiters delete*](https://docs.rs/google-runtimeconfig1_beta1/3.1.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigWaiterDeleteCall), [*configs waiters get*](https://docs.rs/google-runtimeconfig1_beta1/3.1.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigWaiterGetCall), [*configs waiters list*](https://docs.rs/google-runtimeconfig1_beta1/3.1.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigWaiterListCall) and [*configs waiters test iam permissions*](https://docs.rs/google-runtimeconfig1_beta1/3.1.0+20220228/google_runtimeconfig1_beta1/api::ProjectConfigWaiterTestIamPermissionCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-runtimeconfig1_beta1/3.0.0+20220228/google_runtimeconfig1_beta1/CloudRuntimeConfig)** +* **[Hub](https://docs.rs/google-runtimeconfig1_beta1/3.1.0+20220228/google_runtimeconfig1_beta1/CloudRuntimeConfig)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-runtimeconfig1_beta1/3.0.0+20220228/google_runtimeconfig1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-runtimeconfig1_beta1/3.0.0+20220228/google_runtimeconfig1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-runtimeconfig1_beta1/3.0.0+20220228/google_runtimeconfig1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-runtimeconfig1_beta1/3.1.0+20220228/google_runtimeconfig1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-runtimeconfig1_beta1/3.1.0+20220228/google_runtimeconfig1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-runtimeconfig1_beta1/3.1.0+20220228/google_runtimeconfig1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-runtimeconfig1_beta1/3.0.0+20220228/google_runtimeconfig1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-runtimeconfig1_beta1/3.1.0+20220228/google_runtimeconfig1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-runtimeconfig1_beta1/3.0.0+20220228/google_runtimeconfig1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-runtimeconfig1_beta1/3.1.0+20220228/google_runtimeconfig1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -94,7 +94,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -128,17 +128,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-runtimeconfig1_beta1/3.0.0+20220228/google_runtimeconfig1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-runtimeconfig1_beta1/3.1.0+20220228/google_runtimeconfig1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-runtimeconfig1_beta1/3.0.0+20220228/google_runtimeconfig1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-runtimeconfig1_beta1/3.1.0+20220228/google_runtimeconfig1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-runtimeconfig1_beta1/3.0.0+20220228/google_runtimeconfig1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-runtimeconfig1_beta1/3.1.0+20220228/google_runtimeconfig1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-runtimeconfig1_beta1/3.0.0+20220228/google_runtimeconfig1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-runtimeconfig1_beta1/3.1.0+20220228/google_runtimeconfig1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -148,29 +148,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-runtimeconfig1_beta1/3.0.0+20220228/google_runtimeconfig1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-runtimeconfig1_beta1/3.0.0+20220228/google_runtimeconfig1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-runtimeconfig1_beta1/3.1.0+20220228/google_runtimeconfig1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-runtimeconfig1_beta1/3.1.0+20220228/google_runtimeconfig1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-runtimeconfig1_beta1/3.0.0+20220228/google_runtimeconfig1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-runtimeconfig1_beta1/3.1.0+20220228/google_runtimeconfig1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-runtimeconfig1_beta1/3.0.0+20220228/google_runtimeconfig1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-runtimeconfig1_beta1/3.0.0+20220228/google_runtimeconfig1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-runtimeconfig1_beta1/3.1.0+20220228/google_runtimeconfig1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-runtimeconfig1_beta1/3.1.0+20220228/google_runtimeconfig1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-runtimeconfig1_beta1/3.0.0+20220228/google_runtimeconfig1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-runtimeconfig1_beta1/3.1.0+20220228/google_runtimeconfig1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-runtimeconfig1_beta1/3.0.0+20220228/google_runtimeconfig1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-runtimeconfig1_beta1/3.1.0+20220228/google_runtimeconfig1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-runtimeconfig1_beta1/3.0.0+20220228/google_runtimeconfig1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-runtimeconfig1_beta1/3.1.0+20220228/google_runtimeconfig1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/runtimeconfig1_beta1/src/api.rs b/gen/runtimeconfig1_beta1/src/api.rs index 08210db331..49b4ed425a 100644 --- a/gen/runtimeconfig1_beta1/src/api.rs +++ b/gen/runtimeconfig1_beta1/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -124,7 +124,7 @@ impl<'a, > CloudRuntimeConfig<> { CloudRuntimeConfig { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://runtimeconfig.googleapis.com/".to_string(), _root_url: "https://runtimeconfig.googleapis.com/".to_string(), } @@ -135,7 +135,7 @@ impl<'a, > CloudRuntimeConfig<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -566,7 +566,7 @@ impl client::RequestValue for WatchVariableRequest {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `configs_create(...)`, `configs_delete(...)`, `configs_get(...)`, `configs_get_iam_policy(...)`, `configs_list(...)`, `configs_operations_get(...)`, `configs_operations_test_iam_permissions(...)`, `configs_set_iam_policy(...)`, `configs_test_iam_permissions(...)`, `configs_update(...)`, `configs_variables_create(...)`, `configs_variables_delete(...)`, `configs_variables_get(...)`, `configs_variables_list(...)`, `configs_variables_test_iam_permissions(...)`, `configs_variables_update(...)`, `configs_variables_watch(...)`, `configs_waiters_create(...)`, `configs_waiters_delete(...)`, `configs_waiters_get(...)`, `configs_waiters_list(...)` and `configs_waiters_test_iam_permissions(...)` /// // to build up your call. @@ -1023,7 +1023,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1280,7 +1280,7 @@ impl<'a> ProjectConfigOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1566,7 +1566,7 @@ impl<'a> ProjectConfigOperationTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1863,7 +1863,7 @@ impl<'a> ProjectConfigVariableCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2131,7 +2131,7 @@ impl<'a> ProjectConfigVariableDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2387,7 +2387,7 @@ impl<'a> ProjectConfigVariableGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2692,7 +2692,7 @@ impl<'a> ProjectConfigVariableListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2978,7 +2978,7 @@ impl<'a> ProjectConfigVariableTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3264,7 +3264,7 @@ impl<'a> ProjectConfigVariableUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3550,7 +3550,7 @@ impl<'a> ProjectConfigVariableWatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3847,7 +3847,7 @@ impl<'a> ProjectConfigWaiterCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4103,7 +4103,7 @@ impl<'a> ProjectConfigWaiterDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4359,7 +4359,7 @@ impl<'a> ProjectConfigWaiterGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4640,7 +4640,7 @@ impl<'a> ProjectConfigWaiterListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4926,7 +4926,7 @@ impl<'a> ProjectConfigWaiterTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5223,7 +5223,7 @@ impl<'a> ProjectConfigCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5479,7 +5479,7 @@ impl<'a> ProjectConfigDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5735,7 +5735,7 @@ impl<'a> ProjectConfigGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6003,7 +6003,7 @@ impl<'a> ProjectConfigGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6284,7 +6284,7 @@ impl<'a> ProjectConfigListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6570,7 +6570,7 @@ impl<'a> ProjectConfigSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6856,7 +6856,7 @@ impl<'a> ProjectConfigTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/runtimeconfig1_beta1/src/lib.rs b/gen/runtimeconfig1_beta1/src/lib.rs index 1113dc0ab7..ebb8857355 100644 --- a/gen/runtimeconfig1_beta1/src/lib.rs +++ b/gen/runtimeconfig1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud RuntimeConfig* crate version *3.0.0+20220228*, where *20220228* is the exact revision of the *runtimeconfig:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud RuntimeConfig* crate version *3.1.0+20220228*, where *20220228* is the exact revision of the *runtimeconfig:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud RuntimeConfig* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/deployment-manager/runtime-configurator/). @@ -95,7 +95,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudRuntimeConfig::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/safebrowsing4-cli/Cargo.toml b/gen/safebrowsing4-cli/Cargo.toml index ba48784132..1eb1b58252 100644 --- a/gen/safebrowsing4-cli/Cargo.toml +++ b/gen/safebrowsing4-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-safebrowsing4-cli" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with Safebrowsing (protocol v4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/safebrowsing4-cli" @@ -20,12 +20,12 @@ name = "safebrowsing4" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-safebrowsing4] path = "../safebrowsing4" -version = "3.0.0+20220305" +version = "3.1.0+20220305" diff --git a/gen/safebrowsing4-cli/README.md b/gen/safebrowsing4-cli/README.md index e60ca345a8..0a0b208eeb 100644 --- a/gen/safebrowsing4-cli/README.md +++ b/gen/safebrowsing4-cli/README.md @@ -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 *Safebrowsing* API at revision *20220305*. The CLI is at version *3.0.0*. +This documentation was generated from the *Safebrowsing* API at revision *20220305*. The CLI is at version *3.1.0*. ```bash safebrowsing4 [options] diff --git a/gen/safebrowsing4-cli/mkdocs.yml b/gen/safebrowsing4-cli/mkdocs.yml index 460aff7bda..e18d1750de 100644 --- a/gen/safebrowsing4-cli/mkdocs.yml +++ b/gen/safebrowsing4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Safebrowsing v3.0.0+20220305 +site_name: Safebrowsing v3.1.0+20220305 site_url: http://byron.github.io/google-apis-rs/google-safebrowsing4-cli site_description: A complete library to interact with Safebrowsing (protocol v4) diff --git a/gen/safebrowsing4-cli/src/main.rs b/gen/safebrowsing4-cli/src/main.rs index 8d925ad8b7..7616a0fbc2 100644 --- a/gen/safebrowsing4-cli/src/main.rs +++ b/gen/safebrowsing4-cli/src/main.rs @@ -667,7 +667,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/safebrowsing4", 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::Safebrowsing::new(client, auth), @@ -875,7 +881,7 @@ async fn main() { let mut app = App::new("safebrowsing4") .author("Sebastian Thiel ") - .version("3.0.0+20220305") + .version("3.1.0+20220305") .about("Enables client applications to check web resources (most commonly URLs) against Google-generated lists of unsafe web resources. The Safe Browsing APIs are for non-commercial use only. If you need to use APIs to detect malicious URLs for commercial purposes – meaning “for sale or revenue-generating purposes” – please refer to the Web Risk API.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_safebrowsing4_cli") .arg(Arg::with_name("folder") diff --git a/gen/safebrowsing4/Cargo.toml b/gen/safebrowsing4/Cargo.toml index de0e4f6bf4..45893c1c11 100644 --- a/gen/safebrowsing4/Cargo.toml +++ b/gen/safebrowsing4/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-safebrowsing4" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with Safebrowsing (protocol v4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/safebrowsing4" homepage = "https://developers.google.com/safe-browsing/" -documentation = "https://docs.rs/google-safebrowsing4/3.0.0+20220305" +documentation = "https://docs.rs/google-safebrowsing4/3.1.0+20220305" license = "MIT" keywords = ["safebrowsing", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/safebrowsing4/README.md b/gen/safebrowsing4/README.md index d689b507d8..00696b2967 100644 --- a/gen/safebrowsing4/README.md +++ b/gen/safebrowsing4/README.md @@ -5,28 +5,28 @@ DO NOT EDIT ! --> The `google-safebrowsing4` library allows access to all features of the *Google Safebrowsing* service. -This documentation was generated from *Safebrowsing* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *safebrowsing:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Safebrowsing* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *safebrowsing:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Safebrowsing* *v4* API can be found at the [official documentation site](https://developers.google.com/safe-browsing/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-safebrowsing4/3.0.0+20220305/google_safebrowsing4/Safebrowsing) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-safebrowsing4/3.1.0+20220305/google_safebrowsing4/Safebrowsing) ... * encoded full hashes - * [*get*](https://docs.rs/google-safebrowsing4/3.0.0+20220305/google_safebrowsing4/api::EncodedFullHasheGetCall) + * [*get*](https://docs.rs/google-safebrowsing4/3.1.0+20220305/google_safebrowsing4/api::EncodedFullHasheGetCall) * encoded updates - * [*get*](https://docs.rs/google-safebrowsing4/3.0.0+20220305/google_safebrowsing4/api::EncodedUpdateGetCall) + * [*get*](https://docs.rs/google-safebrowsing4/3.1.0+20220305/google_safebrowsing4/api::EncodedUpdateGetCall) * full hashes - * [*find*](https://docs.rs/google-safebrowsing4/3.0.0+20220305/google_safebrowsing4/api::FullHasheFindCall) + * [*find*](https://docs.rs/google-safebrowsing4/3.1.0+20220305/google_safebrowsing4/api::FullHasheFindCall) * threat hits - * [*create*](https://docs.rs/google-safebrowsing4/3.0.0+20220305/google_safebrowsing4/api::ThreatHitCreateCall) + * [*create*](https://docs.rs/google-safebrowsing4/3.1.0+20220305/google_safebrowsing4/api::ThreatHitCreateCall) * threat list updates - * [*fetch*](https://docs.rs/google-safebrowsing4/3.0.0+20220305/google_safebrowsing4/api::ThreatListUpdateFetchCall) + * [*fetch*](https://docs.rs/google-safebrowsing4/3.1.0+20220305/google_safebrowsing4/api::ThreatListUpdateFetchCall) * threat lists - * [*list*](https://docs.rs/google-safebrowsing4/3.0.0+20220305/google_safebrowsing4/api::ThreatListListCall) + * [*list*](https://docs.rs/google-safebrowsing4/3.1.0+20220305/google_safebrowsing4/api::ThreatListListCall) * threat matches - * [*find*](https://docs.rs/google-safebrowsing4/3.0.0+20220305/google_safebrowsing4/api::ThreatMatcheFindCall) + * [*find*](https://docs.rs/google-safebrowsing4/3.1.0+20220305/google_safebrowsing4/api::ThreatMatcheFindCall) @@ -35,17 +35,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-safebrowsing4/3.0.0+20220305/google_safebrowsing4/Safebrowsing)** +* **[Hub](https://docs.rs/google-safebrowsing4/3.1.0+20220305/google_safebrowsing4/Safebrowsing)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-safebrowsing4/3.0.0+20220305/google_safebrowsing4/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-safebrowsing4/3.0.0+20220305/google_safebrowsing4/client::CallBuilder) -* **[Resources](https://docs.rs/google-safebrowsing4/3.0.0+20220305/google_safebrowsing4/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-safebrowsing4/3.1.0+20220305/google_safebrowsing4/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-safebrowsing4/3.1.0+20220305/google_safebrowsing4/client::CallBuilder) +* **[Resources](https://docs.rs/google-safebrowsing4/3.1.0+20220305/google_safebrowsing4/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-safebrowsing4/3.0.0+20220305/google_safebrowsing4/client::Part)** + * **[Parts](https://docs.rs/google-safebrowsing4/3.1.0+20220305/google_safebrowsing4/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-safebrowsing4/3.0.0+20220305/google_safebrowsing4/client::CallBuilder)** +* **[Activities](https://docs.rs/google-safebrowsing4/3.1.0+20220305/google_safebrowsing4/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -103,7 +103,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Safebrowsing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Safebrowsing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -133,17 +133,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-safebrowsing4/3.0.0+20220305/google_safebrowsing4/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-safebrowsing4/3.1.0+20220305/google_safebrowsing4/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-safebrowsing4/3.0.0+20220305/google_safebrowsing4/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-safebrowsing4/3.1.0+20220305/google_safebrowsing4/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-safebrowsing4/3.0.0+20220305/google_safebrowsing4/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-safebrowsing4/3.1.0+20220305/google_safebrowsing4/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-safebrowsing4/3.0.0+20220305/google_safebrowsing4/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-safebrowsing4/3.1.0+20220305/google_safebrowsing4/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -153,29 +153,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-safebrowsing4/3.0.0+20220305/google_safebrowsing4/client::Delegate) to the -[Method Builder](https://docs.rs/google-safebrowsing4/3.0.0+20220305/google_safebrowsing4/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-safebrowsing4/3.1.0+20220305/google_safebrowsing4/client::Delegate) to the +[Method Builder](https://docs.rs/google-safebrowsing4/3.1.0+20220305/google_safebrowsing4/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-safebrowsing4/3.0.0+20220305/google_safebrowsing4/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-safebrowsing4/3.1.0+20220305/google_safebrowsing4/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-safebrowsing4/3.0.0+20220305/google_safebrowsing4/client::RequestValue) and -[decodable](https://docs.rs/google-safebrowsing4/3.0.0+20220305/google_safebrowsing4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-safebrowsing4/3.1.0+20220305/google_safebrowsing4/client::RequestValue) and +[decodable](https://docs.rs/google-safebrowsing4/3.1.0+20220305/google_safebrowsing4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-safebrowsing4/3.0.0+20220305/google_safebrowsing4/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-safebrowsing4/3.1.0+20220305/google_safebrowsing4/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-safebrowsing4/3.0.0+20220305/google_safebrowsing4/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-safebrowsing4/3.1.0+20220305/google_safebrowsing4/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-safebrowsing4/3.0.0+20220305/google_safebrowsing4/client::RequestValue) are moved +* [request values](https://docs.rs/google-safebrowsing4/3.1.0+20220305/google_safebrowsing4/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/safebrowsing4/src/api.rs b/gen/safebrowsing4/src/api.rs index d5e81f8324..9e376c131b 100644 --- a/gen/safebrowsing4/src/api.rs +++ b/gen/safebrowsing4/src/api.rs @@ -48,7 +48,7 @@ use crate::client; /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Safebrowsing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Safebrowsing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -93,7 +93,7 @@ impl<'a, > Safebrowsing<> { Safebrowsing { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://safebrowsing.googleapis.com/".to_string(), _root_url: "https://safebrowsing.googleapis.com/".to_string(), } @@ -122,7 +122,7 @@ impl<'a, > Safebrowsing<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -723,7 +723,7 @@ impl client::Part for GoogleSecuritySafebrowsingV4ThreatMatch {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Safebrowsing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Safebrowsing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -782,7 +782,7 @@ impl<'a> EncodedFullHasheMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Safebrowsing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Safebrowsing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -841,7 +841,7 @@ impl<'a> EncodedUpdateMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Safebrowsing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Safebrowsing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `find(...)` /// // to build up your call. @@ -898,7 +898,7 @@ impl<'a> FullHasheMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Safebrowsing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Safebrowsing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)` /// // to build up your call. @@ -955,7 +955,7 @@ impl<'a> ThreatHitMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Safebrowsing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Safebrowsing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `fetch(...)` /// // to build up your call. @@ -1012,7 +1012,7 @@ impl<'a> ThreatListUpdateMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Safebrowsing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Safebrowsing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -1064,7 +1064,7 @@ impl<'a> ThreatListMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Safebrowsing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Safebrowsing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `find(...)` /// // to build up your call. @@ -1128,7 +1128,7 @@ impl<'a> ThreatMatcheMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Safebrowsing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Safebrowsing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1374,7 +1374,7 @@ impl<'a> EncodedFullHasheGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Safebrowsing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Safebrowsing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1621,7 +1621,7 @@ impl<'a> EncodedUpdateGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Safebrowsing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Safebrowsing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1840,7 +1840,7 @@ impl<'a> FullHasheFindCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Safebrowsing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Safebrowsing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2059,7 +2059,7 @@ impl<'a> ThreatHitCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Safebrowsing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Safebrowsing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2277,7 +2277,7 @@ impl<'a> ThreatListUpdateFetchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Safebrowsing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Safebrowsing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2467,7 +2467,7 @@ impl<'a> ThreatListListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Safebrowsing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Safebrowsing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/safebrowsing4/src/lib.rs b/gen/safebrowsing4/src/lib.rs index 9c6af5344b..5d45d3bb18 100644 --- a/gen/safebrowsing4/src/lib.rs +++ b/gen/safebrowsing4/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Safebrowsing* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *safebrowsing:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Safebrowsing* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *safebrowsing:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Safebrowsing* *v4* API can be found at the //! [official documentation site](https://developers.google.com/safe-browsing/). @@ -104,7 +104,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Safebrowsing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Safebrowsing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/sasportal1_alpha1-cli/Cargo.toml b/gen/sasportal1_alpha1-cli/Cargo.toml index 6bf24e07d4..ec947a5358 100644 --- a/gen/sasportal1_alpha1-cli/Cargo.toml +++ b/gen/sasportal1_alpha1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-sasportal1_alpha1-cli" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with sasportal (protocol v1alpha1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/sasportal1_alpha1-cli" @@ -20,12 +20,12 @@ name = "sasportal1-alpha1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-sasportal1_alpha1] path = "../sasportal1_alpha1" -version = "3.0.0+20220301" +version = "3.1.0+20220301" diff --git a/gen/sasportal1_alpha1-cli/README.md b/gen/sasportal1_alpha1-cli/README.md index cd455b897b..0ec1e14c8e 100644 --- a/gen/sasportal1_alpha1-cli/README.md +++ b/gen/sasportal1_alpha1-cli/README.md @@ -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 *sasportal* API at revision *20220301*. The CLI is at version *3.0.0*. +This documentation was generated from the *sasportal* API at revision *20220301*. The CLI is at version *3.1.0*. ```bash sasportal1-alpha1 [options] diff --git a/gen/sasportal1_alpha1-cli/mkdocs.yml b/gen/sasportal1_alpha1-cli/mkdocs.yml index 602f1f51ae..de27f65845 100644 --- a/gen/sasportal1_alpha1-cli/mkdocs.yml +++ b/gen/sasportal1_alpha1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: sasportal v3.0.0+20220301 +site_name: sasportal v3.1.0+20220301 site_url: http://byron.github.io/google-apis-rs/google-sasportal1_alpha1-cli site_description: A complete library to interact with sasportal (protocol v1alpha1) diff --git a/gen/sasportal1_alpha1-cli/src/main.rs b/gen/sasportal1_alpha1-cli/src/main.rs index cfb5fb3e39..bdfaf727c5 100644 --- a/gen/sasportal1_alpha1-cli/src/main.rs +++ b/gen/sasportal1_alpha1-cli/src/main.rs @@ -6878,7 +6878,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/sasportal1-alpha1", 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::Sasportal::new(client, auth), @@ -8860,7 +8866,7 @@ async fn main() { let mut app = App::new("sasportal1-alpha1") .author("Sebastian Thiel ") - .version("3.0.0+20220301") + .version("3.1.0+20220301") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_sasportal1_alpha1_cli") .arg(Arg::with_name("url") diff --git a/gen/sasportal1_alpha1/Cargo.toml b/gen/sasportal1_alpha1/Cargo.toml index 9596198b00..1a2cde1053 100644 --- a/gen/sasportal1_alpha1/Cargo.toml +++ b/gen/sasportal1_alpha1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-sasportal1_alpha1" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with sasportal (protocol v1alpha1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/sasportal1_alpha1" homepage = "https://developers.google.com/spectrum-access-system/" -documentation = "https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301" +documentation = "https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301" license = "MIT" keywords = ["sasportal", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/sasportal1_alpha1/README.md b/gen/sasportal1_alpha1/README.md index c883d4ef6e..20e3c10456 100644 --- a/gen/sasportal1_alpha1/README.md +++ b/gen/sasportal1_alpha1/README.md @@ -5,24 +5,24 @@ DO NOT EDIT ! --> The `google-sasportal1_alpha1` library allows access to all features of the *Google sasportal* service. -This documentation was generated from *sasportal* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *sasportal:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *sasportal* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *sasportal:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *sasportal* *v1_alpha1* API can be found at the [official documentation site](https://developers.google.com/spectrum-access-system/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/Sasportal) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/Sasportal) ... * customers - * [*deployments create*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::CustomerDeploymentCreateCall), [*deployments delete*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::CustomerDeploymentDeleteCall), [*deployments devices create*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::CustomerDeploymentDeviceCreateCall), [*deployments devices create signed*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::CustomerDeploymentDeviceCreateSignedCall), [*deployments devices list*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::CustomerDeploymentDeviceListCall), [*deployments get*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::CustomerDeploymentGetCall), [*deployments list*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::CustomerDeploymentListCall), [*deployments move*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::CustomerDeploymentMoveCall), [*deployments patch*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::CustomerDeploymentPatchCall), [*devices create*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::CustomerDeviceCreateCall), [*devices create signed*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::CustomerDeviceCreateSignedCall), [*devices delete*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::CustomerDeviceDeleteCall), [*devices get*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::CustomerDeviceGetCall), [*devices list*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::CustomerDeviceListCall), [*devices move*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::CustomerDeviceMoveCall), [*devices patch*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::CustomerDevicePatchCall), [*devices sign device*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::CustomerDeviceSignDeviceCall), [*devices update signed*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::CustomerDeviceUpdateSignedCall), [*get*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::CustomerGetCall), [*list*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::CustomerListCall), [*nodes create*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::CustomerNodeCreateCall), [*nodes delete*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::CustomerNodeDeleteCall), [*nodes deployments create*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::CustomerNodeDeploymentCreateCall), [*nodes deployments list*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::CustomerNodeDeploymentListCall), [*nodes devices create*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::CustomerNodeDeviceCreateCall), [*nodes devices create signed*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::CustomerNodeDeviceCreateSignedCall), [*nodes devices list*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::CustomerNodeDeviceListCall), [*nodes get*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::CustomerNodeGetCall), [*nodes list*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::CustomerNodeListCall), [*nodes move*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::CustomerNodeMoveCall), [*nodes nodes create*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::CustomerNodeNodeCreateCall), [*nodes nodes list*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::CustomerNodeNodeListCall), [*nodes patch*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::CustomerNodePatchCall) and [*patch*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::CustomerPatchCall) + * [*deployments create*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::CustomerDeploymentCreateCall), [*deployments delete*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::CustomerDeploymentDeleteCall), [*deployments devices create*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::CustomerDeploymentDeviceCreateCall), [*deployments devices create signed*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::CustomerDeploymentDeviceCreateSignedCall), [*deployments devices list*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::CustomerDeploymentDeviceListCall), [*deployments get*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::CustomerDeploymentGetCall), [*deployments list*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::CustomerDeploymentListCall), [*deployments move*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::CustomerDeploymentMoveCall), [*deployments patch*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::CustomerDeploymentPatchCall), [*devices create*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::CustomerDeviceCreateCall), [*devices create signed*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::CustomerDeviceCreateSignedCall), [*devices delete*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::CustomerDeviceDeleteCall), [*devices get*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::CustomerDeviceGetCall), [*devices list*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::CustomerDeviceListCall), [*devices move*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::CustomerDeviceMoveCall), [*devices patch*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::CustomerDevicePatchCall), [*devices sign device*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::CustomerDeviceSignDeviceCall), [*devices update signed*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::CustomerDeviceUpdateSignedCall), [*get*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::CustomerGetCall), [*list*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::CustomerListCall), [*nodes create*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::CustomerNodeCreateCall), [*nodes delete*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::CustomerNodeDeleteCall), [*nodes deployments create*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::CustomerNodeDeploymentCreateCall), [*nodes deployments list*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::CustomerNodeDeploymentListCall), [*nodes devices create*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::CustomerNodeDeviceCreateCall), [*nodes devices create signed*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::CustomerNodeDeviceCreateSignedCall), [*nodes devices list*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::CustomerNodeDeviceListCall), [*nodes get*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::CustomerNodeGetCall), [*nodes list*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::CustomerNodeListCall), [*nodes move*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::CustomerNodeMoveCall), [*nodes nodes create*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::CustomerNodeNodeCreateCall), [*nodes nodes list*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::CustomerNodeNodeListCall), [*nodes patch*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::CustomerNodePatchCall) and [*patch*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::CustomerPatchCall) * deployments - * [*devices delete*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::DeploymentDeviceDeleteCall), [*devices get*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::DeploymentDeviceGetCall), [*devices move*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::DeploymentDeviceMoveCall), [*devices patch*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::DeploymentDevicePatchCall), [*devices sign device*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::DeploymentDeviceSignDeviceCall), [*devices update signed*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::DeploymentDeviceUpdateSignedCall) and [*get*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::DeploymentGetCall) + * [*devices delete*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::DeploymentDeviceDeleteCall), [*devices get*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::DeploymentDeviceGetCall), [*devices move*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::DeploymentDeviceMoveCall), [*devices patch*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::DeploymentDevicePatchCall), [*devices sign device*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::DeploymentDeviceSignDeviceCall), [*devices update signed*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::DeploymentDeviceUpdateSignedCall) and [*get*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::DeploymentGetCall) * installer - * [*generate secret*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::InstallerGenerateSecretCall) and [*validate*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::InstallerValidateCall) + * [*generate secret*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::InstallerGenerateSecretCall) and [*validate*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::InstallerValidateCall) * nodes - * [*deployments delete*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::NodeDeploymentDeleteCall), [*deployments devices create*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::NodeDeploymentDeviceCreateCall), [*deployments devices create signed*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::NodeDeploymentDeviceCreateSignedCall), [*deployments devices list*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::NodeDeploymentDeviceListCall), [*deployments get*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::NodeDeploymentGetCall), [*deployments list*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::NodeDeploymentListCall), [*deployments move*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::NodeDeploymentMoveCall), [*deployments patch*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::NodeDeploymentPatchCall), [*devices create*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::NodeDeviceCreateCall), [*devices create signed*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::NodeDeviceCreateSignedCall), [*devices delete*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::NodeDeviceDeleteCall), [*devices get*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::NodeDeviceGetCall), [*devices list*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::NodeDeviceListCall), [*devices move*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::NodeDeviceMoveCall), [*devices patch*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::NodeDevicePatchCall), [*devices sign device*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::NodeDeviceSignDeviceCall), [*devices update signed*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::NodeDeviceUpdateSignedCall), [*get*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::NodeGetCall), [*nodes create*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::NodeNodeCreateCall), [*nodes delete*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::NodeNodeDeleteCall), [*nodes deployments create*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::NodeNodeDeploymentCreateCall), [*nodes deployments list*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::NodeNodeDeploymentListCall), [*nodes devices create*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::NodeNodeDeviceCreateCall), [*nodes devices create signed*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::NodeNodeDeviceCreateSignedCall), [*nodes devices list*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::NodeNodeDeviceListCall), [*nodes get*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::NodeNodeGetCall), [*nodes list*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::NodeNodeListCall), [*nodes move*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::NodeNodeMoveCall), [*nodes nodes create*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::NodeNodeNodeCreateCall), [*nodes nodes list*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::NodeNodeNodeListCall) and [*nodes patch*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::NodeNodePatchCall) + * [*deployments delete*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::NodeDeploymentDeleteCall), [*deployments devices create*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::NodeDeploymentDeviceCreateCall), [*deployments devices create signed*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::NodeDeploymentDeviceCreateSignedCall), [*deployments devices list*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::NodeDeploymentDeviceListCall), [*deployments get*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::NodeDeploymentGetCall), [*deployments list*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::NodeDeploymentListCall), [*deployments move*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::NodeDeploymentMoveCall), [*deployments patch*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::NodeDeploymentPatchCall), [*devices create*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::NodeDeviceCreateCall), [*devices create signed*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::NodeDeviceCreateSignedCall), [*devices delete*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::NodeDeviceDeleteCall), [*devices get*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::NodeDeviceGetCall), [*devices list*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::NodeDeviceListCall), [*devices move*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::NodeDeviceMoveCall), [*devices patch*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::NodeDevicePatchCall), [*devices sign device*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::NodeDeviceSignDeviceCall), [*devices update signed*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::NodeDeviceUpdateSignedCall), [*get*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::NodeGetCall), [*nodes create*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::NodeNodeCreateCall), [*nodes delete*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::NodeNodeDeleteCall), [*nodes deployments create*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::NodeNodeDeploymentCreateCall), [*nodes deployments list*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::NodeNodeDeploymentListCall), [*nodes devices create*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::NodeNodeDeviceCreateCall), [*nodes devices create signed*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::NodeNodeDeviceCreateSignedCall), [*nodes devices list*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::NodeNodeDeviceListCall), [*nodes get*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::NodeNodeGetCall), [*nodes list*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::NodeNodeListCall), [*nodes move*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::NodeNodeMoveCall), [*nodes nodes create*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::NodeNodeNodeCreateCall), [*nodes nodes list*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::NodeNodeNodeListCall) and [*nodes patch*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::NodeNodePatchCall) * policies - * [*get*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::PolicyGetCall), [*set*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::PolicySetCall) and [*test*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/api::PolicyTestCall) + * [*get*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::PolicyGetCall), [*set*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::PolicySetCall) and [*test*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/api::PolicyTestCall) @@ -31,17 +31,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/Sasportal)** +* **[Hub](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/Sasportal)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/client::CallBuilder) -* **[Resources](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/client::CallBuilder) +* **[Resources](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/client::Part)** + * **[Parts](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -119,7 +119,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -153,17 +153,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -173,29 +173,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/client::Delegate) to the -[Method Builder](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/client::Delegate) to the +[Method Builder](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/client::RequestValue) and -[decodable](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/client::RequestValue) and +[decodable](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-sasportal1_alpha1/3.0.0+20220301/google_sasportal1_alpha1/client::RequestValue) are moved +* [request values](https://docs.rs/google-sasportal1_alpha1/3.1.0+20220301/google_sasportal1_alpha1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/sasportal1_alpha1/src/api.rs b/gen/sasportal1_alpha1/src/api.rs index 802b48cdcd..3acb10de9f 100644 --- a/gen/sasportal1_alpha1/src/api.rs +++ b/gen/sasportal1_alpha1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > Sasportal<> { Sasportal { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://sasportal.googleapis.com/".to_string(), _root_url: "https://sasportal.googleapis.com/".to_string(), } @@ -143,7 +143,7 @@ impl<'a, > Sasportal<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1101,7 +1101,7 @@ impl client::ResponseResult for SasPortalValidateInstallerResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `deployments_create(...)`, `deployments_delete(...)`, `deployments_devices_create(...)`, `deployments_devices_create_signed(...)`, `deployments_devices_list(...)`, `deployments_get(...)`, `deployments_list(...)`, `deployments_move(...)`, `deployments_patch(...)`, `devices_create(...)`, `devices_create_signed(...)`, `devices_delete(...)`, `devices_get(...)`, `devices_list(...)`, `devices_move(...)`, `devices_patch(...)`, `devices_sign_device(...)`, `devices_update_signed(...)`, `get(...)`, `list(...)`, `nodes_create(...)`, `nodes_delete(...)`, `nodes_deployments_create(...)`, `nodes_deployments_list(...)`, `nodes_devices_create(...)`, `nodes_devices_create_signed(...)`, `nodes_devices_list(...)`, `nodes_get(...)`, `nodes_list(...)`, `nodes_move(...)`, `nodes_nodes_create(...)`, `nodes_nodes_list(...)`, `nodes_patch(...)` and `patch(...)` /// // to build up your call. @@ -1780,7 +1780,7 @@ impl<'a> CustomerMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `devices_delete(...)`, `devices_get(...)`, `devices_move(...)`, `devices_patch(...)`, `devices_sign_device(...)`, `devices_update_signed(...)` and `get(...)` /// // to build up your call. @@ -1949,7 +1949,7 @@ impl<'a> DeploymentMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `generate_secret(...)` and `validate(...)` /// // to build up your call. @@ -2024,7 +2024,7 @@ impl<'a> InstallerMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `deployments_delete(...)`, `deployments_devices_create(...)`, `deployments_devices_create_signed(...)`, `deployments_devices_list(...)`, `deployments_get(...)`, `deployments_list(...)`, `deployments_move(...)`, `deployments_patch(...)`, `devices_create(...)`, `devices_create_signed(...)`, `devices_delete(...)`, `devices_get(...)`, `devices_list(...)`, `devices_move(...)`, `devices_patch(...)`, `devices_sign_device(...)`, `devices_update_signed(...)`, `get(...)`, `nodes_create(...)`, `nodes_delete(...)`, `nodes_deployments_create(...)`, `nodes_deployments_list(...)`, `nodes_devices_create(...)`, `nodes_devices_create_signed(...)`, `nodes_devices_list(...)`, `nodes_get(...)`, `nodes_list(...)`, `nodes_move(...)`, `nodes_nodes_create(...)`, `nodes_nodes_list(...)` and `nodes_patch(...)` /// // to build up your call. @@ -2650,7 +2650,7 @@ impl<'a> NodeMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `set(...)` and `test(...)` /// // to build up your call. @@ -2750,7 +2750,7 @@ impl<'a> PolicyMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3036,7 +3036,7 @@ impl<'a> CustomerDeploymentDeviceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3321,7 +3321,7 @@ impl<'a> CustomerDeploymentDeviceCreateSignedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3614,7 +3614,7 @@ impl<'a> CustomerDeploymentDeviceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3899,7 +3899,7 @@ impl<'a> CustomerDeploymentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4155,7 +4155,7 @@ impl<'a> CustomerDeploymentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4411,7 +4411,7 @@ impl<'a> CustomerDeploymentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4704,7 +4704,7 @@ impl<'a> CustomerDeploymentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4990,7 +4990,7 @@ impl<'a> CustomerDeploymentMoveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5288,7 +5288,7 @@ impl<'a> CustomerDeploymentPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5574,7 +5574,7 @@ impl<'a> CustomerDeviceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5859,7 +5859,7 @@ impl<'a> CustomerDeviceCreateSignedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6115,7 +6115,7 @@ impl<'a> CustomerDeviceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6371,7 +6371,7 @@ impl<'a> CustomerDeviceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6664,7 +6664,7 @@ impl<'a> CustomerDeviceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6950,7 +6950,7 @@ impl<'a> CustomerDeviceMoveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7248,7 +7248,7 @@ impl<'a> CustomerDevicePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7534,7 +7534,7 @@ impl<'a> CustomerDeviceSignDeviceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7820,7 +7820,7 @@ impl<'a> CustomerDeviceUpdateSignedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8105,7 +8105,7 @@ impl<'a> CustomerNodeDeploymentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8398,7 +8398,7 @@ impl<'a> CustomerNodeDeploymentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8684,7 +8684,7 @@ impl<'a> CustomerNodeDeviceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8969,7 +8969,7 @@ impl<'a> CustomerNodeDeviceCreateSignedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9262,7 +9262,7 @@ impl<'a> CustomerNodeDeviceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9547,7 +9547,7 @@ impl<'a> CustomerNodeNodeCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9840,7 +9840,7 @@ impl<'a> CustomerNodeNodeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10125,7 +10125,7 @@ impl<'a> CustomerNodeCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10381,7 +10381,7 @@ impl<'a> CustomerNodeDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10637,7 +10637,7 @@ impl<'a> CustomerNodeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10930,7 +10930,7 @@ impl<'a> CustomerNodeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11216,7 +11216,7 @@ impl<'a> CustomerNodeMoveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11513,7 +11513,7 @@ impl<'a> CustomerNodePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11769,7 +11769,7 @@ impl<'a> CustomerGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12013,7 +12013,7 @@ impl<'a> CustomerListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12310,7 +12310,7 @@ impl<'a> CustomerPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12566,7 +12566,7 @@ impl<'a> DeploymentDeviceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12823,7 +12823,7 @@ impl<'a> DeploymentDeviceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13109,7 +13109,7 @@ impl<'a> DeploymentDeviceMoveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13407,7 +13407,7 @@ impl<'a> DeploymentDevicePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13693,7 +13693,7 @@ impl<'a> DeploymentDeviceSignDeviceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13978,7 +13978,7 @@ impl<'a> DeploymentDeviceUpdateSignedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14235,7 +14235,7 @@ impl<'a> DeploymentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14484,7 +14484,7 @@ impl<'a> InstallerGenerateSecretCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14733,7 +14733,7 @@ impl<'a> InstallerValidateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15019,7 +15019,7 @@ impl<'a> NodeDeploymentDeviceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15304,7 +15304,7 @@ impl<'a> NodeDeploymentDeviceCreateSignedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15596,7 +15596,7 @@ impl<'a> NodeDeploymentDeviceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15852,7 +15852,7 @@ impl<'a> NodeDeploymentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16108,7 +16108,7 @@ impl<'a> NodeDeploymentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16401,7 +16401,7 @@ impl<'a> NodeDeploymentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16687,7 +16687,7 @@ impl<'a> NodeDeploymentMoveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16985,7 +16985,7 @@ impl<'a> NodeDeploymentPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17271,7 +17271,7 @@ impl<'a> NodeDeviceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17556,7 +17556,7 @@ impl<'a> NodeDeviceCreateSignedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17812,7 +17812,7 @@ impl<'a> NodeDeviceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18068,7 +18068,7 @@ impl<'a> NodeDeviceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18361,7 +18361,7 @@ impl<'a> NodeDeviceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18647,7 +18647,7 @@ impl<'a> NodeDeviceMoveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18945,7 +18945,7 @@ impl<'a> NodeDevicePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19231,7 +19231,7 @@ impl<'a> NodeDeviceSignDeviceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19517,7 +19517,7 @@ impl<'a> NodeDeviceUpdateSignedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19802,7 +19802,7 @@ impl<'a> NodeNodeDeploymentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20095,7 +20095,7 @@ impl<'a> NodeNodeDeploymentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20381,7 +20381,7 @@ impl<'a> NodeNodeDeviceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20666,7 +20666,7 @@ impl<'a> NodeNodeDeviceCreateSignedCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20959,7 +20959,7 @@ impl<'a> NodeNodeDeviceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21244,7 +21244,7 @@ impl<'a> NodeNodeNodeCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21537,7 +21537,7 @@ impl<'a> NodeNodeNodeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21822,7 +21822,7 @@ impl<'a> NodeNodeCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22078,7 +22078,7 @@ impl<'a> NodeNodeDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22334,7 +22334,7 @@ impl<'a> NodeNodeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22627,7 +22627,7 @@ impl<'a> NodeNodeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22913,7 +22913,7 @@ impl<'a> NodeNodeMoveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23210,7 +23210,7 @@ impl<'a> NodeNodePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23467,7 +23467,7 @@ impl<'a> NodeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23716,7 +23716,7 @@ impl<'a> PolicyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23965,7 +23965,7 @@ impl<'a> PolicySetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/sasportal1_alpha1/src/lib.rs b/gen/sasportal1_alpha1/src/lib.rs index 94cfefe079..9509a46752 100644 --- a/gen/sasportal1_alpha1/src/lib.rs +++ b/gen/sasportal1_alpha1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *sasportal* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *sasportal:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *sasportal* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *sasportal:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *sasportal* *v1_alpha1* API can be found at the //! [official documentation site](https://developers.google.com/spectrum-access-system/). @@ -120,7 +120,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Sasportal::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/searchconsole1-cli/Cargo.toml b/gen/searchconsole1-cli/Cargo.toml index c6666fcf7f..4aa8b633d4 100644 --- a/gen/searchconsole1-cli/Cargo.toml +++ b/gen/searchconsole1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-searchconsole1-cli" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with Search Console (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/searchconsole1-cli" @@ -20,12 +20,12 @@ name = "searchconsole1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-searchconsole1] path = "../searchconsole1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" diff --git a/gen/searchconsole1-cli/README.md b/gen/searchconsole1-cli/README.md index 1b6de836ab..7ced3f159b 100644 --- a/gen/searchconsole1-cli/README.md +++ b/gen/searchconsole1-cli/README.md @@ -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 *Search Console* API at revision *20220305*. The CLI is at version *3.0.0*. +This documentation was generated from the *Search Console* API at revision *20220305*. The CLI is at version *3.1.0*. ```bash searchconsole1 [options] diff --git a/gen/searchconsole1-cli/mkdocs.yml b/gen/searchconsole1-cli/mkdocs.yml index c1b50d34f3..0d85bc4b92 100644 --- a/gen/searchconsole1-cli/mkdocs.yml +++ b/gen/searchconsole1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Search Console v3.0.0+20220305 +site_name: Search Console v3.1.0+20220305 site_url: http://byron.github.io/google-apis-rs/google-searchconsole1-cli site_description: A complete library to interact with Search Console (protocol v1) diff --git a/gen/searchconsole1-cli/src/main.rs b/gen/searchconsole1-cli/src/main.rs index 09d2da13e5..4e1634248a 100644 --- a/gen/searchconsole1-cli/src/main.rs +++ b/gen/searchconsole1-cli/src/main.rs @@ -805,7 +805,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/searchconsole1", 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::SearchConsole::new(client, auth), @@ -1095,7 +1101,7 @@ async fn main() { let mut app = App::new("searchconsole1") .author("Sebastian Thiel ") - .version("3.0.0+20220305") + .version("3.1.0+20220305") .about("The Search Console API provides access to both Search Console data (verified users only) and to public information on an URL basis (anyone)") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_searchconsole1_cli") .arg(Arg::with_name("url") diff --git a/gen/searchconsole1/Cargo.toml b/gen/searchconsole1/Cargo.toml index 62baa96d28..bcdc7ef791 100644 --- a/gen/searchconsole1/Cargo.toml +++ b/gen/searchconsole1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-searchconsole1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with Search Console (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/searchconsole1" homepage = "https://developers.google.com/webmaster-tools/search-console-api/" -documentation = "https://docs.rs/google-searchconsole1/3.0.0+20220305" +documentation = "https://docs.rs/google-searchconsole1/3.1.0+20220305" license = "MIT" keywords = ["searchconsole", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/searchconsole1/README.md b/gen/searchconsole1/README.md index 2d5440e5f4..f1ea0b56f1 100644 --- a/gen/searchconsole1/README.md +++ b/gen/searchconsole1/README.md @@ -5,24 +5,24 @@ DO NOT EDIT ! --> The `google-searchconsole1` library allows access to all features of the *Google Search Console* service. -This documentation was generated from *Search Console* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *searchconsole:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Search Console* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *searchconsole:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Search Console* *v1* API can be found at the [official documentation site](https://developers.google.com/webmaster-tools/search-console-api/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-searchconsole1/3.0.0+20220305/google_searchconsole1/SearchConsole) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-searchconsole1/3.1.0+20220305/google_searchconsole1/SearchConsole) ... * searchanalytics - * [*query*](https://docs.rs/google-searchconsole1/3.0.0+20220305/google_searchconsole1/api::SearchanalyticQueryCall) + * [*query*](https://docs.rs/google-searchconsole1/3.1.0+20220305/google_searchconsole1/api::SearchanalyticQueryCall) * sitemaps - * [*delete*](https://docs.rs/google-searchconsole1/3.0.0+20220305/google_searchconsole1/api::SitemapDeleteCall), [*get*](https://docs.rs/google-searchconsole1/3.0.0+20220305/google_searchconsole1/api::SitemapGetCall), [*list*](https://docs.rs/google-searchconsole1/3.0.0+20220305/google_searchconsole1/api::SitemapListCall) and [*submit*](https://docs.rs/google-searchconsole1/3.0.0+20220305/google_searchconsole1/api::SitemapSubmitCall) + * [*delete*](https://docs.rs/google-searchconsole1/3.1.0+20220305/google_searchconsole1/api::SitemapDeleteCall), [*get*](https://docs.rs/google-searchconsole1/3.1.0+20220305/google_searchconsole1/api::SitemapGetCall), [*list*](https://docs.rs/google-searchconsole1/3.1.0+20220305/google_searchconsole1/api::SitemapListCall) and [*submit*](https://docs.rs/google-searchconsole1/3.1.0+20220305/google_searchconsole1/api::SitemapSubmitCall) * sites - * [*add*](https://docs.rs/google-searchconsole1/3.0.0+20220305/google_searchconsole1/api::SiteAddCall), [*delete*](https://docs.rs/google-searchconsole1/3.0.0+20220305/google_searchconsole1/api::SiteDeleteCall), [*get*](https://docs.rs/google-searchconsole1/3.0.0+20220305/google_searchconsole1/api::SiteGetCall) and [*list*](https://docs.rs/google-searchconsole1/3.0.0+20220305/google_searchconsole1/api::SiteListCall) + * [*add*](https://docs.rs/google-searchconsole1/3.1.0+20220305/google_searchconsole1/api::SiteAddCall), [*delete*](https://docs.rs/google-searchconsole1/3.1.0+20220305/google_searchconsole1/api::SiteDeleteCall), [*get*](https://docs.rs/google-searchconsole1/3.1.0+20220305/google_searchconsole1/api::SiteGetCall) and [*list*](https://docs.rs/google-searchconsole1/3.1.0+20220305/google_searchconsole1/api::SiteListCall) * url inspection - * [*index inspect*](https://docs.rs/google-searchconsole1/3.0.0+20220305/google_searchconsole1/api::UrlInspectionIndexInspectCall) + * [*index inspect*](https://docs.rs/google-searchconsole1/3.1.0+20220305/google_searchconsole1/api::UrlInspectionIndexInspectCall) * url testing tools - * [*mobile friendly test run*](https://docs.rs/google-searchconsole1/3.0.0+20220305/google_searchconsole1/api::UrlTestingToolMobileFriendlyTestRunCall) + * [*mobile friendly test run*](https://docs.rs/google-searchconsole1/3.1.0+20220305/google_searchconsole1/api::UrlTestingToolMobileFriendlyTestRunCall) @@ -31,17 +31,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-searchconsole1/3.0.0+20220305/google_searchconsole1/SearchConsole)** +* **[Hub](https://docs.rs/google-searchconsole1/3.1.0+20220305/google_searchconsole1/SearchConsole)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-searchconsole1/3.0.0+20220305/google_searchconsole1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-searchconsole1/3.0.0+20220305/google_searchconsole1/client::CallBuilder) -* **[Resources](https://docs.rs/google-searchconsole1/3.0.0+20220305/google_searchconsole1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-searchconsole1/3.1.0+20220305/google_searchconsole1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-searchconsole1/3.1.0+20220305/google_searchconsole1/client::CallBuilder) +* **[Resources](https://docs.rs/google-searchconsole1/3.1.0+20220305/google_searchconsole1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-searchconsole1/3.0.0+20220305/google_searchconsole1/client::Part)** + * **[Parts](https://docs.rs/google-searchconsole1/3.1.0+20220305/google_searchconsole1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-searchconsole1/3.0.0+20220305/google_searchconsole1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-searchconsole1/3.1.0+20220305/google_searchconsole1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -99,7 +99,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = SearchConsole::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = SearchConsole::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-searchconsole1/3.0.0+20220305/google_searchconsole1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-searchconsole1/3.1.0+20220305/google_searchconsole1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-searchconsole1/3.0.0+20220305/google_searchconsole1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-searchconsole1/3.1.0+20220305/google_searchconsole1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-searchconsole1/3.0.0+20220305/google_searchconsole1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-searchconsole1/3.1.0+20220305/google_searchconsole1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-searchconsole1/3.0.0+20220305/google_searchconsole1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-searchconsole1/3.1.0+20220305/google_searchconsole1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -152,29 +152,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-searchconsole1/3.0.0+20220305/google_searchconsole1/client::Delegate) to the -[Method Builder](https://docs.rs/google-searchconsole1/3.0.0+20220305/google_searchconsole1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-searchconsole1/3.1.0+20220305/google_searchconsole1/client::Delegate) to the +[Method Builder](https://docs.rs/google-searchconsole1/3.1.0+20220305/google_searchconsole1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-searchconsole1/3.0.0+20220305/google_searchconsole1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-searchconsole1/3.1.0+20220305/google_searchconsole1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-searchconsole1/3.0.0+20220305/google_searchconsole1/client::RequestValue) and -[decodable](https://docs.rs/google-searchconsole1/3.0.0+20220305/google_searchconsole1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-searchconsole1/3.1.0+20220305/google_searchconsole1/client::RequestValue) and +[decodable](https://docs.rs/google-searchconsole1/3.1.0+20220305/google_searchconsole1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-searchconsole1/3.0.0+20220305/google_searchconsole1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-searchconsole1/3.1.0+20220305/google_searchconsole1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-searchconsole1/3.0.0+20220305/google_searchconsole1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-searchconsole1/3.1.0+20220305/google_searchconsole1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-searchconsole1/3.0.0+20220305/google_searchconsole1/client::RequestValue) are moved +* [request values](https://docs.rs/google-searchconsole1/3.1.0+20220305/google_searchconsole1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/searchconsole1/src/api.rs b/gen/searchconsole1/src/api.rs index d5cf067bdd..7fd53a2daa 100644 --- a/gen/searchconsole1/src/api.rs +++ b/gen/searchconsole1/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SearchConsole::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SearchConsole::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -123,7 +123,7 @@ impl<'a, > SearchConsole<> { SearchConsole { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://searchconsole.googleapis.com/".to_string(), _root_url: "https://searchconsole.googleapis.com/".to_string(), } @@ -146,7 +146,7 @@ impl<'a, > SearchConsole<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -815,7 +815,7 @@ impl client::Part for WmxSitemapContent {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SearchConsole::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SearchConsole::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `query(...)` /// // to build up your call. @@ -875,7 +875,7 @@ impl<'a> SearchanalyticMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SearchConsole::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SearchConsole::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `list(...)` and `submit(...)` /// // to build up your call. @@ -991,7 +991,7 @@ impl<'a> SitemapMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SearchConsole::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SearchConsole::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `add(...)`, `delete(...)`, `get(...)` and `list(...)` /// // to build up your call. @@ -1095,7 +1095,7 @@ impl<'a> SiteMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SearchConsole::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SearchConsole::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `index_inspect(...)` /// // to build up your call. @@ -1153,7 +1153,7 @@ impl<'a> UrlInspectionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SearchConsole::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SearchConsole::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `mobile_friendly_test_run(...)` /// // to build up your call. @@ -1218,7 +1218,7 @@ impl<'a> UrlTestingToolMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SearchConsole::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SearchConsole::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1499,7 +1499,7 @@ impl<'a> SearchanalyticQueryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SearchConsole::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SearchConsole::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1752,7 +1752,7 @@ impl<'a> SitemapDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SearchConsole::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SearchConsole::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2016,7 +2016,7 @@ impl<'a> SitemapGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SearchConsole::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SearchConsole::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2280,7 +2280,7 @@ impl<'a> SitemapListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SearchConsole::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SearchConsole::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2533,7 +2533,7 @@ impl<'a> SitemapSubmitCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SearchConsole::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SearchConsole::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2774,7 +2774,7 @@ impl<'a> SiteAddCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SearchConsole::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SearchConsole::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3015,7 +3015,7 @@ impl<'a> SiteDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SearchConsole::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SearchConsole::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3267,7 +3267,7 @@ impl<'a> SiteGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SearchConsole::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SearchConsole::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3487,7 +3487,7 @@ impl<'a> SiteListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SearchConsole::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SearchConsole::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3736,7 +3736,7 @@ impl<'a> UrlInspectionIndexInspectCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SearchConsole::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SearchConsole::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/searchconsole1/src/lib.rs b/gen/searchconsole1/src/lib.rs index 5454a37f37..e845bc2072 100644 --- a/gen/searchconsole1/src/lib.rs +++ b/gen/searchconsole1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Search Console* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *searchconsole:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Search Console* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *searchconsole:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Search Console* *v1* API can be found at the //! [official documentation site](https://developers.google.com/webmaster-tools/search-console-api/). @@ -100,7 +100,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = SearchConsole::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = SearchConsole::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/secretmanager1-cli/Cargo.toml b/gen/secretmanager1-cli/Cargo.toml index dcee4f46d8..1207998147 100644 --- a/gen/secretmanager1-cli/Cargo.toml +++ b/gen/secretmanager1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-secretmanager1-cli" -version = "3.0.0+20220226" +version = "3.1.0+20220226" authors = ["Sebastian Thiel "] description = "A complete library to interact with Secret Manager (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/secretmanager1-cli" @@ -20,12 +20,12 @@ name = "secretmanager1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-secretmanager1] path = "../secretmanager1" -version = "3.0.0+20220226" +version = "3.1.0+20220226" diff --git a/gen/secretmanager1-cli/README.md b/gen/secretmanager1-cli/README.md index 755ef2a8b1..9b655a9d23 100644 --- a/gen/secretmanager1-cli/README.md +++ b/gen/secretmanager1-cli/README.md @@ -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 *Secret Manager* API at revision *20220226*. The CLI is at version *3.0.0*. +This documentation was generated from the *Secret Manager* API at revision *20220226*. The CLI is at version *3.1.0*. ```bash secretmanager1 [options] diff --git a/gen/secretmanager1-cli/mkdocs.yml b/gen/secretmanager1-cli/mkdocs.yml index ab9bf7ef50..b314bc79ab 100644 --- a/gen/secretmanager1-cli/mkdocs.yml +++ b/gen/secretmanager1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Secret Manager v3.0.0+20220226 +site_name: Secret Manager v3.1.0+20220226 site_url: http://byron.github.io/google-apis-rs/google-secretmanager1-cli site_description: A complete library to interact with Secret Manager (protocol v1) diff --git a/gen/secretmanager1-cli/src/main.rs b/gen/secretmanager1-cli/src/main.rs index ab1d41bd12..2ce8126cc6 100644 --- a/gen/secretmanager1-cli/src/main.rs +++ b/gen/secretmanager1-cli/src/main.rs @@ -1353,7 +1353,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/secretmanager1", 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::SecretManager::new(client, auth), @@ -1817,7 +1823,7 @@ async fn main() { let mut app = App::new("secretmanager1") .author("Sebastian Thiel ") - .version("3.0.0+20220226") + .version("3.1.0+20220226") .about("Stores sensitive data such as API keys, passwords, and certificates. Provides convenience while improving security. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_secretmanager1_cli") .arg(Arg::with_name("url") diff --git a/gen/secretmanager1/Cargo.toml b/gen/secretmanager1/Cargo.toml index 1a68d4ece0..2ea7ba8fa2 100644 --- a/gen/secretmanager1/Cargo.toml +++ b/gen/secretmanager1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-secretmanager1" -version = "3.0.0+20220226" +version = "3.1.0+20220226" authors = ["Sebastian Thiel "] description = "A complete library to interact with Secret Manager (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/secretmanager1" homepage = "https://cloud.google.com/secret-manager/" -documentation = "https://docs.rs/google-secretmanager1/3.0.0+20220226" +documentation = "https://docs.rs/google-secretmanager1/3.1.0+20220226" license = "MIT" keywords = ["secretmanager", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/secretmanager1/README.md b/gen/secretmanager1/README.md index a9d7b090cc..19c30f4298 100644 --- a/gen/secretmanager1/README.md +++ b/gen/secretmanager1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-secretmanager1` library allows access to all features of the *Google Secret Manager* service. -This documentation was generated from *Secret Manager* crate version *3.0.0+20220226*, where *20220226* is the exact revision of the *secretmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Secret Manager* crate version *3.1.0+20220226*, where *20220226* is the exact revision of the *secretmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Secret Manager* *v1* API can be found at the [official documentation site](https://cloud.google.com/secret-manager/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-secretmanager1/3.0.0+20220226/google_secretmanager1/SecretManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-secretmanager1/3.1.0+20220226/google_secretmanager1/SecretManager) ... * projects - * [*locations get*](https://docs.rs/google-secretmanager1/3.0.0+20220226/google_secretmanager1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-secretmanager1/3.0.0+20220226/google_secretmanager1/api::ProjectLocationListCall), [*secrets add version*](https://docs.rs/google-secretmanager1/3.0.0+20220226/google_secretmanager1/api::ProjectSecretAddVersionCall), [*secrets create*](https://docs.rs/google-secretmanager1/3.0.0+20220226/google_secretmanager1/api::ProjectSecretCreateCall), [*secrets delete*](https://docs.rs/google-secretmanager1/3.0.0+20220226/google_secretmanager1/api::ProjectSecretDeleteCall), [*secrets get*](https://docs.rs/google-secretmanager1/3.0.0+20220226/google_secretmanager1/api::ProjectSecretGetCall), [*secrets get iam policy*](https://docs.rs/google-secretmanager1/3.0.0+20220226/google_secretmanager1/api::ProjectSecretGetIamPolicyCall), [*secrets list*](https://docs.rs/google-secretmanager1/3.0.0+20220226/google_secretmanager1/api::ProjectSecretListCall), [*secrets patch*](https://docs.rs/google-secretmanager1/3.0.0+20220226/google_secretmanager1/api::ProjectSecretPatchCall), [*secrets set iam policy*](https://docs.rs/google-secretmanager1/3.0.0+20220226/google_secretmanager1/api::ProjectSecretSetIamPolicyCall), [*secrets test iam permissions*](https://docs.rs/google-secretmanager1/3.0.0+20220226/google_secretmanager1/api::ProjectSecretTestIamPermissionCall), [*secrets versions access*](https://docs.rs/google-secretmanager1/3.0.0+20220226/google_secretmanager1/api::ProjectSecretVersionAccesCall), [*secrets versions destroy*](https://docs.rs/google-secretmanager1/3.0.0+20220226/google_secretmanager1/api::ProjectSecretVersionDestroyCall), [*secrets versions disable*](https://docs.rs/google-secretmanager1/3.0.0+20220226/google_secretmanager1/api::ProjectSecretVersionDisableCall), [*secrets versions enable*](https://docs.rs/google-secretmanager1/3.0.0+20220226/google_secretmanager1/api::ProjectSecretVersionEnableCall), [*secrets versions get*](https://docs.rs/google-secretmanager1/3.0.0+20220226/google_secretmanager1/api::ProjectSecretVersionGetCall) and [*secrets versions list*](https://docs.rs/google-secretmanager1/3.0.0+20220226/google_secretmanager1/api::ProjectSecretVersionListCall) + * [*locations get*](https://docs.rs/google-secretmanager1/3.1.0+20220226/google_secretmanager1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-secretmanager1/3.1.0+20220226/google_secretmanager1/api::ProjectLocationListCall), [*secrets add version*](https://docs.rs/google-secretmanager1/3.1.0+20220226/google_secretmanager1/api::ProjectSecretAddVersionCall), [*secrets create*](https://docs.rs/google-secretmanager1/3.1.0+20220226/google_secretmanager1/api::ProjectSecretCreateCall), [*secrets delete*](https://docs.rs/google-secretmanager1/3.1.0+20220226/google_secretmanager1/api::ProjectSecretDeleteCall), [*secrets get*](https://docs.rs/google-secretmanager1/3.1.0+20220226/google_secretmanager1/api::ProjectSecretGetCall), [*secrets get iam policy*](https://docs.rs/google-secretmanager1/3.1.0+20220226/google_secretmanager1/api::ProjectSecretGetIamPolicyCall), [*secrets list*](https://docs.rs/google-secretmanager1/3.1.0+20220226/google_secretmanager1/api::ProjectSecretListCall), [*secrets patch*](https://docs.rs/google-secretmanager1/3.1.0+20220226/google_secretmanager1/api::ProjectSecretPatchCall), [*secrets set iam policy*](https://docs.rs/google-secretmanager1/3.1.0+20220226/google_secretmanager1/api::ProjectSecretSetIamPolicyCall), [*secrets test iam permissions*](https://docs.rs/google-secretmanager1/3.1.0+20220226/google_secretmanager1/api::ProjectSecretTestIamPermissionCall), [*secrets versions access*](https://docs.rs/google-secretmanager1/3.1.0+20220226/google_secretmanager1/api::ProjectSecretVersionAccesCall), [*secrets versions destroy*](https://docs.rs/google-secretmanager1/3.1.0+20220226/google_secretmanager1/api::ProjectSecretVersionDestroyCall), [*secrets versions disable*](https://docs.rs/google-secretmanager1/3.1.0+20220226/google_secretmanager1/api::ProjectSecretVersionDisableCall), [*secrets versions enable*](https://docs.rs/google-secretmanager1/3.1.0+20220226/google_secretmanager1/api::ProjectSecretVersionEnableCall), [*secrets versions get*](https://docs.rs/google-secretmanager1/3.1.0+20220226/google_secretmanager1/api::ProjectSecretVersionGetCall) and [*secrets versions list*](https://docs.rs/google-secretmanager1/3.1.0+20220226/google_secretmanager1/api::ProjectSecretVersionListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-secretmanager1/3.0.0+20220226/google_secretmanager1/SecretManager)** +* **[Hub](https://docs.rs/google-secretmanager1/3.1.0+20220226/google_secretmanager1/SecretManager)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-secretmanager1/3.0.0+20220226/google_secretmanager1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-secretmanager1/3.0.0+20220226/google_secretmanager1/client::CallBuilder) -* **[Resources](https://docs.rs/google-secretmanager1/3.0.0+20220226/google_secretmanager1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-secretmanager1/3.1.0+20220226/google_secretmanager1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-secretmanager1/3.1.0+20220226/google_secretmanager1/client::CallBuilder) +* **[Resources](https://docs.rs/google-secretmanager1/3.1.0+20220226/google_secretmanager1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-secretmanager1/3.0.0+20220226/google_secretmanager1/client::Part)** + * **[Parts](https://docs.rs/google-secretmanager1/3.1.0+20220226/google_secretmanager1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-secretmanager1/3.0.0+20220226/google_secretmanager1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-secretmanager1/3.1.0+20220226/google_secretmanager1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -95,7 +95,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -128,17 +128,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-secretmanager1/3.0.0+20220226/google_secretmanager1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-secretmanager1/3.1.0+20220226/google_secretmanager1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-secretmanager1/3.0.0+20220226/google_secretmanager1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-secretmanager1/3.1.0+20220226/google_secretmanager1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-secretmanager1/3.0.0+20220226/google_secretmanager1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-secretmanager1/3.1.0+20220226/google_secretmanager1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-secretmanager1/3.0.0+20220226/google_secretmanager1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-secretmanager1/3.1.0+20220226/google_secretmanager1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -148,29 +148,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-secretmanager1/3.0.0+20220226/google_secretmanager1/client::Delegate) to the -[Method Builder](https://docs.rs/google-secretmanager1/3.0.0+20220226/google_secretmanager1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-secretmanager1/3.1.0+20220226/google_secretmanager1/client::Delegate) to the +[Method Builder](https://docs.rs/google-secretmanager1/3.1.0+20220226/google_secretmanager1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-secretmanager1/3.0.0+20220226/google_secretmanager1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-secretmanager1/3.1.0+20220226/google_secretmanager1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-secretmanager1/3.0.0+20220226/google_secretmanager1/client::RequestValue) and -[decodable](https://docs.rs/google-secretmanager1/3.0.0+20220226/google_secretmanager1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-secretmanager1/3.1.0+20220226/google_secretmanager1/client::RequestValue) and +[decodable](https://docs.rs/google-secretmanager1/3.1.0+20220226/google_secretmanager1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-secretmanager1/3.0.0+20220226/google_secretmanager1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-secretmanager1/3.1.0+20220226/google_secretmanager1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-secretmanager1/3.0.0+20220226/google_secretmanager1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-secretmanager1/3.1.0+20220226/google_secretmanager1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-secretmanager1/3.0.0+20220226/google_secretmanager1/client::RequestValue) are moved +* [request values](https://docs.rs/google-secretmanager1/3.1.0+20220226/google_secretmanager1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/secretmanager1/src/api.rs b/gen/secretmanager1/src/api.rs index 57c4befe05..cb987cd1e0 100644 --- a/gen/secretmanager1/src/api.rs +++ b/gen/secretmanager1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > SecretManager<> { SecretManager { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://secretmanager.googleapis.com/".to_string(), _root_url: "https://secretmanager.googleapis.com/".to_string(), } @@ -130,7 +130,7 @@ impl<'a, > SecretManager<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -809,7 +809,7 @@ impl client::Part for UserManagedStatus {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_get(...)`, `locations_list(...)`, `secrets_add_version(...)`, `secrets_create(...)`, `secrets_delete(...)`, `secrets_get(...)`, `secrets_get_iam_policy(...)`, `secrets_list(...)`, `secrets_patch(...)`, `secrets_set_iam_policy(...)`, `secrets_test_iam_permissions(...)`, `secrets_versions_access(...)`, `secrets_versions_destroy(...)`, `secrets_versions_disable(...)`, `secrets_versions_enable(...)`, `secrets_versions_get(...)` and `secrets_versions_list(...)` /// // to build up your call. @@ -1175,7 +1175,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1431,7 +1431,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1723,7 +1723,7 @@ impl<'a> ProjectLocationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1980,7 +1980,7 @@ impl<'a> ProjectSecretVersionAccesCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2266,7 +2266,7 @@ impl<'a> ProjectSecretVersionDestroyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2552,7 +2552,7 @@ impl<'a> ProjectSecretVersionDisableCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2837,7 +2837,7 @@ impl<'a> ProjectSecretVersionEnableCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3093,7 +3093,7 @@ impl<'a> ProjectSecretVersionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3386,7 +3386,7 @@ impl<'a> ProjectSecretVersionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3672,7 +3672,7 @@ impl<'a> ProjectSecretAddVersionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3969,7 +3969,7 @@ impl<'a> ProjectSecretCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4237,7 +4237,7 @@ impl<'a> ProjectSecretDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4493,7 +4493,7 @@ impl<'a> ProjectSecretGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4761,7 +4761,7 @@ impl<'a> ProjectSecretGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5054,7 +5054,7 @@ impl<'a> ProjectSecretListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5352,7 +5352,7 @@ impl<'a> ProjectSecretPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5638,7 +5638,7 @@ impl<'a> ProjectSecretSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/secretmanager1/src/lib.rs b/gen/secretmanager1/src/lib.rs index 960d9ab229..5ad3b8f355 100644 --- a/gen/secretmanager1/src/lib.rs +++ b/gen/secretmanager1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Secret Manager* crate version *3.0.0+20220226*, where *20220226* is the exact revision of the *secretmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Secret Manager* crate version *3.1.0+20220226*, where *20220226* is the exact revision of the *secretmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Secret Manager* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/secret-manager/). @@ -96,7 +96,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/secretmanager1_beta1-cli/Cargo.toml b/gen/secretmanager1_beta1-cli/Cargo.toml index dc4c86feb0..c48b57a01a 100644 --- a/gen/secretmanager1_beta1-cli/Cargo.toml +++ b/gen/secretmanager1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-secretmanager1_beta1-cli" -version = "3.0.0+20220226" +version = "3.1.0+20220226" authors = ["Sebastian Thiel "] description = "A complete library to interact with Secret Manager (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/secretmanager1_beta1-cli" @@ -20,12 +20,12 @@ name = "secretmanager1-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-secretmanager1_beta1] path = "../secretmanager1_beta1" -version = "3.0.0+20220226" +version = "3.1.0+20220226" diff --git a/gen/secretmanager1_beta1-cli/README.md b/gen/secretmanager1_beta1-cli/README.md index b52aa00b63..cf60a6cf8d 100644 --- a/gen/secretmanager1_beta1-cli/README.md +++ b/gen/secretmanager1_beta1-cli/README.md @@ -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 *Secret Manager* API at revision *20220226*. The CLI is at version *3.0.0*. +This documentation was generated from the *Secret Manager* API at revision *20220226*. The CLI is at version *3.1.0*. ```bash secretmanager1-beta1 [options] diff --git a/gen/secretmanager1_beta1-cli/mkdocs.yml b/gen/secretmanager1_beta1-cli/mkdocs.yml index 33326eb1e1..3348432b1e 100644 --- a/gen/secretmanager1_beta1-cli/mkdocs.yml +++ b/gen/secretmanager1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Secret Manager v3.0.0+20220226 +site_name: Secret Manager v3.1.0+20220226 site_url: http://byron.github.io/google-apis-rs/google-secretmanager1_beta1-cli site_description: A complete library to interact with Secret Manager (protocol v1beta1) diff --git a/gen/secretmanager1_beta1-cli/src/main.rs b/gen/secretmanager1_beta1-cli/src/main.rs index 7425b197fd..f4ae625303 100644 --- a/gen/secretmanager1_beta1-cli/src/main.rs +++ b/gen/secretmanager1_beta1-cli/src/main.rs @@ -1327,7 +1327,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/secretmanager1-beta1", 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::SecretManager::new(client, auth), @@ -1791,7 +1797,7 @@ async fn main() { let mut app = App::new("secretmanager1-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20220226") + .version("3.1.0+20220226") .about("Stores sensitive data such as API keys, passwords, and certificates. Provides convenience while improving security. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_secretmanager1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/secretmanager1_beta1/Cargo.toml b/gen/secretmanager1_beta1/Cargo.toml index 2ba6ff1635..3b19de5e34 100644 --- a/gen/secretmanager1_beta1/Cargo.toml +++ b/gen/secretmanager1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-secretmanager1_beta1" -version = "3.0.0+20220226" +version = "3.1.0+20220226" authors = ["Sebastian Thiel "] description = "A complete library to interact with Secret Manager (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/secretmanager1_beta1" homepage = "https://cloud.google.com/secret-manager/" -documentation = "https://docs.rs/google-secretmanager1_beta1/3.0.0+20220226" +documentation = "https://docs.rs/google-secretmanager1_beta1/3.1.0+20220226" license = "MIT" keywords = ["secretmanager", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/secretmanager1_beta1/README.md b/gen/secretmanager1_beta1/README.md index a657f69d73..690c765af7 100644 --- a/gen/secretmanager1_beta1/README.md +++ b/gen/secretmanager1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-secretmanager1_beta1` library allows access to all features of the *Google Secret Manager* service. -This documentation was generated from *Secret Manager* crate version *3.0.0+20220226*, where *20220226* is the exact revision of the *secretmanager:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Secret Manager* crate version *3.1.0+20220226*, where *20220226* is the exact revision of the *secretmanager:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Secret Manager* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/secret-manager/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-secretmanager1_beta1/3.0.0+20220226/google_secretmanager1_beta1/SecretManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-secretmanager1_beta1/3.1.0+20220226/google_secretmanager1_beta1/SecretManager) ... * projects - * [*locations get*](https://docs.rs/google-secretmanager1_beta1/3.0.0+20220226/google_secretmanager1_beta1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-secretmanager1_beta1/3.0.0+20220226/google_secretmanager1_beta1/api::ProjectLocationListCall), [*secrets add version*](https://docs.rs/google-secretmanager1_beta1/3.0.0+20220226/google_secretmanager1_beta1/api::ProjectSecretAddVersionCall), [*secrets create*](https://docs.rs/google-secretmanager1_beta1/3.0.0+20220226/google_secretmanager1_beta1/api::ProjectSecretCreateCall), [*secrets delete*](https://docs.rs/google-secretmanager1_beta1/3.0.0+20220226/google_secretmanager1_beta1/api::ProjectSecretDeleteCall), [*secrets get*](https://docs.rs/google-secretmanager1_beta1/3.0.0+20220226/google_secretmanager1_beta1/api::ProjectSecretGetCall), [*secrets get iam policy*](https://docs.rs/google-secretmanager1_beta1/3.0.0+20220226/google_secretmanager1_beta1/api::ProjectSecretGetIamPolicyCall), [*secrets list*](https://docs.rs/google-secretmanager1_beta1/3.0.0+20220226/google_secretmanager1_beta1/api::ProjectSecretListCall), [*secrets patch*](https://docs.rs/google-secretmanager1_beta1/3.0.0+20220226/google_secretmanager1_beta1/api::ProjectSecretPatchCall), [*secrets set iam policy*](https://docs.rs/google-secretmanager1_beta1/3.0.0+20220226/google_secretmanager1_beta1/api::ProjectSecretSetIamPolicyCall), [*secrets test iam permissions*](https://docs.rs/google-secretmanager1_beta1/3.0.0+20220226/google_secretmanager1_beta1/api::ProjectSecretTestIamPermissionCall), [*secrets versions access*](https://docs.rs/google-secretmanager1_beta1/3.0.0+20220226/google_secretmanager1_beta1/api::ProjectSecretVersionAccesCall), [*secrets versions destroy*](https://docs.rs/google-secretmanager1_beta1/3.0.0+20220226/google_secretmanager1_beta1/api::ProjectSecretVersionDestroyCall), [*secrets versions disable*](https://docs.rs/google-secretmanager1_beta1/3.0.0+20220226/google_secretmanager1_beta1/api::ProjectSecretVersionDisableCall), [*secrets versions enable*](https://docs.rs/google-secretmanager1_beta1/3.0.0+20220226/google_secretmanager1_beta1/api::ProjectSecretVersionEnableCall), [*secrets versions get*](https://docs.rs/google-secretmanager1_beta1/3.0.0+20220226/google_secretmanager1_beta1/api::ProjectSecretVersionGetCall) and [*secrets versions list*](https://docs.rs/google-secretmanager1_beta1/3.0.0+20220226/google_secretmanager1_beta1/api::ProjectSecretVersionListCall) + * [*locations get*](https://docs.rs/google-secretmanager1_beta1/3.1.0+20220226/google_secretmanager1_beta1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-secretmanager1_beta1/3.1.0+20220226/google_secretmanager1_beta1/api::ProjectLocationListCall), [*secrets add version*](https://docs.rs/google-secretmanager1_beta1/3.1.0+20220226/google_secretmanager1_beta1/api::ProjectSecretAddVersionCall), [*secrets create*](https://docs.rs/google-secretmanager1_beta1/3.1.0+20220226/google_secretmanager1_beta1/api::ProjectSecretCreateCall), [*secrets delete*](https://docs.rs/google-secretmanager1_beta1/3.1.0+20220226/google_secretmanager1_beta1/api::ProjectSecretDeleteCall), [*secrets get*](https://docs.rs/google-secretmanager1_beta1/3.1.0+20220226/google_secretmanager1_beta1/api::ProjectSecretGetCall), [*secrets get iam policy*](https://docs.rs/google-secretmanager1_beta1/3.1.0+20220226/google_secretmanager1_beta1/api::ProjectSecretGetIamPolicyCall), [*secrets list*](https://docs.rs/google-secretmanager1_beta1/3.1.0+20220226/google_secretmanager1_beta1/api::ProjectSecretListCall), [*secrets patch*](https://docs.rs/google-secretmanager1_beta1/3.1.0+20220226/google_secretmanager1_beta1/api::ProjectSecretPatchCall), [*secrets set iam policy*](https://docs.rs/google-secretmanager1_beta1/3.1.0+20220226/google_secretmanager1_beta1/api::ProjectSecretSetIamPolicyCall), [*secrets test iam permissions*](https://docs.rs/google-secretmanager1_beta1/3.1.0+20220226/google_secretmanager1_beta1/api::ProjectSecretTestIamPermissionCall), [*secrets versions access*](https://docs.rs/google-secretmanager1_beta1/3.1.0+20220226/google_secretmanager1_beta1/api::ProjectSecretVersionAccesCall), [*secrets versions destroy*](https://docs.rs/google-secretmanager1_beta1/3.1.0+20220226/google_secretmanager1_beta1/api::ProjectSecretVersionDestroyCall), [*secrets versions disable*](https://docs.rs/google-secretmanager1_beta1/3.1.0+20220226/google_secretmanager1_beta1/api::ProjectSecretVersionDisableCall), [*secrets versions enable*](https://docs.rs/google-secretmanager1_beta1/3.1.0+20220226/google_secretmanager1_beta1/api::ProjectSecretVersionEnableCall), [*secrets versions get*](https://docs.rs/google-secretmanager1_beta1/3.1.0+20220226/google_secretmanager1_beta1/api::ProjectSecretVersionGetCall) and [*secrets versions list*](https://docs.rs/google-secretmanager1_beta1/3.1.0+20220226/google_secretmanager1_beta1/api::ProjectSecretVersionListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-secretmanager1_beta1/3.0.0+20220226/google_secretmanager1_beta1/SecretManager)** +* **[Hub](https://docs.rs/google-secretmanager1_beta1/3.1.0+20220226/google_secretmanager1_beta1/SecretManager)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-secretmanager1_beta1/3.0.0+20220226/google_secretmanager1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-secretmanager1_beta1/3.0.0+20220226/google_secretmanager1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-secretmanager1_beta1/3.0.0+20220226/google_secretmanager1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-secretmanager1_beta1/3.1.0+20220226/google_secretmanager1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-secretmanager1_beta1/3.1.0+20220226/google_secretmanager1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-secretmanager1_beta1/3.1.0+20220226/google_secretmanager1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-secretmanager1_beta1/3.0.0+20220226/google_secretmanager1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-secretmanager1_beta1/3.1.0+20220226/google_secretmanager1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-secretmanager1_beta1/3.0.0+20220226/google_secretmanager1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-secretmanager1_beta1/3.1.0+20220226/google_secretmanager1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -95,7 +95,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -128,17 +128,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-secretmanager1_beta1/3.0.0+20220226/google_secretmanager1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-secretmanager1_beta1/3.1.0+20220226/google_secretmanager1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-secretmanager1_beta1/3.0.0+20220226/google_secretmanager1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-secretmanager1_beta1/3.1.0+20220226/google_secretmanager1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-secretmanager1_beta1/3.0.0+20220226/google_secretmanager1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-secretmanager1_beta1/3.1.0+20220226/google_secretmanager1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-secretmanager1_beta1/3.0.0+20220226/google_secretmanager1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-secretmanager1_beta1/3.1.0+20220226/google_secretmanager1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -148,29 +148,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-secretmanager1_beta1/3.0.0+20220226/google_secretmanager1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-secretmanager1_beta1/3.0.0+20220226/google_secretmanager1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-secretmanager1_beta1/3.1.0+20220226/google_secretmanager1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-secretmanager1_beta1/3.1.0+20220226/google_secretmanager1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-secretmanager1_beta1/3.0.0+20220226/google_secretmanager1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-secretmanager1_beta1/3.1.0+20220226/google_secretmanager1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-secretmanager1_beta1/3.0.0+20220226/google_secretmanager1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-secretmanager1_beta1/3.0.0+20220226/google_secretmanager1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-secretmanager1_beta1/3.1.0+20220226/google_secretmanager1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-secretmanager1_beta1/3.1.0+20220226/google_secretmanager1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-secretmanager1_beta1/3.0.0+20220226/google_secretmanager1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-secretmanager1_beta1/3.1.0+20220226/google_secretmanager1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-secretmanager1_beta1/3.0.0+20220226/google_secretmanager1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-secretmanager1_beta1/3.1.0+20220226/google_secretmanager1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-secretmanager1_beta1/3.0.0+20220226/google_secretmanager1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-secretmanager1_beta1/3.1.0+20220226/google_secretmanager1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/secretmanager1_beta1/src/api.rs b/gen/secretmanager1_beta1/src/api.rs index 242d03f7be..cf7cbaedaf 100644 --- a/gen/secretmanager1_beta1/src/api.rs +++ b/gen/secretmanager1_beta1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > SecretManager<> { SecretManager { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://secretmanager.googleapis.com/".to_string(), _root_url: "https://secretmanager.googleapis.com/".to_string(), } @@ -130,7 +130,7 @@ impl<'a, > SecretManager<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -654,7 +654,7 @@ impl client::Part for UserManaged {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_get(...)`, `locations_list(...)`, `secrets_add_version(...)`, `secrets_create(...)`, `secrets_delete(...)`, `secrets_get(...)`, `secrets_get_iam_policy(...)`, `secrets_list(...)`, `secrets_patch(...)`, `secrets_set_iam_policy(...)`, `secrets_test_iam_permissions(...)`, `secrets_versions_access(...)`, `secrets_versions_destroy(...)`, `secrets_versions_disable(...)`, `secrets_versions_enable(...)`, `secrets_versions_get(...)` and `secrets_versions_list(...)` /// // to build up your call. @@ -1017,7 +1017,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1273,7 +1273,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1565,7 +1565,7 @@ impl<'a> ProjectLocationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1822,7 +1822,7 @@ impl<'a> ProjectSecretVersionAccesCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2108,7 +2108,7 @@ impl<'a> ProjectSecretVersionDestroyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2394,7 +2394,7 @@ impl<'a> ProjectSecretVersionDisableCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2679,7 +2679,7 @@ impl<'a> ProjectSecretVersionEnableCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2935,7 +2935,7 @@ impl<'a> ProjectSecretVersionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3216,7 +3216,7 @@ impl<'a> ProjectSecretVersionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3502,7 +3502,7 @@ impl<'a> ProjectSecretAddVersionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3799,7 +3799,7 @@ impl<'a> ProjectSecretCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4055,7 +4055,7 @@ impl<'a> ProjectSecretDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4311,7 +4311,7 @@ impl<'a> ProjectSecretGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4579,7 +4579,7 @@ impl<'a> ProjectSecretGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4860,7 +4860,7 @@ impl<'a> ProjectSecretListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5158,7 +5158,7 @@ impl<'a> ProjectSecretPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5444,7 +5444,7 @@ impl<'a> ProjectSecretSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/secretmanager1_beta1/src/lib.rs b/gen/secretmanager1_beta1/src/lib.rs index b03c2a06ef..596fa75e0f 100644 --- a/gen/secretmanager1_beta1/src/lib.rs +++ b/gen/secretmanager1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Secret Manager* crate version *3.0.0+20220226*, where *20220226* is the exact revision of the *secretmanager:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Secret Manager* crate version *3.1.0+20220226*, where *20220226* is the exact revision of the *secretmanager:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Secret Manager* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/secret-manager/). @@ -96,7 +96,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = SecretManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/securitycenter1-cli/Cargo.toml b/gen/securitycenter1-cli/Cargo.toml index 5d12aea908..cce47b81de 100644 --- a/gen/securitycenter1-cli/Cargo.toml +++ b/gen/securitycenter1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-securitycenter1-cli" -version = "3.0.0+20220224" +version = "3.1.0+20220224" authors = ["Sebastian Thiel "] description = "A complete library to interact with Security Command Center (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/securitycenter1-cli" @@ -20,12 +20,12 @@ name = "securitycenter1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-securitycenter1] path = "../securitycenter1" -version = "3.0.0+20220224" +version = "3.1.0+20220224" diff --git a/gen/securitycenter1-cli/README.md b/gen/securitycenter1-cli/README.md index 13ff90844b..393bd94f7b 100644 --- a/gen/securitycenter1-cli/README.md +++ b/gen/securitycenter1-cli/README.md @@ -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 *Security Command Center* API at revision *20220224*. The CLI is at version *3.0.0*. +This documentation was generated from the *Security Command Center* API at revision *20220224*. The CLI is at version *3.1.0*. ```bash securitycenter1 [options] diff --git a/gen/securitycenter1-cli/mkdocs.yml b/gen/securitycenter1-cli/mkdocs.yml index 27cde7187c..38f4accb04 100644 --- a/gen/securitycenter1-cli/mkdocs.yml +++ b/gen/securitycenter1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Security Command Center v3.0.0+20220224 +site_name: Security Command Center v3.1.0+20220224 site_url: http://byron.github.io/google-apis-rs/google-securitycenter1-cli site_description: A complete library to interact with Security Command Center (protocol v1) diff --git a/gen/securitycenter1-cli/src/main.rs b/gen/securitycenter1-cli/src/main.rs index 6a672e6aab..31f6d338a2 100644 --- a/gen/securitycenter1-cli/src/main.rs +++ b/gen/securitycenter1-cli/src/main.rs @@ -7060,7 +7060,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/securitycenter1", 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::SecurityCommandCenter::new(client, auth), @@ -9272,7 +9278,7 @@ async fn main() { let mut app = App::new("securitycenter1") .author("Sebastian Thiel ") - .version("3.0.0+20220224") + .version("3.1.0+20220224") .about("Security Command Center API provides access to temporal views of assets and findings within an organization.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_securitycenter1_cli") .arg(Arg::with_name("url") diff --git a/gen/securitycenter1/Cargo.toml b/gen/securitycenter1/Cargo.toml index da5fc22541..78180c7379 100644 --- a/gen/securitycenter1/Cargo.toml +++ b/gen/securitycenter1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-securitycenter1" -version = "3.0.0+20220224" +version = "3.1.0+20220224" authors = ["Sebastian Thiel "] description = "A complete library to interact with Security Command Center (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/securitycenter1" homepage = "https://cloud.google.com/security-command-center" -documentation = "https://docs.rs/google-securitycenter1/3.0.0+20220224" +documentation = "https://docs.rs/google-securitycenter1/3.1.0+20220224" license = "MIT" keywords = ["securitycenter", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/securitycenter1/README.md b/gen/securitycenter1/README.md index ef665a8583..d357f59eba 100644 --- a/gen/securitycenter1/README.md +++ b/gen/securitycenter1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-securitycenter1` library allows access to all features of the *Google Security Command Center* service. -This documentation was generated from *Security Command Center* crate version *3.0.0+20220224*, where *20220224* is the exact revision of the *securitycenter:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Security Command Center* crate version *3.1.0+20220224*, where *20220224* is the exact revision of the *securitycenter:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Security Command Center* *v1* API can be found at the [official documentation site](https://cloud.google.com/security-command-center). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/SecurityCommandCenter) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/SecurityCommandCenter) ... -* [folders](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::Folder) - * [*assets group*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::FolderAssetGroupCall), [*assets list*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::FolderAssetListCall), [*assets update security marks*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::FolderAssetUpdateSecurityMarkCall), [*big query exports create*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::FolderBigQueryExportCreateCall), [*big query exports delete*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::FolderBigQueryExportDeleteCall), [*big query exports get*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::FolderBigQueryExportGetCall), [*big query exports list*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::FolderBigQueryExportListCall), [*big query exports patch*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::FolderBigQueryExportPatchCall), [*findings bulk mute*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::FolderFindingBulkMuteCall), [*mute configs create*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::FolderMuteConfigCreateCall), [*mute configs delete*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::FolderMuteConfigDeleteCall), [*mute configs get*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::FolderMuteConfigGetCall), [*mute configs list*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::FolderMuteConfigListCall), [*mute configs patch*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::FolderMuteConfigPatchCall), [*sources findings external systems patch*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::FolderSourceFindingExternalSystemPatchCall), [*sources findings group*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::FolderSourceFindingGroupCall), [*sources findings list*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::FolderSourceFindingListCall), [*sources findings patch*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::FolderSourceFindingPatchCall), [*sources findings set mute*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::FolderSourceFindingSetMuteCall), [*sources findings set state*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::FolderSourceFindingSetStateCall), [*sources findings update security marks*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::FolderSourceFindingUpdateSecurityMarkCall) and [*sources list*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::FolderSourceListCall) +* [folders](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::Folder) + * [*assets group*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::FolderAssetGroupCall), [*assets list*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::FolderAssetListCall), [*assets update security marks*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::FolderAssetUpdateSecurityMarkCall), [*big query exports create*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::FolderBigQueryExportCreateCall), [*big query exports delete*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::FolderBigQueryExportDeleteCall), [*big query exports get*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::FolderBigQueryExportGetCall), [*big query exports list*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::FolderBigQueryExportListCall), [*big query exports patch*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::FolderBigQueryExportPatchCall), [*findings bulk mute*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::FolderFindingBulkMuteCall), [*mute configs create*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::FolderMuteConfigCreateCall), [*mute configs delete*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::FolderMuteConfigDeleteCall), [*mute configs get*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::FolderMuteConfigGetCall), [*mute configs list*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::FolderMuteConfigListCall), [*mute configs patch*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::FolderMuteConfigPatchCall), [*sources findings external systems patch*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::FolderSourceFindingExternalSystemPatchCall), [*sources findings group*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::FolderSourceFindingGroupCall), [*sources findings list*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::FolderSourceFindingListCall), [*sources findings patch*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::FolderSourceFindingPatchCall), [*sources findings set mute*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::FolderSourceFindingSetMuteCall), [*sources findings set state*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::FolderSourceFindingSetStateCall), [*sources findings update security marks*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::FolderSourceFindingUpdateSecurityMarkCall) and [*sources list*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::FolderSourceListCall) * organizations - * [*assets group*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::OrganizationAssetGroupCall), [*assets list*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::OrganizationAssetListCall), [*assets run discovery*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::OrganizationAssetRunDiscoveryCall), [*assets update security marks*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::OrganizationAssetUpdateSecurityMarkCall), [*big query exports create*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::OrganizationBigQueryExportCreateCall), [*big query exports delete*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::OrganizationBigQueryExportDeleteCall), [*big query exports get*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::OrganizationBigQueryExportGetCall), [*big query exports list*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::OrganizationBigQueryExportListCall), [*big query exports patch*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::OrganizationBigQueryExportPatchCall), [*findings bulk mute*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::OrganizationFindingBulkMuteCall), [*get organization settings*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::OrganizationGetOrganizationSettingCall), [*mute configs create*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::OrganizationMuteConfigCreateCall), [*mute configs delete*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::OrganizationMuteConfigDeleteCall), [*mute configs get*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::OrganizationMuteConfigGetCall), [*mute configs list*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::OrganizationMuteConfigListCall), [*mute configs patch*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::OrganizationMuteConfigPatchCall), [*notification configs create*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::OrganizationNotificationConfigCreateCall), [*notification configs delete*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::OrganizationNotificationConfigDeleteCall), [*notification configs get*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::OrganizationNotificationConfigGetCall), [*notification configs list*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::OrganizationNotificationConfigListCall), [*notification configs patch*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::OrganizationNotificationConfigPatchCall), [*operations cancel*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::OrganizationOperationCancelCall), [*operations delete*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::OrganizationOperationDeleteCall), [*operations get*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::OrganizationOperationGetCall), [*operations list*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::OrganizationOperationListCall), [*sources create*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::OrganizationSourceCreateCall), [*sources findings create*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::OrganizationSourceFindingCreateCall), [*sources findings external systems patch*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::OrganizationSourceFindingExternalSystemPatchCall), [*sources findings group*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::OrganizationSourceFindingGroupCall), [*sources findings list*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::OrganizationSourceFindingListCall), [*sources findings patch*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::OrganizationSourceFindingPatchCall), [*sources findings set mute*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::OrganizationSourceFindingSetMuteCall), [*sources findings set state*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::OrganizationSourceFindingSetStateCall), [*sources findings update security marks*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::OrganizationSourceFindingUpdateSecurityMarkCall), [*sources get*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::OrganizationSourceGetCall), [*sources get iam policy*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::OrganizationSourceGetIamPolicyCall), [*sources list*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::OrganizationSourceListCall), [*sources patch*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::OrganizationSourcePatchCall), [*sources set iam policy*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::OrganizationSourceSetIamPolicyCall), [*sources test iam permissions*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::OrganizationSourceTestIamPermissionCall) and [*update organization settings*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::OrganizationUpdateOrganizationSettingCall) + * [*assets group*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::OrganizationAssetGroupCall), [*assets list*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::OrganizationAssetListCall), [*assets run discovery*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::OrganizationAssetRunDiscoveryCall), [*assets update security marks*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::OrganizationAssetUpdateSecurityMarkCall), [*big query exports create*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::OrganizationBigQueryExportCreateCall), [*big query exports delete*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::OrganizationBigQueryExportDeleteCall), [*big query exports get*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::OrganizationBigQueryExportGetCall), [*big query exports list*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::OrganizationBigQueryExportListCall), [*big query exports patch*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::OrganizationBigQueryExportPatchCall), [*findings bulk mute*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::OrganizationFindingBulkMuteCall), [*get organization settings*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::OrganizationGetOrganizationSettingCall), [*mute configs create*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::OrganizationMuteConfigCreateCall), [*mute configs delete*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::OrganizationMuteConfigDeleteCall), [*mute configs get*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::OrganizationMuteConfigGetCall), [*mute configs list*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::OrganizationMuteConfigListCall), [*mute configs patch*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::OrganizationMuteConfigPatchCall), [*notification configs create*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::OrganizationNotificationConfigCreateCall), [*notification configs delete*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::OrganizationNotificationConfigDeleteCall), [*notification configs get*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::OrganizationNotificationConfigGetCall), [*notification configs list*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::OrganizationNotificationConfigListCall), [*notification configs patch*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::OrganizationNotificationConfigPatchCall), [*operations cancel*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::OrganizationOperationCancelCall), [*operations delete*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::OrganizationOperationDeleteCall), [*operations get*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::OrganizationOperationGetCall), [*operations list*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::OrganizationOperationListCall), [*sources create*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::OrganizationSourceCreateCall), [*sources findings create*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::OrganizationSourceFindingCreateCall), [*sources findings external systems patch*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::OrganizationSourceFindingExternalSystemPatchCall), [*sources findings group*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::OrganizationSourceFindingGroupCall), [*sources findings list*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::OrganizationSourceFindingListCall), [*sources findings patch*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::OrganizationSourceFindingPatchCall), [*sources findings set mute*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::OrganizationSourceFindingSetMuteCall), [*sources findings set state*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::OrganizationSourceFindingSetStateCall), [*sources findings update security marks*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::OrganizationSourceFindingUpdateSecurityMarkCall), [*sources get*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::OrganizationSourceGetCall), [*sources get iam policy*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::OrganizationSourceGetIamPolicyCall), [*sources list*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::OrganizationSourceListCall), [*sources patch*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::OrganizationSourcePatchCall), [*sources set iam policy*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::OrganizationSourceSetIamPolicyCall), [*sources test iam permissions*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::OrganizationSourceTestIamPermissionCall) and [*update organization settings*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::OrganizationUpdateOrganizationSettingCall) * projects - * [*assets group*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::ProjectAssetGroupCall), [*assets list*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::ProjectAssetListCall), [*assets update security marks*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::ProjectAssetUpdateSecurityMarkCall), [*big query exports create*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::ProjectBigQueryExportCreateCall), [*big query exports delete*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::ProjectBigQueryExportDeleteCall), [*big query exports get*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::ProjectBigQueryExportGetCall), [*big query exports list*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::ProjectBigQueryExportListCall), [*big query exports patch*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::ProjectBigQueryExportPatchCall), [*findings bulk mute*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::ProjectFindingBulkMuteCall), [*mute configs create*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::ProjectMuteConfigCreateCall), [*mute configs delete*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::ProjectMuteConfigDeleteCall), [*mute configs get*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::ProjectMuteConfigGetCall), [*mute configs list*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::ProjectMuteConfigListCall), [*mute configs patch*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::ProjectMuteConfigPatchCall), [*sources findings external systems patch*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::ProjectSourceFindingExternalSystemPatchCall), [*sources findings group*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::ProjectSourceFindingGroupCall), [*sources findings list*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::ProjectSourceFindingListCall), [*sources findings patch*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::ProjectSourceFindingPatchCall), [*sources findings set mute*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::ProjectSourceFindingSetMuteCall), [*sources findings set state*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::ProjectSourceFindingSetStateCall), [*sources findings update security marks*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::ProjectSourceFindingUpdateSecurityMarkCall) and [*sources list*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/api::ProjectSourceListCall) + * [*assets group*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::ProjectAssetGroupCall), [*assets list*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::ProjectAssetListCall), [*assets update security marks*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::ProjectAssetUpdateSecurityMarkCall), [*big query exports create*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::ProjectBigQueryExportCreateCall), [*big query exports delete*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::ProjectBigQueryExportDeleteCall), [*big query exports get*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::ProjectBigQueryExportGetCall), [*big query exports list*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::ProjectBigQueryExportListCall), [*big query exports patch*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::ProjectBigQueryExportPatchCall), [*findings bulk mute*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::ProjectFindingBulkMuteCall), [*mute configs create*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::ProjectMuteConfigCreateCall), [*mute configs delete*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::ProjectMuteConfigDeleteCall), [*mute configs get*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::ProjectMuteConfigGetCall), [*mute configs list*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::ProjectMuteConfigListCall), [*mute configs patch*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::ProjectMuteConfigPatchCall), [*sources findings external systems patch*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::ProjectSourceFindingExternalSystemPatchCall), [*sources findings group*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::ProjectSourceFindingGroupCall), [*sources findings list*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::ProjectSourceFindingListCall), [*sources findings patch*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::ProjectSourceFindingPatchCall), [*sources findings set mute*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::ProjectSourceFindingSetMuteCall), [*sources findings set state*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::ProjectSourceFindingSetStateCall), [*sources findings update security marks*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::ProjectSourceFindingUpdateSecurityMarkCall) and [*sources list*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/api::ProjectSourceListCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/SecurityCommandCenter)** +* **[Hub](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/SecurityCommandCenter)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/client::CallBuilder) -* **[Resources](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/client::CallBuilder) +* **[Resources](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/client::Part)** + * **[Parts](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -115,7 +115,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -150,17 +150,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -170,29 +170,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/client::Delegate) to the -[Method Builder](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/client::Delegate) to the +[Method Builder](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/client::RequestValue) and -[decodable](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/client::RequestValue) and +[decodable](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-securitycenter1/3.0.0+20220224/google_securitycenter1/client::RequestValue) are moved +* [request values](https://docs.rs/google-securitycenter1/3.1.0+20220224/google_securitycenter1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/securitycenter1/src/api.rs b/gen/securitycenter1/src/api.rs index ee65aeea13..a3cfc57b91 100644 --- a/gen/securitycenter1/src/api.rs +++ b/gen/securitycenter1/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > SecurityCommandCenter<> { SecurityCommandCenter { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://securitycenter.googleapis.com/".to_string(), _root_url: "https://securitycenter.googleapis.com/".to_string(), } @@ -137,7 +137,7 @@ impl<'a, > SecurityCommandCenter<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1556,7 +1556,7 @@ impl client::Part for Vulnerability {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `assets_group(...)`, `assets_list(...)`, `assets_update_security_marks(...)`, `big_query_exports_create(...)`, `big_query_exports_delete(...)`, `big_query_exports_get(...)`, `big_query_exports_list(...)`, `big_query_exports_patch(...)`, `findings_bulk_mute(...)`, `mute_configs_create(...)`, `mute_configs_delete(...)`, `mute_configs_get(...)`, `mute_configs_list(...)`, `mute_configs_patch(...)`, `sources_findings_external_systems_patch(...)`, `sources_findings_group(...)`, `sources_findings_list(...)`, `sources_findings_patch(...)`, `sources_findings_set_mute(...)`, `sources_findings_set_state(...)`, `sources_findings_update_security_marks(...)` and `sources_list(...)` /// // to build up your call. @@ -2027,7 +2027,7 @@ impl<'a> FolderMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `assets_group(...)`, `assets_list(...)`, `assets_run_discovery(...)`, `assets_update_security_marks(...)`, `big_query_exports_create(...)`, `big_query_exports_delete(...)`, `big_query_exports_get(...)`, `big_query_exports_list(...)`, `big_query_exports_patch(...)`, `findings_bulk_mute(...)`, `get_organization_settings(...)`, `mute_configs_create(...)`, `mute_configs_delete(...)`, `mute_configs_get(...)`, `mute_configs_list(...)`, `mute_configs_patch(...)`, `notification_configs_create(...)`, `notification_configs_delete(...)`, `notification_configs_get(...)`, `notification_configs_list(...)`, `notification_configs_patch(...)`, `operations_cancel(...)`, `operations_delete(...)`, `operations_get(...)`, `operations_list(...)`, `sources_create(...)`, `sources_findings_create(...)`, `sources_findings_external_systems_patch(...)`, `sources_findings_group(...)`, `sources_findings_list(...)`, `sources_findings_patch(...)`, `sources_findings_set_mute(...)`, `sources_findings_set_state(...)`, `sources_findings_update_security_marks(...)`, `sources_get(...)`, `sources_get_iam_policy(...)`, `sources_list(...)`, `sources_patch(...)`, `sources_set_iam_policy(...)`, `sources_test_iam_permissions(...)` and `update_organization_settings(...)` /// // to build up your call. @@ -2851,7 +2851,7 @@ impl<'a> OrganizationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `assets_group(...)`, `assets_list(...)`, `assets_update_security_marks(...)`, `big_query_exports_create(...)`, `big_query_exports_delete(...)`, `big_query_exports_get(...)`, `big_query_exports_list(...)`, `big_query_exports_patch(...)`, `findings_bulk_mute(...)`, `mute_configs_create(...)`, `mute_configs_delete(...)`, `mute_configs_get(...)`, `mute_configs_list(...)`, `mute_configs_patch(...)`, `sources_findings_external_systems_patch(...)`, `sources_findings_group(...)`, `sources_findings_list(...)`, `sources_findings_patch(...)`, `sources_findings_set_mute(...)`, `sources_findings_set_state(...)`, `sources_findings_update_security_marks(...)` and `sources_list(...)` /// // to build up your call. @@ -3330,7 +3330,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3615,7 +3615,7 @@ impl<'a> FolderAssetGroupCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3956,7 +3956,7 @@ impl<'a> FolderAssetListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4266,7 +4266,7 @@ impl<'a> FolderAssetUpdateSecurityMarkCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4563,7 +4563,7 @@ impl<'a> FolderBigQueryExportCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4819,7 +4819,7 @@ impl<'a> FolderBigQueryExportDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5075,7 +5075,7 @@ impl<'a> FolderBigQueryExportGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5356,7 +5356,7 @@ impl<'a> FolderBigQueryExportListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5654,7 +5654,7 @@ impl<'a> FolderBigQueryExportPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5940,7 +5940,7 @@ impl<'a> FolderFindingBulkMuteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6237,7 +6237,7 @@ impl<'a> FolderMuteConfigCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6493,7 +6493,7 @@ impl<'a> FolderMuteConfigDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6749,7 +6749,7 @@ impl<'a> FolderMuteConfigGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7030,7 +7030,7 @@ impl<'a> FolderMuteConfigListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7328,7 +7328,7 @@ impl<'a> FolderMuteConfigPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7626,7 +7626,7 @@ impl<'a> FolderSourceFindingExternalSystemPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7911,7 +7911,7 @@ impl<'a> FolderSourceFindingGroupCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8252,7 +8252,7 @@ impl<'a> FolderSourceFindingListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8550,7 +8550,7 @@ impl<'a> FolderSourceFindingPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8836,7 +8836,7 @@ impl<'a> FolderSourceFindingSetMuteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9122,7 +9122,7 @@ impl<'a> FolderSourceFindingSetStateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9431,7 +9431,7 @@ impl<'a> FolderSourceFindingUpdateSecurityMarkCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9712,7 +9712,7 @@ impl<'a> FolderSourceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9997,7 +9997,7 @@ impl<'a> OrganizationAssetGroupCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10338,7 +10338,7 @@ impl<'a> OrganizationAssetListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10624,7 +10624,7 @@ impl<'a> OrganizationAssetRunDiscoveryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10934,7 +10934,7 @@ impl<'a> OrganizationAssetUpdateSecurityMarkCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11231,7 +11231,7 @@ impl<'a> OrganizationBigQueryExportCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11487,7 +11487,7 @@ impl<'a> OrganizationBigQueryExportDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11743,7 +11743,7 @@ impl<'a> OrganizationBigQueryExportGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12024,7 +12024,7 @@ impl<'a> OrganizationBigQueryExportListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12322,7 +12322,7 @@ impl<'a> OrganizationBigQueryExportPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12608,7 +12608,7 @@ impl<'a> OrganizationFindingBulkMuteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12905,7 +12905,7 @@ impl<'a> OrganizationMuteConfigCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13161,7 +13161,7 @@ impl<'a> OrganizationMuteConfigDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13417,7 +13417,7 @@ impl<'a> OrganizationMuteConfigGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13698,7 +13698,7 @@ impl<'a> OrganizationMuteConfigListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13996,7 +13996,7 @@ impl<'a> OrganizationMuteConfigPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14293,7 +14293,7 @@ impl<'a> OrganizationNotificationConfigCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14549,7 +14549,7 @@ impl<'a> OrganizationNotificationConfigDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14805,7 +14805,7 @@ impl<'a> OrganizationNotificationConfigGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15086,7 +15086,7 @@ impl<'a> OrganizationNotificationConfigListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15383,7 +15383,7 @@ impl<'a> OrganizationNotificationConfigPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15639,7 +15639,7 @@ impl<'a> OrganizationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15895,7 +15895,7 @@ impl<'a> OrganizationOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16151,7 +16151,7 @@ impl<'a> OrganizationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16444,7 +16444,7 @@ impl<'a> OrganizationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16742,7 +16742,7 @@ impl<'a> OrganizationSourceFindingExternalSystemPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17040,7 +17040,7 @@ impl<'a> OrganizationSourceFindingCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17325,7 +17325,7 @@ impl<'a> OrganizationSourceFindingGroupCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17666,7 +17666,7 @@ impl<'a> OrganizationSourceFindingListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17964,7 +17964,7 @@ impl<'a> OrganizationSourceFindingPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18250,7 +18250,7 @@ impl<'a> OrganizationSourceFindingSetMuteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18536,7 +18536,7 @@ impl<'a> OrganizationSourceFindingSetStateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18846,7 +18846,7 @@ impl<'a> OrganizationSourceFindingUpdateSecurityMarkCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19131,7 +19131,7 @@ impl<'a> OrganizationSourceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19388,7 +19388,7 @@ impl<'a> OrganizationSourceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19673,7 +19673,7 @@ impl<'a> OrganizationSourceGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19954,7 +19954,7 @@ impl<'a> OrganizationSourceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20252,7 +20252,7 @@ impl<'a> OrganizationSourcePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20538,7 +20538,7 @@ impl<'a> OrganizationSourceSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20823,7 +20823,7 @@ impl<'a> OrganizationSourceTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21080,7 +21080,7 @@ impl<'a> OrganizationGetOrganizationSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21378,7 +21378,7 @@ impl<'a> OrganizationUpdateOrganizationSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21663,7 +21663,7 @@ impl<'a> ProjectAssetGroupCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22004,7 +22004,7 @@ impl<'a> ProjectAssetListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22314,7 +22314,7 @@ impl<'a> ProjectAssetUpdateSecurityMarkCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22611,7 +22611,7 @@ impl<'a> ProjectBigQueryExportCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22867,7 +22867,7 @@ impl<'a> ProjectBigQueryExportDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23123,7 +23123,7 @@ impl<'a> ProjectBigQueryExportGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23404,7 +23404,7 @@ impl<'a> ProjectBigQueryExportListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23702,7 +23702,7 @@ impl<'a> ProjectBigQueryExportPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23988,7 +23988,7 @@ impl<'a> ProjectFindingBulkMuteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24285,7 +24285,7 @@ impl<'a> ProjectMuteConfigCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24541,7 +24541,7 @@ impl<'a> ProjectMuteConfigDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24797,7 +24797,7 @@ impl<'a> ProjectMuteConfigGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25078,7 +25078,7 @@ impl<'a> ProjectMuteConfigListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25376,7 +25376,7 @@ impl<'a> ProjectMuteConfigPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25674,7 +25674,7 @@ impl<'a> ProjectSourceFindingExternalSystemPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -25959,7 +25959,7 @@ impl<'a> ProjectSourceFindingGroupCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26300,7 +26300,7 @@ impl<'a> ProjectSourceFindingListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26598,7 +26598,7 @@ impl<'a> ProjectSourceFindingPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26884,7 +26884,7 @@ impl<'a> ProjectSourceFindingSetMuteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27170,7 +27170,7 @@ impl<'a> ProjectSourceFindingSetStateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -27479,7 +27479,7 @@ impl<'a> ProjectSourceFindingUpdateSecurityMarkCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/securitycenter1/src/lib.rs b/gen/securitycenter1/src/lib.rs index 81773807a8..1e0aa5e68f 100644 --- a/gen/securitycenter1/src/lib.rs +++ b/gen/securitycenter1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Security Command Center* crate version *3.0.0+20220224*, where *20220224* is the exact revision of the *securitycenter:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Security Command Center* crate version *3.1.0+20220224*, where *20220224* is the exact revision of the *securitycenter:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Security Command Center* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/security-command-center). @@ -116,7 +116,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = SecurityCommandCenter::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/servicebroker1-cli/Cargo.toml b/gen/servicebroker1-cli/Cargo.toml index d06189ffd8..6c5ae1a6c8 100644 --- a/gen/servicebroker1-cli/Cargo.toml +++ b/gen/servicebroker1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-servicebroker1-cli" -version = "3.0.0+20190624" +version = "3.1.0+20190624" authors = ["Sebastian Thiel "] description = "A complete library to interact with Service Broker (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/servicebroker1-cli" @@ -20,12 +20,12 @@ name = "servicebroker1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-servicebroker1] path = "../servicebroker1" -version = "3.0.0+20190624" +version = "3.1.0+20190624" diff --git a/gen/servicebroker1-cli/README.md b/gen/servicebroker1-cli/README.md index 2d71b6ee2a..88cbfee6a9 100644 --- a/gen/servicebroker1-cli/README.md +++ b/gen/servicebroker1-cli/README.md @@ -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 *Service Broker* API at revision *20190624*. The CLI is at version *3.0.0*. +This documentation was generated from the *Service Broker* API at revision *20190624*. The CLI is at version *3.1.0*. ```bash servicebroker1 [options] diff --git a/gen/servicebroker1-cli/mkdocs.yml b/gen/servicebroker1-cli/mkdocs.yml index 18f44b3987..b69a59d731 100644 --- a/gen/servicebroker1-cli/mkdocs.yml +++ b/gen/servicebroker1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Service Broker v3.0.0+20190624 +site_name: Service Broker v3.1.0+20190624 site_url: http://byron.github.io/google-apis-rs/google-servicebroker1-cli site_description: A complete library to interact with Service Broker (protocol v1) diff --git a/gen/servicebroker1-cli/src/main.rs b/gen/servicebroker1-cli/src/main.rs index 3615fd5efb..08867412e0 100644 --- a/gen/servicebroker1-cli/src/main.rs +++ b/gen/servicebroker1-cli/src/main.rs @@ -321,7 +321,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/servicebroker1", 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::ServiceBroker::new(client, auth), @@ -453,7 +459,7 @@ async fn main() { let mut app = App::new("servicebroker1") .author("Sebastian Thiel ") - .version("3.0.0+20190624") + .version("3.1.0+20190624") .about("The Google Cloud Platform Service Broker API provides Google hosted implementation of the Open Service Broker API (https://www.openservicebrokerapi.org/). diff --git a/gen/servicebroker1/Cargo.toml b/gen/servicebroker1/Cargo.toml index 199b73da26..f21209de29 100644 --- a/gen/servicebroker1/Cargo.toml +++ b/gen/servicebroker1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-servicebroker1" -version = "3.0.0+20190624" +version = "3.1.0+20190624" authors = ["Sebastian Thiel "] description = "A complete library to interact with Service Broker (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/servicebroker1" homepage = "https://cloud.google.com/kubernetes-engine/docs/concepts/add-on/service-broker" -documentation = "https://docs.rs/google-servicebroker1/3.0.0+20190624" +documentation = "https://docs.rs/google-servicebroker1/3.1.0+20190624" license = "MIT" keywords = ["servicebroker", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/servicebroker1/README.md b/gen/servicebroker1/README.md index 31d7c5d8b8..ec8161db8c 100644 --- a/gen/servicebroker1/README.md +++ b/gen/servicebroker1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-servicebroker1` library allows access to all features of the *Google Service Broker* service. -This documentation was generated from *Service Broker* crate version *3.0.0+20190624*, where *20190624* is the exact revision of the *servicebroker:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Service Broker* crate version *3.1.0+20190624*, where *20190624* is the exact revision of the *servicebroker:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Service Broker* *v1* API can be found at the [official documentation site](https://cloud.google.com/kubernetes-engine/docs/concepts/add-on/service-broker). # Features -Use the following functionality with ease from the central [hub](https://docs.rs/google-servicebroker1/3.0.0+20190624/google_servicebroker1/ServiceBroker) ... +Use the following functionality with ease from the central [hub](https://docs.rs/google-servicebroker1/3.1.0+20190624/google_servicebroker1/ServiceBroker) ... -* [get iam policy](https://docs.rs/google-servicebroker1/3.0.0+20190624/google_servicebroker1/api::MethodGetIamPolicyCall) -* [set iam policy](https://docs.rs/google-servicebroker1/3.0.0+20190624/google_servicebroker1/api::MethodSetIamPolicyCall) -* [test iam permissions](https://docs.rs/google-servicebroker1/3.0.0+20190624/google_servicebroker1/api::MethodTestIamPermissionCall) +* [get iam policy](https://docs.rs/google-servicebroker1/3.1.0+20190624/google_servicebroker1/api::MethodGetIamPolicyCall) +* [set iam policy](https://docs.rs/google-servicebroker1/3.1.0+20190624/google_servicebroker1/api::MethodSetIamPolicyCall) +* [test iam permissions](https://docs.rs/google-servicebroker1/3.1.0+20190624/google_servicebroker1/api::MethodTestIamPermissionCall) @@ -24,17 +24,17 @@ Use the following functionality with ease from the central [hub](https://docs.rs The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-servicebroker1/3.0.0+20190624/google_servicebroker1/ServiceBroker)** +* **[Hub](https://docs.rs/google-servicebroker1/3.1.0+20190624/google_servicebroker1/ServiceBroker)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-servicebroker1/3.0.0+20190624/google_servicebroker1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-servicebroker1/3.0.0+20190624/google_servicebroker1/client::CallBuilder) -* **[Resources](https://docs.rs/google-servicebroker1/3.0.0+20190624/google_servicebroker1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-servicebroker1/3.1.0+20190624/google_servicebroker1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-servicebroker1/3.1.0+20190624/google_servicebroker1/client::CallBuilder) +* **[Resources](https://docs.rs/google-servicebroker1/3.1.0+20190624/google_servicebroker1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-servicebroker1/3.0.0+20190624/google_servicebroker1/client::Part)** + * **[Parts](https://docs.rs/google-servicebroker1/3.1.0+20190624/google_servicebroker1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-servicebroker1/3.0.0+20190624/google_servicebroker1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-servicebroker1/3.1.0+20190624/google_servicebroker1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -93,7 +93,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = ServiceBroker::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = ServiceBroker::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -126,17 +126,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-servicebroker1/3.0.0+20190624/google_servicebroker1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-servicebroker1/3.1.0+20190624/google_servicebroker1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-servicebroker1/3.0.0+20190624/google_servicebroker1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-servicebroker1/3.1.0+20190624/google_servicebroker1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-servicebroker1/3.0.0+20190624/google_servicebroker1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-servicebroker1/3.1.0+20190624/google_servicebroker1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-servicebroker1/3.0.0+20190624/google_servicebroker1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-servicebroker1/3.1.0+20190624/google_servicebroker1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -146,29 +146,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-servicebroker1/3.0.0+20190624/google_servicebroker1/client::Delegate) to the -[Method Builder](https://docs.rs/google-servicebroker1/3.0.0+20190624/google_servicebroker1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-servicebroker1/3.1.0+20190624/google_servicebroker1/client::Delegate) to the +[Method Builder](https://docs.rs/google-servicebroker1/3.1.0+20190624/google_servicebroker1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-servicebroker1/3.0.0+20190624/google_servicebroker1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-servicebroker1/3.1.0+20190624/google_servicebroker1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-servicebroker1/3.0.0+20190624/google_servicebroker1/client::RequestValue) and -[decodable](https://docs.rs/google-servicebroker1/3.0.0+20190624/google_servicebroker1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-servicebroker1/3.1.0+20190624/google_servicebroker1/client::RequestValue) and +[decodable](https://docs.rs/google-servicebroker1/3.1.0+20190624/google_servicebroker1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-servicebroker1/3.0.0+20190624/google_servicebroker1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-servicebroker1/3.1.0+20190624/google_servicebroker1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-servicebroker1/3.0.0+20190624/google_servicebroker1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-servicebroker1/3.1.0+20190624/google_servicebroker1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-servicebroker1/3.0.0+20190624/google_servicebroker1/client::RequestValue) are moved +* [request values](https://docs.rs/google-servicebroker1/3.1.0+20190624/google_servicebroker1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/servicebroker1/src/api.rs b/gen/servicebroker1/src/api.rs index c8125cc49a..f244df813f 100644 --- a/gen/servicebroker1/src/api.rs +++ b/gen/servicebroker1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ServiceBroker::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ServiceBroker::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > ServiceBroker<> { ServiceBroker { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://servicebroker.googleapis.com/".to_string(), _root_url: "https://servicebroker.googleapis.com/".to_string(), } @@ -130,7 +130,7 @@ impl<'a, > ServiceBroker<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -399,7 +399,7 @@ impl client::Part for GoogleType__Expr {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ServiceBroker::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ServiceBroker::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get_iam_policy(...)`, `set_iam_policy(...)` and `test_iam_permissions(...)` /// // to build up your call. @@ -516,7 +516,7 @@ impl<'a> MethodMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceBroker::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceBroker::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -775,7 +775,7 @@ impl<'a> MethodGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceBroker::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceBroker::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1068,7 +1068,7 @@ impl<'a> MethodSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceBroker::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceBroker::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/servicebroker1/src/lib.rs b/gen/servicebroker1/src/lib.rs index 9f24d062d0..83170a139d 100644 --- a/gen/servicebroker1/src/lib.rs +++ b/gen/servicebroker1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Service Broker* crate version *3.0.0+20190624*, where *20190624* is the exact revision of the *servicebroker:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Service Broker* crate version *3.1.0+20190624*, where *20190624* is the exact revision of the *servicebroker:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Service Broker* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/kubernetes-engine/docs/concepts/add-on/service-broker). @@ -94,7 +94,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = ServiceBroker::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = ServiceBroker::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/servicecontrol1-cli/Cargo.toml b/gen/servicecontrol1-cli/Cargo.toml index 5b1257d762..b7c80ec030 100644 --- a/gen/servicecontrol1-cli/Cargo.toml +++ b/gen/servicecontrol1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-servicecontrol1-cli" -version = "3.0.0+20220227" +version = "3.1.0+20220227" authors = ["Sebastian Thiel "] description = "A complete library to interact with Service Control (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/servicecontrol1-cli" @@ -20,12 +20,12 @@ name = "servicecontrol1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-servicecontrol1] path = "../servicecontrol1" -version = "3.0.0+20220227" +version = "3.1.0+20220227" diff --git a/gen/servicecontrol1-cli/README.md b/gen/servicecontrol1-cli/README.md index 82044c4a32..6e15cbe7d2 100644 --- a/gen/servicecontrol1-cli/README.md +++ b/gen/servicecontrol1-cli/README.md @@ -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 *Service Control* API at revision *20220227*. The CLI is at version *3.0.0*. +This documentation was generated from the *Service Control* API at revision *20220227*. The CLI is at version *3.1.0*. ```bash servicecontrol1 [options] diff --git a/gen/servicecontrol1-cli/mkdocs.yml b/gen/servicecontrol1-cli/mkdocs.yml index 7ee9c63a89..85d7e9d60b 100644 --- a/gen/servicecontrol1-cli/mkdocs.yml +++ b/gen/servicecontrol1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Service Control v3.0.0+20220227 +site_name: Service Control v3.1.0+20220227 site_url: http://byron.github.io/google-apis-rs/google-servicecontrol1-cli site_description: A complete library to interact with Service Control (protocol v1) diff --git a/gen/servicecontrol1-cli/src/main.rs b/gen/servicecontrol1-cli/src/main.rs index 484d1de7e1..0cefe36bd6 100644 --- a/gen/servicecontrol1-cli/src/main.rs +++ b/gen/servicecontrol1-cli/src/main.rs @@ -369,7 +369,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/servicecontrol1", 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::ServiceControl::new(client, auth), @@ -495,7 +501,7 @@ async fn main() { let mut app = App::new("servicecontrol1") .author("Sebastian Thiel ") - .version("3.0.0+20220227") + .version("3.1.0+20220227") .about("Provides admission control and telemetry reporting for services integrated with Service Infrastructure. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_servicecontrol1_cli") .arg(Arg::with_name("url") diff --git a/gen/servicecontrol1/Cargo.toml b/gen/servicecontrol1/Cargo.toml index b65dd4efef..5257209b4d 100644 --- a/gen/servicecontrol1/Cargo.toml +++ b/gen/servicecontrol1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-servicecontrol1" -version = "3.0.0+20220227" +version = "3.1.0+20220227" authors = ["Sebastian Thiel "] description = "A complete library to interact with Service Control (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/servicecontrol1" homepage = "https://cloud.google.com/service-control/" -documentation = "https://docs.rs/google-servicecontrol1/3.0.0+20220227" +documentation = "https://docs.rs/google-servicecontrol1/3.1.0+20220227" license = "MIT" keywords = ["servicecontrol", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/servicecontrol1/README.md b/gen/servicecontrol1/README.md index 4feca40f0e..3f084404b0 100644 --- a/gen/servicecontrol1/README.md +++ b/gen/servicecontrol1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-servicecontrol1` library allows access to all features of the *Google Service Control* service. -This documentation was generated from *Service Control* crate version *3.0.0+20220227*, where *20220227* is the exact revision of the *servicecontrol:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Service Control* crate version *3.1.0+20220227*, where *20220227* is the exact revision of the *servicecontrol:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Service Control* *v1* API can be found at the [official documentation site](https://cloud.google.com/service-control/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-servicecontrol1/3.0.0+20220227/google_servicecontrol1/ServiceControl) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-servicecontrol1/3.1.0+20220227/google_servicecontrol1/ServiceControl) ... * services - * [*allocate quota*](https://docs.rs/google-servicecontrol1/3.0.0+20220227/google_servicecontrol1/api::ServiceAllocateQuotaCall), [*check*](https://docs.rs/google-servicecontrol1/3.0.0+20220227/google_servicecontrol1/api::ServiceCheckCall) and [*report*](https://docs.rs/google-servicecontrol1/3.0.0+20220227/google_servicecontrol1/api::ServiceReportCall) + * [*allocate quota*](https://docs.rs/google-servicecontrol1/3.1.0+20220227/google_servicecontrol1/api::ServiceAllocateQuotaCall), [*check*](https://docs.rs/google-servicecontrol1/3.1.0+20220227/google_servicecontrol1/api::ServiceCheckCall) and [*report*](https://docs.rs/google-servicecontrol1/3.1.0+20220227/google_servicecontrol1/api::ServiceReportCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-servicecontrol1/3.0.0+20220227/google_servicecontrol1/ServiceControl)** +* **[Hub](https://docs.rs/google-servicecontrol1/3.1.0+20220227/google_servicecontrol1/ServiceControl)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-servicecontrol1/3.0.0+20220227/google_servicecontrol1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-servicecontrol1/3.0.0+20220227/google_servicecontrol1/client::CallBuilder) -* **[Resources](https://docs.rs/google-servicecontrol1/3.0.0+20220227/google_servicecontrol1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-servicecontrol1/3.1.0+20220227/google_servicecontrol1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-servicecontrol1/3.1.0+20220227/google_servicecontrol1/client::CallBuilder) +* **[Resources](https://docs.rs/google-servicecontrol1/3.1.0+20220227/google_servicecontrol1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-servicecontrol1/3.0.0+20220227/google_servicecontrol1/client::Part)** + * **[Parts](https://docs.rs/google-servicecontrol1/3.1.0+20220227/google_servicecontrol1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-servicecontrol1/3.0.0+20220227/google_servicecontrol1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-servicecontrol1/3.1.0+20220227/google_servicecontrol1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -91,7 +91,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = ServiceControl::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = ServiceControl::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -124,17 +124,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-servicecontrol1/3.0.0+20220227/google_servicecontrol1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-servicecontrol1/3.1.0+20220227/google_servicecontrol1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-servicecontrol1/3.0.0+20220227/google_servicecontrol1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-servicecontrol1/3.1.0+20220227/google_servicecontrol1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-servicecontrol1/3.0.0+20220227/google_servicecontrol1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-servicecontrol1/3.1.0+20220227/google_servicecontrol1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-servicecontrol1/3.0.0+20220227/google_servicecontrol1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-servicecontrol1/3.1.0+20220227/google_servicecontrol1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -144,29 +144,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-servicecontrol1/3.0.0+20220227/google_servicecontrol1/client::Delegate) to the -[Method Builder](https://docs.rs/google-servicecontrol1/3.0.0+20220227/google_servicecontrol1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-servicecontrol1/3.1.0+20220227/google_servicecontrol1/client::Delegate) to the +[Method Builder](https://docs.rs/google-servicecontrol1/3.1.0+20220227/google_servicecontrol1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-servicecontrol1/3.0.0+20220227/google_servicecontrol1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-servicecontrol1/3.1.0+20220227/google_servicecontrol1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-servicecontrol1/3.0.0+20220227/google_servicecontrol1/client::RequestValue) and -[decodable](https://docs.rs/google-servicecontrol1/3.0.0+20220227/google_servicecontrol1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-servicecontrol1/3.1.0+20220227/google_servicecontrol1/client::RequestValue) and +[decodable](https://docs.rs/google-servicecontrol1/3.1.0+20220227/google_servicecontrol1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-servicecontrol1/3.0.0+20220227/google_servicecontrol1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-servicecontrol1/3.1.0+20220227/google_servicecontrol1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-servicecontrol1/3.0.0+20220227/google_servicecontrol1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-servicecontrol1/3.1.0+20220227/google_servicecontrol1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-servicecontrol1/3.0.0+20220227/google_servicecontrol1/client::RequestValue) are moved +* [request values](https://docs.rs/google-servicecontrol1/3.1.0+20220227/google_servicecontrol1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/servicecontrol1/src/api.rs b/gen/servicecontrol1/src/api.rs index 8cbcf4fafa..dfb5341c04 100644 --- a/gen/servicecontrol1/src/api.rs +++ b/gen/servicecontrol1/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ServiceControl::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ServiceControl::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -123,7 +123,7 @@ impl<'a, > ServiceControl<> { ServiceControl { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://servicecontrol.googleapis.com/".to_string(), _root_url: "https://servicecontrol.googleapis.com/".to_string(), } @@ -134,7 +134,7 @@ impl<'a, > ServiceControl<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -999,7 +999,7 @@ impl client::Part for TruncatableString {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ServiceControl::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ServiceControl::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `allocate_quota(...)`, `check(...)` and `report(...)` /// // to build up your call. @@ -1105,7 +1105,7 @@ impl<'a> ServiceMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceControl::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceControl::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1387,7 +1387,7 @@ impl<'a> ServiceAllocateQuotaCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceControl::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceControl::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1669,7 +1669,7 @@ impl<'a> ServiceCheckCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceControl::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceControl::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/servicecontrol1/src/lib.rs b/gen/servicecontrol1/src/lib.rs index 970379f838..c97eaef40f 100644 --- a/gen/servicecontrol1/src/lib.rs +++ b/gen/servicecontrol1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Service Control* crate version *3.0.0+20220227*, where *20220227* is the exact revision of the *servicecontrol:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Service Control* crate version *3.1.0+20220227*, where *20220227* is the exact revision of the *servicecontrol:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Service Control* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/service-control/). @@ -92,7 +92,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = ServiceControl::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = ServiceControl::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/servicecontrol2-cli/Cargo.toml b/gen/servicecontrol2-cli/Cargo.toml index 3db9a481dc..cdfbbe5106 100644 --- a/gen/servicecontrol2-cli/Cargo.toml +++ b/gen/servicecontrol2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-servicecontrol2-cli" -version = "3.0.0+20220227" +version = "3.1.0+20220227" authors = ["Sebastian Thiel "] description = "A complete library to interact with Service Control (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/servicecontrol2-cli" @@ -20,12 +20,12 @@ name = "servicecontrol2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-servicecontrol2] path = "../servicecontrol2" -version = "3.0.0+20220227" +version = "3.1.0+20220227" diff --git a/gen/servicecontrol2-cli/README.md b/gen/servicecontrol2-cli/README.md index 70bff797de..44f3c3325e 100644 --- a/gen/servicecontrol2-cli/README.md +++ b/gen/servicecontrol2-cli/README.md @@ -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 *Service Control* API at revision *20220227*. The CLI is at version *3.0.0*. +This documentation was generated from the *Service Control* API at revision *20220227*. The CLI is at version *3.1.0*. ```bash servicecontrol2 [options] diff --git a/gen/servicecontrol2-cli/mkdocs.yml b/gen/servicecontrol2-cli/mkdocs.yml index 32c6a5847d..cce2a91c6e 100644 --- a/gen/servicecontrol2-cli/mkdocs.yml +++ b/gen/servicecontrol2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Service Control v3.0.0+20220227 +site_name: Service Control v3.1.0+20220227 site_url: http://byron.github.io/google-apis-rs/google-servicecontrol2-cli site_description: A complete library to interact with Service Control (protocol v2) diff --git a/gen/servicecontrol2-cli/src/main.rs b/gen/servicecontrol2-cli/src/main.rs index e46adeb3b2..f39218aaa8 100644 --- a/gen/servicecontrol2-cli/src/main.rs +++ b/gen/servicecontrol2-cli/src/main.rs @@ -317,7 +317,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/servicecontrol2", 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::ServiceControl::new(client, auth), @@ -415,7 +421,7 @@ async fn main() { let mut app = App::new("servicecontrol2") .author("Sebastian Thiel ") - .version("3.0.0+20220227") + .version("3.1.0+20220227") .about("Provides admission control and telemetry reporting for services integrated with Service Infrastructure. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_servicecontrol2_cli") .arg(Arg::with_name("url") diff --git a/gen/servicecontrol2/Cargo.toml b/gen/servicecontrol2/Cargo.toml index 3d0fb23824..9e1d5938b2 100644 --- a/gen/servicecontrol2/Cargo.toml +++ b/gen/servicecontrol2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-servicecontrol2" -version = "3.0.0+20220227" +version = "3.1.0+20220227" authors = ["Sebastian Thiel "] description = "A complete library to interact with Service Control (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/servicecontrol2" homepage = "https://cloud.google.com/service-control/" -documentation = "https://docs.rs/google-servicecontrol2/3.0.0+20220227" +documentation = "https://docs.rs/google-servicecontrol2/3.1.0+20220227" license = "MIT" keywords = ["servicecontrol", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/servicecontrol2/README.md b/gen/servicecontrol2/README.md index ac73a6ffcb..5eb3832b85 100644 --- a/gen/servicecontrol2/README.md +++ b/gen/servicecontrol2/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-servicecontrol2` library allows access to all features of the *Google Service Control* service. -This documentation was generated from *Service Control* crate version *3.0.0+20220227*, where *20220227* is the exact revision of the *servicecontrol:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Service Control* crate version *3.1.0+20220227*, where *20220227* is the exact revision of the *servicecontrol:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Service Control* *v2* API can be found at the [official documentation site](https://cloud.google.com/service-control/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-servicecontrol2/3.0.0+20220227/google_servicecontrol2/ServiceControl) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-servicecontrol2/3.1.0+20220227/google_servicecontrol2/ServiceControl) ... * services - * [*check*](https://docs.rs/google-servicecontrol2/3.0.0+20220227/google_servicecontrol2/api::ServiceCheckCall) and [*report*](https://docs.rs/google-servicecontrol2/3.0.0+20220227/google_servicecontrol2/api::ServiceReportCall) + * [*check*](https://docs.rs/google-servicecontrol2/3.1.0+20220227/google_servicecontrol2/api::ServiceCheckCall) and [*report*](https://docs.rs/google-servicecontrol2/3.1.0+20220227/google_servicecontrol2/api::ServiceReportCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-servicecontrol2/3.0.0+20220227/google_servicecontrol2/ServiceControl)** +* **[Hub](https://docs.rs/google-servicecontrol2/3.1.0+20220227/google_servicecontrol2/ServiceControl)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-servicecontrol2/3.0.0+20220227/google_servicecontrol2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-servicecontrol2/3.0.0+20220227/google_servicecontrol2/client::CallBuilder) -* **[Resources](https://docs.rs/google-servicecontrol2/3.0.0+20220227/google_servicecontrol2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-servicecontrol2/3.1.0+20220227/google_servicecontrol2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-servicecontrol2/3.1.0+20220227/google_servicecontrol2/client::CallBuilder) +* **[Resources](https://docs.rs/google-servicecontrol2/3.1.0+20220227/google_servicecontrol2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-servicecontrol2/3.0.0+20220227/google_servicecontrol2/client::Part)** + * **[Parts](https://docs.rs/google-servicecontrol2/3.1.0+20220227/google_servicecontrol2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-servicecontrol2/3.0.0+20220227/google_servicecontrol2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-servicecontrol2/3.1.0+20220227/google_servicecontrol2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -91,7 +91,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = ServiceControl::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = ServiceControl::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -124,17 +124,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-servicecontrol2/3.0.0+20220227/google_servicecontrol2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-servicecontrol2/3.1.0+20220227/google_servicecontrol2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-servicecontrol2/3.0.0+20220227/google_servicecontrol2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-servicecontrol2/3.1.0+20220227/google_servicecontrol2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-servicecontrol2/3.0.0+20220227/google_servicecontrol2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-servicecontrol2/3.1.0+20220227/google_servicecontrol2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-servicecontrol2/3.0.0+20220227/google_servicecontrol2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-servicecontrol2/3.1.0+20220227/google_servicecontrol2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -144,29 +144,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-servicecontrol2/3.0.0+20220227/google_servicecontrol2/client::Delegate) to the -[Method Builder](https://docs.rs/google-servicecontrol2/3.0.0+20220227/google_servicecontrol2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-servicecontrol2/3.1.0+20220227/google_servicecontrol2/client::Delegate) to the +[Method Builder](https://docs.rs/google-servicecontrol2/3.1.0+20220227/google_servicecontrol2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-servicecontrol2/3.0.0+20220227/google_servicecontrol2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-servicecontrol2/3.1.0+20220227/google_servicecontrol2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-servicecontrol2/3.0.0+20220227/google_servicecontrol2/client::RequestValue) and -[decodable](https://docs.rs/google-servicecontrol2/3.0.0+20220227/google_servicecontrol2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-servicecontrol2/3.1.0+20220227/google_servicecontrol2/client::RequestValue) and +[decodable](https://docs.rs/google-servicecontrol2/3.1.0+20220227/google_servicecontrol2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-servicecontrol2/3.0.0+20220227/google_servicecontrol2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-servicecontrol2/3.1.0+20220227/google_servicecontrol2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-servicecontrol2/3.0.0+20220227/google_servicecontrol2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-servicecontrol2/3.1.0+20220227/google_servicecontrol2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-servicecontrol2/3.0.0+20220227/google_servicecontrol2/client::RequestValue) are moved +* [request values](https://docs.rs/google-servicecontrol2/3.1.0+20220227/google_servicecontrol2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/servicecontrol2/src/api.rs b/gen/servicecontrol2/src/api.rs index 8c14f98433..bfbdaf70fb 100644 --- a/gen/servicecontrol2/src/api.rs +++ b/gen/servicecontrol2/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ServiceControl::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ServiceControl::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -123,7 +123,7 @@ impl<'a, > ServiceControl<> { ServiceControl { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://servicecontrol.googleapis.com/".to_string(), _root_url: "https://servicecontrol.googleapis.com/".to_string(), } @@ -134,7 +134,7 @@ impl<'a, > ServiceControl<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -495,7 +495,7 @@ impl client::Part for Status {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ServiceControl::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ServiceControl::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `check(...)` and `report(...)` /// // to build up your call. @@ -582,7 +582,7 @@ impl<'a> ServiceMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceControl::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceControl::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -864,7 +864,7 @@ impl<'a> ServiceCheckCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceControl::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceControl::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/servicecontrol2/src/lib.rs b/gen/servicecontrol2/src/lib.rs index 4f8ebe93ec..ceda0145f8 100644 --- a/gen/servicecontrol2/src/lib.rs +++ b/gen/servicecontrol2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Service Control* crate version *3.0.0+20220227*, where *20220227* is the exact revision of the *servicecontrol:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Service Control* crate version *3.1.0+20220227*, where *20220227* is the exact revision of the *servicecontrol:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Service Control* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/service-control/). @@ -92,7 +92,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = ServiceControl::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = ServiceControl::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/servicedirectory1-cli/Cargo.toml b/gen/servicedirectory1-cli/Cargo.toml index e60a5ad1b8..81f161873b 100644 --- a/gen/servicedirectory1-cli/Cargo.toml +++ b/gen/servicedirectory1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-servicedirectory1-cli" -version = "3.0.0+20220224" +version = "3.1.0+20220224" authors = ["Sebastian Thiel "] description = "A complete library to interact with Service Directory (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/servicedirectory1-cli" @@ -20,12 +20,12 @@ name = "servicedirectory1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-servicedirectory1] path = "../servicedirectory1" -version = "3.0.0+20220224" +version = "3.1.0+20220224" diff --git a/gen/servicedirectory1-cli/README.md b/gen/servicedirectory1-cli/README.md index 1e5fed195f..67b43067fc 100644 --- a/gen/servicedirectory1-cli/README.md +++ b/gen/servicedirectory1-cli/README.md @@ -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 *Service Directory* API at revision *20220224*. The CLI is at version *3.0.0*. +This documentation was generated from the *Service Directory* API at revision *20220224*. The CLI is at version *3.1.0*. ```bash servicedirectory1 [options] diff --git a/gen/servicedirectory1-cli/mkdocs.yml b/gen/servicedirectory1-cli/mkdocs.yml index ee577eb85e..3631a7d16b 100644 --- a/gen/servicedirectory1-cli/mkdocs.yml +++ b/gen/servicedirectory1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Service Directory v3.0.0+20220224 +site_name: Service Directory v3.1.0+20220224 site_url: http://byron.github.io/google-apis-rs/google-servicedirectory1-cli site_description: A complete library to interact with Service Directory (protocol v1) diff --git a/gen/servicedirectory1-cli/src/main.rs b/gen/servicedirectory1-cli/src/main.rs index 6d20253bee..3828980446 100644 --- a/gen/servicedirectory1-cli/src/main.rs +++ b/gen/servicedirectory1-cli/src/main.rs @@ -1926,7 +1926,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/servicedirectory1", 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::ServiceDirectory::new(client, auth), @@ -2574,7 +2580,7 @@ async fn main() { let mut app = App::new("servicedirectory1") .author("Sebastian Thiel ") - .version("3.0.0+20220224") + .version("3.1.0+20220224") .about("Service Directory is a platform for discovering, publishing, and connecting services. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_servicedirectory1_cli") .arg(Arg::with_name("url") diff --git a/gen/servicedirectory1/Cargo.toml b/gen/servicedirectory1/Cargo.toml index 9cb3a1fc00..894a8a9696 100644 --- a/gen/servicedirectory1/Cargo.toml +++ b/gen/servicedirectory1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-servicedirectory1" -version = "3.0.0+20220224" +version = "3.1.0+20220224" authors = ["Sebastian Thiel "] description = "A complete library to interact with Service Directory (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/servicedirectory1" homepage = "https://cloud.google.com/service-directory" -documentation = "https://docs.rs/google-servicedirectory1/3.0.0+20220224" +documentation = "https://docs.rs/google-servicedirectory1/3.1.0+20220224" license = "MIT" keywords = ["servicedirectory", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/servicedirectory1/README.md b/gen/servicedirectory1/README.md index aac95eb698..9ba1d4dcb5 100644 --- a/gen/servicedirectory1/README.md +++ b/gen/servicedirectory1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-servicedirectory1` library allows access to all features of the *Google Service Directory* service. -This documentation was generated from *Service Directory* crate version *3.0.0+20220224*, where *20220224* is the exact revision of the *servicedirectory:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Service Directory* crate version *3.1.0+20220224*, where *20220224* is the exact revision of the *servicedirectory:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Service Directory* *v1* API can be found at the [official documentation site](https://cloud.google.com/service-directory). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/ServiceDirectory) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/ServiceDirectory) ... * projects - * [*locations get*](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/api::ProjectLocationListCall), [*locations namespaces create*](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/api::ProjectLocationNamespaceCreateCall), [*locations namespaces delete*](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/api::ProjectLocationNamespaceDeleteCall), [*locations namespaces get*](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/api::ProjectLocationNamespaceGetCall), [*locations namespaces get iam policy*](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/api::ProjectLocationNamespaceGetIamPolicyCall), [*locations namespaces list*](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/api::ProjectLocationNamespaceListCall), [*locations namespaces patch*](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/api::ProjectLocationNamespacePatchCall), [*locations namespaces services create*](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/api::ProjectLocationNamespaceServiceCreateCall), [*locations namespaces services delete*](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/api::ProjectLocationNamespaceServiceDeleteCall), [*locations namespaces services endpoints create*](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/api::ProjectLocationNamespaceServiceEndpointCreateCall), [*locations namespaces services endpoints delete*](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/api::ProjectLocationNamespaceServiceEndpointDeleteCall), [*locations namespaces services endpoints get*](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/api::ProjectLocationNamespaceServiceEndpointGetCall), [*locations namespaces services endpoints list*](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/api::ProjectLocationNamespaceServiceEndpointListCall), [*locations namespaces services endpoints patch*](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/api::ProjectLocationNamespaceServiceEndpointPatchCall), [*locations namespaces services get*](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/api::ProjectLocationNamespaceServiceGetCall), [*locations namespaces services get iam policy*](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/api::ProjectLocationNamespaceServiceGetIamPolicyCall), [*locations namespaces services list*](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/api::ProjectLocationNamespaceServiceListCall), [*locations namespaces services patch*](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/api::ProjectLocationNamespaceServicePatchCall), [*locations namespaces services resolve*](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/api::ProjectLocationNamespaceServiceResolveCall), [*locations namespaces services set iam policy*](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/api::ProjectLocationNamespaceServiceSetIamPolicyCall), [*locations namespaces services test iam permissions*](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/api::ProjectLocationNamespaceServiceTestIamPermissionCall), [*locations namespaces set iam policy*](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/api::ProjectLocationNamespaceSetIamPolicyCall) and [*locations namespaces test iam permissions*](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/api::ProjectLocationNamespaceTestIamPermissionCall) + * [*locations get*](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/api::ProjectLocationListCall), [*locations namespaces create*](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/api::ProjectLocationNamespaceCreateCall), [*locations namespaces delete*](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/api::ProjectLocationNamespaceDeleteCall), [*locations namespaces get*](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/api::ProjectLocationNamespaceGetCall), [*locations namespaces get iam policy*](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/api::ProjectLocationNamespaceGetIamPolicyCall), [*locations namespaces list*](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/api::ProjectLocationNamespaceListCall), [*locations namespaces patch*](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/api::ProjectLocationNamespacePatchCall), [*locations namespaces services create*](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/api::ProjectLocationNamespaceServiceCreateCall), [*locations namespaces services delete*](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/api::ProjectLocationNamespaceServiceDeleteCall), [*locations namespaces services endpoints create*](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/api::ProjectLocationNamespaceServiceEndpointCreateCall), [*locations namespaces services endpoints delete*](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/api::ProjectLocationNamespaceServiceEndpointDeleteCall), [*locations namespaces services endpoints get*](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/api::ProjectLocationNamespaceServiceEndpointGetCall), [*locations namespaces services endpoints list*](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/api::ProjectLocationNamespaceServiceEndpointListCall), [*locations namespaces services endpoints patch*](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/api::ProjectLocationNamespaceServiceEndpointPatchCall), [*locations namespaces services get*](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/api::ProjectLocationNamespaceServiceGetCall), [*locations namespaces services get iam policy*](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/api::ProjectLocationNamespaceServiceGetIamPolicyCall), [*locations namespaces services list*](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/api::ProjectLocationNamespaceServiceListCall), [*locations namespaces services patch*](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/api::ProjectLocationNamespaceServicePatchCall), [*locations namespaces services resolve*](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/api::ProjectLocationNamespaceServiceResolveCall), [*locations namespaces services set iam policy*](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/api::ProjectLocationNamespaceServiceSetIamPolicyCall), [*locations namespaces services test iam permissions*](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/api::ProjectLocationNamespaceServiceTestIamPermissionCall), [*locations namespaces set iam policy*](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/api::ProjectLocationNamespaceSetIamPolicyCall) and [*locations namespaces test iam permissions*](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/api::ProjectLocationNamespaceTestIamPermissionCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/ServiceDirectory)** +* **[Hub](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/ServiceDirectory)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/client::CallBuilder) -* **[Resources](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/client::CallBuilder) +* **[Resources](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/client::Part)** + * **[Parts](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -94,7 +94,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -127,17 +127,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -147,29 +147,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/client::Delegate) to the -[Method Builder](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/client::Delegate) to the +[Method Builder](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/client::RequestValue) and -[decodable](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/client::RequestValue) and +[decodable](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-servicedirectory1/3.0.0+20220224/google_servicedirectory1/client::RequestValue) are moved +* [request values](https://docs.rs/google-servicedirectory1/3.1.0+20220224/google_servicedirectory1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/servicedirectory1/src/api.rs b/gen/servicedirectory1/src/api.rs index 1ab7cdb534..117f616104 100644 --- a/gen/servicedirectory1/src/api.rs +++ b/gen/servicedirectory1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > ServiceDirectory<> { ServiceDirectory { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://servicedirectory.googleapis.com/".to_string(), _root_url: "https://servicedirectory.googleapis.com/".to_string(), } @@ -130,7 +130,7 @@ impl<'a, > ServiceDirectory<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -581,7 +581,7 @@ impl client::ResponseResult for TestIamPermissionsResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_get(...)`, `locations_list(...)`, `locations_namespaces_create(...)`, `locations_namespaces_delete(...)`, `locations_namespaces_get(...)`, `locations_namespaces_get_iam_policy(...)`, `locations_namespaces_list(...)`, `locations_namespaces_patch(...)`, `locations_namespaces_services_create(...)`, `locations_namespaces_services_delete(...)`, `locations_namespaces_services_endpoints_create(...)`, `locations_namespaces_services_endpoints_delete(...)`, `locations_namespaces_services_endpoints_get(...)`, `locations_namespaces_services_endpoints_list(...)`, `locations_namespaces_services_endpoints_patch(...)`, `locations_namespaces_services_get(...)`, `locations_namespaces_services_get_iam_policy(...)`, `locations_namespaces_services_list(...)`, `locations_namespaces_services_patch(...)`, `locations_namespaces_services_resolve(...)`, `locations_namespaces_services_set_iam_policy(...)`, `locations_namespaces_services_test_iam_permissions(...)`, `locations_namespaces_set_iam_policy(...)` and `locations_namespaces_test_iam_permissions(...)` /// // to build up your call. @@ -1085,7 +1085,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1382,7 +1382,7 @@ impl<'a> ProjectLocationNamespaceServiceEndpointCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1638,7 +1638,7 @@ impl<'a> ProjectLocationNamespaceServiceEndpointDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1894,7 +1894,7 @@ impl<'a> ProjectLocationNamespaceServiceEndpointGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2199,7 +2199,7 @@ impl<'a> ProjectLocationNamespaceServiceEndpointListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2497,7 +2497,7 @@ impl<'a> ProjectLocationNamespaceServiceEndpointPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2794,7 +2794,7 @@ impl<'a> ProjectLocationNamespaceServiceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3050,7 +3050,7 @@ impl<'a> ProjectLocationNamespaceServiceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3307,7 +3307,7 @@ impl<'a> ProjectLocationNamespaceServiceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3592,7 +3592,7 @@ impl<'a> ProjectLocationNamespaceServiceGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3897,7 +3897,7 @@ impl<'a> ProjectLocationNamespaceServiceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4195,7 +4195,7 @@ impl<'a> ProjectLocationNamespaceServicePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4481,7 +4481,7 @@ impl<'a> ProjectLocationNamespaceServiceResolveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4767,7 +4767,7 @@ impl<'a> ProjectLocationNamespaceServiceSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5053,7 +5053,7 @@ impl<'a> ProjectLocationNamespaceServiceTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5350,7 +5350,7 @@ impl<'a> ProjectLocationNamespaceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5606,7 +5606,7 @@ impl<'a> ProjectLocationNamespaceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5863,7 +5863,7 @@ impl<'a> ProjectLocationNamespaceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6148,7 +6148,7 @@ impl<'a> ProjectLocationNamespaceGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6453,7 +6453,7 @@ impl<'a> ProjectLocationNamespaceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6751,7 +6751,7 @@ impl<'a> ProjectLocationNamespacePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7037,7 +7037,7 @@ impl<'a> ProjectLocationNamespaceSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7322,7 +7322,7 @@ impl<'a> ProjectLocationNamespaceTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7578,7 +7578,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/servicedirectory1/src/lib.rs b/gen/servicedirectory1/src/lib.rs index 0d6af5e2eb..f883194c0d 100644 --- a/gen/servicedirectory1/src/lib.rs +++ b/gen/servicedirectory1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Service Directory* crate version *3.0.0+20220224*, where *20220224* is the exact revision of the *servicedirectory:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Service Directory* crate version *3.1.0+20220224*, where *20220224* is the exact revision of the *servicedirectory:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Service Directory* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/service-directory). @@ -95,7 +95,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/servicedirectory1_beta1-cli/Cargo.toml b/gen/servicedirectory1_beta1-cli/Cargo.toml index a1ae6a8c50..7d4dea2543 100644 --- a/gen/servicedirectory1_beta1-cli/Cargo.toml +++ b/gen/servicedirectory1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-servicedirectory1_beta1-cli" -version = "3.0.0+20220224" +version = "3.1.0+20220224" authors = ["Sebastian Thiel "] description = "A complete library to interact with Service Directory (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/servicedirectory1_beta1-cli" @@ -20,12 +20,12 @@ name = "servicedirectory1-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-servicedirectory1_beta1] path = "../servicedirectory1_beta1" -version = "3.0.0+20220224" +version = "3.1.0+20220224" diff --git a/gen/servicedirectory1_beta1-cli/README.md b/gen/servicedirectory1_beta1-cli/README.md index 0f56211501..f7603ac6b9 100644 --- a/gen/servicedirectory1_beta1-cli/README.md +++ b/gen/servicedirectory1_beta1-cli/README.md @@ -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 *Service Directory* API at revision *20220224*. The CLI is at version *3.0.0*. +This documentation was generated from the *Service Directory* API at revision *20220224*. The CLI is at version *3.1.0*. ```bash servicedirectory1-beta1 [options] diff --git a/gen/servicedirectory1_beta1-cli/mkdocs.yml b/gen/servicedirectory1_beta1-cli/mkdocs.yml index ed870b7689..37d8bcbe4c 100644 --- a/gen/servicedirectory1_beta1-cli/mkdocs.yml +++ b/gen/servicedirectory1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Service Directory v3.0.0+20220224 +site_name: Service Directory v3.1.0+20220224 site_url: http://byron.github.io/google-apis-rs/google-servicedirectory1_beta1-cli site_description: A complete library to interact with Service Directory (protocol v1beta1) diff --git a/gen/servicedirectory1_beta1-cli/src/main.rs b/gen/servicedirectory1_beta1-cli/src/main.rs index abc15cfdb0..5edfdb9d84 100644 --- a/gen/servicedirectory1_beta1-cli/src/main.rs +++ b/gen/servicedirectory1_beta1-cli/src/main.rs @@ -1938,7 +1938,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/servicedirectory1-beta1", 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::ServiceDirectory::new(client, auth), @@ -2586,7 +2592,7 @@ async fn main() { let mut app = App::new("servicedirectory1-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20220224") + .version("3.1.0+20220224") .about("Service Directory is a platform for discovering, publishing, and connecting services. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_servicedirectory1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/servicedirectory1_beta1/Cargo.toml b/gen/servicedirectory1_beta1/Cargo.toml index 951d994dbc..69478cb59c 100644 --- a/gen/servicedirectory1_beta1/Cargo.toml +++ b/gen/servicedirectory1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-servicedirectory1_beta1" -version = "3.0.0+20220224" +version = "3.1.0+20220224" authors = ["Sebastian Thiel "] description = "A complete library to interact with Service Directory (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/servicedirectory1_beta1" homepage = "https://cloud.google.com/service-directory" -documentation = "https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224" +documentation = "https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224" license = "MIT" keywords = ["servicedirectory", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/servicedirectory1_beta1/README.md b/gen/servicedirectory1_beta1/README.md index 90b8565a8a..3ae89467c6 100644 --- a/gen/servicedirectory1_beta1/README.md +++ b/gen/servicedirectory1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-servicedirectory1_beta1` library allows access to all features of the *Google Service Directory* service. -This documentation was generated from *Service Directory* crate version *3.0.0+20220224*, where *20220224* is the exact revision of the *servicedirectory:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Service Directory* crate version *3.1.0+20220224*, where *20220224* is the exact revision of the *servicedirectory:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Service Directory* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/service-directory). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/ServiceDirectory) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/ServiceDirectory) ... * projects - * [*locations get*](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationListCall), [*locations namespaces create*](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespaceCreateCall), [*locations namespaces delete*](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespaceDeleteCall), [*locations namespaces get*](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespaceGetCall), [*locations namespaces get iam policy*](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespaceGetIamPolicyCall), [*locations namespaces list*](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespaceListCall), [*locations namespaces patch*](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespacePatchCall), [*locations namespaces services create*](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceCreateCall), [*locations namespaces services delete*](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceDeleteCall), [*locations namespaces services endpoints create*](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceEndpointCreateCall), [*locations namespaces services endpoints delete*](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceEndpointDeleteCall), [*locations namespaces services endpoints get*](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceEndpointGetCall), [*locations namespaces services endpoints list*](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceEndpointListCall), [*locations namespaces services endpoints patch*](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceEndpointPatchCall), [*locations namespaces services get*](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceGetCall), [*locations namespaces services get iam policy*](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceGetIamPolicyCall), [*locations namespaces services list*](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceListCall), [*locations namespaces services patch*](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServicePatchCall), [*locations namespaces services resolve*](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceResolveCall), [*locations namespaces services set iam policy*](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceSetIamPolicyCall), [*locations namespaces services test iam permissions*](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceTestIamPermissionCall), [*locations namespaces set iam policy*](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespaceSetIamPolicyCall) and [*locations namespaces test iam permissions*](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespaceTestIamPermissionCall) + * [*locations get*](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationListCall), [*locations namespaces create*](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespaceCreateCall), [*locations namespaces delete*](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespaceDeleteCall), [*locations namespaces get*](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespaceGetCall), [*locations namespaces get iam policy*](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespaceGetIamPolicyCall), [*locations namespaces list*](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespaceListCall), [*locations namespaces patch*](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespacePatchCall), [*locations namespaces services create*](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceCreateCall), [*locations namespaces services delete*](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceDeleteCall), [*locations namespaces services endpoints create*](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceEndpointCreateCall), [*locations namespaces services endpoints delete*](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceEndpointDeleteCall), [*locations namespaces services endpoints get*](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceEndpointGetCall), [*locations namespaces services endpoints list*](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceEndpointListCall), [*locations namespaces services endpoints patch*](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceEndpointPatchCall), [*locations namespaces services get*](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceGetCall), [*locations namespaces services get iam policy*](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceGetIamPolicyCall), [*locations namespaces services list*](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceListCall), [*locations namespaces services patch*](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServicePatchCall), [*locations namespaces services resolve*](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceResolveCall), [*locations namespaces services set iam policy*](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceSetIamPolicyCall), [*locations namespaces services test iam permissions*](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespaceServiceTestIamPermissionCall), [*locations namespaces set iam policy*](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespaceSetIamPolicyCall) and [*locations namespaces test iam permissions*](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/api::ProjectLocationNamespaceTestIamPermissionCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/ServiceDirectory)** +* **[Hub](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/ServiceDirectory)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -94,7 +94,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -127,17 +127,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -147,29 +147,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-servicedirectory1_beta1/3.0.0+20220224/google_servicedirectory1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-servicedirectory1_beta1/3.1.0+20220224/google_servicedirectory1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/servicedirectory1_beta1/src/api.rs b/gen/servicedirectory1_beta1/src/api.rs index ed398a6a9a..4940233586 100644 --- a/gen/servicedirectory1_beta1/src/api.rs +++ b/gen/servicedirectory1_beta1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > ServiceDirectory<> { ServiceDirectory { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://servicedirectory.googleapis.com/".to_string(), _root_url: "https://servicedirectory.googleapis.com/".to_string(), } @@ -130,7 +130,7 @@ impl<'a, > ServiceDirectory<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -599,7 +599,7 @@ impl client::ResponseResult for TestIamPermissionsResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_get(...)`, `locations_list(...)`, `locations_namespaces_create(...)`, `locations_namespaces_delete(...)`, `locations_namespaces_get(...)`, `locations_namespaces_get_iam_policy(...)`, `locations_namespaces_list(...)`, `locations_namespaces_patch(...)`, `locations_namespaces_services_create(...)`, `locations_namespaces_services_delete(...)`, `locations_namespaces_services_endpoints_create(...)`, `locations_namespaces_services_endpoints_delete(...)`, `locations_namespaces_services_endpoints_get(...)`, `locations_namespaces_services_endpoints_list(...)`, `locations_namespaces_services_endpoints_patch(...)`, `locations_namespaces_services_get(...)`, `locations_namespaces_services_get_iam_policy(...)`, `locations_namespaces_services_list(...)`, `locations_namespaces_services_patch(...)`, `locations_namespaces_services_resolve(...)`, `locations_namespaces_services_set_iam_policy(...)`, `locations_namespaces_services_test_iam_permissions(...)`, `locations_namespaces_set_iam_policy(...)` and `locations_namespaces_test_iam_permissions(...)` /// // to build up your call. @@ -1103,7 +1103,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1400,7 +1400,7 @@ impl<'a> ProjectLocationNamespaceServiceEndpointCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1656,7 +1656,7 @@ impl<'a> ProjectLocationNamespaceServiceEndpointDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1912,7 +1912,7 @@ impl<'a> ProjectLocationNamespaceServiceEndpointGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2217,7 +2217,7 @@ impl<'a> ProjectLocationNamespaceServiceEndpointListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2515,7 +2515,7 @@ impl<'a> ProjectLocationNamespaceServiceEndpointPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2812,7 +2812,7 @@ impl<'a> ProjectLocationNamespaceServiceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3068,7 +3068,7 @@ impl<'a> ProjectLocationNamespaceServiceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3325,7 +3325,7 @@ impl<'a> ProjectLocationNamespaceServiceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3610,7 +3610,7 @@ impl<'a> ProjectLocationNamespaceServiceGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3915,7 +3915,7 @@ impl<'a> ProjectLocationNamespaceServiceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4213,7 +4213,7 @@ impl<'a> ProjectLocationNamespaceServicePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4499,7 +4499,7 @@ impl<'a> ProjectLocationNamespaceServiceResolveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4785,7 +4785,7 @@ impl<'a> ProjectLocationNamespaceServiceSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5071,7 +5071,7 @@ impl<'a> ProjectLocationNamespaceServiceTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5368,7 +5368,7 @@ impl<'a> ProjectLocationNamespaceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5624,7 +5624,7 @@ impl<'a> ProjectLocationNamespaceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5881,7 +5881,7 @@ impl<'a> ProjectLocationNamespaceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6166,7 +6166,7 @@ impl<'a> ProjectLocationNamespaceGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6471,7 +6471,7 @@ impl<'a> ProjectLocationNamespaceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6769,7 +6769,7 @@ impl<'a> ProjectLocationNamespacePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7055,7 +7055,7 @@ impl<'a> ProjectLocationNamespaceSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7340,7 +7340,7 @@ impl<'a> ProjectLocationNamespaceTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7596,7 +7596,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/servicedirectory1_beta1/src/lib.rs b/gen/servicedirectory1_beta1/src/lib.rs index 3a03fedfbb..8062e8d2a1 100644 --- a/gen/servicedirectory1_beta1/src/lib.rs +++ b/gen/servicedirectory1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Service Directory* crate version *3.0.0+20220224*, where *20220224* is the exact revision of the *servicedirectory:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Service Directory* crate version *3.1.0+20220224*, where *20220224* is the exact revision of the *servicedirectory:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Service Directory* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/service-directory). @@ -95,7 +95,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = ServiceDirectory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/serviceregistryalpha-cli/Cargo.toml b/gen/serviceregistryalpha-cli/Cargo.toml index d274143be8..50ce582915 100644 --- a/gen/serviceregistryalpha-cli/Cargo.toml +++ b/gen/serviceregistryalpha-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-serviceregistryalpha-cli" -version = "3.0.0+20160401" +version = "3.1.0+20160401" authors = ["Sebastian Thiel "] description = "A complete library to interact with Service Registry (protocol alpha)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/serviceregistryalpha-cli" @@ -20,12 +20,12 @@ name = "serviceregistryalpha" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-serviceregistryalpha] path = "../serviceregistryalpha" -version = "3.0.0+20160401" +version = "3.1.0+20160401" diff --git a/gen/serviceregistryalpha-cli/README.md b/gen/serviceregistryalpha-cli/README.md index 466ef4b610..24de9921ef 100644 --- a/gen/serviceregistryalpha-cli/README.md +++ b/gen/serviceregistryalpha-cli/README.md @@ -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 *Service Registry* API at revision *20160401*. The CLI is at version *3.0.0*. +This documentation was generated from the *Service Registry* API at revision *20160401*. The CLI is at version *3.1.0*. ```bash serviceregistryalpha [options] diff --git a/gen/serviceregistryalpha-cli/mkdocs.yml b/gen/serviceregistryalpha-cli/mkdocs.yml index 45f45c4954..58be8977e5 100644 --- a/gen/serviceregistryalpha-cli/mkdocs.yml +++ b/gen/serviceregistryalpha-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Service Registry v3.0.0+20160401 +site_name: Service Registry v3.1.0+20160401 site_url: http://byron.github.io/google-apis-rs/google-serviceregistryalpha-cli site_description: A complete library to interact with Service Registry (protocol alpha) diff --git a/gen/serviceregistryalpha-cli/src/main.rs b/gen/serviceregistryalpha-cli/src/main.rs index d9816ff443..664b3dab78 100644 --- a/gen/serviceregistryalpha-cli/src/main.rs +++ b/gen/serviceregistryalpha-cli/src/main.rs @@ -689,7 +689,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/serviceregistryalpha", 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::ServiceRegistry::new(client, auth), @@ -955,7 +961,7 @@ async fn main() { let mut app = App::new("serviceregistryalpha") .author("Sebastian Thiel ") - .version("3.0.0+20160401") + .version("3.1.0+20160401") .about("Manages service endpoints in Service Registry and provides integration with DNS for service discovery and name resolution.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_serviceregistryalpha_cli") .arg(Arg::with_name("url") diff --git a/gen/serviceregistryalpha/Cargo.toml b/gen/serviceregistryalpha/Cargo.toml index 1664919cc8..093021c72d 100644 --- a/gen/serviceregistryalpha/Cargo.toml +++ b/gen/serviceregistryalpha/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-serviceregistryalpha" -version = "3.0.0+20160401" +version = "3.1.0+20160401" authors = ["Sebastian Thiel "] description = "A complete library to interact with Service Registry (protocol alpha)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/serviceregistryalpha" homepage = "https://developers.google.com/cloud-serviceregistry/" -documentation = "https://docs.rs/google-serviceregistryalpha/3.0.0+20160401" +documentation = "https://docs.rs/google-serviceregistryalpha/3.1.0+20160401" license = "MIT" keywords = ["serviceregistry", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/serviceregistryalpha/README.md b/gen/serviceregistryalpha/README.md index 428077bb26..a679d05e45 100644 --- a/gen/serviceregistryalpha/README.md +++ b/gen/serviceregistryalpha/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-serviceregistryalpha` library allows access to all features of the *Google Service Registry* service. -This documentation was generated from *Service Registry* crate version *3.0.0+20160401*, where *20160401* is the exact revision of the *serviceregistry:alpha* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Service Registry* crate version *3.1.0+20160401*, where *20160401* is the exact revision of the *serviceregistry:alpha* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Service Registry* *alpha* API can be found at the [official documentation site](https://developers.google.com/cloud-serviceregistry/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-serviceregistryalpha/3.0.0+20160401/google_serviceregistryalpha/ServiceRegistry) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-serviceregistryalpha/3.1.0+20160401/google_serviceregistryalpha/ServiceRegistry) ... -* [endpoints](https://docs.rs/google-serviceregistryalpha/3.0.0+20160401/google_serviceregistryalpha/api::Endpoint) - * [*delete*](https://docs.rs/google-serviceregistryalpha/3.0.0+20160401/google_serviceregistryalpha/api::EndpointDeleteCall), [*get*](https://docs.rs/google-serviceregistryalpha/3.0.0+20160401/google_serviceregistryalpha/api::EndpointGetCall), [*insert*](https://docs.rs/google-serviceregistryalpha/3.0.0+20160401/google_serviceregistryalpha/api::EndpointInsertCall), [*list*](https://docs.rs/google-serviceregistryalpha/3.0.0+20160401/google_serviceregistryalpha/api::EndpointListCall), [*patch*](https://docs.rs/google-serviceregistryalpha/3.0.0+20160401/google_serviceregistryalpha/api::EndpointPatchCall) and [*update*](https://docs.rs/google-serviceregistryalpha/3.0.0+20160401/google_serviceregistryalpha/api::EndpointUpdateCall) -* [operations](https://docs.rs/google-serviceregistryalpha/3.0.0+20160401/google_serviceregistryalpha/api::Operation) - * [*get*](https://docs.rs/google-serviceregistryalpha/3.0.0+20160401/google_serviceregistryalpha/api::OperationGetCall) and [*list*](https://docs.rs/google-serviceregistryalpha/3.0.0+20160401/google_serviceregistryalpha/api::OperationListCall) +* [endpoints](https://docs.rs/google-serviceregistryalpha/3.1.0+20160401/google_serviceregistryalpha/api::Endpoint) + * [*delete*](https://docs.rs/google-serviceregistryalpha/3.1.0+20160401/google_serviceregistryalpha/api::EndpointDeleteCall), [*get*](https://docs.rs/google-serviceregistryalpha/3.1.0+20160401/google_serviceregistryalpha/api::EndpointGetCall), [*insert*](https://docs.rs/google-serviceregistryalpha/3.1.0+20160401/google_serviceregistryalpha/api::EndpointInsertCall), [*list*](https://docs.rs/google-serviceregistryalpha/3.1.0+20160401/google_serviceregistryalpha/api::EndpointListCall), [*patch*](https://docs.rs/google-serviceregistryalpha/3.1.0+20160401/google_serviceregistryalpha/api::EndpointPatchCall) and [*update*](https://docs.rs/google-serviceregistryalpha/3.1.0+20160401/google_serviceregistryalpha/api::EndpointUpdateCall) +* [operations](https://docs.rs/google-serviceregistryalpha/3.1.0+20160401/google_serviceregistryalpha/api::Operation) + * [*get*](https://docs.rs/google-serviceregistryalpha/3.1.0+20160401/google_serviceregistryalpha/api::OperationGetCall) and [*list*](https://docs.rs/google-serviceregistryalpha/3.1.0+20160401/google_serviceregistryalpha/api::OperationListCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-serviceregistryalpha/3.0.0+20160401/google_serviceregistryalpha/ServiceRegistry)** +* **[Hub](https://docs.rs/google-serviceregistryalpha/3.1.0+20160401/google_serviceregistryalpha/ServiceRegistry)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-serviceregistryalpha/3.0.0+20160401/google_serviceregistryalpha/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-serviceregistryalpha/3.0.0+20160401/google_serviceregistryalpha/client::CallBuilder) -* **[Resources](https://docs.rs/google-serviceregistryalpha/3.0.0+20160401/google_serviceregistryalpha/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-serviceregistryalpha/3.1.0+20160401/google_serviceregistryalpha/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-serviceregistryalpha/3.1.0+20160401/google_serviceregistryalpha/client::CallBuilder) +* **[Resources](https://docs.rs/google-serviceregistryalpha/3.1.0+20160401/google_serviceregistryalpha/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-serviceregistryalpha/3.0.0+20160401/google_serviceregistryalpha/client::Part)** + * **[Parts](https://docs.rs/google-serviceregistryalpha/3.1.0+20160401/google_serviceregistryalpha/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-serviceregistryalpha/3.0.0+20160401/google_serviceregistryalpha/client::CallBuilder)** +* **[Activities](https://docs.rs/google-serviceregistryalpha/3.1.0+20160401/google_serviceregistryalpha/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -97,7 +97,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = ServiceRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = ServiceRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -129,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-serviceregistryalpha/3.0.0+20160401/google_serviceregistryalpha/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-serviceregistryalpha/3.1.0+20160401/google_serviceregistryalpha/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-serviceregistryalpha/3.0.0+20160401/google_serviceregistryalpha/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-serviceregistryalpha/3.1.0+20160401/google_serviceregistryalpha/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-serviceregistryalpha/3.0.0+20160401/google_serviceregistryalpha/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-serviceregistryalpha/3.1.0+20160401/google_serviceregistryalpha/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-serviceregistryalpha/3.0.0+20160401/google_serviceregistryalpha/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-serviceregistryalpha/3.1.0+20160401/google_serviceregistryalpha/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -149,29 +149,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-serviceregistryalpha/3.0.0+20160401/google_serviceregistryalpha/client::Delegate) to the -[Method Builder](https://docs.rs/google-serviceregistryalpha/3.0.0+20160401/google_serviceregistryalpha/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-serviceregistryalpha/3.1.0+20160401/google_serviceregistryalpha/client::Delegate) to the +[Method Builder](https://docs.rs/google-serviceregistryalpha/3.1.0+20160401/google_serviceregistryalpha/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-serviceregistryalpha/3.0.0+20160401/google_serviceregistryalpha/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-serviceregistryalpha/3.1.0+20160401/google_serviceregistryalpha/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-serviceregistryalpha/3.0.0+20160401/google_serviceregistryalpha/client::RequestValue) and -[decodable](https://docs.rs/google-serviceregistryalpha/3.0.0+20160401/google_serviceregistryalpha/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-serviceregistryalpha/3.1.0+20160401/google_serviceregistryalpha/client::RequestValue) and +[decodable](https://docs.rs/google-serviceregistryalpha/3.1.0+20160401/google_serviceregistryalpha/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-serviceregistryalpha/3.0.0+20160401/google_serviceregistryalpha/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-serviceregistryalpha/3.1.0+20160401/google_serviceregistryalpha/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-serviceregistryalpha/3.0.0+20160401/google_serviceregistryalpha/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-serviceregistryalpha/3.1.0+20160401/google_serviceregistryalpha/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-serviceregistryalpha/3.0.0+20160401/google_serviceregistryalpha/client::RequestValue) are moved +* [request values](https://docs.rs/google-serviceregistryalpha/3.1.0+20160401/google_serviceregistryalpha/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/serviceregistryalpha/src/api.rs b/gen/serviceregistryalpha/src/api.rs index c485e8fe2f..add3c0fd0c 100644 --- a/gen/serviceregistryalpha/src/api.rs +++ b/gen/serviceregistryalpha/src/api.rs @@ -82,7 +82,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ServiceRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ServiceRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -129,7 +129,7 @@ impl<'a, > ServiceRegistry<> { ServiceRegistry { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/serviceregistry/alpha/projects/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -143,7 +143,7 @@ impl<'a, > ServiceRegistry<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -445,7 +445,7 @@ impl client::Part for OperationWarningsData {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ServiceRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ServiceRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -606,7 +606,7 @@ impl<'a> EndpointMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = ServiceRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = ServiceRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -694,7 +694,7 @@ impl<'a> OperationMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -954,7 +954,7 @@ impl<'a> EndpointDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1215,7 +1215,7 @@ impl<'a> EndpointGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1492,7 +1492,7 @@ impl<'a> EndpointInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1801,7 +1801,7 @@ impl<'a> EndpointListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2091,7 +2091,7 @@ impl<'a> EndpointPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2380,7 +2380,7 @@ impl<'a> EndpointUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2640,7 +2640,7 @@ impl<'a> OperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = ServiceRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = ServiceRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/serviceregistryalpha/src/lib.rs b/gen/serviceregistryalpha/src/lib.rs index 43a7bdecfc..fa96344dc9 100644 --- a/gen/serviceregistryalpha/src/lib.rs +++ b/gen/serviceregistryalpha/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Service Registry* crate version *3.0.0+20160401*, where *20160401* is the exact revision of the *serviceregistry:alpha* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Service Registry* crate version *3.1.0+20160401*, where *20160401* is the exact revision of the *serviceregistry:alpha* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Service Registry* *alpha* API can be found at the //! [official documentation site](https://developers.google.com/cloud-serviceregistry/). @@ -98,7 +98,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = ServiceRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = ServiceRegistry::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/siteverification1-cli/Cargo.toml b/gen/siteverification1-cli/Cargo.toml index 436b8379c4..616d84f1d7 100644 --- a/gen/siteverification1-cli/Cargo.toml +++ b/gen/siteverification1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-siteverification1-cli" -version = "3.0.0+20191119" +version = "3.1.0+20191119" authors = ["Sebastian Thiel "] description = "A complete library to interact with siteVerification (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/siteverification1-cli" @@ -20,12 +20,12 @@ name = "siteverification1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-siteverification1] path = "../siteverification1" -version = "3.0.0+20191119" +version = "3.1.0+20191119" diff --git a/gen/siteverification1-cli/README.md b/gen/siteverification1-cli/README.md index 69ca5f8303..152b7eb1bb 100644 --- a/gen/siteverification1-cli/README.md +++ b/gen/siteverification1-cli/README.md @@ -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 *siteVerification* API at revision *20191119*. The CLI is at version *3.0.0*. +This documentation was generated from the *siteVerification* API at revision *20191119*. The CLI is at version *3.1.0*. ```bash siteverification1 [options] diff --git a/gen/siteverification1-cli/mkdocs.yml b/gen/siteverification1-cli/mkdocs.yml index 0257430a29..3610be904e 100644 --- a/gen/siteverification1-cli/mkdocs.yml +++ b/gen/siteverification1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: siteVerification v3.0.0+20191119 +site_name: siteVerification v3.1.0+20191119 site_url: http://byron.github.io/google-apis-rs/google-siteverification1-cli site_description: A complete library to interact with siteVerification (protocol v1) diff --git a/gen/siteverification1-cli/src/main.rs b/gen/siteverification1-cli/src/main.rs index 8055bafe6b..396b7fb975 100644 --- a/gen/siteverification1-cli/src/main.rs +++ b/gen/siteverification1-cli/src/main.rs @@ -609,7 +609,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/siteverification1", 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::SiteVerification::new(client, auth), @@ -808,7 +814,7 @@ async fn main() { let mut app = App::new("siteverification1") .author("Sebastian Thiel ") - .version("3.0.0+20191119") + .version("3.1.0+20191119") .about("Verifies ownership of websites or domains with Google.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_siteverification1_cli") .arg(Arg::with_name("url") diff --git a/gen/siteverification1/Cargo.toml b/gen/siteverification1/Cargo.toml index 5908bcf96e..9a62ac7067 100644 --- a/gen/siteverification1/Cargo.toml +++ b/gen/siteverification1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-siteverification1" -version = "3.0.0+20191119" +version = "3.1.0+20191119" authors = ["Sebastian Thiel "] description = "A complete library to interact with siteVerification (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/siteverification1" homepage = "https://developers.google.com/site-verification/" -documentation = "https://docs.rs/google-siteverification1/3.0.0+20191119" +documentation = "https://docs.rs/google-siteverification1/3.1.0+20191119" license = "MIT" keywords = ["siteVerification", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/siteverification1/README.md b/gen/siteverification1/README.md index 705db273ef..e53ea62652 100644 --- a/gen/siteverification1/README.md +++ b/gen/siteverification1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-siteverification1` library allows access to all features of the *Google siteVerification* service. -This documentation was generated from *siteVerification* crate version *3.0.0+20191119*, where *20191119* is the exact revision of the *siteVerification:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *siteVerification* crate version *3.1.0+20191119*, where *20191119* is the exact revision of the *siteVerification:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *siteVerification* *v1* API can be found at the [official documentation site](https://developers.google.com/site-verification/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-siteverification1/3.0.0+20191119/google_siteverification1/SiteVerification) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-siteverification1/3.1.0+20191119/google_siteverification1/SiteVerification) ... * web resource - * [*delete*](https://docs.rs/google-siteverification1/3.0.0+20191119/google_siteverification1/api::WebResourceDeleteCall), [*get*](https://docs.rs/google-siteverification1/3.0.0+20191119/google_siteverification1/api::WebResourceGetCall), [*get token*](https://docs.rs/google-siteverification1/3.0.0+20191119/google_siteverification1/api::WebResourceGetTokenCall), [*insert*](https://docs.rs/google-siteverification1/3.0.0+20191119/google_siteverification1/api::WebResourceInsertCall), [*list*](https://docs.rs/google-siteverification1/3.0.0+20191119/google_siteverification1/api::WebResourceListCall), [*patch*](https://docs.rs/google-siteverification1/3.0.0+20191119/google_siteverification1/api::WebResourcePatchCall) and [*update*](https://docs.rs/google-siteverification1/3.0.0+20191119/google_siteverification1/api::WebResourceUpdateCall) + * [*delete*](https://docs.rs/google-siteverification1/3.1.0+20191119/google_siteverification1/api::WebResourceDeleteCall), [*get*](https://docs.rs/google-siteverification1/3.1.0+20191119/google_siteverification1/api::WebResourceGetCall), [*get token*](https://docs.rs/google-siteverification1/3.1.0+20191119/google_siteverification1/api::WebResourceGetTokenCall), [*insert*](https://docs.rs/google-siteverification1/3.1.0+20191119/google_siteverification1/api::WebResourceInsertCall), [*list*](https://docs.rs/google-siteverification1/3.1.0+20191119/google_siteverification1/api::WebResourceListCall), [*patch*](https://docs.rs/google-siteverification1/3.1.0+20191119/google_siteverification1/api::WebResourcePatchCall) and [*update*](https://docs.rs/google-siteverification1/3.1.0+20191119/google_siteverification1/api::WebResourceUpdateCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-siteverification1/3.0.0+20191119/google_siteverification1/SiteVerification)** +* **[Hub](https://docs.rs/google-siteverification1/3.1.0+20191119/google_siteverification1/SiteVerification)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-siteverification1/3.0.0+20191119/google_siteverification1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-siteverification1/3.0.0+20191119/google_siteverification1/client::CallBuilder) -* **[Resources](https://docs.rs/google-siteverification1/3.0.0+20191119/google_siteverification1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-siteverification1/3.1.0+20191119/google_siteverification1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-siteverification1/3.1.0+20191119/google_siteverification1/client::CallBuilder) +* **[Resources](https://docs.rs/google-siteverification1/3.1.0+20191119/google_siteverification1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-siteverification1/3.0.0+20191119/google_siteverification1/client::Part)** + * **[Parts](https://docs.rs/google-siteverification1/3.1.0+20191119/google_siteverification1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-siteverification1/3.0.0+20191119/google_siteverification1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-siteverification1/3.1.0+20191119/google_siteverification1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -94,7 +94,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = SiteVerification::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = SiteVerification::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -127,17 +127,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-siteverification1/3.0.0+20191119/google_siteverification1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-siteverification1/3.1.0+20191119/google_siteverification1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-siteverification1/3.0.0+20191119/google_siteverification1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-siteverification1/3.1.0+20191119/google_siteverification1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-siteverification1/3.0.0+20191119/google_siteverification1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-siteverification1/3.1.0+20191119/google_siteverification1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-siteverification1/3.0.0+20191119/google_siteverification1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-siteverification1/3.1.0+20191119/google_siteverification1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -147,29 +147,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-siteverification1/3.0.0+20191119/google_siteverification1/client::Delegate) to the -[Method Builder](https://docs.rs/google-siteverification1/3.0.0+20191119/google_siteverification1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-siteverification1/3.1.0+20191119/google_siteverification1/client::Delegate) to the +[Method Builder](https://docs.rs/google-siteverification1/3.1.0+20191119/google_siteverification1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-siteverification1/3.0.0+20191119/google_siteverification1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-siteverification1/3.1.0+20191119/google_siteverification1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-siteverification1/3.0.0+20191119/google_siteverification1/client::RequestValue) and -[decodable](https://docs.rs/google-siteverification1/3.0.0+20191119/google_siteverification1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-siteverification1/3.1.0+20191119/google_siteverification1/client::RequestValue) and +[decodable](https://docs.rs/google-siteverification1/3.1.0+20191119/google_siteverification1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-siteverification1/3.0.0+20191119/google_siteverification1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-siteverification1/3.1.0+20191119/google_siteverification1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-siteverification1/3.0.0+20191119/google_siteverification1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-siteverification1/3.1.0+20191119/google_siteverification1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-siteverification1/3.0.0+20191119/google_siteverification1/client::RequestValue) are moved +* [request values](https://docs.rs/google-siteverification1/3.1.0+20191119/google_siteverification1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/siteverification1/src/api.rs b/gen/siteverification1/src/api.rs index e3137dd541..e7af044e69 100644 --- a/gen/siteverification1/src/api.rs +++ b/gen/siteverification1/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SiteVerification::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SiteVerification::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -123,7 +123,7 @@ impl<'a, > SiteVerification<> { SiteVerification { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/siteVerification/v1/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -134,7 +134,7 @@ impl<'a, > SiteVerification<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -307,7 +307,7 @@ impl client::Part for SiteVerificationWebResourceResourceSite {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SiteVerification::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SiteVerification::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `get_token(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -475,7 +475,7 @@ impl<'a> WebResourceMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SiteVerification::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SiteVerification::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -712,7 +712,7 @@ impl<'a> WebResourceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SiteVerification::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SiteVerification::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -961,7 +961,7 @@ impl<'a> WebResourceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SiteVerification::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SiteVerification::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1206,7 +1206,7 @@ impl<'a> WebResourceGetTokenCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SiteVerification::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SiteVerification::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1462,7 +1462,7 @@ impl<'a> WebResourceInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SiteVerification::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SiteVerification::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1678,7 +1678,7 @@ impl<'a> WebResourceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SiteVerification::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SiteVerification::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1956,7 +1956,7 @@ impl<'a> WebResourcePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SiteVerification::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SiteVerification::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/siteverification1/src/lib.rs b/gen/siteverification1/src/lib.rs index f3dc160238..58d3d5f3e6 100644 --- a/gen/siteverification1/src/lib.rs +++ b/gen/siteverification1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *siteVerification* crate version *3.0.0+20191119*, where *20191119* is the exact revision of the *siteVerification:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *siteVerification* crate version *3.1.0+20191119*, where *20191119* is the exact revision of the *siteVerification:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *siteVerification* *v1* API can be found at the //! [official documentation site](https://developers.google.com/site-verification/). @@ -95,7 +95,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = SiteVerification::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = SiteVerification::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/smartdevicemanagement1-cli/Cargo.toml b/gen/smartdevicemanagement1-cli/Cargo.toml index 25acc0f7e1..042302fe01 100644 --- a/gen/smartdevicemanagement1-cli/Cargo.toml +++ b/gen/smartdevicemanagement1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-smartdevicemanagement1-cli" -version = "3.0.0+20220302" +version = "3.1.0+20220302" authors = ["Sebastian Thiel "] 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" @@ -20,12 +20,12 @@ name = "smartdevicemanagement1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-smartdevicemanagement1] path = "../smartdevicemanagement1" -version = "3.0.0+20220302" +version = "3.1.0+20220302" diff --git a/gen/smartdevicemanagement1-cli/README.md b/gen/smartdevicemanagement1-cli/README.md index 71379f2e8d..be424b14db 100644 --- a/gen/smartdevicemanagement1-cli/README.md +++ b/gen/smartdevicemanagement1-cli/README.md @@ -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 *20220302*. The CLI is at version *3.0.0*. +This documentation was generated from the *Smart Device Management* API at revision *20220302*. The CLI is at version *3.1.0*. ```bash smartdevicemanagement1 [options] diff --git a/gen/smartdevicemanagement1-cli/mkdocs.yml b/gen/smartdevicemanagement1-cli/mkdocs.yml index 8e49043553..8d8776e4b8 100644 --- a/gen/smartdevicemanagement1-cli/mkdocs.yml +++ b/gen/smartdevicemanagement1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Smart Device Management v3.0.0+20220302 +site_name: Smart Device Management v3.1.0+20220302 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) diff --git a/gen/smartdevicemanagement1-cli/src/main.rs b/gen/smartdevicemanagement1-cli/src/main.rs index 6b84683611..5f8616cb6c 100644 --- a/gen/smartdevicemanagement1-cli/src/main.rs +++ b/gen/smartdevicemanagement1-cli/src/main.rs @@ -534,7 +534,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/smartdevicemanagement1", 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::SmartDeviceManagement::new(client, auth), @@ -736,7 +742,7 @@ async fn main() { let mut app = App::new("smartdevicemanagement1") .author("Sebastian Thiel ") - .version("3.0.0+20220302") + .version("3.1.0+20220302") .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") diff --git a/gen/smartdevicemanagement1/Cargo.toml b/gen/smartdevicemanagement1/Cargo.toml index 3de348dfbb..22ba04e576 100644 --- a/gen/smartdevicemanagement1/Cargo.toml +++ b/gen/smartdevicemanagement1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-smartdevicemanagement1" -version = "3.0.0+20220302" +version = "3.1.0+20220302" authors = ["Sebastian Thiel "] description = "A complete library to interact with Smart Device Management (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/smartdevicemanagement1" homepage = "https://developers.google.com/nest/device-access" -documentation = "https://docs.rs/google-smartdevicemanagement1/3.0.0+20220302" +documentation = "https://docs.rs/google-smartdevicemanagement1/3.1.0+20220302" license = "MIT" keywords = ["smartdevicemanagemen", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/smartdevicemanagement1/README.md b/gen/smartdevicemanagement1/README.md index c71c0f5d81..37502337a8 100644 --- a/gen/smartdevicemanagement1/README.md +++ b/gen/smartdevicemanagement1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-smartdevicemanagement1` library allows access to all features of the *Google Smart Device Management* service. -This documentation was generated from *Smart Device Management* crate version *3.0.0+20220302*, where *20220302* is the exact revision of the *smartdevicemanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Smart Device Management* crate version *3.1.0+20220302*, where *20220302* is the exact revision of the *smartdevicemanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Smart Device Management* *v1* API can be found at the [official documentation site](https://developers.google.com/nest/device-access). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-smartdevicemanagement1/3.0.0+20220302/google_smartdevicemanagement1/SmartDeviceManagement) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-smartdevicemanagement1/3.1.0+20220302/google_smartdevicemanagement1/SmartDeviceManagement) ... * enterprises - * [*devices execute command*](https://docs.rs/google-smartdevicemanagement1/3.0.0+20220302/google_smartdevicemanagement1/api::EnterpriseDeviceExecuteCommandCall), [*devices get*](https://docs.rs/google-smartdevicemanagement1/3.0.0+20220302/google_smartdevicemanagement1/api::EnterpriseDeviceGetCall), [*devices list*](https://docs.rs/google-smartdevicemanagement1/3.0.0+20220302/google_smartdevicemanagement1/api::EnterpriseDeviceListCall), [*structures get*](https://docs.rs/google-smartdevicemanagement1/3.0.0+20220302/google_smartdevicemanagement1/api::EnterpriseStructureGetCall), [*structures list*](https://docs.rs/google-smartdevicemanagement1/3.0.0+20220302/google_smartdevicemanagement1/api::EnterpriseStructureListCall), [*structures rooms get*](https://docs.rs/google-smartdevicemanagement1/3.0.0+20220302/google_smartdevicemanagement1/api::EnterpriseStructureRoomGetCall) and [*structures rooms list*](https://docs.rs/google-smartdevicemanagement1/3.0.0+20220302/google_smartdevicemanagement1/api::EnterpriseStructureRoomListCall) + * [*devices execute command*](https://docs.rs/google-smartdevicemanagement1/3.1.0+20220302/google_smartdevicemanagement1/api::EnterpriseDeviceExecuteCommandCall), [*devices get*](https://docs.rs/google-smartdevicemanagement1/3.1.0+20220302/google_smartdevicemanagement1/api::EnterpriseDeviceGetCall), [*devices list*](https://docs.rs/google-smartdevicemanagement1/3.1.0+20220302/google_smartdevicemanagement1/api::EnterpriseDeviceListCall), [*structures get*](https://docs.rs/google-smartdevicemanagement1/3.1.0+20220302/google_smartdevicemanagement1/api::EnterpriseStructureGetCall), [*structures list*](https://docs.rs/google-smartdevicemanagement1/3.1.0+20220302/google_smartdevicemanagement1/api::EnterpriseStructureListCall), [*structures rooms get*](https://docs.rs/google-smartdevicemanagement1/3.1.0+20220302/google_smartdevicemanagement1/api::EnterpriseStructureRoomGetCall) and [*structures rooms list*](https://docs.rs/google-smartdevicemanagement1/3.1.0+20220302/google_smartdevicemanagement1/api::EnterpriseStructureRoomListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-smartdevicemanagement1/3.0.0+20220302/google_smartdevicemanagement1/SmartDeviceManagement)** +* **[Hub](https://docs.rs/google-smartdevicemanagement1/3.1.0+20220302/google_smartdevicemanagement1/SmartDeviceManagement)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-smartdevicemanagement1/3.0.0+20220302/google_smartdevicemanagement1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-smartdevicemanagement1/3.0.0+20220302/google_smartdevicemanagement1/client::CallBuilder) -* **[Resources](https://docs.rs/google-smartdevicemanagement1/3.0.0+20220302/google_smartdevicemanagement1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-smartdevicemanagement1/3.1.0+20220302/google_smartdevicemanagement1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-smartdevicemanagement1/3.1.0+20220302/google_smartdevicemanagement1/client::CallBuilder) +* **[Resources](https://docs.rs/google-smartdevicemanagement1/3.1.0+20220302/google_smartdevicemanagement1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-smartdevicemanagement1/3.0.0+20220302/google_smartdevicemanagement1/client::Part)** + * **[Parts](https://docs.rs/google-smartdevicemanagement1/3.1.0+20220302/google_smartdevicemanagement1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-smartdevicemanagement1/3.0.0+20220302/google_smartdevicemanagement1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-smartdevicemanagement1/3.1.0+20220302/google_smartdevicemanagement1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -90,7 +90,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = SmartDeviceManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = SmartDeviceManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -118,17 +118,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-smartdevicemanagement1/3.0.0+20220302/google_smartdevicemanagement1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-smartdevicemanagement1/3.1.0+20220302/google_smartdevicemanagement1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-smartdevicemanagement1/3.0.0+20220302/google_smartdevicemanagement1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-smartdevicemanagement1/3.1.0+20220302/google_smartdevicemanagement1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-smartdevicemanagement1/3.0.0+20220302/google_smartdevicemanagement1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-smartdevicemanagement1/3.1.0+20220302/google_smartdevicemanagement1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-smartdevicemanagement1/3.0.0+20220302/google_smartdevicemanagement1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-smartdevicemanagement1/3.1.0+20220302/google_smartdevicemanagement1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -138,29 +138,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-smartdevicemanagement1/3.0.0+20220302/google_smartdevicemanagement1/client::Delegate) to the -[Method Builder](https://docs.rs/google-smartdevicemanagement1/3.0.0+20220302/google_smartdevicemanagement1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-smartdevicemanagement1/3.1.0+20220302/google_smartdevicemanagement1/client::Delegate) to the +[Method Builder](https://docs.rs/google-smartdevicemanagement1/3.1.0+20220302/google_smartdevicemanagement1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-smartdevicemanagement1/3.0.0+20220302/google_smartdevicemanagement1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-smartdevicemanagement1/3.1.0+20220302/google_smartdevicemanagement1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-smartdevicemanagement1/3.0.0+20220302/google_smartdevicemanagement1/client::RequestValue) and -[decodable](https://docs.rs/google-smartdevicemanagement1/3.0.0+20220302/google_smartdevicemanagement1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-smartdevicemanagement1/3.1.0+20220302/google_smartdevicemanagement1/client::RequestValue) and +[decodable](https://docs.rs/google-smartdevicemanagement1/3.1.0+20220302/google_smartdevicemanagement1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-smartdevicemanagement1/3.0.0+20220302/google_smartdevicemanagement1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-smartdevicemanagement1/3.1.0+20220302/google_smartdevicemanagement1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-smartdevicemanagement1/3.0.0+20220302/google_smartdevicemanagement1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-smartdevicemanagement1/3.1.0+20220302/google_smartdevicemanagement1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-smartdevicemanagement1/3.0.0+20220302/google_smartdevicemanagement1/client::RequestValue) are moved +* [request values](https://docs.rs/google-smartdevicemanagement1/3.1.0+20220302/google_smartdevicemanagement1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/smartdevicemanagement1/src/api.rs b/gen/smartdevicemanagement1/src/api.rs index 553d70774e..1335767c8a 100644 --- a/gen/smartdevicemanagement1/src/api.rs +++ b/gen/smartdevicemanagement1/src/api.rs @@ -74,7 +74,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SmartDeviceManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SmartDeviceManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -117,7 +117,7 @@ impl<'a, > SmartDeviceManagement<> { SmartDeviceManagement { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://smartdevicemanagement.googleapis.com/".to_string(), _root_url: "https://smartdevicemanagement.googleapis.com/".to_string(), } @@ -128,7 +128,7 @@ impl<'a, > SmartDeviceManagement<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -365,7 +365,7 @@ impl client::ResponseResult for GoogleHomeEnterpriseSdmV1Structure {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SmartDeviceManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SmartDeviceManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `devices_execute_command(...)`, `devices_get(...)`, `devices_list(...)`, `structures_get(...)`, `structures_list(...)`, `structures_rooms_get(...)` and `structures_rooms_list(...)` /// // to build up your call. @@ -543,7 +543,7 @@ impl<'a> EnterpriseMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SmartDeviceManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SmartDeviceManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -828,7 +828,7 @@ impl<'a> EnterpriseDeviceExecuteCommandCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SmartDeviceManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SmartDeviceManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1084,7 +1084,7 @@ impl<'a> EnterpriseDeviceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SmartDeviceManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SmartDeviceManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1376,7 +1376,7 @@ impl<'a> EnterpriseDeviceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SmartDeviceManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SmartDeviceManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1632,7 +1632,7 @@ impl<'a> EnterpriseStructureRoomGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SmartDeviceManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SmartDeviceManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1912,7 +1912,7 @@ impl<'a> EnterpriseStructureRoomListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SmartDeviceManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SmartDeviceManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2168,7 +2168,7 @@ impl<'a> EnterpriseStructureGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SmartDeviceManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SmartDeviceManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/smartdevicemanagement1/src/lib.rs b/gen/smartdevicemanagement1/src/lib.rs index 4c278fa1ff..43ebd462cd 100644 --- a/gen/smartdevicemanagement1/src/lib.rs +++ b/gen/smartdevicemanagement1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Smart Device Management* crate version *3.0.0+20220302*, where *20220302* is the exact revision of the *smartdevicemanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Smart Device Management* crate version *3.1.0+20220302*, where *20220302* is the exact revision of the *smartdevicemanagement:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Smart Device Management* *v1* API can be found at the //! [official documentation site](https://developers.google.com/nest/device-access). @@ -91,7 +91,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = SmartDeviceManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = SmartDeviceManagement::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/sourcerepo1-cli/Cargo.toml b/gen/sourcerepo1-cli/Cargo.toml index c266fbdf69..00bc956823 100644 --- a/gen/sourcerepo1-cli/Cargo.toml +++ b/gen/sourcerepo1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-sourcerepo1-cli" -version = "3.0.0+20220217" +version = "3.1.0+20220217" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Source Repositories (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/sourcerepo1-cli" @@ -20,12 +20,12 @@ name = "sourcerepo1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-sourcerepo1] path = "../sourcerepo1" -version = "3.0.0+20220217" +version = "3.1.0+20220217" diff --git a/gen/sourcerepo1-cli/README.md b/gen/sourcerepo1-cli/README.md index 41fa1b9531..ea8472d873 100644 --- a/gen/sourcerepo1-cli/README.md +++ b/gen/sourcerepo1-cli/README.md @@ -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 *Cloud Source Repositories* API at revision *20220217*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Source Repositories* API at revision *20220217*. The CLI is at version *3.1.0*. ```bash sourcerepo1 [options] diff --git a/gen/sourcerepo1-cli/mkdocs.yml b/gen/sourcerepo1-cli/mkdocs.yml index 4831bf463a..067a5ccff7 100644 --- a/gen/sourcerepo1-cli/mkdocs.yml +++ b/gen/sourcerepo1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Source Repositories v3.0.0+20220217 +site_name: Cloud Source Repositories v3.1.0+20220217 site_url: http://byron.github.io/google-apis-rs/google-sourcerepo1-cli site_description: A complete library to interact with Cloud Source Repositories (protocol v1) diff --git a/gen/sourcerepo1-cli/src/main.rs b/gen/sourcerepo1-cli/src/main.rs index dbe6cb2ce0..cdf3f61ea8 100644 --- a/gen/sourcerepo1-cli/src/main.rs +++ b/gen/sourcerepo1-cli/src/main.rs @@ -917,7 +917,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/sourcerepo1", 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::CloudSourceRepositories::new(client, auth), @@ -1237,7 +1243,7 @@ async fn main() { let mut app = App::new("sourcerepo1") .author("Sebastian Thiel ") - .version("3.0.0+20220217") + .version("3.1.0+20220217") .about("Accesses source code repositories hosted by Google.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_sourcerepo1_cli") .arg(Arg::with_name("url") diff --git a/gen/sourcerepo1/Cargo.toml b/gen/sourcerepo1/Cargo.toml index 9927e8b924..7d9ead680e 100644 --- a/gen/sourcerepo1/Cargo.toml +++ b/gen/sourcerepo1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-sourcerepo1" -version = "3.0.0+20220217" +version = "3.1.0+20220217" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Source Repositories (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/sourcerepo1" homepage = "https://cloud.google.com/source-repositories/docs/apis" -documentation = "https://docs.rs/google-sourcerepo1/3.0.0+20220217" +documentation = "https://docs.rs/google-sourcerepo1/3.1.0+20220217" license = "MIT" keywords = ["sourcerepo", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/sourcerepo1/README.md b/gen/sourcerepo1/README.md index 70c9d36241..114aebb7e8 100644 --- a/gen/sourcerepo1/README.md +++ b/gen/sourcerepo1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-sourcerepo1` library allows access to all features of the *Google Cloud Source Repositories* service. -This documentation was generated from *Cloud Source Repositories* crate version *3.0.0+20220217*, where *20220217* is the exact revision of the *sourcerepo:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Source Repositories* crate version *3.1.0+20220217*, where *20220217* is the exact revision of the *sourcerepo:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Source Repositories* *v1* API can be found at the [official documentation site](https://cloud.google.com/source-repositories/docs/apis). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-sourcerepo1/3.0.0+20220217/google_sourcerepo1/CloudSourceRepositories) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-sourcerepo1/3.1.0+20220217/google_sourcerepo1/CloudSourceRepositories) ... * projects - * [*get config*](https://docs.rs/google-sourcerepo1/3.0.0+20220217/google_sourcerepo1/api::ProjectGetConfigCall), [*repos create*](https://docs.rs/google-sourcerepo1/3.0.0+20220217/google_sourcerepo1/api::ProjectRepoCreateCall), [*repos delete*](https://docs.rs/google-sourcerepo1/3.0.0+20220217/google_sourcerepo1/api::ProjectRepoDeleteCall), [*repos get*](https://docs.rs/google-sourcerepo1/3.0.0+20220217/google_sourcerepo1/api::ProjectRepoGetCall), [*repos get iam policy*](https://docs.rs/google-sourcerepo1/3.0.0+20220217/google_sourcerepo1/api::ProjectRepoGetIamPolicyCall), [*repos list*](https://docs.rs/google-sourcerepo1/3.0.0+20220217/google_sourcerepo1/api::ProjectRepoListCall), [*repos patch*](https://docs.rs/google-sourcerepo1/3.0.0+20220217/google_sourcerepo1/api::ProjectRepoPatchCall), [*repos set iam policy*](https://docs.rs/google-sourcerepo1/3.0.0+20220217/google_sourcerepo1/api::ProjectRepoSetIamPolicyCall), [*repos sync*](https://docs.rs/google-sourcerepo1/3.0.0+20220217/google_sourcerepo1/api::ProjectRepoSyncCall), [*repos test iam permissions*](https://docs.rs/google-sourcerepo1/3.0.0+20220217/google_sourcerepo1/api::ProjectRepoTestIamPermissionCall) and [*update config*](https://docs.rs/google-sourcerepo1/3.0.0+20220217/google_sourcerepo1/api::ProjectUpdateConfigCall) + * [*get config*](https://docs.rs/google-sourcerepo1/3.1.0+20220217/google_sourcerepo1/api::ProjectGetConfigCall), [*repos create*](https://docs.rs/google-sourcerepo1/3.1.0+20220217/google_sourcerepo1/api::ProjectRepoCreateCall), [*repos delete*](https://docs.rs/google-sourcerepo1/3.1.0+20220217/google_sourcerepo1/api::ProjectRepoDeleteCall), [*repos get*](https://docs.rs/google-sourcerepo1/3.1.0+20220217/google_sourcerepo1/api::ProjectRepoGetCall), [*repos get iam policy*](https://docs.rs/google-sourcerepo1/3.1.0+20220217/google_sourcerepo1/api::ProjectRepoGetIamPolicyCall), [*repos list*](https://docs.rs/google-sourcerepo1/3.1.0+20220217/google_sourcerepo1/api::ProjectRepoListCall), [*repos patch*](https://docs.rs/google-sourcerepo1/3.1.0+20220217/google_sourcerepo1/api::ProjectRepoPatchCall), [*repos set iam policy*](https://docs.rs/google-sourcerepo1/3.1.0+20220217/google_sourcerepo1/api::ProjectRepoSetIamPolicyCall), [*repos sync*](https://docs.rs/google-sourcerepo1/3.1.0+20220217/google_sourcerepo1/api::ProjectRepoSyncCall), [*repos test iam permissions*](https://docs.rs/google-sourcerepo1/3.1.0+20220217/google_sourcerepo1/api::ProjectRepoTestIamPermissionCall) and [*update config*](https://docs.rs/google-sourcerepo1/3.1.0+20220217/google_sourcerepo1/api::ProjectUpdateConfigCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-sourcerepo1/3.0.0+20220217/google_sourcerepo1/CloudSourceRepositories)** +* **[Hub](https://docs.rs/google-sourcerepo1/3.1.0+20220217/google_sourcerepo1/CloudSourceRepositories)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-sourcerepo1/3.0.0+20220217/google_sourcerepo1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-sourcerepo1/3.0.0+20220217/google_sourcerepo1/client::CallBuilder) -* **[Resources](https://docs.rs/google-sourcerepo1/3.0.0+20220217/google_sourcerepo1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-sourcerepo1/3.1.0+20220217/google_sourcerepo1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-sourcerepo1/3.1.0+20220217/google_sourcerepo1/client::CallBuilder) +* **[Resources](https://docs.rs/google-sourcerepo1/3.1.0+20220217/google_sourcerepo1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-sourcerepo1/3.0.0+20220217/google_sourcerepo1/client::Part)** + * **[Parts](https://docs.rs/google-sourcerepo1/3.1.0+20220217/google_sourcerepo1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-sourcerepo1/3.0.0+20220217/google_sourcerepo1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-sourcerepo1/3.1.0+20220217/google_sourcerepo1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -93,7 +93,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudSourceRepositories::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudSourceRepositories::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -126,17 +126,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-sourcerepo1/3.0.0+20220217/google_sourcerepo1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-sourcerepo1/3.1.0+20220217/google_sourcerepo1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-sourcerepo1/3.0.0+20220217/google_sourcerepo1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-sourcerepo1/3.1.0+20220217/google_sourcerepo1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-sourcerepo1/3.0.0+20220217/google_sourcerepo1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-sourcerepo1/3.1.0+20220217/google_sourcerepo1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-sourcerepo1/3.0.0+20220217/google_sourcerepo1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-sourcerepo1/3.1.0+20220217/google_sourcerepo1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -146,29 +146,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-sourcerepo1/3.0.0+20220217/google_sourcerepo1/client::Delegate) to the -[Method Builder](https://docs.rs/google-sourcerepo1/3.0.0+20220217/google_sourcerepo1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-sourcerepo1/3.1.0+20220217/google_sourcerepo1/client::Delegate) to the +[Method Builder](https://docs.rs/google-sourcerepo1/3.1.0+20220217/google_sourcerepo1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-sourcerepo1/3.0.0+20220217/google_sourcerepo1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-sourcerepo1/3.1.0+20220217/google_sourcerepo1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-sourcerepo1/3.0.0+20220217/google_sourcerepo1/client::RequestValue) and -[decodable](https://docs.rs/google-sourcerepo1/3.0.0+20220217/google_sourcerepo1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-sourcerepo1/3.1.0+20220217/google_sourcerepo1/client::RequestValue) and +[decodable](https://docs.rs/google-sourcerepo1/3.1.0+20220217/google_sourcerepo1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-sourcerepo1/3.0.0+20220217/google_sourcerepo1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-sourcerepo1/3.1.0+20220217/google_sourcerepo1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-sourcerepo1/3.0.0+20220217/google_sourcerepo1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-sourcerepo1/3.1.0+20220217/google_sourcerepo1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-sourcerepo1/3.0.0+20220217/google_sourcerepo1/client::RequestValue) are moved +* [request values](https://docs.rs/google-sourcerepo1/3.1.0+20220217/google_sourcerepo1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/sourcerepo1/src/api.rs b/gen/sourcerepo1/src/api.rs index 3deadb7a71..d5cd2516a9 100644 --- a/gen/sourcerepo1/src/api.rs +++ b/gen/sourcerepo1/src/api.rs @@ -83,7 +83,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudSourceRepositories::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudSourceRepositories::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -131,7 +131,7 @@ impl<'a, > CloudSourceRepositories<> { CloudSourceRepositories { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://sourcerepo.googleapis.com/".to_string(), _root_url: "https://sourcerepo.googleapis.com/".to_string(), } @@ -142,7 +142,7 @@ impl<'a, > CloudSourceRepositories<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -579,7 +579,7 @@ impl client::RequestValue for UpdateRepoRequest {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudSourceRepositories::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudSourceRepositories::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get_config(...)`, `repos_create(...)`, `repos_delete(...)`, `repos_get(...)`, `repos_get_iam_policy(...)`, `repos_list(...)`, `repos_patch(...)`, `repos_set_iam_policy(...)`, `repos_sync(...)`, `repos_test_iam_permissions(...)` and `update_config(...)` /// // to build up your call. @@ -830,7 +830,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudSourceRepositories::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudSourceRepositories::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1115,7 +1115,7 @@ impl<'a> ProjectRepoCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudSourceRepositories::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudSourceRepositories::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1371,7 +1371,7 @@ impl<'a> ProjectRepoDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudSourceRepositories::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudSourceRepositories::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1627,7 +1627,7 @@ impl<'a> ProjectRepoGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudSourceRepositories::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudSourceRepositories::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1895,7 +1895,7 @@ impl<'a> ProjectRepoGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudSourceRepositories::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudSourceRepositories::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2176,7 +2176,7 @@ impl<'a> ProjectRepoListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudSourceRepositories::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudSourceRepositories::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2462,7 +2462,7 @@ impl<'a> ProjectRepoPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudSourceRepositories::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudSourceRepositories::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2748,7 +2748,7 @@ impl<'a> ProjectRepoSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudSourceRepositories::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudSourceRepositories::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3034,7 +3034,7 @@ impl<'a> ProjectRepoSyncCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudSourceRepositories::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudSourceRepositories::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3319,7 +3319,7 @@ impl<'a> ProjectRepoTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudSourceRepositories::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudSourceRepositories::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3576,7 +3576,7 @@ impl<'a> ProjectGetConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudSourceRepositories::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudSourceRepositories::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/sourcerepo1/src/lib.rs b/gen/sourcerepo1/src/lib.rs index 8b9225c0e8..7086a1cd1e 100644 --- a/gen/sourcerepo1/src/lib.rs +++ b/gen/sourcerepo1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Source Repositories* crate version *3.0.0+20220217*, where *20220217* is the exact revision of the *sourcerepo:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Source Repositories* crate version *3.1.0+20220217*, where *20220217* is the exact revision of the *sourcerepo:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Source Repositories* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/source-repositories/docs/apis). @@ -94,7 +94,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudSourceRepositories::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudSourceRepositories::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/spectrum1_explorer-cli/Cargo.toml b/gen/spectrum1_explorer-cli/Cargo.toml index b3817083f6..38ede535b8 100644 --- a/gen/spectrum1_explorer-cli/Cargo.toml +++ b/gen/spectrum1_explorer-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-spectrum1_explorer-cli" -version = "3.0.0+20170306" +version = "3.1.0+20170306" authors = ["Sebastian Thiel "] description = "A complete library to interact with spectrum (protocol v1explorer)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/spectrum1_explorer-cli" @@ -20,12 +20,12 @@ name = "spectrum1-explorer" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-spectrum1_explorer] path = "../spectrum1_explorer" -version = "3.0.0+20170306" +version = "3.1.0+20170306" diff --git a/gen/spectrum1_explorer-cli/README.md b/gen/spectrum1_explorer-cli/README.md index ddc5b97837..904fe90086 100644 --- a/gen/spectrum1_explorer-cli/README.md +++ b/gen/spectrum1_explorer-cli/README.md @@ -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 *spectrum* API at revision *20170306*. The CLI is at version *3.0.0*. +This documentation was generated from the *spectrum* API at revision *20170306*. The CLI is at version *3.1.0*. ```bash spectrum1-explorer [options] diff --git a/gen/spectrum1_explorer-cli/mkdocs.yml b/gen/spectrum1_explorer-cli/mkdocs.yml index f9f9b0f6d7..ebe793c1b2 100644 --- a/gen/spectrum1_explorer-cli/mkdocs.yml +++ b/gen/spectrum1_explorer-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: spectrum v3.0.0+20170306 +site_name: spectrum v3.1.0+20170306 site_url: http://byron.github.io/google-apis-rs/google-spectrum1_explorer-cli site_description: A complete library to interact with spectrum (protocol v1explorer) diff --git a/gen/spectrum1_explorer-cli/src/main.rs b/gen/spectrum1_explorer-cli/src/main.rs index 229c4eaeb3..c5ad04e79d 100644 --- a/gen/spectrum1_explorer-cli/src/main.rs +++ b/gen/spectrum1_explorer-cli/src/main.rs @@ -770,7 +770,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/spectrum1-explorer", 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::Spectrum::new(client, auth), @@ -941,7 +947,7 @@ async fn main() { let mut app = App::new("spectrum1-explorer") .author("Sebastian Thiel ") - .version("3.0.0+20170306") + .version("3.1.0+20170306") .about("API for spectrum-management functions.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_spectrum1_explorer_cli") .arg(Arg::with_name("folder") diff --git a/gen/spectrum1_explorer/Cargo.toml b/gen/spectrum1_explorer/Cargo.toml index 3085e97484..fab40103ce 100644 --- a/gen/spectrum1_explorer/Cargo.toml +++ b/gen/spectrum1_explorer/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-spectrum1_explorer" -version = "3.0.0+20170306" +version = "3.1.0+20170306" authors = ["Sebastian Thiel "] description = "A complete library to interact with spectrum (protocol v1explorer)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/spectrum1_explorer" homepage = "http://developers.google.com/spectrum" -documentation = "https://docs.rs/google-spectrum1_explorer/3.0.0+20170306" +documentation = "https://docs.rs/google-spectrum1_explorer/3.1.0+20170306" license = "MIT" keywords = ["spectrum", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/spectrum1_explorer/README.md b/gen/spectrum1_explorer/README.md index a7997f9c39..25798cac29 100644 --- a/gen/spectrum1_explorer/README.md +++ b/gen/spectrum1_explorer/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-spectrum1_explorer` library allows access to all features of the *Google spectrum* service. -This documentation was generated from *spectrum* crate version *3.0.0+20170306*, where *20170306* is the exact revision of the *spectrum:v1explorer* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *spectrum* crate version *3.1.0+20170306*, where *20170306* is the exact revision of the *spectrum:v1explorer* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *spectrum* *v1_explorer* API can be found at the [official documentation site](http://developers.google.com/spectrum). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-spectrum1_explorer/3.0.0+20170306/google_spectrum1_explorer/Spectrum) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-spectrum1_explorer/3.1.0+20170306/google_spectrum1_explorer/Spectrum) ... * paws - * [*get spectrum*](https://docs.rs/google-spectrum1_explorer/3.0.0+20170306/google_spectrum1_explorer/api::PawGetSpectrumCall), [*get spectrum batch*](https://docs.rs/google-spectrum1_explorer/3.0.0+20170306/google_spectrum1_explorer/api::PawGetSpectrumBatchCall), [*init*](https://docs.rs/google-spectrum1_explorer/3.0.0+20170306/google_spectrum1_explorer/api::PawInitCall), [*notify spectrum use*](https://docs.rs/google-spectrum1_explorer/3.0.0+20170306/google_spectrum1_explorer/api::PawNotifySpectrumUseCall), [*register*](https://docs.rs/google-spectrum1_explorer/3.0.0+20170306/google_spectrum1_explorer/api::PawRegisterCall) and [*verify device*](https://docs.rs/google-spectrum1_explorer/3.0.0+20170306/google_spectrum1_explorer/api::PawVerifyDeviceCall) + * [*get spectrum*](https://docs.rs/google-spectrum1_explorer/3.1.0+20170306/google_spectrum1_explorer/api::PawGetSpectrumCall), [*get spectrum batch*](https://docs.rs/google-spectrum1_explorer/3.1.0+20170306/google_spectrum1_explorer/api::PawGetSpectrumBatchCall), [*init*](https://docs.rs/google-spectrum1_explorer/3.1.0+20170306/google_spectrum1_explorer/api::PawInitCall), [*notify spectrum use*](https://docs.rs/google-spectrum1_explorer/3.1.0+20170306/google_spectrum1_explorer/api::PawNotifySpectrumUseCall), [*register*](https://docs.rs/google-spectrum1_explorer/3.1.0+20170306/google_spectrum1_explorer/api::PawRegisterCall) and [*verify device*](https://docs.rs/google-spectrum1_explorer/3.1.0+20170306/google_spectrum1_explorer/api::PawVerifyDeviceCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-spectrum1_explorer/3.0.0+20170306/google_spectrum1_explorer/Spectrum)** +* **[Hub](https://docs.rs/google-spectrum1_explorer/3.1.0+20170306/google_spectrum1_explorer/Spectrum)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-spectrum1_explorer/3.0.0+20170306/google_spectrum1_explorer/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-spectrum1_explorer/3.0.0+20170306/google_spectrum1_explorer/client::CallBuilder) -* **[Resources](https://docs.rs/google-spectrum1_explorer/3.0.0+20170306/google_spectrum1_explorer/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-spectrum1_explorer/3.1.0+20170306/google_spectrum1_explorer/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-spectrum1_explorer/3.1.0+20170306/google_spectrum1_explorer/client::CallBuilder) +* **[Resources](https://docs.rs/google-spectrum1_explorer/3.1.0+20170306/google_spectrum1_explorer/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-spectrum1_explorer/3.0.0+20170306/google_spectrum1_explorer/client::Part)** + * **[Parts](https://docs.rs/google-spectrum1_explorer/3.1.0+20170306/google_spectrum1_explorer/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-spectrum1_explorer/3.0.0+20170306/google_spectrum1_explorer/client::CallBuilder)** +* **[Activities](https://docs.rs/google-spectrum1_explorer/3.1.0+20170306/google_spectrum1_explorer/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -91,7 +91,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Spectrum::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Spectrum::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -124,17 +124,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-spectrum1_explorer/3.0.0+20170306/google_spectrum1_explorer/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-spectrum1_explorer/3.1.0+20170306/google_spectrum1_explorer/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-spectrum1_explorer/3.0.0+20170306/google_spectrum1_explorer/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-spectrum1_explorer/3.1.0+20170306/google_spectrum1_explorer/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-spectrum1_explorer/3.0.0+20170306/google_spectrum1_explorer/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-spectrum1_explorer/3.1.0+20170306/google_spectrum1_explorer/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-spectrum1_explorer/3.0.0+20170306/google_spectrum1_explorer/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-spectrum1_explorer/3.1.0+20170306/google_spectrum1_explorer/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -144,29 +144,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-spectrum1_explorer/3.0.0+20170306/google_spectrum1_explorer/client::Delegate) to the -[Method Builder](https://docs.rs/google-spectrum1_explorer/3.0.0+20170306/google_spectrum1_explorer/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-spectrum1_explorer/3.1.0+20170306/google_spectrum1_explorer/client::Delegate) to the +[Method Builder](https://docs.rs/google-spectrum1_explorer/3.1.0+20170306/google_spectrum1_explorer/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-spectrum1_explorer/3.0.0+20170306/google_spectrum1_explorer/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-spectrum1_explorer/3.1.0+20170306/google_spectrum1_explorer/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-spectrum1_explorer/3.0.0+20170306/google_spectrum1_explorer/client::RequestValue) and -[decodable](https://docs.rs/google-spectrum1_explorer/3.0.0+20170306/google_spectrum1_explorer/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-spectrum1_explorer/3.1.0+20170306/google_spectrum1_explorer/client::RequestValue) and +[decodable](https://docs.rs/google-spectrum1_explorer/3.1.0+20170306/google_spectrum1_explorer/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-spectrum1_explorer/3.0.0+20170306/google_spectrum1_explorer/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-spectrum1_explorer/3.1.0+20170306/google_spectrum1_explorer/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-spectrum1_explorer/3.0.0+20170306/google_spectrum1_explorer/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-spectrum1_explorer/3.1.0+20170306/google_spectrum1_explorer/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-spectrum1_explorer/3.0.0+20170306/google_spectrum1_explorer/client::RequestValue) are moved +* [request values](https://docs.rs/google-spectrum1_explorer/3.1.0+20170306/google_spectrum1_explorer/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/spectrum1_explorer/src/api.rs b/gen/spectrum1_explorer/src/api.rs index 4c1733b829..8763a3fc6c 100644 --- a/gen/spectrum1_explorer/src/api.rs +++ b/gen/spectrum1_explorer/src/api.rs @@ -49,7 +49,7 @@ use crate::client; /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Spectrum::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Spectrum::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -97,7 +97,7 @@ impl<'a, > Spectrum<> { Spectrum { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/spectrum/v1explorer/paws/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -108,7 +108,7 @@ impl<'a, > Spectrum<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1002,7 +1002,7 @@ impl client::Part for VcardTypedText {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Spectrum::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Spectrum::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get_spectrum(...)`, `get_spectrum_batch(...)`, `init(...)`, `notify_spectrum_use(...)`, `register(...)` and `verify_device(...)` /// // to build up your call. @@ -1147,7 +1147,7 @@ impl<'a> PawMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Spectrum::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Spectrum::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1362,7 +1362,7 @@ impl<'a> PawGetSpectrumCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Spectrum::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Spectrum::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1577,7 +1577,7 @@ impl<'a> PawGetSpectrumBatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Spectrum::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Spectrum::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1792,7 +1792,7 @@ impl<'a> PawInitCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Spectrum::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Spectrum::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2007,7 +2007,7 @@ impl<'a> PawNotifySpectrumUseCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Spectrum::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Spectrum::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2222,7 +2222,7 @@ impl<'a> PawRegisterCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Spectrum::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Spectrum::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/spectrum1_explorer/src/lib.rs b/gen/spectrum1_explorer/src/lib.rs index 0300f8e69d..b510a25c49 100644 --- a/gen/spectrum1_explorer/src/lib.rs +++ b/gen/spectrum1_explorer/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *spectrum* crate version *3.0.0+20170306*, where *20170306* is the exact revision of the *spectrum:v1explorer* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *spectrum* crate version *3.1.0+20170306*, where *20170306* is the exact revision of the *spectrum:v1explorer* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *spectrum* *v1_explorer* API can be found at the //! [official documentation site](http://developers.google.com/spectrum). @@ -92,7 +92,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Spectrum::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Spectrum::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/speech1-cli/Cargo.toml b/gen/speech1-cli/Cargo.toml index 90ef9b0b5b..c864cad963 100644 --- a/gen/speech1-cli/Cargo.toml +++ b/gen/speech1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-speech1-cli" -version = "3.0.0+20220221" +version = "3.1.0+20220221" authors = ["Sebastian Thiel "] description = "A complete library to interact with Speech (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/speech1-cli" @@ -20,12 +20,12 @@ name = "speech1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-speech1] path = "../speech1" -version = "3.0.0+20220221" +version = "3.1.0+20220221" diff --git a/gen/speech1-cli/README.md b/gen/speech1-cli/README.md index cbb4394fa0..878e039ddb 100644 --- a/gen/speech1-cli/README.md +++ b/gen/speech1-cli/README.md @@ -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 *Speech* API at revision *20220221*. The CLI is at version *3.0.0*. +This documentation was generated from the *Speech* API at revision *20220221*. The CLI is at version *3.1.0*. ```bash speech1 [options] diff --git a/gen/speech1-cli/mkdocs.yml b/gen/speech1-cli/mkdocs.yml index 480eb2dd28..8b981562b7 100644 --- a/gen/speech1-cli/mkdocs.yml +++ b/gen/speech1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Speech v3.0.0+20220221 +site_name: Speech v3.1.0+20220221 site_url: http://byron.github.io/google-apis-rs/google-speech1-cli site_description: A complete library to interact with Speech (protocol v1) diff --git a/gen/speech1-cli/src/main.rs b/gen/speech1-cli/src/main.rs index 9b8fbb5701..1a4c83e5a9 100644 --- a/gen/speech1-cli/src/main.rs +++ b/gen/speech1-cli/src/main.rs @@ -1173,7 +1173,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/speech1", 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::Speech::new(client, auth), @@ -1547,7 +1553,7 @@ async fn main() { let mut app = App::new("speech1") .author("Sebastian Thiel ") - .version("3.0.0+20220221") + .version("3.1.0+20220221") .about("Converts audio to text by applying powerful neural network models.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_speech1_cli") .arg(Arg::with_name("url") diff --git a/gen/speech1/Cargo.toml b/gen/speech1/Cargo.toml index 775f705175..8996dbb353 100644 --- a/gen/speech1/Cargo.toml +++ b/gen/speech1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-speech1" -version = "3.0.0+20220221" +version = "3.1.0+20220221" authors = ["Sebastian Thiel "] description = "A complete library to interact with Speech (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/speech1" homepage = "https://cloud.google.com/speech-to-text/docs/quickstart-protocol" -documentation = "https://docs.rs/google-speech1/3.0.0+20220221" +documentation = "https://docs.rs/google-speech1/3.1.0+20220221" license = "MIT" keywords = ["speech", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/speech1/README.md b/gen/speech1/README.md index 94ac735a62..6995690f16 100644 --- a/gen/speech1/README.md +++ b/gen/speech1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-speech1` library allows access to all features of the *Google Speech* service. -This documentation was generated from *Speech* crate version *3.0.0+20220221*, where *20220221* is the exact revision of the *speech:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Speech* crate version *3.1.0+20220221*, where *20220221* is the exact revision of the *speech:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Speech* *v1* API can be found at the [official documentation site](https://cloud.google.com/speech-to-text/docs/quickstart-protocol). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-speech1/3.0.0+20220221/google_speech1/Speech) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-speech1/3.1.0+20220221/google_speech1/Speech) ... -* [operations](https://docs.rs/google-speech1/3.0.0+20220221/google_speech1/api::Operation) - * [*get*](https://docs.rs/google-speech1/3.0.0+20220221/google_speech1/api::OperationGetCall) and [*list*](https://docs.rs/google-speech1/3.0.0+20220221/google_speech1/api::OperationListCall) +* [operations](https://docs.rs/google-speech1/3.1.0+20220221/google_speech1/api::Operation) + * [*get*](https://docs.rs/google-speech1/3.1.0+20220221/google_speech1/api::OperationGetCall) and [*list*](https://docs.rs/google-speech1/3.1.0+20220221/google_speech1/api::OperationListCall) * projects - * [*locations custom classes create*](https://docs.rs/google-speech1/3.0.0+20220221/google_speech1/api::ProjectLocationCustomClasseCreateCall), [*locations custom classes delete*](https://docs.rs/google-speech1/3.0.0+20220221/google_speech1/api::ProjectLocationCustomClasseDeleteCall), [*locations custom classes get*](https://docs.rs/google-speech1/3.0.0+20220221/google_speech1/api::ProjectLocationCustomClasseGetCall), [*locations custom classes list*](https://docs.rs/google-speech1/3.0.0+20220221/google_speech1/api::ProjectLocationCustomClasseListCall), [*locations custom classes patch*](https://docs.rs/google-speech1/3.0.0+20220221/google_speech1/api::ProjectLocationCustomClassePatchCall), [*locations phrase sets create*](https://docs.rs/google-speech1/3.0.0+20220221/google_speech1/api::ProjectLocationPhraseSetCreateCall), [*locations phrase sets delete*](https://docs.rs/google-speech1/3.0.0+20220221/google_speech1/api::ProjectLocationPhraseSetDeleteCall), [*locations phrase sets get*](https://docs.rs/google-speech1/3.0.0+20220221/google_speech1/api::ProjectLocationPhraseSetGetCall), [*locations phrase sets list*](https://docs.rs/google-speech1/3.0.0+20220221/google_speech1/api::ProjectLocationPhraseSetListCall) and [*locations phrase sets patch*](https://docs.rs/google-speech1/3.0.0+20220221/google_speech1/api::ProjectLocationPhraseSetPatchCall) + * [*locations custom classes create*](https://docs.rs/google-speech1/3.1.0+20220221/google_speech1/api::ProjectLocationCustomClasseCreateCall), [*locations custom classes delete*](https://docs.rs/google-speech1/3.1.0+20220221/google_speech1/api::ProjectLocationCustomClasseDeleteCall), [*locations custom classes get*](https://docs.rs/google-speech1/3.1.0+20220221/google_speech1/api::ProjectLocationCustomClasseGetCall), [*locations custom classes list*](https://docs.rs/google-speech1/3.1.0+20220221/google_speech1/api::ProjectLocationCustomClasseListCall), [*locations custom classes patch*](https://docs.rs/google-speech1/3.1.0+20220221/google_speech1/api::ProjectLocationCustomClassePatchCall), [*locations phrase sets create*](https://docs.rs/google-speech1/3.1.0+20220221/google_speech1/api::ProjectLocationPhraseSetCreateCall), [*locations phrase sets delete*](https://docs.rs/google-speech1/3.1.0+20220221/google_speech1/api::ProjectLocationPhraseSetDeleteCall), [*locations phrase sets get*](https://docs.rs/google-speech1/3.1.0+20220221/google_speech1/api::ProjectLocationPhraseSetGetCall), [*locations phrase sets list*](https://docs.rs/google-speech1/3.1.0+20220221/google_speech1/api::ProjectLocationPhraseSetListCall) and [*locations phrase sets patch*](https://docs.rs/google-speech1/3.1.0+20220221/google_speech1/api::ProjectLocationPhraseSetPatchCall) * speech - * [*longrunningrecognize*](https://docs.rs/google-speech1/3.0.0+20220221/google_speech1/api::SpeechLongrunningrecognizeCall) and [*recognize*](https://docs.rs/google-speech1/3.0.0+20220221/google_speech1/api::SpeechRecognizeCall) + * [*longrunningrecognize*](https://docs.rs/google-speech1/3.1.0+20220221/google_speech1/api::SpeechLongrunningrecognizeCall) and [*recognize*](https://docs.rs/google-speech1/3.1.0+20220221/google_speech1/api::SpeechRecognizeCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-speech1/3.0.0+20220221/google_speech1/Speech)** +* **[Hub](https://docs.rs/google-speech1/3.1.0+20220221/google_speech1/Speech)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-speech1/3.0.0+20220221/google_speech1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-speech1/3.0.0+20220221/google_speech1/client::CallBuilder) -* **[Resources](https://docs.rs/google-speech1/3.0.0+20220221/google_speech1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-speech1/3.1.0+20220221/google_speech1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-speech1/3.1.0+20220221/google_speech1/client::CallBuilder) +* **[Resources](https://docs.rs/google-speech1/3.1.0+20220221/google_speech1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-speech1/3.0.0+20220221/google_speech1/client::Part)** + * **[Parts](https://docs.rs/google-speech1/3.1.0+20220221/google_speech1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-speech1/3.0.0+20220221/google_speech1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-speech1/3.1.0+20220221/google_speech1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -96,7 +96,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -128,17 +128,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-speech1/3.0.0+20220221/google_speech1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-speech1/3.1.0+20220221/google_speech1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-speech1/3.0.0+20220221/google_speech1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-speech1/3.1.0+20220221/google_speech1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-speech1/3.0.0+20220221/google_speech1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-speech1/3.1.0+20220221/google_speech1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-speech1/3.0.0+20220221/google_speech1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-speech1/3.1.0+20220221/google_speech1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -148,29 +148,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-speech1/3.0.0+20220221/google_speech1/client::Delegate) to the -[Method Builder](https://docs.rs/google-speech1/3.0.0+20220221/google_speech1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-speech1/3.1.0+20220221/google_speech1/client::Delegate) to the +[Method Builder](https://docs.rs/google-speech1/3.1.0+20220221/google_speech1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-speech1/3.0.0+20220221/google_speech1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-speech1/3.1.0+20220221/google_speech1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-speech1/3.0.0+20220221/google_speech1/client::RequestValue) and -[decodable](https://docs.rs/google-speech1/3.0.0+20220221/google_speech1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-speech1/3.1.0+20220221/google_speech1/client::RequestValue) and +[decodable](https://docs.rs/google-speech1/3.1.0+20220221/google_speech1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-speech1/3.0.0+20220221/google_speech1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-speech1/3.1.0+20220221/google_speech1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-speech1/3.0.0+20220221/google_speech1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-speech1/3.1.0+20220221/google_speech1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-speech1/3.0.0+20220221/google_speech1/client::RequestValue) are moved +* [request values](https://docs.rs/google-speech1/3.1.0+20220221/google_speech1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/speech1/src/api.rs b/gen/speech1/src/api.rs index 2d2f012ee2..9620c7c399 100644 --- a/gen/speech1/src/api.rs +++ b/gen/speech1/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -117,7 +117,7 @@ impl<'a, > Speech<> { Speech { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://speech.googleapis.com/".to_string(), _root_url: "https://speech.googleapis.com/".to_string(), } @@ -134,7 +134,7 @@ impl<'a, > Speech<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -751,7 +751,7 @@ impl client::Part for WordInfo {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -825,7 +825,7 @@ impl<'a> OperationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_custom_classes_create(...)`, `locations_custom_classes_delete(...)`, `locations_custom_classes_get(...)`, `locations_custom_classes_list(...)`, `locations_custom_classes_patch(...)`, `locations_phrase_sets_create(...)`, `locations_phrase_sets_delete(...)`, `locations_phrase_sets_get(...)`, `locations_phrase_sets_list(...)` and `locations_phrase_sets_patch(...)` /// // to build up your call. @@ -1050,7 +1050,7 @@ impl<'a> ProjectMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `longrunningrecognize(...)` and `recognize(...)` /// // to build up your call. @@ -1132,7 +1132,7 @@ impl<'a> SpeechMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1388,7 +1388,7 @@ impl<'a> OperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1656,7 +1656,7 @@ impl<'a> OperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1941,7 +1941,7 @@ impl<'a> ProjectLocationCustomClasseCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2197,7 +2197,7 @@ impl<'a> ProjectLocationCustomClasseDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2453,7 +2453,7 @@ impl<'a> ProjectLocationCustomClasseGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2734,7 +2734,7 @@ impl<'a> ProjectLocationCustomClasseListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3032,7 +3032,7 @@ impl<'a> ProjectLocationCustomClassePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3317,7 +3317,7 @@ impl<'a> ProjectLocationPhraseSetCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3573,7 +3573,7 @@ impl<'a> ProjectLocationPhraseSetDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3829,7 +3829,7 @@ impl<'a> ProjectLocationPhraseSetGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4110,7 +4110,7 @@ impl<'a> ProjectLocationPhraseSetListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4408,7 +4408,7 @@ impl<'a> ProjectLocationPhraseSetPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4657,7 +4657,7 @@ impl<'a> SpeechLongrunningrecognizeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/speech1/src/lib.rs b/gen/speech1/src/lib.rs index 75cd0eff99..648e2c2750 100644 --- a/gen/speech1/src/lib.rs +++ b/gen/speech1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Speech* crate version *3.0.0+20220221*, where *20220221* is the exact revision of the *speech:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Speech* crate version *3.1.0+20220221*, where *20220221* is the exact revision of the *speech:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Speech* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/speech-to-text/docs/quickstart-protocol). @@ -97,7 +97,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/speech1_beta1-cli/Cargo.toml b/gen/speech1_beta1-cli/Cargo.toml index c279e30432..045f4569c5 100644 --- a/gen/speech1_beta1-cli/Cargo.toml +++ b/gen/speech1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-speech1_beta1-cli" -version = "3.0.0+20181005" +version = "3.1.0+20181005" authors = ["Sebastian Thiel "] description = "A complete library to interact with Speech (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/speech1_beta1-cli" @@ -20,12 +20,12 @@ name = "speech1-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-speech1_beta1] path = "../speech1_beta1" -version = "3.0.0+20181005" +version = "3.1.0+20181005" diff --git a/gen/speech1_beta1-cli/README.md b/gen/speech1_beta1-cli/README.md index 6c0ba0211b..78f16a7262 100644 --- a/gen/speech1_beta1-cli/README.md +++ b/gen/speech1_beta1-cli/README.md @@ -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 *Speech* API at revision *20181005*. The CLI is at version *3.0.0*. +This documentation was generated from the *Speech* API at revision *20181005*. The CLI is at version *3.1.0*. ```bash speech1-beta1 [options] diff --git a/gen/speech1_beta1-cli/mkdocs.yml b/gen/speech1_beta1-cli/mkdocs.yml index 138784f3d7..2f39188393 100644 --- a/gen/speech1_beta1-cli/mkdocs.yml +++ b/gen/speech1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Speech v3.0.0+20181005 +site_name: Speech v3.1.0+20181005 site_url: http://byron.github.io/google-apis-rs/google-speech1_beta1-cli site_description: A complete library to interact with Speech (protocol v1beta1) diff --git a/gen/speech1_beta1-cli/src/main.rs b/gen/speech1_beta1-cli/src/main.rs index f16743205d..9f46d3010f 100644 --- a/gen/speech1_beta1-cli/src/main.rs +++ b/gen/speech1_beta1-cli/src/main.rs @@ -410,7 +410,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/speech1-beta1", 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::Speech::new(client, auth), @@ -554,7 +560,7 @@ async fn main() { let mut app = App::new("speech1-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20181005") + .version("3.1.0+20181005") .about("Converts audio to text by applying powerful neural network models.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_speech1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/speech1_beta1/Cargo.toml b/gen/speech1_beta1/Cargo.toml index 896539d99a..52feed9cb6 100644 --- a/gen/speech1_beta1/Cargo.toml +++ b/gen/speech1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-speech1_beta1" -version = "3.0.0+20181005" +version = "3.1.0+20181005" authors = ["Sebastian Thiel "] description = "A complete library to interact with Speech (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/speech1_beta1" homepage = "https://cloud.google.com/speech-to-text/docs/quickstart-protocol" -documentation = "https://docs.rs/google-speech1_beta1/3.0.0+20181005" +documentation = "https://docs.rs/google-speech1_beta1/3.1.0+20181005" license = "MIT" keywords = ["speech", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/speech1_beta1/README.md b/gen/speech1_beta1/README.md index 023270fb86..74515017af 100644 --- a/gen/speech1_beta1/README.md +++ b/gen/speech1_beta1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-speech1_beta1` library allows access to all features of the *Google Speech* service. -This documentation was generated from *Speech* crate version *3.0.0+20181005*, where *20181005* is the exact revision of the *speech:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Speech* crate version *3.1.0+20181005*, where *20181005* is the exact revision of the *speech:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Speech* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/speech-to-text/docs/quickstart-protocol). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-speech1_beta1/3.0.0+20181005/google_speech1_beta1/Speech) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-speech1_beta1/3.1.0+20181005/google_speech1_beta1/Speech) ... -* [operations](https://docs.rs/google-speech1_beta1/3.0.0+20181005/google_speech1_beta1/api::Operation) - * [*get*](https://docs.rs/google-speech1_beta1/3.0.0+20181005/google_speech1_beta1/api::OperationGetCall) and [*list*](https://docs.rs/google-speech1_beta1/3.0.0+20181005/google_speech1_beta1/api::OperationListCall) +* [operations](https://docs.rs/google-speech1_beta1/3.1.0+20181005/google_speech1_beta1/api::Operation) + * [*get*](https://docs.rs/google-speech1_beta1/3.1.0+20181005/google_speech1_beta1/api::OperationGetCall) and [*list*](https://docs.rs/google-speech1_beta1/3.1.0+20181005/google_speech1_beta1/api::OperationListCall) * speech - * [*asyncrecognize*](https://docs.rs/google-speech1_beta1/3.0.0+20181005/google_speech1_beta1/api::SpeechAsyncrecognizeCall) and [*syncrecognize*](https://docs.rs/google-speech1_beta1/3.0.0+20181005/google_speech1_beta1/api::SpeechSyncrecognizeCall) + * [*asyncrecognize*](https://docs.rs/google-speech1_beta1/3.1.0+20181005/google_speech1_beta1/api::SpeechAsyncrecognizeCall) and [*syncrecognize*](https://docs.rs/google-speech1_beta1/3.1.0+20181005/google_speech1_beta1/api::SpeechSyncrecognizeCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-speech1_beta1/3.0.0+20181005/google_speech1_beta1/Speech)** +* **[Hub](https://docs.rs/google-speech1_beta1/3.1.0+20181005/google_speech1_beta1/Speech)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-speech1_beta1/3.0.0+20181005/google_speech1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-speech1_beta1/3.0.0+20181005/google_speech1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-speech1_beta1/3.0.0+20181005/google_speech1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-speech1_beta1/3.1.0+20181005/google_speech1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-speech1_beta1/3.1.0+20181005/google_speech1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-speech1_beta1/3.1.0+20181005/google_speech1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-speech1_beta1/3.0.0+20181005/google_speech1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-speech1_beta1/3.1.0+20181005/google_speech1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-speech1_beta1/3.0.0+20181005/google_speech1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-speech1_beta1/3.1.0+20181005/google_speech1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -94,7 +94,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -126,17 +126,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-speech1_beta1/3.0.0+20181005/google_speech1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-speech1_beta1/3.1.0+20181005/google_speech1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-speech1_beta1/3.0.0+20181005/google_speech1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-speech1_beta1/3.1.0+20181005/google_speech1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-speech1_beta1/3.0.0+20181005/google_speech1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-speech1_beta1/3.1.0+20181005/google_speech1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-speech1_beta1/3.0.0+20181005/google_speech1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-speech1_beta1/3.1.0+20181005/google_speech1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -146,29 +146,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-speech1_beta1/3.0.0+20181005/google_speech1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-speech1_beta1/3.0.0+20181005/google_speech1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-speech1_beta1/3.1.0+20181005/google_speech1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-speech1_beta1/3.1.0+20181005/google_speech1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-speech1_beta1/3.0.0+20181005/google_speech1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-speech1_beta1/3.1.0+20181005/google_speech1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-speech1_beta1/3.0.0+20181005/google_speech1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-speech1_beta1/3.0.0+20181005/google_speech1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-speech1_beta1/3.1.0+20181005/google_speech1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-speech1_beta1/3.1.0+20181005/google_speech1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-speech1_beta1/3.0.0+20181005/google_speech1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-speech1_beta1/3.1.0+20181005/google_speech1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-speech1_beta1/3.0.0+20181005/google_speech1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-speech1_beta1/3.1.0+20181005/google_speech1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-speech1_beta1/3.0.0+20181005/google_speech1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-speech1_beta1/3.1.0+20181005/google_speech1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/speech1_beta1/src/api.rs b/gen/speech1_beta1/src/api.rs index d5d1ff0b4c..bb96ec840d 100644 --- a/gen/speech1_beta1/src/api.rs +++ b/gen/speech1_beta1/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -117,7 +117,7 @@ impl<'a, > Speech<> { Speech { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://speech.googleapis.com/".to_string(), _root_url: "https://speech.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > Speech<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -507,7 +507,7 @@ impl client::Part for Status {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -592,7 +592,7 @@ impl<'a> OperationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `asyncrecognize(...)` and `syncrecognize(...)` /// // to build up your call. @@ -689,7 +689,7 @@ impl<'a> SpeechMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -958,7 +958,7 @@ impl<'a> OperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1220,7 +1220,7 @@ impl<'a> OperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1470,7 +1470,7 @@ impl<'a> SpeechAsyncrecognizeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/speech1_beta1/src/lib.rs b/gen/speech1_beta1/src/lib.rs index 7f1b3af1c3..ec1e51b3a2 100644 --- a/gen/speech1_beta1/src/lib.rs +++ b/gen/speech1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Speech* crate version *3.0.0+20181005*, where *20181005* is the exact revision of the *speech:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Speech* crate version *3.1.0+20181005*, where *20181005* is the exact revision of the *speech:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Speech* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/speech-to-text/docs/quickstart-protocol). @@ -95,7 +95,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Speech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/sql1_beta4-cli/Cargo.toml b/gen/sql1_beta4-cli/Cargo.toml index e8ccf749be..a8c567e23c 100644 --- a/gen/sql1_beta4-cli/Cargo.toml +++ b/gen/sql1_beta4-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-sql1_beta4-cli" -version = "3.0.0+20200331" +version = "3.1.0+20200331" authors = ["Sebastian Thiel "] description = "A complete library to interact with SQL Admin (protocol v1beta4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/sql1_beta4-cli" @@ -20,12 +20,12 @@ name = "sql1-beta4" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-sql1_beta4] path = "../sql1_beta4" -version = "3.0.0+20200331" +version = "3.1.0+20200331" diff --git a/gen/sql1_beta4-cli/README.md b/gen/sql1_beta4-cli/README.md index 477b26c3e1..a650903831 100644 --- a/gen/sql1_beta4-cli/README.md +++ b/gen/sql1_beta4-cli/README.md @@ -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 *SQL Admin* API at revision *20200331*. The CLI is at version *3.0.0*. +This documentation was generated from the *SQL Admin* API at revision *20200331*. The CLI is at version *3.1.0*. ```bash sql1-beta4 [options] diff --git a/gen/sql1_beta4-cli/mkdocs.yml b/gen/sql1_beta4-cli/mkdocs.yml index 6d4a4f660b..12004e8380 100644 --- a/gen/sql1_beta4-cli/mkdocs.yml +++ b/gen/sql1_beta4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: SQL Admin v3.0.0+20200331 +site_name: SQL Admin v3.1.0+20200331 site_url: http://byron.github.io/google-apis-rs/google-sql1_beta4-cli site_description: A complete library to interact with SQL Admin (protocol v1beta4) diff --git a/gen/sql1_beta4-cli/src/main.rs b/gen/sql1_beta4-cli/src/main.rs index cf2b53852c..4354fd83e9 100644 --- a/gen/sql1_beta4-cli/src/main.rs +++ b/gen/sql1_beta4-cli/src/main.rs @@ -3823,7 +3823,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/sql1-beta4", 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::SQLAdmin::new(client, auth), @@ -5377,7 +5383,7 @@ async fn main() { let mut app = App::new("sql1-beta4") .author("Sebastian Thiel ") - .version("3.0.0+20200331") + .version("3.1.0+20200331") .about("API for Cloud SQL database instance management") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_sql1_beta4_cli") .arg(Arg::with_name("url") diff --git a/gen/sql1_beta4/Cargo.toml b/gen/sql1_beta4/Cargo.toml index 8041721b17..32b2c02e34 100644 --- a/gen/sql1_beta4/Cargo.toml +++ b/gen/sql1_beta4/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-sql1_beta4" -version = "3.0.0+20200331" +version = "3.1.0+20200331" authors = ["Sebastian Thiel "] description = "A complete library to interact with SQL Admin (protocol v1beta4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/sql1_beta4" homepage = "https://developers.google.com/cloud-sql/" -documentation = "https://docs.rs/google-sql1_beta4/3.0.0+20200331" +documentation = "https://docs.rs/google-sql1_beta4/3.1.0+20200331" license = "MIT" keywords = ["sql", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/sql1_beta4/README.md b/gen/sql1_beta4/README.md index d8888a5fa5..e8db8617a9 100644 --- a/gen/sql1_beta4/README.md +++ b/gen/sql1_beta4/README.md @@ -5,32 +5,32 @@ DO NOT EDIT ! --> The `google-sql1_beta4` library allows access to all features of the *Google SQL Admin* service. -This documentation was generated from *SQL Admin* crate version *3.0.0+20200331*, where *20200331* is the exact revision of the *sql:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *SQL Admin* crate version *3.1.0+20200331*, where *20200331* is the exact revision of the *sql:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *SQL Admin* *v1_beta4* API can be found at the [official documentation site](https://developers.google.com/cloud-sql/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/SQLAdmin) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/SQLAdmin) ... -* [backup runs](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::BackupRun) - * [*delete*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::BackupRunDeleteCall), [*get*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::BackupRunGetCall), [*insert*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::BackupRunInsertCall) and [*list*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::BackupRunListCall) -* [databases](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::Database) - * [*delete*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::DatabaseDeleteCall), [*get*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::DatabaseGetCall), [*insert*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::DatabaseInsertCall), [*list*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::DatabaseListCall), [*patch*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::DatabasePatchCall) and [*update*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::DatabaseUpdateCall) -* [flags](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::Flag) - * [*list*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::FlagListCall) +* [backup runs](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::BackupRun) + * [*delete*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::BackupRunDeleteCall), [*get*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::BackupRunGetCall), [*insert*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::BackupRunInsertCall) and [*list*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::BackupRunListCall) +* [databases](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::Database) + * [*delete*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::DatabaseDeleteCall), [*get*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::DatabaseGetCall), [*insert*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::DatabaseInsertCall), [*list*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::DatabaseListCall), [*patch*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::DatabasePatchCall) and [*update*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::DatabaseUpdateCall) +* [flags](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::Flag) + * [*list*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::FlagListCall) * instances - * [*add server ca*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::InstanceAddServerCaCall), [*clone*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::InstanceCloneCall), [*delete*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::InstanceDeleteCall), [*demote master*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::InstanceDemoteMasterCall), [*export*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::InstanceExportCall), [*failover*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::InstanceFailoverCall), [*get*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::InstanceGetCall), [*import*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::InstanceImportCall), [*insert*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::InstanceInsertCall), [*list*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::InstanceListCall), [*list server cas*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::InstanceListServerCaCall), [*patch*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::InstancePatchCall), [*promote replica*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::InstancePromoteReplicaCall), [*reset ssl config*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::InstanceResetSslConfigCall), [*restart*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::InstanceRestartCall), [*restore backup*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::InstanceRestoreBackupCall), [*rotate server ca*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::InstanceRotateServerCaCall), [*start replica*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::InstanceStartReplicaCall), [*stop replica*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::InstanceStopReplicaCall), [*truncate log*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::InstanceTruncateLogCall) and [*update*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::InstanceUpdateCall) -* [operations](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::Operation) - * [*get*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::OperationGetCall) and [*list*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::OperationListCall) + * [*add server ca*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::InstanceAddServerCaCall), [*clone*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::InstanceCloneCall), [*delete*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::InstanceDeleteCall), [*demote master*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::InstanceDemoteMasterCall), [*export*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::InstanceExportCall), [*failover*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::InstanceFailoverCall), [*get*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::InstanceGetCall), [*import*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::InstanceImportCall), [*insert*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::InstanceInsertCall), [*list*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::InstanceListCall), [*list server cas*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::InstanceListServerCaCall), [*patch*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::InstancePatchCall), [*promote replica*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::InstancePromoteReplicaCall), [*reset ssl config*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::InstanceResetSslConfigCall), [*restart*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::InstanceRestartCall), [*restore backup*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::InstanceRestoreBackupCall), [*rotate server ca*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::InstanceRotateServerCaCall), [*start replica*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::InstanceStartReplicaCall), [*stop replica*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::InstanceStopReplicaCall), [*truncate log*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::InstanceTruncateLogCall) and [*update*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::InstanceUpdateCall) +* [operations](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::Operation) + * [*get*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::OperationGetCall) and [*list*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::OperationListCall) * projects - * [*instances reschedule maintenance*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::ProjectInstanceRescheduleMaintenanceCall), [*instances start external sync*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::ProjectInstanceStartExternalSyncCall) and [*instances verify external sync settings*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::ProjectInstanceVerifyExternalSyncSettingCall) -* [ssl certs](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::SslCert) - * [*create ephemeral*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::SslCertCreateEphemeralCall), [*delete*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::SslCertDeleteCall), [*get*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::SslCertGetCall), [*insert*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::SslCertInsertCall) and [*list*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::SslCertListCall) -* [tiers](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::Tier) - * [*list*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::TierListCall) -* [users](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::User) - * [*delete*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::UserDeleteCall), [*insert*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::UserInsertCall), [*list*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::UserListCall) and [*update*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/api::UserUpdateCall) + * [*instances reschedule maintenance*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::ProjectInstanceRescheduleMaintenanceCall), [*instances start external sync*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::ProjectInstanceStartExternalSyncCall) and [*instances verify external sync settings*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::ProjectInstanceVerifyExternalSyncSettingCall) +* [ssl certs](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::SslCert) + * [*create ephemeral*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::SslCertCreateEphemeralCall), [*delete*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::SslCertDeleteCall), [*get*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::SslCertGetCall), [*insert*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::SslCertInsertCall) and [*list*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::SslCertListCall) +* [tiers](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::Tier) + * [*list*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::TierListCall) +* [users](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::User) + * [*delete*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::UserDeleteCall), [*insert*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::UserInsertCall), [*list*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::UserListCall) and [*update*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/api::UserUpdateCall) @@ -39,17 +39,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/SQLAdmin)** +* **[Hub](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/SQLAdmin)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/client::CallBuilder) -* **[Resources](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/client::CallBuilder) +* **[Resources](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/client::Part)** + * **[Parts](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/client::CallBuilder)** +* **[Activities](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -138,7 +138,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -173,17 +173,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -193,29 +193,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/client::Delegate) to the -[Method Builder](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/client::Delegate) to the +[Method Builder](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/client::RequestValue) and -[decodable](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/client::RequestValue) and +[decodable](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-sql1_beta4/3.0.0+20200331/google_sql1_beta4/client::RequestValue) are moved +* [request values](https://docs.rs/google-sql1_beta4/3.1.0+20200331/google_sql1_beta4/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/sql1_beta4/src/api.rs b/gen/sql1_beta4/src/api.rs index 538b62e2cb..03acf4c5b8 100644 --- a/gen/sql1_beta4/src/api.rs +++ b/gen/sql1_beta4/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -125,7 +125,7 @@ impl<'a, > SQLAdmin<> { SQLAdmin { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://sqladmin.googleapis.com/".to_string(), _root_url: "https://sqladmin.googleapis.com/".to_string(), } @@ -160,7 +160,7 @@ impl<'a, > SQLAdmin<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -2219,7 +2219,7 @@ impl client::Part for ImportContextCsvImportOptions {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -2348,7 +2348,7 @@ impl<'a> BackupRunMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -2521,7 +2521,7 @@ impl<'a> DatabaseMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -2575,7 +2575,7 @@ impl<'a> FlagMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `add_server_ca(...)`, `clone(...)`, `delete(...)`, `demote_master(...)`, `export(...)`, `failover(...)`, `get(...)`, `import(...)`, `insert(...)`, `list(...)`, `list_server_cas(...)`, `patch(...)`, `promote_replica(...)`, `reset_ssl_config(...)`, `restart(...)`, `restore_backup(...)`, `rotate_server_ca(...)`, `start_replica(...)`, `stop_replica(...)`, `truncate_log(...)` and `update(...)` /// // to build up your call. @@ -3057,7 +3057,7 @@ impl<'a> InstanceMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -3138,7 +3138,7 @@ impl<'a> OperationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `instances_reschedule_maintenance(...)`, `instances_start_external_sync(...)` and `instances_verify_external_sync_settings(...)` /// // to build up your call. @@ -3241,7 +3241,7 @@ impl<'a> ProjectMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create_ephemeral(...)`, `delete(...)`, `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -3393,7 +3393,7 @@ impl<'a> SslCertMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -3453,7 +3453,7 @@ impl<'a> TierMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `insert(...)`, `list(...)` and `update(...)` /// // to build up your call. @@ -3585,7 +3585,7 @@ impl<'a> UserMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3863,7 +3863,7 @@ impl<'a> BackupRunDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4141,7 +4141,7 @@ impl<'a> BackupRunGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4435,7 +4435,7 @@ impl<'a> BackupRunInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4724,7 +4724,7 @@ impl<'a> BackupRunListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5001,7 +5001,7 @@ impl<'a> DatabaseDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5279,7 +5279,7 @@ impl<'a> DatabaseGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5572,7 +5572,7 @@ impl<'a> DatabaseInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5838,7 +5838,7 @@ impl<'a> DatabaseListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6145,7 +6145,7 @@ impl<'a> DatabasePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6450,7 +6450,7 @@ impl<'a> DatabaseUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6686,7 +6686,7 @@ impl<'a> FlagListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6952,7 +6952,7 @@ impl<'a> InstanceAddServerCaCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7246,7 +7246,7 @@ impl<'a> InstanceCloneCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7512,7 +7512,7 @@ impl<'a> InstanceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7807,7 +7807,7 @@ impl<'a> InstanceDemoteMasterCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8102,7 +8102,7 @@ impl<'a> InstanceExportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8395,7 +8395,7 @@ impl<'a> InstanceFailoverCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8661,7 +8661,7 @@ impl<'a> InstanceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8955,7 +8955,7 @@ impl<'a> InstanceImportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9237,7 +9237,7 @@ impl<'a> InstanceInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9538,7 +9538,7 @@ impl<'a> InstanceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9804,7 +9804,7 @@ impl<'a> InstanceListServerCaCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10098,7 +10098,7 @@ impl<'a> InstancePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10363,7 +10363,7 @@ impl<'a> InstancePromoteReplicaCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10627,7 +10627,7 @@ impl<'a> InstanceResetSslConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10893,7 +10893,7 @@ impl<'a> InstanceRestartCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11188,7 +11188,7 @@ impl<'a> InstanceRestoreBackupCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11481,7 +11481,7 @@ impl<'a> InstanceRotateServerCaCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11745,7 +11745,7 @@ impl<'a> InstanceStartReplicaCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12010,7 +12010,7 @@ impl<'a> InstanceStopReplicaCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12305,7 +12305,7 @@ impl<'a> InstanceTruncateLogCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12598,7 +12598,7 @@ impl<'a> InstanceUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12863,7 +12863,7 @@ impl<'a> OperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13153,7 +13153,7 @@ impl<'a> OperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13446,7 +13446,7 @@ impl<'a> ProjectInstanceRescheduleMaintenanceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13722,7 +13722,7 @@ impl<'a> ProjectInstanceStartExternalSyncCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14014,7 +14014,7 @@ impl<'a> ProjectInstanceVerifyExternalSyncSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14308,7 +14308,7 @@ impl<'a> SslCertCreateEphemeralCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14586,7 +14586,7 @@ impl<'a> SslCertDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14865,7 +14865,7 @@ impl<'a> SslCertGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15158,7 +15158,7 @@ impl<'a> SslCertInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15424,7 +15424,7 @@ impl<'a> SslCertListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15676,7 +15676,7 @@ impl<'a> TierListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15965,7 +15965,7 @@ impl<'a> UserDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16258,7 +16258,7 @@ impl<'a> UserInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16523,7 +16523,7 @@ impl<'a> UserListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/sql1_beta4/src/lib.rs b/gen/sql1_beta4/src/lib.rs index 6ad37489f5..ce8eec1d36 100644 --- a/gen/sql1_beta4/src/lib.rs +++ b/gen/sql1_beta4/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *SQL Admin* crate version *3.0.0+20200331*, where *20200331* is the exact revision of the *sql:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *SQL Admin* crate version *3.1.0+20200331*, where *20200331* is the exact revision of the *sql:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *SQL Admin* *v1_beta4* API can be found at the //! [official documentation site](https://developers.google.com/cloud-sql/). @@ -139,7 +139,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/sqladmin1-cli/Cargo.toml b/gen/sqladmin1-cli/Cargo.toml index de4ffb69bb..88fd0623c9 100644 --- a/gen/sqladmin1-cli/Cargo.toml +++ b/gen/sqladmin1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-sqladmin1-cli" -version = "3.0.0+20220226" +version = "3.1.0+20220226" authors = ["Sebastian Thiel "] description = "A complete library to interact with SQL Admin (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/sqladmin1-cli" @@ -20,12 +20,12 @@ name = "sqladmin1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-sqladmin1] path = "../sqladmin1" -version = "3.0.0+20220226" +version = "3.1.0+20220226" diff --git a/gen/sqladmin1-cli/README.md b/gen/sqladmin1-cli/README.md index 3adcfd0d96..a8e3d6fa7a 100644 --- a/gen/sqladmin1-cli/README.md +++ b/gen/sqladmin1-cli/README.md @@ -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 *SQL Admin* API at revision *20220226*. The CLI is at version *3.0.0*. +This documentation was generated from the *SQL Admin* API at revision *20220226*. The CLI is at version *3.1.0*. ```bash sqladmin1 [options] diff --git a/gen/sqladmin1-cli/mkdocs.yml b/gen/sqladmin1-cli/mkdocs.yml index c0b62d767b..0579db0f37 100644 --- a/gen/sqladmin1-cli/mkdocs.yml +++ b/gen/sqladmin1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: SQL Admin v3.0.0+20220226 +site_name: SQL Admin v3.1.0+20220226 site_url: http://byron.github.io/google-apis-rs/google-sqladmin1-cli site_description: A complete library to interact with SQL Admin (protocol v1) diff --git a/gen/sqladmin1-cli/src/main.rs b/gen/sqladmin1-cli/src/main.rs index 96187e6827..41e92b2b9a 100644 --- a/gen/sqladmin1-cli/src/main.rs +++ b/gen/sqladmin1-cli/src/main.rs @@ -4160,7 +4160,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/sqladmin1", 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::SQLAdmin::new(client, auth), @@ -5751,7 +5757,7 @@ async fn main() { let mut app = App::new("sqladmin1") .author("Sebastian Thiel ") - .version("3.0.0+20220226") + .version("3.1.0+20220226") .about("API for Cloud SQL database instance management") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_sqladmin1_cli") .arg(Arg::with_name("url") diff --git a/gen/sqladmin1/Cargo.toml b/gen/sqladmin1/Cargo.toml index d5413b40c2..f028df3e64 100644 --- a/gen/sqladmin1/Cargo.toml +++ b/gen/sqladmin1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-sqladmin1" -version = "3.0.0+20220226" +version = "3.1.0+20220226" authors = ["Sebastian Thiel "] description = "A complete library to interact with SQL Admin (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/sqladmin1" homepage = "https://developers.google.com/cloud-sql/" -documentation = "https://docs.rs/google-sqladmin1/3.0.0+20220226" +documentation = "https://docs.rs/google-sqladmin1/3.1.0+20220226" license = "MIT" keywords = ["sqladmin", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/sqladmin1/README.md b/gen/sqladmin1/README.md index 8994e82814..f0dc182b83 100644 --- a/gen/sqladmin1/README.md +++ b/gen/sqladmin1/README.md @@ -5,34 +5,34 @@ DO NOT EDIT ! --> The `google-sqladmin1` library allows access to all features of the *Google SQL Admin* service. -This documentation was generated from *SQL Admin* crate version *3.0.0+20220226*, where *20220226* is the exact revision of the *sqladmin:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *SQL Admin* crate version *3.1.0+20220226*, where *20220226* is the exact revision of the *sqladmin:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *SQL Admin* *v1* API can be found at the [official documentation site](https://developers.google.com/cloud-sql/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/SQLAdmin) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/SQLAdmin) ... -* [backup runs](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::BackupRun) - * [*delete*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::BackupRunDeleteCall), [*get*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::BackupRunGetCall), [*insert*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::BackupRunInsertCall) and [*list*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::BackupRunListCall) +* [backup runs](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::BackupRun) + * [*delete*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::BackupRunDeleteCall), [*get*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::BackupRunGetCall), [*insert*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::BackupRunInsertCall) and [*list*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::BackupRunListCall) * connect - * [*generate ephemeral*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::ConnectGenerateEphemeralCall) and [*get*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::ConnectGetCall) -* [databases](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::Database) - * [*delete*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::DatabaseDeleteCall), [*get*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::DatabaseGetCall), [*insert*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::DatabaseInsertCall), [*list*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::DatabaseListCall), [*patch*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::DatabasePatchCall) and [*update*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::DatabaseUpdateCall) -* [flags](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::Flag) - * [*list*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::FlagListCall) + * [*generate ephemeral*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::ConnectGenerateEphemeralCall) and [*get*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::ConnectGetCall) +* [databases](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::Database) + * [*delete*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::DatabaseDeleteCall), [*get*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::DatabaseGetCall), [*insert*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::DatabaseInsertCall), [*list*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::DatabaseListCall), [*patch*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::DatabasePatchCall) and [*update*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::DatabaseUpdateCall) +* [flags](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::Flag) + * [*list*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::FlagListCall) * instances - * [*add server ca*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::InstanceAddServerCaCall), [*clone*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::InstanceCloneCall), [*delete*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::InstanceDeleteCall), [*demote master*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::InstanceDemoteMasterCall), [*export*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::InstanceExportCall), [*failover*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::InstanceFailoverCall), [*get*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::InstanceGetCall), [*import*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::InstanceImportCall), [*insert*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::InstanceInsertCall), [*list*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::InstanceListCall), [*list server cas*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::InstanceListServerCaCall), [*patch*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::InstancePatchCall), [*promote replica*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::InstancePromoteReplicaCall), [*reset ssl config*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::InstanceResetSslConfigCall), [*restart*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::InstanceRestartCall), [*restore backup*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::InstanceRestoreBackupCall), [*rotate server ca*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::InstanceRotateServerCaCall), [*start replica*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::InstanceStartReplicaCall), [*stop replica*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::InstanceStopReplicaCall), [*truncate log*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::InstanceTruncateLogCall) and [*update*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::InstanceUpdateCall) -* [operations](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::Operation) - * [*get*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::OperationGetCall) and [*list*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::OperationListCall) + * [*add server ca*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::InstanceAddServerCaCall), [*clone*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::InstanceCloneCall), [*delete*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::InstanceDeleteCall), [*demote master*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::InstanceDemoteMasterCall), [*export*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::InstanceExportCall), [*failover*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::InstanceFailoverCall), [*get*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::InstanceGetCall), [*import*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::InstanceImportCall), [*insert*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::InstanceInsertCall), [*list*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::InstanceListCall), [*list server cas*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::InstanceListServerCaCall), [*patch*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::InstancePatchCall), [*promote replica*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::InstancePromoteReplicaCall), [*reset ssl config*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::InstanceResetSslConfigCall), [*restart*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::InstanceRestartCall), [*restore backup*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::InstanceRestoreBackupCall), [*rotate server ca*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::InstanceRotateServerCaCall), [*start replica*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::InstanceStartReplicaCall), [*stop replica*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::InstanceStopReplicaCall), [*truncate log*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::InstanceTruncateLogCall) and [*update*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::InstanceUpdateCall) +* [operations](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::Operation) + * [*get*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::OperationGetCall) and [*list*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::OperationListCall) * projects - * [*instances reschedule maintenance*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::ProjectInstanceRescheduleMaintenanceCall), [*instances start external sync*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::ProjectInstanceStartExternalSyncCall) and [*instances verify external sync settings*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::ProjectInstanceVerifyExternalSyncSettingCall) -* [ssl certs](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::SslCert) - * [*create ephemeral*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::SslCertCreateEphemeralCall), [*delete*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::SslCertDeleteCall), [*get*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::SslCertGetCall), [*insert*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::SslCertInsertCall) and [*list*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::SslCertListCall) -* [tiers](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::Tier) - * [*list*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::TierListCall) -* [users](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::User) - * [*delete*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::UserDeleteCall), [*insert*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::UserInsertCall), [*list*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::UserListCall) and [*update*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/api::UserUpdateCall) + * [*instances reschedule maintenance*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::ProjectInstanceRescheduleMaintenanceCall), [*instances start external sync*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::ProjectInstanceStartExternalSyncCall) and [*instances verify external sync settings*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::ProjectInstanceVerifyExternalSyncSettingCall) +* [ssl certs](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::SslCert) + * [*create ephemeral*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::SslCertCreateEphemeralCall), [*delete*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::SslCertDeleteCall), [*get*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::SslCertGetCall), [*insert*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::SslCertInsertCall) and [*list*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::SslCertListCall) +* [tiers](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::Tier) + * [*list*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::TierListCall) +* [users](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::User) + * [*delete*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::UserDeleteCall), [*insert*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::UserInsertCall), [*list*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::UserListCall) and [*update*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/api::UserUpdateCall) @@ -41,17 +41,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/SQLAdmin)** +* **[Hub](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/SQLAdmin)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/client::CallBuilder) -* **[Resources](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/client::CallBuilder) +* **[Resources](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/client::Part)** + * **[Parts](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -140,7 +140,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -175,17 +175,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -195,29 +195,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/client::Delegate) to the -[Method Builder](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/client::Delegate) to the +[Method Builder](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/client::RequestValue) and -[decodable](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/client::RequestValue) and +[decodable](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-sqladmin1/3.0.0+20220226/google_sqladmin1/client::RequestValue) are moved +* [request values](https://docs.rs/google-sqladmin1/3.1.0+20220226/google_sqladmin1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/sqladmin1/src/api.rs b/gen/sqladmin1/src/api.rs index aa6b5d39ab..7587b18e78 100644 --- a/gen/sqladmin1/src/api.rs +++ b/gen/sqladmin1/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -125,7 +125,7 @@ impl<'a, > SQLAdmin<> { SQLAdmin { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://sqladmin.googleapis.com/".to_string(), _root_url: "https://sqladmin.googleapis.com/".to_string(), } @@ -163,7 +163,7 @@ impl<'a, > SQLAdmin<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -2421,7 +2421,7 @@ impl client::Part for ImportContextCsvImportOptions {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -2546,7 +2546,7 @@ impl<'a> BackupRunMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `generate_ephemeral(...)` and `get(...)` /// // to build up your call. @@ -2628,7 +2628,7 @@ impl<'a> ConnectMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -2797,7 +2797,7 @@ impl<'a> DatabaseMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -2851,7 +2851,7 @@ impl<'a> FlagMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `add_server_ca(...)`, `clone(...)`, `delete(...)`, `demote_master(...)`, `export(...)`, `failover(...)`, `get(...)`, `import(...)`, `insert(...)`, `list(...)`, `list_server_cas(...)`, `patch(...)`, `promote_replica(...)`, `reset_ssl_config(...)`, `restart(...)`, `restore_backup(...)`, `rotate_server_ca(...)`, `start_replica(...)`, `stop_replica(...)`, `truncate_log(...)` and `update(...)` /// // to build up your call. @@ -3312,7 +3312,7 @@ impl<'a> InstanceMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -3392,7 +3392,7 @@ impl<'a> OperationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `instances_reschedule_maintenance(...)`, `instances_start_external_sync(...)` and `instances_verify_external_sync_settings(...)` /// // to build up your call. @@ -3496,7 +3496,7 @@ impl<'a> ProjectMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create_ephemeral(...)`, `delete(...)`, `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -3640,7 +3640,7 @@ impl<'a> SslCertMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -3698,7 +3698,7 @@ impl<'a> TierMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `insert(...)`, `list(...)` and `update(...)` /// // to build up your call. @@ -3830,7 +3830,7 @@ impl<'a> UserMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4106,7 +4106,7 @@ impl<'a> BackupRunDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4383,7 +4383,7 @@ impl<'a> BackupRunGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4676,7 +4676,7 @@ impl<'a> BackupRunInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4965,7 +4965,7 @@ impl<'a> BackupRunListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5258,7 +5258,7 @@ impl<'a> ConnectGenerateEphemeralCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5534,7 +5534,7 @@ impl<'a> ConnectGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5810,7 +5810,7 @@ impl<'a> DatabaseDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6087,7 +6087,7 @@ impl<'a> DatabaseGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6380,7 +6380,7 @@ impl<'a> DatabaseInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6645,7 +6645,7 @@ impl<'a> DatabaseListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6951,7 +6951,7 @@ impl<'a> DatabasePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7256,7 +7256,7 @@ impl<'a> DatabaseUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7487,7 +7487,7 @@ impl<'a> FlagListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7752,7 +7752,7 @@ impl<'a> InstanceAddServerCaCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8045,7 +8045,7 @@ impl<'a> InstanceCloneCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8310,7 +8310,7 @@ impl<'a> InstanceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8604,7 +8604,7 @@ impl<'a> InstanceDemoteMasterCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8898,7 +8898,7 @@ impl<'a> InstanceExportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9191,7 +9191,7 @@ impl<'a> InstanceFailoverCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9456,7 +9456,7 @@ impl<'a> InstanceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9750,7 +9750,7 @@ impl<'a> InstanceImportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10031,7 +10031,7 @@ impl<'a> InstanceInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10319,7 +10319,7 @@ impl<'a> InstanceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10584,7 +10584,7 @@ impl<'a> InstanceListServerCaCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10877,7 +10877,7 @@ impl<'a> InstancePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11141,7 +11141,7 @@ impl<'a> InstancePromoteReplicaCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11405,7 +11405,7 @@ impl<'a> InstanceResetSslConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11670,7 +11670,7 @@ impl<'a> InstanceRestartCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11964,7 +11964,7 @@ impl<'a> InstanceRestoreBackupCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12257,7 +12257,7 @@ impl<'a> InstanceRotateServerCaCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12521,7 +12521,7 @@ impl<'a> InstanceStartReplicaCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12786,7 +12786,7 @@ impl<'a> InstanceStopReplicaCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13080,7 +13080,7 @@ impl<'a> InstanceTruncateLogCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13373,7 +13373,7 @@ impl<'a> InstanceUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13637,7 +13637,7 @@ impl<'a> OperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13926,7 +13926,7 @@ impl<'a> OperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14220,7 +14220,7 @@ impl<'a> ProjectInstanceRescheduleMaintenanceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14514,7 +14514,7 @@ impl<'a> ProjectInstanceStartExternalSyncCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14808,7 +14808,7 @@ impl<'a> ProjectInstanceVerifyExternalSyncSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15101,7 +15101,7 @@ impl<'a> SslCertCreateEphemeralCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15377,7 +15377,7 @@ impl<'a> SslCertDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15654,7 +15654,7 @@ impl<'a> SslCertGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15947,7 +15947,7 @@ impl<'a> SslCertInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16211,7 +16211,7 @@ impl<'a> SslCertListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16463,7 +16463,7 @@ impl<'a> TierListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16752,7 +16752,7 @@ impl<'a> UserDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17045,7 +17045,7 @@ impl<'a> UserInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17310,7 +17310,7 @@ impl<'a> UserListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/sqladmin1/src/lib.rs b/gen/sqladmin1/src/lib.rs index 69a269bba5..e1bdf7424d 100644 --- a/gen/sqladmin1/src/lib.rs +++ b/gen/sqladmin1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *SQL Admin* crate version *3.0.0+20220226*, where *20220226* is the exact revision of the *sqladmin:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *SQL Admin* crate version *3.1.0+20220226*, where *20220226* is the exact revision of the *sqladmin:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *SQL Admin* *v1* API can be found at the //! [official documentation site](https://developers.google.com/cloud-sql/). @@ -141,7 +141,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/sqladmin1_beta4-cli/Cargo.toml b/gen/sqladmin1_beta4-cli/Cargo.toml index cb7515827b..100446aebc 100644 --- a/gen/sqladmin1_beta4-cli/Cargo.toml +++ b/gen/sqladmin1_beta4-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-sqladmin1_beta4-cli" -version = "3.0.0+20220226" +version = "3.1.0+20220226" authors = ["Sebastian Thiel "] description = "A complete library to interact with SQL Admin (protocol v1beta4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/sqladmin1_beta4-cli" @@ -20,12 +20,12 @@ name = "sqladmin1-beta4" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-sqladmin1_beta4] path = "../sqladmin1_beta4" -version = "3.0.0+20220226" +version = "3.1.0+20220226" diff --git a/gen/sqladmin1_beta4-cli/README.md b/gen/sqladmin1_beta4-cli/README.md index 5744de21c2..d190b8d588 100644 --- a/gen/sqladmin1_beta4-cli/README.md +++ b/gen/sqladmin1_beta4-cli/README.md @@ -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 *SQL Admin* API at revision *20220226*. The CLI is at version *3.0.0*. +This documentation was generated from the *SQL Admin* API at revision *20220226*. The CLI is at version *3.1.0*. ```bash sqladmin1-beta4 [options] diff --git a/gen/sqladmin1_beta4-cli/mkdocs.yml b/gen/sqladmin1_beta4-cli/mkdocs.yml index 4f56063205..4ffca3d683 100644 --- a/gen/sqladmin1_beta4-cli/mkdocs.yml +++ b/gen/sqladmin1_beta4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: SQL Admin v3.0.0+20220226 +site_name: SQL Admin v3.1.0+20220226 site_url: http://byron.github.io/google-apis-rs/google-sqladmin1_beta4-cli site_description: A complete library to interact with SQL Admin (protocol v1beta4) diff --git a/gen/sqladmin1_beta4-cli/src/main.rs b/gen/sqladmin1_beta4-cli/src/main.rs index 826067d0fa..e1636d5caf 100644 --- a/gen/sqladmin1_beta4-cli/src/main.rs +++ b/gen/sqladmin1_beta4-cli/src/main.rs @@ -4160,7 +4160,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/sqladmin1-beta4", 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::SQLAdmin::new(client, auth), @@ -5751,7 +5757,7 @@ async fn main() { let mut app = App::new("sqladmin1-beta4") .author("Sebastian Thiel ") - .version("3.0.0+20220226") + .version("3.1.0+20220226") .about("API for Cloud SQL database instance management") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_sqladmin1_beta4_cli") .arg(Arg::with_name("url") diff --git a/gen/sqladmin1_beta4/Cargo.toml b/gen/sqladmin1_beta4/Cargo.toml index f6276ff9e3..72e79e8439 100644 --- a/gen/sqladmin1_beta4/Cargo.toml +++ b/gen/sqladmin1_beta4/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-sqladmin1_beta4" -version = "3.0.0+20220226" +version = "3.1.0+20220226" authors = ["Sebastian Thiel "] description = "A complete library to interact with SQL Admin (protocol v1beta4)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/sqladmin1_beta4" homepage = "https://developers.google.com/cloud-sql/" -documentation = "https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226" +documentation = "https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226" license = "MIT" keywords = ["sqladmin", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/sqladmin1_beta4/README.md b/gen/sqladmin1_beta4/README.md index a1ca156800..0286b5aeed 100644 --- a/gen/sqladmin1_beta4/README.md +++ b/gen/sqladmin1_beta4/README.md @@ -5,34 +5,34 @@ DO NOT EDIT ! --> The `google-sqladmin1_beta4` library allows access to all features of the *Google SQL Admin* service. -This documentation was generated from *SQL Admin* crate version *3.0.0+20220226*, where *20220226* is the exact revision of the *sqladmin:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *SQL Admin* crate version *3.1.0+20220226*, where *20220226* is the exact revision of the *sqladmin:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *SQL Admin* *v1_beta4* API can be found at the [official documentation site](https://developers.google.com/cloud-sql/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/SQLAdmin) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/SQLAdmin) ... -* [backup runs](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::BackupRun) - * [*delete*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::BackupRunDeleteCall), [*get*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::BackupRunGetCall), [*insert*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::BackupRunInsertCall) and [*list*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::BackupRunListCall) +* [backup runs](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::BackupRun) + * [*delete*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::BackupRunDeleteCall), [*get*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::BackupRunGetCall), [*insert*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::BackupRunInsertCall) and [*list*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::BackupRunListCall) * connect - * [*generate ephemeral*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::ConnectGenerateEphemeralCall) and [*get*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::ConnectGetCall) -* [databases](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::Database) - * [*delete*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::DatabaseDeleteCall), [*get*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::DatabaseGetCall), [*insert*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::DatabaseInsertCall), [*list*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::DatabaseListCall), [*patch*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::DatabasePatchCall) and [*update*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::DatabaseUpdateCall) -* [flags](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::Flag) - * [*list*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::FlagListCall) + * [*generate ephemeral*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::ConnectGenerateEphemeralCall) and [*get*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::ConnectGetCall) +* [databases](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::Database) + * [*delete*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::DatabaseDeleteCall), [*get*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::DatabaseGetCall), [*insert*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::DatabaseInsertCall), [*list*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::DatabaseListCall), [*patch*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::DatabasePatchCall) and [*update*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::DatabaseUpdateCall) +* [flags](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::Flag) + * [*list*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::FlagListCall) * instances - * [*add server ca*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::InstanceAddServerCaCall), [*clone*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::InstanceCloneCall), [*delete*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::InstanceDeleteCall), [*demote master*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::InstanceDemoteMasterCall), [*export*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::InstanceExportCall), [*failover*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::InstanceFailoverCall), [*get*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::InstanceGetCall), [*import*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::InstanceImportCall), [*insert*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::InstanceInsertCall), [*list*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::InstanceListCall), [*list server cas*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::InstanceListServerCaCall), [*patch*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::InstancePatchCall), [*promote replica*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::InstancePromoteReplicaCall), [*reset ssl config*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::InstanceResetSslConfigCall), [*restart*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::InstanceRestartCall), [*restore backup*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::InstanceRestoreBackupCall), [*rotate server ca*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::InstanceRotateServerCaCall), [*start replica*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::InstanceStartReplicaCall), [*stop replica*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::InstanceStopReplicaCall), [*truncate log*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::InstanceTruncateLogCall) and [*update*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::InstanceUpdateCall) -* [operations](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::Operation) - * [*get*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::OperationGetCall) and [*list*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::OperationListCall) + * [*add server ca*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::InstanceAddServerCaCall), [*clone*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::InstanceCloneCall), [*delete*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::InstanceDeleteCall), [*demote master*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::InstanceDemoteMasterCall), [*export*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::InstanceExportCall), [*failover*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::InstanceFailoverCall), [*get*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::InstanceGetCall), [*import*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::InstanceImportCall), [*insert*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::InstanceInsertCall), [*list*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::InstanceListCall), [*list server cas*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::InstanceListServerCaCall), [*patch*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::InstancePatchCall), [*promote replica*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::InstancePromoteReplicaCall), [*reset ssl config*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::InstanceResetSslConfigCall), [*restart*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::InstanceRestartCall), [*restore backup*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::InstanceRestoreBackupCall), [*rotate server ca*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::InstanceRotateServerCaCall), [*start replica*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::InstanceStartReplicaCall), [*stop replica*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::InstanceStopReplicaCall), [*truncate log*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::InstanceTruncateLogCall) and [*update*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::InstanceUpdateCall) +* [operations](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::Operation) + * [*get*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::OperationGetCall) and [*list*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::OperationListCall) * projects - * [*instances reschedule maintenance*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::ProjectInstanceRescheduleMaintenanceCall), [*instances start external sync*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::ProjectInstanceStartExternalSyncCall) and [*instances verify external sync settings*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::ProjectInstanceVerifyExternalSyncSettingCall) -* [ssl certs](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::SslCert) - * [*create ephemeral*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::SslCertCreateEphemeralCall), [*delete*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::SslCertDeleteCall), [*get*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::SslCertGetCall), [*insert*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::SslCertInsertCall) and [*list*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::SslCertListCall) -* [tiers](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::Tier) - * [*list*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::TierListCall) -* [users](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::User) - * [*delete*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::UserDeleteCall), [*insert*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::UserInsertCall), [*list*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::UserListCall) and [*update*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/api::UserUpdateCall) + * [*instances reschedule maintenance*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::ProjectInstanceRescheduleMaintenanceCall), [*instances start external sync*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::ProjectInstanceStartExternalSyncCall) and [*instances verify external sync settings*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::ProjectInstanceVerifyExternalSyncSettingCall) +* [ssl certs](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::SslCert) + * [*create ephemeral*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::SslCertCreateEphemeralCall), [*delete*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::SslCertDeleteCall), [*get*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::SslCertGetCall), [*insert*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::SslCertInsertCall) and [*list*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::SslCertListCall) +* [tiers](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::Tier) + * [*list*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::TierListCall) +* [users](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::User) + * [*delete*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::UserDeleteCall), [*insert*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::UserInsertCall), [*list*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::UserListCall) and [*update*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/api::UserUpdateCall) @@ -41,17 +41,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/SQLAdmin)** +* **[Hub](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/SQLAdmin)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/client::CallBuilder) -* **[Resources](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/client::CallBuilder) +* **[Resources](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/client::Part)** + * **[Parts](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/client::CallBuilder)** +* **[Activities](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -140,7 +140,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -175,17 +175,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -195,29 +195,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/client::Delegate) to the -[Method Builder](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/client::Delegate) to the +[Method Builder](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/client::RequestValue) and -[decodable](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/client::RequestValue) and +[decodable](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-sqladmin1_beta4/3.0.0+20220226/google_sqladmin1_beta4/client::RequestValue) are moved +* [request values](https://docs.rs/google-sqladmin1_beta4/3.1.0+20220226/google_sqladmin1_beta4/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/sqladmin1_beta4/src/api.rs b/gen/sqladmin1_beta4/src/api.rs index 65b4887452..e331e20fbd 100644 --- a/gen/sqladmin1_beta4/src/api.rs +++ b/gen/sqladmin1_beta4/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -125,7 +125,7 @@ impl<'a, > SQLAdmin<> { SQLAdmin { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://sqladmin.googleapis.com/".to_string(), _root_url: "https://sqladmin.googleapis.com/".to_string(), } @@ -163,7 +163,7 @@ impl<'a, > SQLAdmin<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -2421,7 +2421,7 @@ impl client::Part for ImportContextCsvImportOptions {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -2546,7 +2546,7 @@ impl<'a> BackupRunMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `generate_ephemeral(...)` and `get(...)` /// // to build up your call. @@ -2628,7 +2628,7 @@ impl<'a> ConnectMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -2797,7 +2797,7 @@ impl<'a> DatabaseMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -2851,7 +2851,7 @@ impl<'a> FlagMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `add_server_ca(...)`, `clone(...)`, `delete(...)`, `demote_master(...)`, `export(...)`, `failover(...)`, `get(...)`, `import(...)`, `insert(...)`, `list(...)`, `list_server_cas(...)`, `patch(...)`, `promote_replica(...)`, `reset_ssl_config(...)`, `restart(...)`, `restore_backup(...)`, `rotate_server_ca(...)`, `start_replica(...)`, `stop_replica(...)`, `truncate_log(...)` and `update(...)` /// // to build up your call. @@ -3312,7 +3312,7 @@ impl<'a> InstanceMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` and `list(...)` /// // to build up your call. @@ -3392,7 +3392,7 @@ impl<'a> OperationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `instances_reschedule_maintenance(...)`, `instances_start_external_sync(...)` and `instances_verify_external_sync_settings(...)` /// // to build up your call. @@ -3496,7 +3496,7 @@ impl<'a> ProjectMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create_ephemeral(...)`, `delete(...)`, `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -3640,7 +3640,7 @@ impl<'a> SslCertMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -3698,7 +3698,7 @@ impl<'a> TierMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `insert(...)`, `list(...)` and `update(...)` /// // to build up your call. @@ -3830,7 +3830,7 @@ impl<'a> UserMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4106,7 +4106,7 @@ impl<'a> BackupRunDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4383,7 +4383,7 @@ impl<'a> BackupRunGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4676,7 +4676,7 @@ impl<'a> BackupRunInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4965,7 +4965,7 @@ impl<'a> BackupRunListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5258,7 +5258,7 @@ impl<'a> ConnectGenerateEphemeralCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5534,7 +5534,7 @@ impl<'a> ConnectGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5810,7 +5810,7 @@ impl<'a> DatabaseDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6087,7 +6087,7 @@ impl<'a> DatabaseGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6380,7 +6380,7 @@ impl<'a> DatabaseInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6645,7 +6645,7 @@ impl<'a> DatabaseListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6951,7 +6951,7 @@ impl<'a> DatabasePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7256,7 +7256,7 @@ impl<'a> DatabaseUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7487,7 +7487,7 @@ impl<'a> FlagListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7752,7 +7752,7 @@ impl<'a> InstanceAddServerCaCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8045,7 +8045,7 @@ impl<'a> InstanceCloneCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8310,7 +8310,7 @@ impl<'a> InstanceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8604,7 +8604,7 @@ impl<'a> InstanceDemoteMasterCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8898,7 +8898,7 @@ impl<'a> InstanceExportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9191,7 +9191,7 @@ impl<'a> InstanceFailoverCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9456,7 +9456,7 @@ impl<'a> InstanceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9750,7 +9750,7 @@ impl<'a> InstanceImportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10031,7 +10031,7 @@ impl<'a> InstanceInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10319,7 +10319,7 @@ impl<'a> InstanceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10584,7 +10584,7 @@ impl<'a> InstanceListServerCaCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10877,7 +10877,7 @@ impl<'a> InstancePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11141,7 +11141,7 @@ impl<'a> InstancePromoteReplicaCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11405,7 +11405,7 @@ impl<'a> InstanceResetSslConfigCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11670,7 +11670,7 @@ impl<'a> InstanceRestartCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11964,7 +11964,7 @@ impl<'a> InstanceRestoreBackupCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12257,7 +12257,7 @@ impl<'a> InstanceRotateServerCaCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12521,7 +12521,7 @@ impl<'a> InstanceStartReplicaCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12786,7 +12786,7 @@ impl<'a> InstanceStopReplicaCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13080,7 +13080,7 @@ impl<'a> InstanceTruncateLogCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13373,7 +13373,7 @@ impl<'a> InstanceUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13637,7 +13637,7 @@ impl<'a> OperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13926,7 +13926,7 @@ impl<'a> OperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14220,7 +14220,7 @@ impl<'a> ProjectInstanceRescheduleMaintenanceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14514,7 +14514,7 @@ impl<'a> ProjectInstanceStartExternalSyncCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14808,7 +14808,7 @@ impl<'a> ProjectInstanceVerifyExternalSyncSettingCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15101,7 +15101,7 @@ impl<'a> SslCertCreateEphemeralCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15377,7 +15377,7 @@ impl<'a> SslCertDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15654,7 +15654,7 @@ impl<'a> SslCertGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15947,7 +15947,7 @@ impl<'a> SslCertInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16211,7 +16211,7 @@ impl<'a> SslCertListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16463,7 +16463,7 @@ impl<'a> TierListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16752,7 +16752,7 @@ impl<'a> UserDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17045,7 +17045,7 @@ impl<'a> UserInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17310,7 +17310,7 @@ impl<'a> UserListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/sqladmin1_beta4/src/lib.rs b/gen/sqladmin1_beta4/src/lib.rs index e8d08f3f0e..fae455f684 100644 --- a/gen/sqladmin1_beta4/src/lib.rs +++ b/gen/sqladmin1_beta4/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *SQL Admin* crate version *3.0.0+20220226*, where *20220226* is the exact revision of the *sqladmin:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *SQL Admin* crate version *3.1.0+20220226*, where *20220226* is the exact revision of the *sqladmin:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *SQL Admin* *v1_beta4* API can be found at the //! [official documentation site](https://developers.google.com/cloud-sql/). @@ -141,7 +141,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = SQLAdmin::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/storage1-cli/Cargo.toml b/gen/storage1-cli/Cargo.toml index f04e61e515..64f74a8bc8 100644 --- a/gen/storage1-cli/Cargo.toml +++ b/gen/storage1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-storage1-cli" -version = "3.0.0+20220228" +version = "3.1.0+20220228" authors = ["Sebastian Thiel "] description = "A complete library to interact with storage (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/storage1-cli" @@ -20,12 +20,12 @@ name = "storage1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-storage1] path = "../storage1" -version = "3.0.0+20220228" +version = "3.1.0+20220228" diff --git a/gen/storage1-cli/README.md b/gen/storage1-cli/README.md index e93595594e..e7650f736d 100644 --- a/gen/storage1-cli/README.md +++ b/gen/storage1-cli/README.md @@ -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 *storage* API at revision *20220228*. The CLI is at version *3.0.0*. +This documentation was generated from the *storage* API at revision *20220228*. The CLI is at version *3.1.0*. ```bash storage1 [options] diff --git a/gen/storage1-cli/mkdocs.yml b/gen/storage1-cli/mkdocs.yml index d984195c77..9ecba6ec42 100644 --- a/gen/storage1-cli/mkdocs.yml +++ b/gen/storage1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: storage v3.0.0+20220228 +site_name: storage v3.1.0+20220228 site_url: http://byron.github.io/google-apis-rs/google-storage1-cli site_description: A complete library to interact with storage (protocol v1) diff --git a/gen/storage1-cli/src/main.rs b/gen/storage1-cli/src/main.rs index 1811a96c19..89ad1b2a2a 100644 --- a/gen/storage1-cli/src/main.rs +++ b/gen/storage1-cli/src/main.rs @@ -4898,7 +4898,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/storage1", 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::Storage::new(client, auth), @@ -6446,7 +6452,7 @@ async fn main() { let mut app = App::new("storage1") .author("Sebastian Thiel ") - .version("3.0.0+20220228") + .version("3.1.0+20220228") .about("Stores and retrieves potentially large, immutable data objects.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_storage1_cli") .arg(Arg::with_name("url") diff --git a/gen/storage1/Cargo.toml b/gen/storage1/Cargo.toml index 0f32ce6a3f..bbd3954dc5 100644 --- a/gen/storage1/Cargo.toml +++ b/gen/storage1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-storage1" -version = "3.0.0+20220228" +version = "3.1.0+20220228" authors = ["Sebastian Thiel "] description = "A complete library to interact with storage (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/storage1" homepage = "https://developers.google.com/storage/docs/json_api/" -documentation = "https://docs.rs/google-storage1/3.0.0+20220228" +documentation = "https://docs.rs/google-storage1/3.1.0+20220228" license = "MIT" keywords = ["storage", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/storage1/README.md b/gen/storage1/README.md index bd103a3035..1bfc1b38c0 100644 --- a/gen/storage1/README.md +++ b/gen/storage1/README.md @@ -5,44 +5,44 @@ DO NOT EDIT ! --> The `google-storage1` library allows access to all features of the *Google storage* service. -This documentation was generated from *storage* crate version *3.0.0+20220228*, where *20220228* is the exact revision of the *storage:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *storage* crate version *3.1.0+20220228*, where *20220228* is the exact revision of the *storage:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *storage* *v1* API can be found at the [official documentation site](https://developers.google.com/storage/docs/json_api/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/Storage) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/Storage) ... -* [bucket access controls](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::BucketAccessControl) - * [*delete*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::BucketAccessControlDeleteCall), [*get*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::BucketAccessControlGetCall), [*insert*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::BucketAccessControlInsertCall), [*list*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::BucketAccessControlListCall), [*patch*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::BucketAccessControlPatchCall) and [*update*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::BucketAccessControlUpdateCall) -* [buckets](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::Bucket) - * [*delete*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::BucketDeleteCall), [*get*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::BucketGetCall), [*get iam policy*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::BucketGetIamPolicyCall), [*insert*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::BucketInsertCall), [*list*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::BucketListCall), [*lock retention policy*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::BucketLockRetentionPolicyCall), [*patch*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::BucketPatchCall), [*set iam policy*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::BucketSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::BucketTestIamPermissionCall) and [*update*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::BucketUpdateCall) -* [channels](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::Channel) - * [*stop*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::ChannelStopCall) +* [bucket access controls](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::BucketAccessControl) + * [*delete*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::BucketAccessControlDeleteCall), [*get*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::BucketAccessControlGetCall), [*insert*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::BucketAccessControlInsertCall), [*list*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::BucketAccessControlListCall), [*patch*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::BucketAccessControlPatchCall) and [*update*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::BucketAccessControlUpdateCall) +* [buckets](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::Bucket) + * [*delete*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::BucketDeleteCall), [*get*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::BucketGetCall), [*get iam policy*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::BucketGetIamPolicyCall), [*insert*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::BucketInsertCall), [*list*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::BucketListCall), [*lock retention policy*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::BucketLockRetentionPolicyCall), [*patch*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::BucketPatchCall), [*set iam policy*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::BucketSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::BucketTestIamPermissionCall) and [*update*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::BucketUpdateCall) +* [channels](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::Channel) + * [*stop*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::ChannelStopCall) * default object access controls - * [*delete*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::DefaultObjectAccessControlDeleteCall), [*get*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::DefaultObjectAccessControlGetCall), [*insert*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::DefaultObjectAccessControlInsertCall), [*list*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::DefaultObjectAccessControlListCall), [*patch*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::DefaultObjectAccessControlPatchCall) and [*update*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::DefaultObjectAccessControlUpdateCall) -* [notifications](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::Notification) - * [*delete*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::NotificationDeleteCall), [*get*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::NotificationGetCall), [*insert*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::NotificationInsertCall) and [*list*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::NotificationListCall) -* [object access controls](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::ObjectAccessControl) - * [*delete*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::ObjectAccessControlDeleteCall), [*get*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::ObjectAccessControlGetCall), [*insert*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::ObjectAccessControlInsertCall), [*list*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::ObjectAccessControlListCall), [*patch*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::ObjectAccessControlPatchCall) and [*update*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::ObjectAccessControlUpdateCall) -* [objects](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::Object) - * [*compose*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::ObjectComposeCall), [*copy*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::ObjectCopyCall), [*delete*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::ObjectDeleteCall), [*get*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::ObjectGetCall), [*get iam policy*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::ObjectGetIamPolicyCall), [*insert*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::ObjectInsertCall), [*list*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::ObjectListCall), [*patch*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::ObjectPatchCall), [*rewrite*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::ObjectRewriteCall), [*set iam policy*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::ObjectSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::ObjectTestIamPermissionCall), [*update*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::ObjectUpdateCall) and [*watch all*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::ObjectWatchAllCall) + * [*delete*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::DefaultObjectAccessControlDeleteCall), [*get*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::DefaultObjectAccessControlGetCall), [*insert*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::DefaultObjectAccessControlInsertCall), [*list*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::DefaultObjectAccessControlListCall), [*patch*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::DefaultObjectAccessControlPatchCall) and [*update*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::DefaultObjectAccessControlUpdateCall) +* [notifications](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::Notification) + * [*delete*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::NotificationDeleteCall), [*get*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::NotificationGetCall), [*insert*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::NotificationInsertCall) and [*list*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::NotificationListCall) +* [object access controls](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::ObjectAccessControl) + * [*delete*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::ObjectAccessControlDeleteCall), [*get*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::ObjectAccessControlGetCall), [*insert*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::ObjectAccessControlInsertCall), [*list*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::ObjectAccessControlListCall), [*patch*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::ObjectAccessControlPatchCall) and [*update*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::ObjectAccessControlUpdateCall) +* [objects](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::Object) + * [*compose*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::ObjectComposeCall), [*copy*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::ObjectCopyCall), [*delete*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::ObjectDeleteCall), [*get*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::ObjectGetCall), [*get iam policy*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::ObjectGetIamPolicyCall), [*insert*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::ObjectInsertCall), [*list*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::ObjectListCall), [*patch*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::ObjectPatchCall), [*rewrite*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::ObjectRewriteCall), [*set iam policy*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::ObjectSetIamPolicyCall), [*test iam permissions*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::ObjectTestIamPermissionCall), [*update*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::ObjectUpdateCall) and [*watch all*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::ObjectWatchAllCall) * projects - * [*hmac keys create*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::ProjectHmacKeyCreateCall), [*hmac keys delete*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::ProjectHmacKeyDeleteCall), [*hmac keys get*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::ProjectHmacKeyGetCall), [*hmac keys list*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::ProjectHmacKeyListCall), [*hmac keys update*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::ProjectHmacKeyUpdateCall) and [*service account get*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::ProjectServiceAccountGetCall) + * [*hmac keys create*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::ProjectHmacKeyCreateCall), [*hmac keys delete*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::ProjectHmacKeyDeleteCall), [*hmac keys get*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::ProjectHmacKeyGetCall), [*hmac keys list*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::ProjectHmacKeyListCall), [*hmac keys update*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::ProjectHmacKeyUpdateCall) and [*service account get*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::ProjectServiceAccountGetCall) Upload supported by ... -* [*insert objects*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::ObjectInsertCall) +* [*insert objects*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::ObjectInsertCall) Download supported by ... -* [*get objects*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::ObjectGetCall) +* [*get objects*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::ObjectGetCall) Subscription supported by ... -* [*list objects*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::ObjectListCall) -* [*watch all objects*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/api::ObjectWatchAllCall) +* [*list objects*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::ObjectListCall) +* [*watch all objects*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/api::ObjectWatchAllCall) @@ -50,17 +50,17 @@ Subscription supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/Storage)** +* **[Hub](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/Storage)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/client::CallBuilder) -* **[Resources](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/client::CallBuilder) +* **[Resources](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/client::Part)** + * **[Parts](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -130,7 +130,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -179,17 +179,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -199,29 +199,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/client::Delegate) to the -[Method Builder](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/client::Delegate) to the +[Method Builder](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/client::RequestValue) and -[decodable](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/client::RequestValue) and +[decodable](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-storage1/3.0.0+20220228/google_storage1/client::RequestValue) are moved +* [request values](https://docs.rs/google-storage1/3.1.0+20220228/google_storage1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/storage1/src/api.rs b/gen/storage1/src/api.rs index 3e005d6ac6..deb761849c 100644 --- a/gen/storage1/src/api.rs +++ b/gen/storage1/src/api.rs @@ -87,7 +87,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -151,7 +151,7 @@ impl<'a, > Storage<> { Storage { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://storage.googleapis.com/storage/v1/".to_string(), _root_url: "https://storage.googleapis.com/".to_string(), } @@ -183,7 +183,7 @@ impl<'a, > Storage<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1468,7 +1468,7 @@ impl client::Part for PolicyBindings {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -1637,7 +1637,7 @@ impl<'a> BucketAccessControlMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `get_iam_policy(...)`, `insert(...)`, `list(...)`, `lock_retention_policy(...)`, `patch(...)`, `set_iam_policy(...)`, `test_iam_permissions(...)` and `update(...)` /// // to build up your call. @@ -1903,7 +1903,7 @@ impl<'a> BucketMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `stop(...)` /// // to build up your call. @@ -1961,7 +1961,7 @@ impl<'a> ChannelMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -2132,7 +2132,7 @@ impl<'a> DefaultObjectAccessControlMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -2255,7 +2255,7 @@ impl<'a> NotificationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -2442,7 +2442,7 @@ impl<'a> ObjectAccessControlMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `compose(...)`, `copy(...)`, `delete(...)`, `get(...)`, `get_iam_policy(...)`, `insert(...)`, `list(...)`, `patch(...)`, `rewrite(...)`, `set_iam_policy(...)`, `test_iam_permissions(...)`, `update(...)` and `watch_all(...)` /// // to build up your call. @@ -2861,7 +2861,7 @@ impl<'a> ObjectMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `hmac_keys_create(...)`, `hmac_keys_delete(...)`, `hmac_keys_get(...)`, `hmac_keys_list(...)`, `hmac_keys_update(...)` and `service_account_get(...)` /// // to build up your call. @@ -3032,7 +3032,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3306,7 +3306,7 @@ impl<'a> BucketAccessControlDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3592,7 +3592,7 @@ impl<'a> BucketAccessControlGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3894,7 +3894,7 @@ impl<'a> BucketAccessControlInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4168,7 +4168,7 @@ impl<'a> BucketAccessControlListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4483,7 +4483,7 @@ impl<'a> BucketAccessControlPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4797,7 +4797,7 @@ impl<'a> BucketAccessControlUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5083,7 +5083,7 @@ impl<'a> BucketDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5392,7 +5392,7 @@ impl<'a> BucketGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5678,7 +5678,7 @@ impl<'a> BucketGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5995,7 +5995,7 @@ impl<'a> BucketInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6295,7 +6295,7 @@ impl<'a> BucketListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6581,7 +6581,7 @@ impl<'a> BucketLockRetentionPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6944,7 +6944,7 @@ impl<'a> BucketPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7246,7 +7246,7 @@ impl<'a> BucketSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7537,7 +7537,7 @@ impl<'a> BucketTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7900,7 +7900,7 @@ impl<'a> BucketUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8134,7 +8134,7 @@ impl<'a> ChannelStopCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8408,7 +8408,7 @@ impl<'a> DefaultObjectAccessControlDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8694,7 +8694,7 @@ impl<'a> DefaultObjectAccessControlGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8996,7 +8996,7 @@ impl<'a> DefaultObjectAccessControlInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9294,7 +9294,7 @@ impl<'a> DefaultObjectAccessControlListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9609,7 +9609,7 @@ impl<'a> DefaultObjectAccessControlPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9923,7 +9923,7 @@ impl<'a> DefaultObjectAccessControlUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10197,7 +10197,7 @@ impl<'a> NotificationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10483,7 +10483,7 @@ impl<'a> NotificationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10785,7 +10785,7 @@ impl<'a> NotificationInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11058,7 +11058,7 @@ impl<'a> NotificationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11356,7 +11356,7 @@ impl<'a> ObjectAccessControlDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11666,7 +11666,7 @@ impl<'a> ObjectAccessControlGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11992,7 +11992,7 @@ impl<'a> ObjectAccessControlInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12290,7 +12290,7 @@ impl<'a> ObjectAccessControlListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12629,7 +12629,7 @@ impl<'a> ObjectAccessControlPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12968,7 +12968,7 @@ impl<'a> ObjectAccessControlUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13331,7 +13331,7 @@ impl<'a> ObjectComposeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13813,7 +13813,7 @@ impl<'a> ObjectCopyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14152,7 +14152,7 @@ impl<'a> ObjectDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14525,7 +14525,7 @@ impl<'a> ObjectGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14824,7 +14824,7 @@ impl<'a> ObjectGetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15343,7 +15343,7 @@ impl<'a> ObjectInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15725,7 +15725,7 @@ impl<'a> ObjectListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16124,7 +16124,7 @@ impl<'a> ObjectPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16631,7 +16631,7 @@ impl<'a> ObjectRewriteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16957,7 +16957,7 @@ impl<'a> ObjectSetIamPolicyCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17272,7 +17272,7 @@ impl<'a> ObjectTestIamPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17671,7 +17671,7 @@ impl<'a> ObjectUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -18081,7 +18081,7 @@ impl<'a> ObjectWatchAllCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18354,7 +18354,7 @@ impl<'a> ProjectHmacKeyCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18616,7 +18616,7 @@ impl<'a> ProjectHmacKeyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18889,7 +18889,7 @@ impl<'a> ProjectHmacKeyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19199,7 +19199,7 @@ impl<'a> ProjectHmacKeyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19501,7 +19501,7 @@ impl<'a> ProjectHmacKeyUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/storage1/src/lib.rs b/gen/storage1/src/lib.rs index 67ac963337..4779a7acda 100644 --- a/gen/storage1/src/lib.rs +++ b/gen/storage1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *storage* crate version *3.0.0+20220228*, where *20220228* is the exact revision of the *storage:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *storage* crate version *3.1.0+20220228*, where *20220228* is the exact revision of the *storage:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *storage* *v1* API can be found at the //! [official documentation site](https://developers.google.com/storage/docs/json_api/). @@ -131,7 +131,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Storage::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/storagetransfer1-cli/Cargo.toml b/gen/storagetransfer1-cli/Cargo.toml index 2c756b3ba1..dfb93f4609 100644 --- a/gen/storagetransfer1-cli/Cargo.toml +++ b/gen/storagetransfer1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-storagetransfer1-cli" -version = "3.0.0+20220223" +version = "3.1.0+20220223" authors = ["Sebastian Thiel "] description = "A complete library to interact with storagetransfer (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/storagetransfer1-cli" @@ -20,12 +20,12 @@ name = "storagetransfer1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-storagetransfer1] path = "../storagetransfer1" -version = "3.0.0+20220223" +version = "3.1.0+20220223" diff --git a/gen/storagetransfer1-cli/README.md b/gen/storagetransfer1-cli/README.md index 9f484eacdd..6c4252ba29 100644 --- a/gen/storagetransfer1-cli/README.md +++ b/gen/storagetransfer1-cli/README.md @@ -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 *storagetransfer* API at revision *20220223*. The CLI is at version *3.0.0*. +This documentation was generated from the *storagetransfer* API at revision *20220223*. The CLI is at version *3.1.0*. ```bash storagetransfer1 [options] diff --git a/gen/storagetransfer1-cli/mkdocs.yml b/gen/storagetransfer1-cli/mkdocs.yml index 8c55469e40..183891c466 100644 --- a/gen/storagetransfer1-cli/mkdocs.yml +++ b/gen/storagetransfer1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: storagetransfer v3.0.0+20220223 +site_name: storagetransfer v3.1.0+20220223 site_url: http://byron.github.io/google-apis-rs/google-storagetransfer1-cli site_description: A complete library to interact with storagetransfer (protocol v1) diff --git a/gen/storagetransfer1-cli/src/main.rs b/gen/storagetransfer1-cli/src/main.rs index 2051816cc9..703787de30 100644 --- a/gen/storagetransfer1-cli/src/main.rs +++ b/gen/storagetransfer1-cli/src/main.rs @@ -1428,7 +1428,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/storagetransfer1", 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::Storagetransfer::new(client, auth), @@ -1885,7 +1891,7 @@ async fn main() { let mut app = App::new("storagetransfer1") .author("Sebastian Thiel ") - .version("3.0.0+20220223") + .version("3.1.0+20220223") .about("Transfers data from external data sources to a Google Cloud Storage bucket or between Google Cloud Storage buckets.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_storagetransfer1_cli") .arg(Arg::with_name("url") diff --git a/gen/storagetransfer1/Cargo.toml b/gen/storagetransfer1/Cargo.toml index 6788f232cf..40ca246b15 100644 --- a/gen/storagetransfer1/Cargo.toml +++ b/gen/storagetransfer1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-storagetransfer1" -version = "3.0.0+20220223" +version = "3.1.0+20220223" authors = ["Sebastian Thiel "] description = "A complete library to interact with storagetransfer (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/storagetransfer1" homepage = "https://cloud.google.com/storage-transfer/docs" -documentation = "https://docs.rs/google-storagetransfer1/3.0.0+20220223" +documentation = "https://docs.rs/google-storagetransfer1/3.1.0+20220223" license = "MIT" keywords = ["storagetransfer", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/storagetransfer1/README.md b/gen/storagetransfer1/README.md index 99c900ab70..646f0bcafa 100644 --- a/gen/storagetransfer1/README.md +++ b/gen/storagetransfer1/README.md @@ -5,22 +5,22 @@ DO NOT EDIT ! --> The `google-storagetransfer1` library allows access to all features of the *Google storagetransfer* service. -This documentation was generated from *storagetransfer* crate version *3.0.0+20220223*, where *20220223* is the exact revision of the *storagetransfer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *storagetransfer* crate version *3.1.0+20220223*, where *20220223* is the exact revision of the *storagetransfer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *storagetransfer* *v1* API can be found at the [official documentation site](https://cloud.google.com/storage-transfer/docs). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-storagetransfer1/3.0.0+20220223/google_storagetransfer1/Storagetransfer) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-storagetransfer1/3.1.0+20220223/google_storagetransfer1/Storagetransfer) ... -* [google service accounts](https://docs.rs/google-storagetransfer1/3.0.0+20220223/google_storagetransfer1/api::GoogleServiceAccount) - * [*get*](https://docs.rs/google-storagetransfer1/3.0.0+20220223/google_storagetransfer1/api::GoogleServiceAccountGetCall) +* [google service accounts](https://docs.rs/google-storagetransfer1/3.1.0+20220223/google_storagetransfer1/api::GoogleServiceAccount) + * [*get*](https://docs.rs/google-storagetransfer1/3.1.0+20220223/google_storagetransfer1/api::GoogleServiceAccountGetCall) * projects - * [*agent pools create*](https://docs.rs/google-storagetransfer1/3.0.0+20220223/google_storagetransfer1/api::ProjectAgentPoolCreateCall), [*agent pools delete*](https://docs.rs/google-storagetransfer1/3.0.0+20220223/google_storagetransfer1/api::ProjectAgentPoolDeleteCall), [*agent pools get*](https://docs.rs/google-storagetransfer1/3.0.0+20220223/google_storagetransfer1/api::ProjectAgentPoolGetCall), [*agent pools list*](https://docs.rs/google-storagetransfer1/3.0.0+20220223/google_storagetransfer1/api::ProjectAgentPoolListCall) and [*agent pools patch*](https://docs.rs/google-storagetransfer1/3.0.0+20220223/google_storagetransfer1/api::ProjectAgentPoolPatchCall) -* [transfer jobs](https://docs.rs/google-storagetransfer1/3.0.0+20220223/google_storagetransfer1/api::TransferJob) - * [*create*](https://docs.rs/google-storagetransfer1/3.0.0+20220223/google_storagetransfer1/api::TransferJobCreateCall), [*get*](https://docs.rs/google-storagetransfer1/3.0.0+20220223/google_storagetransfer1/api::TransferJobGetCall), [*list*](https://docs.rs/google-storagetransfer1/3.0.0+20220223/google_storagetransfer1/api::TransferJobListCall), [*patch*](https://docs.rs/google-storagetransfer1/3.0.0+20220223/google_storagetransfer1/api::TransferJobPatchCall) and [*run*](https://docs.rs/google-storagetransfer1/3.0.0+20220223/google_storagetransfer1/api::TransferJobRunCall) -* [transfer operations](https://docs.rs/google-storagetransfer1/3.0.0+20220223/google_storagetransfer1/api::TransferOperation) - * [*cancel*](https://docs.rs/google-storagetransfer1/3.0.0+20220223/google_storagetransfer1/api::TransferOperationCancelCall), [*get*](https://docs.rs/google-storagetransfer1/3.0.0+20220223/google_storagetransfer1/api::TransferOperationGetCall), [*list*](https://docs.rs/google-storagetransfer1/3.0.0+20220223/google_storagetransfer1/api::TransferOperationListCall), [*pause*](https://docs.rs/google-storagetransfer1/3.0.0+20220223/google_storagetransfer1/api::TransferOperationPauseCall) and [*resume*](https://docs.rs/google-storagetransfer1/3.0.0+20220223/google_storagetransfer1/api::TransferOperationResumeCall) + * [*agent pools create*](https://docs.rs/google-storagetransfer1/3.1.0+20220223/google_storagetransfer1/api::ProjectAgentPoolCreateCall), [*agent pools delete*](https://docs.rs/google-storagetransfer1/3.1.0+20220223/google_storagetransfer1/api::ProjectAgentPoolDeleteCall), [*agent pools get*](https://docs.rs/google-storagetransfer1/3.1.0+20220223/google_storagetransfer1/api::ProjectAgentPoolGetCall), [*agent pools list*](https://docs.rs/google-storagetransfer1/3.1.0+20220223/google_storagetransfer1/api::ProjectAgentPoolListCall) and [*agent pools patch*](https://docs.rs/google-storagetransfer1/3.1.0+20220223/google_storagetransfer1/api::ProjectAgentPoolPatchCall) +* [transfer jobs](https://docs.rs/google-storagetransfer1/3.1.0+20220223/google_storagetransfer1/api::TransferJob) + * [*create*](https://docs.rs/google-storagetransfer1/3.1.0+20220223/google_storagetransfer1/api::TransferJobCreateCall), [*get*](https://docs.rs/google-storagetransfer1/3.1.0+20220223/google_storagetransfer1/api::TransferJobGetCall), [*list*](https://docs.rs/google-storagetransfer1/3.1.0+20220223/google_storagetransfer1/api::TransferJobListCall), [*patch*](https://docs.rs/google-storagetransfer1/3.1.0+20220223/google_storagetransfer1/api::TransferJobPatchCall) and [*run*](https://docs.rs/google-storagetransfer1/3.1.0+20220223/google_storagetransfer1/api::TransferJobRunCall) +* [transfer operations](https://docs.rs/google-storagetransfer1/3.1.0+20220223/google_storagetransfer1/api::TransferOperation) + * [*cancel*](https://docs.rs/google-storagetransfer1/3.1.0+20220223/google_storagetransfer1/api::TransferOperationCancelCall), [*get*](https://docs.rs/google-storagetransfer1/3.1.0+20220223/google_storagetransfer1/api::TransferOperationGetCall), [*list*](https://docs.rs/google-storagetransfer1/3.1.0+20220223/google_storagetransfer1/api::TransferOperationListCall), [*pause*](https://docs.rs/google-storagetransfer1/3.1.0+20220223/google_storagetransfer1/api::TransferOperationPauseCall) and [*resume*](https://docs.rs/google-storagetransfer1/3.1.0+20220223/google_storagetransfer1/api::TransferOperationResumeCall) @@ -29,17 +29,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-storagetransfer1/3.0.0+20220223/google_storagetransfer1/Storagetransfer)** +* **[Hub](https://docs.rs/google-storagetransfer1/3.1.0+20220223/google_storagetransfer1/Storagetransfer)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-storagetransfer1/3.0.0+20220223/google_storagetransfer1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-storagetransfer1/3.0.0+20220223/google_storagetransfer1/client::CallBuilder) -* **[Resources](https://docs.rs/google-storagetransfer1/3.0.0+20220223/google_storagetransfer1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-storagetransfer1/3.1.0+20220223/google_storagetransfer1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-storagetransfer1/3.1.0+20220223/google_storagetransfer1/client::CallBuilder) +* **[Resources](https://docs.rs/google-storagetransfer1/3.1.0+20220223/google_storagetransfer1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-storagetransfer1/3.0.0+20220223/google_storagetransfer1/client::Part)** + * **[Parts](https://docs.rs/google-storagetransfer1/3.1.0+20220223/google_storagetransfer1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-storagetransfer1/3.0.0+20220223/google_storagetransfer1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-storagetransfer1/3.1.0+20220223/google_storagetransfer1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -100,7 +100,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -130,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-storagetransfer1/3.0.0+20220223/google_storagetransfer1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-storagetransfer1/3.1.0+20220223/google_storagetransfer1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-storagetransfer1/3.0.0+20220223/google_storagetransfer1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-storagetransfer1/3.1.0+20220223/google_storagetransfer1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-storagetransfer1/3.0.0+20220223/google_storagetransfer1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-storagetransfer1/3.1.0+20220223/google_storagetransfer1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-storagetransfer1/3.0.0+20220223/google_storagetransfer1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-storagetransfer1/3.1.0+20220223/google_storagetransfer1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -150,29 +150,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-storagetransfer1/3.0.0+20220223/google_storagetransfer1/client::Delegate) to the -[Method Builder](https://docs.rs/google-storagetransfer1/3.0.0+20220223/google_storagetransfer1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-storagetransfer1/3.1.0+20220223/google_storagetransfer1/client::Delegate) to the +[Method Builder](https://docs.rs/google-storagetransfer1/3.1.0+20220223/google_storagetransfer1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-storagetransfer1/3.0.0+20220223/google_storagetransfer1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-storagetransfer1/3.1.0+20220223/google_storagetransfer1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-storagetransfer1/3.0.0+20220223/google_storagetransfer1/client::RequestValue) and -[decodable](https://docs.rs/google-storagetransfer1/3.0.0+20220223/google_storagetransfer1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-storagetransfer1/3.1.0+20220223/google_storagetransfer1/client::RequestValue) and +[decodable](https://docs.rs/google-storagetransfer1/3.1.0+20220223/google_storagetransfer1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-storagetransfer1/3.0.0+20220223/google_storagetransfer1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-storagetransfer1/3.1.0+20220223/google_storagetransfer1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-storagetransfer1/3.0.0+20220223/google_storagetransfer1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-storagetransfer1/3.1.0+20220223/google_storagetransfer1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-storagetransfer1/3.0.0+20220223/google_storagetransfer1/client::RequestValue) are moved +* [request values](https://docs.rs/google-storagetransfer1/3.1.0+20220223/google_storagetransfer1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/storagetransfer1/src/api.rs b/gen/storagetransfer1/src/api.rs index 5e7e78493b..07f2d2fca7 100644 --- a/gen/storagetransfer1/src/api.rs +++ b/gen/storagetransfer1/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -115,7 +115,7 @@ impl<'a, > Storagetransfer<> { Storagetransfer { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://storagetransfer.googleapis.com/".to_string(), _root_url: "https://storagetransfer.googleapis.com/".to_string(), } @@ -135,7 +135,7 @@ impl<'a, > Storagetransfer<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1050,7 +1050,7 @@ impl client::RequestValue for UpdateTransferJobRequest {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -1108,7 +1108,7 @@ impl<'a> GoogleServiceAccountMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `agent_pools_create(...)`, `agent_pools_delete(...)`, `agent_pools_get(...)`, `agent_pools_list(...)` and `agent_pools_patch(...)` /// // to build up your call. @@ -1243,7 +1243,7 @@ impl<'a> ProjectMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `get(...)`, `list(...)`, `patch(...)` and `run(...)` /// // to build up your call. @@ -1377,7 +1377,7 @@ impl<'a> TransferJobMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `cancel(...)`, `get(...)`, `list(...)`, `pause(...)` and `resume(...)` /// // to build up your call. @@ -1520,7 +1520,7 @@ impl<'a> TransferOperationMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1773,7 +1773,7 @@ impl<'a> GoogleServiceAccountGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2070,7 +2070,7 @@ impl<'a> ProjectAgentPoolCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2326,7 +2326,7 @@ impl<'a> ProjectAgentPoolDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2582,7 +2582,7 @@ impl<'a> ProjectAgentPoolGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2875,7 +2875,7 @@ impl<'a> ProjectAgentPoolListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3173,7 +3173,7 @@ impl<'a> ProjectAgentPoolPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3421,7 +3421,7 @@ impl<'a> TransferJobCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3689,7 +3689,7 @@ impl<'a> TransferJobGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3945,7 +3945,7 @@ impl<'a> TransferJobListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4231,7 +4231,7 @@ impl<'a> TransferJobPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4517,7 +4517,7 @@ impl<'a> TransferJobRunCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4802,7 +4802,7 @@ impl<'a> TransferOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5058,7 +5058,7 @@ impl<'a> TransferOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5351,7 +5351,7 @@ impl<'a> TransferOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5637,7 +5637,7 @@ impl<'a> TransferOperationPauseCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/storagetransfer1/src/lib.rs b/gen/storagetransfer1/src/lib.rs index 62d25e86be..d3d0e49696 100644 --- a/gen/storagetransfer1/src/lib.rs +++ b/gen/storagetransfer1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *storagetransfer* crate version *3.0.0+20220223*, where *20220223* is the exact revision of the *storagetransfer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *storagetransfer* crate version *3.1.0+20220223*, where *20220223* is the exact revision of the *storagetransfer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *storagetransfer* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/storage-transfer/docs). @@ -101,7 +101,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Storagetransfer::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/sts1-cli/Cargo.toml b/gen/sts1-cli/Cargo.toml index f57daee0ff..817a1f9c10 100644 --- a/gen/sts1-cli/Cargo.toml +++ b/gen/sts1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-sts1-cli" -version = "3.0.0+20220227" +version = "3.1.0+20220227" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Security Token (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/sts1-cli" @@ -20,12 +20,12 @@ name = "sts1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-sts1] path = "../sts1" -version = "3.0.0+20220227" +version = "3.1.0+20220227" diff --git a/gen/sts1-cli/README.md b/gen/sts1-cli/README.md index 02b9f9553c..4b62a14ff9 100644 --- a/gen/sts1-cli/README.md +++ b/gen/sts1-cli/README.md @@ -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 *Cloud Security Token* API at revision *20220227*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Security Token* API at revision *20220227*. The CLI is at version *3.1.0*. ```bash sts1 [options] diff --git a/gen/sts1-cli/mkdocs.yml b/gen/sts1-cli/mkdocs.yml index 8bb1415ab7..ae973e1a06 100644 --- a/gen/sts1-cli/mkdocs.yml +++ b/gen/sts1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Security Token v3.0.0+20220227 +site_name: Cloud Security Token v3.1.0+20220227 site_url: http://byron.github.io/google-apis-rs/google-sts1-cli site_description: A complete library to interact with Cloud Security Token (protocol v1) diff --git a/gen/sts1-cli/src/main.rs b/gen/sts1-cli/src/main.rs index 9b0a4be353..ca84e053fe 100644 --- a/gen/sts1-cli/src/main.rs +++ b/gen/sts1-cli/src/main.rs @@ -266,7 +266,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/sts1", 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::CloudSecurityToken::new(client, auth), @@ -352,7 +358,7 @@ async fn main() { let mut app = App::new("sts1") .author("Sebastian Thiel ") - .version("3.0.0+20220227") + .version("3.1.0+20220227") .about("The Security Token Service exchanges Google or third-party credentials for a short-lived access token to Google Cloud resources.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_sts1_cli") .arg(Arg::with_name("folder") diff --git a/gen/sts1/Cargo.toml b/gen/sts1/Cargo.toml index ea6c49542f..c6a5519bf0 100644 --- a/gen/sts1/Cargo.toml +++ b/gen/sts1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-sts1" -version = "3.0.0+20220227" +version = "3.1.0+20220227" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Security Token (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/sts1" homepage = "http://cloud.google.com/iam/docs/workload-identity-federation" -documentation = "https://docs.rs/google-sts1/3.0.0+20220227" +documentation = "https://docs.rs/google-sts1/3.1.0+20220227" license = "MIT" keywords = ["sts", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/sts1/README.md b/gen/sts1/README.md index 2753132d8d..7fba5834aa 100644 --- a/gen/sts1/README.md +++ b/gen/sts1/README.md @@ -5,17 +5,17 @@ DO NOT EDIT ! --> The `google-sts1` library allows access to all features of the *Google Cloud Security Token* service. -This documentation was generated from *Cloud Security Token* crate version *3.0.0+20220227*, where *20220227* is the exact revision of the *sts:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Security Token* crate version *3.1.0+20220227*, where *20220227* is the exact revision of the *sts:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Security Token* *v1* API can be found at the [official documentation site](http://cloud.google.com/iam/docs/workload-identity-federation). # Features -Use the following functionality with ease from the central [hub](https://docs.rs/google-sts1/3.0.0+20220227/google_sts1/CloudSecurityToken) ... +Use the following functionality with ease from the central [hub](https://docs.rs/google-sts1/3.1.0+20220227/google_sts1/CloudSecurityToken) ... -* [introspect](https://docs.rs/google-sts1/3.0.0+20220227/google_sts1/api::MethodIntrospectCall) -* [token](https://docs.rs/google-sts1/3.0.0+20220227/google_sts1/api::MethodTokenCall) +* [introspect](https://docs.rs/google-sts1/3.1.0+20220227/google_sts1/api::MethodIntrospectCall) +* [token](https://docs.rs/google-sts1/3.1.0+20220227/google_sts1/api::MethodTokenCall) @@ -23,17 +23,17 @@ Use the following functionality with ease from the central [hub](https://docs.rs The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-sts1/3.0.0+20220227/google_sts1/CloudSecurityToken)** +* **[Hub](https://docs.rs/google-sts1/3.1.0+20220227/google_sts1/CloudSecurityToken)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-sts1/3.0.0+20220227/google_sts1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-sts1/3.0.0+20220227/google_sts1/client::CallBuilder) -* **[Resources](https://docs.rs/google-sts1/3.0.0+20220227/google_sts1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-sts1/3.1.0+20220227/google_sts1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-sts1/3.1.0+20220227/google_sts1/client::CallBuilder) +* **[Resources](https://docs.rs/google-sts1/3.1.0+20220227/google_sts1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-sts1/3.0.0+20220227/google_sts1/client::Part)** + * **[Parts](https://docs.rs/google-sts1/3.1.0+20220227/google_sts1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-sts1/3.0.0+20220227/google_sts1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-sts1/3.1.0+20220227/google_sts1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -91,7 +91,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudSecurityToken::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudSecurityToken::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -124,17 +124,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-sts1/3.0.0+20220227/google_sts1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-sts1/3.1.0+20220227/google_sts1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-sts1/3.0.0+20220227/google_sts1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-sts1/3.1.0+20220227/google_sts1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-sts1/3.0.0+20220227/google_sts1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-sts1/3.1.0+20220227/google_sts1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-sts1/3.0.0+20220227/google_sts1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-sts1/3.1.0+20220227/google_sts1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -144,29 +144,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-sts1/3.0.0+20220227/google_sts1/client::Delegate) to the -[Method Builder](https://docs.rs/google-sts1/3.0.0+20220227/google_sts1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-sts1/3.1.0+20220227/google_sts1/client::Delegate) to the +[Method Builder](https://docs.rs/google-sts1/3.1.0+20220227/google_sts1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-sts1/3.0.0+20220227/google_sts1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-sts1/3.1.0+20220227/google_sts1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-sts1/3.0.0+20220227/google_sts1/client::RequestValue) and -[decodable](https://docs.rs/google-sts1/3.0.0+20220227/google_sts1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-sts1/3.1.0+20220227/google_sts1/client::RequestValue) and +[decodable](https://docs.rs/google-sts1/3.1.0+20220227/google_sts1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-sts1/3.0.0+20220227/google_sts1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-sts1/3.1.0+20220227/google_sts1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-sts1/3.0.0+20220227/google_sts1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-sts1/3.1.0+20220227/google_sts1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-sts1/3.0.0+20220227/google_sts1/client::RequestValue) are moved +* [request values](https://docs.rs/google-sts1/3.1.0+20220227/google_sts1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/sts1/src/api.rs b/gen/sts1/src/api.rs index 368fcd192e..c4484e8f35 100644 --- a/gen/sts1/src/api.rs +++ b/gen/sts1/src/api.rs @@ -49,7 +49,7 @@ use crate::client; /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudSecurityToken::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudSecurityToken::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -97,7 +97,7 @@ impl<'a, > CloudSecurityToken<> { CloudSecurityToken { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://sts.googleapis.com/".to_string(), _root_url: "https://sts.googleapis.com/".to_string(), } @@ -108,7 +108,7 @@ impl<'a, > CloudSecurityToken<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -273,7 +273,7 @@ impl client::ResponseResult for GoogleIdentityStsV1IntrospectTokenResponse {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudSecurityToken::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudSecurityToken::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `introspect(...)` and `token(...)` /// // to build up your call. @@ -354,7 +354,7 @@ impl<'a> MethodMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudSecurityToken::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudSecurityToken::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -573,7 +573,7 @@ impl<'a> MethodIntrospectCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudSecurityToken::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudSecurityToken::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/sts1/src/lib.rs b/gen/sts1/src/lib.rs index 535af2c3ea..09d189b02d 100644 --- a/gen/sts1/src/lib.rs +++ b/gen/sts1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Security Token* crate version *3.0.0+20220227*, where *20220227* is the exact revision of the *sts:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Security Token* crate version *3.1.0+20220227*, where *20220227* is the exact revision of the *sts:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Security Token* *v1* API can be found at the //! [official documentation site](http://cloud.google.com/iam/docs/workload-identity-federation). @@ -92,7 +92,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudSecurityToken::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudSecurityToken::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/surveys2-cli/Cargo.toml b/gen/surveys2-cli/Cargo.toml index 9aab47aaa4..5c51bbd30b 100644 --- a/gen/surveys2-cli/Cargo.toml +++ b/gen/surveys2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-surveys2-cli" -version = "3.0.0+20180508" +version = "3.1.0+20180508" authors = ["Sebastian Thiel "] description = "A complete library to interact with Surveys (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/surveys2-cli" @@ -19,12 +19,12 @@ name = "surveys2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -36,4 +36,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-surveys2] path = "../surveys2" -version = "3.0.0+20180508" +version = "3.1.0+20180508" diff --git a/gen/surveys2-cli/README.md b/gen/surveys2-cli/README.md index d292260c7f..971a8eb9b5 100644 --- a/gen/surveys2-cli/README.md +++ b/gen/surveys2-cli/README.md @@ -22,7 +22,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Surveys* API at revision *20180508*. The CLI is at version *3.0.0*. +This documentation was generated from the *Surveys* API at revision *20180508*. The CLI is at version *3.1.0*. ```bash surveys2 [options] diff --git a/gen/surveys2-cli/mkdocs.yml b/gen/surveys2-cli/mkdocs.yml index c457469672..7432623240 100644 --- a/gen/surveys2-cli/mkdocs.yml +++ b/gen/surveys2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Surveys v3.0.0+20180508 +site_name: Surveys v3.1.0+20180508 site_url: http://byron.github.io/google-apis-rs/google-surveys2-cli site_description: A complete library to interact with Surveys (protocol v2) diff --git a/gen/surveys2-cli/src/main.rs b/gen/surveys2-cli/src/main.rs index 608961b1a6..ca5c7addc7 100644 --- a/gen/surveys2-cli/src/main.rs +++ b/gen/surveys2-cli/src/main.rs @@ -725,7 +725,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/surveys2", 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::Surveys::new(client, auth), @@ -955,7 +961,7 @@ async fn main() { let mut app = App::new("surveys2") .author("Sebastian Thiel ") - .version("3.0.0+20180508") + .version("3.1.0+20180508") .about("Creates and conducts surveys, lists the surveys that an authenticated user owns, and retrieves survey results and information about specified surveys.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_surveys2_cli") .arg(Arg::with_name("url") diff --git a/gen/surveys2/Cargo.toml b/gen/surveys2/Cargo.toml index 64d353253f..c6d2e954af 100644 --- a/gen/surveys2/Cargo.toml +++ b/gen/surveys2/Cargo.toml @@ -4,11 +4,11 @@ [package] name = "google-surveys2" -version = "3.0.0+20180508" +version = "3.1.0+20180508" authors = ["Sebastian Thiel "] description = "A complete library to interact with Surveys (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/surveys2" -documentation = "https://docs.rs/google-surveys2/3.0.0+20180508" +documentation = "https://docs.rs/google-surveys2/3.1.0+20180508" license = "MIT" keywords = ["surveys", "google", "protocol", "web", "api"] autobins = false @@ -16,12 +16,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/surveys2/README.md b/gen/surveys2/README.md index 854c26c598..ea9c467f47 100644 --- a/gen/surveys2/README.md +++ b/gen/surveys2/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-surveys2` library allows access to all features of the *Google Surveys* service. -This documentation was generated from *Surveys* crate version *3.0.0+20180508*, where *20180508* is the exact revision of the *surveys:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Surveys* crate version *3.1.0+20180508*, where *20180508* is the exact revision of the *surveys:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-surveys2/3.0.0+20180508/google_surveys2/Surveys) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-surveys2/3.1.0+20180508/google_surveys2/Surveys) ... * results - * [*get*](https://docs.rs/google-surveys2/3.0.0+20180508/google_surveys2/api::ResultGetCall) -* [surveys](https://docs.rs/google-surveys2/3.0.0+20180508/google_surveys2/api::Survey) - * [*delete*](https://docs.rs/google-surveys2/3.0.0+20180508/google_surveys2/api::SurveyDeleteCall), [*get*](https://docs.rs/google-surveys2/3.0.0+20180508/google_surveys2/api::SurveyGetCall), [*insert*](https://docs.rs/google-surveys2/3.0.0+20180508/google_surveys2/api::SurveyInsertCall), [*list*](https://docs.rs/google-surveys2/3.0.0+20180508/google_surveys2/api::SurveyListCall), [*start*](https://docs.rs/google-surveys2/3.0.0+20180508/google_surveys2/api::SurveyStartCall), [*stop*](https://docs.rs/google-surveys2/3.0.0+20180508/google_surveys2/api::SurveyStopCall) and [*update*](https://docs.rs/google-surveys2/3.0.0+20180508/google_surveys2/api::SurveyUpdateCall) + * [*get*](https://docs.rs/google-surveys2/3.1.0+20180508/google_surveys2/api::ResultGetCall) +* [surveys](https://docs.rs/google-surveys2/3.1.0+20180508/google_surveys2/api::Survey) + * [*delete*](https://docs.rs/google-surveys2/3.1.0+20180508/google_surveys2/api::SurveyDeleteCall), [*get*](https://docs.rs/google-surveys2/3.1.0+20180508/google_surveys2/api::SurveyGetCall), [*insert*](https://docs.rs/google-surveys2/3.1.0+20180508/google_surveys2/api::SurveyInsertCall), [*list*](https://docs.rs/google-surveys2/3.1.0+20180508/google_surveys2/api::SurveyListCall), [*start*](https://docs.rs/google-surveys2/3.1.0+20180508/google_surveys2/api::SurveyStartCall), [*stop*](https://docs.rs/google-surveys2/3.1.0+20180508/google_surveys2/api::SurveyStopCall) and [*update*](https://docs.rs/google-surveys2/3.1.0+20180508/google_surveys2/api::SurveyUpdateCall) Download supported by ... -* [*get results*](https://docs.rs/google-surveys2/3.0.0+20180508/google_surveys2/api::ResultGetCall) +* [*get results*](https://docs.rs/google-surveys2/3.1.0+20180508/google_surveys2/api::ResultGetCall) @@ -26,17 +26,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-surveys2/3.0.0+20180508/google_surveys2/Surveys)** +* **[Hub](https://docs.rs/google-surveys2/3.1.0+20180508/google_surveys2/Surveys)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-surveys2/3.0.0+20180508/google_surveys2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-surveys2/3.0.0+20180508/google_surveys2/client::CallBuilder) -* **[Resources](https://docs.rs/google-surveys2/3.0.0+20180508/google_surveys2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-surveys2/3.1.0+20180508/google_surveys2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-surveys2/3.1.0+20180508/google_surveys2/client::CallBuilder) +* **[Resources](https://docs.rs/google-surveys2/3.1.0+20180508/google_surveys2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-surveys2/3.0.0+20180508/google_surveys2/client::Part)** + * **[Parts](https://docs.rs/google-surveys2/3.1.0+20180508/google_surveys2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-surveys2/3.0.0+20180508/google_surveys2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-surveys2/3.1.0+20180508/google_surveys2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -99,7 +99,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Surveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Surveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -130,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-surveys2/3.0.0+20180508/google_surveys2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-surveys2/3.1.0+20180508/google_surveys2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-surveys2/3.0.0+20180508/google_surveys2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-surveys2/3.1.0+20180508/google_surveys2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-surveys2/3.0.0+20180508/google_surveys2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-surveys2/3.1.0+20180508/google_surveys2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-surveys2/3.0.0+20180508/google_surveys2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-surveys2/3.1.0+20180508/google_surveys2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -150,29 +150,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-surveys2/3.0.0+20180508/google_surveys2/client::Delegate) to the -[Method Builder](https://docs.rs/google-surveys2/3.0.0+20180508/google_surveys2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-surveys2/3.1.0+20180508/google_surveys2/client::Delegate) to the +[Method Builder](https://docs.rs/google-surveys2/3.1.0+20180508/google_surveys2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-surveys2/3.0.0+20180508/google_surveys2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-surveys2/3.1.0+20180508/google_surveys2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-surveys2/3.0.0+20180508/google_surveys2/client::RequestValue) and -[decodable](https://docs.rs/google-surveys2/3.0.0+20180508/google_surveys2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-surveys2/3.1.0+20180508/google_surveys2/client::RequestValue) and +[decodable](https://docs.rs/google-surveys2/3.1.0+20180508/google_surveys2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-surveys2/3.0.0+20180508/google_surveys2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-surveys2/3.1.0+20180508/google_surveys2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-surveys2/3.0.0+20180508/google_surveys2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-surveys2/3.1.0+20180508/google_surveys2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-surveys2/3.0.0+20180508/google_surveys2/client::RequestValue) are moved +* [request values](https://docs.rs/google-surveys2/3.1.0+20180508/google_surveys2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/surveys2/src/api.rs b/gen/surveys2/src/api.rs index 49e8645863..48976b2ba4 100644 --- a/gen/surveys2/src/api.rs +++ b/gen/surveys2/src/api.rs @@ -78,7 +78,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Surveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Surveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -124,7 +124,7 @@ impl<'a, > Surveys<> { Surveys { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/surveys/v2/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -138,7 +138,7 @@ impl<'a, > Surveys<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -595,7 +595,7 @@ impl client::Part for TokenPagination {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Surveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Surveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -655,7 +655,7 @@ impl<'a> ResultMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Surveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Surveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `start(...)`, `stop(...)` and `update(...)` /// // to build up your call. @@ -830,7 +830,7 @@ impl<'a> SurveyMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Surveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Surveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1123,7 +1123,7 @@ impl<'a> ResultGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Surveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Surveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1371,7 +1371,7 @@ impl<'a> SurveyDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Surveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Surveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1620,7 +1620,7 @@ impl<'a> SurveyGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Surveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Surveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1864,7 +1864,7 @@ impl<'a> SurveyInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Surveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Surveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2113,7 +2113,7 @@ impl<'a> SurveyListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Surveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Surveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2389,7 +2389,7 @@ impl<'a> SurveyStartCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Surveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Surveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2637,7 +2637,7 @@ impl<'a> SurveyStopCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Surveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Surveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/surveys2/src/lib.rs b/gen/surveys2/src/lib.rs index 13fafbbe95..253f394abd 100644 --- a/gen/surveys2/src/lib.rs +++ b/gen/surveys2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Surveys* crate version *3.0.0+20180508*, where *20180508* is the exact revision of the *surveys:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Surveys* crate version *3.1.0+20180508*, where *20180508* is the exact revision of the *surveys:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! The original source code is [on github](https://github.com/Byron/google-apis-rs/tree/main/gen/surveys2). //! # Features //! @@ -100,7 +100,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Surveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Surveys::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/tagmanager1-cli/Cargo.toml b/gen/tagmanager1-cli/Cargo.toml index fccf885742..4a7f6a9073 100644 --- a/gen/tagmanager1-cli/Cargo.toml +++ b/gen/tagmanager1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-tagmanager1-cli" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with Tag Manager (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/tagmanager1-cli" @@ -20,12 +20,12 @@ name = "tagmanager1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-tagmanager1] path = "../tagmanager1" -version = "3.0.0+20220301" +version = "3.1.0+20220301" diff --git a/gen/tagmanager1-cli/README.md b/gen/tagmanager1-cli/README.md index 9bea22e673..e5d7112472 100644 --- a/gen/tagmanager1-cli/README.md +++ b/gen/tagmanager1-cli/README.md @@ -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 *Tag Manager* API at revision *20220301*. The CLI is at version *3.0.0*. +This documentation was generated from the *Tag Manager* API at revision *20220301*. The CLI is at version *3.1.0*. ```bash tagmanager1 [options] diff --git a/gen/tagmanager1-cli/mkdocs.yml b/gen/tagmanager1-cli/mkdocs.yml index bff47fcde8..6cf907cc24 100644 --- a/gen/tagmanager1-cli/mkdocs.yml +++ b/gen/tagmanager1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Tag Manager v3.0.0+20220301 +site_name: Tag Manager v3.1.0+20220301 site_url: http://byron.github.io/google-apis-rs/google-tagmanager1-cli site_description: A complete library to interact with Tag Manager (protocol v1) diff --git a/gen/tagmanager1-cli/src/main.rs b/gen/tagmanager1-cli/src/main.rs index f9d22ad952..6569756b29 100644 --- a/gen/tagmanager1-cli/src/main.rs +++ b/gen/tagmanager1-cli/src/main.rs @@ -3659,7 +3659,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/tagmanager1", 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::TagManager::new(client, auth), @@ -5229,7 +5235,7 @@ async fn main() { let mut app = App::new("tagmanager1") .author("Sebastian Thiel ") - .version("3.0.0+20220301") + .version("3.1.0+20220301") .about("This API allows clients to access and modify container and tag configuration.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_tagmanager1_cli") .arg(Arg::with_name("url") diff --git a/gen/tagmanager1/Cargo.toml b/gen/tagmanager1/Cargo.toml index 6ea71bf262..796a847ab0 100644 --- a/gen/tagmanager1/Cargo.toml +++ b/gen/tagmanager1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-tagmanager1" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with Tag Manager (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/tagmanager1" homepage = "https://developers.google.com/tag-manager" -documentation = "https://docs.rs/google-tagmanager1/3.0.0+20220301" +documentation = "https://docs.rs/google-tagmanager1/3.1.0+20220301" license = "MIT" keywords = ["tagmanager", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/tagmanager1/README.md b/gen/tagmanager1/README.md index dc031aa2a6..afb4519706 100644 --- a/gen/tagmanager1/README.md +++ b/gen/tagmanager1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-tagmanager1` library allows access to all features of the *Google Tag Manager* service. -This documentation was generated from *Tag Manager* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *tagmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Tag Manager* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *tagmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Tag Manager* *v1* API can be found at the [official documentation site](https://developers.google.com/tag-manager). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/TagManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/TagManager) ... -* [accounts](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::Account) - * [*containers create*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountContainerCreateCall), [*containers delete*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountContainerDeleteCall), [*containers environments create*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountContainerEnvironmentCreateCall), [*containers environments delete*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountContainerEnvironmentDeleteCall), [*containers environments get*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountContainerEnvironmentGetCall), [*containers environments list*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountContainerEnvironmentListCall), [*containers environments update*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountContainerEnvironmentUpdateCall), [*containers folders create*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountContainerFolderCreateCall), [*containers folders delete*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountContainerFolderDeleteCall), [*containers folders entities list*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountContainerFolderEntityListCall), [*containers folders get*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountContainerFolderGetCall), [*containers folders list*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountContainerFolderListCall), [*containers folders update*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountContainerFolderUpdateCall), [*containers get*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountContainerGetCall), [*containers list*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountContainerListCall), [*containers move_folders update*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountContainerMoveFolderUpdateCall), [*containers reauthorize_environments update*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountContainerReauthorizeEnvironmentUpdateCall), [*containers tags create*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountContainerTagCreateCall), [*containers tags delete*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountContainerTagDeleteCall), [*containers tags get*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountContainerTagGetCall), [*containers tags list*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountContainerTagListCall), [*containers tags update*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountContainerTagUpdateCall), [*containers triggers create*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountContainerTriggerCreateCall), [*containers triggers delete*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountContainerTriggerDeleteCall), [*containers triggers get*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountContainerTriggerGetCall), [*containers triggers list*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountContainerTriggerListCall), [*containers triggers update*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountContainerTriggerUpdateCall), [*containers update*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountContainerUpdateCall), [*containers variables create*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountContainerVariableCreateCall), [*containers variables delete*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountContainerVariableDeleteCall), [*containers variables get*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountContainerVariableGetCall), [*containers variables list*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountContainerVariableListCall), [*containers variables update*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountContainerVariableUpdateCall), [*containers versions create*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountContainerVersionCreateCall), [*containers versions delete*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountContainerVersionDeleteCall), [*containers versions get*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountContainerVersionGetCall), [*containers versions list*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountContainerVersionListCall), [*containers versions publish*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountContainerVersionPublishCall), [*containers versions restore*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountContainerVersionRestoreCall), [*containers versions undelete*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountContainerVersionUndeleteCall), [*containers versions update*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountContainerVersionUpdateCall), [*get*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountGetCall), [*list*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountListCall), [*permissions create*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountPermissionCreateCall), [*permissions delete*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountPermissionDeleteCall), [*permissions get*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountPermissionGetCall), [*permissions list*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountPermissionListCall), [*permissions update*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountPermissionUpdateCall) and [*update*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/api::AccountUpdateCall) +* [accounts](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::Account) + * [*containers create*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountContainerCreateCall), [*containers delete*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountContainerDeleteCall), [*containers environments create*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountContainerEnvironmentCreateCall), [*containers environments delete*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountContainerEnvironmentDeleteCall), [*containers environments get*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountContainerEnvironmentGetCall), [*containers environments list*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountContainerEnvironmentListCall), [*containers environments update*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountContainerEnvironmentUpdateCall), [*containers folders create*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountContainerFolderCreateCall), [*containers folders delete*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountContainerFolderDeleteCall), [*containers folders entities list*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountContainerFolderEntityListCall), [*containers folders get*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountContainerFolderGetCall), [*containers folders list*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountContainerFolderListCall), [*containers folders update*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountContainerFolderUpdateCall), [*containers get*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountContainerGetCall), [*containers list*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountContainerListCall), [*containers move_folders update*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountContainerMoveFolderUpdateCall), [*containers reauthorize_environments update*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountContainerReauthorizeEnvironmentUpdateCall), [*containers tags create*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountContainerTagCreateCall), [*containers tags delete*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountContainerTagDeleteCall), [*containers tags get*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountContainerTagGetCall), [*containers tags list*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountContainerTagListCall), [*containers tags update*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountContainerTagUpdateCall), [*containers triggers create*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountContainerTriggerCreateCall), [*containers triggers delete*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountContainerTriggerDeleteCall), [*containers triggers get*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountContainerTriggerGetCall), [*containers triggers list*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountContainerTriggerListCall), [*containers triggers update*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountContainerTriggerUpdateCall), [*containers update*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountContainerUpdateCall), [*containers variables create*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountContainerVariableCreateCall), [*containers variables delete*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountContainerVariableDeleteCall), [*containers variables get*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountContainerVariableGetCall), [*containers variables list*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountContainerVariableListCall), [*containers variables update*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountContainerVariableUpdateCall), [*containers versions create*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountContainerVersionCreateCall), [*containers versions delete*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountContainerVersionDeleteCall), [*containers versions get*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountContainerVersionGetCall), [*containers versions list*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountContainerVersionListCall), [*containers versions publish*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountContainerVersionPublishCall), [*containers versions restore*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountContainerVersionRestoreCall), [*containers versions undelete*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountContainerVersionUndeleteCall), [*containers versions update*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountContainerVersionUpdateCall), [*get*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountGetCall), [*list*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountListCall), [*permissions create*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountPermissionCreateCall), [*permissions delete*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountPermissionDeleteCall), [*permissions get*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountPermissionGetCall), [*permissions list*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountPermissionListCall), [*permissions update*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountPermissionUpdateCall) and [*update*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/api::AccountUpdateCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/TagManager)** +* **[Hub](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/TagManager)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/client::CallBuilder) -* **[Resources](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/client::CallBuilder) +* **[Resources](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/client::Part)** + * **[Parts](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -139,7 +139,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -175,17 +175,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -195,29 +195,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/client::Delegate) to the -[Method Builder](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/client::Delegate) to the +[Method Builder](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/client::RequestValue) and -[decodable](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/client::RequestValue) and +[decodable](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-tagmanager1/3.0.0+20220301/google_tagmanager1/client::RequestValue) are moved +* [request values](https://docs.rs/google-tagmanager1/3.1.0+20220301/google_tagmanager1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/tagmanager1/src/api.rs b/gen/tagmanager1/src/api.rs index d4b65b2e60..2910dc7dfb 100644 --- a/gen/tagmanager1/src/api.rs +++ b/gen/tagmanager1/src/api.rs @@ -95,7 +95,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -146,7 +146,7 @@ impl<'a, > TagManager<> { TagManager { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://tagmanager.googleapis.com/".to_string(), _root_url: "https://tagmanager.googleapis.com/".to_string(), } @@ -157,7 +157,7 @@ impl<'a, > TagManager<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1203,7 +1203,7 @@ impl client::ResponseResult for Variable {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `containers_create(...)`, `containers_delete(...)`, `containers_environments_create(...)`, `containers_environments_delete(...)`, `containers_environments_get(...)`, `containers_environments_list(...)`, `containers_environments_update(...)`, `containers_folders_create(...)`, `containers_folders_delete(...)`, `containers_folders_entities_list(...)`, `containers_folders_get(...)`, `containers_folders_list(...)`, `containers_folders_update(...)`, `containers_get(...)`, `containers_list(...)`, `containers_move_folders_update(...)`, `containers_reauthorize_environments_update(...)`, `containers_tags_create(...)`, `containers_tags_delete(...)`, `containers_tags_get(...)`, `containers_tags_list(...)`, `containers_tags_update(...)`, `containers_triggers_create(...)`, `containers_triggers_delete(...)`, `containers_triggers_get(...)`, `containers_triggers_list(...)`, `containers_triggers_update(...)`, `containers_update(...)`, `containers_variables_create(...)`, `containers_variables_delete(...)`, `containers_variables_get(...)`, `containers_variables_list(...)`, `containers_variables_update(...)`, `containers_versions_create(...)`, `containers_versions_delete(...)`, `containers_versions_get(...)`, `containers_versions_list(...)`, `containers_versions_publish(...)`, `containers_versions_restore(...)`, `containers_versions_undelete(...)`, `containers_versions_update(...)`, `get(...)`, `list(...)`, `permissions_create(...)`, `permissions_delete(...)`, `permissions_get(...)`, `permissions_list(...)`, `permissions_update(...)` and `update(...)` /// // to build up your call. @@ -2264,7 +2264,7 @@ impl<'a> AccountMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2557,7 +2557,7 @@ impl<'a> AccountContainerEnvironmentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2822,7 +2822,7 @@ impl<'a> AccountContainerEnvironmentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3098,7 +3098,7 @@ impl<'a> AccountContainerEnvironmentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3363,7 +3363,7 @@ impl<'a> AccountContainerEnvironmentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3680,7 +3680,7 @@ impl<'a> AccountContainerEnvironmentUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3957,7 +3957,7 @@ impl<'a> AccountContainerFolderEntityListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4250,7 +4250,7 @@ impl<'a> AccountContainerFolderCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4515,7 +4515,7 @@ impl<'a> AccountContainerFolderDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4791,7 +4791,7 @@ impl<'a> AccountContainerFolderGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5056,7 +5056,7 @@ impl<'a> AccountContainerFolderListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5374,7 +5374,7 @@ impl<'a> AccountContainerFolderUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5714,7 +5714,7 @@ impl<'a> AccountContainerMoveFolderUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6020,7 +6020,7 @@ impl<'a> AccountContainerReauthorizeEnvironmentUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6313,7 +6313,7 @@ impl<'a> AccountContainerTagCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6578,7 +6578,7 @@ impl<'a> AccountContainerTagDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6854,7 +6854,7 @@ impl<'a> AccountContainerTagGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7119,7 +7119,7 @@ impl<'a> AccountContainerTagListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7437,7 +7437,7 @@ impl<'a> AccountContainerTagUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7730,7 +7730,7 @@ impl<'a> AccountContainerTriggerCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7995,7 +7995,7 @@ impl<'a> AccountContainerTriggerDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8271,7 +8271,7 @@ impl<'a> AccountContainerTriggerGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8536,7 +8536,7 @@ impl<'a> AccountContainerTriggerListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8854,7 +8854,7 @@ impl<'a> AccountContainerTriggerUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9147,7 +9147,7 @@ impl<'a> AccountContainerVariableCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9412,7 +9412,7 @@ impl<'a> AccountContainerVariableDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9688,7 +9688,7 @@ impl<'a> AccountContainerVariableGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9953,7 +9953,7 @@ impl<'a> AccountContainerVariableListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10271,7 +10271,7 @@ impl<'a> AccountContainerVariableUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10564,7 +10564,7 @@ impl<'a> AccountContainerVersionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10829,7 +10829,7 @@ impl<'a> AccountContainerVersionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11105,7 +11105,7 @@ impl<'a> AccountContainerVersionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11393,7 +11393,7 @@ impl<'a> AccountContainerVersionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11681,7 +11681,7 @@ impl<'a> AccountContainerVersionPublishCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11957,7 +11957,7 @@ impl<'a> AccountContainerVersionRestoreCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12234,7 +12234,7 @@ impl<'a> AccountContainerVersionUndeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12552,7 +12552,7 @@ impl<'a> AccountContainerVersionUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12833,7 +12833,7 @@ impl<'a> AccountContainerCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13086,7 +13086,7 @@ impl<'a> AccountContainerDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13350,7 +13350,7 @@ impl<'a> AccountContainerGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13603,7 +13603,7 @@ impl<'a> AccountContainerListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13909,7 +13909,7 @@ impl<'a> AccountContainerUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14190,7 +14190,7 @@ impl<'a> AccountPermissionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14443,7 +14443,7 @@ impl<'a> AccountPermissionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14707,7 +14707,7 @@ impl<'a> AccountPermissionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14960,7 +14960,7 @@ impl<'a> AccountPermissionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15253,7 +15253,7 @@ impl<'a> AccountPermissionUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15505,7 +15505,7 @@ impl<'a> AccountGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15725,7 +15725,7 @@ impl<'a> AccountListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/tagmanager1/src/lib.rs b/gen/tagmanager1/src/lib.rs index dbe59e563d..9307da0a4d 100644 --- a/gen/tagmanager1/src/lib.rs +++ b/gen/tagmanager1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Tag Manager* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *tagmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Tag Manager* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *tagmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Tag Manager* *v1* API can be found at the //! [official documentation site](https://developers.google.com/tag-manager). @@ -140,7 +140,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/tagmanager2-cli/Cargo.toml b/gen/tagmanager2-cli/Cargo.toml index 74b14b71d5..427e0ab6ff 100644 --- a/gen/tagmanager2-cli/Cargo.toml +++ b/gen/tagmanager2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-tagmanager2-cli" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with Tag Manager (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/tagmanager2-cli" @@ -20,12 +20,12 @@ name = "tagmanager2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-tagmanager2] path = "../tagmanager2" -version = "3.0.0+20220301" +version = "3.1.0+20220301" diff --git a/gen/tagmanager2-cli/README.md b/gen/tagmanager2-cli/README.md index 916e388f29..2f30c8a3d1 100644 --- a/gen/tagmanager2-cli/README.md +++ b/gen/tagmanager2-cli/README.md @@ -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 *Tag Manager* API at revision *20220301*. The CLI is at version *3.0.0*. +This documentation was generated from the *Tag Manager* API at revision *20220301*. The CLI is at version *3.1.0*. ```bash tagmanager2 [options] diff --git a/gen/tagmanager2-cli/mkdocs.yml b/gen/tagmanager2-cli/mkdocs.yml index ac5d46d312..f6ff93d066 100644 --- a/gen/tagmanager2-cli/mkdocs.yml +++ b/gen/tagmanager2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Tag Manager v3.0.0+20220301 +site_name: Tag Manager v3.1.0+20220301 site_url: http://byron.github.io/google-apis-rs/google-tagmanager2-cli site_description: A complete library to interact with Tag Manager (protocol v2) diff --git a/gen/tagmanager2-cli/src/main.rs b/gen/tagmanager2-cli/src/main.rs index 654e50ac93..dea53f41ad 100644 --- a/gen/tagmanager2-cli/src/main.rs +++ b/gen/tagmanager2-cli/src/main.rs @@ -6374,7 +6374,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/tagmanager2", 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::TagManager::new(client, auth), @@ -8380,7 +8386,7 @@ async fn main() { let mut app = App::new("tagmanager2") .author("Sebastian Thiel ") - .version("3.0.0+20220301") + .version("3.1.0+20220301") .about("This API allows clients to access and modify container and tag configuration.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_tagmanager2_cli") .arg(Arg::with_name("url") diff --git a/gen/tagmanager2/Cargo.toml b/gen/tagmanager2/Cargo.toml index 7700dc2339..a302d6c382 100644 --- a/gen/tagmanager2/Cargo.toml +++ b/gen/tagmanager2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-tagmanager2" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with Tag Manager (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/tagmanager2" homepage = "https://developers.google.com/tag-manager" -documentation = "https://docs.rs/google-tagmanager2/3.0.0+20220301" +documentation = "https://docs.rs/google-tagmanager2/3.1.0+20220301" license = "MIT" keywords = ["tagmanager", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/tagmanager2/README.md b/gen/tagmanager2/README.md index 4e7d78f391..c058c0fc76 100644 --- a/gen/tagmanager2/README.md +++ b/gen/tagmanager2/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-tagmanager2` library allows access to all features of the *Google Tag Manager* service. -This documentation was generated from *Tag Manager* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *tagmanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Tag Manager* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *tagmanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Tag Manager* *v2* API can be found at the [official documentation site](https://developers.google.com/tag-manager). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/TagManager) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/TagManager) ... -* [accounts](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::Account) - * [*containers create*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerCreateCall), [*containers delete*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerDeleteCall), [*containers environments create*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerEnvironmentCreateCall), [*containers environments delete*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerEnvironmentDeleteCall), [*containers environments get*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerEnvironmentGetCall), [*containers environments list*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerEnvironmentListCall), [*containers environments reauthorize*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerEnvironmentReauthorizeCall), [*containers environments update*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerEnvironmentUpdateCall), [*containers get*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerGetCall), [*containers list*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerListCall), [*containers update*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerUpdateCall), [*containers version_headers latest*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerVersionHeaderLatestCall), [*containers version_headers list*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerVersionHeaderListCall), [*containers versions delete*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerVersionDeleteCall), [*containers versions get*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerVersionGetCall), [*containers versions live*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerVersionLiveCall), [*containers versions publish*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerVersionPublishCall), [*containers versions set_latest*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerVersionSetLatestCall), [*containers versions undelete*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerVersionUndeleteCall), [*containers versions update*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerVersionUpdateCall), [*containers workspaces built_in_variables create*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceBuiltInVariableCreateCall), [*containers workspaces built_in_variables delete*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceBuiltInVariableDeleteCall), [*containers workspaces built_in_variables list*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceBuiltInVariableListCall), [*containers workspaces built_in_variables revert*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceBuiltInVariableRevertCall), [*containers workspaces clients create*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceClientCreateCall), [*containers workspaces clients delete*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceClientDeleteCall), [*containers workspaces clients get*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceClientGetCall), [*containers workspaces clients list*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceClientListCall), [*containers workspaces clients revert*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceClientRevertCall), [*containers workspaces clients update*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceClientUpdateCall), [*containers workspaces create*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceCreateCall), [*containers workspaces create_version*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceCreateVersionCall), [*containers workspaces delete*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceDeleteCall), [*containers workspaces folders create*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceFolderCreateCall), [*containers workspaces folders delete*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceFolderDeleteCall), [*containers workspaces folders entities*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceFolderEntityCall), [*containers workspaces folders get*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceFolderGetCall), [*containers workspaces folders list*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceFolderListCall), [*containers workspaces folders move_entities_to_folder*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceFolderMoveEntitiesToFolderCall), [*containers workspaces folders revert*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceFolderRevertCall), [*containers workspaces folders update*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceFolderUpdateCall), [*containers workspaces get*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceGetCall), [*containers workspaces get status*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceGetStatuCall), [*containers workspaces list*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceListCall), [*containers workspaces quick_preview*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceQuickPreviewCall), [*containers workspaces resolve_conflict*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceResolveConflictCall), [*containers workspaces sync*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceSyncCall), [*containers workspaces tags create*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceTagCreateCall), [*containers workspaces tags delete*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceTagDeleteCall), [*containers workspaces tags get*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceTagGetCall), [*containers workspaces tags list*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceTagListCall), [*containers workspaces tags revert*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceTagRevertCall), [*containers workspaces tags update*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceTagUpdateCall), [*containers workspaces templates create*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceTemplateCreateCall), [*containers workspaces templates delete*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceTemplateDeleteCall), [*containers workspaces templates get*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceTemplateGetCall), [*containers workspaces templates list*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceTemplateListCall), [*containers workspaces templates revert*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceTemplateRevertCall), [*containers workspaces templates update*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceTemplateUpdateCall), [*containers workspaces triggers create*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceTriggerCreateCall), [*containers workspaces triggers delete*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceTriggerDeleteCall), [*containers workspaces triggers get*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceTriggerGetCall), [*containers workspaces triggers list*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceTriggerListCall), [*containers workspaces triggers revert*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceTriggerRevertCall), [*containers workspaces triggers update*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceTriggerUpdateCall), [*containers workspaces update*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceUpdateCall), [*containers workspaces variables create*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceVariableCreateCall), [*containers workspaces variables delete*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceVariableDeleteCall), [*containers workspaces variables get*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceVariableGetCall), [*containers workspaces variables list*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceVariableListCall), [*containers workspaces variables revert*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceVariableRevertCall), [*containers workspaces variables update*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceVariableUpdateCall), [*containers workspaces zones create*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceZoneCreateCall), [*containers workspaces zones delete*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceZoneDeleteCall), [*containers workspaces zones get*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceZoneGetCall), [*containers workspaces zones list*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceZoneListCall), [*containers workspaces zones revert*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceZoneRevertCall), [*containers workspaces zones update*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceZoneUpdateCall), [*get*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountGetCall), [*list*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountListCall), [*update*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountUpdateCall), [*user_permissions create*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountUserPermissionCreateCall), [*user_permissions delete*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountUserPermissionDeleteCall), [*user_permissions get*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountUserPermissionGetCall), [*user_permissions list*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountUserPermissionListCall) and [*user_permissions update*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/api::AccountUserPermissionUpdateCall) +* [accounts](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::Account) + * [*containers create*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerCreateCall), [*containers delete*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerDeleteCall), [*containers environments create*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerEnvironmentCreateCall), [*containers environments delete*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerEnvironmentDeleteCall), [*containers environments get*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerEnvironmentGetCall), [*containers environments list*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerEnvironmentListCall), [*containers environments reauthorize*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerEnvironmentReauthorizeCall), [*containers environments update*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerEnvironmentUpdateCall), [*containers get*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerGetCall), [*containers list*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerListCall), [*containers update*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerUpdateCall), [*containers version_headers latest*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerVersionHeaderLatestCall), [*containers version_headers list*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerVersionHeaderListCall), [*containers versions delete*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerVersionDeleteCall), [*containers versions get*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerVersionGetCall), [*containers versions live*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerVersionLiveCall), [*containers versions publish*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerVersionPublishCall), [*containers versions set_latest*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerVersionSetLatestCall), [*containers versions undelete*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerVersionUndeleteCall), [*containers versions update*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerVersionUpdateCall), [*containers workspaces built_in_variables create*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceBuiltInVariableCreateCall), [*containers workspaces built_in_variables delete*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceBuiltInVariableDeleteCall), [*containers workspaces built_in_variables list*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceBuiltInVariableListCall), [*containers workspaces built_in_variables revert*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceBuiltInVariableRevertCall), [*containers workspaces clients create*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceClientCreateCall), [*containers workspaces clients delete*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceClientDeleteCall), [*containers workspaces clients get*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceClientGetCall), [*containers workspaces clients list*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceClientListCall), [*containers workspaces clients revert*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceClientRevertCall), [*containers workspaces clients update*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceClientUpdateCall), [*containers workspaces create*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceCreateCall), [*containers workspaces create_version*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceCreateVersionCall), [*containers workspaces delete*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceDeleteCall), [*containers workspaces folders create*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceFolderCreateCall), [*containers workspaces folders delete*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceFolderDeleteCall), [*containers workspaces folders entities*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceFolderEntityCall), [*containers workspaces folders get*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceFolderGetCall), [*containers workspaces folders list*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceFolderListCall), [*containers workspaces folders move_entities_to_folder*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceFolderMoveEntitiesToFolderCall), [*containers workspaces folders revert*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceFolderRevertCall), [*containers workspaces folders update*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceFolderUpdateCall), [*containers workspaces get*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceGetCall), [*containers workspaces get status*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceGetStatuCall), [*containers workspaces list*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceListCall), [*containers workspaces quick_preview*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceQuickPreviewCall), [*containers workspaces resolve_conflict*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceResolveConflictCall), [*containers workspaces sync*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceSyncCall), [*containers workspaces tags create*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceTagCreateCall), [*containers workspaces tags delete*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceTagDeleteCall), [*containers workspaces tags get*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceTagGetCall), [*containers workspaces tags list*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceTagListCall), [*containers workspaces tags revert*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceTagRevertCall), [*containers workspaces tags update*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceTagUpdateCall), [*containers workspaces templates create*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceTemplateCreateCall), [*containers workspaces templates delete*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceTemplateDeleteCall), [*containers workspaces templates get*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceTemplateGetCall), [*containers workspaces templates list*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceTemplateListCall), [*containers workspaces templates revert*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceTemplateRevertCall), [*containers workspaces templates update*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceTemplateUpdateCall), [*containers workspaces triggers create*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceTriggerCreateCall), [*containers workspaces triggers delete*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceTriggerDeleteCall), [*containers workspaces triggers get*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceTriggerGetCall), [*containers workspaces triggers list*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceTriggerListCall), [*containers workspaces triggers revert*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceTriggerRevertCall), [*containers workspaces triggers update*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceTriggerUpdateCall), [*containers workspaces update*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceUpdateCall), [*containers workspaces variables create*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceVariableCreateCall), [*containers workspaces variables delete*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceVariableDeleteCall), [*containers workspaces variables get*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceVariableGetCall), [*containers workspaces variables list*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceVariableListCall), [*containers workspaces variables revert*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceVariableRevertCall), [*containers workspaces variables update*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceVariableUpdateCall), [*containers workspaces zones create*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceZoneCreateCall), [*containers workspaces zones delete*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceZoneDeleteCall), [*containers workspaces zones get*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceZoneGetCall), [*containers workspaces zones list*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceZoneListCall), [*containers workspaces zones revert*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceZoneRevertCall), [*containers workspaces zones update*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountContainerWorkspaceZoneUpdateCall), [*get*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountGetCall), [*list*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountListCall), [*update*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountUpdateCall), [*user_permissions create*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountUserPermissionCreateCall), [*user_permissions delete*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountUserPermissionDeleteCall), [*user_permissions get*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountUserPermissionGetCall), [*user_permissions list*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountUserPermissionListCall) and [*user_permissions update*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/api::AccountUserPermissionUpdateCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/TagManager)** +* **[Hub](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/TagManager)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/client::CallBuilder) -* **[Resources](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/client::CallBuilder) +* **[Resources](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/client::Part)** + * **[Parts](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -176,7 +176,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -212,17 +212,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -232,29 +232,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/client::Delegate) to the -[Method Builder](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/client::Delegate) to the +[Method Builder](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/client::RequestValue) and -[decodable](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/client::RequestValue) and +[decodable](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-tagmanager2/3.0.0+20220301/google_tagmanager2/client::RequestValue) are moved +* [request values](https://docs.rs/google-tagmanager2/3.1.0+20220301/google_tagmanager2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/tagmanager2/src/api.rs b/gen/tagmanager2/src/api.rs index 995a87e1f4..93909d72ef 100644 --- a/gen/tagmanager2/src/api.rs +++ b/gen/tagmanager2/src/api.rs @@ -95,7 +95,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -146,7 +146,7 @@ impl<'a, > TagManager<> { TagManager { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://tagmanager.googleapis.com/".to_string(), _root_url: "https://tagmanager.googleapis.com/".to_string(), } @@ -157,7 +157,7 @@ impl<'a, > TagManager<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -2011,7 +2011,7 @@ impl client::Part for ZoneTypeRestriction {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `containers_create(...)`, `containers_delete(...)`, `containers_environments_create(...)`, `containers_environments_delete(...)`, `containers_environments_get(...)`, `containers_environments_list(...)`, `containers_environments_reauthorize(...)`, `containers_environments_update(...)`, `containers_get(...)`, `containers_list(...)`, `containers_update(...)`, `containers_version_headers_latest(...)`, `containers_version_headers_list(...)`, `containers_versions_delete(...)`, `containers_versions_get(...)`, `containers_versions_live(...)`, `containers_versions_publish(...)`, `containers_versions_set_latest(...)`, `containers_versions_undelete(...)`, `containers_versions_update(...)`, `containers_workspaces_built_in_variables_create(...)`, `containers_workspaces_built_in_variables_delete(...)`, `containers_workspaces_built_in_variables_list(...)`, `containers_workspaces_built_in_variables_revert(...)`, `containers_workspaces_clients_create(...)`, `containers_workspaces_clients_delete(...)`, `containers_workspaces_clients_get(...)`, `containers_workspaces_clients_list(...)`, `containers_workspaces_clients_revert(...)`, `containers_workspaces_clients_update(...)`, `containers_workspaces_create(...)`, `containers_workspaces_create_version(...)`, `containers_workspaces_delete(...)`, `containers_workspaces_folders_create(...)`, `containers_workspaces_folders_delete(...)`, `containers_workspaces_folders_entities(...)`, `containers_workspaces_folders_get(...)`, `containers_workspaces_folders_list(...)`, `containers_workspaces_folders_move_entities_to_folder(...)`, `containers_workspaces_folders_revert(...)`, `containers_workspaces_folders_update(...)`, `containers_workspaces_get(...)`, `containers_workspaces_get_status(...)`, `containers_workspaces_list(...)`, `containers_workspaces_quick_preview(...)`, `containers_workspaces_resolve_conflict(...)`, `containers_workspaces_sync(...)`, `containers_workspaces_tags_create(...)`, `containers_workspaces_tags_delete(...)`, `containers_workspaces_tags_get(...)`, `containers_workspaces_tags_list(...)`, `containers_workspaces_tags_revert(...)`, `containers_workspaces_tags_update(...)`, `containers_workspaces_templates_create(...)`, `containers_workspaces_templates_delete(...)`, `containers_workspaces_templates_get(...)`, `containers_workspaces_templates_list(...)`, `containers_workspaces_templates_revert(...)`, `containers_workspaces_templates_update(...)`, `containers_workspaces_triggers_create(...)`, `containers_workspaces_triggers_delete(...)`, `containers_workspaces_triggers_get(...)`, `containers_workspaces_triggers_list(...)`, `containers_workspaces_triggers_revert(...)`, `containers_workspaces_triggers_update(...)`, `containers_workspaces_update(...)`, `containers_workspaces_variables_create(...)`, `containers_workspaces_variables_delete(...)`, `containers_workspaces_variables_get(...)`, `containers_workspaces_variables_list(...)`, `containers_workspaces_variables_revert(...)`, `containers_workspaces_variables_update(...)`, `containers_workspaces_zones_create(...)`, `containers_workspaces_zones_delete(...)`, `containers_workspaces_zones_get(...)`, `containers_workspaces_zones_list(...)`, `containers_workspaces_zones_revert(...)`, `containers_workspaces_zones_update(...)`, `get(...)`, `list(...)`, `update(...)`, `user_permissions_create(...)`, `user_permissions_delete(...)`, `user_permissions_get(...)`, `user_permissions_list(...)` and `user_permissions_update(...)` /// // to build up your call. @@ -3617,7 +3617,7 @@ impl<'a> AccountMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3902,7 +3902,7 @@ impl<'a> AccountContainerEnvironmentCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4147,7 +4147,7 @@ impl<'a> AccountContainerEnvironmentDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4403,7 +4403,7 @@ impl<'a> AccountContainerEnvironmentGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4672,7 +4672,7 @@ impl<'a> AccountContainerEnvironmentListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4958,7 +4958,7 @@ impl<'a> AccountContainerEnvironmentReauthorizeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5255,7 +5255,7 @@ impl<'a> AccountContainerEnvironmentUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5511,7 +5511,7 @@ impl<'a> AccountContainerVersionHeaderLatestCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5791,7 +5791,7 @@ impl<'a> AccountContainerVersionHeaderListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6036,7 +6036,7 @@ impl<'a> AccountContainerVersionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6304,7 +6304,7 @@ impl<'a> AccountContainerVersionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6560,7 +6560,7 @@ impl<'a> AccountContainerVersionLiveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6828,7 +6828,7 @@ impl<'a> AccountContainerVersionPublishCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7084,7 +7084,7 @@ impl<'a> AccountContainerVersionSetLatestCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7341,7 +7341,7 @@ impl<'a> AccountContainerVersionUndeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7638,7 +7638,7 @@ impl<'a> AccountContainerVersionUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7909,7 +7909,7 @@ impl<'a> AccountContainerWorkspaceBuiltInVariableCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8169,7 +8169,7 @@ impl<'a> AccountContainerWorkspaceBuiltInVariableDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8437,7 +8437,7 @@ impl<'a> AccountContainerWorkspaceBuiltInVariableListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8706,7 +8706,7 @@ impl<'a> AccountContainerWorkspaceBuiltInVariableRevertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8991,7 +8991,7 @@ impl<'a> AccountContainerWorkspaceClientCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9236,7 +9236,7 @@ impl<'a> AccountContainerWorkspaceClientDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9492,7 +9492,7 @@ impl<'a> AccountContainerWorkspaceClientGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9760,7 +9760,7 @@ impl<'a> AccountContainerWorkspaceClientListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10029,7 +10029,7 @@ impl<'a> AccountContainerWorkspaceClientRevertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10327,7 +10327,7 @@ impl<'a> AccountContainerWorkspaceClientUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10612,7 +10612,7 @@ impl<'a> AccountContainerWorkspaceFolderCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10857,7 +10857,7 @@ impl<'a> AccountContainerWorkspaceFolderDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11125,7 +11125,7 @@ impl<'a> AccountContainerWorkspaceFolderEntityCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11381,7 +11381,7 @@ impl<'a> AccountContainerWorkspaceFolderGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11650,7 +11650,7 @@ impl<'a> AccountContainerWorkspaceFolderListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11969,7 +11969,7 @@ impl<'a> AccountContainerWorkspaceFolderMoveEntitiesToFolderCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12238,7 +12238,7 @@ impl<'a> AccountContainerWorkspaceFolderRevertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12536,7 +12536,7 @@ impl<'a> AccountContainerWorkspaceFolderUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12821,7 +12821,7 @@ impl<'a> AccountContainerWorkspaceTagCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13066,7 +13066,7 @@ impl<'a> AccountContainerWorkspaceTagDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13322,7 +13322,7 @@ impl<'a> AccountContainerWorkspaceTagGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13590,7 +13590,7 @@ impl<'a> AccountContainerWorkspaceTagListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13859,7 +13859,7 @@ impl<'a> AccountContainerWorkspaceTagRevertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14157,7 +14157,7 @@ impl<'a> AccountContainerWorkspaceTagUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14442,7 +14442,7 @@ impl<'a> AccountContainerWorkspaceTemplateCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14687,7 +14687,7 @@ impl<'a> AccountContainerWorkspaceTemplateDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14943,7 +14943,7 @@ impl<'a> AccountContainerWorkspaceTemplateGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15211,7 +15211,7 @@ impl<'a> AccountContainerWorkspaceTemplateListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15480,7 +15480,7 @@ impl<'a> AccountContainerWorkspaceTemplateRevertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15778,7 +15778,7 @@ impl<'a> AccountContainerWorkspaceTemplateUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16063,7 +16063,7 @@ impl<'a> AccountContainerWorkspaceTriggerCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16308,7 +16308,7 @@ impl<'a> AccountContainerWorkspaceTriggerDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16564,7 +16564,7 @@ impl<'a> AccountContainerWorkspaceTriggerGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16832,7 +16832,7 @@ impl<'a> AccountContainerWorkspaceTriggerListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17101,7 +17101,7 @@ impl<'a> AccountContainerWorkspaceTriggerRevertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17399,7 +17399,7 @@ impl<'a> AccountContainerWorkspaceTriggerUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -17684,7 +17684,7 @@ impl<'a> AccountContainerWorkspaceVariableCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -17929,7 +17929,7 @@ impl<'a> AccountContainerWorkspaceVariableDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18185,7 +18185,7 @@ impl<'a> AccountContainerWorkspaceVariableGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18453,7 +18453,7 @@ impl<'a> AccountContainerWorkspaceVariableListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -18722,7 +18722,7 @@ impl<'a> AccountContainerWorkspaceVariableRevertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19020,7 +19020,7 @@ impl<'a> AccountContainerWorkspaceVariableUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -19305,7 +19305,7 @@ impl<'a> AccountContainerWorkspaceZoneCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19550,7 +19550,7 @@ impl<'a> AccountContainerWorkspaceZoneDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -19806,7 +19806,7 @@ impl<'a> AccountContainerWorkspaceZoneGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20074,7 +20074,7 @@ impl<'a> AccountContainerWorkspaceZoneListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -20343,7 +20343,7 @@ impl<'a> AccountContainerWorkspaceZoneRevertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20641,7 +20641,7 @@ impl<'a> AccountContainerWorkspaceZoneUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -20927,7 +20927,7 @@ impl<'a> AccountContainerWorkspaceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -21212,7 +21212,7 @@ impl<'a> AccountContainerWorkspaceCreateVersionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21457,7 +21457,7 @@ impl<'a> AccountContainerWorkspaceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21713,7 +21713,7 @@ impl<'a> AccountContainerWorkspaceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -21969,7 +21969,7 @@ impl<'a> AccountContainerWorkspaceGetStatuCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22237,7 +22237,7 @@ impl<'a> AccountContainerWorkspaceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -22494,7 +22494,7 @@ impl<'a> AccountContainerWorkspaceQuickPreviewCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -22780,7 +22780,7 @@ impl<'a> AccountContainerWorkspaceResolveConflictCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23037,7 +23037,7 @@ impl<'a> AccountContainerWorkspaceSyncCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23335,7 +23335,7 @@ impl<'a> AccountContainerWorkspaceUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -23620,7 +23620,7 @@ impl<'a> AccountContainerCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -23865,7 +23865,7 @@ impl<'a> AccountContainerDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24121,7 +24121,7 @@ impl<'a> AccountContainerGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -24390,7 +24390,7 @@ impl<'a> AccountContainerListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24688,7 +24688,7 @@ impl<'a> AccountContainerUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -24973,7 +24973,7 @@ impl<'a> AccountUserPermissionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25218,7 +25218,7 @@ impl<'a> AccountUserPermissionDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25474,7 +25474,7 @@ impl<'a> AccountUserPermissionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -25743,7 +25743,7 @@ impl<'a> AccountUserPermissionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -26028,7 +26028,7 @@ impl<'a> AccountUserPermissionUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26284,7 +26284,7 @@ impl<'a> AccountGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -26516,7 +26516,7 @@ impl<'a> AccountListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/tagmanager2/src/lib.rs b/gen/tagmanager2/src/lib.rs index 8e7d3953a7..85d5827eac 100644 --- a/gen/tagmanager2/src/lib.rs +++ b/gen/tagmanager2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Tag Manager* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *tagmanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Tag Manager* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *tagmanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Tag Manager* *v2* API can be found at the //! [official documentation site](https://developers.google.com/tag-manager). @@ -177,7 +177,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = TagManager::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/taskqueue1_beta2-cli/Cargo.toml b/gen/taskqueue1_beta2-cli/Cargo.toml index c4fbaf3bbc..f35956acc3 100644 --- a/gen/taskqueue1_beta2-cli/Cargo.toml +++ b/gen/taskqueue1_beta2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-taskqueue1_beta2-cli" -version = "3.0.0+20160428" +version = "3.1.0+20160428" authors = ["Sebastian Thiel "] description = "A complete library to interact with taskqueue (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/taskqueue1_beta2-cli" @@ -20,12 +20,12 @@ name = "taskqueue1-beta2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-taskqueue1_beta2] path = "../taskqueue1_beta2" -version = "3.0.0+20160428" +version = "3.1.0+20160428" diff --git a/gen/taskqueue1_beta2-cli/README.md b/gen/taskqueue1_beta2-cli/README.md index 801fcf4454..37d580f63e 100644 --- a/gen/taskqueue1_beta2-cli/README.md +++ b/gen/taskqueue1_beta2-cli/README.md @@ -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 *taskqueue* API at revision *20160428*. The CLI is at version *3.0.0*. +This documentation was generated from the *taskqueue* API at revision *20160428*. The CLI is at version *3.1.0*. ```bash taskqueue1-beta2 [options] diff --git a/gen/taskqueue1_beta2-cli/mkdocs.yml b/gen/taskqueue1_beta2-cli/mkdocs.yml index 26de390eab..055373926a 100644 --- a/gen/taskqueue1_beta2-cli/mkdocs.yml +++ b/gen/taskqueue1_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: taskqueue v3.0.0+20160428 +site_name: taskqueue v3.1.0+20160428 site_url: http://byron.github.io/google-apis-rs/google-taskqueue1_beta2-cli site_description: A complete library to interact with taskqueue (protocol v1beta2) diff --git a/gen/taskqueue1_beta2-cli/src/main.rs b/gen/taskqueue1_beta2-cli/src/main.rs index 77258aacca..60499aed42 100644 --- a/gen/taskqueue1_beta2-cli/src/main.rs +++ b/gen/taskqueue1_beta2-cli/src/main.rs @@ -664,7 +664,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/taskqueue1-beta2", 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::Taskqueue::new(client, auth), @@ -990,7 +996,7 @@ async fn main() { let mut app = App::new("taskqueue1-beta2") .author("Sebastian Thiel ") - .version("3.0.0+20160428") + .version("3.1.0+20160428") .about("Accesses a Google App Engine Pull Task Queue over REST.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_taskqueue1_beta2_cli") .arg(Arg::with_name("url") diff --git a/gen/taskqueue1_beta2/Cargo.toml b/gen/taskqueue1_beta2/Cargo.toml index 3d1071c640..49f97e26e7 100644 --- a/gen/taskqueue1_beta2/Cargo.toml +++ b/gen/taskqueue1_beta2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-taskqueue1_beta2" -version = "3.0.0+20160428" +version = "3.1.0+20160428" authors = ["Sebastian Thiel "] description = "A complete library to interact with taskqueue (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/taskqueue1_beta2" homepage = "https://developers.google.com/appengine/docs/python/taskqueue/rest" -documentation = "https://docs.rs/google-taskqueue1_beta2/3.0.0+20160428" +documentation = "https://docs.rs/google-taskqueue1_beta2/3.1.0+20160428" license = "MIT" keywords = ["taskqueue", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/taskqueue1_beta2/README.md b/gen/taskqueue1_beta2/README.md index 79659ac06f..a71f8f5749 100644 --- a/gen/taskqueue1_beta2/README.md +++ b/gen/taskqueue1_beta2/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-taskqueue1_beta2` library allows access to all features of the *Google taskqueue* service. -This documentation was generated from *taskqueue* crate version *3.0.0+20160428*, where *20160428* is the exact revision of the *taskqueue:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *taskqueue* crate version *3.1.0+20160428*, where *20160428* is the exact revision of the *taskqueue:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *taskqueue* *v1_beta2* API can be found at the [official documentation site](https://developers.google.com/appengine/docs/python/taskqueue/rest). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-taskqueue1_beta2/3.0.0+20160428/google_taskqueue1_beta2/Taskqueue) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-taskqueue1_beta2/3.1.0+20160428/google_taskqueue1_beta2/Taskqueue) ... * taskqueues - * [*get*](https://docs.rs/google-taskqueue1_beta2/3.0.0+20160428/google_taskqueue1_beta2/api::TaskqueueGetCall) -* [tasks](https://docs.rs/google-taskqueue1_beta2/3.0.0+20160428/google_taskqueue1_beta2/api::Task) - * [*delete*](https://docs.rs/google-taskqueue1_beta2/3.0.0+20160428/google_taskqueue1_beta2/api::TaskDeleteCall), [*get*](https://docs.rs/google-taskqueue1_beta2/3.0.0+20160428/google_taskqueue1_beta2/api::TaskGetCall), [*insert*](https://docs.rs/google-taskqueue1_beta2/3.0.0+20160428/google_taskqueue1_beta2/api::TaskInsertCall), [*lease*](https://docs.rs/google-taskqueue1_beta2/3.0.0+20160428/google_taskqueue1_beta2/api::TaskLeaseCall), [*list*](https://docs.rs/google-taskqueue1_beta2/3.0.0+20160428/google_taskqueue1_beta2/api::TaskListCall), [*patch*](https://docs.rs/google-taskqueue1_beta2/3.0.0+20160428/google_taskqueue1_beta2/api::TaskPatchCall) and [*update*](https://docs.rs/google-taskqueue1_beta2/3.0.0+20160428/google_taskqueue1_beta2/api::TaskUpdateCall) + * [*get*](https://docs.rs/google-taskqueue1_beta2/3.1.0+20160428/google_taskqueue1_beta2/api::TaskqueueGetCall) +* [tasks](https://docs.rs/google-taskqueue1_beta2/3.1.0+20160428/google_taskqueue1_beta2/api::Task) + * [*delete*](https://docs.rs/google-taskqueue1_beta2/3.1.0+20160428/google_taskqueue1_beta2/api::TaskDeleteCall), [*get*](https://docs.rs/google-taskqueue1_beta2/3.1.0+20160428/google_taskqueue1_beta2/api::TaskGetCall), [*insert*](https://docs.rs/google-taskqueue1_beta2/3.1.0+20160428/google_taskqueue1_beta2/api::TaskInsertCall), [*lease*](https://docs.rs/google-taskqueue1_beta2/3.1.0+20160428/google_taskqueue1_beta2/api::TaskLeaseCall), [*list*](https://docs.rs/google-taskqueue1_beta2/3.1.0+20160428/google_taskqueue1_beta2/api::TaskListCall), [*patch*](https://docs.rs/google-taskqueue1_beta2/3.1.0+20160428/google_taskqueue1_beta2/api::TaskPatchCall) and [*update*](https://docs.rs/google-taskqueue1_beta2/3.1.0+20160428/google_taskqueue1_beta2/api::TaskUpdateCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-taskqueue1_beta2/3.0.0+20160428/google_taskqueue1_beta2/Taskqueue)** +* **[Hub](https://docs.rs/google-taskqueue1_beta2/3.1.0+20160428/google_taskqueue1_beta2/Taskqueue)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-taskqueue1_beta2/3.0.0+20160428/google_taskqueue1_beta2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-taskqueue1_beta2/3.0.0+20160428/google_taskqueue1_beta2/client::CallBuilder) -* **[Resources](https://docs.rs/google-taskqueue1_beta2/3.0.0+20160428/google_taskqueue1_beta2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-taskqueue1_beta2/3.1.0+20160428/google_taskqueue1_beta2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-taskqueue1_beta2/3.1.0+20160428/google_taskqueue1_beta2/client::CallBuilder) +* **[Resources](https://docs.rs/google-taskqueue1_beta2/3.1.0+20160428/google_taskqueue1_beta2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-taskqueue1_beta2/3.0.0+20160428/google_taskqueue1_beta2/client::Part)** + * **[Parts](https://docs.rs/google-taskqueue1_beta2/3.1.0+20160428/google_taskqueue1_beta2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-taskqueue1_beta2/3.0.0+20160428/google_taskqueue1_beta2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-taskqueue1_beta2/3.1.0+20160428/google_taskqueue1_beta2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -98,7 +98,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Taskqueue::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Taskqueue::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -128,17 +128,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-taskqueue1_beta2/3.0.0+20160428/google_taskqueue1_beta2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-taskqueue1_beta2/3.1.0+20160428/google_taskqueue1_beta2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-taskqueue1_beta2/3.0.0+20160428/google_taskqueue1_beta2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-taskqueue1_beta2/3.1.0+20160428/google_taskqueue1_beta2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-taskqueue1_beta2/3.0.0+20160428/google_taskqueue1_beta2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-taskqueue1_beta2/3.1.0+20160428/google_taskqueue1_beta2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-taskqueue1_beta2/3.0.0+20160428/google_taskqueue1_beta2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-taskqueue1_beta2/3.1.0+20160428/google_taskqueue1_beta2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -148,29 +148,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-taskqueue1_beta2/3.0.0+20160428/google_taskqueue1_beta2/client::Delegate) to the -[Method Builder](https://docs.rs/google-taskqueue1_beta2/3.0.0+20160428/google_taskqueue1_beta2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-taskqueue1_beta2/3.1.0+20160428/google_taskqueue1_beta2/client::Delegate) to the +[Method Builder](https://docs.rs/google-taskqueue1_beta2/3.1.0+20160428/google_taskqueue1_beta2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-taskqueue1_beta2/3.0.0+20160428/google_taskqueue1_beta2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-taskqueue1_beta2/3.1.0+20160428/google_taskqueue1_beta2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-taskqueue1_beta2/3.0.0+20160428/google_taskqueue1_beta2/client::RequestValue) and -[decodable](https://docs.rs/google-taskqueue1_beta2/3.0.0+20160428/google_taskqueue1_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-taskqueue1_beta2/3.1.0+20160428/google_taskqueue1_beta2/client::RequestValue) and +[decodable](https://docs.rs/google-taskqueue1_beta2/3.1.0+20160428/google_taskqueue1_beta2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-taskqueue1_beta2/3.0.0+20160428/google_taskqueue1_beta2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-taskqueue1_beta2/3.1.0+20160428/google_taskqueue1_beta2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-taskqueue1_beta2/3.0.0+20160428/google_taskqueue1_beta2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-taskqueue1_beta2/3.1.0+20160428/google_taskqueue1_beta2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-taskqueue1_beta2/3.0.0+20160428/google_taskqueue1_beta2/client::RequestValue) are moved +* [request values](https://docs.rs/google-taskqueue1_beta2/3.1.0+20160428/google_taskqueue1_beta2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/taskqueue1_beta2/src/api.rs b/gen/taskqueue1_beta2/src/api.rs index c3580cdc17..087ccdc4cc 100644 --- a/gen/taskqueue1_beta2/src/api.rs +++ b/gen/taskqueue1_beta2/src/api.rs @@ -74,7 +74,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Taskqueue::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Taskqueue::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > Taskqueue<> { Taskqueue { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/taskqueue/v1beta2/projects/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -133,7 +133,7 @@ impl<'a, > Taskqueue<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -344,7 +344,7 @@ impl client::Part for TaskQueueStats {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Taskqueue::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Taskqueue::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -405,7 +405,7 @@ impl<'a> TaskqueueMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Taskqueue::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Taskqueue::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `lease(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -610,7 +610,7 @@ impl<'a> TaskMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Taskqueue::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Taskqueue::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -882,7 +882,7 @@ impl<'a> TaskqueueGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Taskqueue::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Taskqueue::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1143,7 +1143,7 @@ impl<'a> TaskDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Taskqueue::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Taskqueue::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1416,7 +1416,7 @@ impl<'a> TaskGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Taskqueue::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Taskqueue::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1705,7 +1705,7 @@ impl<'a> TaskInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Taskqueue::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Taskqueue::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2013,7 +2013,7 @@ impl<'a> TaskLeaseCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Taskqueue::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Taskqueue::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2274,7 +2274,7 @@ impl<'a> TaskListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Taskqueue::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Taskqueue::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2586,7 +2586,7 @@ impl<'a> TaskPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Taskqueue::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Taskqueue::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/taskqueue1_beta2/src/lib.rs b/gen/taskqueue1_beta2/src/lib.rs index 290446668e..3bdbf67c14 100644 --- a/gen/taskqueue1_beta2/src/lib.rs +++ b/gen/taskqueue1_beta2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *taskqueue* crate version *3.0.0+20160428*, where *20160428* is the exact revision of the *taskqueue:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *taskqueue* crate version *3.1.0+20160428*, where *20160428* is the exact revision of the *taskqueue:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *taskqueue* *v1_beta2* API can be found at the //! [official documentation site](https://developers.google.com/appengine/docs/python/taskqueue/rest). @@ -99,7 +99,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Taskqueue::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Taskqueue::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/tasks1-cli/Cargo.toml b/gen/tasks1-cli/Cargo.toml index f15a41a916..6ffc3e584c 100644 --- a/gen/tasks1-cli/Cargo.toml +++ b/gen/tasks1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-tasks1-cli" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with Tasks (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/tasks1-cli" @@ -20,12 +20,12 @@ name = "tasks1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-tasks1] path = "../tasks1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" diff --git a/gen/tasks1-cli/README.md b/gen/tasks1-cli/README.md index ff8ac99c30..b9f84c5aa7 100644 --- a/gen/tasks1-cli/README.md +++ b/gen/tasks1-cli/README.md @@ -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 *Tasks* API at revision *20220305*. The CLI is at version *3.0.0*. +This documentation was generated from the *Tasks* API at revision *20220305*. The CLI is at version *3.1.0*. ```bash tasks1 [options] diff --git a/gen/tasks1-cli/mkdocs.yml b/gen/tasks1-cli/mkdocs.yml index 7acf47b0c5..385c036893 100644 --- a/gen/tasks1-cli/mkdocs.yml +++ b/gen/tasks1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Tasks v3.0.0+20220305 +site_name: Tasks v3.1.0+20220305 site_url: http://byron.github.io/google-apis-rs/google-tasks1-cli site_description: A complete library to interact with Tasks (protocol v1) diff --git a/gen/tasks1-cli/src/main.rs b/gen/tasks1-cli/src/main.rs index ec97e745ef..35212d95c8 100644 --- a/gen/tasks1-cli/src/main.rs +++ b/gen/tasks1-cli/src/main.rs @@ -1147,7 +1147,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/tasks1", 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::TasksHub::new(client, auth), @@ -1536,7 +1542,7 @@ async fn main() { let mut app = App::new("tasks1") .author("Sebastian Thiel ") - .version("3.0.0+20220305") + .version("3.1.0+20220305") .about("The Google Tasks API lets you manage your tasks and task lists.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_tasks1_cli") .arg(Arg::with_name("url") diff --git a/gen/tasks1/Cargo.toml b/gen/tasks1/Cargo.toml index 4d65894935..169bc81b3e 100644 --- a/gen/tasks1/Cargo.toml +++ b/gen/tasks1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-tasks1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with Tasks (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/tasks1" homepage = "https://developers.google.com/tasks/" -documentation = "https://docs.rs/google-tasks1/3.0.0+20220305" +documentation = "https://docs.rs/google-tasks1/3.1.0+20220305" license = "MIT" keywords = ["tasks", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/tasks1/README.md b/gen/tasks1/README.md index c66974df9d..b0c9570596 100644 --- a/gen/tasks1/README.md +++ b/gen/tasks1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-tasks1` library allows access to all features of the *Google Tasks* service. -This documentation was generated from *Tasks* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *tasks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Tasks* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *tasks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Tasks* *v1* API can be found at the [official documentation site](https://developers.google.com/tasks/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-tasks1/3.0.0+20220305/google_tasks1/TasksHub) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-tasks1/3.1.0+20220305/google_tasks1/TasksHub) ... * tasklists - * [*delete*](https://docs.rs/google-tasks1/3.0.0+20220305/google_tasks1/api::TasklistDeleteCall), [*get*](https://docs.rs/google-tasks1/3.0.0+20220305/google_tasks1/api::TasklistGetCall), [*insert*](https://docs.rs/google-tasks1/3.0.0+20220305/google_tasks1/api::TasklistInsertCall), [*list*](https://docs.rs/google-tasks1/3.0.0+20220305/google_tasks1/api::TasklistListCall), [*patch*](https://docs.rs/google-tasks1/3.0.0+20220305/google_tasks1/api::TasklistPatchCall) and [*update*](https://docs.rs/google-tasks1/3.0.0+20220305/google_tasks1/api::TasklistUpdateCall) -* [tasks](https://docs.rs/google-tasks1/3.0.0+20220305/google_tasks1/api::Task) - * [*clear*](https://docs.rs/google-tasks1/3.0.0+20220305/google_tasks1/api::TaskClearCall), [*delete*](https://docs.rs/google-tasks1/3.0.0+20220305/google_tasks1/api::TaskDeleteCall), [*get*](https://docs.rs/google-tasks1/3.0.0+20220305/google_tasks1/api::TaskGetCall), [*insert*](https://docs.rs/google-tasks1/3.0.0+20220305/google_tasks1/api::TaskInsertCall), [*list*](https://docs.rs/google-tasks1/3.0.0+20220305/google_tasks1/api::TaskListCall), [*move*](https://docs.rs/google-tasks1/3.0.0+20220305/google_tasks1/api::TaskMoveCall), [*patch*](https://docs.rs/google-tasks1/3.0.0+20220305/google_tasks1/api::TaskPatchCall) and [*update*](https://docs.rs/google-tasks1/3.0.0+20220305/google_tasks1/api::TaskUpdateCall) + * [*delete*](https://docs.rs/google-tasks1/3.1.0+20220305/google_tasks1/api::TasklistDeleteCall), [*get*](https://docs.rs/google-tasks1/3.1.0+20220305/google_tasks1/api::TasklistGetCall), [*insert*](https://docs.rs/google-tasks1/3.1.0+20220305/google_tasks1/api::TasklistInsertCall), [*list*](https://docs.rs/google-tasks1/3.1.0+20220305/google_tasks1/api::TasklistListCall), [*patch*](https://docs.rs/google-tasks1/3.1.0+20220305/google_tasks1/api::TasklistPatchCall) and [*update*](https://docs.rs/google-tasks1/3.1.0+20220305/google_tasks1/api::TasklistUpdateCall) +* [tasks](https://docs.rs/google-tasks1/3.1.0+20220305/google_tasks1/api::Task) + * [*clear*](https://docs.rs/google-tasks1/3.1.0+20220305/google_tasks1/api::TaskClearCall), [*delete*](https://docs.rs/google-tasks1/3.1.0+20220305/google_tasks1/api::TaskDeleteCall), [*get*](https://docs.rs/google-tasks1/3.1.0+20220305/google_tasks1/api::TaskGetCall), [*insert*](https://docs.rs/google-tasks1/3.1.0+20220305/google_tasks1/api::TaskInsertCall), [*list*](https://docs.rs/google-tasks1/3.1.0+20220305/google_tasks1/api::TaskListCall), [*move*](https://docs.rs/google-tasks1/3.1.0+20220305/google_tasks1/api::TaskMoveCall), [*patch*](https://docs.rs/google-tasks1/3.1.0+20220305/google_tasks1/api::TaskPatchCall) and [*update*](https://docs.rs/google-tasks1/3.1.0+20220305/google_tasks1/api::TaskUpdateCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-tasks1/3.0.0+20220305/google_tasks1/TasksHub)** +* **[Hub](https://docs.rs/google-tasks1/3.1.0+20220305/google_tasks1/TasksHub)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-tasks1/3.0.0+20220305/google_tasks1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-tasks1/3.0.0+20220305/google_tasks1/client::CallBuilder) -* **[Resources](https://docs.rs/google-tasks1/3.0.0+20220305/google_tasks1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-tasks1/3.1.0+20220305/google_tasks1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-tasks1/3.1.0+20220305/google_tasks1/client::CallBuilder) +* **[Resources](https://docs.rs/google-tasks1/3.1.0+20220305/google_tasks1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-tasks1/3.0.0+20220305/google_tasks1/client::Part)** + * **[Parts](https://docs.rs/google-tasks1/3.1.0+20220305/google_tasks1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-tasks1/3.0.0+20220305/google_tasks1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-tasks1/3.1.0+20220305/google_tasks1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -99,7 +99,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = TasksHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = TasksHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -137,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-tasks1/3.0.0+20220305/google_tasks1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-tasks1/3.1.0+20220305/google_tasks1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-tasks1/3.0.0+20220305/google_tasks1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-tasks1/3.1.0+20220305/google_tasks1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-tasks1/3.0.0+20220305/google_tasks1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-tasks1/3.1.0+20220305/google_tasks1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-tasks1/3.0.0+20220305/google_tasks1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-tasks1/3.1.0+20220305/google_tasks1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -157,29 +157,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-tasks1/3.0.0+20220305/google_tasks1/client::Delegate) to the -[Method Builder](https://docs.rs/google-tasks1/3.0.0+20220305/google_tasks1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-tasks1/3.1.0+20220305/google_tasks1/client::Delegate) to the +[Method Builder](https://docs.rs/google-tasks1/3.1.0+20220305/google_tasks1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-tasks1/3.0.0+20220305/google_tasks1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-tasks1/3.1.0+20220305/google_tasks1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-tasks1/3.0.0+20220305/google_tasks1/client::RequestValue) and -[decodable](https://docs.rs/google-tasks1/3.0.0+20220305/google_tasks1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-tasks1/3.1.0+20220305/google_tasks1/client::RequestValue) and +[decodable](https://docs.rs/google-tasks1/3.1.0+20220305/google_tasks1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-tasks1/3.0.0+20220305/google_tasks1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-tasks1/3.1.0+20220305/google_tasks1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-tasks1/3.0.0+20220305/google_tasks1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-tasks1/3.1.0+20220305/google_tasks1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-tasks1/3.0.0+20220305/google_tasks1/client::RequestValue) are moved +* [request values](https://docs.rs/google-tasks1/3.1.0+20220305/google_tasks1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/tasks1/src/api.rs b/gen/tasks1/src/api.rs index 4af4750a4a..4f71a76abb 100644 --- a/gen/tasks1/src/api.rs +++ b/gen/tasks1/src/api.rs @@ -74,7 +74,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = TasksHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = TasksHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -127,7 +127,7 @@ impl<'a, > TasksHub<> { TasksHub { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://tasks.googleapis.com/".to_string(), _root_url: "https://tasks.googleapis.com/".to_string(), } @@ -141,7 +141,7 @@ impl<'a, > TasksHub<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -354,7 +354,7 @@ impl client::Part for TaskLinks {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = TasksHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = TasksHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -498,7 +498,7 @@ impl<'a> TasklistMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = TasksHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = TasksHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `clear(...)`, `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `move_(...)`, `patch(...)` and `update(...)` /// // to build up your call. @@ -712,7 +712,7 @@ impl<'a> TaskMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TasksHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TasksHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -953,7 +953,7 @@ impl<'a> TasklistDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TasksHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TasksHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1206,7 +1206,7 @@ impl<'a> TasklistGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TasksHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TasksHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1454,7 +1454,7 @@ impl<'a> TasklistInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TasksHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TasksHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1698,7 +1698,7 @@ impl<'a> TasklistListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TasksHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TasksHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1980,7 +1980,7 @@ impl<'a> TasklistPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TasksHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TasksHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2261,7 +2261,7 @@ impl<'a> TasklistUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TasksHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TasksHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2502,7 +2502,7 @@ impl<'a> TaskClearCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TasksHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TasksHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2755,7 +2755,7 @@ impl<'a> TaskDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TasksHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TasksHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3020,7 +3020,7 @@ impl<'a> TaskGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TasksHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TasksHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3325,7 +3325,7 @@ impl<'a> TaskInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TasksHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TasksHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3697,7 +3697,7 @@ impl<'a> TaskListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TasksHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TasksHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3986,7 +3986,7 @@ impl<'a> TaskMoveCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TasksHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TasksHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4280,7 +4280,7 @@ impl<'a> TaskPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TasksHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TasksHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/tasks1/src/lib.rs b/gen/tasks1/src/lib.rs index 1fe77e749c..17bca0a56a 100644 --- a/gen/tasks1/src/lib.rs +++ b/gen/tasks1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Tasks* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *tasks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Tasks* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *tasks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Tasks* *v1* API can be found at the //! [official documentation site](https://developers.google.com/tasks/). @@ -100,7 +100,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = TasksHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = TasksHub::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/testing1-cli/Cargo.toml b/gen/testing1-cli/Cargo.toml index 2f28cbffc9..a2f437e575 100644 --- a/gen/testing1-cli/Cargo.toml +++ b/gen/testing1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-testing1-cli" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with testing (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/testing1-cli" @@ -20,12 +20,12 @@ name = "testing1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-testing1] path = "../testing1" -version = "3.0.0+20220301" +version = "3.1.0+20220301" diff --git a/gen/testing1-cli/README.md b/gen/testing1-cli/README.md index fbcb1a7e2f..007791aca8 100644 --- a/gen/testing1-cli/README.md +++ b/gen/testing1-cli/README.md @@ -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 *testing* API at revision *20220301*. The CLI is at version *3.0.0*. +This documentation was generated from the *testing* API at revision *20220301*. The CLI is at version *3.1.0*. ```bash testing1 [options] diff --git a/gen/testing1-cli/mkdocs.yml b/gen/testing1-cli/mkdocs.yml index fc9f6ec215..2436e6c81e 100644 --- a/gen/testing1-cli/mkdocs.yml +++ b/gen/testing1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: testing v3.0.0+20220301 +site_name: testing v3.1.0+20220301 site_url: http://byron.github.io/google-apis-rs/google-testing1-cli site_description: A complete library to interact with testing (protocol v1) diff --git a/gen/testing1-cli/src/main.rs b/gen/testing1-cli/src/main.rs index 2fde55c7e3..9be1d49b54 100644 --- a/gen/testing1-cli/src/main.rs +++ b/gen/testing1-cli/src/main.rs @@ -509,7 +509,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/testing1", 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::Testing::new(client, auth), @@ -685,7 +691,7 @@ async fn main() { let mut app = App::new("testing1") .author("Sebastian Thiel ") - .version("3.0.0+20220301") + .version("3.1.0+20220301") .about("Allows developers to run automated tests for their mobile applications on Google infrastructure.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_testing1_cli") .arg(Arg::with_name("url") diff --git a/gen/testing1/Cargo.toml b/gen/testing1/Cargo.toml index 6efc9f1d67..2127bcf62e 100644 --- a/gen/testing1/Cargo.toml +++ b/gen/testing1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-testing1" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with testing (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/testing1" homepage = "https://developers.google.com/cloud-test-lab/" -documentation = "https://docs.rs/google-testing1/3.0.0+20220301" +documentation = "https://docs.rs/google-testing1/3.1.0+20220301" license = "MIT" keywords = ["testing", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/testing1/README.md b/gen/testing1/README.md index b1d06f9aa8..3f9b8fe18e 100644 --- a/gen/testing1/README.md +++ b/gen/testing1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-testing1` library allows access to all features of the *Google testing* service. -This documentation was generated from *testing* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *testing:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *testing* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *testing:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *testing* *v1* API can be found at the [official documentation site](https://developers.google.com/cloud-test-lab/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-testing1/3.0.0+20220301/google_testing1/Testing) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-testing1/3.1.0+20220301/google_testing1/Testing) ... * application detail service - * [*get apk details*](https://docs.rs/google-testing1/3.0.0+20220301/google_testing1/api::ApplicationDetailServiceGetApkDetailCall) + * [*get apk details*](https://docs.rs/google-testing1/3.1.0+20220301/google_testing1/api::ApplicationDetailServiceGetApkDetailCall) * projects - * [*test matrices cancel*](https://docs.rs/google-testing1/3.0.0+20220301/google_testing1/api::ProjectTestMatriceCancelCall), [*test matrices create*](https://docs.rs/google-testing1/3.0.0+20220301/google_testing1/api::ProjectTestMatriceCreateCall) and [*test matrices get*](https://docs.rs/google-testing1/3.0.0+20220301/google_testing1/api::ProjectTestMatriceGetCall) -* [test environment catalog](https://docs.rs/google-testing1/3.0.0+20220301/google_testing1/api::TestEnvironmentCatalog) - * [*get*](https://docs.rs/google-testing1/3.0.0+20220301/google_testing1/api::TestEnvironmentCatalogGetCall) + * [*test matrices cancel*](https://docs.rs/google-testing1/3.1.0+20220301/google_testing1/api::ProjectTestMatriceCancelCall), [*test matrices create*](https://docs.rs/google-testing1/3.1.0+20220301/google_testing1/api::ProjectTestMatriceCreateCall) and [*test matrices get*](https://docs.rs/google-testing1/3.1.0+20220301/google_testing1/api::ProjectTestMatriceGetCall) +* [test environment catalog](https://docs.rs/google-testing1/3.1.0+20220301/google_testing1/api::TestEnvironmentCatalog) + * [*get*](https://docs.rs/google-testing1/3.1.0+20220301/google_testing1/api::TestEnvironmentCatalogGetCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-testing1/3.0.0+20220301/google_testing1/Testing)** +* **[Hub](https://docs.rs/google-testing1/3.1.0+20220301/google_testing1/Testing)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-testing1/3.0.0+20220301/google_testing1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-testing1/3.0.0+20220301/google_testing1/client::CallBuilder) -* **[Resources](https://docs.rs/google-testing1/3.0.0+20220301/google_testing1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-testing1/3.1.0+20220301/google_testing1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-testing1/3.1.0+20220301/google_testing1/client::CallBuilder) +* **[Resources](https://docs.rs/google-testing1/3.1.0+20220301/google_testing1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-testing1/3.0.0+20220301/google_testing1/client::Part)** + * **[Parts](https://docs.rs/google-testing1/3.1.0+20220301/google_testing1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-testing1/3.0.0+20220301/google_testing1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-testing1/3.1.0+20220301/google_testing1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -96,7 +96,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Testing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Testing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -130,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-testing1/3.0.0+20220301/google_testing1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-testing1/3.1.0+20220301/google_testing1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-testing1/3.0.0+20220301/google_testing1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-testing1/3.1.0+20220301/google_testing1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-testing1/3.0.0+20220301/google_testing1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-testing1/3.1.0+20220301/google_testing1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-testing1/3.0.0+20220301/google_testing1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-testing1/3.1.0+20220301/google_testing1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -150,29 +150,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-testing1/3.0.0+20220301/google_testing1/client::Delegate) to the -[Method Builder](https://docs.rs/google-testing1/3.0.0+20220301/google_testing1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-testing1/3.1.0+20220301/google_testing1/client::Delegate) to the +[Method Builder](https://docs.rs/google-testing1/3.1.0+20220301/google_testing1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-testing1/3.0.0+20220301/google_testing1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-testing1/3.1.0+20220301/google_testing1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-testing1/3.0.0+20220301/google_testing1/client::RequestValue) and -[decodable](https://docs.rs/google-testing1/3.0.0+20220301/google_testing1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-testing1/3.1.0+20220301/google_testing1/client::RequestValue) and +[decodable](https://docs.rs/google-testing1/3.1.0+20220301/google_testing1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-testing1/3.0.0+20220301/google_testing1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-testing1/3.1.0+20220301/google_testing1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-testing1/3.0.0+20220301/google_testing1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-testing1/3.1.0+20220301/google_testing1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-testing1/3.0.0+20220301/google_testing1/client::RequestValue) are moved +* [request values](https://docs.rs/google-testing1/3.1.0+20220301/google_testing1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/testing1/src/api.rs b/gen/testing1/src/api.rs index eba1f78940..ec2bf15b5a 100644 --- a/gen/testing1/src/api.rs +++ b/gen/testing1/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Testing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Testing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -124,7 +124,7 @@ impl<'a, > Testing<> { Testing { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://testing.googleapis.com/".to_string(), _root_url: "https://testing.googleapis.com/".to_string(), } @@ -141,7 +141,7 @@ impl<'a, > Testing<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1643,7 +1643,7 @@ impl client::Part for XcodeVersion {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Testing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Testing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get_apk_details(...)` /// // to build up your call. @@ -1701,7 +1701,7 @@ impl<'a> ApplicationDetailServiceMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Testing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Testing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `test_matrices_cancel(...)`, `test_matrices_create(...)` and `test_matrices_get(...)` /// // to build up your call. @@ -1800,7 +1800,7 @@ impl<'a> ProjectMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Testing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Testing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -1867,7 +1867,7 @@ impl<'a> TestEnvironmentCatalogMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Testing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Testing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2115,7 +2115,7 @@ impl<'a> ApplicationDetailServiceGetApkDetailCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Testing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Testing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2380,7 +2380,7 @@ impl<'a> ProjectTestMatriceCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Testing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Testing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2673,7 +2673,7 @@ impl<'a> ProjectTestMatriceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Testing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Testing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2937,7 +2937,7 @@ impl<'a> ProjectTestMatriceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Testing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Testing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/testing1/src/lib.rs b/gen/testing1/src/lib.rs index 38ad7b10a5..63bee53f93 100644 --- a/gen/testing1/src/lib.rs +++ b/gen/testing1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *testing* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *testing:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *testing* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *testing:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *testing* *v1* API can be found at the //! [official documentation site](https://developers.google.com/cloud-test-lab/). @@ -97,7 +97,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Testing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Testing::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/texttospeech1-cli/Cargo.toml b/gen/texttospeech1-cli/Cargo.toml index c4c260d121..dd5add8b06 100644 --- a/gen/texttospeech1-cli/Cargo.toml +++ b/gen/texttospeech1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-texttospeech1-cli" -version = "3.0.0+20220228" +version = "3.1.0+20220228" authors = ["Sebastian Thiel "] description = "A complete library to interact with Texttospeech (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/texttospeech1-cli" @@ -20,12 +20,12 @@ name = "texttospeech1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-texttospeech1] path = "../texttospeech1" -version = "3.0.0+20220228" +version = "3.1.0+20220228" diff --git a/gen/texttospeech1-cli/README.md b/gen/texttospeech1-cli/README.md index 0675679f76..2e1d81f5b2 100644 --- a/gen/texttospeech1-cli/README.md +++ b/gen/texttospeech1-cli/README.md @@ -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 *Texttospeech* API at revision *20220228*. The CLI is at version *3.0.0*. +This documentation was generated from the *Texttospeech* API at revision *20220228*. The CLI is at version *3.1.0*. ```bash texttospeech1 [options] diff --git a/gen/texttospeech1-cli/mkdocs.yml b/gen/texttospeech1-cli/mkdocs.yml index db98e03762..cd1d5b867b 100644 --- a/gen/texttospeech1-cli/mkdocs.yml +++ b/gen/texttospeech1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Texttospeech v3.0.0+20220228 +site_name: Texttospeech v3.1.0+20220228 site_url: http://byron.github.io/google-apis-rs/google-texttospeech1-cli site_description: A complete library to interact with Texttospeech (protocol v1) diff --git a/gen/texttospeech1-cli/src/main.rs b/gen/texttospeech1-cli/src/main.rs index b923f34933..1772d9f542 100644 --- a/gen/texttospeech1-cli/src/main.rs +++ b/gen/texttospeech1-cli/src/main.rs @@ -254,7 +254,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/texttospeech1", 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::Texttospeech::new(client, auth), @@ -337,7 +343,7 @@ async fn main() { let mut app = App::new("texttospeech1") .author("Sebastian Thiel ") - .version("3.0.0+20220228") + .version("3.1.0+20220228") .about("Synthesizes natural-sounding speech by applying powerful neural network models.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_texttospeech1_cli") .arg(Arg::with_name("url") diff --git a/gen/texttospeech1/Cargo.toml b/gen/texttospeech1/Cargo.toml index f65afc84f6..ec43874748 100644 --- a/gen/texttospeech1/Cargo.toml +++ b/gen/texttospeech1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-texttospeech1" -version = "3.0.0+20220228" +version = "3.1.0+20220228" authors = ["Sebastian Thiel "] description = "A complete library to interact with Texttospeech (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/texttospeech1" homepage = "https://cloud.google.com/text-to-speech/" -documentation = "https://docs.rs/google-texttospeech1/3.0.0+20220228" +documentation = "https://docs.rs/google-texttospeech1/3.1.0+20220228" license = "MIT" keywords = ["texttospeech", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/texttospeech1/README.md b/gen/texttospeech1/README.md index 8f35bfaed2..b06a19b6fc 100644 --- a/gen/texttospeech1/README.md +++ b/gen/texttospeech1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-texttospeech1` library allows access to all features of the *Google Texttospeech* service. -This documentation was generated from *Texttospeech* crate version *3.0.0+20220228*, where *20220228* is the exact revision of the *texttospeech:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Texttospeech* crate version *3.1.0+20220228*, where *20220228* is the exact revision of the *texttospeech:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Texttospeech* *v1* API can be found at the [official documentation site](https://cloud.google.com/text-to-speech/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-texttospeech1/3.0.0+20220228/google_texttospeech1/Texttospeech) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-texttospeech1/3.1.0+20220228/google_texttospeech1/Texttospeech) ... * text - * [*synthesize*](https://docs.rs/google-texttospeech1/3.0.0+20220228/google_texttospeech1/api::TextSynthesizeCall) -* [voices](https://docs.rs/google-texttospeech1/3.0.0+20220228/google_texttospeech1/api::Voice) - * [*list*](https://docs.rs/google-texttospeech1/3.0.0+20220228/google_texttospeech1/api::VoiceListCall) + * [*synthesize*](https://docs.rs/google-texttospeech1/3.1.0+20220228/google_texttospeech1/api::TextSynthesizeCall) +* [voices](https://docs.rs/google-texttospeech1/3.1.0+20220228/google_texttospeech1/api::Voice) + * [*list*](https://docs.rs/google-texttospeech1/3.1.0+20220228/google_texttospeech1/api::VoiceListCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-texttospeech1/3.0.0+20220228/google_texttospeech1/Texttospeech)** +* **[Hub](https://docs.rs/google-texttospeech1/3.1.0+20220228/google_texttospeech1/Texttospeech)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-texttospeech1/3.0.0+20220228/google_texttospeech1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-texttospeech1/3.0.0+20220228/google_texttospeech1/client::CallBuilder) -* **[Resources](https://docs.rs/google-texttospeech1/3.0.0+20220228/google_texttospeech1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-texttospeech1/3.1.0+20220228/google_texttospeech1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-texttospeech1/3.1.0+20220228/google_texttospeech1/client::CallBuilder) +* **[Resources](https://docs.rs/google-texttospeech1/3.1.0+20220228/google_texttospeech1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-texttospeech1/3.0.0+20220228/google_texttospeech1/client::Part)** + * **[Parts](https://docs.rs/google-texttospeech1/3.1.0+20220228/google_texttospeech1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-texttospeech1/3.0.0+20220228/google_texttospeech1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-texttospeech1/3.1.0+20220228/google_texttospeech1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -92,7 +92,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Texttospeech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Texttospeech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -121,17 +121,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-texttospeech1/3.0.0+20220228/google_texttospeech1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-texttospeech1/3.1.0+20220228/google_texttospeech1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-texttospeech1/3.0.0+20220228/google_texttospeech1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-texttospeech1/3.1.0+20220228/google_texttospeech1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-texttospeech1/3.0.0+20220228/google_texttospeech1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-texttospeech1/3.1.0+20220228/google_texttospeech1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-texttospeech1/3.0.0+20220228/google_texttospeech1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-texttospeech1/3.1.0+20220228/google_texttospeech1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -141,29 +141,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-texttospeech1/3.0.0+20220228/google_texttospeech1/client::Delegate) to the -[Method Builder](https://docs.rs/google-texttospeech1/3.0.0+20220228/google_texttospeech1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-texttospeech1/3.1.0+20220228/google_texttospeech1/client::Delegate) to the +[Method Builder](https://docs.rs/google-texttospeech1/3.1.0+20220228/google_texttospeech1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-texttospeech1/3.0.0+20220228/google_texttospeech1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-texttospeech1/3.1.0+20220228/google_texttospeech1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-texttospeech1/3.0.0+20220228/google_texttospeech1/client::RequestValue) and -[decodable](https://docs.rs/google-texttospeech1/3.0.0+20220228/google_texttospeech1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-texttospeech1/3.1.0+20220228/google_texttospeech1/client::RequestValue) and +[decodable](https://docs.rs/google-texttospeech1/3.1.0+20220228/google_texttospeech1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-texttospeech1/3.0.0+20220228/google_texttospeech1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-texttospeech1/3.1.0+20220228/google_texttospeech1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-texttospeech1/3.0.0+20220228/google_texttospeech1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-texttospeech1/3.1.0+20220228/google_texttospeech1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-texttospeech1/3.0.0+20220228/google_texttospeech1/client::RequestValue) are moved +* [request values](https://docs.rs/google-texttospeech1/3.1.0+20220228/google_texttospeech1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/texttospeech1/src/api.rs b/gen/texttospeech1/src/api.rs index c1552cdc1d..28f19fde38 100644 --- a/gen/texttospeech1/src/api.rs +++ b/gen/texttospeech1/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Texttospeech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Texttospeech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -114,7 +114,7 @@ impl<'a, > Texttospeech<> { Texttospeech { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://texttospeech.googleapis.com/".to_string(), _root_url: "https://texttospeech.googleapis.com/".to_string(), } @@ -128,7 +128,7 @@ impl<'a, > Texttospeech<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -331,7 +331,7 @@ impl client::Part for VoiceSelectionParams {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Texttospeech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Texttospeech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `synthesize(...)` /// // to build up your call. @@ -389,7 +389,7 @@ impl<'a> TextMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Texttospeech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Texttospeech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -451,7 +451,7 @@ impl<'a> VoiceMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Texttospeech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Texttospeech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -699,7 +699,7 @@ impl<'a> TextSynthesizeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Texttospeech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Texttospeech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/texttospeech1/src/lib.rs b/gen/texttospeech1/src/lib.rs index 835aa22f71..a68db9d892 100644 --- a/gen/texttospeech1/src/lib.rs +++ b/gen/texttospeech1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Texttospeech* crate version *3.0.0+20220228*, where *20220228* is the exact revision of the *texttospeech:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Texttospeech* crate version *3.1.0+20220228*, where *20220228* is the exact revision of the *texttospeech:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Texttospeech* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/text-to-speech/). @@ -93,7 +93,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Texttospeech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Texttospeech::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/tpu1-cli/Cargo.toml b/gen/tpu1-cli/Cargo.toml index c0de356ed7..f755fcb276 100644 --- a/gen/tpu1-cli/Cargo.toml +++ b/gen/tpu1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-tpu1-cli" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with TPU (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/tpu1-cli" @@ -20,12 +20,12 @@ name = "tpu1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-tpu1] path = "../tpu1" -version = "3.0.0+20220301" +version = "3.1.0+20220301" diff --git a/gen/tpu1-cli/README.md b/gen/tpu1-cli/README.md index cec4ab3ff9..8cb9757786 100644 --- a/gen/tpu1-cli/README.md +++ b/gen/tpu1-cli/README.md @@ -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 *TPU* API at revision *20220301*. The CLI is at version *3.0.0*. +This documentation was generated from the *TPU* API at revision *20220301*. The CLI is at version *3.1.0*. ```bash tpu1 [options] diff --git a/gen/tpu1-cli/mkdocs.yml b/gen/tpu1-cli/mkdocs.yml index a4ae489ce0..f572ab87b5 100644 --- a/gen/tpu1-cli/mkdocs.yml +++ b/gen/tpu1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: TPU v3.0.0+20220301 +site_name: TPU v3.1.0+20220301 site_url: http://byron.github.io/google-apis-rs/google-tpu1-cli site_description: A complete library to interact with TPU (protocol v1) diff --git a/gen/tpu1-cli/src/main.rs b/gen/tpu1-cli/src/main.rs index 55f4516e47..97b8315bac 100644 --- a/gen/tpu1-cli/src/main.rs +++ b/gen/tpu1-cli/src/main.rs @@ -1228,7 +1228,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/tpu1", 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::TPU::new(client, auth), @@ -1668,7 +1674,7 @@ async fn main() { let mut app = App::new("tpu1") .author("Sebastian Thiel ") - .version("3.0.0+20220301") + .version("3.1.0+20220301") .about("TPU API provides customers with access to Google TPU technology.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_tpu1_cli") .arg(Arg::with_name("url") diff --git a/gen/tpu1/Cargo.toml b/gen/tpu1/Cargo.toml index 2cc8397514..852a3cd131 100644 --- a/gen/tpu1/Cargo.toml +++ b/gen/tpu1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-tpu1" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with TPU (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/tpu1" homepage = "https://cloud.google.com/tpu/" -documentation = "https://docs.rs/google-tpu1/3.0.0+20220301" +documentation = "https://docs.rs/google-tpu1/3.1.0+20220301" license = "MIT" keywords = ["tpu", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/tpu1/README.md b/gen/tpu1/README.md index e56cd575ed..94bb879d6b 100644 --- a/gen/tpu1/README.md +++ b/gen/tpu1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-tpu1` library allows access to all features of the *Google TPU* service. -This documentation was generated from *TPU* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *tpu:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *TPU* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *tpu:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *TPU* *v1* API can be found at the [official documentation site](https://cloud.google.com/tpu/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-tpu1/3.0.0+20220301/google_tpu1/TPU) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-tpu1/3.1.0+20220301/google_tpu1/TPU) ... * projects - * [*locations accelerator types get*](https://docs.rs/google-tpu1/3.0.0+20220301/google_tpu1/api::ProjectLocationAcceleratorTypeGetCall), [*locations accelerator types list*](https://docs.rs/google-tpu1/3.0.0+20220301/google_tpu1/api::ProjectLocationAcceleratorTypeListCall), [*locations get*](https://docs.rs/google-tpu1/3.0.0+20220301/google_tpu1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-tpu1/3.0.0+20220301/google_tpu1/api::ProjectLocationListCall), [*locations nodes create*](https://docs.rs/google-tpu1/3.0.0+20220301/google_tpu1/api::ProjectLocationNodeCreateCall), [*locations nodes delete*](https://docs.rs/google-tpu1/3.0.0+20220301/google_tpu1/api::ProjectLocationNodeDeleteCall), [*locations nodes get*](https://docs.rs/google-tpu1/3.0.0+20220301/google_tpu1/api::ProjectLocationNodeGetCall), [*locations nodes list*](https://docs.rs/google-tpu1/3.0.0+20220301/google_tpu1/api::ProjectLocationNodeListCall), [*locations nodes reimage*](https://docs.rs/google-tpu1/3.0.0+20220301/google_tpu1/api::ProjectLocationNodeReimageCall), [*locations nodes start*](https://docs.rs/google-tpu1/3.0.0+20220301/google_tpu1/api::ProjectLocationNodeStartCall), [*locations nodes stop*](https://docs.rs/google-tpu1/3.0.0+20220301/google_tpu1/api::ProjectLocationNodeStopCall), [*locations operations cancel*](https://docs.rs/google-tpu1/3.0.0+20220301/google_tpu1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-tpu1/3.0.0+20220301/google_tpu1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-tpu1/3.0.0+20220301/google_tpu1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-tpu1/3.0.0+20220301/google_tpu1/api::ProjectLocationOperationListCall), [*locations tensorflow versions get*](https://docs.rs/google-tpu1/3.0.0+20220301/google_tpu1/api::ProjectLocationTensorflowVersionGetCall) and [*locations tensorflow versions list*](https://docs.rs/google-tpu1/3.0.0+20220301/google_tpu1/api::ProjectLocationTensorflowVersionListCall) + * [*locations accelerator types get*](https://docs.rs/google-tpu1/3.1.0+20220301/google_tpu1/api::ProjectLocationAcceleratorTypeGetCall), [*locations accelerator types list*](https://docs.rs/google-tpu1/3.1.0+20220301/google_tpu1/api::ProjectLocationAcceleratorTypeListCall), [*locations get*](https://docs.rs/google-tpu1/3.1.0+20220301/google_tpu1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-tpu1/3.1.0+20220301/google_tpu1/api::ProjectLocationListCall), [*locations nodes create*](https://docs.rs/google-tpu1/3.1.0+20220301/google_tpu1/api::ProjectLocationNodeCreateCall), [*locations nodes delete*](https://docs.rs/google-tpu1/3.1.0+20220301/google_tpu1/api::ProjectLocationNodeDeleteCall), [*locations nodes get*](https://docs.rs/google-tpu1/3.1.0+20220301/google_tpu1/api::ProjectLocationNodeGetCall), [*locations nodes list*](https://docs.rs/google-tpu1/3.1.0+20220301/google_tpu1/api::ProjectLocationNodeListCall), [*locations nodes reimage*](https://docs.rs/google-tpu1/3.1.0+20220301/google_tpu1/api::ProjectLocationNodeReimageCall), [*locations nodes start*](https://docs.rs/google-tpu1/3.1.0+20220301/google_tpu1/api::ProjectLocationNodeStartCall), [*locations nodes stop*](https://docs.rs/google-tpu1/3.1.0+20220301/google_tpu1/api::ProjectLocationNodeStopCall), [*locations operations cancel*](https://docs.rs/google-tpu1/3.1.0+20220301/google_tpu1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-tpu1/3.1.0+20220301/google_tpu1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-tpu1/3.1.0+20220301/google_tpu1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-tpu1/3.1.0+20220301/google_tpu1/api::ProjectLocationOperationListCall), [*locations tensorflow versions get*](https://docs.rs/google-tpu1/3.1.0+20220301/google_tpu1/api::ProjectLocationTensorflowVersionGetCall) and [*locations tensorflow versions list*](https://docs.rs/google-tpu1/3.1.0+20220301/google_tpu1/api::ProjectLocationTensorflowVersionListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-tpu1/3.0.0+20220301/google_tpu1/TPU)** +* **[Hub](https://docs.rs/google-tpu1/3.1.0+20220301/google_tpu1/TPU)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-tpu1/3.0.0+20220301/google_tpu1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-tpu1/3.0.0+20220301/google_tpu1/client::CallBuilder) -* **[Resources](https://docs.rs/google-tpu1/3.0.0+20220301/google_tpu1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-tpu1/3.1.0+20220301/google_tpu1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-tpu1/3.1.0+20220301/google_tpu1/client::CallBuilder) +* **[Resources](https://docs.rs/google-tpu1/3.1.0+20220301/google_tpu1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-tpu1/3.0.0+20220301/google_tpu1/client::Part)** + * **[Parts](https://docs.rs/google-tpu1/3.1.0+20220301/google_tpu1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-tpu1/3.0.0+20220301/google_tpu1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-tpu1/3.1.0+20220301/google_tpu1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -96,7 +96,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -130,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-tpu1/3.0.0+20220301/google_tpu1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-tpu1/3.1.0+20220301/google_tpu1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-tpu1/3.0.0+20220301/google_tpu1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-tpu1/3.1.0+20220301/google_tpu1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-tpu1/3.0.0+20220301/google_tpu1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-tpu1/3.1.0+20220301/google_tpu1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-tpu1/3.0.0+20220301/google_tpu1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-tpu1/3.1.0+20220301/google_tpu1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -150,29 +150,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-tpu1/3.0.0+20220301/google_tpu1/client::Delegate) to the -[Method Builder](https://docs.rs/google-tpu1/3.0.0+20220301/google_tpu1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-tpu1/3.1.0+20220301/google_tpu1/client::Delegate) to the +[Method Builder](https://docs.rs/google-tpu1/3.1.0+20220301/google_tpu1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-tpu1/3.0.0+20220301/google_tpu1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-tpu1/3.1.0+20220301/google_tpu1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-tpu1/3.0.0+20220301/google_tpu1/client::RequestValue) and -[decodable](https://docs.rs/google-tpu1/3.0.0+20220301/google_tpu1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-tpu1/3.1.0+20220301/google_tpu1/client::RequestValue) and +[decodable](https://docs.rs/google-tpu1/3.1.0+20220301/google_tpu1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-tpu1/3.0.0+20220301/google_tpu1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-tpu1/3.1.0+20220301/google_tpu1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-tpu1/3.0.0+20220301/google_tpu1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-tpu1/3.1.0+20220301/google_tpu1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-tpu1/3.0.0+20220301/google_tpu1/client::RequestValue) are moved +* [request values](https://docs.rs/google-tpu1/3.1.0+20220301/google_tpu1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/tpu1/src/api.rs b/gen/tpu1/src/api.rs index 9f683a4eeb..de01975291 100644 --- a/gen/tpu1/src/api.rs +++ b/gen/tpu1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > TPU<> { TPU { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://tpu.googleapis.com/".to_string(), _root_url: "https://tpu.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > TPU<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -600,7 +600,7 @@ impl client::ResponseResult for TensorFlowVersion {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_accelerator_types_get(...)`, `locations_accelerator_types_list(...)`, `locations_get(...)`, `locations_list(...)`, `locations_nodes_create(...)`, `locations_nodes_delete(...)`, `locations_nodes_get(...)`, `locations_nodes_list(...)`, `locations_nodes_reimage(...)`, `locations_nodes_start(...)`, `locations_nodes_stop(...)`, `locations_operations_cancel(...)`, `locations_operations_delete(...)`, `locations_operations_get(...)`, `locations_operations_list(...)`, `locations_tensorflow_versions_get(...)` and `locations_tensorflow_versions_list(...)` /// // to build up your call. @@ -962,7 +962,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1218,7 +1218,7 @@ impl<'a> ProjectLocationAcceleratorTypeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1523,7 +1523,7 @@ impl<'a> ProjectLocationAcceleratorTypeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1820,7 +1820,7 @@ impl<'a> ProjectLocationNodeCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2076,7 +2076,7 @@ impl<'a> ProjectLocationNodeDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2332,7 +2332,7 @@ impl<'a> ProjectLocationNodeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2613,7 +2613,7 @@ impl<'a> ProjectLocationNodeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2899,7 +2899,7 @@ impl<'a> ProjectLocationNodeReimageCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3185,7 +3185,7 @@ impl<'a> ProjectLocationNodeStartCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3470,7 +3470,7 @@ impl<'a> ProjectLocationNodeStopCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3726,7 +3726,7 @@ impl<'a> ProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3982,7 +3982,7 @@ impl<'a> ProjectLocationOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4238,7 +4238,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4530,7 +4530,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4786,7 +4786,7 @@ impl<'a> ProjectLocationTensorflowVersionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5090,7 +5090,7 @@ impl<'a> ProjectLocationTensorflowVersionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5346,7 +5346,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/tpu1/src/lib.rs b/gen/tpu1/src/lib.rs index 72d4c54dde..ab73867be0 100644 --- a/gen/tpu1/src/lib.rs +++ b/gen/tpu1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *TPU* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *tpu:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *TPU* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *tpu:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *TPU* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/tpu/). @@ -97,7 +97,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/tpu1_alpha1-cli/Cargo.toml b/gen/tpu1_alpha1-cli/Cargo.toml index 7ad71ae423..c79fdc5463 100644 --- a/gen/tpu1_alpha1-cli/Cargo.toml +++ b/gen/tpu1_alpha1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-tpu1_alpha1-cli" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with TPU (protocol v1alpha1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/tpu1_alpha1-cli" @@ -20,12 +20,12 @@ name = "tpu1-alpha1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-tpu1_alpha1] path = "../tpu1_alpha1" -version = "3.0.0+20220301" +version = "3.1.0+20220301" diff --git a/gen/tpu1_alpha1-cli/README.md b/gen/tpu1_alpha1-cli/README.md index aa5b8fffa4..e43f994d53 100644 --- a/gen/tpu1_alpha1-cli/README.md +++ b/gen/tpu1_alpha1-cli/README.md @@ -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 *TPU* API at revision *20220301*. The CLI is at version *3.0.0*. +This documentation was generated from the *TPU* API at revision *20220301*. The CLI is at version *3.1.0*. ```bash tpu1-alpha1 [options] diff --git a/gen/tpu1_alpha1-cli/mkdocs.yml b/gen/tpu1_alpha1-cli/mkdocs.yml index a984eeccb4..96651dd610 100644 --- a/gen/tpu1_alpha1-cli/mkdocs.yml +++ b/gen/tpu1_alpha1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: TPU v3.0.0+20220301 +site_name: TPU v3.1.0+20220301 site_url: http://byron.github.io/google-apis-rs/google-tpu1_alpha1-cli site_description: A complete library to interact with TPU (protocol v1alpha1) diff --git a/gen/tpu1_alpha1-cli/src/main.rs b/gen/tpu1_alpha1-cli/src/main.rs index 8731627111..f48f66de6c 100644 --- a/gen/tpu1_alpha1-cli/src/main.rs +++ b/gen/tpu1_alpha1-cli/src/main.rs @@ -1235,7 +1235,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/tpu1-alpha1", 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::TPU::new(client, auth), @@ -1675,7 +1681,7 @@ async fn main() { let mut app = App::new("tpu1-alpha1") .author("Sebastian Thiel ") - .version("3.0.0+20220301") + .version("3.1.0+20220301") .about("TPU API provides customers with access to Google TPU technology.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_tpu1_alpha1_cli") .arg(Arg::with_name("url") diff --git a/gen/tpu1_alpha1/Cargo.toml b/gen/tpu1_alpha1/Cargo.toml index 663db6bfe5..6c4a64ec09 100644 --- a/gen/tpu1_alpha1/Cargo.toml +++ b/gen/tpu1_alpha1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-tpu1_alpha1" -version = "3.0.0+20220301" +version = "3.1.0+20220301" authors = ["Sebastian Thiel "] description = "A complete library to interact with TPU (protocol v1alpha1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/tpu1_alpha1" homepage = "https://cloud.google.com/tpu/" -documentation = "https://docs.rs/google-tpu1_alpha1/3.0.0+20220301" +documentation = "https://docs.rs/google-tpu1_alpha1/3.1.0+20220301" license = "MIT" keywords = ["tpu", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/tpu1_alpha1/README.md b/gen/tpu1_alpha1/README.md index 4c616983ae..10ef56de13 100644 --- a/gen/tpu1_alpha1/README.md +++ b/gen/tpu1_alpha1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-tpu1_alpha1` library allows access to all features of the *Google TPU* service. -This documentation was generated from *TPU* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *tpu:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *TPU* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *tpu:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *TPU* *v1_alpha1* API can be found at the [official documentation site](https://cloud.google.com/tpu/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-tpu1_alpha1/3.0.0+20220301/google_tpu1_alpha1/TPU) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-tpu1_alpha1/3.1.0+20220301/google_tpu1_alpha1/TPU) ... * projects - * [*locations accelerator types get*](https://docs.rs/google-tpu1_alpha1/3.0.0+20220301/google_tpu1_alpha1/api::ProjectLocationAcceleratorTypeGetCall), [*locations accelerator types list*](https://docs.rs/google-tpu1_alpha1/3.0.0+20220301/google_tpu1_alpha1/api::ProjectLocationAcceleratorTypeListCall), [*locations get*](https://docs.rs/google-tpu1_alpha1/3.0.0+20220301/google_tpu1_alpha1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-tpu1_alpha1/3.0.0+20220301/google_tpu1_alpha1/api::ProjectLocationListCall), [*locations nodes create*](https://docs.rs/google-tpu1_alpha1/3.0.0+20220301/google_tpu1_alpha1/api::ProjectLocationNodeCreateCall), [*locations nodes delete*](https://docs.rs/google-tpu1_alpha1/3.0.0+20220301/google_tpu1_alpha1/api::ProjectLocationNodeDeleteCall), [*locations nodes get*](https://docs.rs/google-tpu1_alpha1/3.0.0+20220301/google_tpu1_alpha1/api::ProjectLocationNodeGetCall), [*locations nodes list*](https://docs.rs/google-tpu1_alpha1/3.0.0+20220301/google_tpu1_alpha1/api::ProjectLocationNodeListCall), [*locations nodes reimage*](https://docs.rs/google-tpu1_alpha1/3.0.0+20220301/google_tpu1_alpha1/api::ProjectLocationNodeReimageCall), [*locations nodes start*](https://docs.rs/google-tpu1_alpha1/3.0.0+20220301/google_tpu1_alpha1/api::ProjectLocationNodeStartCall), [*locations nodes stop*](https://docs.rs/google-tpu1_alpha1/3.0.0+20220301/google_tpu1_alpha1/api::ProjectLocationNodeStopCall), [*locations operations cancel*](https://docs.rs/google-tpu1_alpha1/3.0.0+20220301/google_tpu1_alpha1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-tpu1_alpha1/3.0.0+20220301/google_tpu1_alpha1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-tpu1_alpha1/3.0.0+20220301/google_tpu1_alpha1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-tpu1_alpha1/3.0.0+20220301/google_tpu1_alpha1/api::ProjectLocationOperationListCall), [*locations tensorflow versions get*](https://docs.rs/google-tpu1_alpha1/3.0.0+20220301/google_tpu1_alpha1/api::ProjectLocationTensorflowVersionGetCall) and [*locations tensorflow versions list*](https://docs.rs/google-tpu1_alpha1/3.0.0+20220301/google_tpu1_alpha1/api::ProjectLocationTensorflowVersionListCall) + * [*locations accelerator types get*](https://docs.rs/google-tpu1_alpha1/3.1.0+20220301/google_tpu1_alpha1/api::ProjectLocationAcceleratorTypeGetCall), [*locations accelerator types list*](https://docs.rs/google-tpu1_alpha1/3.1.0+20220301/google_tpu1_alpha1/api::ProjectLocationAcceleratorTypeListCall), [*locations get*](https://docs.rs/google-tpu1_alpha1/3.1.0+20220301/google_tpu1_alpha1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-tpu1_alpha1/3.1.0+20220301/google_tpu1_alpha1/api::ProjectLocationListCall), [*locations nodes create*](https://docs.rs/google-tpu1_alpha1/3.1.0+20220301/google_tpu1_alpha1/api::ProjectLocationNodeCreateCall), [*locations nodes delete*](https://docs.rs/google-tpu1_alpha1/3.1.0+20220301/google_tpu1_alpha1/api::ProjectLocationNodeDeleteCall), [*locations nodes get*](https://docs.rs/google-tpu1_alpha1/3.1.0+20220301/google_tpu1_alpha1/api::ProjectLocationNodeGetCall), [*locations nodes list*](https://docs.rs/google-tpu1_alpha1/3.1.0+20220301/google_tpu1_alpha1/api::ProjectLocationNodeListCall), [*locations nodes reimage*](https://docs.rs/google-tpu1_alpha1/3.1.0+20220301/google_tpu1_alpha1/api::ProjectLocationNodeReimageCall), [*locations nodes start*](https://docs.rs/google-tpu1_alpha1/3.1.0+20220301/google_tpu1_alpha1/api::ProjectLocationNodeStartCall), [*locations nodes stop*](https://docs.rs/google-tpu1_alpha1/3.1.0+20220301/google_tpu1_alpha1/api::ProjectLocationNodeStopCall), [*locations operations cancel*](https://docs.rs/google-tpu1_alpha1/3.1.0+20220301/google_tpu1_alpha1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-tpu1_alpha1/3.1.0+20220301/google_tpu1_alpha1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-tpu1_alpha1/3.1.0+20220301/google_tpu1_alpha1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-tpu1_alpha1/3.1.0+20220301/google_tpu1_alpha1/api::ProjectLocationOperationListCall), [*locations tensorflow versions get*](https://docs.rs/google-tpu1_alpha1/3.1.0+20220301/google_tpu1_alpha1/api::ProjectLocationTensorflowVersionGetCall) and [*locations tensorflow versions list*](https://docs.rs/google-tpu1_alpha1/3.1.0+20220301/google_tpu1_alpha1/api::ProjectLocationTensorflowVersionListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-tpu1_alpha1/3.0.0+20220301/google_tpu1_alpha1/TPU)** +* **[Hub](https://docs.rs/google-tpu1_alpha1/3.1.0+20220301/google_tpu1_alpha1/TPU)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-tpu1_alpha1/3.0.0+20220301/google_tpu1_alpha1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-tpu1_alpha1/3.0.0+20220301/google_tpu1_alpha1/client::CallBuilder) -* **[Resources](https://docs.rs/google-tpu1_alpha1/3.0.0+20220301/google_tpu1_alpha1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-tpu1_alpha1/3.1.0+20220301/google_tpu1_alpha1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-tpu1_alpha1/3.1.0+20220301/google_tpu1_alpha1/client::CallBuilder) +* **[Resources](https://docs.rs/google-tpu1_alpha1/3.1.0+20220301/google_tpu1_alpha1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-tpu1_alpha1/3.0.0+20220301/google_tpu1_alpha1/client::Part)** + * **[Parts](https://docs.rs/google-tpu1_alpha1/3.1.0+20220301/google_tpu1_alpha1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-tpu1_alpha1/3.0.0+20220301/google_tpu1_alpha1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-tpu1_alpha1/3.1.0+20220301/google_tpu1_alpha1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -96,7 +96,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -131,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-tpu1_alpha1/3.0.0+20220301/google_tpu1_alpha1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-tpu1_alpha1/3.1.0+20220301/google_tpu1_alpha1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-tpu1_alpha1/3.0.0+20220301/google_tpu1_alpha1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-tpu1_alpha1/3.1.0+20220301/google_tpu1_alpha1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-tpu1_alpha1/3.0.0+20220301/google_tpu1_alpha1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-tpu1_alpha1/3.1.0+20220301/google_tpu1_alpha1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-tpu1_alpha1/3.0.0+20220301/google_tpu1_alpha1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-tpu1_alpha1/3.1.0+20220301/google_tpu1_alpha1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -151,29 +151,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-tpu1_alpha1/3.0.0+20220301/google_tpu1_alpha1/client::Delegate) to the -[Method Builder](https://docs.rs/google-tpu1_alpha1/3.0.0+20220301/google_tpu1_alpha1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-tpu1_alpha1/3.1.0+20220301/google_tpu1_alpha1/client::Delegate) to the +[Method Builder](https://docs.rs/google-tpu1_alpha1/3.1.0+20220301/google_tpu1_alpha1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-tpu1_alpha1/3.0.0+20220301/google_tpu1_alpha1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-tpu1_alpha1/3.1.0+20220301/google_tpu1_alpha1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-tpu1_alpha1/3.0.0+20220301/google_tpu1_alpha1/client::RequestValue) and -[decodable](https://docs.rs/google-tpu1_alpha1/3.0.0+20220301/google_tpu1_alpha1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-tpu1_alpha1/3.1.0+20220301/google_tpu1_alpha1/client::RequestValue) and +[decodable](https://docs.rs/google-tpu1_alpha1/3.1.0+20220301/google_tpu1_alpha1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-tpu1_alpha1/3.0.0+20220301/google_tpu1_alpha1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-tpu1_alpha1/3.1.0+20220301/google_tpu1_alpha1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-tpu1_alpha1/3.0.0+20220301/google_tpu1_alpha1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-tpu1_alpha1/3.1.0+20220301/google_tpu1_alpha1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-tpu1_alpha1/3.0.0+20220301/google_tpu1_alpha1/client::RequestValue) are moved +* [request values](https://docs.rs/google-tpu1_alpha1/3.1.0+20220301/google_tpu1_alpha1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/tpu1_alpha1/src/api.rs b/gen/tpu1_alpha1/src/api.rs index 78c880f099..a0e6c91210 100644 --- a/gen/tpu1_alpha1/src/api.rs +++ b/gen/tpu1_alpha1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -121,7 +121,7 @@ impl<'a, > TPU<> { TPU { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://tpu.googleapis.com/".to_string(), _root_url: "https://tpu.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > TPU<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -601,7 +601,7 @@ impl client::ResponseResult for TensorFlowVersion {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_accelerator_types_get(...)`, `locations_accelerator_types_list(...)`, `locations_get(...)`, `locations_list(...)`, `locations_nodes_create(...)`, `locations_nodes_delete(...)`, `locations_nodes_get(...)`, `locations_nodes_list(...)`, `locations_nodes_reimage(...)`, `locations_nodes_start(...)`, `locations_nodes_stop(...)`, `locations_operations_cancel(...)`, `locations_operations_delete(...)`, `locations_operations_get(...)`, `locations_operations_list(...)`, `locations_tensorflow_versions_get(...)` and `locations_tensorflow_versions_list(...)` /// // to build up your call. @@ -965,7 +965,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1221,7 +1221,7 @@ impl<'a> ProjectLocationAcceleratorTypeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1526,7 +1526,7 @@ impl<'a> ProjectLocationAcceleratorTypeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1835,7 +1835,7 @@ impl<'a> ProjectLocationNodeCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2103,7 +2103,7 @@ impl<'a> ProjectLocationNodeDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2359,7 +2359,7 @@ impl<'a> ProjectLocationNodeGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2640,7 +2640,7 @@ impl<'a> ProjectLocationNodeListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2926,7 +2926,7 @@ impl<'a> ProjectLocationNodeReimageCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3212,7 +3212,7 @@ impl<'a> ProjectLocationNodeStartCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3497,7 +3497,7 @@ impl<'a> ProjectLocationNodeStopCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3753,7 +3753,7 @@ impl<'a> ProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4009,7 +4009,7 @@ impl<'a> ProjectLocationOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4265,7 +4265,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4557,7 +4557,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4813,7 +4813,7 @@ impl<'a> ProjectLocationTensorflowVersionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5117,7 +5117,7 @@ impl<'a> ProjectLocationTensorflowVersionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5373,7 +5373,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/tpu1_alpha1/src/lib.rs b/gen/tpu1_alpha1/src/lib.rs index 58d190d5ff..1a50640a4a 100644 --- a/gen/tpu1_alpha1/src/lib.rs +++ b/gen/tpu1_alpha1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *TPU* crate version *3.0.0+20220301*, where *20220301* is the exact revision of the *tpu:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *TPU* crate version *3.1.0+20220301*, where *20220301* is the exact revision of the *tpu:v1alpha1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *TPU* *v1_alpha1* API can be found at the //! [official documentation site](https://cloud.google.com/tpu/). @@ -97,7 +97,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = TPU::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/transcoder1-cli/Cargo.toml b/gen/transcoder1-cli/Cargo.toml index 5dcb06ac9c..e1c491c8ae 100644 --- a/gen/transcoder1-cli/Cargo.toml +++ b/gen/transcoder1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-transcoder1-cli" -version = "3.0.0+20220201" +version = "3.1.0+20220201" authors = ["Sebastian Thiel "] description = "A complete library to interact with Transcoder (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/transcoder1-cli" @@ -20,12 +20,12 @@ name = "transcoder1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-transcoder1] path = "../transcoder1" -version = "3.0.0+20220201" +version = "3.1.0+20220201" diff --git a/gen/transcoder1-cli/README.md b/gen/transcoder1-cli/README.md index 2a3dc7ffac..26c941be8f 100644 --- a/gen/transcoder1-cli/README.md +++ b/gen/transcoder1-cli/README.md @@ -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 *Transcoder* API at revision *20220201*. The CLI is at version *3.0.0*. +This documentation was generated from the *Transcoder* API at revision *20220201*. The CLI is at version *3.1.0*. ```bash transcoder1 [options] diff --git a/gen/transcoder1-cli/mkdocs.yml b/gen/transcoder1-cli/mkdocs.yml index 4958b02b44..8ac38a4e94 100644 --- a/gen/transcoder1-cli/mkdocs.yml +++ b/gen/transcoder1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Transcoder v3.0.0+20220201 +site_name: Transcoder v3.1.0+20220201 site_url: http://byron.github.io/google-apis-rs/google-transcoder1-cli site_description: A complete library to interact with Transcoder (protocol v1) diff --git a/gen/transcoder1-cli/src/main.rs b/gen/transcoder1-cli/src/main.rs index 36c31c8dc3..03d5b19972 100644 --- a/gen/transcoder1-cli/src/main.rs +++ b/gen/transcoder1-cli/src/main.rs @@ -647,7 +647,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/transcoder1", 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::Transcoder::new(client, auth), @@ -877,7 +883,7 @@ async fn main() { let mut app = App::new("transcoder1") .author("Sebastian Thiel ") - .version("3.0.0+20220201") + .version("3.1.0+20220201") .about("This API converts video files into formats suitable for consumer distribution. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_transcoder1_cli") .arg(Arg::with_name("url") diff --git a/gen/transcoder1/Cargo.toml b/gen/transcoder1/Cargo.toml index dfab62cbce..f94aaf5d2c 100644 --- a/gen/transcoder1/Cargo.toml +++ b/gen/transcoder1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-transcoder1" -version = "3.0.0+20220201" +version = "3.1.0+20220201" authors = ["Sebastian Thiel "] description = "A complete library to interact with Transcoder (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/transcoder1" homepage = "https://cloud.google.com/transcoder/docs/" -documentation = "https://docs.rs/google-transcoder1/3.0.0+20220201" +documentation = "https://docs.rs/google-transcoder1/3.1.0+20220201" license = "MIT" keywords = ["transcoder", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/transcoder1/README.md b/gen/transcoder1/README.md index 0b75fc6167..a9aa102dce 100644 --- a/gen/transcoder1/README.md +++ b/gen/transcoder1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-transcoder1` library allows access to all features of the *Google Transcoder* service. -This documentation was generated from *Transcoder* crate version *3.0.0+20220201*, where *20220201* is the exact revision of the *transcoder:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Transcoder* crate version *3.1.0+20220201*, where *20220201* is the exact revision of the *transcoder:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Transcoder* *v1* API can be found at the [official documentation site](https://cloud.google.com/transcoder/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-transcoder1/3.0.0+20220201/google_transcoder1/Transcoder) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-transcoder1/3.1.0+20220201/google_transcoder1/Transcoder) ... * projects - * [*locations job templates create*](https://docs.rs/google-transcoder1/3.0.0+20220201/google_transcoder1/api::ProjectLocationJobTemplateCreateCall), [*locations job templates delete*](https://docs.rs/google-transcoder1/3.0.0+20220201/google_transcoder1/api::ProjectLocationJobTemplateDeleteCall), [*locations job templates get*](https://docs.rs/google-transcoder1/3.0.0+20220201/google_transcoder1/api::ProjectLocationJobTemplateGetCall), [*locations job templates list*](https://docs.rs/google-transcoder1/3.0.0+20220201/google_transcoder1/api::ProjectLocationJobTemplateListCall), [*locations jobs create*](https://docs.rs/google-transcoder1/3.0.0+20220201/google_transcoder1/api::ProjectLocationJobCreateCall), [*locations jobs delete*](https://docs.rs/google-transcoder1/3.0.0+20220201/google_transcoder1/api::ProjectLocationJobDeleteCall), [*locations jobs get*](https://docs.rs/google-transcoder1/3.0.0+20220201/google_transcoder1/api::ProjectLocationJobGetCall) and [*locations jobs list*](https://docs.rs/google-transcoder1/3.0.0+20220201/google_transcoder1/api::ProjectLocationJobListCall) + * [*locations job templates create*](https://docs.rs/google-transcoder1/3.1.0+20220201/google_transcoder1/api::ProjectLocationJobTemplateCreateCall), [*locations job templates delete*](https://docs.rs/google-transcoder1/3.1.0+20220201/google_transcoder1/api::ProjectLocationJobTemplateDeleteCall), [*locations job templates get*](https://docs.rs/google-transcoder1/3.1.0+20220201/google_transcoder1/api::ProjectLocationJobTemplateGetCall), [*locations job templates list*](https://docs.rs/google-transcoder1/3.1.0+20220201/google_transcoder1/api::ProjectLocationJobTemplateListCall), [*locations jobs create*](https://docs.rs/google-transcoder1/3.1.0+20220201/google_transcoder1/api::ProjectLocationJobCreateCall), [*locations jobs delete*](https://docs.rs/google-transcoder1/3.1.0+20220201/google_transcoder1/api::ProjectLocationJobDeleteCall), [*locations jobs get*](https://docs.rs/google-transcoder1/3.1.0+20220201/google_transcoder1/api::ProjectLocationJobGetCall) and [*locations jobs list*](https://docs.rs/google-transcoder1/3.1.0+20220201/google_transcoder1/api::ProjectLocationJobListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-transcoder1/3.0.0+20220201/google_transcoder1/Transcoder)** +* **[Hub](https://docs.rs/google-transcoder1/3.1.0+20220201/google_transcoder1/Transcoder)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-transcoder1/3.0.0+20220201/google_transcoder1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-transcoder1/3.0.0+20220201/google_transcoder1/client::CallBuilder) -* **[Resources](https://docs.rs/google-transcoder1/3.0.0+20220201/google_transcoder1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-transcoder1/3.1.0+20220201/google_transcoder1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-transcoder1/3.1.0+20220201/google_transcoder1/client::CallBuilder) +* **[Resources](https://docs.rs/google-transcoder1/3.1.0+20220201/google_transcoder1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-transcoder1/3.0.0+20220201/google_transcoder1/client::Part)** + * **[Parts](https://docs.rs/google-transcoder1/3.1.0+20220201/google_transcoder1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-transcoder1/3.0.0+20220201/google_transcoder1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-transcoder1/3.1.0+20220201/google_transcoder1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -92,7 +92,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -125,17 +125,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-transcoder1/3.0.0+20220201/google_transcoder1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-transcoder1/3.1.0+20220201/google_transcoder1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-transcoder1/3.0.0+20220201/google_transcoder1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-transcoder1/3.1.0+20220201/google_transcoder1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-transcoder1/3.0.0+20220201/google_transcoder1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-transcoder1/3.1.0+20220201/google_transcoder1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-transcoder1/3.0.0+20220201/google_transcoder1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-transcoder1/3.1.0+20220201/google_transcoder1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -145,29 +145,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-transcoder1/3.0.0+20220201/google_transcoder1/client::Delegate) to the -[Method Builder](https://docs.rs/google-transcoder1/3.0.0+20220201/google_transcoder1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-transcoder1/3.1.0+20220201/google_transcoder1/client::Delegate) to the +[Method Builder](https://docs.rs/google-transcoder1/3.1.0+20220201/google_transcoder1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-transcoder1/3.0.0+20220201/google_transcoder1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-transcoder1/3.1.0+20220201/google_transcoder1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-transcoder1/3.0.0+20220201/google_transcoder1/client::RequestValue) and -[decodable](https://docs.rs/google-transcoder1/3.0.0+20220201/google_transcoder1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-transcoder1/3.1.0+20220201/google_transcoder1/client::RequestValue) and +[decodable](https://docs.rs/google-transcoder1/3.1.0+20220201/google_transcoder1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-transcoder1/3.0.0+20220201/google_transcoder1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-transcoder1/3.1.0+20220201/google_transcoder1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-transcoder1/3.0.0+20220201/google_transcoder1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-transcoder1/3.1.0+20220201/google_transcoder1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-transcoder1/3.0.0+20220201/google_transcoder1/client::RequestValue) are moved +* [request values](https://docs.rs/google-transcoder1/3.1.0+20220201/google_transcoder1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/transcoder1/src/api.rs b/gen/transcoder1/src/api.rs index fc363795fa..453bbe7e2a 100644 --- a/gen/transcoder1/src/api.rs +++ b/gen/transcoder1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > Transcoder<> { Transcoder { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://transcoder.googleapis.com/".to_string(), _root_url: "https://transcoder.googleapis.com/".to_string(), } @@ -130,7 +130,7 @@ impl<'a, > Transcoder<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1108,7 +1108,7 @@ impl client::Part for Vp9CodecSettings {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_job_templates_create(...)`, `locations_job_templates_delete(...)`, `locations_job_templates_get(...)`, `locations_job_templates_list(...)`, `locations_jobs_create(...)`, `locations_jobs_delete(...)`, `locations_jobs_get(...)` and `locations_jobs_list(...)` /// // to build up your call. @@ -1308,7 +1308,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1605,7 +1605,7 @@ impl<'a> ProjectLocationJobTemplateCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1873,7 +1873,7 @@ impl<'a> ProjectLocationJobTemplateDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2129,7 +2129,7 @@ impl<'a> ProjectLocationJobTemplateGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2434,7 +2434,7 @@ impl<'a> ProjectLocationJobTemplateListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2719,7 +2719,7 @@ impl<'a> ProjectLocationJobCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2987,7 +2987,7 @@ impl<'a> ProjectLocationJobDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3243,7 +3243,7 @@ impl<'a> ProjectLocationJobGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/transcoder1/src/lib.rs b/gen/transcoder1/src/lib.rs index 8bc6b36172..99e3ae8491 100644 --- a/gen/transcoder1/src/lib.rs +++ b/gen/transcoder1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Transcoder* crate version *3.0.0+20220201*, where *20220201* is the exact revision of the *transcoder:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Transcoder* crate version *3.1.0+20220201*, where *20220201* is the exact revision of the *transcoder:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Transcoder* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/transcoder/docs/). @@ -93,7 +93,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/transcoder1_beta1-cli/Cargo.toml b/gen/transcoder1_beta1-cli/Cargo.toml index 7ab111628c..069957fb33 100644 --- a/gen/transcoder1_beta1-cli/Cargo.toml +++ b/gen/transcoder1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-transcoder1_beta1-cli" -version = "3.0.0+20210323" +version = "3.1.0+20210323" authors = ["Sebastian Thiel "] description = "A complete library to interact with Transcoder (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/transcoder1_beta1-cli" @@ -20,12 +20,12 @@ name = "transcoder1-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-transcoder1_beta1] path = "../transcoder1_beta1" -version = "3.0.0+20210323" +version = "3.1.0+20210323" diff --git a/gen/transcoder1_beta1-cli/README.md b/gen/transcoder1_beta1-cli/README.md index eba801c592..5344913f4a 100644 --- a/gen/transcoder1_beta1-cli/README.md +++ b/gen/transcoder1_beta1-cli/README.md @@ -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 *Transcoder* API at revision *20210323*. The CLI is at version *3.0.0*. +This documentation was generated from the *Transcoder* API at revision *20210323*. The CLI is at version *3.1.0*. ```bash transcoder1-beta1 [options] diff --git a/gen/transcoder1_beta1-cli/mkdocs.yml b/gen/transcoder1_beta1-cli/mkdocs.yml index f814f59293..73c1b311fd 100644 --- a/gen/transcoder1_beta1-cli/mkdocs.yml +++ b/gen/transcoder1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Transcoder v3.0.0+20210323 +site_name: Transcoder v3.1.0+20210323 site_url: http://byron.github.io/google-apis-rs/google-transcoder1_beta1-cli site_description: A complete library to interact with Transcoder (protocol v1beta1) diff --git a/gen/transcoder1_beta1-cli/src/main.rs b/gen/transcoder1_beta1-cli/src/main.rs index e88acbfdb0..d1f4fe57fb 100644 --- a/gen/transcoder1_beta1-cli/src/main.rs +++ b/gen/transcoder1_beta1-cli/src/main.rs @@ -633,7 +633,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/transcoder1-beta1", 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::Transcoder::new(client, auth), @@ -863,7 +869,7 @@ async fn main() { let mut app = App::new("transcoder1-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20210323") + .version("3.1.0+20210323") .about("This API converts video files into formats suitable for consumer distribution. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_transcoder1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/transcoder1_beta1/Cargo.toml b/gen/transcoder1_beta1/Cargo.toml index af84009ee5..54d480464a 100644 --- a/gen/transcoder1_beta1/Cargo.toml +++ b/gen/transcoder1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-transcoder1_beta1" -version = "3.0.0+20210323" +version = "3.1.0+20210323" authors = ["Sebastian Thiel "] description = "A complete library to interact with Transcoder (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/transcoder1_beta1" homepage = "https://cloud.google.com/transcoder/docs/" -documentation = "https://docs.rs/google-transcoder1_beta1/3.0.0+20210323" +documentation = "https://docs.rs/google-transcoder1_beta1/3.1.0+20210323" license = "MIT" keywords = ["transcoder", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/transcoder1_beta1/README.md b/gen/transcoder1_beta1/README.md index 4688653b35..3a98ac0353 100644 --- a/gen/transcoder1_beta1/README.md +++ b/gen/transcoder1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-transcoder1_beta1` library allows access to all features of the *Google Transcoder* service. -This documentation was generated from *Transcoder* crate version *3.0.0+20210323*, where *20210323* is the exact revision of the *transcoder:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Transcoder* crate version *3.1.0+20210323*, where *20210323* is the exact revision of the *transcoder:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Transcoder* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/transcoder/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-transcoder1_beta1/3.0.0+20210323/google_transcoder1_beta1/Transcoder) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-transcoder1_beta1/3.1.0+20210323/google_transcoder1_beta1/Transcoder) ... * projects - * [*locations job templates create*](https://docs.rs/google-transcoder1_beta1/3.0.0+20210323/google_transcoder1_beta1/api::ProjectLocationJobTemplateCreateCall), [*locations job templates delete*](https://docs.rs/google-transcoder1_beta1/3.0.0+20210323/google_transcoder1_beta1/api::ProjectLocationJobTemplateDeleteCall), [*locations job templates get*](https://docs.rs/google-transcoder1_beta1/3.0.0+20210323/google_transcoder1_beta1/api::ProjectLocationJobTemplateGetCall), [*locations job templates list*](https://docs.rs/google-transcoder1_beta1/3.0.0+20210323/google_transcoder1_beta1/api::ProjectLocationJobTemplateListCall), [*locations jobs create*](https://docs.rs/google-transcoder1_beta1/3.0.0+20210323/google_transcoder1_beta1/api::ProjectLocationJobCreateCall), [*locations jobs delete*](https://docs.rs/google-transcoder1_beta1/3.0.0+20210323/google_transcoder1_beta1/api::ProjectLocationJobDeleteCall), [*locations jobs get*](https://docs.rs/google-transcoder1_beta1/3.0.0+20210323/google_transcoder1_beta1/api::ProjectLocationJobGetCall) and [*locations jobs list*](https://docs.rs/google-transcoder1_beta1/3.0.0+20210323/google_transcoder1_beta1/api::ProjectLocationJobListCall) + * [*locations job templates create*](https://docs.rs/google-transcoder1_beta1/3.1.0+20210323/google_transcoder1_beta1/api::ProjectLocationJobTemplateCreateCall), [*locations job templates delete*](https://docs.rs/google-transcoder1_beta1/3.1.0+20210323/google_transcoder1_beta1/api::ProjectLocationJobTemplateDeleteCall), [*locations job templates get*](https://docs.rs/google-transcoder1_beta1/3.1.0+20210323/google_transcoder1_beta1/api::ProjectLocationJobTemplateGetCall), [*locations job templates list*](https://docs.rs/google-transcoder1_beta1/3.1.0+20210323/google_transcoder1_beta1/api::ProjectLocationJobTemplateListCall), [*locations jobs create*](https://docs.rs/google-transcoder1_beta1/3.1.0+20210323/google_transcoder1_beta1/api::ProjectLocationJobCreateCall), [*locations jobs delete*](https://docs.rs/google-transcoder1_beta1/3.1.0+20210323/google_transcoder1_beta1/api::ProjectLocationJobDeleteCall), [*locations jobs get*](https://docs.rs/google-transcoder1_beta1/3.1.0+20210323/google_transcoder1_beta1/api::ProjectLocationJobGetCall) and [*locations jobs list*](https://docs.rs/google-transcoder1_beta1/3.1.0+20210323/google_transcoder1_beta1/api::ProjectLocationJobListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-transcoder1_beta1/3.0.0+20210323/google_transcoder1_beta1/Transcoder)** +* **[Hub](https://docs.rs/google-transcoder1_beta1/3.1.0+20210323/google_transcoder1_beta1/Transcoder)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-transcoder1_beta1/3.0.0+20210323/google_transcoder1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-transcoder1_beta1/3.0.0+20210323/google_transcoder1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-transcoder1_beta1/3.0.0+20210323/google_transcoder1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-transcoder1_beta1/3.1.0+20210323/google_transcoder1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-transcoder1_beta1/3.1.0+20210323/google_transcoder1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-transcoder1_beta1/3.1.0+20210323/google_transcoder1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-transcoder1_beta1/3.0.0+20210323/google_transcoder1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-transcoder1_beta1/3.1.0+20210323/google_transcoder1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-transcoder1_beta1/3.0.0+20210323/google_transcoder1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-transcoder1_beta1/3.1.0+20210323/google_transcoder1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -92,7 +92,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -125,17 +125,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-transcoder1_beta1/3.0.0+20210323/google_transcoder1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-transcoder1_beta1/3.1.0+20210323/google_transcoder1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-transcoder1_beta1/3.0.0+20210323/google_transcoder1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-transcoder1_beta1/3.1.0+20210323/google_transcoder1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-transcoder1_beta1/3.0.0+20210323/google_transcoder1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-transcoder1_beta1/3.1.0+20210323/google_transcoder1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-transcoder1_beta1/3.0.0+20210323/google_transcoder1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-transcoder1_beta1/3.1.0+20210323/google_transcoder1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -145,29 +145,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-transcoder1_beta1/3.0.0+20210323/google_transcoder1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-transcoder1_beta1/3.0.0+20210323/google_transcoder1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-transcoder1_beta1/3.1.0+20210323/google_transcoder1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-transcoder1_beta1/3.1.0+20210323/google_transcoder1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-transcoder1_beta1/3.0.0+20210323/google_transcoder1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-transcoder1_beta1/3.1.0+20210323/google_transcoder1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-transcoder1_beta1/3.0.0+20210323/google_transcoder1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-transcoder1_beta1/3.0.0+20210323/google_transcoder1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-transcoder1_beta1/3.1.0+20210323/google_transcoder1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-transcoder1_beta1/3.1.0+20210323/google_transcoder1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-transcoder1_beta1/3.0.0+20210323/google_transcoder1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-transcoder1_beta1/3.1.0+20210323/google_transcoder1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-transcoder1_beta1/3.0.0+20210323/google_transcoder1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-transcoder1_beta1/3.1.0+20210323/google_transcoder1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-transcoder1_beta1/3.0.0+20210323/google_transcoder1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-transcoder1_beta1/3.1.0+20210323/google_transcoder1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/transcoder1_beta1/src/api.rs b/gen/transcoder1_beta1/src/api.rs index cecb10ae55..ca39ef0968 100644 --- a/gen/transcoder1_beta1/src/api.rs +++ b/gen/transcoder1_beta1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > Transcoder<> { Transcoder { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://transcoder.googleapis.com/".to_string(), _root_url: "https://transcoder.googleapis.com/".to_string(), } @@ -130,7 +130,7 @@ impl<'a, > Transcoder<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1126,7 +1126,7 @@ impl client::Part for VideoStream {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_job_templates_create(...)`, `locations_job_templates_delete(...)`, `locations_job_templates_get(...)`, `locations_job_templates_list(...)`, `locations_jobs_create(...)`, `locations_jobs_delete(...)`, `locations_jobs_get(...)` and `locations_jobs_list(...)` /// // to build up your call. @@ -1320,7 +1320,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1617,7 +1617,7 @@ impl<'a> ProjectLocationJobTemplateCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1873,7 +1873,7 @@ impl<'a> ProjectLocationJobTemplateDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2129,7 +2129,7 @@ impl<'a> ProjectLocationJobTemplateGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2410,7 +2410,7 @@ impl<'a> ProjectLocationJobTemplateListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2695,7 +2695,7 @@ impl<'a> ProjectLocationJobCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2951,7 +2951,7 @@ impl<'a> ProjectLocationJobDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3207,7 +3207,7 @@ impl<'a> ProjectLocationJobGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/transcoder1_beta1/src/lib.rs b/gen/transcoder1_beta1/src/lib.rs index fa24597733..8a8acdd49c 100644 --- a/gen/transcoder1_beta1/src/lib.rs +++ b/gen/transcoder1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Transcoder* crate version *3.0.0+20210323*, where *20210323* is the exact revision of the *transcoder:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Transcoder* crate version *3.1.0+20210323*, where *20210323* is the exact revision of the *transcoder:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Transcoder* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/transcoder/docs/). @@ -93,7 +93,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Transcoder::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/translate2-cli/Cargo.toml b/gen/translate2-cli/Cargo.toml index 96a3296170..7a97a5eda7 100644 --- a/gen/translate2-cli/Cargo.toml +++ b/gen/translate2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-translate2-cli" -version = "3.0.0+20170525" +version = "3.1.0+20170525" authors = ["Sebastian Thiel "] description = "A complete library to interact with Translate (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/translate2-cli" @@ -20,12 +20,12 @@ name = "translate2" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-translate2] path = "../translate2" -version = "3.0.0+20170525" +version = "3.1.0+20170525" diff --git a/gen/translate2-cli/README.md b/gen/translate2-cli/README.md index 0aeb41f398..a64f36c0ef 100644 --- a/gen/translate2-cli/README.md +++ b/gen/translate2-cli/README.md @@ -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 *Translate* API at revision *20170525*. The CLI is at version *3.0.0*. +This documentation was generated from the *Translate* API at revision *20170525*. The CLI is at version *3.1.0*. ```bash translate2 [options] diff --git a/gen/translate2-cli/mkdocs.yml b/gen/translate2-cli/mkdocs.yml index 5d853d188f..d03c51b057 100644 --- a/gen/translate2-cli/mkdocs.yml +++ b/gen/translate2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Translate v3.0.0+20170525 +site_name: Translate v3.1.0+20170525 site_url: http://byron.github.io/google-apis-rs/google-translate2-cli site_description: A complete library to interact with Translate (protocol v2) diff --git a/gen/translate2-cli/src/main.rs b/gen/translate2-cli/src/main.rs index 2e7f89724b..18ad32fd81 100644 --- a/gen/translate2-cli/src/main.rs +++ b/gen/translate2-cli/src/main.rs @@ -470,7 +470,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/translate2", 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::Translate::new(client, auth), @@ -632,7 +638,7 @@ async fn main() { let mut app = App::new("translate2") .author("Sebastian Thiel ") - .version("3.0.0+20170525") + .version("3.1.0+20170525") .about("The Google Cloud Translation API lets websites and programs integrate with Google Translate programmatically.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_translate2_cli") diff --git a/gen/translate2/Cargo.toml b/gen/translate2/Cargo.toml index 551d583503..9500cd13a5 100644 --- a/gen/translate2/Cargo.toml +++ b/gen/translate2/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-translate2" -version = "3.0.0+20170525" +version = "3.1.0+20170525" authors = ["Sebastian Thiel "] description = "A complete library to interact with Translate (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/translate2" homepage = "https://code.google.com/apis/language/translate/v2/getting_started.html" -documentation = "https://docs.rs/google-translate2/3.0.0+20170525" +documentation = "https://docs.rs/google-translate2/3.1.0+20170525" license = "MIT" keywords = ["translate", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/translate2/README.md b/gen/translate2/README.md index 09a54f8077..af49f03874 100644 --- a/gen/translate2/README.md +++ b/gen/translate2/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-translate2` library allows access to all features of the *Google Translate* service. -This documentation was generated from *Translate* crate version *3.0.0+20170525*, where *20170525* is the exact revision of the *translate:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Translate* crate version *3.1.0+20170525*, where *20170525* is the exact revision of the *translate:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Translate* *v2* API can be found at the [official documentation site](https://code.google.com/apis/language/translate/v2/getting_started.html). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-translate2/3.0.0+20170525/google_translate2/Translate) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-translate2/3.1.0+20170525/google_translate2/Translate) ... * detections - * [*detect*](https://docs.rs/google-translate2/3.0.0+20170525/google_translate2/api::DetectionDetectCall) and [*list*](https://docs.rs/google-translate2/3.0.0+20170525/google_translate2/api::DetectionListCall) + * [*detect*](https://docs.rs/google-translate2/3.1.0+20170525/google_translate2/api::DetectionDetectCall) and [*list*](https://docs.rs/google-translate2/3.1.0+20170525/google_translate2/api::DetectionListCall) * languages - * [*list*](https://docs.rs/google-translate2/3.0.0+20170525/google_translate2/api::LanguageListCall) + * [*list*](https://docs.rs/google-translate2/3.1.0+20170525/google_translate2/api::LanguageListCall) * translations - * [*list*](https://docs.rs/google-translate2/3.0.0+20170525/google_translate2/api::TranslationListCall) and [*translate*](https://docs.rs/google-translate2/3.0.0+20170525/google_translate2/api::TranslationTranslateCall) + * [*list*](https://docs.rs/google-translate2/3.1.0+20170525/google_translate2/api::TranslationListCall) and [*translate*](https://docs.rs/google-translate2/3.1.0+20170525/google_translate2/api::TranslationTranslateCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-translate2/3.0.0+20170525/google_translate2/Translate)** +* **[Hub](https://docs.rs/google-translate2/3.1.0+20170525/google_translate2/Translate)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-translate2/3.0.0+20170525/google_translate2/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-translate2/3.0.0+20170525/google_translate2/client::CallBuilder) -* **[Resources](https://docs.rs/google-translate2/3.0.0+20170525/google_translate2/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-translate2/3.1.0+20170525/google_translate2/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-translate2/3.1.0+20170525/google_translate2/client::CallBuilder) +* **[Resources](https://docs.rs/google-translate2/3.1.0+20170525/google_translate2/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-translate2/3.0.0+20170525/google_translate2/client::Part)** + * **[Parts](https://docs.rs/google-translate2/3.1.0+20170525/google_translate2/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-translate2/3.0.0+20170525/google_translate2/client::CallBuilder)** +* **[Activities](https://docs.rs/google-translate2/3.1.0+20170525/google_translate2/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -96,7 +96,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -129,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-translate2/3.0.0+20170525/google_translate2/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-translate2/3.1.0+20170525/google_translate2/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-translate2/3.0.0+20170525/google_translate2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-translate2/3.1.0+20170525/google_translate2/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-translate2/3.0.0+20170525/google_translate2/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-translate2/3.1.0+20170525/google_translate2/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-translate2/3.0.0+20170525/google_translate2/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-translate2/3.1.0+20170525/google_translate2/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -149,29 +149,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-translate2/3.0.0+20170525/google_translate2/client::Delegate) to the -[Method Builder](https://docs.rs/google-translate2/3.0.0+20170525/google_translate2/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-translate2/3.1.0+20170525/google_translate2/client::Delegate) to the +[Method Builder](https://docs.rs/google-translate2/3.1.0+20170525/google_translate2/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-translate2/3.0.0+20170525/google_translate2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-translate2/3.1.0+20170525/google_translate2/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-translate2/3.0.0+20170525/google_translate2/client::RequestValue) and -[decodable](https://docs.rs/google-translate2/3.0.0+20170525/google_translate2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-translate2/3.1.0+20170525/google_translate2/client::RequestValue) and +[decodable](https://docs.rs/google-translate2/3.1.0+20170525/google_translate2/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-translate2/3.0.0+20170525/google_translate2/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-translate2/3.1.0+20170525/google_translate2/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-translate2/3.0.0+20170525/google_translate2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-translate2/3.1.0+20170525/google_translate2/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-translate2/3.0.0+20170525/google_translate2/client::RequestValue) are moved +* [request values](https://docs.rs/google-translate2/3.1.0+20170525/google_translate2/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/translate2/src/api.rs b/gen/translate2/src/api.rs index d514ce249e..b6ccc0d004 100644 --- a/gen/translate2/src/api.rs +++ b/gen/translate2/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -123,7 +123,7 @@ impl<'a, > Translate<> { Translate { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://translation.googleapis.com/language/translate/".to_string(), _root_url: "https://translation.googleapis.com/".to_string(), } @@ -140,7 +140,7 @@ impl<'a, > Translate<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -382,7 +382,7 @@ impl client::Part for DetectionsResourceNested {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `detect(...)` and `list(...)` /// // to build up your call. @@ -458,7 +458,7 @@ impl<'a> DetectionMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -513,7 +513,7 @@ impl<'a> LanguageMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` and `translate(...)` /// // to build up your call. @@ -604,7 +604,7 @@ impl<'a> TranslationMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -854,7 +854,7 @@ impl<'a> DetectionDetectCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1093,7 +1093,7 @@ impl<'a> DetectionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1339,7 +1339,7 @@ impl<'a> LanguageListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1648,7 +1648,7 @@ impl<'a> TranslationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/translate2/src/lib.rs b/gen/translate2/src/lib.rs index e02eae57ad..f9b25a9995 100644 --- a/gen/translate2/src/lib.rs +++ b/gen/translate2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Translate* crate version *3.0.0+20170525*, where *20170525* is the exact revision of the *translate:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Translate* crate version *3.1.0+20170525*, where *20170525* is the exact revision of the *translate:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Translate* *v2* API can be found at the //! [official documentation site](https://code.google.com/apis/language/translate/v2/getting_started.html). @@ -97,7 +97,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/translate3-cli/Cargo.toml b/gen/translate3-cli/Cargo.toml index 179d25d905..ed0c6febac 100644 --- a/gen/translate3-cli/Cargo.toml +++ b/gen/translate3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-translate3-cli" -version = "3.0.0+20220121" +version = "3.1.0+20220121" authors = ["Sebastian Thiel "] description = "A complete library to interact with Translate (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/translate3-cli" @@ -20,12 +20,12 @@ name = "translate3" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-translate3] path = "../translate3" -version = "3.0.0+20220121" +version = "3.1.0+20220121" diff --git a/gen/translate3-cli/README.md b/gen/translate3-cli/README.md index e134b3f6ee..46b0c3c434 100644 --- a/gen/translate3-cli/README.md +++ b/gen/translate3-cli/README.md @@ -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 *Translate* API at revision *20220121*. The CLI is at version *3.0.0*. +This documentation was generated from the *Translate* API at revision *20220121*. The CLI is at version *3.1.0*. ```bash translate3 [options] diff --git a/gen/translate3-cli/mkdocs.yml b/gen/translate3-cli/mkdocs.yml index 44b9ce6025..8bb5426259 100644 --- a/gen/translate3-cli/mkdocs.yml +++ b/gen/translate3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Translate v3.0.0+20220121 +site_name: Translate v3.1.0+20220121 site_url: http://byron.github.io/google-apis-rs/google-translate3-cli site_description: A complete library to interact with Translate (protocol v3) diff --git a/gen/translate3-cli/src/main.rs b/gen/translate3-cli/src/main.rs index b8b3638fb3..0c42397b13 100644 --- a/gen/translate3-cli/src/main.rs +++ b/gen/translate3-cli/src/main.rs @@ -1607,7 +1607,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/translate3", 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::Translate::new(client, auth), @@ -2149,7 +2155,7 @@ async fn main() { let mut app = App::new("translate3") .author("Sebastian Thiel ") - .version("3.0.0+20220121") + .version("3.1.0+20220121") .about("Integrates text translation into your website or application.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_translate3_cli") .arg(Arg::with_name("url") diff --git a/gen/translate3/Cargo.toml b/gen/translate3/Cargo.toml index 0463694225..e5d2eeee6e 100644 --- a/gen/translate3/Cargo.toml +++ b/gen/translate3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-translate3" -version = "3.0.0+20220121" +version = "3.1.0+20220121" authors = ["Sebastian Thiel "] description = "A complete library to interact with Translate (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/translate3" homepage = "https://cloud.google.com/translate/docs/quickstarts" -documentation = "https://docs.rs/google-translate3/3.0.0+20220121" +documentation = "https://docs.rs/google-translate3/3.1.0+20220121" license = "MIT" keywords = ["translate", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/translate3/README.md b/gen/translate3/README.md index f12e5567aa..285d2dcbf6 100644 --- a/gen/translate3/README.md +++ b/gen/translate3/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-translate3` library allows access to all features of the *Google Translate* service. -This documentation was generated from *Translate* crate version *3.0.0+20220121*, where *20220121* is the exact revision of the *translate:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Translate* crate version *3.1.0+20220121*, where *20220121* is the exact revision of the *translate:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Translate* *v3* API can be found at the [official documentation site](https://cloud.google.com/translate/docs/quickstarts). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-translate3/3.0.0+20220121/google_translate3/Translate) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-translate3/3.1.0+20220121/google_translate3/Translate) ... * projects - * [*detect language*](https://docs.rs/google-translate3/3.0.0+20220121/google_translate3/api::ProjectDetectLanguageCall), [*get supported languages*](https://docs.rs/google-translate3/3.0.0+20220121/google_translate3/api::ProjectGetSupportedLanguageCall), [*locations batch translate document*](https://docs.rs/google-translate3/3.0.0+20220121/google_translate3/api::ProjectLocationBatchTranslateDocumentCall), [*locations batch translate text*](https://docs.rs/google-translate3/3.0.0+20220121/google_translate3/api::ProjectLocationBatchTranslateTextCall), [*locations detect language*](https://docs.rs/google-translate3/3.0.0+20220121/google_translate3/api::ProjectLocationDetectLanguageCall), [*locations get*](https://docs.rs/google-translate3/3.0.0+20220121/google_translate3/api::ProjectLocationGetCall), [*locations get supported languages*](https://docs.rs/google-translate3/3.0.0+20220121/google_translate3/api::ProjectLocationGetSupportedLanguageCall), [*locations glossaries create*](https://docs.rs/google-translate3/3.0.0+20220121/google_translate3/api::ProjectLocationGlossaryCreateCall), [*locations glossaries delete*](https://docs.rs/google-translate3/3.0.0+20220121/google_translate3/api::ProjectLocationGlossaryDeleteCall), [*locations glossaries get*](https://docs.rs/google-translate3/3.0.0+20220121/google_translate3/api::ProjectLocationGlossaryGetCall), [*locations glossaries list*](https://docs.rs/google-translate3/3.0.0+20220121/google_translate3/api::ProjectLocationGlossaryListCall), [*locations list*](https://docs.rs/google-translate3/3.0.0+20220121/google_translate3/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-translate3/3.0.0+20220121/google_translate3/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-translate3/3.0.0+20220121/google_translate3/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-translate3/3.0.0+20220121/google_translate3/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-translate3/3.0.0+20220121/google_translate3/api::ProjectLocationOperationListCall), [*locations operations wait*](https://docs.rs/google-translate3/3.0.0+20220121/google_translate3/api::ProjectLocationOperationWaitCall), [*locations translate document*](https://docs.rs/google-translate3/3.0.0+20220121/google_translate3/api::ProjectLocationTranslateDocumentCall), [*locations translate text*](https://docs.rs/google-translate3/3.0.0+20220121/google_translate3/api::ProjectLocationTranslateTextCall) and [*translate text*](https://docs.rs/google-translate3/3.0.0+20220121/google_translate3/api::ProjectTranslateTextCall) + * [*detect language*](https://docs.rs/google-translate3/3.1.0+20220121/google_translate3/api::ProjectDetectLanguageCall), [*get supported languages*](https://docs.rs/google-translate3/3.1.0+20220121/google_translate3/api::ProjectGetSupportedLanguageCall), [*locations batch translate document*](https://docs.rs/google-translate3/3.1.0+20220121/google_translate3/api::ProjectLocationBatchTranslateDocumentCall), [*locations batch translate text*](https://docs.rs/google-translate3/3.1.0+20220121/google_translate3/api::ProjectLocationBatchTranslateTextCall), [*locations detect language*](https://docs.rs/google-translate3/3.1.0+20220121/google_translate3/api::ProjectLocationDetectLanguageCall), [*locations get*](https://docs.rs/google-translate3/3.1.0+20220121/google_translate3/api::ProjectLocationGetCall), [*locations get supported languages*](https://docs.rs/google-translate3/3.1.0+20220121/google_translate3/api::ProjectLocationGetSupportedLanguageCall), [*locations glossaries create*](https://docs.rs/google-translate3/3.1.0+20220121/google_translate3/api::ProjectLocationGlossaryCreateCall), [*locations glossaries delete*](https://docs.rs/google-translate3/3.1.0+20220121/google_translate3/api::ProjectLocationGlossaryDeleteCall), [*locations glossaries get*](https://docs.rs/google-translate3/3.1.0+20220121/google_translate3/api::ProjectLocationGlossaryGetCall), [*locations glossaries list*](https://docs.rs/google-translate3/3.1.0+20220121/google_translate3/api::ProjectLocationGlossaryListCall), [*locations list*](https://docs.rs/google-translate3/3.1.0+20220121/google_translate3/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-translate3/3.1.0+20220121/google_translate3/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-translate3/3.1.0+20220121/google_translate3/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-translate3/3.1.0+20220121/google_translate3/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-translate3/3.1.0+20220121/google_translate3/api::ProjectLocationOperationListCall), [*locations operations wait*](https://docs.rs/google-translate3/3.1.0+20220121/google_translate3/api::ProjectLocationOperationWaitCall), [*locations translate document*](https://docs.rs/google-translate3/3.1.0+20220121/google_translate3/api::ProjectLocationTranslateDocumentCall), [*locations translate text*](https://docs.rs/google-translate3/3.1.0+20220121/google_translate3/api::ProjectLocationTranslateTextCall) and [*translate text*](https://docs.rs/google-translate3/3.1.0+20220121/google_translate3/api::ProjectTranslateTextCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-translate3/3.0.0+20220121/google_translate3/Translate)** +* **[Hub](https://docs.rs/google-translate3/3.1.0+20220121/google_translate3/Translate)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-translate3/3.0.0+20220121/google_translate3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-translate3/3.0.0+20220121/google_translate3/client::CallBuilder) -* **[Resources](https://docs.rs/google-translate3/3.0.0+20220121/google_translate3/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-translate3/3.1.0+20220121/google_translate3/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-translate3/3.1.0+20220121/google_translate3/client::CallBuilder) +* **[Resources](https://docs.rs/google-translate3/3.1.0+20220121/google_translate3/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-translate3/3.0.0+20220121/google_translate3/client::Part)** + * **[Parts](https://docs.rs/google-translate3/3.1.0+20220121/google_translate3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-translate3/3.0.0+20220121/google_translate3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-translate3/3.1.0+20220121/google_translate3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -96,7 +96,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -129,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-translate3/3.0.0+20220121/google_translate3/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-translate3/3.1.0+20220121/google_translate3/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-translate3/3.0.0+20220121/google_translate3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-translate3/3.1.0+20220121/google_translate3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-translate3/3.0.0+20220121/google_translate3/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-translate3/3.1.0+20220121/google_translate3/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-translate3/3.0.0+20220121/google_translate3/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-translate3/3.1.0+20220121/google_translate3/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -149,29 +149,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-translate3/3.0.0+20220121/google_translate3/client::Delegate) to the -[Method Builder](https://docs.rs/google-translate3/3.0.0+20220121/google_translate3/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-translate3/3.1.0+20220121/google_translate3/client::Delegate) to the +[Method Builder](https://docs.rs/google-translate3/3.1.0+20220121/google_translate3/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-translate3/3.0.0+20220121/google_translate3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-translate3/3.1.0+20220121/google_translate3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-translate3/3.0.0+20220121/google_translate3/client::RequestValue) and -[decodable](https://docs.rs/google-translate3/3.0.0+20220121/google_translate3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-translate3/3.1.0+20220121/google_translate3/client::RequestValue) and +[decodable](https://docs.rs/google-translate3/3.1.0+20220121/google_translate3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-translate3/3.0.0+20220121/google_translate3/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-translate3/3.1.0+20220121/google_translate3/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-translate3/3.0.0+20220121/google_translate3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-translate3/3.1.0+20220121/google_translate3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-translate3/3.0.0+20220121/google_translate3/client::RequestValue) are moved +* [request values](https://docs.rs/google-translate3/3.1.0+20220121/google_translate3/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/translate3/src/api.rs b/gen/translate3/src/api.rs index 8c0010eb5b..ca737f67c7 100644 --- a/gen/translate3/src/api.rs +++ b/gen/translate3/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -123,7 +123,7 @@ impl<'a, > Translate<> { Translate { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://translation.googleapis.com/".to_string(), _root_url: "https://translation.googleapis.com/".to_string(), } @@ -134,7 +134,7 @@ impl<'a, > Translate<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -931,7 +931,7 @@ impl client::RequestValue for WaitOperationRequest {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `detect_language(...)`, `get_supported_languages(...)`, `locations_batch_translate_document(...)`, `locations_batch_translate_text(...)`, `locations_detect_language(...)`, `locations_get(...)`, `locations_get_supported_languages(...)`, `locations_glossaries_create(...)`, `locations_glossaries_delete(...)`, `locations_glossaries_get(...)`, `locations_glossaries_list(...)`, `locations_list(...)`, `locations_operations_cancel(...)`, `locations_operations_delete(...)`, `locations_operations_get(...)`, `locations_operations_list(...)`, `locations_operations_wait(...)`, `locations_translate_document(...)`, `locations_translate_text(...)` and `translate_text(...)` /// // to build up your call. @@ -1353,7 +1353,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1638,7 +1638,7 @@ impl<'a> ProjectLocationGlossaryCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1894,7 +1894,7 @@ impl<'a> ProjectLocationGlossaryDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2150,7 +2150,7 @@ impl<'a> ProjectLocationGlossaryGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2443,7 +2443,7 @@ impl<'a> ProjectLocationGlossaryListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2728,7 +2728,7 @@ impl<'a> ProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2984,7 +2984,7 @@ impl<'a> ProjectLocationOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3240,7 +3240,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3533,7 +3533,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3819,7 +3819,7 @@ impl<'a> ProjectLocationOperationWaitCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4105,7 +4105,7 @@ impl<'a> ProjectLocationBatchTranslateDocumentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4391,7 +4391,7 @@ impl<'a> ProjectLocationBatchTranslateTextCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4676,7 +4676,7 @@ impl<'a> ProjectLocationDetectLanguageCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4932,7 +4932,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5212,7 +5212,7 @@ impl<'a> ProjectLocationGetSupportedLanguageCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5505,7 +5505,7 @@ impl<'a> ProjectLocationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5791,7 +5791,7 @@ impl<'a> ProjectLocationTranslateDocumentCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6077,7 +6077,7 @@ impl<'a> ProjectLocationTranslateTextCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6362,7 +6362,7 @@ impl<'a> ProjectDetectLanguageCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6643,7 +6643,7 @@ impl<'a> ProjectGetSupportedLanguageCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/translate3/src/lib.rs b/gen/translate3/src/lib.rs index e35a6f2842..9260048532 100644 --- a/gen/translate3/src/lib.rs +++ b/gen/translate3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Translate* crate version *3.0.0+20220121*, where *20220121* is the exact revision of the *translate:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Translate* crate version *3.1.0+20220121*, where *20220121* is the exact revision of the *translate:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Translate* *v3* API can be found at the //! [official documentation site](https://cloud.google.com/translate/docs/quickstarts). @@ -97,7 +97,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Translate::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/urlshortener1-cli/Cargo.toml b/gen/urlshortener1-cli/Cargo.toml index 87dad078fa..c68e5512ae 100644 --- a/gen/urlshortener1-cli/Cargo.toml +++ b/gen/urlshortener1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-urlshortener1-cli" -version = "3.0.0+20150519" +version = "3.1.0+20150519" authors = ["Sebastian Thiel "] description = "A complete library to interact with urlshortener (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/urlshortener1-cli" @@ -20,12 +20,12 @@ name = "urlshortener1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-urlshortener1] path = "../urlshortener1" -version = "3.0.0+20150519" +version = "3.1.0+20150519" diff --git a/gen/urlshortener1-cli/README.md b/gen/urlshortener1-cli/README.md index 6018cc9889..c2c523ed1a 100644 --- a/gen/urlshortener1-cli/README.md +++ b/gen/urlshortener1-cli/README.md @@ -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 *urlshortener* API at revision *20150519*. The CLI is at version *3.0.0*. +This documentation was generated from the *urlshortener* API at revision *20150519*. The CLI is at version *3.1.0*. ```bash urlshortener1 [options] diff --git a/gen/urlshortener1-cli/mkdocs.yml b/gen/urlshortener1-cli/mkdocs.yml index f4a993ba8d..a7a14d1b5c 100644 --- a/gen/urlshortener1-cli/mkdocs.yml +++ b/gen/urlshortener1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: urlshortener v3.0.0+20150519 +site_name: urlshortener v3.1.0+20150519 site_url: http://byron.github.io/google-apis-rs/google-urlshortener1-cli site_description: A complete library to interact with urlshortener (protocol v1) diff --git a/gen/urlshortener1-cli/src/main.rs b/gen/urlshortener1-cli/src/main.rs index 4ac05609d8..f82361361c 100644 --- a/gen/urlshortener1-cli/src/main.rs +++ b/gen/urlshortener1-cli/src/main.rs @@ -312,7 +312,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/urlshortener1", 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::Urlshortener::new(client, auth), @@ -411,7 +417,7 @@ async fn main() { let mut app = App::new("urlshortener1") .author("Sebastian Thiel ") - .version("3.0.0+20150519") + .version("3.1.0+20150519") .about("Lets you create, inspect, and manage goo.gl short URLs") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_urlshortener1_cli") .arg(Arg::with_name("url") diff --git a/gen/urlshortener1/Cargo.toml b/gen/urlshortener1/Cargo.toml index 05a116f098..43212a1fb3 100644 --- a/gen/urlshortener1/Cargo.toml +++ b/gen/urlshortener1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-urlshortener1" -version = "3.0.0+20150519" +version = "3.1.0+20150519" authors = ["Sebastian Thiel "] description = "A complete library to interact with urlshortener (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/urlshortener1" homepage = "https://developers.google.com/url-shortener/v1/getting_started" -documentation = "https://docs.rs/google-urlshortener1/3.0.0+20150519" +documentation = "https://docs.rs/google-urlshortener1/3.1.0+20150519" license = "MIT" keywords = ["urlshortener", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/urlshortener1/README.md b/gen/urlshortener1/README.md index 037c3e4b65..777d4bd2cf 100644 --- a/gen/urlshortener1/README.md +++ b/gen/urlshortener1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-urlshortener1` library allows access to all features of the *Google urlshortener* service. -This documentation was generated from *urlshortener* crate version *3.0.0+20150519*, where *20150519* is the exact revision of the *urlshortener:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *urlshortener* crate version *3.1.0+20150519*, where *20150519* is the exact revision of the *urlshortener:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *urlshortener* *v1* API can be found at the [official documentation site](https://developers.google.com/url-shortener/v1/getting_started). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-urlshortener1/3.0.0+20150519/google_urlshortener1/Urlshortener) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-urlshortener1/3.1.0+20150519/google_urlshortener1/Urlshortener) ... -* [url](https://docs.rs/google-urlshortener1/3.0.0+20150519/google_urlshortener1/api::Url) - * [*get*](https://docs.rs/google-urlshortener1/3.0.0+20150519/google_urlshortener1/api::UrlGetCall), [*insert*](https://docs.rs/google-urlshortener1/3.0.0+20150519/google_urlshortener1/api::UrlInsertCall) and [*list*](https://docs.rs/google-urlshortener1/3.0.0+20150519/google_urlshortener1/api::UrlListCall) +* [url](https://docs.rs/google-urlshortener1/3.1.0+20150519/google_urlshortener1/api::Url) + * [*get*](https://docs.rs/google-urlshortener1/3.1.0+20150519/google_urlshortener1/api::UrlGetCall), [*insert*](https://docs.rs/google-urlshortener1/3.1.0+20150519/google_urlshortener1/api::UrlInsertCall) and [*list*](https://docs.rs/google-urlshortener1/3.1.0+20150519/google_urlshortener1/api::UrlListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-urlshortener1/3.0.0+20150519/google_urlshortener1/Urlshortener)** +* **[Hub](https://docs.rs/google-urlshortener1/3.1.0+20150519/google_urlshortener1/Urlshortener)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-urlshortener1/3.0.0+20150519/google_urlshortener1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-urlshortener1/3.0.0+20150519/google_urlshortener1/client::CallBuilder) -* **[Resources](https://docs.rs/google-urlshortener1/3.0.0+20150519/google_urlshortener1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-urlshortener1/3.1.0+20150519/google_urlshortener1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-urlshortener1/3.1.0+20150519/google_urlshortener1/client::CallBuilder) +* **[Resources](https://docs.rs/google-urlshortener1/3.1.0+20150519/google_urlshortener1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-urlshortener1/3.0.0+20150519/google_urlshortener1/client::Part)** + * **[Parts](https://docs.rs/google-urlshortener1/3.1.0+20150519/google_urlshortener1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-urlshortener1/3.0.0+20150519/google_urlshortener1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-urlshortener1/3.1.0+20150519/google_urlshortener1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -91,7 +91,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Urlshortener::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Urlshortener::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -120,17 +120,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-urlshortener1/3.0.0+20150519/google_urlshortener1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-urlshortener1/3.1.0+20150519/google_urlshortener1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-urlshortener1/3.0.0+20150519/google_urlshortener1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-urlshortener1/3.1.0+20150519/google_urlshortener1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-urlshortener1/3.0.0+20150519/google_urlshortener1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-urlshortener1/3.1.0+20150519/google_urlshortener1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-urlshortener1/3.0.0+20150519/google_urlshortener1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-urlshortener1/3.1.0+20150519/google_urlshortener1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -140,29 +140,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-urlshortener1/3.0.0+20150519/google_urlshortener1/client::Delegate) to the -[Method Builder](https://docs.rs/google-urlshortener1/3.0.0+20150519/google_urlshortener1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-urlshortener1/3.1.0+20150519/google_urlshortener1/client::Delegate) to the +[Method Builder](https://docs.rs/google-urlshortener1/3.1.0+20150519/google_urlshortener1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-urlshortener1/3.0.0+20150519/google_urlshortener1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-urlshortener1/3.1.0+20150519/google_urlshortener1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-urlshortener1/3.0.0+20150519/google_urlshortener1/client::RequestValue) and -[decodable](https://docs.rs/google-urlshortener1/3.0.0+20150519/google_urlshortener1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-urlshortener1/3.1.0+20150519/google_urlshortener1/client::RequestValue) and +[decodable](https://docs.rs/google-urlshortener1/3.1.0+20150519/google_urlshortener1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-urlshortener1/3.0.0+20150519/google_urlshortener1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-urlshortener1/3.1.0+20150519/google_urlshortener1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-urlshortener1/3.0.0+20150519/google_urlshortener1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-urlshortener1/3.1.0+20150519/google_urlshortener1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-urlshortener1/3.0.0+20150519/google_urlshortener1/client::RequestValue) are moved +* [request values](https://docs.rs/google-urlshortener1/3.1.0+20150519/google_urlshortener1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/urlshortener1/src/api.rs b/gen/urlshortener1/src/api.rs index 77259e498f..72100c700d 100644 --- a/gen/urlshortener1/src/api.rs +++ b/gen/urlshortener1/src/api.rs @@ -70,7 +70,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Urlshortener::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Urlshortener::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -114,7 +114,7 @@ impl<'a, > Urlshortener<> { Urlshortener { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/urlshortener/v1/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -125,7 +125,7 @@ impl<'a, > Urlshortener<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -302,7 +302,7 @@ impl client::ResponseResult for UrlHistory {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Urlshortener::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Urlshortener::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)`, `insert(...)` and `list(...)` /// // to build up your call. @@ -399,7 +399,7 @@ impl<'a> UrlMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Urlshortener::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Urlshortener::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -639,7 +639,7 @@ impl<'a> UrlGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Urlshortener::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Urlshortener::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -883,7 +883,7 @@ impl<'a> UrlInsertCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Urlshortener::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Urlshortener::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/urlshortener1/src/lib.rs b/gen/urlshortener1/src/lib.rs index 987e7e2749..bff8cdc872 100644 --- a/gen/urlshortener1/src/lib.rs +++ b/gen/urlshortener1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *urlshortener* crate version *3.0.0+20150519*, where *20150519* is the exact revision of the *urlshortener:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *urlshortener* crate version *3.1.0+20150519*, where *20150519* is the exact revision of the *urlshortener:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *urlshortener* *v1* API can be found at the //! [official documentation site](https://developers.google.com/url-shortener/v1/getting_started). @@ -92,7 +92,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Urlshortener::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Urlshortener::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/vault1-cli/Cargo.toml b/gen/vault1-cli/Cargo.toml index 331fb86e84..e8df9d7047 100644 --- a/gen/vault1-cli/Cargo.toml +++ b/gen/vault1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-vault1-cli" -version = "3.0.0+20220222" +version = "3.1.0+20220222" authors = ["Sebastian Thiel "] description = "A complete library to interact with Vault (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/vault1-cli" @@ -20,12 +20,12 @@ name = "vault1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-vault1] path = "../vault1" -version = "3.0.0+20220222" +version = "3.1.0+20220222" diff --git a/gen/vault1-cli/README.md b/gen/vault1-cli/README.md index 7d9f98b5c5..4a00acbcbf 100644 --- a/gen/vault1-cli/README.md +++ b/gen/vault1-cli/README.md @@ -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 *Vault* API at revision *20220222*. The CLI is at version *3.0.0*. +This documentation was generated from the *Vault* API at revision *20220222*. The CLI is at version *3.1.0*. ```bash vault1 [options] diff --git a/gen/vault1-cli/mkdocs.yml b/gen/vault1-cli/mkdocs.yml index 98e28048e8..c44c4a610f 100644 --- a/gen/vault1-cli/mkdocs.yml +++ b/gen/vault1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Vault v3.0.0+20220222 +site_name: Vault v3.1.0+20220222 site_url: http://byron.github.io/google-apis-rs/google-vault1-cli site_description: A complete library to interact with Vault (protocol v1) diff --git a/gen/vault1-cli/src/main.rs b/gen/vault1-cli/src/main.rs index d3f029caa1..1c6232d777 100644 --- a/gen/vault1-cli/src/main.rs +++ b/gen/vault1-cli/src/main.rs @@ -2603,7 +2603,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/vault1", 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::Vault::new(client, auth), @@ -3536,7 +3542,7 @@ async fn main() { let mut app = App::new("vault1") .author("Sebastian Thiel ") - .version("3.0.0+20220222") + .version("3.1.0+20220222") .about("Retention and eDiscovery for Google Workspace. To work with Vault resources, the account must have the [required Vault privileges](https://support.google.com/vault/answer/2799699) and access to the matter. To access a matter, the account must have created the matter, have the matter shared with them, or have the **View All Matters** privilege. For example, to download an export, an account needs the **Manage Exports** privilege and the matter shared with them. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_vault1_cli") .arg(Arg::with_name("url") diff --git a/gen/vault1/Cargo.toml b/gen/vault1/Cargo.toml index d7bf918a57..562dab1cca 100644 --- a/gen/vault1/Cargo.toml +++ b/gen/vault1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-vault1" -version = "3.0.0+20220222" +version = "3.1.0+20220222" authors = ["Sebastian Thiel "] description = "A complete library to interact with Vault (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/vault1" homepage = "https://developers.google.com/vault" -documentation = "https://docs.rs/google-vault1/3.0.0+20220222" +documentation = "https://docs.rs/google-vault1/3.1.0+20220222" license = "MIT" keywords = ["vault", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/vault1/README.md b/gen/vault1/README.md index d68a37fd3b..8f294affd8 100644 --- a/gen/vault1/README.md +++ b/gen/vault1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-vault1` library allows access to all features of the *Google Vault* service. -This documentation was generated from *Vault* crate version *3.0.0+20220222*, where *20220222* is the exact revision of the *vault:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Vault* crate version *3.1.0+20220222*, where *20220222* is the exact revision of the *vault:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Vault* *v1* API can be found at the [official documentation site](https://developers.google.com/vault). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/Vault) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/Vault) ... -* [matters](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/api::Matter) - * [*add permissions*](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/api::MatterAddPermissionCall), [*close*](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/api::MatterCloseCall), [*count*](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/api::MatterCountCall), [*create*](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/api::MatterCreateCall), [*delete*](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/api::MatterDeleteCall), [*exports create*](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/api::MatterExportCreateCall), [*exports delete*](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/api::MatterExportDeleteCall), [*exports get*](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/api::MatterExportGetCall), [*exports list*](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/api::MatterExportListCall), [*get*](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/api::MatterGetCall), [*holds accounts create*](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/api::MatterHoldAccountCreateCall), [*holds accounts delete*](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/api::MatterHoldAccountDeleteCall), [*holds accounts list*](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/api::MatterHoldAccountListCall), [*holds add held accounts*](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/api::MatterHoldAddHeldAccountCall), [*holds create*](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/api::MatterHoldCreateCall), [*holds delete*](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/api::MatterHoldDeleteCall), [*holds get*](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/api::MatterHoldGetCall), [*holds list*](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/api::MatterHoldListCall), [*holds remove held accounts*](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/api::MatterHoldRemoveHeldAccountCall), [*holds update*](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/api::MatterHoldUpdateCall), [*list*](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/api::MatterListCall), [*remove permissions*](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/api::MatterRemovePermissionCall), [*reopen*](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/api::MatterReopenCall), [*saved queries create*](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/api::MatterSavedQueryCreateCall), [*saved queries delete*](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/api::MatterSavedQueryDeleteCall), [*saved queries get*](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/api::MatterSavedQueryGetCall), [*saved queries list*](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/api::MatterSavedQueryListCall), [*undelete*](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/api::MatterUndeleteCall) and [*update*](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/api::MatterUpdateCall) -* [operations](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/api::Operation) - * [*cancel*](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/api::OperationCancelCall), [*delete*](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/api::OperationDeleteCall), [*get*](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/api::OperationGetCall) and [*list*](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/api::OperationListCall) +* [matters](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/api::Matter) + * [*add permissions*](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/api::MatterAddPermissionCall), [*close*](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/api::MatterCloseCall), [*count*](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/api::MatterCountCall), [*create*](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/api::MatterCreateCall), [*delete*](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/api::MatterDeleteCall), [*exports create*](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/api::MatterExportCreateCall), [*exports delete*](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/api::MatterExportDeleteCall), [*exports get*](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/api::MatterExportGetCall), [*exports list*](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/api::MatterExportListCall), [*get*](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/api::MatterGetCall), [*holds accounts create*](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/api::MatterHoldAccountCreateCall), [*holds accounts delete*](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/api::MatterHoldAccountDeleteCall), [*holds accounts list*](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/api::MatterHoldAccountListCall), [*holds add held accounts*](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/api::MatterHoldAddHeldAccountCall), [*holds create*](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/api::MatterHoldCreateCall), [*holds delete*](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/api::MatterHoldDeleteCall), [*holds get*](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/api::MatterHoldGetCall), [*holds list*](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/api::MatterHoldListCall), [*holds remove held accounts*](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/api::MatterHoldRemoveHeldAccountCall), [*holds update*](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/api::MatterHoldUpdateCall), [*list*](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/api::MatterListCall), [*remove permissions*](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/api::MatterRemovePermissionCall), [*reopen*](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/api::MatterReopenCall), [*saved queries create*](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/api::MatterSavedQueryCreateCall), [*saved queries delete*](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/api::MatterSavedQueryDeleteCall), [*saved queries get*](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/api::MatterSavedQueryGetCall), [*saved queries list*](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/api::MatterSavedQueryListCall), [*undelete*](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/api::MatterUndeleteCall) and [*update*](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/api::MatterUpdateCall) +* [operations](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/api::Operation) + * [*cancel*](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/api::OperationCancelCall), [*delete*](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/api::OperationDeleteCall), [*get*](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/api::OperationGetCall) and [*list*](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/api::OperationListCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/Vault)** +* **[Hub](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/Vault)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/client::CallBuilder) -* **[Resources](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/client::CallBuilder) +* **[Resources](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/client::Part)** + * **[Parts](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -120,7 +120,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -151,17 +151,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -171,29 +171,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/client::Delegate) to the -[Method Builder](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/client::Delegate) to the +[Method Builder](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/client::RequestValue) and -[decodable](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/client::RequestValue) and +[decodable](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-vault1/3.0.0+20220222/google_vault1/client::RequestValue) are moved +* [request values](https://docs.rs/google-vault1/3.1.0+20220222/google_vault1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/vault1/src/api.rs b/gen/vault1/src/api.rs index 67bbf10d29..855a0ac980 100644 --- a/gen/vault1/src/api.rs +++ b/gen/vault1/src/api.rs @@ -74,7 +74,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > Vault<> { Vault { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://vault.googleapis.com/".to_string(), _root_url: "https://vault.googleapis.com/".to_string(), } @@ -134,7 +134,7 @@ impl<'a, > Vault<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1343,7 +1343,7 @@ impl client::Part for VoiceOptions {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `add_permissions(...)`, `close(...)`, `count(...)`, `create(...)`, `delete(...)`, `exports_create(...)`, `exports_delete(...)`, `exports_get(...)`, `exports_list(...)`, `get(...)`, `holds_accounts_create(...)`, `holds_accounts_delete(...)`, `holds_accounts_list(...)`, `holds_add_held_accounts(...)`, `holds_create(...)`, `holds_delete(...)`, `holds_get(...)`, `holds_list(...)`, `holds_remove_held_accounts(...)`, `holds_update(...)`, `list(...)`, `remove_permissions(...)`, `reopen(...)`, `saved_queries_create(...)`, `saved_queries_delete(...)`, `saved_queries_get(...)`, `saved_queries_list(...)`, `undelete(...)` and `update(...)` /// // to build up your call. @@ -1939,7 +1939,7 @@ impl<'a> MatterMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `cancel(...)`, `delete(...)`, `get(...)` and `list(...)` /// // to build up your call. @@ -2058,7 +2058,7 @@ impl<'a> OperationMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2339,7 +2339,7 @@ impl<'a> MatterExportCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2603,7 +2603,7 @@ impl<'a> MatterExportDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2867,7 +2867,7 @@ impl<'a> MatterExportGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3144,7 +3144,7 @@ impl<'a> MatterExportListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3437,7 +3437,7 @@ impl<'a> MatterHoldAccountCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3713,7 +3713,7 @@ impl<'a> MatterHoldAccountDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3978,7 +3978,7 @@ impl<'a> MatterHoldAccountListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4272,7 +4272,7 @@ impl<'a> MatterHoldAddHeldAccountCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4553,7 +4553,7 @@ impl<'a> MatterHoldCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4817,7 +4817,7 @@ impl<'a> MatterHoldDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5093,7 +5093,7 @@ impl<'a> MatterHoldGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5382,7 +5382,7 @@ impl<'a> MatterHoldListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5676,7 +5676,7 @@ impl<'a> MatterHoldRemoveHeldAccountCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5970,7 +5970,7 @@ impl<'a> MatterHoldUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6251,7 +6251,7 @@ impl<'a> MatterSavedQueryCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6515,7 +6515,7 @@ impl<'a> MatterSavedQueryDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6779,7 +6779,7 @@ impl<'a> MatterSavedQueryGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7056,7 +7056,7 @@ impl<'a> MatterSavedQueryListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7338,7 +7338,7 @@ impl<'a> MatterAddPermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7620,7 +7620,7 @@ impl<'a> MatterCloseCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7902,7 +7902,7 @@ impl<'a> MatterCountCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8150,7 +8150,7 @@ impl<'a> MatterCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8402,7 +8402,7 @@ impl<'a> MatterDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8666,7 +8666,7 @@ impl<'a> MatterGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8934,7 +8934,7 @@ impl<'a> MatterListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9216,7 +9216,7 @@ impl<'a> MatterRemovePermissionCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9498,7 +9498,7 @@ impl<'a> MatterReopenCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9780,7 +9780,7 @@ impl<'a> MatterUndeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10062,7 +10062,7 @@ impl<'a> MatterUpdateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10317,7 +10317,7 @@ impl<'a> OperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10543,7 +10543,7 @@ impl<'a> OperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10799,7 +10799,7 @@ impl<'a> OperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/vault1/src/lib.rs b/gen/vault1/src/lib.rs index d91b529ca7..37a74f5a6f 100644 --- a/gen/vault1/src/lib.rs +++ b/gen/vault1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Vault* crate version *3.0.0+20220222*, where *20220222* is the exact revision of the *vault:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Vault* crate version *3.1.0+20220222*, where *20220222* is the exact revision of the *vault:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Vault* *v1* API can be found at the //! [official documentation site](https://developers.google.com/vault). @@ -121,7 +121,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Vault::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/vectortile1-cli/Cargo.toml b/gen/vectortile1-cli/Cargo.toml index ca98016407..5e7621304c 100644 --- a/gen/vectortile1-cli/Cargo.toml +++ b/gen/vectortile1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-vectortile1-cli" -version = "3.0.0+20210331" +version = "3.1.0+20210331" authors = ["Sebastian Thiel "] description = "A complete library to interact with Semantic Tile (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/vectortile1-cli" @@ -20,12 +20,12 @@ name = "vectortile1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-vectortile1] path = "../vectortile1" -version = "3.0.0+20210331" +version = "3.1.0+20210331" diff --git a/gen/vectortile1-cli/README.md b/gen/vectortile1-cli/README.md index 0a13f1c25d..0c34210d17 100644 --- a/gen/vectortile1-cli/README.md +++ b/gen/vectortile1-cli/README.md @@ -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 *Semantic Tile* API at revision *20210331*. The CLI is at version *3.0.0*. +This documentation was generated from the *Semantic Tile* API at revision *20210331*. The CLI is at version *3.1.0*. ```bash vectortile1 [options] diff --git a/gen/vectortile1-cli/mkdocs.yml b/gen/vectortile1-cli/mkdocs.yml index eb0edfa5ca..ddc88a482d 100644 --- a/gen/vectortile1-cli/mkdocs.yml +++ b/gen/vectortile1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Semantic Tile v3.0.0+20210331 +site_name: Semantic Tile v3.1.0+20210331 site_url: http://byron.github.io/google-apis-rs/google-vectortile1-cli site_description: A complete library to interact with Semantic Tile (protocol v1) diff --git a/gen/vectortile1-cli/src/main.rs b/gen/vectortile1-cli/src/main.rs index d81f11d1f2..e452c01909 100644 --- a/gen/vectortile1-cli/src/main.rs +++ b/gen/vectortile1-cli/src/main.rs @@ -287,7 +287,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/vectortile1", 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::SemanticTile::new(client, auth), @@ -376,7 +382,7 @@ async fn main() { let mut app = App::new("vectortile1") .author("Sebastian Thiel ") - .version("3.0.0+20210331") + .version("3.1.0+20210331") .about("Serves vector tiles containing geospatial data. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_vectortile1_cli") .arg(Arg::with_name("folder") diff --git a/gen/vectortile1/Cargo.toml b/gen/vectortile1/Cargo.toml index b84471fd1a..fa2e1ece9f 100644 --- a/gen/vectortile1/Cargo.toml +++ b/gen/vectortile1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-vectortile1" -version = "3.0.0+20210331" +version = "3.1.0+20210331" authors = ["Sebastian Thiel "] description = "A complete library to interact with Semantic Tile (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/vectortile1" homepage = "https://developers.google.com/maps/contact-sales/" -documentation = "https://docs.rs/google-vectortile1/3.0.0+20210331" +documentation = "https://docs.rs/google-vectortile1/3.1.0+20210331" license = "MIT" keywords = ["vectortile", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/vectortile1/README.md b/gen/vectortile1/README.md index 5881cfbe39..20a5f5121c 100644 --- a/gen/vectortile1/README.md +++ b/gen/vectortile1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-vectortile1` library allows access to all features of the *Google Semantic Tile* service. -This documentation was generated from *Semantic Tile* crate version *3.0.0+20210331*, where *20210331* is the exact revision of the *vectortile:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Semantic Tile* crate version *3.1.0+20210331*, where *20210331* is the exact revision of the *vectortile:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Semantic Tile* *v1* API can be found at the [official documentation site](https://developers.google.com/maps/contact-sales/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-vectortile1/3.0.0+20210331/google_vectortile1/SemanticTile) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-vectortile1/3.1.0+20210331/google_vectortile1/SemanticTile) ... * featuretiles - * [*get*](https://docs.rs/google-vectortile1/3.0.0+20210331/google_vectortile1/api::FeaturetileGetCall) + * [*get*](https://docs.rs/google-vectortile1/3.1.0+20210331/google_vectortile1/api::FeaturetileGetCall) * terraintiles - * [*get*](https://docs.rs/google-vectortile1/3.0.0+20210331/google_vectortile1/api::TerraintileGetCall) + * [*get*](https://docs.rs/google-vectortile1/3.1.0+20210331/google_vectortile1/api::TerraintileGetCall) @@ -25,17 +25,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-vectortile1/3.0.0+20210331/google_vectortile1/SemanticTile)** +* **[Hub](https://docs.rs/google-vectortile1/3.1.0+20210331/google_vectortile1/SemanticTile)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-vectortile1/3.0.0+20210331/google_vectortile1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-vectortile1/3.0.0+20210331/google_vectortile1/client::CallBuilder) -* **[Resources](https://docs.rs/google-vectortile1/3.0.0+20210331/google_vectortile1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-vectortile1/3.1.0+20210331/google_vectortile1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-vectortile1/3.1.0+20210331/google_vectortile1/client::CallBuilder) +* **[Resources](https://docs.rs/google-vectortile1/3.1.0+20210331/google_vectortile1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-vectortile1/3.0.0+20210331/google_vectortile1/client::Part)** + * **[Parts](https://docs.rs/google-vectortile1/3.1.0+20210331/google_vectortile1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-vectortile1/3.0.0+20210331/google_vectortile1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-vectortile1/3.1.0+20210331/google_vectortile1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -92,7 +92,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = SemanticTile::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = SemanticTile::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -137,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-vectortile1/3.0.0+20210331/google_vectortile1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-vectortile1/3.1.0+20210331/google_vectortile1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-vectortile1/3.0.0+20210331/google_vectortile1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-vectortile1/3.1.0+20210331/google_vectortile1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-vectortile1/3.0.0+20210331/google_vectortile1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-vectortile1/3.1.0+20210331/google_vectortile1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-vectortile1/3.0.0+20210331/google_vectortile1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-vectortile1/3.1.0+20210331/google_vectortile1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -157,29 +157,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-vectortile1/3.0.0+20210331/google_vectortile1/client::Delegate) to the -[Method Builder](https://docs.rs/google-vectortile1/3.0.0+20210331/google_vectortile1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-vectortile1/3.1.0+20210331/google_vectortile1/client::Delegate) to the +[Method Builder](https://docs.rs/google-vectortile1/3.1.0+20210331/google_vectortile1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-vectortile1/3.0.0+20210331/google_vectortile1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-vectortile1/3.1.0+20210331/google_vectortile1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-vectortile1/3.0.0+20210331/google_vectortile1/client::RequestValue) and -[decodable](https://docs.rs/google-vectortile1/3.0.0+20210331/google_vectortile1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-vectortile1/3.1.0+20210331/google_vectortile1/client::RequestValue) and +[decodable](https://docs.rs/google-vectortile1/3.1.0+20210331/google_vectortile1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-vectortile1/3.0.0+20210331/google_vectortile1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-vectortile1/3.1.0+20210331/google_vectortile1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-vectortile1/3.0.0+20210331/google_vectortile1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-vectortile1/3.1.0+20210331/google_vectortile1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-vectortile1/3.0.0+20210331/google_vectortile1/client::RequestValue) are moved +* [request values](https://docs.rs/google-vectortile1/3.1.0+20210331/google_vectortile1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/vectortile1/src/api.rs b/gen/vectortile1/src/api.rs index 7375242de5..f0d1198130 100644 --- a/gen/vectortile1/src/api.rs +++ b/gen/vectortile1/src/api.rs @@ -48,7 +48,7 @@ use crate::client; /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SemanticTile::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SemanticTile::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -108,7 +108,7 @@ impl<'a, > SemanticTile<> { SemanticTile { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://vectortile.googleapis.com/".to_string(), _root_url: "https://vectortile.googleapis.com/".to_string(), } @@ -122,7 +122,7 @@ impl<'a, > SemanticTile<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -570,7 +570,7 @@ impl client::Part for Vertex3DList {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SemanticTile::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SemanticTile::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -644,7 +644,7 @@ impl<'a> FeaturetileMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = SemanticTile::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = SemanticTile::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `get(...)` /// // to build up your call. @@ -719,7 +719,7 @@ impl<'a> TerraintileMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SemanticTile::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SemanticTile::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1149,7 +1149,7 @@ impl<'a> FeaturetileGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = SemanticTile::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = SemanticTile::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/vectortile1/src/lib.rs b/gen/vectortile1/src/lib.rs index 5a5a088ee6..398290bfeb 100644 --- a/gen/vectortile1/src/lib.rs +++ b/gen/vectortile1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Semantic Tile* crate version *3.0.0+20210331*, where *20210331* is the exact revision of the *vectortile:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Semantic Tile* crate version *3.1.0+20210331*, where *20210331* is the exact revision of the *vectortile:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Semantic Tile* *v1* API can be found at the //! [official documentation site](https://developers.google.com/maps/contact-sales/). @@ -93,7 +93,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = SemanticTile::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = SemanticTile::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/verifiedaccess1-cli/Cargo.toml b/gen/verifiedaccess1-cli/Cargo.toml index 36fcb353f5..280476d8fc 100644 --- a/gen/verifiedaccess1-cli/Cargo.toml +++ b/gen/verifiedaccess1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-verifiedaccess1-cli" -version = "3.0.0+20220215" +version = "3.1.0+20220215" authors = ["Sebastian Thiel "] description = "A complete library to interact with verifiedaccess (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/verifiedaccess1-cli" @@ -20,12 +20,12 @@ name = "verifiedaccess1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-verifiedaccess1] path = "../verifiedaccess1" -version = "3.0.0+20220215" +version = "3.1.0+20220215" diff --git a/gen/verifiedaccess1-cli/README.md b/gen/verifiedaccess1-cli/README.md index 5fe05b05d4..26f5b070b3 100644 --- a/gen/verifiedaccess1-cli/README.md +++ b/gen/verifiedaccess1-cli/README.md @@ -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 *verifiedaccess* API at revision *20220215*. The CLI is at version *3.0.0*. +This documentation was generated from the *verifiedaccess* API at revision *20220215*. The CLI is at version *3.1.0*. ```bash verifiedaccess1 [options] diff --git a/gen/verifiedaccess1-cli/mkdocs.yml b/gen/verifiedaccess1-cli/mkdocs.yml index f95cb4108f..2247b43145 100644 --- a/gen/verifiedaccess1-cli/mkdocs.yml +++ b/gen/verifiedaccess1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: verifiedaccess v3.0.0+20220215 +site_name: verifiedaccess v3.1.0+20220215 site_url: http://byron.github.io/google-apis-rs/google-verifiedaccess1-cli site_description: A complete library to interact with verifiedaccess (protocol v1) diff --git a/gen/verifiedaccess1-cli/src/main.rs b/gen/verifiedaccess1-cli/src/main.rs index 6952ee50b3..6c53be95dc 100644 --- a/gen/verifiedaccess1-cli/src/main.rs +++ b/gen/verifiedaccess1-cli/src/main.rs @@ -266,7 +266,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/verifiedaccess1", 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::Verifiedaccess::new(client, auth), @@ -352,7 +358,7 @@ async fn main() { let mut app = App::new("verifiedaccess1") .author("Sebastian Thiel ") - .version("3.0.0+20220215") + .version("3.1.0+20220215") .about("API for Verified Access chrome extension to provide credential verification for chrome devices connecting to an enterprise network") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_verifiedaccess1_cli") .arg(Arg::with_name("url") diff --git a/gen/verifiedaccess1/Cargo.toml b/gen/verifiedaccess1/Cargo.toml index f8ef6f04d0..641699de6c 100644 --- a/gen/verifiedaccess1/Cargo.toml +++ b/gen/verifiedaccess1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-verifiedaccess1" -version = "3.0.0+20220215" +version = "3.1.0+20220215" authors = ["Sebastian Thiel "] description = "A complete library to interact with verifiedaccess (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/verifiedaccess1" homepage = "https://developers.google.com/chrome/verified-access" -documentation = "https://docs.rs/google-verifiedaccess1/3.0.0+20220215" +documentation = "https://docs.rs/google-verifiedaccess1/3.1.0+20220215" license = "MIT" keywords = ["verifiedaccess", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/verifiedaccess1/README.md b/gen/verifiedaccess1/README.md index db2ac060c3..07cf79654c 100644 --- a/gen/verifiedaccess1/README.md +++ b/gen/verifiedaccess1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-verifiedaccess1` library allows access to all features of the *Google verifiedaccess* service. -This documentation was generated from *verifiedaccess* crate version *3.0.0+20220215*, where *20220215* is the exact revision of the *verifiedaccess:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *verifiedaccess* crate version *3.1.0+20220215*, where *20220215* is the exact revision of the *verifiedaccess:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *verifiedaccess* *v1* API can be found at the [official documentation site](https://developers.google.com/chrome/verified-access). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-verifiedaccess1/3.0.0+20220215/google_verifiedaccess1/Verifiedaccess) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-verifiedaccess1/3.1.0+20220215/google_verifiedaccess1/Verifiedaccess) ... -* [challenge](https://docs.rs/google-verifiedaccess1/3.0.0+20220215/google_verifiedaccess1/api::Challenge) - * [*create*](https://docs.rs/google-verifiedaccess1/3.0.0+20220215/google_verifiedaccess1/api::ChallengeCreateCall) and [*verify*](https://docs.rs/google-verifiedaccess1/3.0.0+20220215/google_verifiedaccess1/api::ChallengeVerifyCall) +* [challenge](https://docs.rs/google-verifiedaccess1/3.1.0+20220215/google_verifiedaccess1/api::Challenge) + * [*create*](https://docs.rs/google-verifiedaccess1/3.1.0+20220215/google_verifiedaccess1/api::ChallengeCreateCall) and [*verify*](https://docs.rs/google-verifiedaccess1/3.1.0+20220215/google_verifiedaccess1/api::ChallengeVerifyCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-verifiedaccess1/3.0.0+20220215/google_verifiedaccess1/Verifiedaccess)** +* **[Hub](https://docs.rs/google-verifiedaccess1/3.1.0+20220215/google_verifiedaccess1/Verifiedaccess)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-verifiedaccess1/3.0.0+20220215/google_verifiedaccess1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-verifiedaccess1/3.0.0+20220215/google_verifiedaccess1/client::CallBuilder) -* **[Resources](https://docs.rs/google-verifiedaccess1/3.0.0+20220215/google_verifiedaccess1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-verifiedaccess1/3.1.0+20220215/google_verifiedaccess1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-verifiedaccess1/3.1.0+20220215/google_verifiedaccess1/client::CallBuilder) +* **[Resources](https://docs.rs/google-verifiedaccess1/3.1.0+20220215/google_verifiedaccess1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-verifiedaccess1/3.0.0+20220215/google_verifiedaccess1/client::Part)** + * **[Parts](https://docs.rs/google-verifiedaccess1/3.1.0+20220215/google_verifiedaccess1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-verifiedaccess1/3.0.0+20220215/google_verifiedaccess1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-verifiedaccess1/3.1.0+20220215/google_verifiedaccess1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -91,7 +91,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Verifiedaccess::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Verifiedaccess::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -124,17 +124,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-verifiedaccess1/3.0.0+20220215/google_verifiedaccess1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-verifiedaccess1/3.1.0+20220215/google_verifiedaccess1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-verifiedaccess1/3.0.0+20220215/google_verifiedaccess1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-verifiedaccess1/3.1.0+20220215/google_verifiedaccess1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-verifiedaccess1/3.0.0+20220215/google_verifiedaccess1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-verifiedaccess1/3.1.0+20220215/google_verifiedaccess1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-verifiedaccess1/3.0.0+20220215/google_verifiedaccess1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-verifiedaccess1/3.1.0+20220215/google_verifiedaccess1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -144,29 +144,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-verifiedaccess1/3.0.0+20220215/google_verifiedaccess1/client::Delegate) to the -[Method Builder](https://docs.rs/google-verifiedaccess1/3.0.0+20220215/google_verifiedaccess1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-verifiedaccess1/3.1.0+20220215/google_verifiedaccess1/client::Delegate) to the +[Method Builder](https://docs.rs/google-verifiedaccess1/3.1.0+20220215/google_verifiedaccess1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-verifiedaccess1/3.0.0+20220215/google_verifiedaccess1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-verifiedaccess1/3.1.0+20220215/google_verifiedaccess1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-verifiedaccess1/3.0.0+20220215/google_verifiedaccess1/client::RequestValue) and -[decodable](https://docs.rs/google-verifiedaccess1/3.0.0+20220215/google_verifiedaccess1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-verifiedaccess1/3.1.0+20220215/google_verifiedaccess1/client::RequestValue) and +[decodable](https://docs.rs/google-verifiedaccess1/3.1.0+20220215/google_verifiedaccess1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-verifiedaccess1/3.0.0+20220215/google_verifiedaccess1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-verifiedaccess1/3.1.0+20220215/google_verifiedaccess1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-verifiedaccess1/3.0.0+20220215/google_verifiedaccess1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-verifiedaccess1/3.1.0+20220215/google_verifiedaccess1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-verifiedaccess1/3.0.0+20220215/google_verifiedaccess1/client::RequestValue) are moved +* [request values](https://docs.rs/google-verifiedaccess1/3.1.0+20220215/google_verifiedaccess1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/verifiedaccess1/src/api.rs b/gen/verifiedaccess1/src/api.rs index db3e459cea..d37f64efb0 100644 --- a/gen/verifiedaccess1/src/api.rs +++ b/gen/verifiedaccess1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Verifiedaccess::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Verifiedaccess::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > Verifiedaccess<> { Verifiedaccess { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://verifiedaccess.googleapis.com/".to_string(), _root_url: "https://verifiedaccess.googleapis.com/".to_string(), } @@ -130,7 +130,7 @@ impl<'a, > Verifiedaccess<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -285,7 +285,7 @@ impl client::ResponseResult for VerifyChallengeResponseResult {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Verifiedaccess::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Verifiedaccess::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)` and `verify(...)` /// // to build up your call. @@ -368,7 +368,7 @@ impl<'a> ChallengeMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Verifiedaccess::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Verifiedaccess::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -617,7 +617,7 @@ impl<'a> ChallengeCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Verifiedaccess::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Verifiedaccess::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/verifiedaccess1/src/lib.rs b/gen/verifiedaccess1/src/lib.rs index 20040a078e..179fd85033 100644 --- a/gen/verifiedaccess1/src/lib.rs +++ b/gen/verifiedaccess1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *verifiedaccess* crate version *3.0.0+20220215*, where *20220215* is the exact revision of the *verifiedaccess:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *verifiedaccess* crate version *3.1.0+20220215*, where *20220215* is the exact revision of the *verifiedaccess:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *verifiedaccess* *v1* API can be found at the //! [official documentation site](https://developers.google.com/chrome/verified-access). @@ -92,7 +92,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Verifiedaccess::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Verifiedaccess::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/versionhistory1-cli/Cargo.toml b/gen/versionhistory1-cli/Cargo.toml index 0be026a5b5..82c090ef08 100644 --- a/gen/versionhistory1-cli/Cargo.toml +++ b/gen/versionhistory1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-versionhistory1-cli" -version = "3.0.0+20220307" +version = "3.1.0+20220307" authors = ["Sebastian Thiel "] description = "A complete library to interact with Version History (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/versionhistory1-cli" @@ -20,12 +20,12 @@ name = "versionhistory1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-versionhistory1] path = "../versionhistory1" -version = "3.0.0+20220307" +version = "3.1.0+20220307" diff --git a/gen/versionhistory1-cli/README.md b/gen/versionhistory1-cli/README.md index 06a9ce1f88..bdc82cf8e0 100644 --- a/gen/versionhistory1-cli/README.md +++ b/gen/versionhistory1-cli/README.md @@ -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 *Version History* API at revision *20220307*. The CLI is at version *3.0.0*. +This documentation was generated from the *Version History* API at revision *20220307*. The CLI is at version *3.1.0*. ```bash versionhistory1 [options] diff --git a/gen/versionhistory1-cli/mkdocs.yml b/gen/versionhistory1-cli/mkdocs.yml index cd953edd5b..46870fa84e 100644 --- a/gen/versionhistory1-cli/mkdocs.yml +++ b/gen/versionhistory1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Version History v3.0.0+20220307 +site_name: Version History v3.1.0+20220307 site_url: http://byron.github.io/google-apis-rs/google-versionhistory1-cli site_description: A complete library to interact with Version History (protocol v1) diff --git a/gen/versionhistory1-cli/src/main.rs b/gen/versionhistory1-cli/src/main.rs index 4448a7d293..69c9624d2b 100644 --- a/gen/versionhistory1-cli/src/main.rs +++ b/gen/versionhistory1-cli/src/main.rs @@ -337,7 +337,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/versionhistory1", 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::VersionHistory::new(client, auth), @@ -467,7 +473,7 @@ async fn main() { let mut app = App::new("versionhistory1") .author("Sebastian Thiel ") - .version("3.0.0+20220307") + .version("3.1.0+20220307") .about("Version History API - Prod") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_versionhistory1_cli") .arg(Arg::with_name("folder") diff --git a/gen/versionhistory1/Cargo.toml b/gen/versionhistory1/Cargo.toml index 978fb20249..6aec2da4c6 100644 --- a/gen/versionhistory1/Cargo.toml +++ b/gen/versionhistory1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-versionhistory1" -version = "3.0.0+20220307" +version = "3.1.0+20220307" authors = ["Sebastian Thiel "] description = "A complete library to interact with Version History (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/versionhistory1" homepage = "https://developers.chrome.com/versionhistory" -documentation = "https://docs.rs/google-versionhistory1/3.0.0+20220307" +documentation = "https://docs.rs/google-versionhistory1/3.1.0+20220307" license = "MIT" keywords = ["versionhistory", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/versionhistory1/README.md b/gen/versionhistory1/README.md index 0602eda898..e0c6f3a36c 100644 --- a/gen/versionhistory1/README.md +++ b/gen/versionhistory1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-versionhistory1` library allows access to all features of the *Google Version History* service. -This documentation was generated from *Version History* crate version *3.0.0+20220307*, where *20220307* is the exact revision of the *versionhistory:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Version History* crate version *3.1.0+20220307*, where *20220307* is the exact revision of the *versionhistory:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Version History* *v1* API can be found at the [official documentation site](https://developers.chrome.com/versionhistory). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-versionhistory1/3.0.0+20220307/google_versionhistory1/VersionHistory) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-versionhistory1/3.1.0+20220307/google_versionhistory1/VersionHistory) ... -* [platforms](https://docs.rs/google-versionhistory1/3.0.0+20220307/google_versionhistory1/api::Platform) - * [*channels list*](https://docs.rs/google-versionhistory1/3.0.0+20220307/google_versionhistory1/api::PlatformChannelListCall), [*channels versions list*](https://docs.rs/google-versionhistory1/3.0.0+20220307/google_versionhistory1/api::PlatformChannelVersionListCall), [*channels versions releases list*](https://docs.rs/google-versionhistory1/3.0.0+20220307/google_versionhistory1/api::PlatformChannelVersionReleaseListCall) and [*list*](https://docs.rs/google-versionhistory1/3.0.0+20220307/google_versionhistory1/api::PlatformListCall) +* [platforms](https://docs.rs/google-versionhistory1/3.1.0+20220307/google_versionhistory1/api::Platform) + * [*channels list*](https://docs.rs/google-versionhistory1/3.1.0+20220307/google_versionhistory1/api::PlatformChannelListCall), [*channels versions list*](https://docs.rs/google-versionhistory1/3.1.0+20220307/google_versionhistory1/api::PlatformChannelVersionListCall), [*channels versions releases list*](https://docs.rs/google-versionhistory1/3.1.0+20220307/google_versionhistory1/api::PlatformChannelVersionReleaseListCall) and [*list*](https://docs.rs/google-versionhistory1/3.1.0+20220307/google_versionhistory1/api::PlatformListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-versionhistory1/3.0.0+20220307/google_versionhistory1/VersionHistory)** +* **[Hub](https://docs.rs/google-versionhistory1/3.1.0+20220307/google_versionhistory1/VersionHistory)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-versionhistory1/3.0.0+20220307/google_versionhistory1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-versionhistory1/3.0.0+20220307/google_versionhistory1/client::CallBuilder) -* **[Resources](https://docs.rs/google-versionhistory1/3.0.0+20220307/google_versionhistory1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-versionhistory1/3.1.0+20220307/google_versionhistory1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-versionhistory1/3.1.0+20220307/google_versionhistory1/client::CallBuilder) +* **[Resources](https://docs.rs/google-versionhistory1/3.1.0+20220307/google_versionhistory1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-versionhistory1/3.0.0+20220307/google_versionhistory1/client::Part)** + * **[Parts](https://docs.rs/google-versionhistory1/3.1.0+20220307/google_versionhistory1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-versionhistory1/3.0.0+20220307/google_versionhistory1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-versionhistory1/3.1.0+20220307/google_versionhistory1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -93,7 +93,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = VersionHistory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = VersionHistory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -125,17 +125,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-versionhistory1/3.0.0+20220307/google_versionhistory1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-versionhistory1/3.1.0+20220307/google_versionhistory1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-versionhistory1/3.0.0+20220307/google_versionhistory1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-versionhistory1/3.1.0+20220307/google_versionhistory1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-versionhistory1/3.0.0+20220307/google_versionhistory1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-versionhistory1/3.1.0+20220307/google_versionhistory1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-versionhistory1/3.0.0+20220307/google_versionhistory1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-versionhistory1/3.1.0+20220307/google_versionhistory1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -145,29 +145,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-versionhistory1/3.0.0+20220307/google_versionhistory1/client::Delegate) to the -[Method Builder](https://docs.rs/google-versionhistory1/3.0.0+20220307/google_versionhistory1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-versionhistory1/3.1.0+20220307/google_versionhistory1/client::Delegate) to the +[Method Builder](https://docs.rs/google-versionhistory1/3.1.0+20220307/google_versionhistory1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-versionhistory1/3.0.0+20220307/google_versionhistory1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-versionhistory1/3.1.0+20220307/google_versionhistory1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-versionhistory1/3.0.0+20220307/google_versionhistory1/client::RequestValue) and -[decodable](https://docs.rs/google-versionhistory1/3.0.0+20220307/google_versionhistory1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-versionhistory1/3.1.0+20220307/google_versionhistory1/client::RequestValue) and +[decodable](https://docs.rs/google-versionhistory1/3.1.0+20220307/google_versionhistory1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-versionhistory1/3.0.0+20220307/google_versionhistory1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-versionhistory1/3.1.0+20220307/google_versionhistory1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-versionhistory1/3.0.0+20220307/google_versionhistory1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-versionhistory1/3.1.0+20220307/google_versionhistory1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-versionhistory1/3.0.0+20220307/google_versionhistory1/client::RequestValue) are moved +* [request values](https://docs.rs/google-versionhistory1/3.1.0+20220307/google_versionhistory1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/versionhistory1/src/api.rs b/gen/versionhistory1/src/api.rs index 6ebed2504b..36ae227ee4 100644 --- a/gen/versionhistory1/src/api.rs +++ b/gen/versionhistory1/src/api.rs @@ -48,7 +48,7 @@ use crate::client; /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = VersionHistory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = VersionHistory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -95,7 +95,7 @@ impl<'a, > VersionHistory<> { VersionHistory { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://versionhistory.googleapis.com/".to_string(), _root_url: "https://versionhistory.googleapis.com/".to_string(), } @@ -106,7 +106,7 @@ impl<'a, > VersionHistory<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -335,7 +335,7 @@ impl client::Part for Version {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = VersionHistory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = VersionHistory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `channels_list(...)`, `channels_versions_list(...)`, `channels_versions_releases_list(...)` and `list(...)` /// // to build up your call. @@ -459,7 +459,7 @@ impl<'a> PlatformMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VersionHistory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VersionHistory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -733,7 +733,7 @@ impl<'a> PlatformChannelVersionReleaseListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VersionHistory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VersionHistory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1007,7 +1007,7 @@ impl<'a> PlatformChannelVersionListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VersionHistory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VersionHistory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1257,7 +1257,7 @@ impl<'a> PlatformChannelListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VersionHistory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VersionHistory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/versionhistory1/src/lib.rs b/gen/versionhistory1/src/lib.rs index 4ef6c72d6e..563b4ab527 100644 --- a/gen/versionhistory1/src/lib.rs +++ b/gen/versionhistory1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Version History* crate version *3.0.0+20220307*, where *20220307* is the exact revision of the *versionhistory:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Version History* crate version *3.1.0+20220307*, where *20220307* is the exact revision of the *versionhistory:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Version History* *v1* API can be found at the //! [official documentation site](https://developers.chrome.com/versionhistory). @@ -94,7 +94,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = VersionHistory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = VersionHistory::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/videointelligence1-cli/Cargo.toml b/gen/videointelligence1-cli/Cargo.toml index 702817ee4c..30b316fc00 100644 --- a/gen/videointelligence1-cli/Cargo.toml +++ b/gen/videointelligence1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-videointelligence1-cli" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Video Intelligence (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/videointelligence1-cli" @@ -20,12 +20,12 @@ name = "videointelligence1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-videointelligence1] path = "../videointelligence1" -version = "3.0.0+20220225" +version = "3.1.0+20220225" diff --git a/gen/videointelligence1-cli/README.md b/gen/videointelligence1-cli/README.md index 83c3f8ca0b..9292099f2e 100644 --- a/gen/videointelligence1-cli/README.md +++ b/gen/videointelligence1-cli/README.md @@ -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 *Cloud Video Intelligence* API at revision *20220225*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Video Intelligence* API at revision *20220225*. The CLI is at version *3.1.0*. ```bash videointelligence1 [options] diff --git a/gen/videointelligence1-cli/mkdocs.yml b/gen/videointelligence1-cli/mkdocs.yml index cd27fb4e04..daea0a8ffd 100644 --- a/gen/videointelligence1-cli/mkdocs.yml +++ b/gen/videointelligence1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Video Intelligence v3.0.0+20220225 +site_name: Cloud Video Intelligence v3.1.0+20220225 site_url: http://byron.github.io/google-apis-rs/google-videointelligence1-cli site_description: A complete library to interact with Cloud Video Intelligence (protocol v1) diff --git a/gen/videointelligence1-cli/src/main.rs b/gen/videointelligence1-cli/src/main.rs index 286f1ebc63..89d45bd1ff 100644 --- a/gen/videointelligence1-cli/src/main.rs +++ b/gen/videointelligence1-cli/src/main.rs @@ -648,7 +648,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/videointelligence1", 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::CloudVideoIntelligence::new(client, auth), @@ -878,7 +884,7 @@ async fn main() { let mut app = App::new("videointelligence1") .author("Sebastian Thiel ") - .version("3.0.0+20220225") + .version("3.1.0+20220225") .about("Detects objects, explicit content, and scene changes in videos. It also specifies the region for annotation and transcribes speech to text. Supports both asynchronous API and streaming API.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_videointelligence1_cli") .arg(Arg::with_name("url") diff --git a/gen/videointelligence1/Cargo.toml b/gen/videointelligence1/Cargo.toml index 5c28848b82..e59b189949 100644 --- a/gen/videointelligence1/Cargo.toml +++ b/gen/videointelligence1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-videointelligence1" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Video Intelligence (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/videointelligence1" homepage = "https://cloud.google.com/video-intelligence/docs/" -documentation = "https://docs.rs/google-videointelligence1/3.0.0+20220225" +documentation = "https://docs.rs/google-videointelligence1/3.1.0+20220225" license = "MIT" keywords = ["videointelligence", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/videointelligence1/README.md b/gen/videointelligence1/README.md index d074e1c677..80bcd23eb3 100644 --- a/gen/videointelligence1/README.md +++ b/gen/videointelligence1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-videointelligence1` library allows access to all features of the *Google Cloud Video Intelligence* service. -This documentation was generated from *Cloud Video Intelligence* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *videointelligence:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Video Intelligence* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *videointelligence:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Video Intelligence* *v1* API can be found at the [official documentation site](https://cloud.google.com/video-intelligence/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-videointelligence1/3.0.0+20220225/google_videointelligence1/CloudVideoIntelligence) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-videointelligence1/3.1.0+20220225/google_videointelligence1/CloudVideoIntelligence) ... * operations - * [*projects locations operations cancel*](https://docs.rs/google-videointelligence1/3.0.0+20220225/google_videointelligence1/api::OperationProjectLocationOperationCancelCall), [*projects locations operations delete*](https://docs.rs/google-videointelligence1/3.0.0+20220225/google_videointelligence1/api::OperationProjectLocationOperationDeleteCall) and [*projects locations operations get*](https://docs.rs/google-videointelligence1/3.0.0+20220225/google_videointelligence1/api::OperationProjectLocationOperationGetCall) + * [*projects locations operations cancel*](https://docs.rs/google-videointelligence1/3.1.0+20220225/google_videointelligence1/api::OperationProjectLocationOperationCancelCall), [*projects locations operations delete*](https://docs.rs/google-videointelligence1/3.1.0+20220225/google_videointelligence1/api::OperationProjectLocationOperationDeleteCall) and [*projects locations operations get*](https://docs.rs/google-videointelligence1/3.1.0+20220225/google_videointelligence1/api::OperationProjectLocationOperationGetCall) * projects - * [*locations operations cancel*](https://docs.rs/google-videointelligence1/3.0.0+20220225/google_videointelligence1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-videointelligence1/3.0.0+20220225/google_videointelligence1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-videointelligence1/3.0.0+20220225/google_videointelligence1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-videointelligence1/3.0.0+20220225/google_videointelligence1/api::ProjectLocationOperationListCall) + * [*locations operations cancel*](https://docs.rs/google-videointelligence1/3.1.0+20220225/google_videointelligence1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-videointelligence1/3.1.0+20220225/google_videointelligence1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-videointelligence1/3.1.0+20220225/google_videointelligence1/api::ProjectLocationOperationGetCall) and [*locations operations list*](https://docs.rs/google-videointelligence1/3.1.0+20220225/google_videointelligence1/api::ProjectLocationOperationListCall) * videos - * [*annotate*](https://docs.rs/google-videointelligence1/3.0.0+20220225/google_videointelligence1/api::VideoAnnotateCall) + * [*annotate*](https://docs.rs/google-videointelligence1/3.1.0+20220225/google_videointelligence1/api::VideoAnnotateCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-videointelligence1/3.0.0+20220225/google_videointelligence1/CloudVideoIntelligence)** +* **[Hub](https://docs.rs/google-videointelligence1/3.1.0+20220225/google_videointelligence1/CloudVideoIntelligence)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-videointelligence1/3.0.0+20220225/google_videointelligence1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-videointelligence1/3.0.0+20220225/google_videointelligence1/client::CallBuilder) -* **[Resources](https://docs.rs/google-videointelligence1/3.0.0+20220225/google_videointelligence1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-videointelligence1/3.1.0+20220225/google_videointelligence1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-videointelligence1/3.1.0+20220225/google_videointelligence1/client::CallBuilder) +* **[Resources](https://docs.rs/google-videointelligence1/3.1.0+20220225/google_videointelligence1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-videointelligence1/3.0.0+20220225/google_videointelligence1/client::Part)** + * **[Parts](https://docs.rs/google-videointelligence1/3.1.0+20220225/google_videointelligence1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-videointelligence1/3.0.0+20220225/google_videointelligence1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-videointelligence1/3.1.0+20220225/google_videointelligence1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -98,7 +98,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudVideoIntelligence::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudVideoIntelligence::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -131,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-videointelligence1/3.0.0+20220225/google_videointelligence1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-videointelligence1/3.1.0+20220225/google_videointelligence1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-videointelligence1/3.0.0+20220225/google_videointelligence1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-videointelligence1/3.1.0+20220225/google_videointelligence1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-videointelligence1/3.0.0+20220225/google_videointelligence1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-videointelligence1/3.1.0+20220225/google_videointelligence1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-videointelligence1/3.0.0+20220225/google_videointelligence1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-videointelligence1/3.1.0+20220225/google_videointelligence1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -151,29 +151,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-videointelligence1/3.0.0+20220225/google_videointelligence1/client::Delegate) to the -[Method Builder](https://docs.rs/google-videointelligence1/3.0.0+20220225/google_videointelligence1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-videointelligence1/3.1.0+20220225/google_videointelligence1/client::Delegate) to the +[Method Builder](https://docs.rs/google-videointelligence1/3.1.0+20220225/google_videointelligence1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-videointelligence1/3.0.0+20220225/google_videointelligence1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-videointelligence1/3.1.0+20220225/google_videointelligence1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-videointelligence1/3.0.0+20220225/google_videointelligence1/client::RequestValue) and -[decodable](https://docs.rs/google-videointelligence1/3.0.0+20220225/google_videointelligence1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-videointelligence1/3.1.0+20220225/google_videointelligence1/client::RequestValue) and +[decodable](https://docs.rs/google-videointelligence1/3.1.0+20220225/google_videointelligence1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-videointelligence1/3.0.0+20220225/google_videointelligence1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-videointelligence1/3.1.0+20220225/google_videointelligence1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-videointelligence1/3.0.0+20220225/google_videointelligence1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-videointelligence1/3.1.0+20220225/google_videointelligence1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-videointelligence1/3.0.0+20220225/google_videointelligence1/client::RequestValue) are moved +* [request values](https://docs.rs/google-videointelligence1/3.1.0+20220225/google_videointelligence1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/videointelligence1/src/api.rs b/gen/videointelligence1/src/api.rs index b0b8fd97db..f0d55c9e03 100644 --- a/gen/videointelligence1/src/api.rs +++ b/gen/videointelligence1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudVideoIntelligence::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudVideoIntelligence::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > CloudVideoIntelligence<> { CloudVideoIntelligence { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://videointelligence.googleapis.com/".to_string(), _root_url: "https://videointelligence.googleapis.com/".to_string(), } @@ -136,7 +136,7 @@ impl<'a, > CloudVideoIntelligence<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -546,7 +546,7 @@ impl client::Part for GoogleRpc_Status {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudVideoIntelligence::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudVideoIntelligence::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `projects_locations_operations_cancel(...)`, `projects_locations_operations_delete(...)` and `projects_locations_operations_get(...)` /// // to build up your call. @@ -638,7 +638,7 @@ impl<'a> OperationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudVideoIntelligence::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudVideoIntelligence::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_operations_cancel(...)`, `locations_operations_delete(...)`, `locations_operations_get(...)` and `locations_operations_list(...)` /// // to build up your call. @@ -752,7 +752,7 @@ impl<'a> ProjectMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudVideoIntelligence::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudVideoIntelligence::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `annotate(...)` /// // to build up your call. @@ -817,7 +817,7 @@ impl<'a> VideoMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudVideoIntelligence::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudVideoIntelligence::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1073,7 +1073,7 @@ impl<'a> OperationProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudVideoIntelligence::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudVideoIntelligence::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1329,7 +1329,7 @@ impl<'a> OperationProjectLocationOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudVideoIntelligence::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudVideoIntelligence::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1586,7 +1586,7 @@ impl<'a> OperationProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudVideoIntelligence::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudVideoIntelligence::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1871,7 +1871,7 @@ impl<'a> ProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudVideoIntelligence::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudVideoIntelligence::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2127,7 +2127,7 @@ impl<'a> ProjectLocationOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudVideoIntelligence::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudVideoIntelligence::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2383,7 +2383,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudVideoIntelligence::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudVideoIntelligence::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2676,7 +2676,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudVideoIntelligence::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudVideoIntelligence::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/videointelligence1/src/lib.rs b/gen/videointelligence1/src/lib.rs index 4222f39fe2..bb0f687830 100644 --- a/gen/videointelligence1/src/lib.rs +++ b/gen/videointelligence1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Video Intelligence* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *videointelligence:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Video Intelligence* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *videointelligence:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Video Intelligence* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/video-intelligence/docs/). @@ -99,7 +99,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudVideoIntelligence::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudVideoIntelligence::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/videointelligence1_beta1-cli/Cargo.toml b/gen/videointelligence1_beta1-cli/Cargo.toml index 9040e79bc5..2479064c3f 100644 --- a/gen/videointelligence1_beta1-cli/Cargo.toml +++ b/gen/videointelligence1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-videointelligence1_beta1-cli" -version = "3.0.0+20171122" +version = "3.1.0+20171122" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Video Intelligence (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/videointelligence1_beta1-cli" @@ -20,12 +20,12 @@ name = "videointelligence1-beta1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-videointelligence1_beta1] path = "../videointelligence1_beta1" -version = "3.0.0+20171122" +version = "3.1.0+20171122" diff --git a/gen/videointelligence1_beta1-cli/README.md b/gen/videointelligence1_beta1-cli/README.md index 3eb0d376cd..c8ab29f86f 100644 --- a/gen/videointelligence1_beta1-cli/README.md +++ b/gen/videointelligence1_beta1-cli/README.md @@ -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 *Cloud Video Intelligence* API at revision *20171122*. The CLI is at version *3.0.0*. +This documentation was generated from the *Cloud Video Intelligence* API at revision *20171122*. The CLI is at version *3.1.0*. ```bash videointelligence1-beta1 [options] diff --git a/gen/videointelligence1_beta1-cli/mkdocs.yml b/gen/videointelligence1_beta1-cli/mkdocs.yml index b855119b84..eccd7daa0b 100644 --- a/gen/videointelligence1_beta1-cli/mkdocs.yml +++ b/gen/videointelligence1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Video Intelligence v3.0.0+20171122 +site_name: Cloud Video Intelligence v3.1.0+20171122 site_url: http://byron.github.io/google-apis-rs/google-videointelligence1_beta1-cli site_description: A complete library to interact with Cloud Video Intelligence (protocol v1beta1) diff --git a/gen/videointelligence1_beta1-cli/src/main.rs b/gen/videointelligence1_beta1-cli/src/main.rs index 396c6998a6..a82fe00139 100644 --- a/gen/videointelligence1_beta1-cli/src/main.rs +++ b/gen/videointelligence1_beta1-cli/src/main.rs @@ -186,7 +186,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/videointelligence1-beta1", 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::CloudVideoIntelligence::new(client, auth), @@ -254,7 +260,7 @@ async fn main() { let mut app = App::new("videointelligence1-beta1") .author("Sebastian Thiel ") - .version("3.0.0+20171122") + .version("3.1.0+20171122") .about("Cloud Video Intelligence API.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_videointelligence1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/videointelligence1_beta1/Cargo.toml b/gen/videointelligence1_beta1/Cargo.toml index 68a8e7b8ad..e84c34733d 100644 --- a/gen/videointelligence1_beta1/Cargo.toml +++ b/gen/videointelligence1_beta1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-videointelligence1_beta1" -version = "3.0.0+20171122" +version = "3.1.0+20171122" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Video Intelligence (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/videointelligence1_beta1" homepage = "https://cloud.google.com/video-intelligence/docs/" -documentation = "https://docs.rs/google-videointelligence1_beta1/3.0.0+20171122" +documentation = "https://docs.rs/google-videointelligence1_beta1/3.1.0+20171122" license = "MIT" keywords = ["videointelligence", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/videointelligence1_beta1/README.md b/gen/videointelligence1_beta1/README.md index 5a9da3f7e1..48ffeadbba 100644 --- a/gen/videointelligence1_beta1/README.md +++ b/gen/videointelligence1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-videointelligence1_beta1` library allows access to all features of the *Google Cloud Video Intelligence* service. -This documentation was generated from *Cloud Video Intelligence* crate version *3.0.0+20171122*, where *20171122* is the exact revision of the *videointelligence:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Cloud Video Intelligence* crate version *3.1.0+20171122*, where *20171122* is the exact revision of the *videointelligence:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Cloud Video Intelligence* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/video-intelligence/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-videointelligence1_beta1/3.0.0+20171122/google_videointelligence1_beta1/CloudVideoIntelligence) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-videointelligence1_beta1/3.1.0+20171122/google_videointelligence1_beta1/CloudVideoIntelligence) ... * videos - * [*annotate*](https://docs.rs/google-videointelligence1_beta1/3.0.0+20171122/google_videointelligence1_beta1/api::VideoAnnotateCall) + * [*annotate*](https://docs.rs/google-videointelligence1_beta1/3.1.0+20171122/google_videointelligence1_beta1/api::VideoAnnotateCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-videointelligence1_beta1/3.0.0+20171122/google_videointelligence1_beta1/CloudVideoIntelligence)** +* **[Hub](https://docs.rs/google-videointelligence1_beta1/3.1.0+20171122/google_videointelligence1_beta1/CloudVideoIntelligence)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-videointelligence1_beta1/3.0.0+20171122/google_videointelligence1_beta1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-videointelligence1_beta1/3.0.0+20171122/google_videointelligence1_beta1/client::CallBuilder) -* **[Resources](https://docs.rs/google-videointelligence1_beta1/3.0.0+20171122/google_videointelligence1_beta1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-videointelligence1_beta1/3.1.0+20171122/google_videointelligence1_beta1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-videointelligence1_beta1/3.1.0+20171122/google_videointelligence1_beta1/client::CallBuilder) +* **[Resources](https://docs.rs/google-videointelligence1_beta1/3.1.0+20171122/google_videointelligence1_beta1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-videointelligence1_beta1/3.0.0+20171122/google_videointelligence1_beta1/client::Part)** + * **[Parts](https://docs.rs/google-videointelligence1_beta1/3.1.0+20171122/google_videointelligence1_beta1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-videointelligence1_beta1/3.0.0+20171122/google_videointelligence1_beta1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-videointelligence1_beta1/3.1.0+20171122/google_videointelligence1_beta1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -91,7 +91,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = CloudVideoIntelligence::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = CloudVideoIntelligence::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -124,17 +124,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-videointelligence1_beta1/3.0.0+20171122/google_videointelligence1_beta1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-videointelligence1_beta1/3.1.0+20171122/google_videointelligence1_beta1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-videointelligence1_beta1/3.0.0+20171122/google_videointelligence1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-videointelligence1_beta1/3.1.0+20171122/google_videointelligence1_beta1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-videointelligence1_beta1/3.0.0+20171122/google_videointelligence1_beta1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-videointelligence1_beta1/3.1.0+20171122/google_videointelligence1_beta1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-videointelligence1_beta1/3.0.0+20171122/google_videointelligence1_beta1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-videointelligence1_beta1/3.1.0+20171122/google_videointelligence1_beta1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -144,29 +144,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-videointelligence1_beta1/3.0.0+20171122/google_videointelligence1_beta1/client::Delegate) to the -[Method Builder](https://docs.rs/google-videointelligence1_beta1/3.0.0+20171122/google_videointelligence1_beta1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-videointelligence1_beta1/3.1.0+20171122/google_videointelligence1_beta1/client::Delegate) to the +[Method Builder](https://docs.rs/google-videointelligence1_beta1/3.1.0+20171122/google_videointelligence1_beta1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-videointelligence1_beta1/3.0.0+20171122/google_videointelligence1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-videointelligence1_beta1/3.1.0+20171122/google_videointelligence1_beta1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-videointelligence1_beta1/3.0.0+20171122/google_videointelligence1_beta1/client::RequestValue) and -[decodable](https://docs.rs/google-videointelligence1_beta1/3.0.0+20171122/google_videointelligence1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-videointelligence1_beta1/3.1.0+20171122/google_videointelligence1_beta1/client::RequestValue) and +[decodable](https://docs.rs/google-videointelligence1_beta1/3.1.0+20171122/google_videointelligence1_beta1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-videointelligence1_beta1/3.0.0+20171122/google_videointelligence1_beta1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-videointelligence1_beta1/3.1.0+20171122/google_videointelligence1_beta1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-videointelligence1_beta1/3.0.0+20171122/google_videointelligence1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-videointelligence1_beta1/3.1.0+20171122/google_videointelligence1_beta1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-videointelligence1_beta1/3.0.0+20171122/google_videointelligence1_beta1/client::RequestValue) are moved +* [request values](https://docs.rs/google-videointelligence1_beta1/3.1.0+20171122/google_videointelligence1_beta1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/videointelligence1_beta1/src/api.rs b/gen/videointelligence1_beta1/src/api.rs index 9b64f3df60..7b1243a792 100644 --- a/gen/videointelligence1_beta1/src/api.rs +++ b/gen/videointelligence1_beta1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudVideoIntelligence::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudVideoIntelligence::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > CloudVideoIntelligence<> { CloudVideoIntelligence { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://videointelligence.googleapis.com/".to_string(), _root_url: "https://videointelligence.googleapis.com/".to_string(), } @@ -130,7 +130,7 @@ impl<'a, > CloudVideoIntelligence<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -398,7 +398,7 @@ impl client::Part for GoogleRpc_Status {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = CloudVideoIntelligence::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = CloudVideoIntelligence::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `annotate(...)` /// // to build up your call. @@ -470,7 +470,7 @@ impl<'a> VideoMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = CloudVideoIntelligence::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = CloudVideoIntelligence::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! diff --git a/gen/videointelligence1_beta1/src/lib.rs b/gen/videointelligence1_beta1/src/lib.rs index b517fa0a2b..c5d3e27d0c 100644 --- a/gen/videointelligence1_beta1/src/lib.rs +++ b/gen/videointelligence1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Video Intelligence* crate version *3.0.0+20171122*, where *20171122* is the exact revision of the *videointelligence:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Cloud Video Intelligence* crate version *3.1.0+20171122*, where *20171122* is the exact revision of the *videointelligence:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Cloud Video Intelligence* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/video-intelligence/docs/). @@ -92,7 +92,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = CloudVideoIntelligence::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = CloudVideoIntelligence::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/vision1-cli/Cargo.toml b/gen/vision1-cli/Cargo.toml index d453580e2e..2739926bc6 100644 --- a/gen/vision1-cli/Cargo.toml +++ b/gen/vision1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-vision1-cli" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with Vision (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/vision1-cli" @@ -20,12 +20,12 @@ name = "vision1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-vision1] path = "../vision1" -version = "3.0.0+20220225" +version = "3.1.0+20220225" diff --git a/gen/vision1-cli/README.md b/gen/vision1-cli/README.md index 9d4d9c0857..1bbe4990ef 100644 --- a/gen/vision1-cli/README.md +++ b/gen/vision1-cli/README.md @@ -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 *Vision* API at revision *20220225*. The CLI is at version *3.0.0*. +This documentation was generated from the *Vision* API at revision *20220225*. The CLI is at version *3.1.0*. ```bash vision1 [options] diff --git a/gen/vision1-cli/mkdocs.yml b/gen/vision1-cli/mkdocs.yml index aae57d3179..80b82d9356 100644 --- a/gen/vision1-cli/mkdocs.yml +++ b/gen/vision1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Vision v3.0.0+20220225 +site_name: Vision v3.1.0+20220225 site_url: http://byron.github.io/google-apis-rs/google-vision1-cli site_description: A complete library to interact with Vision (protocol v1) diff --git a/gen/vision1-cli/src/main.rs b/gen/vision1-cli/src/main.rs index 2b27ad9c18..4cb7f89982 100644 --- a/gen/vision1-cli/src/main.rs +++ b/gen/vision1-cli/src/main.rs @@ -3017,7 +3017,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/vision1", 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::Vision::new(client, auth), @@ -4015,7 +4021,7 @@ async fn main() { let mut app = App::new("vision1") .author("Sebastian Thiel ") - .version("3.0.0+20220225") + .version("3.1.0+20220225") .about("Integrates Google Vision features, including image labeling, face, logo, and landmark detection, optical character recognition (OCR), and detection of explicit content, into applications.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_vision1_cli") .arg(Arg::with_name("url") diff --git a/gen/vision1/Cargo.toml b/gen/vision1/Cargo.toml index c14f301058..13d6a00645 100644 --- a/gen/vision1/Cargo.toml +++ b/gen/vision1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-vision1" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with Vision (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/vision1" homepage = "https://cloud.google.com/vision/" -documentation = "https://docs.rs/google-vision1/3.0.0+20220225" +documentation = "https://docs.rs/google-vision1/3.1.0+20220225" license = "MIT" keywords = ["vision", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/vision1/README.md b/gen/vision1/README.md index a34f8efc1e..d5d51137f0 100644 --- a/gen/vision1/README.md +++ b/gen/vision1/README.md @@ -5,24 +5,24 @@ DO NOT EDIT ! --> The `google-vision1` library allows access to all features of the *Google Vision* service. -This documentation was generated from *Vision* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *vision:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Vision* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *vision:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Vision* *v1* API can be found at the [official documentation site](https://cloud.google.com/vision/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/Vision) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/Vision) ... * files - * [*annotate*](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/api::FileAnnotateCall) and [*async batch annotate*](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/api::FileAsyncBatchAnnotateCall) -* [images](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/api::Image) - * [*annotate*](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/api::ImageAnnotateCall) and [*async batch annotate*](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/api::ImageAsyncBatchAnnotateCall) + * [*annotate*](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/api::FileAnnotateCall) and [*async batch annotate*](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/api::FileAsyncBatchAnnotateCall) +* [images](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/api::Image) + * [*annotate*](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/api::ImageAnnotateCall) and [*async batch annotate*](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/api::ImageAsyncBatchAnnotateCall) * locations - * [*operations get*](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/api::LocationOperationGetCall) -* [operations](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/api::Operation) - * [*cancel*](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/api::OperationCancelCall), [*delete*](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/api::OperationDeleteCall), [*get*](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/api::OperationGetCall) and [*list*](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/api::OperationListCall) + * [*operations get*](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/api::LocationOperationGetCall) +* [operations](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/api::Operation) + * [*cancel*](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/api::OperationCancelCall), [*delete*](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/api::OperationDeleteCall), [*get*](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/api::OperationGetCall) and [*list*](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/api::OperationListCall) * projects - * [*files annotate*](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/api::ProjectFileAnnotateCall), [*files async batch annotate*](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/api::ProjectFileAsyncBatchAnnotateCall), [*images annotate*](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/api::ProjectImageAnnotateCall), [*images async batch annotate*](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/api::ProjectImageAsyncBatchAnnotateCall), [*locations files annotate*](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/api::ProjectLocationFileAnnotateCall), [*locations files async batch annotate*](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/api::ProjectLocationFileAsyncBatchAnnotateCall), [*locations images annotate*](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/api::ProjectLocationImageAnnotateCall), [*locations images async batch annotate*](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/api::ProjectLocationImageAsyncBatchAnnotateCall), [*locations operations get*](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/api::ProjectLocationOperationGetCall), [*locations product sets add product*](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/api::ProjectLocationProductSetAddProductCall), [*locations product sets create*](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/api::ProjectLocationProductSetCreateCall), [*locations product sets delete*](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/api::ProjectLocationProductSetDeleteCall), [*locations product sets get*](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/api::ProjectLocationProductSetGetCall), [*locations product sets import*](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/api::ProjectLocationProductSetImportCall), [*locations product sets list*](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/api::ProjectLocationProductSetListCall), [*locations product sets patch*](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/api::ProjectLocationProductSetPatchCall), [*locations product sets products list*](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/api::ProjectLocationProductSetProductListCall), [*locations product sets remove product*](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/api::ProjectLocationProductSetRemoveProductCall), [*locations products create*](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/api::ProjectLocationProductCreateCall), [*locations products delete*](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/api::ProjectLocationProductDeleteCall), [*locations products get*](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/api::ProjectLocationProductGetCall), [*locations products list*](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/api::ProjectLocationProductListCall), [*locations products patch*](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/api::ProjectLocationProductPatchCall), [*locations products purge*](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/api::ProjectLocationProductPurgeCall), [*locations products reference images create*](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/api::ProjectLocationProductReferenceImageCreateCall), [*locations products reference images delete*](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/api::ProjectLocationProductReferenceImageDeleteCall), [*locations products reference images get*](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/api::ProjectLocationProductReferenceImageGetCall), [*locations products reference images list*](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/api::ProjectLocationProductReferenceImageListCall) and [*operations get*](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/api::ProjectOperationGetCall) + * [*files annotate*](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/api::ProjectFileAnnotateCall), [*files async batch annotate*](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/api::ProjectFileAsyncBatchAnnotateCall), [*images annotate*](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/api::ProjectImageAnnotateCall), [*images async batch annotate*](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/api::ProjectImageAsyncBatchAnnotateCall), [*locations files annotate*](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/api::ProjectLocationFileAnnotateCall), [*locations files async batch annotate*](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/api::ProjectLocationFileAsyncBatchAnnotateCall), [*locations images annotate*](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/api::ProjectLocationImageAnnotateCall), [*locations images async batch annotate*](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/api::ProjectLocationImageAsyncBatchAnnotateCall), [*locations operations get*](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/api::ProjectLocationOperationGetCall), [*locations product sets add product*](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/api::ProjectLocationProductSetAddProductCall), [*locations product sets create*](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/api::ProjectLocationProductSetCreateCall), [*locations product sets delete*](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/api::ProjectLocationProductSetDeleteCall), [*locations product sets get*](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/api::ProjectLocationProductSetGetCall), [*locations product sets import*](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/api::ProjectLocationProductSetImportCall), [*locations product sets list*](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/api::ProjectLocationProductSetListCall), [*locations product sets patch*](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/api::ProjectLocationProductSetPatchCall), [*locations product sets products list*](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/api::ProjectLocationProductSetProductListCall), [*locations product sets remove product*](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/api::ProjectLocationProductSetRemoveProductCall), [*locations products create*](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/api::ProjectLocationProductCreateCall), [*locations products delete*](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/api::ProjectLocationProductDeleteCall), [*locations products get*](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/api::ProjectLocationProductGetCall), [*locations products list*](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/api::ProjectLocationProductListCall), [*locations products patch*](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/api::ProjectLocationProductPatchCall), [*locations products purge*](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/api::ProjectLocationProductPurgeCall), [*locations products reference images create*](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/api::ProjectLocationProductReferenceImageCreateCall), [*locations products reference images delete*](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/api::ProjectLocationProductReferenceImageDeleteCall), [*locations products reference images get*](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/api::ProjectLocationProductReferenceImageGetCall), [*locations products reference images list*](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/api::ProjectLocationProductReferenceImageListCall) and [*operations get*](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/api::ProjectOperationGetCall) @@ -31,17 +31,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/Vision)** +* **[Hub](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/Vision)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/client::CallBuilder) -* **[Resources](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/client::CallBuilder) +* **[Resources](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/client::Part)** + * **[Parts](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -112,7 +112,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -143,17 +143,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -163,29 +163,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/client::Delegate) to the -[Method Builder](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/client::Delegate) to the +[Method Builder](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/client::RequestValue) and -[decodable](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/client::RequestValue) and +[decodable](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-vision1/3.0.0+20220225/google_vision1/client::RequestValue) are moved +* [request values](https://docs.rs/google-vision1/3.1.0+20220225/google_vision1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/vision1/src/api.rs b/gen/vision1/src/api.rs index 7dbfedea32..9aa1f1157e 100644 --- a/gen/vision1/src/api.rs +++ b/gen/vision1/src/api.rs @@ -74,7 +74,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > Vision<> { Vision { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://vision.googleapis.com/".to_string(), _root_url: "https://vision.googleapis.com/".to_string(), } @@ -143,7 +143,7 @@ impl<'a, > Vision<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1831,7 +1831,7 @@ impl client::Part for Word {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `annotate(...)` and `async_batch_annotate(...)` /// // to build up your call. @@ -1906,7 +1906,7 @@ impl<'a> FileMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `annotate(...)` and `async_batch_annotate(...)` /// // to build up your call. @@ -1981,7 +1981,7 @@ impl<'a> ImageMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `operations_get(...)` /// // to build up your call. @@ -2039,7 +2039,7 @@ impl<'a> LocationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `cancel(...)`, `delete(...)`, `get(...)` and `list(...)` /// // to build up your call. @@ -2153,7 +2153,7 @@ impl<'a> OperationMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `files_annotate(...)`, `files_async_batch_annotate(...)`, `images_annotate(...)`, `images_async_batch_annotate(...)`, `locations_files_annotate(...)`, `locations_files_async_batch_annotate(...)`, `locations_images_annotate(...)`, `locations_images_async_batch_annotate(...)`, `locations_operations_get(...)`, `locations_product_sets_add_product(...)`, `locations_product_sets_create(...)`, `locations_product_sets_delete(...)`, `locations_product_sets_get(...)`, `locations_product_sets_import(...)`, `locations_product_sets_list(...)`, `locations_product_sets_patch(...)`, `locations_product_sets_products_list(...)`, `locations_product_sets_remove_product(...)`, `locations_products_create(...)`, `locations_products_delete(...)`, `locations_products_get(...)`, `locations_products_list(...)`, `locations_products_patch(...)`, `locations_products_purge(...)`, `locations_products_reference_images_create(...)`, `locations_products_reference_images_delete(...)`, `locations_products_reference_images_get(...)`, `locations_products_reference_images_list(...)` and `operations_get(...)` /// // to build up your call. @@ -2742,7 +2742,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2991,7 +2991,7 @@ impl<'a> FileAnnotateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3240,7 +3240,7 @@ impl<'a> FileAsyncBatchAnnotateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3489,7 +3489,7 @@ impl<'a> ImageAnnotateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3737,7 +3737,7 @@ impl<'a> ImageAsyncBatchAnnotateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3994,7 +3994,7 @@ impl<'a> LocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4279,7 +4279,7 @@ impl<'a> OperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4535,7 +4535,7 @@ impl<'a> OperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -4791,7 +4791,7 @@ impl<'a> OperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5084,7 +5084,7 @@ impl<'a> OperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5370,7 +5370,7 @@ impl<'a> ProjectFileAnnotateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5656,7 +5656,7 @@ impl<'a> ProjectFileAsyncBatchAnnotateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5942,7 +5942,7 @@ impl<'a> ProjectImageAnnotateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6228,7 +6228,7 @@ impl<'a> ProjectImageAsyncBatchAnnotateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6514,7 +6514,7 @@ impl<'a> ProjectLocationFileAnnotateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -6800,7 +6800,7 @@ impl<'a> ProjectLocationFileAsyncBatchAnnotateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7086,7 +7086,7 @@ impl<'a> ProjectLocationImageAnnotateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7371,7 +7371,7 @@ impl<'a> ProjectLocationImageAsyncBatchAnnotateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7627,7 +7627,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7908,7 +7908,7 @@ impl<'a> ProjectLocationProductSetProductListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8194,7 +8194,7 @@ impl<'a> ProjectLocationProductSetAddProductCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8491,7 +8491,7 @@ impl<'a> ProjectLocationProductSetCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8747,7 +8747,7 @@ impl<'a> ProjectLocationProductSetDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9004,7 +9004,7 @@ impl<'a> ProjectLocationProductSetGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9289,7 +9289,7 @@ impl<'a> ProjectLocationProductSetImportCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9570,7 +9570,7 @@ impl<'a> ProjectLocationProductSetListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9868,7 +9868,7 @@ impl<'a> ProjectLocationProductSetPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10154,7 +10154,7 @@ impl<'a> ProjectLocationProductSetRemoveProductCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10451,7 +10451,7 @@ impl<'a> ProjectLocationProductReferenceImageCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10707,7 +10707,7 @@ impl<'a> ProjectLocationProductReferenceImageDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10963,7 +10963,7 @@ impl<'a> ProjectLocationProductReferenceImageGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11244,7 +11244,7 @@ impl<'a> ProjectLocationProductReferenceImageListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11541,7 +11541,7 @@ impl<'a> ProjectLocationProductCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -11797,7 +11797,7 @@ impl<'a> ProjectLocationProductDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12053,7 +12053,7 @@ impl<'a> ProjectLocationProductGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12334,7 +12334,7 @@ impl<'a> ProjectLocationProductListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12632,7 +12632,7 @@ impl<'a> ProjectLocationProductPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12917,7 +12917,7 @@ impl<'a> ProjectLocationProductPurgeCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/vision1/src/lib.rs b/gen/vision1/src/lib.rs index a167a325f0..d88c9148e5 100644 --- a/gen/vision1/src/lib.rs +++ b/gen/vision1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Vision* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *vision:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Vision* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *vision:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Vision* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/vision/). @@ -113,7 +113,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Vision::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/vmmigration1-cli/Cargo.toml b/gen/vmmigration1-cli/Cargo.toml index 1dd9c665d9..de1b3bf58c 100644 --- a/gen/vmmigration1-cli/Cargo.toml +++ b/gen/vmmigration1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-vmmigration1-cli" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with VM Migration Service (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/vmmigration1-cli" @@ -20,12 +20,12 @@ name = "vmmigration1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-vmmigration1] path = "../vmmigration1" -version = "3.0.0+20220225" +version = "3.1.0+20220225" diff --git a/gen/vmmigration1-cli/README.md b/gen/vmmigration1-cli/README.md index 01703ee7c3..1f615929e3 100644 --- a/gen/vmmigration1-cli/README.md +++ b/gen/vmmigration1-cli/README.md @@ -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 *VM Migration Service* API at revision *20220225*. The CLI is at version *3.0.0*. +This documentation was generated from the *VM Migration Service* API at revision *20220225*. The CLI is at version *3.1.0*. ```bash vmmigration1 [options] diff --git a/gen/vmmigration1-cli/mkdocs.yml b/gen/vmmigration1-cli/mkdocs.yml index 4130f9bd38..cb35e4ce0e 100644 --- a/gen/vmmigration1-cli/mkdocs.yml +++ b/gen/vmmigration1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: VM Migration Service v3.0.0+20220225 +site_name: VM Migration Service v3.1.0+20220225 site_url: http://byron.github.io/google-apis-rs/google-vmmigration1-cli site_description: A complete library to interact with VM Migration Service (protocol v1) diff --git a/gen/vmmigration1-cli/src/main.rs b/gen/vmmigration1-cli/src/main.rs index 4a5b804468..cd9a0fcd22 100644 --- a/gen/vmmigration1-cli/src/main.rs +++ b/gen/vmmigration1-cli/src/main.rs @@ -3991,7 +3991,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/vmmigration1", 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::VMMigrationService::new(client, auth), @@ -5265,7 +5271,7 @@ async fn main() { let mut app = App::new("vmmigration1") .author("Sebastian Thiel ") - .version("3.0.0+20220225") + .version("3.1.0+20220225") .about("Use the Migrate for Compute Engine API to programmatically migrate workloads. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_vmmigration1_cli") .arg(Arg::with_name("url") diff --git a/gen/vmmigration1/Cargo.toml b/gen/vmmigration1/Cargo.toml index ca274e2cf6..cf99764922 100644 --- a/gen/vmmigration1/Cargo.toml +++ b/gen/vmmigration1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-vmmigration1" -version = "3.0.0+20220225" +version = "3.1.0+20220225" authors = ["Sebastian Thiel "] description = "A complete library to interact with VM Migration Service (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/vmmigration1" homepage = "https://cloud.google.com/migrate/compute-engine" -documentation = "https://docs.rs/google-vmmigration1/3.0.0+20220225" +documentation = "https://docs.rs/google-vmmigration1/3.1.0+20220225" license = "MIT" keywords = ["vmmigration", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/vmmigration1/README.md b/gen/vmmigration1/README.md index ad98aa9f23..b3fc59ae9e 100644 --- a/gen/vmmigration1/README.md +++ b/gen/vmmigration1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-vmmigration1` library allows access to all features of the *Google VM Migration Service* service. -This documentation was generated from *VM Migration Service* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *vmmigration:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *VM Migration Service* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *vmmigration:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *VM Migration Service* *v1* API can be found at the [official documentation site](https://cloud.google.com/migrate/compute-engine). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/VMMigrationService) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/VMMigrationService) ... * projects - * [*locations get*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationGetCall), [*locations groups add group migration*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationGroupAddGroupMigrationCall), [*locations groups create*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationGroupCreateCall), [*locations groups delete*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationGroupDeleteCall), [*locations groups get*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationGroupGetCall), [*locations groups list*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationGroupListCall), [*locations groups patch*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationGroupPatchCall), [*locations groups remove group migration*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationGroupRemoveGroupMigrationCall), [*locations list*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationOperationListCall), [*locations sources create*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationSourceCreateCall), [*locations sources datacenter connectors create*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationSourceDatacenterConnectorCreateCall), [*locations sources datacenter connectors delete*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationSourceDatacenterConnectorDeleteCall), [*locations sources datacenter connectors get*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationSourceDatacenterConnectorGetCall), [*locations sources datacenter connectors list*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationSourceDatacenterConnectorListCall), [*locations sources datacenter connectors upgrade appliance*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationSourceDatacenterConnectorUpgradeApplianceCall), [*locations sources delete*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationSourceDeleteCall), [*locations sources fetch inventory*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationSourceFetchInventoryCall), [*locations sources get*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationSourceGetCall), [*locations sources list*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationSourceListCall), [*locations sources migrating vms clone jobs cancel*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationSourceMigratingVmCloneJobCancelCall), [*locations sources migrating vms clone jobs create*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationSourceMigratingVmCloneJobCreateCall), [*locations sources migrating vms clone jobs get*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationSourceMigratingVmCloneJobGetCall), [*locations sources migrating vms clone jobs list*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationSourceMigratingVmCloneJobListCall), [*locations sources migrating vms create*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationSourceMigratingVmCreateCall), [*locations sources migrating vms cutover jobs cancel*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationSourceMigratingVmCutoverJobCancelCall), [*locations sources migrating vms cutover jobs create*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationSourceMigratingVmCutoverJobCreateCall), [*locations sources migrating vms cutover jobs get*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationSourceMigratingVmCutoverJobGetCall), [*locations sources migrating vms cutover jobs list*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationSourceMigratingVmCutoverJobListCall), [*locations sources migrating vms delete*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationSourceMigratingVmDeleteCall), [*locations sources migrating vms finalize migration*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationSourceMigratingVmFinalizeMigrationCall), [*locations sources migrating vms get*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationSourceMigratingVmGetCall), [*locations sources migrating vms list*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationSourceMigratingVmListCall), [*locations sources migrating vms patch*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationSourceMigratingVmPatchCall), [*locations sources migrating vms pause migration*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationSourceMigratingVmPauseMigrationCall), [*locations sources migrating vms resume migration*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationSourceMigratingVmResumeMigrationCall), [*locations sources migrating vms start migration*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationSourceMigratingVmStartMigrationCall), [*locations sources patch*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationSourcePatchCall), [*locations sources utilization reports create*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationSourceUtilizationReportCreateCall), [*locations sources utilization reports delete*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationSourceUtilizationReportDeleteCall), [*locations sources utilization reports get*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationSourceUtilizationReportGetCall), [*locations sources utilization reports list*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationSourceUtilizationReportListCall), [*locations target projects create*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationTargetProjectCreateCall), [*locations target projects delete*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationTargetProjectDeleteCall), [*locations target projects get*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationTargetProjectGetCall), [*locations target projects list*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationTargetProjectListCall) and [*locations target projects patch*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/api::ProjectLocationTargetProjectPatchCall) + * [*locations get*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationGetCall), [*locations groups add group migration*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationGroupAddGroupMigrationCall), [*locations groups create*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationGroupCreateCall), [*locations groups delete*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationGroupDeleteCall), [*locations groups get*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationGroupGetCall), [*locations groups list*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationGroupListCall), [*locations groups patch*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationGroupPatchCall), [*locations groups remove group migration*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationGroupRemoveGroupMigrationCall), [*locations list*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationListCall), [*locations operations cancel*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationOperationCancelCall), [*locations operations delete*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationOperationListCall), [*locations sources create*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationSourceCreateCall), [*locations sources datacenter connectors create*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationSourceDatacenterConnectorCreateCall), [*locations sources datacenter connectors delete*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationSourceDatacenterConnectorDeleteCall), [*locations sources datacenter connectors get*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationSourceDatacenterConnectorGetCall), [*locations sources datacenter connectors list*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationSourceDatacenterConnectorListCall), [*locations sources datacenter connectors upgrade appliance*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationSourceDatacenterConnectorUpgradeApplianceCall), [*locations sources delete*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationSourceDeleteCall), [*locations sources fetch inventory*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationSourceFetchInventoryCall), [*locations sources get*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationSourceGetCall), [*locations sources list*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationSourceListCall), [*locations sources migrating vms clone jobs cancel*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationSourceMigratingVmCloneJobCancelCall), [*locations sources migrating vms clone jobs create*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationSourceMigratingVmCloneJobCreateCall), [*locations sources migrating vms clone jobs get*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationSourceMigratingVmCloneJobGetCall), [*locations sources migrating vms clone jobs list*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationSourceMigratingVmCloneJobListCall), [*locations sources migrating vms create*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationSourceMigratingVmCreateCall), [*locations sources migrating vms cutover jobs cancel*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationSourceMigratingVmCutoverJobCancelCall), [*locations sources migrating vms cutover jobs create*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationSourceMigratingVmCutoverJobCreateCall), [*locations sources migrating vms cutover jobs get*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationSourceMigratingVmCutoverJobGetCall), [*locations sources migrating vms cutover jobs list*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationSourceMigratingVmCutoverJobListCall), [*locations sources migrating vms delete*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationSourceMigratingVmDeleteCall), [*locations sources migrating vms finalize migration*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationSourceMigratingVmFinalizeMigrationCall), [*locations sources migrating vms get*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationSourceMigratingVmGetCall), [*locations sources migrating vms list*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationSourceMigratingVmListCall), [*locations sources migrating vms patch*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationSourceMigratingVmPatchCall), [*locations sources migrating vms pause migration*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationSourceMigratingVmPauseMigrationCall), [*locations sources migrating vms resume migration*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationSourceMigratingVmResumeMigrationCall), [*locations sources migrating vms start migration*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationSourceMigratingVmStartMigrationCall), [*locations sources patch*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationSourcePatchCall), [*locations sources utilization reports create*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationSourceUtilizationReportCreateCall), [*locations sources utilization reports delete*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationSourceUtilizationReportDeleteCall), [*locations sources utilization reports get*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationSourceUtilizationReportGetCall), [*locations sources utilization reports list*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationSourceUtilizationReportListCall), [*locations target projects create*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationTargetProjectCreateCall), [*locations target projects delete*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationTargetProjectDeleteCall), [*locations target projects get*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationTargetProjectGetCall), [*locations target projects list*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationTargetProjectListCall) and [*locations target projects patch*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/api::ProjectLocationTargetProjectPatchCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/VMMigrationService)** +* **[Hub](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/VMMigrationService)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/client::CallBuilder) -* **[Resources](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/client::CallBuilder) +* **[Resources](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/client::Part)** + * **[Parts](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -118,7 +118,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -153,17 +153,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -173,29 +173,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/client::Delegate) to the -[Method Builder](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/client::Delegate) to the +[Method Builder](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/client::RequestValue) and -[decodable](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/client::RequestValue) and +[decodable](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-vmmigration1/3.0.0+20220225/google_vmmigration1/client::RequestValue) are moved +* [request values](https://docs.rs/google-vmmigration1/3.1.0+20220225/google_vmmigration1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/vmmigration1/src/api.rs b/gen/vmmigration1/src/api.rs index 688a170cb5..90521d6eae 100644 --- a/gen/vmmigration1/src/api.rs +++ b/gen/vmmigration1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -121,7 +121,7 @@ impl<'a, > VMMigrationService<> { VMMigrationService { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://vmmigration.googleapis.com/".to_string(), _root_url: "https://vmmigration.googleapis.com/".to_string(), } @@ -132,7 +132,7 @@ impl<'a, > VMMigrationService<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -1482,7 +1482,7 @@ impl client::Part for VmwareVmsDetails {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_get(...)`, `locations_groups_add_group_migration(...)`, `locations_groups_create(...)`, `locations_groups_delete(...)`, `locations_groups_get(...)`, `locations_groups_list(...)`, `locations_groups_patch(...)`, `locations_groups_remove_group_migration(...)`, `locations_list(...)`, `locations_operations_cancel(...)`, `locations_operations_delete(...)`, `locations_operations_get(...)`, `locations_operations_list(...)`, `locations_sources_create(...)`, `locations_sources_datacenter_connectors_create(...)`, `locations_sources_datacenter_connectors_delete(...)`, `locations_sources_datacenter_connectors_get(...)`, `locations_sources_datacenter_connectors_list(...)`, `locations_sources_datacenter_connectors_upgrade_appliance(...)`, `locations_sources_delete(...)`, `locations_sources_fetch_inventory(...)`, `locations_sources_get(...)`, `locations_sources_list(...)`, `locations_sources_migrating_vms_clone_jobs_cancel(...)`, `locations_sources_migrating_vms_clone_jobs_create(...)`, `locations_sources_migrating_vms_clone_jobs_get(...)`, `locations_sources_migrating_vms_clone_jobs_list(...)`, `locations_sources_migrating_vms_create(...)`, `locations_sources_migrating_vms_cutover_jobs_cancel(...)`, `locations_sources_migrating_vms_cutover_jobs_create(...)`, `locations_sources_migrating_vms_cutover_jobs_get(...)`, `locations_sources_migrating_vms_cutover_jobs_list(...)`, `locations_sources_migrating_vms_delete(...)`, `locations_sources_migrating_vms_finalize_migration(...)`, `locations_sources_migrating_vms_get(...)`, `locations_sources_migrating_vms_list(...)`, `locations_sources_migrating_vms_patch(...)`, `locations_sources_migrating_vms_pause_migration(...)`, `locations_sources_migrating_vms_resume_migration(...)`, `locations_sources_migrating_vms_start_migration(...)`, `locations_sources_patch(...)`, `locations_sources_utilization_reports_create(...)`, `locations_sources_utilization_reports_delete(...)`, `locations_sources_utilization_reports_get(...)`, `locations_sources_utilization_reports_list(...)`, `locations_target_projects_create(...)`, `locations_target_projects_delete(...)`, `locations_target_projects_get(...)`, `locations_target_projects_list(...)` and `locations_target_projects_patch(...)` /// // to build up your call. @@ -2497,7 +2497,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2783,7 +2783,7 @@ impl<'a> ProjectLocationGroupAddGroupMigrationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -3092,7 +3092,7 @@ impl<'a> ProjectLocationGroupCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3360,7 +3360,7 @@ impl<'a> ProjectLocationGroupDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3616,7 +3616,7 @@ impl<'a> ProjectLocationGroupGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3921,7 +3921,7 @@ impl<'a> ProjectLocationGroupListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4231,7 +4231,7 @@ impl<'a> ProjectLocationGroupPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4517,7 +4517,7 @@ impl<'a> ProjectLocationGroupRemoveGroupMigrationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -4802,7 +4802,7 @@ impl<'a> ProjectLocationOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5058,7 +5058,7 @@ impl<'a> ProjectLocationOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5314,7 +5314,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -5607,7 +5607,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -5916,7 +5916,7 @@ impl<'a> ProjectLocationSourceDatacenterConnectorCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6184,7 +6184,7 @@ impl<'a> ProjectLocationSourceDatacenterConnectorDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6440,7 +6440,7 @@ impl<'a> ProjectLocationSourceDatacenterConnectorGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -6745,7 +6745,7 @@ impl<'a> ProjectLocationSourceDatacenterConnectorListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7031,7 +7031,7 @@ impl<'a> ProjectLocationSourceDatacenterConnectorUpgradeApplianceCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7317,7 +7317,7 @@ impl<'a> ProjectLocationSourceMigratingVmCloneJobCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -7626,7 +7626,7 @@ impl<'a> ProjectLocationSourceMigratingVmCloneJobCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -7882,7 +7882,7 @@ impl<'a> ProjectLocationSourceMigratingVmCloneJobGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -8187,7 +8187,7 @@ impl<'a> ProjectLocationSourceMigratingVmCloneJobListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8473,7 +8473,7 @@ impl<'a> ProjectLocationSourceMigratingVmCutoverJobCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -8782,7 +8782,7 @@ impl<'a> ProjectLocationSourceMigratingVmCutoverJobCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9038,7 +9038,7 @@ impl<'a> ProjectLocationSourceMigratingVmCutoverJobGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9343,7 +9343,7 @@ impl<'a> ProjectLocationSourceMigratingVmCutoverJobListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -9652,7 +9652,7 @@ impl<'a> ProjectLocationSourceMigratingVmCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -9909,7 +9909,7 @@ impl<'a> ProjectLocationSourceMigratingVmDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -10194,7 +10194,7 @@ impl<'a> ProjectLocationSourceMigratingVmFinalizeMigrationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10462,7 +10462,7 @@ impl<'a> ProjectLocationSourceMigratingVmGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -10779,7 +10779,7 @@ impl<'a> ProjectLocationSourceMigratingVmListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11089,7 +11089,7 @@ impl<'a> ProjectLocationSourceMigratingVmPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11375,7 +11375,7 @@ impl<'a> ProjectLocationSourceMigratingVmPauseMigrationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11661,7 +11661,7 @@ impl<'a> ProjectLocationSourceMigratingVmResumeMigrationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -11947,7 +11947,7 @@ impl<'a> ProjectLocationSourceMigratingVmStartMigrationCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -12256,7 +12256,7 @@ impl<'a> ProjectLocationSourceUtilizationReportCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12524,7 +12524,7 @@ impl<'a> ProjectLocationSourceUtilizationReportDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -12792,7 +12792,7 @@ impl<'a> ProjectLocationSourceUtilizationReportGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13109,7 +13109,7 @@ impl<'a> ProjectLocationSourceUtilizationReportListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -13418,7 +13418,7 @@ impl<'a> ProjectLocationSourceCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13686,7 +13686,7 @@ impl<'a> ProjectLocationSourceDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -13954,7 +13954,7 @@ impl<'a> ProjectLocationSourceFetchInventoryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14210,7 +14210,7 @@ impl<'a> ProjectLocationSourceGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -14515,7 +14515,7 @@ impl<'a> ProjectLocationSourceListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -14825,7 +14825,7 @@ impl<'a> ProjectLocationSourcePatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -15134,7 +15134,7 @@ impl<'a> ProjectLocationTargetProjectCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15402,7 +15402,7 @@ impl<'a> ProjectLocationTargetProjectDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15658,7 +15658,7 @@ impl<'a> ProjectLocationTargetProjectGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -15963,7 +15963,7 @@ impl<'a> ProjectLocationTargetProjectListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -16272,7 +16272,7 @@ impl<'a> ProjectLocationTargetProjectPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -16528,7 +16528,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/vmmigration1/src/lib.rs b/gen/vmmigration1/src/lib.rs index 662db06f13..308b66ca7b 100644 --- a/gen/vmmigration1/src/lib.rs +++ b/gen/vmmigration1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *VM Migration Service* crate version *3.0.0+20220225*, where *20220225* is the exact revision of the *vmmigration:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *VM Migration Service* crate version *3.1.0+20220225*, where *20220225* is the exact revision of the *vmmigration:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *VM Migration Service* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/migrate/compute-engine). @@ -119,7 +119,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = VMMigrationService::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/webfonts1-cli/Cargo.toml b/gen/webfonts1-cli/Cargo.toml index aba2fe86be..43b7455c6b 100644 --- a/gen/webfonts1-cli/Cargo.toml +++ b/gen/webfonts1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-webfonts1-cli" -version = "3.0.0+20220215" +version = "3.1.0+20220215" authors = ["Sebastian Thiel "] description = "A complete library to interact with Webfonts (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/webfonts1-cli" @@ -20,12 +20,12 @@ name = "webfonts1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-webfonts1] path = "../webfonts1" -version = "3.0.0+20220215" +version = "3.1.0+20220215" diff --git a/gen/webfonts1-cli/README.md b/gen/webfonts1-cli/README.md index 24f3ffddc4..4ee81ea630 100644 --- a/gen/webfonts1-cli/README.md +++ b/gen/webfonts1-cli/README.md @@ -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 *Webfonts* API at revision *20220215*. The CLI is at version *3.0.0*. +This documentation was generated from the *Webfonts* API at revision *20220215*. The CLI is at version *3.1.0*. ```bash webfonts1 [options] diff --git a/gen/webfonts1-cli/mkdocs.yml b/gen/webfonts1-cli/mkdocs.yml index ed215d76ba..d95f5998dd 100644 --- a/gen/webfonts1-cli/mkdocs.yml +++ b/gen/webfonts1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Webfonts v3.0.0+20220215 +site_name: Webfonts v3.1.0+20220215 site_url: http://byron.github.io/google-apis-rs/google-webfonts1-cli site_description: A complete library to interact with Webfonts (protocol v1) diff --git a/gen/webfonts1-cli/src/main.rs b/gen/webfonts1-cli/src/main.rs index 1f8ee6c81a..c0fa565689 100644 --- a/gen/webfonts1-cli/src/main.rs +++ b/gen/webfonts1-cli/src/main.rs @@ -145,7 +145,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/webfonts1", 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::Webfonts::new(client, auth), @@ -203,7 +209,7 @@ async fn main() { let mut app = App::new("webfonts1") .author("Sebastian Thiel ") - .version("3.0.0+20220215") + .version("3.1.0+20220215") .about("The Google Web Fonts Developer API lets you retrieve information about web fonts served by Google.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_webfonts1_cli") .arg(Arg::with_name("folder") diff --git a/gen/webfonts1/Cargo.toml b/gen/webfonts1/Cargo.toml index ff8096f801..7604b4eb1d 100644 --- a/gen/webfonts1/Cargo.toml +++ b/gen/webfonts1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-webfonts1" -version = "3.0.0+20220215" +version = "3.1.0+20220215" authors = ["Sebastian Thiel "] description = "A complete library to interact with Webfonts (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/webfonts1" homepage = "https://developers.google.com/fonts/docs/developer_api" -documentation = "https://docs.rs/google-webfonts1/3.0.0+20220215" +documentation = "https://docs.rs/google-webfonts1/3.1.0+20220215" license = "MIT" keywords = ["webfonts", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/webfonts1/README.md b/gen/webfonts1/README.md index e4016d5bb7..13fb33e522 100644 --- a/gen/webfonts1/README.md +++ b/gen/webfonts1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-webfonts1` library allows access to all features of the *Google Webfonts* service. -This documentation was generated from *Webfonts* crate version *3.0.0+20220215*, where *20220215* is the exact revision of the *webfonts:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Webfonts* crate version *3.1.0+20220215*, where *20220215* is the exact revision of the *webfonts:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Webfonts* *v1* API can be found at the [official documentation site](https://developers.google.com/fonts/docs/developer_api). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-webfonts1/3.0.0+20220215/google_webfonts1/Webfonts) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-webfonts1/3.1.0+20220215/google_webfonts1/Webfonts) ... -* [webfonts](https://docs.rs/google-webfonts1/3.0.0+20220215/google_webfonts1/api::Webfont) - * [*list*](https://docs.rs/google-webfonts1/3.0.0+20220215/google_webfonts1/api::WebfontListCall) +* [webfonts](https://docs.rs/google-webfonts1/3.1.0+20220215/google_webfonts1/api::Webfont) + * [*list*](https://docs.rs/google-webfonts1/3.1.0+20220215/google_webfonts1/api::WebfontListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-webfonts1/3.0.0+20220215/google_webfonts1/Webfonts)** +* **[Hub](https://docs.rs/google-webfonts1/3.1.0+20220215/google_webfonts1/Webfonts)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-webfonts1/3.0.0+20220215/google_webfonts1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-webfonts1/3.0.0+20220215/google_webfonts1/client::CallBuilder) -* **[Resources](https://docs.rs/google-webfonts1/3.0.0+20220215/google_webfonts1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-webfonts1/3.1.0+20220215/google_webfonts1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-webfonts1/3.1.0+20220215/google_webfonts1/client::CallBuilder) +* **[Resources](https://docs.rs/google-webfonts1/3.1.0+20220215/google_webfonts1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-webfonts1/3.0.0+20220215/google_webfonts1/client::Part)** + * **[Parts](https://docs.rs/google-webfonts1/3.1.0+20220215/google_webfonts1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-webfonts1/3.0.0+20220215/google_webfonts1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-webfonts1/3.1.0+20220215/google_webfonts1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -90,7 +90,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Webfonts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Webfonts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -119,17 +119,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-webfonts1/3.0.0+20220215/google_webfonts1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-webfonts1/3.1.0+20220215/google_webfonts1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-webfonts1/3.0.0+20220215/google_webfonts1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-webfonts1/3.1.0+20220215/google_webfonts1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-webfonts1/3.0.0+20220215/google_webfonts1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-webfonts1/3.1.0+20220215/google_webfonts1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-webfonts1/3.0.0+20220215/google_webfonts1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-webfonts1/3.1.0+20220215/google_webfonts1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -139,29 +139,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-webfonts1/3.0.0+20220215/google_webfonts1/client::Delegate) to the -[Method Builder](https://docs.rs/google-webfonts1/3.0.0+20220215/google_webfonts1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-webfonts1/3.1.0+20220215/google_webfonts1/client::Delegate) to the +[Method Builder](https://docs.rs/google-webfonts1/3.1.0+20220215/google_webfonts1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-webfonts1/3.0.0+20220215/google_webfonts1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-webfonts1/3.1.0+20220215/google_webfonts1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-webfonts1/3.0.0+20220215/google_webfonts1/client::RequestValue) and -[decodable](https://docs.rs/google-webfonts1/3.0.0+20220215/google_webfonts1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-webfonts1/3.1.0+20220215/google_webfonts1/client::RequestValue) and +[decodable](https://docs.rs/google-webfonts1/3.1.0+20220215/google_webfonts1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-webfonts1/3.0.0+20220215/google_webfonts1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-webfonts1/3.1.0+20220215/google_webfonts1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-webfonts1/3.0.0+20220215/google_webfonts1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-webfonts1/3.1.0+20220215/google_webfonts1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-webfonts1/3.0.0+20220215/google_webfonts1/client::RequestValue) are moved +* [request values](https://docs.rs/google-webfonts1/3.1.0+20220215/google_webfonts1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/webfonts1/src/api.rs b/gen/webfonts1/src/api.rs index 2ee537d3f2..8c14d05993 100644 --- a/gen/webfonts1/src/api.rs +++ b/gen/webfonts1/src/api.rs @@ -48,7 +48,7 @@ use crate::client; /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Webfonts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Webfonts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -92,7 +92,7 @@ impl<'a, > Webfonts<> { Webfonts { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://webfonts.googleapis.com/".to_string(), _root_url: "https://webfonts.googleapis.com/".to_string(), } @@ -103,7 +103,7 @@ impl<'a, > Webfonts<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -210,7 +210,7 @@ impl client::ResponseResult for WebfontList {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Webfonts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Webfonts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -270,7 +270,7 @@ impl<'a> WebfontMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Webfonts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Webfonts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/webfonts1/src/lib.rs b/gen/webfonts1/src/lib.rs index 9910570bcf..f6ba85a669 100644 --- a/gen/webfonts1/src/lib.rs +++ b/gen/webfonts1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Webfonts* crate version *3.0.0+20220215*, where *20220215* is the exact revision of the *webfonts:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Webfonts* crate version *3.1.0+20220215*, where *20220215* is the exact revision of the *webfonts:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Webfonts* *v1* API can be found at the //! [official documentation site](https://developers.google.com/fonts/docs/developer_api). @@ -91,7 +91,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Webfonts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Webfonts::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative ! diff --git a/gen/webmasters3-cli/Cargo.toml b/gen/webmasters3-cli/Cargo.toml index 9f95ab15a9..d6fb14fcef 100644 --- a/gen/webmasters3-cli/Cargo.toml +++ b/gen/webmasters3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-webmasters3-cli" -version = "3.0.0+20190428" +version = "3.1.0+20190428" authors = ["Sebastian Thiel "] description = "A complete library to interact with webmasters (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/webmasters3-cli" @@ -20,12 +20,12 @@ name = "webmasters3" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-webmasters3] path = "../webmasters3" -version = "3.0.0+20190428" +version = "3.1.0+20190428" diff --git a/gen/webmasters3-cli/README.md b/gen/webmasters3-cli/README.md index 67e2a61550..3453645fe2 100644 --- a/gen/webmasters3-cli/README.md +++ b/gen/webmasters3-cli/README.md @@ -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 *webmasters* API at revision *20190428*. The CLI is at version *3.0.0*. +This documentation was generated from the *webmasters* API at revision *20190428*. The CLI is at version *3.1.0*. ```bash webmasters3 [options] diff --git a/gen/webmasters3-cli/mkdocs.yml b/gen/webmasters3-cli/mkdocs.yml index 1e5d28c227..655162555a 100644 --- a/gen/webmasters3-cli/mkdocs.yml +++ b/gen/webmasters3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: webmasters v3.0.0+20190428 +site_name: webmasters v3.1.0+20190428 site_url: http://byron.github.io/google-apis-rs/google-webmasters3-cli site_description: A complete library to interact with webmasters (protocol v3) diff --git a/gen/webmasters3-cli/src/main.rs b/gen/webmasters3-cli/src/main.rs index 7dc970a589..fc82fdd0a1 100644 --- a/gen/webmasters3-cli/src/main.rs +++ b/gen/webmasters3-cli/src/main.rs @@ -612,7 +612,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/webmasters3", 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::Webmasters::new(client, auth), @@ -851,7 +857,7 @@ async fn main() { let mut app = App::new("webmasters3") .author("Sebastian Thiel ") - .version("3.0.0+20190428") + .version("3.1.0+20190428") .about("View Google Search Console data for your verified sites.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_webmasters3_cli") .arg(Arg::with_name("url") diff --git a/gen/webmasters3/Cargo.toml b/gen/webmasters3/Cargo.toml index d22057f1b0..582bd52979 100644 --- a/gen/webmasters3/Cargo.toml +++ b/gen/webmasters3/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-webmasters3" -version = "3.0.0+20190428" +version = "3.1.0+20190428" authors = ["Sebastian Thiel "] description = "A complete library to interact with webmasters (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/webmasters3" homepage = "https://developers.google.com/webmaster-tools/" -documentation = "https://docs.rs/google-webmasters3/3.0.0+20190428" +documentation = "https://docs.rs/google-webmasters3/3.1.0+20190428" license = "MIT" keywords = ["webmasters", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/webmasters3/README.md b/gen/webmasters3/README.md index 4de03195f2..ac16e7f5c2 100644 --- a/gen/webmasters3/README.md +++ b/gen/webmasters3/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-webmasters3` library allows access to all features of the *Google webmasters* service. -This documentation was generated from *webmasters* crate version *3.0.0+20190428*, where *20190428* is the exact revision of the *webmasters:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *webmasters* crate version *3.1.0+20190428*, where *20190428* is the exact revision of the *webmasters:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *webmasters* *v3* API can be found at the [official documentation site](https://developers.google.com/webmaster-tools/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-webmasters3/3.0.0+20190428/google_webmasters3/Webmasters) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-webmasters3/3.1.0+20190428/google_webmasters3/Webmasters) ... * searchanalytics - * [*query*](https://docs.rs/google-webmasters3/3.0.0+20190428/google_webmasters3/api::SearchanalyticQueryCall) + * [*query*](https://docs.rs/google-webmasters3/3.1.0+20190428/google_webmasters3/api::SearchanalyticQueryCall) * sitemaps - * [*delete*](https://docs.rs/google-webmasters3/3.0.0+20190428/google_webmasters3/api::SitemapDeleteCall), [*get*](https://docs.rs/google-webmasters3/3.0.0+20190428/google_webmasters3/api::SitemapGetCall), [*list*](https://docs.rs/google-webmasters3/3.0.0+20190428/google_webmasters3/api::SitemapListCall) and [*submit*](https://docs.rs/google-webmasters3/3.0.0+20190428/google_webmasters3/api::SitemapSubmitCall) + * [*delete*](https://docs.rs/google-webmasters3/3.1.0+20190428/google_webmasters3/api::SitemapDeleteCall), [*get*](https://docs.rs/google-webmasters3/3.1.0+20190428/google_webmasters3/api::SitemapGetCall), [*list*](https://docs.rs/google-webmasters3/3.1.0+20190428/google_webmasters3/api::SitemapListCall) and [*submit*](https://docs.rs/google-webmasters3/3.1.0+20190428/google_webmasters3/api::SitemapSubmitCall) * sites - * [*add*](https://docs.rs/google-webmasters3/3.0.0+20190428/google_webmasters3/api::SiteAddCall), [*delete*](https://docs.rs/google-webmasters3/3.0.0+20190428/google_webmasters3/api::SiteDeleteCall), [*get*](https://docs.rs/google-webmasters3/3.0.0+20190428/google_webmasters3/api::SiteGetCall) and [*list*](https://docs.rs/google-webmasters3/3.0.0+20190428/google_webmasters3/api::SiteListCall) + * [*add*](https://docs.rs/google-webmasters3/3.1.0+20190428/google_webmasters3/api::SiteAddCall), [*delete*](https://docs.rs/google-webmasters3/3.1.0+20190428/google_webmasters3/api::SiteDeleteCall), [*get*](https://docs.rs/google-webmasters3/3.1.0+20190428/google_webmasters3/api::SiteGetCall) and [*list*](https://docs.rs/google-webmasters3/3.1.0+20190428/google_webmasters3/api::SiteListCall) @@ -27,17 +27,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-webmasters3/3.0.0+20190428/google_webmasters3/Webmasters)** +* **[Hub](https://docs.rs/google-webmasters3/3.1.0+20190428/google_webmasters3/Webmasters)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-webmasters3/3.0.0+20190428/google_webmasters3/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-webmasters3/3.0.0+20190428/google_webmasters3/client::CallBuilder) -* **[Resources](https://docs.rs/google-webmasters3/3.0.0+20190428/google_webmasters3/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-webmasters3/3.1.0+20190428/google_webmasters3/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-webmasters3/3.1.0+20190428/google_webmasters3/client::CallBuilder) +* **[Resources](https://docs.rs/google-webmasters3/3.1.0+20190428/google_webmasters3/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-webmasters3/3.0.0+20190428/google_webmasters3/client::Part)** + * **[Parts](https://docs.rs/google-webmasters3/3.1.0+20190428/google_webmasters3/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-webmasters3/3.0.0+20190428/google_webmasters3/client::CallBuilder)** +* **[Activities](https://docs.rs/google-webmasters3/3.1.0+20190428/google_webmasters3/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -95,7 +95,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Webmasters::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Webmasters::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -128,17 +128,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-webmasters3/3.0.0+20190428/google_webmasters3/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-webmasters3/3.1.0+20190428/google_webmasters3/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-webmasters3/3.0.0+20190428/google_webmasters3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-webmasters3/3.1.0+20190428/google_webmasters3/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-webmasters3/3.0.0+20190428/google_webmasters3/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-webmasters3/3.1.0+20190428/google_webmasters3/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-webmasters3/3.0.0+20190428/google_webmasters3/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-webmasters3/3.1.0+20190428/google_webmasters3/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -148,29 +148,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-webmasters3/3.0.0+20190428/google_webmasters3/client::Delegate) to the -[Method Builder](https://docs.rs/google-webmasters3/3.0.0+20190428/google_webmasters3/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-webmasters3/3.1.0+20190428/google_webmasters3/client::Delegate) to the +[Method Builder](https://docs.rs/google-webmasters3/3.1.0+20190428/google_webmasters3/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-webmasters3/3.0.0+20190428/google_webmasters3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-webmasters3/3.1.0+20190428/google_webmasters3/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-webmasters3/3.0.0+20190428/google_webmasters3/client::RequestValue) and -[decodable](https://docs.rs/google-webmasters3/3.0.0+20190428/google_webmasters3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-webmasters3/3.1.0+20190428/google_webmasters3/client::RequestValue) and +[decodable](https://docs.rs/google-webmasters3/3.1.0+20190428/google_webmasters3/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-webmasters3/3.0.0+20190428/google_webmasters3/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-webmasters3/3.1.0+20190428/google_webmasters3/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-webmasters3/3.0.0+20190428/google_webmasters3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-webmasters3/3.1.0+20190428/google_webmasters3/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-webmasters3/3.0.0+20190428/google_webmasters3/client::RequestValue) are moved +* [request values](https://docs.rs/google-webmasters3/3.1.0+20190428/google_webmasters3/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/webmasters3/src/api.rs b/gen/webmasters3/src/api.rs index 5908feda90..64a69c4269 100644 --- a/gen/webmasters3/src/api.rs +++ b/gen/webmasters3/src/api.rs @@ -75,7 +75,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Webmasters::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Webmasters::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -123,7 +123,7 @@ impl<'a, > Webmasters<> { Webmasters { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://www.googleapis.com/webmasters/v3/".to_string(), _root_url: "https://www.googleapis.com/".to_string(), } @@ -140,7 +140,7 @@ impl<'a, > Webmasters<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -431,7 +431,7 @@ impl client::Part for WmxSitemapContent {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Webmasters::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Webmasters::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `query(...)` /// // to build up your call. @@ -493,7 +493,7 @@ impl<'a> SearchanalyticMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Webmasters::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Webmasters::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `delete(...)`, `get(...)`, `list(...)` and `submit(...)` /// // to build up your call. @@ -609,7 +609,7 @@ impl<'a> SitemapMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Webmasters::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Webmasters::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `add(...)`, `delete(...)`, `get(...)` and `list(...)` /// // to build up your call. @@ -723,7 +723,7 @@ impl<'a> SiteMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Webmasters::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Webmasters::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1000,7 +1000,7 @@ impl<'a> SearchanalyticQueryCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Webmasters::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Webmasters::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1249,7 +1249,7 @@ impl<'a> SitemapDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Webmasters::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Webmasters::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1509,7 +1509,7 @@ impl<'a> SitemapGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Webmasters::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Webmasters::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1769,7 +1769,7 @@ impl<'a> SitemapListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Webmasters::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Webmasters::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2018,7 +2018,7 @@ impl<'a> SitemapSubmitCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Webmasters::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Webmasters::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2255,7 +2255,7 @@ impl<'a> SiteAddCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Webmasters::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Webmasters::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2492,7 +2492,7 @@ impl<'a> SiteDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Webmasters::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Webmasters::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2740,7 +2740,7 @@ impl<'a> SiteGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Webmasters::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Webmasters::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/webmasters3/src/lib.rs b/gen/webmasters3/src/lib.rs index 72a8c56679..65563d591b 100644 --- a/gen/webmasters3/src/lib.rs +++ b/gen/webmasters3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *webmasters* crate version *3.0.0+20190428*, where *20190428* is the exact revision of the *webmasters:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *webmasters* crate version *3.1.0+20190428*, where *20190428* is the exact revision of the *webmasters:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *webmasters* *v3* API can be found at the //! [official documentation site](https://developers.google.com/webmaster-tools/). @@ -96,7 +96,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Webmasters::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Webmasters::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/webrisk1-cli/Cargo.toml b/gen/webrisk1-cli/Cargo.toml index c0be6e8d12..3a1c3a9d9d 100644 --- a/gen/webrisk1-cli/Cargo.toml +++ b/gen/webrisk1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-webrisk1-cli" -version = "3.0.0+20220226" +version = "3.1.0+20220226" authors = ["Sebastian Thiel "] description = "A complete library to interact with Web Risk (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/webrisk1-cli" @@ -20,12 +20,12 @@ name = "webrisk1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-webrisk1] path = "../webrisk1" -version = "3.0.0+20220226" +version = "3.1.0+20220226" diff --git a/gen/webrisk1-cli/README.md b/gen/webrisk1-cli/README.md index 466922d2a0..5a990a3d99 100644 --- a/gen/webrisk1-cli/README.md +++ b/gen/webrisk1-cli/README.md @@ -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 *Web Risk* API at revision *20220226*. The CLI is at version *3.0.0*. +This documentation was generated from the *Web Risk* API at revision *20220226*. The CLI is at version *3.1.0*. ```bash webrisk1 [options] diff --git a/gen/webrisk1-cli/mkdocs.yml b/gen/webrisk1-cli/mkdocs.yml index 74a9a2658e..fbb5e4798d 100644 --- a/gen/webrisk1-cli/mkdocs.yml +++ b/gen/webrisk1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Web Risk v3.0.0+20220226 +site_name: Web Risk v3.1.0+20220226 site_url: http://byron.github.io/google-apis-rs/google-webrisk1-cli site_description: A complete library to interact with Web Risk (protocol v1) diff --git a/gen/webrisk1-cli/src/main.rs b/gen/webrisk1-cli/src/main.rs index 0349569692..b85a204e72 100644 --- a/gen/webrisk1-cli/src/main.rs +++ b/gen/webrisk1-cli/src/main.rs @@ -739,7 +739,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/webrisk1", 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::WebRisk::new(client, auth), @@ -988,7 +994,7 @@ async fn main() { let mut app = App::new("webrisk1") .author("Sebastian Thiel ") - .version("3.0.0+20220226") + .version("3.1.0+20220226") .about("") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_webrisk1_cli") .arg(Arg::with_name("url") diff --git a/gen/webrisk1/Cargo.toml b/gen/webrisk1/Cargo.toml index ff04780656..de6f5462ac 100644 --- a/gen/webrisk1/Cargo.toml +++ b/gen/webrisk1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-webrisk1" -version = "3.0.0+20220226" +version = "3.1.0+20220226" authors = ["Sebastian Thiel "] description = "A complete library to interact with Web Risk (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/webrisk1" homepage = "https://cloud.google.com/web-risk/" -documentation = "https://docs.rs/google-webrisk1/3.0.0+20220226" +documentation = "https://docs.rs/google-webrisk1/3.1.0+20220226" license = "MIT" keywords = ["webrisk", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/webrisk1/README.md b/gen/webrisk1/README.md index e77d7db4a7..3601527b7d 100644 --- a/gen/webrisk1/README.md +++ b/gen/webrisk1/README.md @@ -5,22 +5,22 @@ DO NOT EDIT ! --> The `google-webrisk1` library allows access to all features of the *Google Web Risk* service. -This documentation was generated from *Web Risk* crate version *3.0.0+20220226*, where *20220226* is the exact revision of the *webrisk:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Web Risk* crate version *3.1.0+20220226*, where *20220226* is the exact revision of the *webrisk:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Web Risk* *v1* API can be found at the [official documentation site](https://cloud.google.com/web-risk/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-webrisk1/3.0.0+20220226/google_webrisk1/WebRisk) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-webrisk1/3.1.0+20220226/google_webrisk1/WebRisk) ... * hashes - * [*search*](https://docs.rs/google-webrisk1/3.0.0+20220226/google_webrisk1/api::HasheSearchCall) + * [*search*](https://docs.rs/google-webrisk1/3.1.0+20220226/google_webrisk1/api::HasheSearchCall) * projects - * [*operations cancel*](https://docs.rs/google-webrisk1/3.0.0+20220226/google_webrisk1/api::ProjectOperationCancelCall), [*operations delete*](https://docs.rs/google-webrisk1/3.0.0+20220226/google_webrisk1/api::ProjectOperationDeleteCall), [*operations get*](https://docs.rs/google-webrisk1/3.0.0+20220226/google_webrisk1/api::ProjectOperationGetCall), [*operations list*](https://docs.rs/google-webrisk1/3.0.0+20220226/google_webrisk1/api::ProjectOperationListCall), [*submissions create*](https://docs.rs/google-webrisk1/3.0.0+20220226/google_webrisk1/api::ProjectSubmissionCreateCall) and [*uris submit*](https://docs.rs/google-webrisk1/3.0.0+20220226/google_webrisk1/api::ProjectUriSubmitCall) + * [*operations cancel*](https://docs.rs/google-webrisk1/3.1.0+20220226/google_webrisk1/api::ProjectOperationCancelCall), [*operations delete*](https://docs.rs/google-webrisk1/3.1.0+20220226/google_webrisk1/api::ProjectOperationDeleteCall), [*operations get*](https://docs.rs/google-webrisk1/3.1.0+20220226/google_webrisk1/api::ProjectOperationGetCall), [*operations list*](https://docs.rs/google-webrisk1/3.1.0+20220226/google_webrisk1/api::ProjectOperationListCall), [*submissions create*](https://docs.rs/google-webrisk1/3.1.0+20220226/google_webrisk1/api::ProjectSubmissionCreateCall) and [*uris submit*](https://docs.rs/google-webrisk1/3.1.0+20220226/google_webrisk1/api::ProjectUriSubmitCall) * threat lists - * [*compute diff*](https://docs.rs/google-webrisk1/3.0.0+20220226/google_webrisk1/api::ThreatListComputeDiffCall) + * [*compute diff*](https://docs.rs/google-webrisk1/3.1.0+20220226/google_webrisk1/api::ThreatListComputeDiffCall) * uris - * [*search*](https://docs.rs/google-webrisk1/3.0.0+20220226/google_webrisk1/api::UriSearchCall) + * [*search*](https://docs.rs/google-webrisk1/3.1.0+20220226/google_webrisk1/api::UriSearchCall) @@ -29,17 +29,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-webrisk1/3.0.0+20220226/google_webrisk1/WebRisk)** +* **[Hub](https://docs.rs/google-webrisk1/3.1.0+20220226/google_webrisk1/WebRisk)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-webrisk1/3.0.0+20220226/google_webrisk1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-webrisk1/3.0.0+20220226/google_webrisk1/client::CallBuilder) -* **[Resources](https://docs.rs/google-webrisk1/3.0.0+20220226/google_webrisk1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-webrisk1/3.1.0+20220226/google_webrisk1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-webrisk1/3.1.0+20220226/google_webrisk1/client::CallBuilder) +* **[Resources](https://docs.rs/google-webrisk1/3.1.0+20220226/google_webrisk1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-webrisk1/3.0.0+20220226/google_webrisk1/client::Part)** + * **[Parts](https://docs.rs/google-webrisk1/3.1.0+20220226/google_webrisk1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-webrisk1/3.0.0+20220226/google_webrisk1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-webrisk1/3.1.0+20220226/google_webrisk1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -98,7 +98,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = WebRisk::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = WebRisk::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -131,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-webrisk1/3.0.0+20220226/google_webrisk1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-webrisk1/3.1.0+20220226/google_webrisk1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-webrisk1/3.0.0+20220226/google_webrisk1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-webrisk1/3.1.0+20220226/google_webrisk1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-webrisk1/3.0.0+20220226/google_webrisk1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-webrisk1/3.1.0+20220226/google_webrisk1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-webrisk1/3.0.0+20220226/google_webrisk1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-webrisk1/3.1.0+20220226/google_webrisk1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -151,29 +151,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-webrisk1/3.0.0+20220226/google_webrisk1/client::Delegate) to the -[Method Builder](https://docs.rs/google-webrisk1/3.0.0+20220226/google_webrisk1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-webrisk1/3.1.0+20220226/google_webrisk1/client::Delegate) to the +[Method Builder](https://docs.rs/google-webrisk1/3.1.0+20220226/google_webrisk1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-webrisk1/3.0.0+20220226/google_webrisk1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-webrisk1/3.1.0+20220226/google_webrisk1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-webrisk1/3.0.0+20220226/google_webrisk1/client::RequestValue) and -[decodable](https://docs.rs/google-webrisk1/3.0.0+20220226/google_webrisk1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-webrisk1/3.1.0+20220226/google_webrisk1/client::RequestValue) and +[decodable](https://docs.rs/google-webrisk1/3.1.0+20220226/google_webrisk1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-webrisk1/3.0.0+20220226/google_webrisk1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-webrisk1/3.1.0+20220226/google_webrisk1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-webrisk1/3.0.0+20220226/google_webrisk1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-webrisk1/3.1.0+20220226/google_webrisk1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-webrisk1/3.0.0+20220226/google_webrisk1/client::RequestValue) are moved +* [request values](https://docs.rs/google-webrisk1/3.1.0+20220226/google_webrisk1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/webrisk1/src/api.rs b/gen/webrisk1/src/api.rs index 6904cc9f46..e134bbb134 100644 --- a/gen/webrisk1/src/api.rs +++ b/gen/webrisk1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = WebRisk::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = WebRisk::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > WebRisk<> { WebRisk { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://webrisk.googleapis.com/".to_string(), _root_url: "https://webrisk.googleapis.com/".to_string(), } @@ -139,7 +139,7 @@ impl<'a, > WebRisk<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -535,7 +535,7 @@ impl client::Part for GoogleRpcStatus {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = WebRisk::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = WebRisk::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `search(...)` /// // to build up your call. @@ -590,7 +590,7 @@ impl<'a> HasheMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = WebRisk::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = WebRisk::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `operations_cancel(...)`, `operations_delete(...)`, `operations_get(...)`, `operations_list(...)`, `submissions_create(...)` and `uris_submit(...)` /// // to build up your call. @@ -739,7 +739,7 @@ impl<'a> ProjectMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = WebRisk::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = WebRisk::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `compute_diff(...)` /// // to build up your call. @@ -797,7 +797,7 @@ impl<'a> ThreatListMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = WebRisk::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = WebRisk::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `search(...)` /// // to build up your call. @@ -859,7 +859,7 @@ impl<'a> UriMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = WebRisk::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = WebRisk::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1106,7 +1106,7 @@ impl<'a> HasheSearchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = WebRisk::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = WebRisk::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1361,7 +1361,7 @@ impl<'a> ProjectOperationCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = WebRisk::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = WebRisk::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1587,7 +1587,7 @@ impl<'a> ProjectOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = WebRisk::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = WebRisk::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1843,7 +1843,7 @@ impl<'a> ProjectOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = WebRisk::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = WebRisk::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2106,7 +2106,7 @@ impl<'a> ProjectOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = WebRisk::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = WebRisk::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2392,7 +2392,7 @@ impl<'a> ProjectSubmissionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = WebRisk::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = WebRisk::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2677,7 +2677,7 @@ impl<'a> ProjectUriSubmitCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = WebRisk::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = WebRisk::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2959,7 +2959,7 @@ impl<'a> ThreatListComputeDiffCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = WebRisk::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = WebRisk::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/webrisk1/src/lib.rs b/gen/webrisk1/src/lib.rs index de7078f6de..d5faf64daf 100644 --- a/gen/webrisk1/src/lib.rs +++ b/gen/webrisk1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Web Risk* crate version *3.0.0+20220226*, where *20220226* is the exact revision of the *webrisk:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Web Risk* crate version *3.1.0+20220226*, where *20220226* is the exact revision of the *webrisk:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Web Risk* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/web-risk/). @@ -99,7 +99,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = WebRisk::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = WebRisk::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/workflowexecutions1-cli/Cargo.toml b/gen/workflowexecutions1-cli/Cargo.toml index c7ddad91ca..5a27bea7bf 100644 --- a/gen/workflowexecutions1-cli/Cargo.toml +++ b/gen/workflowexecutions1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-workflowexecutions1-cli" -version = "3.0.0+20220222" +version = "3.1.0+20220222" authors = ["Sebastian Thiel "] description = "A complete library to interact with Workflow Executions (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/workflowexecutions1-cli" @@ -20,12 +20,12 @@ name = "workflowexecutions1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-workflowexecutions1] path = "../workflowexecutions1" -version = "3.0.0+20220222" +version = "3.1.0+20220222" diff --git a/gen/workflowexecutions1-cli/README.md b/gen/workflowexecutions1-cli/README.md index 9b67cd6e2a..1144360980 100644 --- a/gen/workflowexecutions1-cli/README.md +++ b/gen/workflowexecutions1-cli/README.md @@ -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 *Workflow Executions* API at revision *20220222*. The CLI is at version *3.0.0*. +This documentation was generated from the *Workflow Executions* API at revision *20220222*. The CLI is at version *3.1.0*. ```bash workflowexecutions1 [options] diff --git a/gen/workflowexecutions1-cli/mkdocs.yml b/gen/workflowexecutions1-cli/mkdocs.yml index 9c7d8fa554..fa779304db 100644 --- a/gen/workflowexecutions1-cli/mkdocs.yml +++ b/gen/workflowexecutions1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Workflow Executions v3.0.0+20220222 +site_name: Workflow Executions v3.1.0+20220222 site_url: http://byron.github.io/google-apis-rs/google-workflowexecutions1-cli site_description: A complete library to interact with Workflow Executions (protocol v1) diff --git a/gen/workflowexecutions1-cli/src/main.rs b/gen/workflowexecutions1-cli/src/main.rs index 72b74e738b..bb619ea884 100644 --- a/gen/workflowexecutions1-cli/src/main.rs +++ b/gen/workflowexecutions1-cli/src/main.rs @@ -397,7 +397,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/workflowexecutions1", 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::WorkflowExecutions::new(client, auth), @@ -539,7 +545,7 @@ async fn main() { let mut app = App::new("workflowexecutions1") .author("Sebastian Thiel ") - .version("3.0.0+20220222") + .version("3.1.0+20220222") .about("Execute workflows created with Workflows API.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_workflowexecutions1_cli") .arg(Arg::with_name("url") diff --git a/gen/workflowexecutions1/Cargo.toml b/gen/workflowexecutions1/Cargo.toml index bfdfb5551e..b5ac54a624 100644 --- a/gen/workflowexecutions1/Cargo.toml +++ b/gen/workflowexecutions1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-workflowexecutions1" -version = "3.0.0+20220222" +version = "3.1.0+20220222" authors = ["Sebastian Thiel "] description = "A complete library to interact with Workflow Executions (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/workflowexecutions1" homepage = "https://cloud.google.com/workflows" -documentation = "https://docs.rs/google-workflowexecutions1/3.0.0+20220222" +documentation = "https://docs.rs/google-workflowexecutions1/3.1.0+20220222" license = "MIT" keywords = ["workflowexecutions", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/workflowexecutions1/README.md b/gen/workflowexecutions1/README.md index 153a27f384..14a4425157 100644 --- a/gen/workflowexecutions1/README.md +++ b/gen/workflowexecutions1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-workflowexecutions1` library allows access to all features of the *Google Workflow Executions* service. -This documentation was generated from *Workflow Executions* crate version *3.0.0+20220222*, where *20220222* is the exact revision of the *workflowexecutions:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Workflow Executions* crate version *3.1.0+20220222*, where *20220222* is the exact revision of the *workflowexecutions:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Workflow Executions* *v1* API can be found at the [official documentation site](https://cloud.google.com/workflows). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-workflowexecutions1/3.0.0+20220222/google_workflowexecutions1/WorkflowExecutions) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-workflowexecutions1/3.1.0+20220222/google_workflowexecutions1/WorkflowExecutions) ... * projects - * [*locations workflows executions cancel*](https://docs.rs/google-workflowexecutions1/3.0.0+20220222/google_workflowexecutions1/api::ProjectLocationWorkflowExecutionCancelCall), [*locations workflows executions create*](https://docs.rs/google-workflowexecutions1/3.0.0+20220222/google_workflowexecutions1/api::ProjectLocationWorkflowExecutionCreateCall), [*locations workflows executions get*](https://docs.rs/google-workflowexecutions1/3.0.0+20220222/google_workflowexecutions1/api::ProjectLocationWorkflowExecutionGetCall) and [*locations workflows executions list*](https://docs.rs/google-workflowexecutions1/3.0.0+20220222/google_workflowexecutions1/api::ProjectLocationWorkflowExecutionListCall) + * [*locations workflows executions cancel*](https://docs.rs/google-workflowexecutions1/3.1.0+20220222/google_workflowexecutions1/api::ProjectLocationWorkflowExecutionCancelCall), [*locations workflows executions create*](https://docs.rs/google-workflowexecutions1/3.1.0+20220222/google_workflowexecutions1/api::ProjectLocationWorkflowExecutionCreateCall), [*locations workflows executions get*](https://docs.rs/google-workflowexecutions1/3.1.0+20220222/google_workflowexecutions1/api::ProjectLocationWorkflowExecutionGetCall) and [*locations workflows executions list*](https://docs.rs/google-workflowexecutions1/3.1.0+20220222/google_workflowexecutions1/api::ProjectLocationWorkflowExecutionListCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-workflowexecutions1/3.0.0+20220222/google_workflowexecutions1/WorkflowExecutions)** +* **[Hub](https://docs.rs/google-workflowexecutions1/3.1.0+20220222/google_workflowexecutions1/WorkflowExecutions)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-workflowexecutions1/3.0.0+20220222/google_workflowexecutions1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-workflowexecutions1/3.0.0+20220222/google_workflowexecutions1/client::CallBuilder) -* **[Resources](https://docs.rs/google-workflowexecutions1/3.0.0+20220222/google_workflowexecutions1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-workflowexecutions1/3.1.0+20220222/google_workflowexecutions1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-workflowexecutions1/3.1.0+20220222/google_workflowexecutions1/client::CallBuilder) +* **[Resources](https://docs.rs/google-workflowexecutions1/3.1.0+20220222/google_workflowexecutions1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-workflowexecutions1/3.0.0+20220222/google_workflowexecutions1/client::Part)** + * **[Parts](https://docs.rs/google-workflowexecutions1/3.1.0+20220222/google_workflowexecutions1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-workflowexecutions1/3.0.0+20220222/google_workflowexecutions1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-workflowexecutions1/3.1.0+20220222/google_workflowexecutions1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -93,7 +93,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = WorkflowExecutions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = WorkflowExecutions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -126,17 +126,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-workflowexecutions1/3.0.0+20220222/google_workflowexecutions1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-workflowexecutions1/3.1.0+20220222/google_workflowexecutions1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-workflowexecutions1/3.0.0+20220222/google_workflowexecutions1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-workflowexecutions1/3.1.0+20220222/google_workflowexecutions1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-workflowexecutions1/3.0.0+20220222/google_workflowexecutions1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-workflowexecutions1/3.1.0+20220222/google_workflowexecutions1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-workflowexecutions1/3.0.0+20220222/google_workflowexecutions1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-workflowexecutions1/3.1.0+20220222/google_workflowexecutions1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -146,29 +146,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-workflowexecutions1/3.0.0+20220222/google_workflowexecutions1/client::Delegate) to the -[Method Builder](https://docs.rs/google-workflowexecutions1/3.0.0+20220222/google_workflowexecutions1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-workflowexecutions1/3.1.0+20220222/google_workflowexecutions1/client::Delegate) to the +[Method Builder](https://docs.rs/google-workflowexecutions1/3.1.0+20220222/google_workflowexecutions1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-workflowexecutions1/3.0.0+20220222/google_workflowexecutions1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-workflowexecutions1/3.1.0+20220222/google_workflowexecutions1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-workflowexecutions1/3.0.0+20220222/google_workflowexecutions1/client::RequestValue) and -[decodable](https://docs.rs/google-workflowexecutions1/3.0.0+20220222/google_workflowexecutions1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-workflowexecutions1/3.1.0+20220222/google_workflowexecutions1/client::RequestValue) and +[decodable](https://docs.rs/google-workflowexecutions1/3.1.0+20220222/google_workflowexecutions1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-workflowexecutions1/3.0.0+20220222/google_workflowexecutions1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-workflowexecutions1/3.1.0+20220222/google_workflowexecutions1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-workflowexecutions1/3.0.0+20220222/google_workflowexecutions1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-workflowexecutions1/3.1.0+20220222/google_workflowexecutions1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-workflowexecutions1/3.0.0+20220222/google_workflowexecutions1/client::RequestValue) are moved +* [request values](https://docs.rs/google-workflowexecutions1/3.1.0+20220222/google_workflowexecutions1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/workflowexecutions1/src/api.rs b/gen/workflowexecutions1/src/api.rs index 8acc4e7407..32b4689bb2 100644 --- a/gen/workflowexecutions1/src/api.rs +++ b/gen/workflowexecutions1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = WorkflowExecutions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = WorkflowExecutions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -119,7 +119,7 @@ impl<'a, > WorkflowExecutions<> { WorkflowExecutions { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://workflowexecutions.googleapis.com/".to_string(), _root_url: "https://workflowexecutions.googleapis.com/".to_string(), } @@ -130,7 +130,7 @@ impl<'a, > WorkflowExecutions<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -326,7 +326,7 @@ impl client::Part for StackTraceElement {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = WorkflowExecutions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = WorkflowExecutions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_workflows_executions_cancel(...)`, `locations_workflows_executions_create(...)`, `locations_workflows_executions_get(...)` and `locations_workflows_executions_list(...)` /// // to build up your call. @@ -451,7 +451,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = WorkflowExecutions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = WorkflowExecutions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -737,7 +737,7 @@ impl<'a> ProjectLocationWorkflowExecutionCancelCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = WorkflowExecutions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = WorkflowExecutions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1022,7 +1022,7 @@ impl<'a> ProjectLocationWorkflowExecutionCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = WorkflowExecutions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = WorkflowExecutions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1290,7 +1290,7 @@ impl<'a> ProjectLocationWorkflowExecutionGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = WorkflowExecutions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = WorkflowExecutions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/workflowexecutions1/src/lib.rs b/gen/workflowexecutions1/src/lib.rs index 65d6563c03..a35904992a 100644 --- a/gen/workflowexecutions1/src/lib.rs +++ b/gen/workflowexecutions1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Workflow Executions* crate version *3.0.0+20220222*, where *20220222* is the exact revision of the *workflowexecutions:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Workflow Executions* crate version *3.1.0+20220222*, where *20220222* is the exact revision of the *workflowexecutions:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Workflow Executions* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/workflows). @@ -94,7 +94,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = WorkflowExecutions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = WorkflowExecutions::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/workflows1-cli/Cargo.toml b/gen/workflows1-cli/Cargo.toml index 9e3ae3e4c2..ba214302ff 100644 --- a/gen/workflows1-cli/Cargo.toml +++ b/gen/workflows1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-workflows1-cli" -version = "3.0.0+20220223" +version = "3.1.0+20220223" authors = ["Sebastian Thiel "] description = "A complete library to interact with Workflows (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/workflows1-cli" @@ -20,12 +20,12 @@ name = "workflows1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-workflows1] path = "../workflows1" -version = "3.0.0+20220223" +version = "3.1.0+20220223" diff --git a/gen/workflows1-cli/README.md b/gen/workflows1-cli/README.md index b9d575f6bf..3f090a8bc0 100644 --- a/gen/workflows1-cli/README.md +++ b/gen/workflows1-cli/README.md @@ -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 *Workflows* API at revision *20220223*. The CLI is at version *3.0.0*. +This documentation was generated from the *Workflows* API at revision *20220223*. The CLI is at version *3.1.0*. ```bash workflows1 [options] diff --git a/gen/workflows1-cli/mkdocs.yml b/gen/workflows1-cli/mkdocs.yml index 8886088fb0..d47c75f165 100644 --- a/gen/workflows1-cli/mkdocs.yml +++ b/gen/workflows1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Workflows v3.0.0+20220223 +site_name: Workflows v3.1.0+20220223 site_url: http://byron.github.io/google-apis-rs/google-workflows1-cli site_description: A complete library to interact with Workflows (protocol v1) diff --git a/gen/workflows1-cli/src/main.rs b/gen/workflows1-cli/src/main.rs index dd22bcc5cf..714300ca4d 100644 --- a/gen/workflows1-cli/src/main.rs +++ b/gen/workflows1-cli/src/main.rs @@ -764,7 +764,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/workflows1", 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::Workflows::new(client, auth), @@ -1038,7 +1044,7 @@ async fn main() { let mut app = App::new("workflows1") .author("Sebastian Thiel ") - .version("3.0.0+20220223") + .version("3.1.0+20220223") .about("Manage workflow definitions. To execute workflows and manage executions, see the Workflows Executions API.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_workflows1_cli") .arg(Arg::with_name("url") diff --git a/gen/workflows1/Cargo.toml b/gen/workflows1/Cargo.toml index ef2a295426..546df05b91 100644 --- a/gen/workflows1/Cargo.toml +++ b/gen/workflows1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-workflows1" -version = "3.0.0+20220223" +version = "3.1.0+20220223" authors = ["Sebastian Thiel "] description = "A complete library to interact with Workflows (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/workflows1" homepage = "https://cloud.google.com/workflows" -documentation = "https://docs.rs/google-workflows1/3.0.0+20220223" +documentation = "https://docs.rs/google-workflows1/3.1.0+20220223" license = "MIT" keywords = ["workflows", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/workflows1/README.md b/gen/workflows1/README.md index 652ca395af..29b4c755f8 100644 --- a/gen/workflows1/README.md +++ b/gen/workflows1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-workflows1` library allows access to all features of the *Google Workflows* service. -This documentation was generated from *Workflows* crate version *3.0.0+20220223*, where *20220223* is the exact revision of the *workflows:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *Workflows* crate version *3.1.0+20220223*, where *20220223* is the exact revision of the *workflows:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *Workflows* *v1* API can be found at the [official documentation site](https://cloud.google.com/workflows). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-workflows1/3.0.0+20220223/google_workflows1/Workflows) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-workflows1/3.1.0+20220223/google_workflows1/Workflows) ... * projects - * [*locations get*](https://docs.rs/google-workflows1/3.0.0+20220223/google_workflows1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-workflows1/3.0.0+20220223/google_workflows1/api::ProjectLocationListCall), [*locations operations delete*](https://docs.rs/google-workflows1/3.0.0+20220223/google_workflows1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-workflows1/3.0.0+20220223/google_workflows1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-workflows1/3.0.0+20220223/google_workflows1/api::ProjectLocationOperationListCall), [*locations workflows create*](https://docs.rs/google-workflows1/3.0.0+20220223/google_workflows1/api::ProjectLocationWorkflowCreateCall), [*locations workflows delete*](https://docs.rs/google-workflows1/3.0.0+20220223/google_workflows1/api::ProjectLocationWorkflowDeleteCall), [*locations workflows get*](https://docs.rs/google-workflows1/3.0.0+20220223/google_workflows1/api::ProjectLocationWorkflowGetCall), [*locations workflows list*](https://docs.rs/google-workflows1/3.0.0+20220223/google_workflows1/api::ProjectLocationWorkflowListCall) and [*locations workflows patch*](https://docs.rs/google-workflows1/3.0.0+20220223/google_workflows1/api::ProjectLocationWorkflowPatchCall) + * [*locations get*](https://docs.rs/google-workflows1/3.1.0+20220223/google_workflows1/api::ProjectLocationGetCall), [*locations list*](https://docs.rs/google-workflows1/3.1.0+20220223/google_workflows1/api::ProjectLocationListCall), [*locations operations delete*](https://docs.rs/google-workflows1/3.1.0+20220223/google_workflows1/api::ProjectLocationOperationDeleteCall), [*locations operations get*](https://docs.rs/google-workflows1/3.1.0+20220223/google_workflows1/api::ProjectLocationOperationGetCall), [*locations operations list*](https://docs.rs/google-workflows1/3.1.0+20220223/google_workflows1/api::ProjectLocationOperationListCall), [*locations workflows create*](https://docs.rs/google-workflows1/3.1.0+20220223/google_workflows1/api::ProjectLocationWorkflowCreateCall), [*locations workflows delete*](https://docs.rs/google-workflows1/3.1.0+20220223/google_workflows1/api::ProjectLocationWorkflowDeleteCall), [*locations workflows get*](https://docs.rs/google-workflows1/3.1.0+20220223/google_workflows1/api::ProjectLocationWorkflowGetCall), [*locations workflows list*](https://docs.rs/google-workflows1/3.1.0+20220223/google_workflows1/api::ProjectLocationWorkflowListCall) and [*locations workflows patch*](https://docs.rs/google-workflows1/3.1.0+20220223/google_workflows1/api::ProjectLocationWorkflowPatchCall) @@ -23,17 +23,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-workflows1/3.0.0+20220223/google_workflows1/Workflows)** +* **[Hub](https://docs.rs/google-workflows1/3.1.0+20220223/google_workflows1/Workflows)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-workflows1/3.0.0+20220223/google_workflows1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-workflows1/3.0.0+20220223/google_workflows1/client::CallBuilder) -* **[Resources](https://docs.rs/google-workflows1/3.0.0+20220223/google_workflows1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-workflows1/3.1.0+20220223/google_workflows1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-workflows1/3.1.0+20220223/google_workflows1/client::CallBuilder) +* **[Resources](https://docs.rs/google-workflows1/3.1.0+20220223/google_workflows1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-workflows1/3.0.0+20220223/google_workflows1/client::Part)** + * **[Parts](https://docs.rs/google-workflows1/3.1.0+20220223/google_workflows1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-workflows1/3.0.0+20220223/google_workflows1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-workflows1/3.1.0+20220223/google_workflows1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -94,7 +94,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = Workflows::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = Workflows::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // As the method needs a request, you would usually fill it with the desired information // into the respective structure. Some of the parts shown here might not be applicable ! // Values shown here are possibly random and not representative ! @@ -128,17 +128,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-workflows1/3.0.0+20220223/google_workflows1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-workflows1/3.1.0+20220223/google_workflows1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-workflows1/3.0.0+20220223/google_workflows1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-workflows1/3.1.0+20220223/google_workflows1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-workflows1/3.0.0+20220223/google_workflows1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-workflows1/3.1.0+20220223/google_workflows1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-workflows1/3.0.0+20220223/google_workflows1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-workflows1/3.1.0+20220223/google_workflows1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -148,29 +148,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-workflows1/3.0.0+20220223/google_workflows1/client::Delegate) to the -[Method Builder](https://docs.rs/google-workflows1/3.0.0+20220223/google_workflows1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-workflows1/3.1.0+20220223/google_workflows1/client::Delegate) to the +[Method Builder](https://docs.rs/google-workflows1/3.1.0+20220223/google_workflows1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-workflows1/3.0.0+20220223/google_workflows1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-workflows1/3.1.0+20220223/google_workflows1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-workflows1/3.0.0+20220223/google_workflows1/client::RequestValue) and -[decodable](https://docs.rs/google-workflows1/3.0.0+20220223/google_workflows1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-workflows1/3.1.0+20220223/google_workflows1/client::RequestValue) and +[decodable](https://docs.rs/google-workflows1/3.1.0+20220223/google_workflows1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-workflows1/3.0.0+20220223/google_workflows1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-workflows1/3.1.0+20220223/google_workflows1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-workflows1/3.0.0+20220223/google_workflows1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-workflows1/3.1.0+20220223/google_workflows1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-workflows1/3.0.0+20220223/google_workflows1/client::RequestValue) are moved +* [request values](https://docs.rs/google-workflows1/3.1.0+20220223/google_workflows1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/workflows1/src/api.rs b/gen/workflows1/src/api.rs index 08ecda29be..b3e99f54bb 100644 --- a/gen/workflows1/src/api.rs +++ b/gen/workflows1/src/api.rs @@ -71,7 +71,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Workflows::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Workflows::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -120,7 +120,7 @@ impl<'a, > Workflows<> { Workflows { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://workflows.googleapis.com/".to_string(), _root_url: "https://workflows.googleapis.com/".to_string(), } @@ -131,7 +131,7 @@ impl<'a, > Workflows<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -384,7 +384,7 @@ impl client::ResponseResult for Workflow {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = Workflows::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = Workflows::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `locations_get(...)`, `locations_list(...)`, `locations_operations_delete(...)`, `locations_operations_get(...)`, `locations_operations_list(...)`, `locations_workflows_create(...)`, `locations_workflows_delete(...)`, `locations_workflows_get(...)`, `locations_workflows_list(...)` and `locations_workflows_patch(...)` /// // to build up your call. @@ -618,7 +618,7 @@ impl<'a> ProjectMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Workflows::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Workflows::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -874,7 +874,7 @@ impl<'a> ProjectLocationOperationDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Workflows::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Workflows::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1130,7 +1130,7 @@ impl<'a> ProjectLocationOperationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Workflows::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Workflows::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1423,7 +1423,7 @@ impl<'a> ProjectLocationOperationListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Workflows::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Workflows::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1720,7 +1720,7 @@ impl<'a> ProjectLocationWorkflowCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Workflows::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Workflows::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1976,7 +1976,7 @@ impl<'a> ProjectLocationWorkflowDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Workflows::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Workflows::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2232,7 +2232,7 @@ impl<'a> ProjectLocationWorkflowGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Workflows::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Workflows::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2537,7 +2537,7 @@ impl<'a> ProjectLocationWorkflowListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Workflows::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Workflows::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -2834,7 +2834,7 @@ impl<'a> ProjectLocationWorkflowPatchCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Workflows::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Workflows::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -3090,7 +3090,7 @@ impl<'a> ProjectLocationGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = Workflows::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = Workflows::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/workflows1/src/lib.rs b/gen/workflows1/src/lib.rs index 960fc59c75..120bf9f3b2 100644 --- a/gen/workflows1/src/lib.rs +++ b/gen/workflows1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Workflows* crate version *3.0.0+20220223*, where *20220223* is the exact revision of the *workflows:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *Workflows* crate version *3.1.0+20220223*, where *20220223* is the exact revision of the *workflows:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *Workflows* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/workflows). @@ -95,7 +95,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = Workflows::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = Workflows::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // As the method needs a request, you would usually fill it with the desired information //! // into the respective structure. Some of the parts shown here might not be applicable ! //! // Values shown here are possibly random and not representative ! diff --git a/gen/youtube3-cli/Cargo.toml b/gen/youtube3-cli/Cargo.toml index 2c102aea72..af9537abc7 100644 --- a/gen/youtube3-cli/Cargo.toml +++ b/gen/youtube3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-youtube3-cli" -version = "3.0.0+20220303" +version = "3.1.0+20220303" authors = ["Sebastian Thiel "] description = "A complete library to interact with YouTube (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/youtube3-cli" @@ -20,12 +20,12 @@ name = "youtube3" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-youtube3] path = "../youtube3" -version = "3.0.0+20220303" +version = "3.1.0+20220303" diff --git a/gen/youtube3-cli/README.md b/gen/youtube3-cli/README.md index c1efca1d47..de83f92a81 100644 --- a/gen/youtube3-cli/README.md +++ b/gen/youtube3-cli/README.md @@ -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 *YouTube* API at revision *20220303*. The CLI is at version *3.0.0*. +This documentation was generated from the *YouTube* API at revision *20220303*. The CLI is at version *3.1.0*. ```bash youtube3 [options] diff --git a/gen/youtube3-cli/mkdocs.yml b/gen/youtube3-cli/mkdocs.yml index 05de34b556..a3291c8502 100644 --- a/gen/youtube3-cli/mkdocs.yml +++ b/gen/youtube3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: YouTube v3.0.0+20220303 +site_name: YouTube v3.1.0+20220303 site_url: http://byron.github.io/google-apis-rs/google-youtube3-cli site_description: A complete library to interact with YouTube (protocol v3) diff --git a/gen/youtube3-cli/src/main.rs b/gen/youtube3-cli/src/main.rs index f314454656..2c17444d0f 100644 --- a/gen/youtube3-cli/src/main.rs +++ b/gen/youtube3-cli/src/main.rs @@ -6980,7 +6980,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/youtube3", 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::YouTube::new(client, auth), @@ -8742,7 +8748,7 @@ async fn main() { let mut app = App::new("youtube3") .author("Sebastian Thiel ") - .version("3.0.0+20220303") + .version("3.1.0+20220303") .about("The YouTube Data API v3 is an API that provides access to YouTube data, such as videos, playlists, and channels.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_youtube3_cli") .arg(Arg::with_name("url") diff --git a/gen/youtubereporting1-cli/Cargo.toml b/gen/youtubereporting1-cli/Cargo.toml index 952d88879e..2580d3747c 100644 --- a/gen/youtubereporting1-cli/Cargo.toml +++ b/gen/youtubereporting1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-youtubereporting1-cli" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with YouTube Reporting (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/youtubereporting1-cli" @@ -20,12 +20,12 @@ name = "youtubereporting1" path = "src/main.rs" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" strsim = "^0.5" clap = "^2.0" @@ -37,4 +37,4 @@ tokio = { version = "^ 1.0", features = ["full"] } [dependencies.google-youtubereporting1] path = "../youtubereporting1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" diff --git a/gen/youtubereporting1-cli/README.md b/gen/youtubereporting1-cli/README.md index 0b3e194211..e7afc8907e 100644 --- a/gen/youtubereporting1-cli/README.md +++ b/gen/youtubereporting1-cli/README.md @@ -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 *YouTube Reporting* API at revision *20220305*. The CLI is at version *3.0.0*. +This documentation was generated from the *YouTube Reporting* API at revision *20220305*. The CLI is at version *3.1.0*. ```bash youtubereporting1 [options] diff --git a/gen/youtubereporting1-cli/mkdocs.yml b/gen/youtubereporting1-cli/mkdocs.yml index 7cc18c3430..b709c34dd9 100644 --- a/gen/youtubereporting1-cli/mkdocs.yml +++ b/gen/youtubereporting1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: YouTube Reporting v3.0.0+20220305 +site_name: YouTube Reporting v3.1.0+20220305 site_url: http://byron.github.io/google-apis-rs/google-youtubereporting1-cli site_description: A complete library to interact with YouTube Reporting (protocol v1) diff --git a/gen/youtubereporting1-cli/src/main.rs b/gen/youtubereporting1-cli/src/main.rs index f409b73c31..bc8d66049a 100644 --- a/gen/youtubereporting1-cli/src/main.rs +++ b/gen/youtubereporting1-cli/src/main.rs @@ -654,7 +654,13 @@ impl<'n> Engine<'n> { oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).persist_tokens_to_disk(format!("{}/youtubereporting1", 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::YouTubeReporting::new(client, auth), @@ -872,7 +878,7 @@ async fn main() { let mut app = App::new("youtubereporting1") .author("Sebastian Thiel ") - .version("3.0.0+20220305") + .version("3.1.0+20220305") .about("Schedules reporting jobs containing your YouTube Analytics data and downloads the resulting bulk data reports in the form of CSV files.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_youtubereporting1_cli") .arg(Arg::with_name("url") diff --git a/gen/youtubereporting1/Cargo.toml b/gen/youtubereporting1/Cargo.toml index 9c4c69d3ad..139e9c234c 100644 --- a/gen/youtubereporting1/Cargo.toml +++ b/gen/youtubereporting1/Cargo.toml @@ -4,12 +4,12 @@ [package] name = "google-youtubereporting1" -version = "3.0.0+20220305" +version = "3.1.0+20220305" authors = ["Sebastian Thiel "] description = "A complete library to interact with YouTube Reporting (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/main/gen/youtubereporting1" homepage = "https://developers.google.com/youtube/reporting/v1/reports/" -documentation = "https://docs.rs/google-youtubereporting1/3.0.0+20220305" +documentation = "https://docs.rs/google-youtubereporting1/3.1.0+20220305" license = "MIT" keywords = ["youtubereporting", "google", "protocol", "web", "api"] autobins = false @@ -17,12 +17,12 @@ edition = "2018" [dependencies] -hyper-rustls = "^0.22" +hyper-rustls = "0.23.0" mime = "^ 0.2.0" serde = "^ 1.0" serde_json = "^ 1.0" serde_derive = "^ 1.0" -yup-oauth2 = "^ 6.0" +yup-oauth2 = "^ 6.6" itertools = "^ 0.10" hyper = "^ 0.14" url = "= 1.7" diff --git a/gen/youtubereporting1/README.md b/gen/youtubereporting1/README.md index 51fe1e5d2b..a7f77f23f7 100644 --- a/gen/youtubereporting1/README.md +++ b/gen/youtubereporting1/README.md @@ -5,25 +5,25 @@ DO NOT EDIT ! --> The `google-youtubereporting1` library allows access to all features of the *Google YouTube Reporting* service. -This documentation was generated from *YouTube Reporting* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *youtubereporting:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +This documentation was generated from *YouTube Reporting* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *youtubereporting:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. Everything else about the *YouTube Reporting* *v1* API can be found at the [official documentation site](https://developers.google.com/youtube/reporting/v1/reports/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-youtubereporting1/3.0.0+20220305/google_youtubereporting1/YouTubeReporting) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-youtubereporting1/3.1.0+20220305/google_youtubereporting1/YouTubeReporting) ... -* [jobs](https://docs.rs/google-youtubereporting1/3.0.0+20220305/google_youtubereporting1/api::Job) - * [*create*](https://docs.rs/google-youtubereporting1/3.0.0+20220305/google_youtubereporting1/api::JobCreateCall), [*delete*](https://docs.rs/google-youtubereporting1/3.0.0+20220305/google_youtubereporting1/api::JobDeleteCall), [*get*](https://docs.rs/google-youtubereporting1/3.0.0+20220305/google_youtubereporting1/api::JobGetCall), [*list*](https://docs.rs/google-youtubereporting1/3.0.0+20220305/google_youtubereporting1/api::JobListCall), [*reports get*](https://docs.rs/google-youtubereporting1/3.0.0+20220305/google_youtubereporting1/api::JobReportGetCall) and [*reports list*](https://docs.rs/google-youtubereporting1/3.0.0+20220305/google_youtubereporting1/api::JobReportListCall) +* [jobs](https://docs.rs/google-youtubereporting1/3.1.0+20220305/google_youtubereporting1/api::Job) + * [*create*](https://docs.rs/google-youtubereporting1/3.1.0+20220305/google_youtubereporting1/api::JobCreateCall), [*delete*](https://docs.rs/google-youtubereporting1/3.1.0+20220305/google_youtubereporting1/api::JobDeleteCall), [*get*](https://docs.rs/google-youtubereporting1/3.1.0+20220305/google_youtubereporting1/api::JobGetCall), [*list*](https://docs.rs/google-youtubereporting1/3.1.0+20220305/google_youtubereporting1/api::JobListCall), [*reports get*](https://docs.rs/google-youtubereporting1/3.1.0+20220305/google_youtubereporting1/api::JobReportGetCall) and [*reports list*](https://docs.rs/google-youtubereporting1/3.1.0+20220305/google_youtubereporting1/api::JobReportListCall) * media - * [*download*](https://docs.rs/google-youtubereporting1/3.0.0+20220305/google_youtubereporting1/api::MediaDownloadCall) -* [report types](https://docs.rs/google-youtubereporting1/3.0.0+20220305/google_youtubereporting1/api::ReportType) - * [*list*](https://docs.rs/google-youtubereporting1/3.0.0+20220305/google_youtubereporting1/api::ReportTypeListCall) + * [*download*](https://docs.rs/google-youtubereporting1/3.1.0+20220305/google_youtubereporting1/api::MediaDownloadCall) +* [report types](https://docs.rs/google-youtubereporting1/3.1.0+20220305/google_youtubereporting1/api::ReportType) + * [*list*](https://docs.rs/google-youtubereporting1/3.1.0+20220305/google_youtubereporting1/api::ReportTypeListCall) Download supported by ... -* [*download media*](https://docs.rs/google-youtubereporting1/3.0.0+20220305/google_youtubereporting1/api::MediaDownloadCall) +* [*download media*](https://docs.rs/google-youtubereporting1/3.1.0+20220305/google_youtubereporting1/api::MediaDownloadCall) @@ -31,17 +31,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-youtubereporting1/3.0.0+20220305/google_youtubereporting1/YouTubeReporting)** +* **[Hub](https://docs.rs/google-youtubereporting1/3.1.0+20220305/google_youtubereporting1/YouTubeReporting)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-youtubereporting1/3.0.0+20220305/google_youtubereporting1/client::MethodsBuilder) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-youtubereporting1/3.0.0+20220305/google_youtubereporting1/client::CallBuilder) -* **[Resources](https://docs.rs/google-youtubereporting1/3.0.0+20220305/google_youtubereporting1/client::Resource)** + * creates [*Method Builders*](https://docs.rs/google-youtubereporting1/3.1.0+20220305/google_youtubereporting1/client::MethodsBuilder) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-youtubereporting1/3.1.0+20220305/google_youtubereporting1/client::CallBuilder) +* **[Resources](https://docs.rs/google-youtubereporting1/3.1.0+20220305/google_youtubereporting1/client::Resource)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-youtubereporting1/3.0.0+20220305/google_youtubereporting1/client::Part)** + * **[Parts](https://docs.rs/google-youtubereporting1/3.1.0+20220305/google_youtubereporting1/client::Part)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-youtubereporting1/3.0.0+20220305/google_youtubereporting1/client::CallBuilder)** +* **[Activities](https://docs.rs/google-youtubereporting1/3.1.0+20220305/google_youtubereporting1/client::CallBuilder)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -103,7 +103,7 @@ let auth = oauth2::InstalledFlowAuthenticator::builder( secret, oauth2::InstalledFlowReturnMethod::HTTPRedirect, ).build().await.unwrap(); -let mut hub = YouTubeReporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +let mut hub = YouTubeReporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); // You can configure optional parameters by calling the respective setters at will, and // execute the final call using `doit()`. // Values shown here are possibly random and not representative ! @@ -137,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-youtubereporting1/3.0.0+20220305/google_youtubereporting1/client::Result) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-youtubereporting1/3.1.0+20220305/google_youtubereporting1/client::Result) enumeration as return value of the doit() methods, or handed as possibly intermediate results to either the -[Hub Delegate](https://docs.rs/google-youtubereporting1/3.0.0+20220305/google_youtubereporting1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-youtubereporting1/3.1.0+20220305/google_youtubereporting1/client::Delegate), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This makes the system potentially resilient to all kinds of errors. ## Uploads and Downloads -If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-youtubereporting1/3.0.0+20220305/google_youtubereporting1/client::Result), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-youtubereporting1/3.1.0+20220305/google_youtubereporting1/client::Result), should be read by you to obtain the media. -If such a method also supports a [Response Result](https://docs.rs/google-youtubereporting1/3.0.0+20220305/google_youtubereporting1/client::ResponseResult), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-youtubereporting1/3.1.0+20220305/google_youtubereporting1/client::ResponseResult), it will return that by default. You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making this call: `.param("alt", "media")`. @@ -157,29 +157,29 @@ Methods supporting uploads can do so using up to 2 different protocols: ## Customization and Callbacks -You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-youtubereporting1/3.0.0+20220305/google_youtubereporting1/client::Delegate) to the -[Method Builder](https://docs.rs/google-youtubereporting1/3.0.0+20220305/google_youtubereporting1/client::CallBuilder) before making the final `doit()` call. +You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-youtubereporting1/3.1.0+20220305/google_youtubereporting1/client::Delegate) to the +[Method Builder](https://docs.rs/google-youtubereporting1/3.1.0+20220305/google_youtubereporting1/client::CallBuilder) before making the final `doit()` call. Respective methods will be called to provide progress information, as well as determine whether the system should retry on failure. -The [delegate trait](https://docs.rs/google-youtubereporting1/3.0.0+20220305/google_youtubereporting1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-youtubereporting1/3.1.0+20220305/google_youtubereporting1/client::Delegate) is default-implemented, allowing you to customize it with minimal effort. ## Optional Parts in Server-Requests -All structures provided by this library are made to be [encodable](https://docs.rs/google-youtubereporting1/3.0.0+20220305/google_youtubereporting1/client::RequestValue) and -[decodable](https://docs.rs/google-youtubereporting1/3.0.0+20220305/google_youtubereporting1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses +All structures provided by this library are made to be [encodable](https://docs.rs/google-youtubereporting1/3.1.0+20220305/google_youtubereporting1/client::RequestValue) and +[decodable](https://docs.rs/google-youtubereporting1/3.1.0+20220305/google_youtubereporting1/client::ResponseResult) via *json*. Optionals are used to indicate that partial requests are responses are valid. -Most optionals are are considered [Parts](https://docs.rs/google-youtubereporting1/3.0.0+20220305/google_youtubereporting1/client::Part) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-youtubereporting1/3.1.0+20220305/google_youtubereporting1/client::Part) which are identifiable by name, which will be sent to the server to indicate either the set parts of the request or the desired parts in the response. ## Builder Arguments -Using [method builders](https://docs.rs/google-youtubereporting1/3.0.0+20220305/google_youtubereporting1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-youtubereporting1/3.1.0+20220305/google_youtubereporting1/client::CallBuilder), you are able to prepare an action call by repeatedly calling it's methods. These will always take a single argument, for which the following statements are true. * [PODs][wiki-pod] are handed by copy * strings are passed as `&str` -* [request values](https://docs.rs/google-youtubereporting1/3.0.0+20220305/google_youtubereporting1/client::RequestValue) are moved +* [request values](https://docs.rs/google-youtubereporting1/3.1.0+20220305/google_youtubereporting1/client::RequestValue) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/youtubereporting1/src/api.rs b/gen/youtubereporting1/src/api.rs index 7050de6de1..85cfd2d7d4 100644 --- a/gen/youtubereporting1/src/api.rs +++ b/gen/youtubereporting1/src/api.rs @@ -74,7 +74,7 @@ impl Default for Scope { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = YouTubeReporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = YouTubeReporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -123,7 +123,7 @@ impl<'a, > YouTubeReporting<> { YouTubeReporting { client, auth: authenticator, - _user_agent: "google-api-rust-client/3.0.0".to_string(), + _user_agent: "google-api-rust-client/3.1.0".to_string(), _base_url: "https://youtubereporting.googleapis.com/".to_string(), _root_url: "https://youtubereporting.googleapis.com/".to_string(), } @@ -140,7 +140,7 @@ impl<'a, > YouTubeReporting<> { } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/3.0.0`. + /// It defaults to `google-api-rust-client/3.1.0`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { @@ -695,7 +695,7 @@ impl client::Resource for ReportType {} /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = YouTubeReporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = YouTubeReporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `create(...)`, `delete(...)`, `get(...)`, `list(...)`, `reports_get(...)` and `reports_list(...)` /// // to build up your call. @@ -849,7 +849,7 @@ impl<'a> JobMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = YouTubeReporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = YouTubeReporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `download(...)` /// // to build up your call. @@ -907,7 +907,7 @@ impl<'a> MediaMethods<'a> { /// secret, /// oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// ).build().await.unwrap(); -/// let mut hub = YouTubeReporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// let mut hub = YouTubeReporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders* /// // like `list(...)` /// // to build up your call. @@ -971,7 +971,7 @@ impl<'a> ReportTypeMethods<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = YouTubeReporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = YouTubeReporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1247,7 +1247,7 @@ impl<'a> JobReportGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = YouTubeReporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = YouTubeReporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -1572,7 +1572,7 @@ impl<'a> JobReportListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = YouTubeReporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = YouTubeReporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // As the method needs a request, you would usually fill it with the desired information /// // into the respective structure. Some of the parts shown here might not be applicable ! /// // Values shown here are possibly random and not representative ! @@ -1832,7 +1832,7 @@ impl<'a> JobCreateCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = YouTubeReporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = YouTubeReporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2096,7 +2096,7 @@ impl<'a> JobDeleteCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = YouTubeReporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = YouTubeReporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2360,7 +2360,7 @@ impl<'a> JobGetCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = YouTubeReporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = YouTubeReporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2632,7 +2632,7 @@ impl<'a> JobListCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = YouTubeReporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = YouTubeReporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! @@ -2904,7 +2904,7 @@ impl<'a> MediaDownloadCall<'a> { /// # secret, /// # oauth2::InstalledFlowReturnMethod::HTTPRedirect, /// # ).build().await.unwrap(); -/// # let mut hub = YouTubeReporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +/// # let mut hub = YouTubeReporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); /// // You can configure optional parameters by calling the respective setters at will, and /// // execute the final call using `doit()`. /// // Values shown here are possibly random and not representative ! diff --git a/gen/youtubereporting1/src/lib.rs b/gen/youtubereporting1/src/lib.rs index 8d7e24b3b8..feb73e0532 100644 --- a/gen/youtubereporting1/src/lib.rs +++ b/gen/youtubereporting1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *YouTube Reporting* crate version *3.0.0+20220305*, where *20220305* is the exact revision of the *youtubereporting:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.0.0*. +//! This documentation was generated from *YouTube Reporting* crate version *3.1.0+20220305*, where *20220305* is the exact revision of the *youtubereporting:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v3.1.0*. //! //! Everything else about the *YouTube Reporting* *v1* API can be found at the //! [official documentation site](https://developers.google.com/youtube/reporting/v1/reports/). @@ -104,7 +104,7 @@ //! secret, //! oauth2::InstalledFlowReturnMethod::HTTPRedirect, //! ).build().await.unwrap(); -//! let mut hub = YouTubeReporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots()), auth); +//! let mut hub = YouTubeReporting::new(hyper::Client::builder().build(hyper_rustls::HttpsConnector::with_native_roots().https_or_http().enable_http1().enable_http2().build()), auth); //! // You can configure optional parameters by calling the respective setters at will, and //! // execute the final call using `doit()`. //! // Values shown here are possibly random and not representative !